JP2718836B2 - Database system - Google Patents

Database system

Info

Publication number
JP2718836B2
JP2718836B2 JP2412334A JP41233490A JP2718836B2 JP 2718836 B2 JP2718836 B2 JP 2718836B2 JP 2412334 A JP2412334 A JP 2412334A JP 41233490 A JP41233490 A JP 41233490A JP 2718836 B2 JP2718836 B2 JP 2718836B2
Authority
JP
Japan
Prior art keywords
search
data
database
format
search data
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 - Fee Related
Application number
JP2412334A
Other languages
Japanese (ja)
Other versions
JPH04219871A (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.)
PFU Ltd
Original Assignee
PFU Ltd
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 PFU Ltd filed Critical PFU Ltd
Priority to JP2412334A priority Critical patent/JP2718836B2/en
Publication of JPH04219871A publication Critical patent/JPH04219871A/en
Application granted granted Critical
Publication of JP2718836B2 publication Critical patent/JP2718836B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】本発明は,リレーショナルデータ
ベースのデータの検索結果を容易にデータベースファイ
ルに登録できるデータベースシステムに関する。従来,
リレーショナルデータベースシステムにおいては,2次
元の表形式のデータベースにおける統計処理の集計結果
を,検索の元としたデータベースのデータ(以後元デー
タと称する)の形式と異なる表形式に編集しなおした場
合には,検索結果を直接には格納できず,出力した様式
に合った形式に格納するための登録プログラムを呼び出
した上で,画面上で検索結果のデータを配列しなおした
上でなければリレーショナルデータベース上には登録で
きなかった。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a database system capable of easily registering data retrieval results of a relational database in a database file. Conventionally,
In a relational database system, if the results of statistical processing in a two-dimensional tabular database are re-edited into a different tabular format from that of the database from which the search was made (hereinafter referred to as the original data), The search results cannot be stored directly, and after calling the registration program to store the data in a format that matches the output format, the data of the search results must be re-arranged on the screen. Could not register.

【0002】そのため,そのような検索結果を登録する
ためには,従来は煩雑な登録手続きを必要としたため検
結果の登録はされず,同じ検索結果を必要とする場合
には再び同じ検索処理が行なわれていた。本発明は,検
索結果を出力様式に合った形式で容易にリレーショナル
データベースファイルに登録できるデータベースシステ
ムを提供することを目的とする。
[0002] Therefore, in order to register such a search result, conventionally, a complicated registration procedure was required, so that the search result was not registered. When the same search result was required, the same search processing was performed again. Was being done. SUMMARY OF THE INVENTION It is an object of the present invention to provide a database system that can easily register a search result in a relational database file in a format suitable for an output format.

【0003】[0003]

【従来の技術】図9に従来のデータベースシステムを示
す。図において,81は検索データ作成部であって,デ
ータベース上のデータと検索情報を定義した検索処理情
報に基づいてデータの検索を行うものである。82は検
索処理情報格納部であって,検索情報を定義した検索処
理情報を格納するもの,83はデータベースファイルで
あって,データベースとなるデータを格納するもの。8
4は検索結果格納部であって,検索データ作成部81に
おいて作成した検索結果を格納するバッファメモリであ
る。85はデータベース管理部であって、データベース
ファイル83のデータベースのデータおよびデータ入出
力を管理するものである。86は入出力装置であって,
キーボード,表示装置,印刷装置等よりなるものであ
る。87は検索結果等を表示装置もしくは印刷装置等に
出力する様式を定める出力様式設定部,88は検索対象
の元データ,89は登録された検索結果である。90は
検索結果をデータベースとして登録するための検索デー
タ登録部である。
2. Description of the Related Art FIG. 9 shows a conventional database system. In the figure, reference numeral 81 denotes a search data creation unit which searches for data based on data on a database and search processing information defining search information. A search processing information storage unit 82 stores search processing information defining search information, and a database file 83 stores data to be a database. 8
Reference numeral 4 denotes a search result storage unit, which is a buffer memory for storing the search results created by the search data creation unit 81. Reference numeral 85 denotes a database management unit which manages database data and data input / output of the database file 83. 86 is an input / output device,
It comprises a keyboard, a display device, a printing device and the like. Reference numeral 87 denotes an output format setting unit for determining a format for outputting a search result or the like to a display device or a printing device, 88 denotes original data to be searched, and 89 denotes a registered search result. Reference numeral 90 denotes a search data registration unit for registering search results as a database.

