JPH07192061A - Spreadsheet device and data management method of spreadsheet device - Google Patents
Spreadsheet device and data management method of spreadsheet deviceInfo
- Publication number
- JPH07192061A JPH07192061A JP5331919A JP33191993A JPH07192061A JP H07192061 A JPH07192061 A JP H07192061A JP 5331919 A JP5331919 A JP 5331919A JP 33191993 A JP33191993 A JP 33191993A JP H07192061 A JPH07192061 A JP H07192061A
- Authority
- JP
- Japan
- Prior art keywords
- data
- column
- management
- input
- area
- 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.)
- Granted
Links
- 238000013523 data management Methods 0.000 title claims abstract description 51
- 238000000034 method Methods 0.000 title claims abstract description 25
- 238000007726 management method Methods 0.000 claims abstract description 161
- 238000010586 diagram Methods 0.000 description 12
- 238000004364 calculation method Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
(57)【要約】
【目的】 表計算装置およびそのデータ管理方法に関
し,データ管理サイズを小さくすることを目的とする。
【構成】 表示装置に表示された表(10)の縦方向,横方
向の一方を列,他方を行としたとき,データ処理装置
(2) は,表(10)の列管理情報をもつ列管理テーブル(20)
と,列毎に行のデータを管理する列管理領域(25),(26)
をもつデータ管理テーブル(21)とを作成する管理データ
作成手段(22)を備え,管理データ作成手段(22)は,表(1
0)に基づいてデータ入力のある列についてのみ列管理情
報を列管理テーブル(20)に設定し,列管理情報に従って
入力データのある列の入力データのある行のみの列管理
領域(25),(26)を作成する構成をもつ。
(57) [Summary] [Purpose] The purpose is to reduce the data management size of a spreadsheet device and its data management method. [Structure] A data processing device in which one of the vertical and horizontal directions of the table (10) displayed on the display device is a column and the other is a row.
(2) is a column management table (20) with the column management information of table (10)
And column management areas (25) and (26) that manage row data for each column
And a management data creation means (22) for creating a data management table (21) having
Column management information is set in the column management table (20) only for columns with data input based on (0), and a column management area (25) for only rows with input data of columns with input data according to the column management information, (26) is created.
Description
【0001】[0001]
【産業上の利用分野】本発明は,表示装置に表形式のデ
ータ入力領域を表示し,入力データを処理する表計算装
置および表計算装置のデータ管理方法に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a spreadsheet device for displaying a data input area in a tabular format on a display device and processing the input data, and a data management method for the spreadsheet device.
【0002】表示装置に画面表示された表に対話形式で
データ入力を行い計算処理をする表計算装置が多方面に
利用されている。このような表計算装置は,レスポンス
時間の短縮,データ保存領域を有効に利用する等のため
に入力データを効率良く管理する必要がある。2. Description of the Related Art A spreadsheet device for interactively inputting data into a table displayed on a screen of a display device and performing a calculation process is widely used. Such a spreadsheet device needs to efficiently manage the input data in order to shorten the response time and effectively use the data storage area.
【0003】[0003]
【従来の技術】従来,表計算装置の入力データの管理は
表をブロックに分割し,ブロック内部の全部のデータ入
力領域(表のデータ入力領域)に対して,データ入力の
無い領域も含めてブロック単位にデータ管理をしてい
た。2. Description of the Related Art Conventionally, in the management of input data of a spreadsheet device, a table is divided into blocks, and the entire data input area (data input area of the table) inside the block is also included in the area without data input. Data was managed in block units.
【0004】図9は従来の表計算装置のデータ管理方法
を示す。図9はA列1行,2行,3行とB列1行,2
行,3行をデータ管理するブロック単位とし,C列1
行,2行,3行とD列1行,2行,3行をデータ管理す
るブロック単位とする場合を示す。FIG. 9 shows a data management method of a conventional spreadsheet apparatus. FIG. 9 shows columns A 1 row, 2 rows, 3 rows and B column 1 rows, 2
Row, 3 rows are the block unit for data management, and C column 1
The case where the rows, 2 rows, and 3 rows and the 1st row, 2nd row, and 3rd row of the D column are set in block units for data management is shown.
【0005】図9において,Pは表計算装置である。1
00は入力処理装置であって,表計算装置の表を表示画
面に表示し,入力されたデータの表における位置を判定
し,入力データとするものである。図は3行4列のデー
タ入力領域をもつ場合を示す。In FIG. 9, P is a spreadsheet device. 1
An input processing device 00 displays a table of the spreadsheet device on the display screen, determines the position of the input data in the table, and sets it as the input data. The figure shows the case of having a data input area of 3 rows and 4 columns.
【0006】101はデータ処理装置であって,入力処
理装置100の表に入力されたデータを処理し,管理す
るものである。入力処理装置100において,111は
データ入力領域であり,表のデータ入力領域である。図
において空白はデータ未入力領域である。図は,A列の
1行と2行およびC列の2行にデータ入力されている状
態を示す。A data processing device 101 processes and manages the data input to the table of the input processing device 100. In the input processing device 100, 111 is a data input area, which is a table data input area. In the figure, the blank area is a data non-input area. The figure shows a state in which data is input to the first and second rows of column A and the second row of column C.
【0007】データ処理装置101において,115デ
ータ管理装置であって,データ入力領域111に入力さ
れたデータを管理するものである。In the data processing device 101, a 115 data management device manages the data input to the data input area 111.
【0008】116はデータ管理ブロック1であって,
A列とB列のデータを管理するブロックである。117
はデータ管理ブロック2であって,C列とD列のデータ
を管理するブロックである。Reference numeral 116 is a data management block 1,
This is a block that manages the data in the columns A and B. 117
Is a data management block 2, which is a block for managing data in the C and D columns.
【0009】120はA列1行の管理データであって,
入力データのデータ値,属性(色,文字種等)等により
構成されるものである。121はB列1行の管理データ
である(未入力)。Reference numeral 120 is management data for column A and row 1.
It is composed of data values of input data, attributes (color, character type, etc.). Reference numeral 121 is management data for column B and row 1 (not input).
【0010】図9により従来のデータ管理方法について
説明する。表計算装置Pにデータ入力する場合は,入力
処理装置100に表示された表110のデータ入力領域
111にカーソルを合わせ,入力装置からデータを入力
する。例えば,D列1行にデータ入力する場合は,D例
1行カーソルを移動しデータ入力する。A conventional data management method will be described with reference to FIG. When data is input to the spreadsheet device P, the cursor is moved to the data input area 111 of the table 110 displayed on the input processing device 100 and data is input from the input device. For example, in the case of inputting data to the D column and 1 row, the cursor is moved to the D example 1 row and data is input.
【0011】入力データの管理は,データ管理装置11
5において入力データをブロック毎に管理していた。例
えば,データ管理ブロック1(116)は,A列1行の
データ120,B列1行のデータ(未入力)121等の
ブロック1(116)が管理の対象とするA列とB列の
行データをデータ入力の有無に係わらず,全て管理して
いた。また,データ管理ブロック2(117)も同様
に,C列とD列の管理対象の行のデータをデータ入力の
ない行も含めて全てデータ管理ブロック2(117)で
管理していた。Input data is managed by the data management device 11
In Fig. 5, the input data was managed for each block. For example, the data management block 1 (116) is a row of columns A and B that is managed by the block 1 (116), such as data 120 of column A 1 row and data of column B 1 row (uninput) 121. All data was managed regardless of the presence or absence of data input. Similarly, the data management block 2 (117) also manages all the data of the rows to be managed in columns C and D, including the rows without data input, in the data management block 2 (117).
【0012】[0012]
【発明が解決しようとする課題】上記のように,従来の
表計算装置は,データ入力のないデータ入力領域に対し
てもデータ管理のための管理領域を確保していたので,
データ管理サイズが膨大になり,記憶領域を無駄に占有
するだけでなく,動作レスポンスも悪いものであった。As described above, since the conventional spreadsheet apparatus secures the management area for data management even in the data input area where there is no data input,
Not only was the data management size enormous, the storage area wasted unnecessarily, but the operation response was also poor.
【0013】本発明は,データ管理サイズを小さくする
ことのできる表計算装置および表計算装置のデータ管理
方法を提供することを目的とする。It is an object of the present invention to provide a spreadsheet device and a data management method for the spreadsheet device that can reduce the data management size.
【0014】[0014]
【課題を解決するための手段】図1は本発明の基本構成
を示す。図1において,Pは表計算装置であって,表示
装置に表形式のデータ入力領域を表示し,入力されたデ
ータを処理するものである。FIG. 1 shows the basic configuration of the present invention. In FIG. 1, P is a spreadsheet device, which displays a tabular data input area on a display device and processes the input data.
【0015】1は入力処理装置であって,表示装置に表
形式にデータ入力領域を表示し,入力されたデータの表
における位置を判定して入力データとするものである。
2はデータ処理装置であって,入力処理装置1により入
力されたデータを処理し,管理するものである。Reference numeral 1 denotes an input processing device which displays a data input area in a table format on a display device and judges the position of the input data in the table to be input data.
A data processor 2 processes and manages the data input by the input processor 1.
【0016】3は入力装置である。入力処理装置1にお
いて,11はデータ入力領域であって,表のデータ入力
領域である。入力装置3によりカーソルをデータ入力領
域11に合わせ,データ値を入力する。図において,空
白はデータの未入力領域を表し,図はA列の1行と2行
およびC列の2行にデータ入力されている状態を表す。Reference numeral 3 is an input device. In the input processing device 1, 11 is a data input area, which is a data input area of a table. The cursor is moved to the data input area 11 by the input device 3, and the data value is input. In the figure, blanks represent areas in which no data has been entered, and the figure shows a state in which data is entered in rows 1 and 2 of column A and 2 rows of column C.
【0017】データ処理装置2において,15はデータ
管理装置であって,入力データを管理するものである。
20は列管理テーブルであって,列管理情報により列の
入力データを管理するものである。In the data processing device 2, 15 is a data management device for managing input data.
A column management table 20 manages the input data of the columns by the column management information.
【0018】21はデータ管理テーブルであって,列毎
に行の入力データを管理する列管理領域(25),(26) によ
り構成されるものである。22は管理データ作成手段で
あって,列管理テーブル20を作成し,データ入力のあ
る列に列管理情報を設定し,列管理情報に基づいてデー
タ管理テーブル21の列管理領域(25),(26)を確保する
ものである。列管理情報は,列の入力データを管理する
列管理領域の位置を指定するポインタ等を含むものであ
る。Reference numeral 21 is a data management table, which is composed of column management areas (25) and (26) for managing input data of rows for each column. Reference numeral 22 is a management data creating means for creating a column management table 20, setting column management information in a column having data input, and based on the column management information, column management areas (25), (25) of the data management table 21. 26). The column management information includes a pointer for designating the position of the column management area for managing the input data of the column.
【0019】25はA列の列管理領域であり,A列の行
の入力データの管理データを保持する領域である。2
5’はA列1行のデータである。Reference numeral 25 denotes a column management area of the A column, which is an area for holding management data of the input data of the row of the A column. Two
5'is data in column A and row 1.
【0020】25”はA列2行のデータである。26は
C列の列管理領域であり,C列の行に入力された管理デ
ータを保持する領域である。Reference numeral 25 "is data in column A and two rows. Reference numeral 26 is a column management area in column C, which is an area for holding the management data input to the row in column C.
【0021】26’はC列2行のデータである。Reference numeral 26 'is data in column C and row 2.
【0022】[0022]
【作用】図1の基本構成において,入力処理装置1は入
力されたデータのデータ入力領域11の位置を判定す
る。管理データ作成手段22は列管理テーブル20を作
成する。そして,データ入力のある列についてのみ,列
管理テーブル20に列管理情報を設定する。例えば,列
管理テーブル20にA列の列管理領域25の位置を示す
ポインタ等を設定する。In the basic configuration of FIG. 1, the input processing device 1 determines the position of the data input area 11 of the input data. The management data creating means 22 creates the column management table 20. Then, column management information is set in the column management table 20 only for columns having data input. For example, a pointer or the like indicating the position of the column management area 25 of column A is set in the column management table 20.
【0023】さらに,管理データ作成手段22は,列管
理テーブル20の列管理情報に従って該当する列の行の
管理データを設定する列管理領域(25),(26) を確保し,
管理データを作成して列管理領域(25),(26)に設定す
る。例えば,A列であれば,A列の1行および2行の管
理データ(入力データ値,行番号,属性等)を作成して
A列の列管理領域(25)に設定する。その際,A列の1行
の管理データはA列2行の管理データの位置を指定する
情報(ポインタ等)を持つことによりA列2行のデータ
の領域を指定する。また,A列の2行の管理データはA
列の1行の管理データのある領域を示すポインタを持つ
ようにして,互いの位置を認識できるようにしておく。
そして,列管理領域(25),(26)はデータのある行に対し
てのみ確保される。データ入力された行が追加された場
合は,同じ列の他の行の管理データに追加された行の管
理データを設定する領域のポインタが設定され,そのポ
インタで指定される領域に追加された行の管理データが
設定される。Further, the management data creating means 22 secures the column management areas (25) and (26) for setting the management data of the row of the corresponding column according to the column management information of the column management table 20,
Create management data and set it in the column management areas (25) and (26). For example, in the case of the A column, the management data (input data value, line number, attribute, etc.) of the 1st and 2nd rows of the A column are created and set in the column management area (25) of the A column. At this time, the management data of the 1st row of the A column has the information (pointer, etc.) for designating the position of the management data of the 2nd row of the A column, thereby designating the data area of the 2nd row of the A column. In addition, the management data in the two rows of column A is A
A pointer indicating an area of the management data of one row of a column is provided so that the mutual positions can be recognized.
Then, the column management areas (25) and (26) are reserved only for a row having data. When a row with data input is added, the pointer of the area for setting the management data of the row added to the management data of the other row in the same column is set, and the pointer is added to the area specified by the pointer. Row management data is set.
【0024】B列についてはデータ入力がないので,列
管理テーブル20に列管理情報を設定しない。そして,
データ管理テーブル21に列管理領域を確保しない。C
列については,列管理テーブル20のC列に列管理情報
を設定する。そして,その列管理情報に従って,C列の
列管理領域26を確保し,C列の2行の管理データ(入
力データ値,行番号等)を設定する。D列については入
力データがないので,列管理テーブル20に列管理情報
を設定しない。そして,列管理領域も確保しない。Since no data is input for the column B, column management information is not set in the column management table 20. And
No column management area is secured in the data management table 21. C
For columns, column management information is set in column C of the column management table 20. Then, in accordance with the column management information, the column management area 26 of the C column is secured, and the management data (input data value, line number, etc.) of two rows of the C column are set. Since there is no input data for column D, column management information is not set in the column management table 20. Also, the column management area is not secured.
【0025】[0025]
【実施例】図2は本発明の表計算装置の構成の実施例を
示す。図2において,Pは表計算装置である。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 2 shows an embodiment of the configuration of the spreadsheet apparatus of the present invention. In FIG. 2, P is a spreadsheet device.
【0026】31は表計算プログラムであって,入力処
理プログラム35とデータ処理プログラム36により構
成される。入力処理プログラム35はディスプレイ54
に表形式のデータ入力領域を表示する等の機能を備え,
データ処理プログラム36はデータ入力領域に入力され
たデータを処理し,管理する等の機能を備えるものであ
る。A spreadsheet program 31 is composed of an input processing program 35 and a data processing program 36. The input processing program 35 is a display 54
Has a function such as displaying a tabular data input area,
The data processing program 36 has a function of processing and managing data input to the data input area.
【0027】32は入力処理装置であって,入力処理プ
ログラム35,CPU50,記憶装置51,ディスプレ
イ54により構成されるものである。33はデータ処理
装置であって,入力データを処理するものであって,デ
ータ処理プログラム36,CPU50,記憶装置51に
より構成されるものである。Reference numeral 32 denotes an input processing device, which comprises an input processing program 35, a CPU 50, a storage device 51, and a display 54. A data processing device 33 processes input data, and is constituted by a data processing program 36, a CPU 50, and a storage device 51.
【0028】35は入力処理プログラムである。36は
データ処理プログラムである。37はデータ管理プログ
ラムである。データ管理プログラム37,CPU(5
0),記憶装置51によりデータ管理装置を構成する。Reference numeral 35 is an input processing program. 36 is a data processing program. 37 is a data management program. Data management program 37, CPU (5
0), the storage device 51 constitutes a data management device.
【0029】40は管理データ作成手段である。50は
CPUである。51は記憶装置であって,列管理テーブ
ル領域52,データ管理テーブル領域53等の領域を確
保されるものである。Reference numeral 40 is a management data creating means. 50 is a CPU. Reference numeral 51 denotes a storage device, which secures areas such as a column management table area 52 and a data management table area 53.
【0030】54はディスプレイであって,表計算プロ
グラムの表を表示するものである。55は入力装置であ
って,キーボード,マウス等である。56はディスク装
置であって,作成データの保存,データ入力,アプリケ
ーションプログラム等を保持するものである。A display 54 displays a table of a spreadsheet program. An input device 55 is a keyboard, a mouse, or the like. A disk device 56 stores created data, inputs data, holds application programs and the like.
【0031】図3は本発明の実施例を示す図であって,
データ入力される前の初期状態を示す。図3において,
32は入力処理装置である。FIG. 3 is a diagram showing an embodiment of the present invention,
The initial state before data input is shown. In FIG.
32 is an input processing device.
【0032】33はデータ処理装置である。入力処理装
置32において,60は表であって,ディスプレイ表示
されたものを表す。Reference numeral 33 is a data processing device. In the input processing device 32, 60 is a table, which is displayed on the display.
【0033】61はデータ入力領域である。データ処理
装置33において,65はデータ管理装置である。Reference numeral 61 is a data input area. In the data processing device 33, 65 is a data management device.
【0034】66は列管理テーブルである。図4は本発
明の実施例を示す図であって,表にデータ入力された状
態を示す。32は入力処理装置である。Reference numeral 66 is a column management table. FIG. 4 is a diagram showing an embodiment of the present invention, showing a state in which data is entered in a table. 32 is an input processing device.
【0035】33はデータ処理装置である。入力処理装
置32において,60は表であって,A列1行に
「あ」,B列1行に「い」A列2行に「う」,B列2行
に「え」,E列3行に「か」,E列4行に「き」が入力
された状態を示す。Reference numeral 33 is a data processing device. In the input processing device 32, reference numeral 60 is a table in which A column has 1 row, “A”, B column has 1 row, “I”, A column has 2 rows, “U”, B column has 2 rows, “E”, and E column. The state in which "ka" is input in the third row and "ki" in the fourth row of the E column is shown.
【0036】61はデータ入力領域である。データ処理
装置33において,65はデータ管理装置である。Reference numeral 61 is a data input area. In the data processing device 33, 65 is a data management device.
【0037】66は列管理テーブルである。67はデー
タ管理テーブルである。71はA列の管理領域である。Reference numeral 66 is a column management table. 67 is a data management table. Reference numeral 71 is a management area in column A.
【0038】72はB列の管理領域である。73はE列
の管理領域である。75は管理データであって,管理デ
ータの構造を示し,行番号,入力データの属性等を保持
する詳細部と入力データ値を保持するデータ部により構
成される。図は,A列1行の入力データであり,行番号
「1」と入力データ値「あ」を示す(属性は図示されて
いない)。Reference numeral 72 is a management area of column B. Reference numeral 73 is a management area in the E column. Reference numeral 75 denotes management data, which shows the structure of the management data, and is composed of a detail section for holding a line number, an attribute of input data, and a data section for holding an input data value. The figure shows the input data of column A, one row, and shows the row number “1” and the input data value “A” (attribute is not shown).
【0039】76は詳細部である。77はデータ部であ
る。本発明は,図4に示すように,データ管理装置にお
いて入力処理装置32に入力されたデータについてのみ
管理データを作成する。図4の場合,A列の管理領域7
1にA列1行であることを示す「1」とデータ値
「あ」,A列2行であることを示す「2」とデータ値
「う」とによりA列の管理データが作成される。また,
B列の管理領域72にB列1行であることを示す「1」
とデータ値「い」,B列2行であることを示す「2」と
データ値「え」とにより管理データが作成される。同様
に,E列の管理領域73にE列3行であることを示す
「3」とデータ値「か」,E列4行であることを示す
「4」とデータ値「き」により管理データが作成され
る。そして,入力データのないデータ入力領域61の管
理データは作成しない。Reference numeral 76 is a detailed portion. Reference numeral 77 is a data section. According to the present invention, as shown in FIG. 4, management data is created only for data input to the input processing device 32 in the data management device. In the case of FIG. 4, the management area 7 of column A
1, the management data of the A column is created by "1" indicating that it is the 1st row of the A column and the data value "A", and by "2" indicating that it is the 2nd column of the A column and the data value "U". . Also,
“1” indicating that there is one row in column B in the management area 72 in column B
The management data is created with the data value "i", "2" indicating that it is column B and two rows, and the data value "e". Similarly, in the management area 73 of the E column, the management data is “3” indicating that it is the third row of the E column and the data value “ka”, and “4” indicating that it is the fourth row of the E column and the data value “ki”. Is created. Then, the management data in the data input area 61 having no input data is not created.
【0040】図5は本発明の管理データ作成処理のフロ
ーを示す。図5の番号に従ってフローを説明する(図4
を参照する)。 S1 管理データ作成手段(図1の管理データ作成手段
22参照)は列管理テーブル66を作成する。FIG. 5 shows a flow of management data creation processing of the present invention. The flow will be described according to the numbers in FIG.
See). The S1 management data creating means (see the management data creating means 22 in FIG. 1) creates the column management table 66.
【0041】S2 入力処理装置32にデータ入力がな
される。 S3 入力処理装置32は入力されたデータのあるデー
タ入力領域61の位置を判定する。例えば,B列1行に
入力された場合,B列1行にデータ入力されたことを判
定する。Data is input to the S2 input processing device 32. The S3 input processing device 32 determines the position of the data input area 61 having the input data. For example, when the data is input to the B column and 1 row, it is determined that the data has been input to the B column and 1 row.
【0042】S4 管理データ作成手段は,列管理テー
ブル66のB列に列管理情報を設定し,B列管理領域
(72)を確保する。 S5 作成されたB列のデータ領域(B列管理領域7
2)に行番号とデータ値等を格納する。The S4 management data creating means sets the column management information in the B column of the column management table 66 and secures the B column management area (72). S5 Created B column data area (B column management area 7
Store the line number, data value, etc. in 2).
【0043】図6は本発明のデータ管理方法の実施例を
示す図である。図6において,32は入力処理装置であ
る。FIG. 6 is a diagram showing an embodiment of the data management method of the present invention. In FIG. 6, reference numeral 32 is an input processing device.
【0044】入力処理装置32において,60は表であ
って,A列1行に「あ」,A列2行に「い」,C列2行
に「う」,C列2行に「え」がデータ入力されている状
態を表す。In the input processing device 32, a reference numeral 60 is a table in which A column has 1 row, "A", A column has 2 rows, "I", C column has 2 rows, "U", and C column has 2 rows. "Indicates that data is being input.
【0045】61はデータ入力領域である。51は記憶
装置であって,列管理テーブル66,データ管理テーブ
ル67を確保するものである。Reference numeral 61 is a data input area. A storage device 51 secures a column management table 66 and a data management table 67.
【0046】記憶装置51において,66は列管理テー
ブルである。66’は列管理情報であって,データ管理
テーブル67の列管理領域の位置を指定するポインタを
もつものである。In the storage device 51, 66 is a column management table. Reference numeral 66 'is column management information, which has a pointer for designating the position of the column management area of the data management table 67.
【0047】67はデータ管理テーブルであって,デー
タ入力のある列の列管理領域により構成されるものであ
る。図6により本発明のデータ管理方法を説明する。Reference numeral 67 is a data management table, which is composed of a column management area of a column having data input. The data management method of the present invention will be described with reference to FIG.
【0048】管理データ作成手段(図1の管理データ作
成手段22参照)は,表60のデータ入力のある列につ
いて列管理テーブル66に列管理情報(列管理領域の位
置を指定するポインタ66’,データ幅等により構成さ
れる)を設定する。列にデータ入力がない場合は列管理
情報は作成されない。そして,列管理テーブル66の列
管理情報のポインタ66’で指定される領域に列管理領
域が作成され,列の行番号,データ値が確保される。The management data creating means (see the management data creating means 22 in FIG. 1) uses the column management table 66 for the column having the data input in the table 60 to manage the column management information (pointer 66 'for designating the position of the column management area, It is configured by the data width, etc.). If there is no data input to the column, column management information will not be created. Then, the column management area is created in the area designated by the pointer 66 'of the column management information in the column management table 66, and the row number of the column and the data value are secured.
【0049】図6の例に従って,列管理テーブル66,
データ管理テーブル67のデータ作成方法について説明
する。管理データ作成手段は,A列にデータがあること
を判定すると,A列管理領域(A列の先頭データを確報
する領域)を指定するポインタ(♯0000)を設定す
る。そのポインタ(♯0000)の示す位置にA列の先
頭データを設定する管理領域を確保し,A列の先頭デー
タ(1行「あ」)の管理データを設定する。管理データ
は,データ部に入力データ値「あ」,詳細部に行番号
「「1」,属性(色,文字種等),A列の次の管理デー
タ(2行の「い」)の領域を指定するポインタ(♯00
01)により構成される。さらに,そのポインタ(♯0
001)で指定される領域にA列の2行の管理データ
(A列1行の管理データの位置を示す前ポインタ(♯0
000),データ値,行番号等)が設定される。図の例
ではA列の3行以降のデータは存在しないので次のポイ
ンタはNullとする。According to the example of FIG. 6, the column management table 66,
A method of creating data of the data management table 67 will be described. When the management data creating means determines that there is data in the A column, it sets a pointer (# 0000) for designating the A column management area (area for confirming the head data of the A row). A management area for setting the head data of the A column is secured at the position indicated by the pointer (# 0000), and the management data of the head data of the A column (1 row "A") is set. The management data has an input data value “A” in the data part, a line number “1” in the details part, attributes (color, character type, etc.), and the area of the next management data in column A (“i” in two lines). Pointer to specify (# 00
01). Furthermore, the pointer (# 0
(001) in the area designated by column A, two rows of management data (column A, one row of management data, the previous pointer (# 0
000), data value, line number, etc.) are set. In the example shown in the figure, since the data in the third and subsequent rows of column A does not exist, the next pointer is Null.
【0050】B列には入力データがないので列管理テー
ブル66のB列の管理情報のポインタはNullとす
る。C列に入力データがあることから,列管理テーブル
66のC列の列管理情報にC列の管理領域を指定するポ
インタ(♯0002)を設定する。そのポインタ(♯0
002)に従って,C列の管理領域が確保され,C列の
先頭の入力データ(2行の「う」)とC列の行の次の管
理データの位置を指定するポインタ(♯0003)がC
列の管理領域に設定される。そのポインタ(♯000
3)に従って,C列の次のデータ(3行の「え」)の管
理データを設定する領域を確保し,C列の3行の管理デ
ータを設定する。C列3行の管理データは前ポインタ
(♯0002),入力データ値,行番号,次のC列の入
力データのポインタにより構成される(図の例では,C
列の4行以降にデータはないので次のポインタは「Nu
ll」とする。Since there is no input data in the B column, the pointer of the management information in the B column of the column management table 66 is Null. Since there is input data in the column C, the pointer (# 0002) designating the management area of the column C is set in the column management information of the column C of the column management table 66. The pointer (# 0
002), the management area of the C column is secured, and the pointer (# 0003) for designating the positions of the input data at the beginning of the C column (“u” in the second row) and the management data next to the row at the C column is C.
Set in the management area of the column. The pointer (# 000
According to 3), the area for setting the management data of the next data of column C (“E” of three rows) is secured, and the management data of three rows of column C is set. The management data of column C, 3 rows is composed of the previous pointer (# 0002), the input data value, the row number, and the pointer of the input data of the next C column (in the example of the figure, C
Since there is no data in the 4th and subsequent rows of the column, the next pointer is
ll ”.
【0051】図6の状態から,さらにデータ入力された
場合について,図7により説明する。図7は,A列3行
に「か」,B列2行に「き」がデータ入力された場合を
示す。The case where data is further input from the state of FIG. 6 will be described with reference to FIG. FIG. 7 shows a case where “ka” is input in the third row of column A and “ki” is input in the second row of column B.
【0052】管理データ作成手段は,データ入力された
列,行に対応する管理データを作成する。例えば,A列
3行にデータ「か」が入力されると,A列の管理領域の
入力前のA列2行のポインタ「Null」が(♯000
4)となり,(♯0004)の領域にA列3行の管理デ
ータ(前ポインタ(♯0001),データ部「か」,行
番号「3」,次のポインタ「Null」)が設定され
る。さらに,B列2行に「き」が入力されたことによ
り,列管理テーブル66のB列の管理情報のポインタ6
6’「Null」がB列の先頭の領域を指定するポイン
タ「♯0005」となり,その領域にB列の管理領域が
確保され,B列2行の管理データ(前ポインタなし,デ
ータ部「き」,行番号2,次のポインタ「Null」)
が設定される。The management data creating means creates management data corresponding to the columns and rows to which data has been input. For example, when the data “ka” is input to the third row of the A column, the pointer “Null” of the second row of the A column before the input of the management area of the A column becomes (# 000
4), and the management data (previous pointer (# 0001), data section "ka", row number "3", next pointer "Null") of column A, 3 rows is set in the area (# 0004). Further, since “ki” is entered in the second row of the B column, the pointer 6 of the management information of the B column of the column management table 66
6 '"Null" becomes a pointer "# 0005" for designating the first area of the B column, the management area of the B column is secured in that area, and the management data of 2 rows of the B column (no previous pointer, data section , Line number 2, next pointer "Null")
Is set.
【0053】図8は本発明の入力データの画面表示のフ
ローを示す。図示の番号に従って,説明する。S1 配
列番号=0(図6,図7の場合,列管理テーブル66の
A列)を読む。FIG. 8 shows the flow of screen display of input data according to the present invention. Description will be given according to the numbers shown. S1 The array element number = 0 (in the case of FIGS. 6 and 7, the column A of the column management table 66) is read.
【0054】S2,S3 配列番号の示す列管理テーブ
ルの内容≠0であるかないかを判定する。EOD(En
d of Data)でなければS4に進む。EODで
あれば処理を終了する。S2, S3 It is determined whether or not the content of the column management table indicated by the array element number ≠ 0. EOD (En
If not of data), the process proceeds to S4. If it is EOD, the process ends.
【0055】S4,S5 配列番号の示す列管理テーブ
ルの内容がNullであるかないかを判定する。Nul
lでなければS6に進む。Nullであれば,S12に
進む。S4, S5 It is determined whether or not the contents of the column management table indicated by the array element number is Null. Nul
If not l, proceed to S6. If it is Null, the process proceeds to S12.
【0056】S6 配列番号の示す列管理テーブルのポ
インタをポインタ1とする(ポインタ1は変数)。S
7,S8 ポインタ1がNullであるかないかを判定
する。NullであればS12に進む。Nullでなけ
れば,S9に進む。S6 The pointer of the column management table indicated by the array element number is set to pointer 1 (pointer 1 is a variable). S
7, S8 It is determined whether or not the pointer 1 is Null. If it is Null, the process proceeds to S12. If not Null, the process proceeds to S9.
【0057】S9 ポインタ1の示すデータ管理テーブ
ルを読み込む。S10 データ管理テーブルのデータ部
のデータを情報部(表)の行位置に表示する。S9 The data management table indicated by the pointer 1 is read. S10 The data of the data section of the data management table is displayed at the row position of the information section (table).
【0058】S11 データ管理テーブルの次のポイン
タをポインタ1として,S7以後の処理を繰り返す。S
12 配列番号を1インクリメントし,S2以後の処理
を繰り返す。S11 The next pointer of the data management table is set as the pointer 1, and the processing after S7 is repeated. S
12 The array element number is incremented by 1, and the processing after S2 is repeated.
【0059】[0059]
【発明の効果】本発明によれば,表計算装置において,
表の行と列の有効なデータのみを管理し,データ未入力
の領域に対してはデータ管理領域(列管理領域)を確保
しないので,データ管理領域を削減できる。特に,デー
タ未入力領域が多い場合にはデータ管理領域を大幅に削
減することができる。そのため,記憶領域を無駄に占有
することがないばかりでなく,データ処理速度も大幅に
向上する。According to the present invention, in a spreadsheet device,
Only the valid data of rows and columns of the table is managed, and the data management area (column management area) is not secured for the area where no data is entered, so the data management area can be reduced. In particular, when there are many areas where no data has been entered, the data management area can be greatly reduced. Therefore, the storage area is not wastefully occupied, and the data processing speed is significantly improved.
【図1】本発明の基本構成を示す図である。FIG. 1 is a diagram showing a basic configuration of the present invention.
【図2】本発明の表計算装置の構成の実施例を示す図で
ある。FIG. 2 is a diagram showing an example of a configuration of a spreadsheet apparatus of the present invention.
【図3】本発明の実施例を示す図である。FIG. 3 is a diagram showing an example of the present invention.
【図4】本発明の実施例を示す図である。FIG. 4 is a diagram showing an example of the present invention.
【図5】本発明の管理データ作成処理のフローを示す図
である。FIG. 5 is a diagram showing a flow of management data creation processing of the present invention.
【図6】本発明のデータ管理方法の実施例を示す図であ
る。FIG. 6 is a diagram showing an embodiment of a data management method of the present invention.
【図7】本発明のデータ管理方法の実施例を示す図であ
る。FIG. 7 is a diagram showing an embodiment of a data management method of the present invention.
【図8】入力データの画面表示のフローを示す図であ
る。FIG. 8 is a diagram showing a flow of screen display of input data.
【図9】従来の表計算装置のデータ管理方法を示す図で
ある。FIG. 9 is a diagram showing a data management method of a conventional spreadsheet apparatus.
1:入力処理装置 2:データ処理装置 3:入力装置 10:表 11:データ入力領域 20:列管理テーブル 21:データ管理テーブル 22:管理データ作成手段 25:A列の列管理領域 25’:A列1行のデータ 25”:A列2行のデータ 26:C列の列管理領域 26’:C例2行のデータ 1: Input processing device 2: Data processing device 3: Input device 10: Table 11: Data input area 20: Column management table 21: Data management table 22: Management data creating means 25: Column management area of column A 25 ': A Column 1 row data 25 ": Column A 2 row data 26: Column C column management area 26 ': C Example 2 row data
Claims (3)
を表示する入力処理装置(1) と、該データ入力領域(11)
に入力されたデータを処理するデータ処理装置(2) とを
備えた表計算装置(P)において,該表示装置に表示さ
れた表(10)の縦方向,横方向の一方を列,他方を行とし
たとき,該データ処理装置(2) は,該表(10)の列管理情
報をもつ列管理テーブル(20)と列毎に行のデータを管理
する列管理領域(25),(26)をもつデータ管理テーブル(2
1)とを作成する管理データ作成手段(22)を備え,該管理
データ作成手段(22)は,該表(10)に基づいてデータ入力
のある列についてのみ列管理情報を列管理テーブル(20)
に設定し,該列管理情報に従って入力データのある列の
入力データのある行のみの該列管理領域(25),(26)を作
成することを特徴とする表計算装置。1. A data input area in tabular form on a display device (11)
Input processing device (1) for displaying and the data input area (11)
In a spreadsheet device (P) provided with a data processing device (2) for processing the data input to the table, one of the vertical and horizontal directions of the table (10) displayed on the display device is arranged in columns and the other is When the data processing device (2) has a row, the data processing device (2) has a column management table (20) having column management information of the table (10) and column management areas (25), (26) for managing row data for each column. Data management table (2)
1) and management data creating means (22) for creating the column management table (20) for the column management information only for the columns having data input based on the table (10). )
And a column management area (25), (26) of only a row with input data of a column with input data is created according to the column management information.
を表示し,該データ入力領域(11)に入力されたデータを
処理する表計算装置(P)のデータ管理方法において,
該表示装置に表示された表(10)の縦方向,横方向の一方
を列,他方を行としたとき,該表計算装置(P)は,該
表(10)の列管理情報をもつ列管理テーブル(20)と列毎に
行のデータを管理する列管理領域(25),(26)をもつデー
タ管理テーブル(21)とを作成する管理データ作成手段(2
2)を備え,該表(10)に基づいてデータ入力のある列につ
いてのみ列管理情報を列管理テーブル(20)に設定し,該
列管理情報に従って入力データのある列の入力データの
ある行のみの該列管理領域(25),(26)を作成することを
特徴とする表計算装置のデータ管理方法。2. A data input area in tabular form on a display device (11)
In the data management method of the spreadsheet device (P) for displaying data and processing the data input to the data input area (11),
When one of the vertical direction and the horizontal direction of the table (10) displayed on the display device is a column and the other is a row, the spreadsheet device (P) is a column having column management information of the table (10). Management data creating means (2) for creating a management table (20) and a data management table (21) having column management areas (25) and (26) for managing row data for each column.
2), column management information is set in the column management table (20) only for columns with data input based on the table (10), and rows with input data in columns with input data are set according to the column management information. A data management method for a spreadsheet device, characterized in that only the column management areas (25) and (26) are created.
理領域を指定するポインタをもち,該ポインタで指定さ
れる領域に該列の列管理領域(25),(26)を設け,該列管
理領域において行の管理データ同士はそれぞれの領域を
指定するポインタをもち,該ポインタで指定される領域
に管理データを設定することを特徴とする表計算装置の
データ管理方法。3. The column management information according to claim 2, wherein the column management information has a pointer for designating a column management area, and the column management area (25), (26) for the column is provided in the area designated by the pointer. A data management method for a spreadsheet device, wherein in the column management area, row management data have pointers for designating respective areas, and the management data are set in the areas designated by the pointers.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5331919A JP3006988B2 (en) | 1993-12-27 | 1993-12-27 | Spreadsheet apparatus and data management method for spreadsheet apparatus |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5331919A JP3006988B2 (en) | 1993-12-27 | 1993-12-27 | Spreadsheet apparatus and data management method for spreadsheet apparatus |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH07192061A true JPH07192061A (en) | 1995-07-28 |
| JP3006988B2 JP3006988B2 (en) | 2000-02-07 |
Family
ID=18249109
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP5331919A Expired - Lifetime JP3006988B2 (en) | 1993-12-27 | 1993-12-27 | Spreadsheet apparatus and data management method for spreadsheet apparatus |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3006988B2 (en) |
-
1993
- 1993-12-27 JP JP5331919A patent/JP3006988B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JP3006988B2 (en) | 2000-02-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH07192061A (en) | Spreadsheet device and data management method of spreadsheet device | |
| JPS6215670A (en) | In-shape character string editing method | |
| JP2712182B2 (en) | Graphic processing unit | |
| JPH07129149A (en) | Character drawing device | |
| JPS63155260A (en) | How to edit tables using a computer | |
| JPH0376491B2 (en) | ||
| JP2842511B2 (en) | Form creation device | |
| JPH0423080A (en) | Character string inserting system | |
| JPS61180283A (en) | Word processor | |
| JPH08180118A (en) | Table processor | |
| JPS5850039A (en) | List output method | |
| JPS6177889A (en) | Screen control system | |
| JP2605609B2 (en) | Dot display processing device | |
| JP2936546B2 (en) | Character centering device and processing device equipped with this device | |
| JP3081481B2 (en) | Table processing equipment | |
| JP3091116B2 (en) | XY coordinate display method | |
| JPH09134396A (en) | Table processing equipment | |
| JPH0512827Y2 (en) | ||
| JPH028960A (en) | Method for extracting and processing common part in two polygons | |
| JPH0442375A (en) | Bit map editing device | |
| JPS6324476A (en) | Composite document processor | |
| JPH03176716A (en) | Electronics | |
| JPH04111054A (en) | Document processor | |
| JPH0245223B2 (en) | ||
| JPH03182971A (en) | Attribute setting system in conversational graphic processing |