Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3036628B2 - Table data processing device - Google Patents
[go: Go Back, main page]

JP3036628B2 - Table data processing device - Google Patents

Table data processing device

Info

Publication number
JP3036628B2
JP3036628B2 JP8011525A JP1152596A JP3036628B2 JP 3036628 B2 JP3036628 B2 JP 3036628B2 JP 8011525 A JP8011525 A JP 8011525A JP 1152596 A JP1152596 A JP 1152596A JP 3036628 B2 JP3036628 B2 JP 3036628B2
Authority
JP
Japan
Prior art keywords
data
unit
view definition
cell
view
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP8011525A
Other languages
Japanese (ja)
Other versions
JPH09204479A (en
Inventor
安規男 宇田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP8011525A priority Critical patent/JP3036628B2/en
Publication of JPH09204479A publication Critical patent/JPH09204479A/en
Application granted granted Critical
Publication of JP3036628B2 publication Critical patent/JP3036628B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、表データ処理装置
に係り、特に、表データを再構成すると共に新規表を生
成する表データ処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a table data processing apparatus, and more particularly to a table data processing apparatus for reconstructing table data and generating a new table.

【0002】[0002]

【従来の技術】パソコン、ワープロなどのデータ処理装
置においては、表の形に記述されたデータが、産業、商
業、教育等の分野で広く用いられている。例えば、販売
計画などの各種計画立案やシミュレーションなどの前提
となる情報の分析に広く利用されている。図15は、デ
ータ処理装置上で作成した表データの一例である。
2. Description of the Related Art In data processing apparatuses such as personal computers and word processors, data described in the form of tables are widely used in the fields of industry, commerce, education and the like. For example, it is widely used for analysis of prerequisite information such as various planning such as a sales plan and simulation. FIG. 15 is an example of table data created on the data processing device.

【0003】表の行や列には識別のための番号がつけら
れ、各々のマス目(以下、セルと称す)は行番号(R
n)と列番号(Cn)のペアで記述される(以下、セル
番地と称す)。
[0003] Numbers for identification are assigned to rows and columns of a table, and each cell (hereinafter referred to as a cell) is assigned a row number (R).
n) and a column number (Cn) (hereinafter referred to as a cell address).

【0004】表の各列はフィールドと呼ばれ、その先頭
セルには、「年度」、「機種」などのデータの性質を表
わすフィールド名が格納される。フィールド名を除いた
2行目以降の各行はレコードと呼ばれ、ここにはフィー
ルド名に対応する「94年度」、「パソコン」などの実
際のデータが格納される。
[0004] Each column of the table is called a field, and the first cell stores a field name representing a property of data such as "year" and "model". Each line after the second line excluding the field name is called a record, in which actual data such as "1994" and "PC" corresponding to the field name is stored.

【0005】図15では、マス目41がセルを、識別子
42がセル番地(R1C1)を、データ42aがフィー
ルド名を、列43がフィールドを、行44以下がレコー
ドを表わす。
In FIG. 15, a cell 41 represents a cell, an identifier 42 represents a cell address (R1C1), data 42a represents a field name, a column 43 represents a field, and rows 44 and below represent records.

【0006】さて、表が作成されると、データを分類・
整理したり、シミュレーションを行うことを目的とし
て、表を再構成し、多次元の表を作り出すことがある。
図16(b)はこのような多次元表の例である。図15
の場合と異なり、多次元表では、年度、地区などのフィ
ールドが水平/垂直の両方向に配置される。
Now, once the table is created, the data is classified and
Tables are sometimes reconstructed to create multidimensional tables for the purpose of organizing and performing simulations.
FIG. 16B is an example of such a multidimensional table. FIG.
In the multidimensional table, fields such as year and district are arranged in both horizontal and vertical directions.

【0007】一般に表データ処理方式では、図15のよ
うな元表に対し、再構成によって得られる図16(b)
のような表をビューと呼ぶ。またビューの垂直又は水平
フィールドに表示された「94年度」、「パソコン」な
どのデータを項目と呼ぶ。
In general, in the table data processing method, a base table as shown in FIG.
Is called a view. Data such as "1994" and "PC" displayed in the vertical or horizontal field of the view is called an item.

【0008】この目的のために従来の表データ処理方式
では、再構成の条件をユーザに設定させる方式を用いて
いる。例えば図15の売上データを「年度別」,「機種
別」,「地区別」に分類する場合は、図16(a)のよ
うなダイアログを開き、「年度」,「機種」,「地区」
を水平又は垂直フィールドに、売上をデータフィールド
に配置する。この状態でダイアログを閉じると、売上デ
ータが分類され、図16(b)の表を得る。
For this purpose, a conventional table data processing system uses a system in which a user sets conditions for reconstruction. For example, when the sales data in FIG. 15 is classified into “by year”, “by model”, and “by district”, a dialog as shown in FIG. 16A is opened, and “year”, “model”, and “region” are opened.
In the horizontal or vertical field and sales in the data field. When the dialog is closed in this state, the sales data is classified, and a table shown in FIG. 16B is obtained.

【0009】ここでセル51のように、多次元表の1つ
のセルに元データの表(以下、元表と称す)の複数のセ
ルが対応する場合は、それらの集計結果が多次元表に表
示される。
Here, when one cell of a multidimensional table corresponds to a plurality of cells of a table of original data (hereinafter, referred to as an elementary table), as in cell 51, the result of summing them up is stored in a multidimensional table. Is displayed.

【0010】[0010]

【発明が解決しようとする課題】このような従来の表デ
ータ処理方式において、例えば図15の売上の代りにコ
メントをデータフィールドに配置した場合、対応するデ
ータは数値ではなく文字列であるため、多次元表の集計
結果は全てゼロになり、意味をなさなくなる(図17
(a),(b))。
In such a conventional table data processing method, for example, when a comment is arranged in a data field instead of the sales shown in FIG. 15, the corresponding data is not a numerical value but a character string. The aggregation results of the multidimensional table are all zero, and have no meaning (FIG. 17).
(A), (b)).