【0004】図の構成の動作を説明する。例えば,各営
業所における製品在庫のリストを作成しようとする場
合,入出力装置より検索情報を定義するキーとして,営
業所名,テレビ,ラジオ等の製品名等を入力する。そし
て,そのキーは,検索処理情報として検索処理情報格納
部82に格納される。一方データベースファイル83か
らは各営業所における製品名と在庫数を結合させたレコ
ードが検索データ作成部81に入力される。検索データ
作成部81は,検索処理情報格納部82に格納されてい
る検索情報を定義するキーに従って,指定された営業所
におけるテレビ,ラジオについての在庫数を与えるレコ
ードを選択する。そして,そのようにして得た検索結果
を検索結果格納部84に格納され,出力様式設定部87
で指定された出力形式にして表示装置もしくは印刷装置
に出力される。
The operation of the configuration shown in FIG. For example, when a list of product stocks at each sales office is to be created, a business office name, a product name such as a television or a radio, etc. is input from an input / output device as a key for defining search information. Then, the key is stored in the search processing information storage unit 82 as search processing information. On the other hand, from the database file 83, a record in which the product name and the stock quantity at each sales office are combined is input to the search data creation unit 81. The search data creation unit 81 selects a record that gives the stock quantity of the television and radio at the designated business office according to the key that defines the search information stored in the search processing information storage unit 82. The search results obtained in this way are stored in the search result storage unit 84, and the output format setting unit 87
Is output to a display device or a printing device in the output format designated by.

【0005】従来のリレーショナルデータベースシステ
ムにおいては,二次元の表形式のデータベースにおける
統計処理の集計結果のように元データの形式と異なる
式に配列された検索結果は直接には登録処理できず,作
業者は一度その形式で登録するための表形式等のプログ
ラムを呼出し,表示画面上で検索結果のデータを配列し
なおし,そのプログラムの持つリレーショナルデータベ
ースへの登録機能を使用して登録処理をしなければなら
なかった。
In a conventional relational database system, a two-dimensional tabular database is used.
Format different from the form of the original data as a total result of the statistical processing
The search results arranged in the formula cannot be registered directly, and the operator calls a program such as a table to register the search results once in that format, rearranges the search result data on the display screen, and reorganizes the program. Relational database
The registration process had to be performed using the registration function for the source .

【0006】図10に検索結果登録処理のフローを示
す。図示の丸付の番号に従って説明する。 検索結果格納処理を開始する。 作業者は,データ格納形式を与えるプログラムを呼
び出す。 作業者は,プログラムに従って,検索結果のデータ
を表示装置上で登録する形式に配列する。 ファイル名を入力する。 検索結果を登録する。 登録処理を終了する。
FIG. 10 shows a flow of a search result registration process. The description will be made according to the numbered circles shown. Start search result storage processing. An operator calls a program that provides a data storage format. The operator arranges the search result data in a format to be registered on the display device according to the program. Enter a file name. Register search results. The registration processing ends.

【0007】[0007]

【発明が解決しようとする課題】上記のように,従来の
リレーショナルなデータベースシステムにおいては,
索して得られた内容を統計処理し,元データの形式と異
なる様式で出力した場合には,検索結果を直接にはデー
タベースファイルに登録できず,検索結果を登録するた
めに表形式プログラム等を呼び出し,そのプログラム上
検索結果のデータを配列した後でなければ登録できな
かった。
As described above, in a conventional relational database system, a search is not possible.
If the contents obtained by searching are statistically processed and output in a format different from the format of the original data, the search results cannot be directly registered in the database file, and the search results must be registered.
Call a table format program, etc.
In could not be registered only after an array of data of search results.