【0011】すなわち、従来例では、文字列を対象とし
た表の再構成をすることができない、という不都合があ
った。
That is, in the conventional example, there is an inconvenience that a table for a character string cannot be reconstructed.

【0012】[0012]

【発明の目的】本発明は、係る従来例の有する不都合を
改善し、特に、集計表示の他に連結表示を導入すること
により、文字列から成る表の場合にも、効果的な再構成
を実現することのできる表データ処理装置を提供するこ
とを、その目的とする。
SUMMARY OF THE INVENTION The object of the present invention is to improve the disadvantages of the conventional example, and particularly to introduce a concatenated display in addition to a tabulated display, thereby enabling an effective reconstruction even in the case of a table composed of character strings. It is an object of the present invention to provide a table data processing device that can be realized.

【0013】[0013]

【課題を解決するための手段】そこで、本発明では、第
1の手段(請求項1)として、行番号及び列番号で指定
される複数のセルを有するシートと、このシートに入力
されたデータ及びフィールド名を元表として記憶する元
表記憶部と、フィールド名の入力に基づいてビュー定義
を生成するビュー定義生成手段と、このビュー定義生成
手段によって生成されたビュー定義情報に基づいて元表
の各セルの内容を再構成すると共に新規表を作成する再
構成手段とを備えている。しかも、再構成手段が、ビュ
ー定義生成手段によって特定された行番号及び列番号に
基づいて当該ビュー定義により多次元化される複数のセ
ルの文字データを複数のセルのデータを連結するデータ
連結部と、このデータ連結部によって連結された連結デ
ータをビュー定義情報に指定された位置の新規表のセル
に出力するデータ出力部とを備えた、という構成を採っ
ている。
Therefore, according to the present invention, as a first means (claim 1), a sheet having a plurality of cells designated by a row number and a column number, and a data input to this sheet are provided. And a base table storage unit that stores a field name as a base table, a view definition generating unit that generates a view definition based on the input of the field name, and a base table based on the view definition information generated by the view definition generating unit. And reconstructing means for reconstructing the contents of each cell and creating a new table. In addition, the reconstructing unit is configured to execute a plurality of multi-dimensional processes based on the view definition based on the row number and the column number specified by the view definition generating unit.
A data linking section for linking the character data of the file to the data of a plurality of cells, and a data output section for outputting the linked data linked by the data linking section to the cell of the new table at the position specified in the view definition information. Equipped.

【0014】この第1の手段では、まず、元表の枠組み
となるフィールドがユーザによって定義され、セルにフ
ィールド名が入力される。さらに、このフィールド名に
添って、元表を構成するデータが入力され、フィールド
名をその属性とするデータが、シートに作成される。
In the first means, first, a field which forms a framework of a base table is defined by a user, and a field name is input to a cell. Further, data constituting the base table is input along with the field name, and data having the field name as an attribute is created on the sheet.

【0015】次いで、ユーザの任意の視点により、この
元表を分析するためのビューが定義される。これは、例
えば、「年度」というフィールド名のフィールドに属す
る「1994年」,「1995年」等のデータのうち、
同一のデータ(フィールド名)についての他のフィール
ドの内容を再構成して表示するものである。この年度の
例では、1994年の売り上げの合計と1995年の売
り上げの合計とをそれぞれ集計するような処理である。
Next, a view for analyzing the base table is defined from an arbitrary viewpoint of the user. This is, for example, among data such as “1994” and “1995” belonging to a field having a field name of “year”,
The contents of the other fields for the same data (field name) are reconstructed and displayed. In the example of this fiscal year, the processing is such that the total of the sales in 1994 and the total of the sales in 1995 are totaled.

【0016】さらに、再構成手段は、ビュー定義生成手
段によって生成されたビュー定義情報に基づいて元表の
各セルの内容を再構成すると共に新規表を作成する。こ
のとき、再構成手段では、データ連結部により、ビュー
定義によって特定されたセルのデータを連結し、さら
に、データ出力部は、データ連結部によって連結された
連結データをビュー定義情報に指定された位置の新規表
のセルに出力する。このため、元表のセルの内容が文字
の場合であっても、再構成手段は、文字を連結して新規
表を作成する。このため、文字で元表のデータが構成さ
れていても、この元表を多次元化してデータの再構成を
行う。
Further, the reconstructing means reconstructs the contents of each cell of the original table and creates a new table based on the view definition information generated by the view definition generating means. At this time, in the reconstructing means, the data connection unit connects the data of the cells specified by the view definition, and the data output unit specifies the connection data connected by the data connection unit in the view definition information. Output to cell of new table of position. For this reason, even if the contents of the cells of the original table are characters, the reconstructing means creates a new table by connecting the characters. For this reason, even if the data of the base table is composed of characters, the base table is made multidimensional to reconstruct the data.

【0017】第2の手段(請求項2)として、第1の手
段を特定する事項に加え、再構成手段が、ビュー定義生
成手段によって特定された行番号及び列番号に基づいて
複数のセルのデータを集計するデータ集計部と、ビュー
定義生成手段に入力された表示形式情報に基づいてデー
タ集計部又はデータ連結部のうち一方を選択する処理選
択部とを備えた、という構成を採っている。
As a second means (Claim 2), in addition to the matter specifying the first means, the reconstructing means may include a plurality of cells based on the row number and the column number specified by the view definition generating means. A data aggregation unit that aggregates data and a processing selection unit that selects one of the data aggregation unit or the data connection unit based on the display format information input to the view definition generation unit are provided. .

【0018】このため、第2の手段では、再構成の対象
が数値である場合には当該数値を集計し、一方、文字列
である場合には当該文字列を連結する。さらに、この集
計又は連結をユーザが入力した表示形式情報に基づいて
選択する。従って、数値については合計や平均などの集
計を行うほか、文字列としての羅列を行う。
For this reason, in the second means, when the object of the reconstruction is a numerical value, the numerical value is totaled, and when it is a character string, the character string is concatenated. Further, the total or the connection is selected based on the display format information input by the user. Therefore, numerical values are totaled, averaged, and the like, and listed as character strings.

【0019】第3の手段(請求項1)として、第1の手
段を特定する事項に加え、ビュー定義情報に基づいて同
一フィールドに属するセルの行番号及び列番号を抽出す
るセル分類部を併設し、再構成手段が、このセル分類部
によって抽出されたセルリスト毎に当該セル中の文字列
を合成する文字列合成機能を備えた、という構成を採っ
ている。
As a third means (claim 1), in addition to the item for specifying the first means, a cell classification unit for extracting a row number and a column number of a cell belonging to the same field based on view definition information is provided. The reconstructing means has a character string synthesizing function of synthesizing a character string in the cell for each cell list extracted by the cell classification unit.

【0020】この第3の手段では、連結対象が文字列で
あることを特定している。
The third means specifies that the connection target is a character string.

【0021】本発明は、これらの各手段により、前述し
た目的を達成しようとするものである。
The present invention aims to achieve the above-mentioned object by each of these means.

【0022】[0022]

【発明の実施の形態】以下、本発明の一実施形態につい
て図面を参照して説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below with reference to the drawings.

【0023】図1は本実施形態による表データ処理装置
の構成を示すブロック図である。表データ処理装置は、
行番号及び列番号で指定される複数のセルを有するシー
ト1と、このシート1に入力されたデータ及びフィール
ド名を元表として記憶する元表記億部(ソース記憶部)
12aと、フィールド名の入力に基づいてビュー定義を
生成するビュー定義生成手段8と、このビュー定義生成
手段8によって生成されたビュー定義情報に基づいて元
表の各セルの内容を再構成すると共に新規表を作成する
再構成手段9とを備えている。
FIG. 1 is a block diagram showing the configuration of the table data processing apparatus according to the present embodiment. The table data processing device
A sheet 1 having a plurality of cells specified by row numbers and column numbers, and a source notation unit (source storage unit) for storing data and field names input to the sheet 1 as a base table
12a, a view definition generating means 8 for generating a view definition based on the input of the field name, and reconstructing the contents of each cell of the base table based on the view definition information generated by the view definition generating means 8 Reconstructing means 9 for creating a new table.

【0024】しかも、再構成手段が、ビュー定義生成手
段によって特定された行番号及び列番号に基づいて複数
のセルのデータを連結するデータ連結部9aと、このデ
ータ連結部9aによって連結された連結データをビュー
定義情報に指定された位置の新規表のセルに出力するデ
ータ出力部9cとを備えている。
Further, the reconstructing means includes a data linking section 9a for linking data of a plurality of cells based on the row number and the column number specified by the view definition generating means, and a linking section linked by the data linking section 9a. A data output unit 9c for outputting data to a cell of a new table at a position designated in the view definition information.

【0025】これを詳細に説明する。This will be described in detail.

【0026】図1に示すように、シートに入力されるデ
ータ等を記憶する記憶手段12は、元表のデータを記憶
するソース記憶部(元表記億部)12aと、元表の再構
成条件を記憶するビュー定義情報記憶部12bと、元表
の分類情報を記憶するレコード記憶部12c,分類デー
タ記憶部12dと、ビュー(多次元表)の情報を保持す
るビュー記憶部12eとを備えている。
As shown in FIG. 1, a storage means 12 for storing data or the like input to a sheet includes a source storage unit (original notation unit) 12a for storing data of an original table, and a condition for reconfiguring the original table. , A record storage unit 12c and a classification data storage unit 12d for storing the classification information of the base table, and a view storage unit 12e for storing the information of the view (multidimensional table). I have.

【0027】また、表データ処理装置は、キーボード等
から入力された元表のデータをソース記憶部12aに格
納する入力手段10と、各記憶部に格納されたデータに
基づいてデータ処理するビュー定義生成手段8と、この
ビュー定義生成手段8によって生成されたビュー定義情
報に基づいてデータの再構成を行うデータ再構成手段9
とを備えている。
The table data processing device includes an input means 10 for storing original table data input from a keyboard or the like in a source storage section 12a, and a view definition for performing data processing based on the data stored in each storage section. Generating means 8 and data reconstructing means 9 for reconstructing data based on the view definition information generated by the view definition generating means 8
And

【0028】ビュー定義生成手段8は、元表の再構成条
件を設定させるためのダイアログを表示すると共に当該
ビュー定義情報をビュー定義情報記憶部12bに格納す
るビュー定義部8aと、ビューの項目別に元表のレコー
ドを分類すると共に当該分類情報をレコード記憶部12
cに格納するレコード分類部8bと、レコード記憶部1
2cの情報に基づいて項目の組合せ別にデータフィール
ドの各データを分類すると共に当該分類情報を分類デー
タ記憶部12dに格納するデータ分類部8cとを備えて
いる。
The view definition generating means 8 displays a dialog for setting the conditions for reconfiguring the base table and stores the view definition information in the view definition information storage unit 12b. The records in the base table are classified and the classification information is stored in the record storage unit 12.
c and the record storage unit 1
A data classification unit 8c that classifies each data of the data field for each combination of items based on the information of 2c and stores the classification information in the classification data storage unit 12d.