【0008】そのため,従来は登録手続きが煩雑なため
統計処理の集計結果等については登録を行わず,同じ検
索結果を必要とする場合には再び同じ検索処理を行うよ
うにしていた。従って,得られた検索結果をデータベー
スとして登録して他の処理において利用する等は行いに
くいものであった。本発明は,検索結果を,元データの
形式と異なる出力様式で出力するようにした場合でも,
容易にデータベースファイルに登録できるデータベース
システムを提供することを目的とする。
Conventionally, the registration procedure is complicated, so that the results of statistical processing are not registered, and the same search processing is performed again when the same search result is required. Therefore, it is difficult to register the obtained search result as a database and use it in other processes. According to the present invention, even when a search result is output in an output format different from the format of the original data,
An object of the present invention is to provide a database system that can be easily registered in a database file.

【0009】[0009]

【課題を解決するための手段】本発明は,リレーショナ
ルデータベースを格納するデータベースファイル(3)と,
検索条件を格納する検索処理情報格納部(2) と, 検索
条件に基づいてデータベースファイルを検索して検索デ
ータを作成する検索データ作成部(1) と, 該検索データ
および検索結果の出力様式として必要な様式データを格
納する検索結果格納部(4) と,データベースのデータの
管理と入出力を行うデータベース管理部(5) とを備えた
データベースシステムにおいて,検索結果格納部(4) に
格納されている検索データ作成部(1) の作成した検索デ
ータが二次元の表形式の場合に検索データと様式データ
のうちから検索データのみを抽出してデータベースに登
録する検索データ登録部(10) を備えるようにした。
SUMMARY OF THE INVENTION The present invention relates to a relationer.
Database file (3) that stores the
Search processing information storage unit (2) for storing search conditions, and search
Searches database files based on conditions and searches
Search data creation unit (1) for creating data, and the search data
And the format data required for the output format of the search results.
The search result storage section (4) to store
A database management unit (5) for management and input / output
In the database system, in the search result storage section (4)
Search data created by the stored search data creation section (1)
Search data and form data when the data is in a two-dimensional table format
Extract only search data from
A search data registration unit (10) for recording is provided .

【0010】図1に本発明の基本構成を示す。図におい
て,1は検索データ作成部,2は検索処理情報格納部,
3はデータベースファイル,4は検索結果格納部(中間
ファイル),5はデータベース管理部,6は入出力装
置,7は出力様式設定部,10は検索データ登録部,1
1は検索対象のデータである元データ,12は登録され
た検索結果である。図において,検索結果格納部4のデ
ータに基づいて検索データ登録部10が直接登録処理を
行うようにした点を除いては,各部の機能は図9におけ
る構成のものと同じである。
FIG. 1 shows the basic configuration of the present invention. In the figure, 1 is a search data creation unit, 2 is a search processing information storage unit,
3 is a database file, 4 is a search result storage unit (intermediate file), 5 is a database management unit, 6 is an input / output device, 7 is an output format setting unit, 10 is a search data registration unit, 1
1 is original data which is data to be searched, and 12 is a registered search result. In the figure, the function of each unit is the same as that of the configuration in FIG. 9 except that the search data registration unit 10 performs the direct registration processing based on the data in the search result storage unit 4.

【0011】[0011]

【作用】本発明の基本構成における,検索結果の登録処
理のフローを図2により説明する。図示の番号に従って
説明する。必要に応じて図1を参照する。 検索結果に対する登録処理を開始する。 出力様式に従って配列された様式データ(様式とし
て必要なデータ)と検索データ(検索して得られたデー
タ)を含む検索結果が与えられる。 登録するかしないか判断する。登録するのであれば
に進む。登録しないのであればに進む。 登録するのであれば,作業者が入力装置よりファイ
ル名を入力する。登録ファイル名の入力がなければ登録
ファイル名を自動生成する。 検索結果格納部(中間ファイル)4に格納されたデ
ータには画面もしくは印刷出力するために必要な様式デ
ータも含まれているので,ータベースとして登録する
のに必要なデータ(検索データ)のみが取り出され,出
力様式に従った形式でデータベースファイル上に登録さ
れる。 登録処理を終了する。
FIG. 2 is a flow chart of a search result registration process in the basic configuration of the present invention. The description will be made according to the illustrated numbers. Refer to FIG. 1 as necessary. Start the registration process for the search result . Format data arranged according to the output format (format
Required data) and search data (data obtained by search)
Data) search results that include is given. Judge whether to register or not. If you want to register, go to. If not, proceed to. To register, the operator inputs the file name from the input device. Register if there is no registration file name input
Automatically generate file names. Since the search result storage unit (intermediate file) 4 to the stored data is also included formatted data necessary for the screen or printed out, only the data (search data) necessary to register as a database is It is extracted and registered on the database file in a format according to the output format. The registration processing ends.