【0029】一方、データ再構成手段9は、データを分
類別に集計すると共にその集計情報をビュー記憶部12
eの該当するセルに格納するデータ集計部9bと、デー
タを分類別に連結形式に合成すると共に当該連結情報を
ビュー記憶部12eの該当するセルに格納するデータ連
結部9aと、ビュー記憶部12eに格納された多次元表
形式のデータ(新規表)を画面上に表示制御するデータ
出力部9cとを備えている。
On the other hand, the data reconstructing means 9 aggregates the data by classification and stores the aggregated information in the view storage unit 12.
e, a data summarizing unit 9b for storing data in a corresponding cell, a data linking unit 9a for synthesizing data into a linking format for each classification, and storing the linking information in a corresponding cell of the view storage unit 12e, and a view storage unit 12e. A data output unit 9c for controlling the display of the stored multidimensional table format data (new table) on the screen.

【0030】本実施形態では、まず、ビュー定義部8a
が起動され、ダイアログ上で、ユーザから入力される元
表の再構成条件に基づいてビュー定義情報を生成する。
このとき、集計表示、連結表示のどちらを行うかも、ダ
イアログまたはその他の方法により選択させる。
In this embodiment, first, the view definition unit 8a
Is started, and view definition information is generated on the dialog based on the reconstruction condition of the base table input by the user.
At this time, whether to perform the total display or the consolidated display is selected by a dialog or another method.

【0031】ビューの定義が終了すると、次にレコード
分類部8bが起動され、ビューの項目別に元表のレコー
ドを分類する。更にデータ分類部8cが起動され、項目
の組合せ別にデータフィールドの各データを分類する。
When the definition of the view is completed, the record classifying unit 8b is activated, and classifies the records of the base table by view items. Further, the data classification unit 8c is activated, and classifies each data in the data field for each combination of items.

【0032】データの分類が終了すると、ユーザの選択
に従い、データ集計部9bまたはデータ連結部9aの何
れかが起動される。データ連結部9aが起動された場合
は、データ分類部8cにて分類されたデータを、対応す
るビューのセルに連結形式で表示する。
When the classification of the data is completed, one of the data totaling section 9b and the data linking section 9a is activated according to the user's selection. When the data linking unit 9a is activated, the data classified by the data classifying unit 8c is displayed in a linked form on the cell of the corresponding view.

【0033】〔第1実施例〕 図2は処理手順の全体像を示すフローチャートである。
ここではユーザに元表の入力とビューの定義を要求した
後、それらの内容を認識し、データ分類処理および表示
処理を起動する。以下、図15を元表とした場合の例に
つき説明する。
[First Embodiment] FIG. 2 is a flowchart showing an overall image of the processing procedure.
Here, after requesting the user to input the base table and define the view, the contents are recognized, and the data classification process and the display process are started. Hereinafter, an example in which FIG. 15 is used as a base table will be described.

【0034】ステップS21は入力手段10に対応する
処理を起動し、ユーザに図15のような元表を入力させ
た後、そのデータをソース記憶部12aに格納する。ス
テップS22はビュー定義部8aに対応する処理を起動
し、元表の再構成条件を、図17(a)のようなダイア
ログにて設定するようユーザに要求する。
In step S21, a process corresponding to the input means 10 is started, and after the user inputs a base table as shown in FIG. 15, the data is stored in the source storage unit 12a. In step S22, the process corresponding to the view definition unit 8a is activated, and the user is requested to set the conditions for reconstructing the base table in a dialog as shown in FIG.

【0035】図15のコメントデータを「年度別」,
「機種別」,「地区別」に分類するダイアログの右端に
は、元表のフィールド名が一覧形式で表示される(図1
7(a))。このような分類を行う場合は、「年度」,
「機種」,「地区」の各フィールド名をダイアログ上の
水平/垂直フィールド欄に、コメントフィールドをデー
タフィールド欄に配置する。
The comment data shown in FIG.
At the right end of the dialog that is classified into "by model" and "by district", the field names of the original table are displayed in a list format (FIG. 1).
7 (a)). When making such a classification,
The field names “model” and “district” are arranged in the horizontal / vertical field columns on the dialog, and the comment field is arranged in the data field column.

【0036】この状態でユーザがダイアログを閉じる
と、ビュー定義部8aは、設定されたフィールド名と、
対応する列番号(Cn)をビュー定義情報としてビュー
定義情報記憶部12bに格納する。例えば図5に示すよ
うに、年度フィールドに対しては、対応する列番号であ
るC1が格納される。
When the user closes the dialog in this state, the view definition unit 8a sets the set field name and
The corresponding column number (Cn) is stored in the view definition information storage unit 12b as view definition information. For example, as shown in FIG. 5, for the year field, a corresponding column number C1 is stored.

【0037】ステップS23では、多次元表において集
計表示、連結表示のどちらを行うかをユーザに選択させ
る。次いで、ステップS24は、レコード分類部8bに
対応する処理を起動する。ここではビューの項目となる
水平および垂直フィールドのデータ別に、元表のレコー
ド(Rn)を分類し、そのリスト(以下、レコードリス
トと称す)をレコード記憶部12cに格納する。図6に
示す例では、年度フィールドの1項目である94年度に
対し、その項目を含むR2〜R9の8つの行番号が格納
される。
In step S23, the user is made to select whether to perform total display or link display in the multidimensional table. Next, a step S24 activates a process corresponding to the record classification unit 8b. Here, the records (Rn) of the base table are classified according to the data of the horizontal and vertical fields which are the items of the view, and the list (hereinafter, referred to as a record list) is stored in the record storage unit 12c. In the example shown in FIG. 6, eight line numbers of R2 to R9 including one item in the fiscal year field of 1994 are stored.