【0012】本発明によれば,リレーショナルデータベ
ースにおいて,表形式の統計処理結果等の検索結果を元
データの形式と異なる形式で出力するようにデータの配
列を変更した場合でもリレーショナルデータベース上に
出力形式に従った形式で簡単に登録できる。
According to the present invention, even when the data arrangement is changed in the relational database so that the retrieval results such as the statistical processing results in the table format are output in a format different from the original data format, the output format is displayed on the relational database. You can easily register in the format according to.

【0013】[0013]

【実施例】図3〜図8により本発明の実施例を説明す
る。図3は本発明におけるデータベース検索の例を示
す。図(a) は本発明の適用するための二次元データの例
を示す。営業所名である,新宿,川崎,大阪のそれぞれ
に商品名としてテレビ,ラジオとそれぞれの数量を結合
させたレコードよりなる。図(b) は図(a) の二次元デー
タに対して,縦キーとして営業所名,横キーとして商品
名による二次元集計結果を図のような出力様式に編集し
て出力した例を示す。図(c) は図(a) の二次元データを
二次元集計した検索結果を示す。二次元データ(a) にお
ける縦キー,横キーを集計した集計データを図(b) の様
式に出力するように各データが図(c) のように配列され
る。図(c) における制御コードは合計を示すものであ
る。そして,図(c) の検索結果をデータベースファイル
上に登録する際には,図に点線で囲むデータベースとし
て必要な項目のみを,図示の配列で登録するようにす
る。
An embodiment of the present invention will be described with reference to FIGS. FIG. 3 shows an example of a database search in the present invention. FIG. 1A shows an example of two-dimensional data to which the present invention is applied. It consists of records in which the sales office names, Shinjuku, Kawasaki, and Osaka, are combined with their respective TVs and radios as product names. Fig. (B) shows an example of editing the 2D data of Fig. (A) with the sales office name as the vertical key and the product name as the horizontal key, editing the output format as shown in the figure, and outputting it. . Figure (c) shows the search results obtained by two-dimensionally summing the two-dimensional data of Figure (a). Each data is arranged as shown in Fig. (C) so that the total data obtained by summarizing the vertical and horizontal keys in the two-dimensional data (a) is output in the format shown in Fig. (B). The control code in FIG. 3 (c) indicates the sum. Then, when registering the search results of FIG. 3C on the database file, only the items necessary for the database surrounded by the dotted line in the figure are registered in the arrangement shown.

【0014】図4は本発明のデータベースにおける項目
情報生成のフローを示す。図示の番号に従って,例とし
て,図3(a) における二次元データを処理する場合につ
いて説明する。
FIG. 4 shows a flow of generating item information in the database of the present invention. The case of processing the two-dimensional data in FIG. 3A will be described as an example according to the numbers shown.