【0038】ステップS25は、図7に示すように、デ
ータ分類部8cに対応する処理を起動する。ここでは項
目の組合せ別に、対応するレコードリストの重複部分を
抽出する(以下、ANDを取ると称す)。更に抽出した
レコードと、データフィールドの交点のセル番地をリス
トにし(以下、セルリストと称す)、分類データ記憶部
12dに格納する。
In step S25, as shown in FIG. 7, a process corresponding to the data classification unit 8c is started. Here, for each combination of items, a duplicate portion of a corresponding record list is extracted (hereinafter, referred to as AND). Further, a list of cell addresses at the intersection of the extracted record and the data field is made (hereinafter, referred to as a cell list) and stored in the classification data storage unit 12d.

【0039】図7に示す例では、「95年度」,「ワー
プロ」,「関西」という3つの項目に対し、レコードリ
ストの重複部分である行番号R16,R17が抽出さ
れ、それとコメントフィールドC6との交点であるセル
R16C6,R17C6がセルリストに格納される。
In the example shown in FIG. 7, the line numbers R16 and R17, which are the duplicate parts of the record list, are extracted for the three items "1995", "word processor", and "Kansai", The cells R16C6 and R17C6, which are the intersections of, are stored in the cell list.

【0040】ステップS26は、ステップS23でユー
ザが選択した表示形成に従い、集計表示ならばステップ
S27に、連結表示ならばステップS28に処理を移
す。ステップS27はデータ集計部9bに対応する処理
を起動する。ここでは項目の組合せ別に、セルリストの
データを集計し、ビュー記憶部12eの該当するセル
(新規表のセル)に格納する。
In step S26, according to the display selected by the user in step S23, the process proceeds to step S27 if the display is a total display, or to step S28 if the display is a combination display. A step S27 activates a process corresponding to the data tabulation unit 9b. Here, the data of the cell list is totaled for each combination of items and stored in the corresponding cell (cell of the new table) in the view storage unit 12e.

【0041】ステップS28はデータ連結部9aに対応
する処理を起動する。ここでは同様にして項目の組合せ
別に、セルリストのデータを連結形式にまとめ、ビュー
記憶部12eの該当するセルに格納する。
A step S28 activates a process corresponding to the data linking section 9a. Here, similarly, the data of the cell list is grouped into a linked form for each combination of items, and stored in the corresponding cell of the view storage unit 12e.

【0042】ステップS29はデータ出力部9cに対応
する処理を起動し、ビュー記憶部12eに格納された多
次元表形式のデータを、表示手段11に出力する。この
結果として、最終的に図4のビューを得る。
In step S29, the processing corresponding to the data output unit 9c is started, and the multidimensional table format data stored in the view storage unit 12e is output to the display unit 11. As a result, the view of FIG. 4 is finally obtained.

【0043】図3は、ステップS28のデータ連結処理
を表わすフローチャートである。ここではビューの各セ
ルに連結表示用のLISTコマンドを格納していく。
FIG. 3 is a flowchart showing the data linking process in step S28. Here, the LIST command for connection display is stored in each cell of the view.

【0044】ステップS31は、分類データ記憶部12
dから最初のセルリストを取得する。ステップS32
は、セルリストのデータを連結表示させるためのLIS
Tコマンドを定義する。ここでLISTコマンドは、”
LIST”という文字列と、セルリストに格納されたセ
ル番地とで構成される。
In step S31, the classification data storage unit 12
Get the first cell list from d. Step S32
Is an LIS for linking and displaying cell list data
Define the T command. Here, the LIST command is "
LIST "and a cell address stored in the cell list.

【0045】ステップS33は、LISTコマンドをビ
ュー記憶部12eの該当するセルに格納する。図8
(a)に示す例では、「94年度」,「パソコン」「関
東」に該当するビューのセルに、元表のR2C6,R3
C6のデータを連結するLISTコマンドが格納され
る。このコマンドがデータ出力部9cにより実行される
と、対応するデータが連結形式でビューに表示される。
A step S33 stores the LIST command in a corresponding cell of the view storage unit 12e. FIG.
In the example shown in (a), R2C6, R3 of the original table are added to the cells of the views corresponding to "1994", "PC" and "Kanto".
A LIST command for linking data of C6 is stored. When this command is executed by the data output unit 9c, the corresponding data is displayed on the view in a linked format.

【0046】ステップS34は、分類データ記憶部12
dの最終リストに到達したかどうかをチェックし、もし
そうであれば図3の処理を終了する。またそうでなけれ
ば、ステップS35で分類データ記憶部12dから次の
セルリストを取得し、ステップS32からの処理を繰り
返す。
In step S34, the classification data storage unit 12
It is checked whether or not the final list of d has been reached, and if so, the processing of FIG. 3 ends. Otherwise, in step S35, the next cell list is obtained from the classification data storage unit 12d, and the processing from step S32 is repeated.

【0047】なお図2のステップS27のデータ集計処
理は、LISTコマンドの代りに集計表示コマンドSU
Mを使う点を除いて、ステップS28と同一の処理にな
る(図8(b))。
The data totaling process of step S27 in FIG. 2 is performed by using a total display command SU instead of the LIST command.
Except for using M, the process is the same as step S28 (FIG. 8B).

【0048】〔第2実施例〕 次に、実施例2について説明する。図9は、元表が多次
元の形式を持つ場合の例である。この例では、各々の項
目行/項目列がフィールドになり(以下、フィールド行
/フィールド列と称す)、その最終セルがフィールド名
になる。またフィールド行列双方向になるのに伴い、そ
れと直交するレコードも行列双方向になる(以下、レコ
ード行/レコード列と称す)。
Second Embodiment Next, a second embodiment will be described. FIG. 9 shows an example in which the base table has a multidimensional format. In this example, each item row / item column becomes a field (hereinafter, referred to as a field row / field column), and the last cell thereof becomes a field name. As the field matrix becomes bidirectional, records orthogonal to it become matrix bidirectional (hereinafter referred to as record rows / record columns).

【0049】図9では、行R1がフィールド行を、列C
1,C2がフィールド列を、行R2〜R9がレコード行
を、列C3〜C4がレコード列を、セルR10C1,R
10C1,R1C5,R10C5がフィールド名を表わ
す。
In FIG. 9, row R1 represents the field row and column C
1 and C2 represent field columns, rows R2 to R9 represent record rows, columns C3 to C4 represent record columns, and cells R10C1 and R10
10C1, R1C5, and R10C5 represent field names.

【0050】この元表に対してビュー定義部8aを実行
すると、図10のようなダイアログが表示される。この
時、ビューと元表のデータフィールドは無条件で同一に
なるため、ダイアログの該当する欄には、自動的に元表
と同じフィールド名(コメント)が入る。ここで水平・
垂直フィールド欄を図10のように設定してダイアログ
を閉じると、その設定情報がビュー定義部8aに格納さ
れる。図11の例では、実施例1の列番号に加え、地区
フィールドを指す行番号も格納される(R1)。
When the view definition section 8a is executed on this base table, a dialog as shown in FIG. 10 is displayed. At this time, since the data fields of the view and the base table are unconditionally the same, the same field name (comment) as the base table is automatically entered in the corresponding column of the dialog. Here the horizontal
When the vertical field field is set as shown in FIG. 10 and the dialog is closed, the setting information is stored in the view definition section 8a. In the example of FIG. 11, the row number indicating the district field is stored in addition to the column number of the first embodiment (R1).

【0051】次にレコード分類部8bが起動され、項目
別にレコード行/列が分類されて、レコード記憶部12
cに格納される(図12)。この時、セルR3C1のよ
うに空の項目セルがある場合は、直前の空でない項目
(94年度)と同一であると認識する。またフィールド
行/列が直交する領域(セルR1C1,R1C2)は、
項目とは認識しない。更に実施例2ではレコード行/列
双方向になるため、そのどちらにも対応できるよう、図
12のレコードリストにはセル番地を格納する。ここで
R?,R?は任意のレコード行/列を指す。
Next, the record classification section 8b is activated, and the record rows / columns are classified by item, and the record storage section 12b is classified.
c (FIG. 12). At this time, if there is an empty item cell such as the cell R3C1, it is recognized that it is the same as the immediately preceding non-empty item (1994). Also, the region (cell R1C1, R1C2) where the field row / column is orthogonal is
Not recognized as an item. Further, in the second embodiment, since the record row / column is bidirectional, a cell address is stored in the record list of FIG. Where R? , R? Refers to any record row / column.

【0052】上記分類が終了すると、データ分類部8c
により、項目の組合せ別にレコードリストのANDが取
られ、対応するセルリストが生成される。この時には、
図13の最後に示すように、まずレコード行どうしに、
レコード列どうしで別々にANDが取られ、次に両者の
ANDが取られる。セルリストの生成が終了すると、そ
れが分類データ記憶部12dに格納される。以降の処理
は、実施例1の場合と同じになる(図14)。
When the above classification is completed, the data classification unit 8c
As a result, AND of the record list is obtained for each combination of items, and a corresponding cell list is generated. At this time,
As shown at the end of FIG. 13, first, record rows
The AND is separately obtained between the record sequences, and then the AND of both is obtained. When the generation of the cell list is completed, it is stored in the classification data storage unit 12d. Subsequent processing is the same as in the first embodiment (FIG. 14).

【0053】以上説明したように本実施形態による表デ
ータ処理装置を用いると、市場分析表や商品比較表とい
った文字て構成された表の場合でも、それらを多次元化
し、ユーザの任意の視点で再構成できるため、各種分析
や計画立案に役立てることができるという効果がある。
As described above, when the table data processing apparatus according to the present embodiment is used, even if the table is composed of characters such as a market analysis table and a product comparison table, they are made multidimensional, and the table can be viewed from an arbitrary viewpoint of the user. Since it can be reconfigured, there is an effect that it can be used for various analyzes and planning.

【0054】[0054]

【発明の効果】本発明は以上のように構成され機能する
ので、これによると、データ連結部が、ビュー定義生成
手段によって生成されたビュー定義情報に基づいて特定
されたセルのデータを連結し、さらに、データ出力部
が、データ連結部によって連結された連結データをビュ
ー定義情報に指定された位置の新規表のセルに出力する
ため、元表のセルの内容が文字の場合であっても、再構
成手段は、文字を連結して新規表を作成することがで
き、従って、文字で元表のデータが構成されていても、
この元表を多次元化してデータの再構成を行うことがで
きる従来にない優れた表データ処理装置を提供すること
ができる。
According to the present invention, the data linking unit links the data of the cells specified based on the view definition information generated by the view definition generating means. Further, since the data output unit outputs the linked data linked by the data linking unit to the cell of the new table at the position specified in the view definition information, even if the content of the cell of the original table is a character, , The reconstruction means can create a new table by concatenating the characters, so that even if the data of the original table is composed of characters,
It is possible to provide an unprecedented superior table data processing apparatus capable of reconstructing data by multiplying the base table.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の一実施例による表データ処理装置の構
成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a table data processing device according to an embodiment of the present invention.

【図2】図1に示した表データ処理装置の処理手順の全
体像を示すフローチャートである。
FIG. 2 is a flowchart showing an overall image of a processing procedure of the table data processing apparatus shown in FIG. 1;

【図3】図1に示したデータ連結部の処理手順を示すフ
ローチャートである。
FIG. 3 is a flowchart illustrating a processing procedure of a data connection unit illustrated in FIG. 1;

【図4】図1に示した構成により生成されるビューの一
例を示す説明図である。
FIG. 4 is an explanatory diagram showing an example of a view generated by the configuration shown in FIG. 1;

【図5】図1に示したビュー定義部の動作を示す説明図
である。
FIG. 5 is an explanatory diagram illustrating an operation of a view definition unit illustrated in FIG. 1;

【図6】図1に示したレコード記憶部の動作を示す説明
図である。
FIG. 6 is an explanatory diagram illustrating an operation of the record storage unit illustrated in FIG. 1;

【図7】図1に示した分類データ記憶部の動作を示す説
明図である。
FIG. 7 is an explanatory diagram illustrating an operation of a classification data storage unit illustrated in FIG. 1;

【図8】図1に示したビュー記憶部に格納されるデータ
の一例を示す説明図で、図8(a)は連結表示を行う場
合の一例を示す図で、図8(b)は集計表示を行う場合
一例を示す図である。
8A and 8B are explanatory diagrams illustrating an example of data stored in a view storage unit illustrated in FIG. 1; FIG. 8A is a diagram illustrating an example of a case where linked display is performed; FIG. It is a figure showing an example when performing display.

【図9】図1に示した構成によりビューを生成する元と
なる多次元の元表の一例を示す説明図である。
9 is an explanatory diagram showing an example of a multidimensional base table from which a view is generated by the configuration shown in FIG. 1;

【図10】図9に示した多次元の元表を再構成する場合
のダイアログの一例を示す図である。
FIG. 10 is a diagram illustrating an example of a dialog when reconstructing the multidimensional base table illustrated in FIG. 9;

【図11】図9に示した多次元の元表を再構成した場合
のビュー定義部の動作を示す説明図である。
FIG. 11 is an explanatory diagram showing an operation of a view definition unit when the multidimensional base table shown in FIG. 9 is reconstructed.

【図12】図9に示した多次元の元表を再構成した場合
のレコード記憶部の動作を示す説明図である。
FIG. 12 is an explanatory diagram showing an operation of the record storage unit when the multidimensional base table shown in FIG. 9 is reconstructed.

【図13】図9に示した多次元の元表を再構成した場合
の分類データ記憶部の動作を示す説明図である。
FIG. 13 is an explanatory diagram showing an operation of a classification data storage unit when the multidimensional base table shown in FIG. 9 is reconstructed.

【図14】図9に示した多次元の元表を再構成した場合
のビューの一例を示す説明図である。
FIG. 14 is an explanatory diagram showing an example of a view when the multidimensional base table shown in FIG. 9 is reconstructed.

【図15】元表の一例を示す説明図である。FIG. 15 is an explanatory diagram showing an example of a base table.

【図16】図16(a)はビュー定義ダイアログの一例
を示す図で、図16(b)は集計表示を行う場合一例を
示す図である。
FIG. 16A is a diagram illustrating an example of a view definition dialog, and FIG. 16B is a diagram illustrating an example of a case where total display is performed;

【図17】従来の表データ処理装置により文字列のデー
タを再構成する場合の一例を示す図で、図17(a)は
ビュー定義ダイアログの一例を示す図で、図17(b)
は集計表示を行う場合一例を示す図である。
17A and 17B are diagrams illustrating an example of a case where character string data is reconstructed by a conventional table data processing apparatus. FIG. 17A illustrates an example of a view definition dialog, and FIG.
FIG. 9 is a diagram showing an example of a case where total display is performed.

【符号の説明】[Explanation of symbols]

8 ビュー定義生成手段 8a ビュー定義部 8b レコード分類部 8c データ分類部 9 データ再構成手段 9a データ集計部 9b データ集計部 9c データ出力部 9d 処理選択部 10 入力手段 11 表示手段 12 記憶手段 12a 元表記億部(ソース記憶部) 12b ビュー定義部 12c レコード記憶部 12d 分類データ記憶部 12e ビュー記憶部 8 View definition generation means 8a View definition part 8b Record classification part 8c Data classification part 9 Data reconstruction part 9a Data totalization part 9b Data totalization part 9c Data output part 9d Process selection part 10 Input means 11 Display means 12 Storage means 12a Original notation Billion copies (source storage unit) 12b View definition unit 12c Record storage unit 12d Classification data storage unit 12e View storage unit

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平6−96104(JP,A) 特開 平5−225250(JP,A) 特開 平5−81338(JP,A) 特開 平2−190963(JP,A) 特開 昭63−175925(JP,A) 特開 平4−33164(JP,A) 特開 平6−35975(JP,A) (58)調査した分野(Int.Cl.7,DB名) G06F 19/00 ──────────────────────────────────────────────────続 き Continuation of the front page (56) References JP-A-6-96104 (JP, A) JP-A-5-225250 (JP, A) JP-A-5-81338 (JP, A) JP-A-2-96 190963 (JP, A) JP-A-63-175925 (JP, A) JP-A-4-33164 (JP, A) JP-A-6-35975 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB name) G06F 19/00

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 行番号及び列番号で指定される複数のセ
ルを有するシートと、このシートに入力されたデータ及
びフィールド名を元表として記憶する元表記憶部と、前
記フィールド名の入力に基づいてビュー定義を生成する
ビュー定義生成手段と、このビュー定義生成手段によっ
て生成されたビュー定義情報に基づいて前記元表の各セ
ルの内容を再構成すると共に新規表を作成する再構成手
段とを備えた表データ処理装置において、 前記再構成手段が、前記ビュー定義生成手段によって特
定された行番号及び列番号に基づいて当該ビュー定義に
より多次元化される複数のセルの文字データを連結する
データ連結部と、このデータ連結部によって連結された
連結データを前記ビュー定義情報に指定された位置の前
記新規表のセルに出力するデータ出力部とを備えたこと
を特徴とする表データ処理装置。
1. A sheet having a plurality of cells designated by a row number and a column number, a base table storage unit for storing data and field names input to the sheet as a base table, and a table for inputting the field names. View definition generation means for generating a view definition based on the view definition information, and reconfiguration means for reconfiguring the contents of each cell of the base table and creating a new table based on the view definition information generated by the view definition generation means. In the table data processing device comprising: the reconstruction means, based on the row number and column number specified by the view definition generation means ,
A data linking unit for linking character data of a plurality of cells to be multi-dimensionalized, and data for outputting the linking data linked by the data linking unit to a cell of the new table at a position designated in the view definition information A table data processing device comprising an output unit.
【請求項2】 前記再構成手段が、前記ビュー定義生成
手段によって特定された行番号及び列番号に基づいて複
数のセルのデータを集計するデータ集計部と、前記ビュ
ー定義生成手段に入力された表示形式情報に基づいて前
記データ集計部又は前記データ連結部のうち一方を選択
する処理選択部とを備えたことを特徴とする請求項1記
載の表データ処理装置。
2. A data summarizing unit for summing data of a plurality of cells based on a row number and a column number specified by the view definition generating unit, wherein the reconstructing unit is input to the view definition generating unit. 2. The table data processing device according to claim 1, further comprising: a processing selection unit that selects one of the data aggregation unit and the data connection unit based on display format information.
【請求項3】 前記再構成手段に、前記ビュー定義情報
に基づいて同一フィールドに属するセルの行番号及び列
番号を抽出するセル分類部を併設し、前記再構成手段
が、このセル分類部によって抽出されたセルリスト毎に
当該セル中の文字列を合成する文字列合成機能を備えた
ことを特徴とする請求項1記載の表データ処理装置。
3. A cell classifying unit for extracting a row number and a column number of a cell belonging to the same field based on the view definition information is provided in the reconstructing unit, and the reconstructing unit is provided with the cell classifying unit. 2. The table data processing apparatus according to claim 1, further comprising a character string synthesizing function for synthesizing a character string in the cell for each extracted cell list.
JP8011525A 1996-01-26 1996-01-26 Table data processing device Expired - Lifetime JP3036628B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8011525A JP3036628B2 (en) 1996-01-26 1996-01-26 Table data processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8011525A JP3036628B2 (en) 1996-01-26 1996-01-26 Table data processing device

Publications (2)

Publication Number Publication Date
JPH09204479A JPH09204479A (en) 1997-08-05
JP3036628B2 true JP3036628B2 (en) 2000-04-24

Family

ID=11780395

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8011525A Expired - Lifetime JP3036628B2 (en) 1996-01-26 1996-01-26 Table data processing device

Country Status (1)

Country Link
JP (1) JP3036628B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3925996B2 (en) * 1997-09-05 2007-06-06 松下電器産業株式会社 Information display device
JPH1196250A (en) * 1997-09-16 1999-04-09 Casio Comput Co Ltd Data tabulation display device and storage medium
JP4636814B2 (en) * 2003-07-03 2011-02-23 株式会社電通国際情報サービス Data mapping apparatus, data mapping method, and program
JP5687918B2 (en) * 2011-02-22 2015-03-25 株式会社アプストウェブ Business application component device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63175925A (en) * 1987-01-16 1988-07-20 Hitachi Ltd Automatic generating system for e-r model
JPH02190963A (en) * 1989-01-19 1990-07-26 Nec Corp Business form editing system
JPH0433164A (en) * 1990-05-30 1992-02-04 Nec Corp Temporary table connection system in relational type data base
JPH0581338A (en) * 1991-09-21 1993-04-02 Toshiba Corp Data processing device
JPH05225250A (en) * 1992-02-17 1993-09-03 Fujitsu Ltd Relational database table join method
JPH0635975A (en) * 1992-07-14 1994-02-10 Hitachi Ltd Data processing method and system
JPH0696104A (en) * 1992-09-11 1994-04-08 Hitachi Ltd Table editing system with calculation formula definition function

Also Published As

Publication number Publication date
JPH09204479A (en) 1997-08-05

Similar Documents

Publication Publication Date Title
US5625776A (en) Electronic proposal preparation system for selling computer equipment and copy machines
JP3036628B2 (en) Table data processing device
US20070043689A1 (en) Lightweight generic report generation tool
JP2523289B2 (en) Display method in software development support system
Marinov et al. Design and implementation of CBIR system for academic/educational purposes
JP2002328941A (en) Data entry screen design method and its support system
Bichler et al. Developing structured WWW-sites with W3DT.
JP3741450B2 (en) Item component element execution method and execution apparatus
JP3698247B2 (en) Object-oriented development support device
JP7701313B2 (en) Examination criteria setting device, examination criteria setting method, and examination criteria setting program
JPH0731309Y2 (en) Information processing device having simulation function
JP3008807B2 (en) Data processing device
JP2023121087A (en) Information processing device, information processing method and information processing program
JP3137865B2 (en) How to create specifications
JPS5968041A (en) Card image processing data processor with line retrieving function
CA1321034C (en) Apparatus and method for processing data corresponding to word labels
Jafar et al. Data mining methods course for computer information systems students
Wijaya et al. Development Clothing Information System base Android Applications of Boutique Modiste Shofi Samarinda
JPH10198556A (en) Information system analysis supporting tool
JP2831866B2 (en) Spreadsheet software cooperation processing device
JPH01298434A (en) Program preparing device
JPH0573284A (en) Drawing processor and its method
JP2000289282A (en) Automatic layout generating device, method for automatically generating layout, and recording medium
JPH07262165A (en) 2D data aggregation method
Lee et al. Simulating user interfaces with dBASE III+

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20000127