【0015】 横キーの商品名(テレビ,ラジオ)に
よってレコードをソートする。(その結果,例えば,表
において商品名にテレビを持つレコードが上位の部分に
集められ,ラジオを持つレコードが下位の部分に集めら
れる。 レコード項目値を記憶する。例えばレコード項目値
としてテレビを設定する。 レコードをリードする。 データが終了したか判定する。終了していなければ
に進み,終了していれば処理を終了する。 レコード値が前回と同様か判定する。例えば前回が
テレビであって,今回もテレビであれば,で次のレコ
ードを読む。でデータが終了していなければに進む
とういうように,処理を繰り返す。 において、レコード項目値がラジオとなれば,テ
レビをレコード項目値として持つレコードのリードは終
了したので,次の項目値としてラジオを設定する。
The records are sorted by the product name (television, radio) of the horizontal key. (As a result, for example, in the table, records having TV in the product name are collected in the upper part, and records having radio are collected in the lower part. The record item value is stored. For example, TV is set as the record item value. Reads the record Determines whether the data has been completed, if not, proceeds to the end, and if completed, ends the processing Determines whether the record value is the same as the previous time. If the record item value is radio, then the television is used to read the record item value. Since the reading of the record held as is completed, the radio is set as the next item value.

【0016】以後,同様に〜の処理を繰り返し,全
レコードの読み取りが終了すれば処理を終了する。図示
のフローより,図3(a) の二次元データにおける横方向
の商品項目として,テレビ,ラジオの二種類があること
を読み取ることができる。
Thereafter, the above processes are repeated in the same manner. When reading of all records is completed, the process is terminated. From the illustrated flow, it can be read that there are two types of product items in the horizontal direction in the two-dimensional data of FIG.

【0017】図5に本発明のデータベースシステムにお
ける二次元統計処理のフローを示す。図示の番号に従っ
て説明する。 (1) 縦方向項目値(営業所名),および横方向項目値
(商品名)でレコードをソートする。即ち,図3(a) の
二次元データによれ,例えば,営業所名新宿のレコー
ドについて表の上位に集め,次に新宿を持つレコードの
うち,例えばテレビをもつものを表の上位に集め,その
次に新宿とラジオを持つレコーを集めるようにする。
同様のソートを営業所名川崎と大阪についても行う。 (2) 縦方向(営業所名)のキーを設定する。例えば,営
業所名新宿について,キーを設定する。 (3) データは終了したかどうか判定し終了していなけれ
ば(4) に進み,終了していれば終了処理をする。 (4) 横方向キーを設定する。例えば,テレビ,ラジオに
ついて順次設定する。
FIG. 5 shows a flow of two-dimensional statistical processing in the database system of the present invention. The description will be made according to the illustrated numbers. (1) Sort records by vertical item value (business office name) and horizontal item value (product name). That is, according to the two-dimensional data of FIG. 3A, for example, records of the office name Shinjuku are collected at the top of the table, and records having TV, for example, of records having Shinjuku are collected at the top of the table. , to collect the records with the Shinjuku and radio to the next.
The same sort is performed for the branch offices Kawasaki and Osaka. (2) Set the vertical (business name) key. For example, a key is set for the office name Shinjuku. (3) It is determined whether or not the data has been completed. If the data has not been completed, the process proceeds to (4). If the data has been completed, the termination process is performed. (4) Set the horizontal key. For example, TV and radio are sequentially set.

【0018】(5) 本実施例においては,キーが不一致の
場合にはフラグをたてて,一時処理を停止するようにし
ているので,キーが一致してレコード読み取る必要があ
るか判断する。リード必要であれば,(6) に進み,一致
せずに読み取り不要であればレコードリードせずに(8)
に進む。 (6) キーが一致していてレコードリードが必要であれ
ば,レコードをリードする。 (7) レコードをリードしたあと,(3) の判定で必要なリ
ード不要を示すフラグをたてる処理をする(図示のリー
ド不要はこのことを示す)。 (8) 縦キーとレコード値と等しいか判断する。等しけれ
ば(9) に進み,等しくなければ(12)に進む。即ち,今縦
方向キーとして新宿を設定しているので,レコードが新
宿であれは(9) に進み,異なれば,新宿についての縦方
向キーのレコードのリードは全て終了したことになるの
で,(12) において, 縦キー集計結果の中間の検索結果
として中間ファイルに集計結果を出力し, 次の縦キーの
設定をする。 (9) 横キーとレコード値が等しければ(10)に進み,異な
れば(5) 以降の処理を繰り返す。 (10)横キーがテレビであれば(10)において新宿とテレビ
を項目値として持つレコードにより主計計算を行う。 (11) 現時点で(3) における判断に必要なフラグはリー
ド不要を意味するフラグが立っているので,リード必要
の処理を行う。そして,(4) 以下の処理を繰り返す。以
上の処理を繰り返し,図3(b) の二次元集計結果を得
る。
(5) In the present embodiment, if the keys do not match, a flag is set and the temporary processing is stopped. Therefore, it is determined whether the keys match and the record needs to be read. If reading is necessary, proceed to (6). If there is no match and reading is not necessary, do not read the record (8).
Proceed to. (6) If the keys match and a record read is required, read the record. (7) After reading the record, perform a process of setting a flag indicating the need for reading required in the judgment of (3) (reading unnecessary in the figure indicates this). (8) Determine whether the vertical key is equal to the record value. If they are equal, go to (9); if not, go to (12). That is, since Shinjuku has been set as the vertical key, if the record is Shinjuku, go to (9). Otherwise, the reading of the vertical key record for Shinjuku has been completed. In step 12), the tabulation result is output to the intermediate file as a search result in the middle of the vertical key tabulation result, and the next vertical key is set. (9) If the horizontal key is equal to the record value, proceed to (10); otherwise, repeat the processing from (5). (10) If the horizontal key is a television, in (10), the accounting calculation is performed using a record having Shinjuku and television as item values. (11) At this point, the flag necessary for the judgment in (3) is set to a flag indicating that reading is not required. (4) The following processing is repeated. The above processing is repeated to obtain the two-dimensional total result shown in FIG.

【0019】図6〜図8に本発明の実施例におけるデー
タベース検索の出力帳票の例を示す。 図6は二次元データ出力リストの例であり,データベー
に対して営業所名,商品名および数量について検索し
結果の例を示す。 図7は検索結果出力様式の設定例を示す。縦キーとして
営業所名,横キーとして商品名,数量の合計を統計処理
して表示することを設定したものである。これにより,
図8の出力様式を定めるものである。 図8は検索結果の出力リストの例を示す。縦キー営業
所名,横キー商品名として,商品名,数量を求め,表
示の様式を定めるのに必要な様式データである「合計」
のタイトルを付加して図のよう検索結果を出力する
FIGS. 6 to 8 show examples of output forms for database search in the embodiment of the present invention. FIG. 6 shows an example of a two-dimensional data output list . The database is searched for a sales office name, a product name, and a quantity .
An example of the result is shown below. FIG. 7 shows a setting example of the search result output format. Statistical processing of sales office name as vertical key, product name and total quantity as horizontal key
Is set to be displayed. This gives
This determines the output format of FIG. FIG. 8 shows an example of an output list of search results. Vertical key sales offices name, the horizontal key as the product name, product name, the quantity demanded, Table
"Total" which is the format data necessary to determine the format of the indication
By adding a title and outputs the search result as shown in FIG.

【0020】さらに,本発明は,検索結果格納部(4) に
格納されるデータ(検索データおよび様式データ等)か
ら検索データ登録部(10)がデータベースとして登録する
のに必要な検索データのみを抽出して登録できる形式
(レコード)にして登録する。例えば,図8の場合,様
式データである「合計」を除いて,登録に必要な営業所
名,商品名(テレビ,ラジオ),数量のみを抽出し,レ
コードを作成して登録する。
Further, according to the present invention, the search result storage section (4)
Data to be stored (search data and form data, etc.)
Search data registration unit (10) registers as a database
Format that can extract and register only the search data necessary for
(Record) and register. For example, in the case of FIG.
Excluding “Total”, which is the formula data, extract only the business office name, product name (TV, radio), and quantity required for registration.
Create and register code.

【0021】[0021]

【発明の効果】本発明によれば,リレーショナルデータ
ベースにおいて,元データの形式と異なる形式で検索結
果を出力するような場合にも,出力形式に合った形式に
簡単な手続きでデータベースとして登録でき,検索結果
の利用性を高めることができる。
According to the present invention, even in a case where a search result is output in a format different from the format of the original data in the relational database, it can be registered as a database in a format suitable for the output format by a simple procedure. The usability of search results can be improved.

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

【図1】本発明の基本構成を示す図である。FIG. 1 is a diagram showing a basic configuration of the present invention.

【図2】本発明における検索結果登録処理のフローを示
す。
FIG. 2 shows a flow of a search result registration process according to the present invention.

【図3】データベース検索の例を示す図である。FIG. 3 is a diagram illustrating an example of a database search.

【図4】項目情報生成のフローを示す図である。FIG. 4 is a diagram showing a flow of item information generation.

【図5】二次元統計処理のフローを示す図である。FIG. 5 is a diagram showing a flow of a two-dimensional statistical process.

【図6】二次元データ出力リストの例を示す図である。FIG. 6 is a diagram showing an example of a two-dimensional data output list.

【図7】検索結果出力様式の例を示す図である。FIG. 7 is a diagram showing an example of a search result output format.

【図8】検索結果出力リストの例を示す図である。FIG. 8 is a diagram showing an example of a search result output list.

【図9】従来のデータベースシステムの例を示す図であ
る。
FIG. 9 is a diagram showing an example of a conventional database system.

【図10】従来の検索結果登録処理のフローを示す図で
ある。
FIG. 10 is a diagram showing a flow of a conventional search result registration process.

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

1 :検索データ作成部, 2 :検索処理情報格納部, 3 :データベースファイル, 4 :検索結果格納部(中間ファイル), 5 :データベース管理部, 6 :入出力装置, 7 :出力様式設定部, 10:検索データ登録部, 11:元データ, 12:検索結果。 1: search data creation unit, 2: search processing information storage unit, 3: database file, 4: search result storage unit (intermediate file), 5: database management unit, 6: input / output device, 7: output format setting unit, 10: search data registration unit, 11: original data, 12: search result.

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 西尾 信彦“レビュー 4TH DI MENSION VERSION2.0 J”日経バイト(1990−07−01)PP. 186−198. 「4TH DIMENSION US ER REFERENCE」マニュアル ACI,PARIS,FRANCE PP.93〜116,143〜148. 大木 他“パーソナルコンピュータ用 ビジネス統合ソフトェア スーパーピッ プス”東芝レビューVOL.41,NO. 7(1986−07−01)PP.626〜629. 「4TH DIMENSION QU ICK START」マニュアル AC I,PARIS,FRANCE PP. 6〜7. ────────────────────────────────────────────────── ─── Continued on the front page (56) Reference Nobuhiko Nishio “Review 4TH DI VERSION VERSION 2.0 J” Nikkei Byte (1990-07-01) PP. 186-198. , FRANCE PP. 93-116, 143-148. Oki et al. “Business Integrated Software Superpipes for Personal Computers” Toshiba Review Vol. 41, NO. 7 (1986-07-01) PP. 626-629. "4TH DIMENSION QUICK START" Manual ACI, PARIS, FRANCE PP. 6-7.

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 二次元の表形式のデータベースを含む
レーショナルデータベースを格納するデータベースファ
イル(3) と,検索条件を格納する検索処理情報格納部
(2) と,検索条件に基づいてデータベースファイルを検
索して検索データを作成する検索データ作成部(1) と,
該検索データおよび検索結果の出力様式として必要な様
式データを格納する検索結果格納部(4) と,データベー
スのデータの管理と入出力を行うデータベース管理部
(5) とを備えたデータベースシステムにおいて,検索データ作成部(1) は、二次元の表形式データベース
から縦キーと横キーを開いて検索し,検索結果の二次元
データを集計して、上記二次元の表形式のデータと同じ
形式の二次元集計データベースを作成し、検索データと
して出力する機能を備えるものであり, さらに,上記検索データを登録することの指示がなされ
た場合には,上記検索データ作成部(1) の作成した二次
元の表形式の検索データが様式データとともに格納され
る検索結果格納部(4) から検索データのみを抽出してデ
ータベースに登録するレコードを自動生成し, データベ
ースに登録する検索データ登録部(10)を設けたことを特
徴とするデータベースシステム。
A database file (3) for storing a relational database including a two-dimensional tabular database, and a search processing information storage unit for storing search conditions.
(2) a search data creation unit (1) that searches a database file based on search conditions to create search data;
A search result storage unit (4) for storing the search data and format data required as an output format of the search results, and a database management unit for managing and inputting / outputting database data.
(5) In the database system provided with (5), the search data creation unit (1) is a two-dimensional tabular database.
Open the vertical key and the horizontal key from the search and search, the two-dimensional search results
Aggregate the data to be the same as the above two-dimensional tabular data
Create a two-dimensional summary database in the form of search data and
And a function to register the search data.
If the search data creation unit (1)
The original tabular search data is stored along with the form data.
Only search data is extracted from the search result storage
Database system automatically generates a record to be registered in the database, the search data registration unit for registering in the database (10), characterized the Moketako.
【請求項2】 請求項1において,データベースファイ
ル(3) のデータについて縦方向キーおよび横方向キーで
ソートし,ソート結果のレコードを順次に検索し,リー
ドしたレコードに対してはフラグをセットしてリードの
要もしくは不要を管理するものであり,検索データを登
録することの指示はコマンドによるものであることを特
徴とするデータベースシステム。
2. The method of claim 1, the database file
(3) data using the vertical and horizontal keys.
Sort, search records in the sorted result sequentially,
Set the flag for the read record and
It is necessary or unnecessary to manage search data.
A database system wherein the recording instruction is given by a command .
【請求項3】 請求項1もしくは請求項2において,検3. The method according to claim 1, wherein
索データ登録部は,登録ファイル名の指定がない場合にThe search data registration section is used when no registration file name is specified.
は登録ファイル名を自動生成することを特徴とするデーIs a feature that automatically generates a registration file name.
タベースシステム。Database system.
JP2412334A 1990-12-20 1990-12-20 Database system Expired - Fee Related JP2718836B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2412334A JP2718836B2 (en) 1990-12-20 1990-12-20 Database system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2412334A JP2718836B2 (en) 1990-12-20 1990-12-20 Database system

Publications (2)

Publication Number Publication Date
JPH04219871A JPH04219871A (en) 1992-08-10
JP2718836B2 true JP2718836B2 (en) 1998-02-25

Family

ID=18521186

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2412334A Expired - Fee Related JP2718836B2 (en) 1990-12-20 1990-12-20 Database system

Country Status (1)

Country Link
JP (1) JP2718836B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3628030B2 (en) * 1992-10-30 2005-03-09 株式会社東芝 Database device
JPH08137963A (en) * 1994-11-15 1996-05-31 Kawasaki Steel Corp Processing system and managing method for information on product
JPH08137961A (en) * 1994-11-15 1996-05-31 Kawasaki Steel Corp Processing system and its managing method for information on product
JP3689596B2 (en) * 1999-07-27 2005-08-31 株式会社日立製作所 Product development process management system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02128246A (en) * 1988-11-09 1990-05-16 Toshiba Corp Control system in discrete data base system

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
「4TH DIMENSION QUICK START」マニュアル ACI,PARIS,FRANCE PP.6〜7.
「4TH DIMENSION USER REFERENCE」マニュアル ACI,PARIS,FRANCE PP.93〜116,143〜148.
大木 他"パーソナルコンピュータ用ビジネス統合ソフトェア スーパーピップス"東芝レビューVOL.41,NO.7(1986−07−01)PP.626〜629.
西尾 信彦"レビュー 4TH DIMENSION VERSION2.0J"日経バイト(1990−07−01)PP.186−198.

Also Published As

Publication number Publication date
JPH04219871A (en) 1992-08-10

Similar Documents

Publication Publication Date Title
JP2984862B2 (en) Business card electronic filing device
JPH08137899A (en) Information management system
JP2718836B2 (en) Database system
JPH07249032A (en) Electronic filing device
JPH11161656A (en) Data base retrieval and extraction system and recording medium in which control program for data base retrieval and extraction is recorded
JPH08329101A (en) Data base system
JPH07296009A (en) Data base integration/retrieval device
JP3145723B2 (en) Search and display device for holdings in museums
JP3331233B2 (en) Interactive data retrieval and extraction system for relational databases
JPH10326285A (en) Document management system
JP3471389B2 (en) Multimedia filing system
JP2980067B2 (en) Document categorizing apparatus and machine-readable recording medium recording program
JP2798147B2 (en) Database input / output method and input / output device
JPH1011452A (en) Data base device, data base customizing method, document retrieval device and retrieved information registering method
JPH0420501B2 (en)
JPH11312166A (en) Data base management device
JPH06149894A (en) Schema definition information generating method
JPS60186947A (en) Information file device
JPH09330369A (en) Retrieval system for data base with document form
JPH03251959A (en) Information file device
JP3022402B2 (en) Drawing data management method and system, and recording medium
JPS6282467A (en) Picture information storage retrieving device
JPH11175217A (en) Method and device for processing registration of data through computer and record medium recording registering processing program for data through computer
JPH06139058A (en) Program reorganization specification preparation system
JPH04310183A (en) Method for retrieving/outputting relational data base

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees