JP3337469B2 - Information processing device - Google Patents

Information processing device

Info

Publication number
JP3337469B2
JP3337469B2 JP17540188A JP17540188A JP3337469B2 JP 3337469 B2 JP3337469 B2 JP 3337469B2 JP 17540188 A JP17540188 A JP 17540188A JP 17540188 A JP17540188 A JP 17540188A JP 3337469 B2 JP3337469 B2 JP 3337469B2
Authority
JP
Japan
Prior art keywords
record
update
data
file
word
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
JP17540188A
Other languages
Japanese (ja)
Other versions
JPH0224736A (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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP17540188A priority Critical patent/JP3337469B2/en
Priority to CA000600809A priority patent/CA1328027C/en
Priority to EP89110980A priority patent/EP0350654B1/en
Priority to DE68928254T priority patent/DE68928254T2/en
Priority to SG1996004227A priority patent/SG46392A1/en
Priority to KR1019890008775A priority patent/KR940002481B1/en
Publication of JPH0224736A publication Critical patent/JPH0224736A/en
Priority to US08/104,352 priority patent/US5526518A/en
Priority to HK98101102A priority patent/HK1002838A1/en
Application granted granted Critical
Publication of JP3337469B2 publication Critical patent/JP3337469B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明はファイルに対するデータの入力処理及びファ
イルへのデータの更新処理、ファイルからのデータの出
力処理を行なう情報処理装置に関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information processing apparatus that performs a process of inputting data to a file, a process of updating data to a file, and a process of outputting data from a file.

[従来の技術] 従来のコンピュータを用いた情報処理では、ディスク
等に種々のファイルを記憶し、入力されたレコードデー
タに基づいて諸ファイルを更新している。ところで、コ
ンピュータを導入する企業の業種は多種多様であり、し
たがって、ファイルの内容も入力レコードの内容も多種
多様である。更に、同一業種と言えども各企業において
業務内容が異なる。このように、ファイル及び入力レコ
ードの内容は千差万別であり、ファイルから出力される
出力レコードについても全く同様にその内容は千差万別
である。それ故に、従来のコンピュータでは千差万別の
入力レコード、ファイル、出力レコードに対応すべくシ
ステム設計を行ない、各企業の各業務内容に応じた種々
のプログラムを設計し作成していた。これらの各プログ
ラムにおいては、入力レコードの内容に応じてどのファ
イルに対してどのような更新を行うのかをプログラム言
語で記述するが、この際に、入力部からのレコードの入
力に応答して更新対象となるレコードをファイルから読
み出し、演算を行なった後に再びファイルへ書き込むと
いう一連の処理が各レコードの入力毎に実行されるよう
にプログラム言語で記述する必要があった。
[Prior Art] In conventional information processing using a computer, various files are stored on a disk or the like, and various files are updated based on input record data. By the way, the types of businesses of companies that introduce computers are various, and therefore, the contents of files and the contents of input records are also various. Furthermore, even in the same industry, the business content differs in each company. As described above, the contents of the file and the input records vary widely, and the contents of the output records output from the file also vary widely. Therefore, in the conventional computer, a system was designed to correspond to a variety of input records, files, and output records, and various programs were designed and created according to the contents of each business of each company. In each of these programs, what kind of file is to be updated according to the contents of the input record is described in a programming language. At this time, the update is performed in response to the input of the record from the input unit. It was necessary to write in a programming language such that a series of processing of reading a target record from a file, performing an operation, and then writing the record again to the file was performed for each input of each record.

[発明が解決しようとする課題] 前述のように従来では各企業の業務内容に応じて種々
のプログラムを作成しなければならないが、例えば、各
ファイルに対応するファイル管理システムを設計する場
合において、ファイルに対する更新プログラムの設計を
する必要がある。この場合、ファイル内のレコードの構
造及び各レコード内のワード位置はメモリ上に固定的に
定められており、しかもそのレコード構造は各ファイル
毎に全く異なっている。そのため、入力されたデータに
基づいて対応するファイルのレコードを更新するに当っ
ては、当該ファイルのレコード構造に対応して更新プロ
グラムを設計しなければならず、このプログラム設計に
は多大な労力と時間を要していた。特に、各企業におい
ては、必要とするファイルは非常に多く、各ファイルに
対応して多数のプログラムを夫々独自に設計することを
余儀なくされていた。
[Problems to be Solved by the Invention] As described above, conventionally, various programs have to be created according to the business content of each company. For example, when designing a file management system corresponding to each file, You need to design an update for the file. In this case, the structure of the records in the file and the word positions in each record are fixedly determined on the memory, and the record structure is completely different for each file. Therefore, in updating the record of the corresponding file based on the input data, it is necessary to design an update program corresponding to the record structure of the file. It took time. In particular, each company requires a very large number of files, and has been required to independently design a large number of programs for each file.

また、各企業において取扱う伝票の種類は非常に多
く、例えば受注伝票、売上伝票、仕入伝票等の営業伝票
や、旅費精算書、入金伝票等の各種振替伝票等、種々の
伝票がある。しかも、前記各種の伝票に対応して、入力
レコードの形態も各企業において個々に異なっているの
が一般的である。従って、入力レコードの入力処理プロ
グラムは、個々のユーザーの各種の伝票に対応して独自
に設計しなければならず、個々のユーザーの要望に沿っ
たシステムの設計には多大な労力と時間を要していた。
In addition, the types of slips handled by each company are extremely large, and there are various slips such as sales slips such as order slips, sales slips, and purchase slips, and various transfer slips such as travel expense settlement slips and payment slips. In addition, the form of the input record is generally different in each company, corresponding to the various slips. Therefore, the input record input processing program must be designed independently for each user's various slips, and a great deal of labor and time is required to design a system that meets the needs of each user. Was.

更に、業務内容の変更等のために、ファイルの内容も
しくは入力レコード、出力レコードの内容を変える際に
は、各プログラムがレコードの入力からファイルの更新
及び出力までを一連の処理手順として記述されているが
故に、各プログラムは大幅な修正を要することになり、
全体システムに係わる変更は容易ではなく、場合によっ
ては再度、システム設計からやり直さなければならなか
った。
Further, when changing the contents of a file or the contents of an input record and an output record in order to change the contents of business, etc., each program is described as a series of processing procedures from record input to file update and output. Therefore, each program will require significant modification,
Changing the entire system was not easy, and in some cases it was necessary to start over from the system design.

本発明の課題は、情報を総括して全ての情報を統一的
に且つ自動的に処理できるようにすることであり、更に
千差万別のプログラムを作成することなく千差万別の業
種及び業務内容の情報の処理に対応できるようにするこ
とである。
An object of the present invention is to make it possible to process information in a unified and automatic manner by summarizing information, and to create a variety of industries without creating a program. It is to be able to cope with the processing of the information of business contents.

[課題を解決するための手段及び作用] 請求項1に記載の発明は、更新前のレコードデータを
記憶するレコード記憶手段と、ファイルキーワード、一
つ又は複数のレコードキーワード、更新の内容、データ
ワードの各指定からなる更新レコードの生成指定に応じ
て、この任意に指定されたファイルキーワード及び更新
の内容を含み、前記レコード記憶手段内のレコードデー
タからレコードキーワード及びデータワードを抽出して
更新レコードを生成する更新レコード生成手段と、この
更新レコード生成手段で生成された更新レコードであっ
て、前記任意に指定されたファイルキーワード、一つ又
は複数のレコードキーワード、少なくとも集計を示す更
新の内容、データワードからなる更新レコードを記憶す
る更新レコード記憶手段と、一つ又は複数のレコードキ
ーワードとデータワードより構成されるレコード群をフ
ァイル別にキーワードの順に記憶してなるファイル記憶
手段と、前記更新レコード記憶手段より読み出された更
新レコードに含まれている更新の内容が集計であれば、
読み出された更新レコードに含まれているファイルキー
ワード、レコードキーワードで指定される前記ファイル
記憶手段内の該当するファイルのレコードを読出し、こ
のファイルのレコードのデータワードに前記更新レコー
ドのデータワードを加算集計する更新処理手段とを備え
てなる情報処理装置である。この構成による情報処理装
置は、更新レコードの更新の内容は勿論のこと、ファイ
ルキーワード、一つ又は複数のレコードキーワード、デ
ータワードは更新レコード生成手段によって任意に設定
でき、どのファイルのどのレコードにどのような処理を
行なうかの指定を自由に行なうことが可能で、特に、更
新レコードに含まれている更新の内容が集計であれば、
読み出された更新レコードに含まれているファイルキー
ワード、レコードキーワードで指定される前記ファイル
記憶手段内の該当するファイルのレコードを読出し、こ
のファイルのレコードのデータワードに更新レコードの
データワードを加算集計することが出来、システム側の
処理プログラムに拠らず、レコードデータに対する種々
の処理ができる為、処理プログラムの変更等は不要にな
る。
[Means and Actions for Solving the Problems] The invention according to claim 1 is a record storage means for storing record data before update, a file keyword, one or more record keywords, contents of update, and a data word. In accordance with the generation specification of the update record consisting of each specification, the update keyword is extracted by including the arbitrarily specified file keyword and the content of the update, extracting the record keyword and the data word from the record data in the record storage means. Update record generating means for generating, and the update record generated by the update record generating means, wherein the arbitrarily specified file keyword, one or more record keywords, at least the content of the update indicating the aggregation, and the data word Update record storage means for storing an update record comprising: Is a file storage means storing a record group composed of a plurality of record keywords and data words in the order of keywords for each file, and the contents of the update contained in the update record read from the update record storage means are For aggregation,
A file keyword included in the read update record, a record of the corresponding file in the file storage unit specified by the record keyword is read, and the data word of the update record is added to the data word of the record of this file. An information processing apparatus including update processing means for counting. In the information processing apparatus having this configuration, the content of the update record as well as the file keyword, one or more record keywords, and the data word can be arbitrarily set by the update record generation means. It is possible to freely specify whether to perform such processing, especially if the contents of updates included in the update record are total
A file keyword included in the read update record, a record of the corresponding file in the file storage unit specified by the record keyword is read, and the data word of the update record is added to the data word of the record of this file and totaled. Since various processes can be performed on the record data without depending on the processing program on the system side, there is no need to change the processing program.

請求項4記載の発明は、入力された入力レコードを記
憶する入力レコード記憶手段と、ファイルキーワード、
一つ又は複数のレコードキーワード、更新の内容、入力
レコードの各ワードを更新レコードの各ワードに対応付
けるデータワードからなり、これらの各ワードが任意に
設定される指定データを記憶する更新指定データ記憶手
段と、この更新指定データ記憶手段内の指定データで指
定されているファイルキーワード及び更新の内容を含
み、前記指定データに基づいて前記入力レコード記憶手
段内の入力レコードをからレコードキーワード及びデー
タワードを抽出して更新レコードを生成する更新レコー
ド生成手段と、この更新レコード生成手段で生成された
更新レコードを記憶する更新レコード記憶手段と、この
更新レコード記憶手段より読み出された更新レコードに
含まれているファイルキーワード及びレコードキーワー
ドに対応するファイル内の当該レコードに対して、前記
読み出された更新レコードに含まれている更新の内容で
指定されている処理を実行する処理手段とを備えてなる
情報処理装置である。この構成による情報処理装置は、
更新レコードの生成指定に応じて、更新前のレコードデ
ータから更新レコードを生成しているので、ユーザーに
よって異なる任意の形態の更新前のレコードデータであ
ってもこれを情報処理装置で統一的に処理できる更新レ
コードの形態に変更できる。そして、その更新処理手段
は、更新レコードに含まれている更新の内容が集計であ
れば、読み出された更新レコードに含まれているファイ
ルキーワード、レコードキーワードで指定される前記フ
ァイル記憶手段内の該当するファイルのレコードを読出
し、このファイルのレコードのデータワードに前記更新
レコードのデータワードを加算集計することができる。
According to a fourth aspect of the present invention, there is provided an input record storage means for storing an input record which has been input, a file keyword,
Update designation data storage means for storing one or a plurality of record keywords, data to be updated, and data words for associating each word of the input record with each word of the update record, and storing each of these designation data arbitrarily set And extracting a record keyword and a data word from the input record in the input record storage means based on the specified data, including a file keyword specified by the specified data in the update specified data storage means and the contents of the update. Update record generating means for generating an update record, an update record storage means for storing the update record generated by the update record generating means, and an update record read from the update record storage means. File keywords corresponding to file keywords and record keywords Against the record of the inner, an information processing apparatus comprising a processing means for executing a process specified by the contents of the update contained in the read out update record. The information processing device having this configuration includes:
Since the update record is generated from the record data before update in accordance with the update record generation specification, even if the record data in any form differs depending on the user, this is processed uniformly by the information processing device. Can be changed to the form of update record that can be. Then, the update processing means, if the contents of the update included in the update record are tabulated, the file keyword included in the read update record, the file storage means specified by the record keyword. The record of the corresponding file is read, and the data word of the updated record can be added to the data word of the record of the file.

[実施例] 以下、一実施例を第1図乃至第16図を参照して説明す
る。
Embodiment An embodiment will be described below with reference to FIGS. 1 to 16.

第1図は情報処理装置の全体構成図を示したものであ
る。同図において11は入力装置で、伝票データ等を入力
するものであり、例えば各種指定データを予め設定する
為の設定キー、データを入力するテンキー及びファンク
ションキー等を備えている。前記入力装置11には、入力
処理装置12、基本レコード生成装置13、更新レコード生
成装置14、ファイル更新処理装置15が順次接続される。
そして、前記入力処理装置12、基本レコード生成装置1
3、更新レコード生成装置14、ファイル更新処理装置15
にはそれぞれ入力レコード指定メモリ16、基本レコード
指定メモリ17、更新レコード指定メモリ18、更新用メモ
リ19が接続されると共に、作成レコードメモリ21、基本
レコードメモリ22、更新レコードメモリ23、ファイルメ
モリ24が接続される。前記入力レコード指定メモリ16、
基本レコード指定メモリ17、更新レコード指定メモリ18
には、入力装置11によりそれぞれ所定の指定データが予
め設定される。各指定データの詳細は後述するが、入力
レコード指定メモリ16には、作成されるレコードのワー
ドNo.とワード内容との対応関係が設定される。このワ
ード内容とは、例えば「入力ワード」、「索引ワー
ド」、「計算ワード」等を示すものである。基本レコー
ド指定メモリ17には、後述する基本レコードの各ワード
No.と作成レコードメモリ21内のレコードの各ワードNo.
との対応関係が設定される。更新レコード指定メモリ18
には、一つ又は複数のレコードキーワード、データワー
ドからなる更新レコードの各ワードと基本レコードの各
ワードとの対応を示すデータ及び、更新対象のファイル
名を示すファイルキーワード、更新の内容を示すデータ
が設定される。
FIG. 1 shows an overall configuration diagram of the information processing apparatus. In FIG. 1, reference numeral 11 denotes an input device for inputting slip data and the like, and includes, for example, a setting key for setting various kinds of designated data in advance, a numeric keypad for inputting data, a function key, and the like. An input processing device 12, a basic record generation device 13, an update record generation device 14, and a file update processing device 15 are sequentially connected to the input device 11.
Then, the input processing device 12, the basic record generation device 1
3, update record generator 14, file update processor 15
Are connected to an input record designation memory 16, a basic record designation memory 17, an update record designation memory 18, and an update memory 19, respectively, and have a creation record memory 21, a basic record memory 22, an update record memory 23, and a file memory 24. Connected. The input record designation memory 16,
Basic record specification memory 17, update record specification memory 18
, Predetermined designated data is set in advance by the input device 11, respectively. Although the details of each designated data will be described later, the input record designation memory 16 sets the correspondence between the word No. of the record to be created and the word contents. The word content indicates, for example, an “input word”, an “index word”, a “calculation word”, and the like. Each word of the basic record described later is stored in the basic record designation memory 17.
No. and each word No. of the record in the created record memory 21
Is set. Update record specification memory 18
Includes one or more record keywords, data indicating the correspondence between each word of the update record composed of data words and each word of the basic record, a file keyword indicating the name of the file to be updated, and data indicating the content of the update. Is set.

入力処理装置12は、入力装置11から入力されたデータ
を入力レコード指定メモリ16に設定されているワード内
容に従って処理し、設定されているワードNo.に対応し
て作成レコードメモリ21にレコードを書込み、1レコー
ド分の書込みを終了すると基本レコード生成装置13を起
動する。基本レコード生成装置13は、作成レコードメモ
リ21に書込まれた作成レコードを基本レコード指定メモ
リ17の設定内容に従って基本レコードに変換して基本レ
コードメモリ22に書込む。また、基本レコード生成装置
13は、基本レコードメモリ22への1レコード分もしくは
複数レコード分からなる1伝票分の基本レコードの書込
みを終了すると、更新レコード生成装置14を起動する。
更新レコード生成装置14は、更新レコード指定メモリ18
の設定内容に基づいて基本レコードから更新レコードを
生成し、更新レコードメモリ23に書込む。前記更新レコ
ードメモリ23に書込まれる更新レコードは、ファイルキ
ーワード、一つ又は複数のレコードキーワード、更新の
内容、データワードからなっている。
The input processing device 12 processes the data input from the input device 11 in accordance with the word content set in the input record designation memory 16, and writes a record in the created record memory 21 corresponding to the set word number. When the writing of one record is completed, the basic record generating device 13 is started. The basic record generation device 13 converts the created record written in the created record memory 21 into a basic record according to the setting contents of the basic record designation memory 17, and writes the converted basic record into the basic record memory 22. Also, a basic record generator
When the writing of one record or one slip of a plurality of records into the basic record memory 22 is completed, the update record generating device 14 is started.
The update record generation device 14 includes an update record designation memory 18
The update record is generated from the basic record based on the setting contents of, and is written in the update record memory. The update record written in the update record memory 23 includes a file keyword, one or a plurality of record keywords, details of the update, and a data word.

ファイル更新処理装置15は、更新レコード生成装置14
からの更新レコード生成終了命令によって、もしくはバ
ッチ処理の場合は入力装置11からの更新指示命令によっ
て起動され、更新レコードメモリ23に記憶された更新レ
コードに基づき、つまり、更新レコードのファイルキー
ワード、レコードキーワードに従い、更新用メモリ19を
用いてファイルメモリ24内の対応ファイルのレコード群
に対する更新処理を行なう。前記更新用メモリ19は例え
ばRAMにより構成されて内部にA、B、Cの領域を有し
ワークメモリとして使用される。
The file update processing device 15 includes an update record generation device 14
, Or, in the case of batch processing, by an update instruction command from the input device 11 and based on the update records stored in the update record memory 23, that is, the file keyword and the record keyword of the update record. Then, the update process is performed on the record group of the corresponding file in the file memory 24 using the update memory 19. The update memory 19 is composed of, for example, a RAM and has areas A, B, and C therein and is used as a work memory.

前記ファイルメモリ24内には、一つ又は複数のレコー
ドキーワードとデータワードより構成されるレコード群
がファイル別にキーワードの順に記憶されている。そし
て、このファイルメモリ24に記憶されたファイル内の各
レコードは出力レコード生成装置25により読出される。
この出力レコード生成装置25には、出力レコード指定メ
モリ26が接続されている。この出力レコード指定メモリ
26には、出力レコードを作成する為の指定データ、例え
ばファイルキーワード、検索条件、作成ワード、ワード
内容等が入力装置11により予め設定されている。前記出
力レコード生成装置25は、入力装置11からの出力指示命
令によって起動し、出力レコード指定メモリ26の設定内
容に基づいてレコードを作成し、そのレコードを前記作
成レコードメモリ21に書込む。前記作成レコードメモリ
21に記憶されたレコードは出力処理装置27により読み出
され、出力様式指定メモリ28内に予め設定された指定デ
ータに従って所定の印字位置及び所定のファームで出力
され、出力装置で印字もしくは表示される。
In the file memory 24, a record group including one or a plurality of record keywords and data words is stored for each file in the order of keywords. Each record in the file stored in the file memory 24 is read by the output record generation device 25.
An output record specification memory 26 is connected to the output record generation device 25. This output record specification memory
In the field 26, designated data for creating an output record, for example, a file keyword, a search condition, a created word, a word content, and the like are set in advance by the input device 11. The output record generation device 25 is activated by an output instruction command from the input device 11, creates a record based on the settings in the output record designation memory 26, and writes the record into the created record memory 21. The created record memory
The record stored in 21 is read by the output processing device 27, output at a predetermined printing position and a predetermined firmware according to the specified data set in the output format specifying memory 28, and printed or displayed on the output device. .

次に実施例の動作を説明する。入力装置11から伝票等
に基づいて入力レコードの各ワードデータを入力する
と、このデータは入力処理装置12へ入力される。入力処
理装置12は、データが入力されると、第2図に示すよう
に入力レコード指定メモリ16の指定データを参照し、ワ
ードNo.「11、12、……、In」に対応するワード内容「W
1、W2、……、Wn(入力、索引、計算等)」に従って入
力された各ワードデータをワードNo.順に処理し、その
処理した結果をワードデータ「m1、m2、……、mn」とし
て作成レコードメモリ21に順次書込む。ワード内容が
「入力ワード」の場合は、入力されたワードデータをワ
ードNo.と対応する作成レコードメモリ21のワードへ入
力する。「索引ワード」の場合は、入力処理装置12内の
図示しない索引メモリを参照して、入力されたワードデ
ータ、例えばコードデータをキャラクタデータに変換し
てこれを作成レコードメモリ21の該当ワードへ入力す
る。「計算ワード」の場合は、ワードNo.を用いて定義
されているワード間の演算に従って計算を行ない、その
計算結果のデータを作成ワードメモリ21の該当ワードへ
入力する。例えばワード内容「W3」として「I1×I2」と
定義されている場合は、作成レコードメモリ21内のワー
ドNo.「I1」及び「I2」のワードデータ「m1」及び「m
2」を読み出して乗算し、この結果のワードデータ「m
3」を作成ワードメモリ21の入力ワードNo.「I3」へ入力
する。このようにして入力処理装置12は、入力レコード
指定メモリ16内の各ワード内容に従った処理を行ない、
作成レコードメモリ21に1レコード分のデータの入力が
完了すると、基本レコード生成装置13を起動する。
Next, the operation of the embodiment will be described. When each word data of an input record is input from the input device 11 based on a slip or the like, the data is input to the input processing device 12. When the data is input, the input processing device 12 refers to the designated data in the input record designation memory 16 as shown in FIG. 2, and reads the word content corresponding to the word No. “11, 12,..., In”. "W
1, W2,..., Wn (input, index, calculation, etc.) are processed in the order of word numbers, and the processing results are processed as word data "m1, m2,..., Mn". Writing to the created record memory 21 sequentially. If the word content is "input word", the input word data is input to the word of the created record memory 21 corresponding to the word No. In the case of an "index word", the input word data, for example, code data is converted into character data by referring to an index memory (not shown) in the input processing device 12 and input to the corresponding word of the creation record memory 21. I do. In the case of the “calculation word”, the calculation is performed according to the operation between the words defined using the word No., and the data of the calculation result is input to the corresponding word in the creation word memory 21. For example, if “I1 × I2” is defined as the word content “W3”, the word data “m1” and “m” of the word No. “I1” and “I2” in the created record memory 21
2), multiply the word data and read the resulting word data
"3" is input to the input word No. "I3" of the creation word memory 21. In this way, the input processing device 12 performs processing according to the content of each word in the input record designation memory 16,
When the input of data for one record into the created record memory 21 is completed, the basic record generator 13 is started.

基本レコード生成装置13は、入力処理装置12からの命
令により起動され、基本レコード指定メモリ17内に設定
されている指定データに基づいて作成レコードメモリ21
内の作成レコードから基本レコードの生成を行なう。す
なわち、基本レコード指定メモリ17には、第3図に示す
ように作成レコードメモリ21の各ワードNo.「I1、I2、
……、In」と基本レコードメモリ22の各ワードNo.「S
1、S2、……、Sn]との対応関係を示す指定データが設
定されており、基本レコード生成装置13は作成レコード
メモリ21に保持されているレコードの各ワードデータ
「m1、m2、……、mn」を基本レコード指定メモリ17に設
定されている指定データに基づいて配列し、もしくは入
力レコードの種類によって定まる特定のワードを生成し
て基本レコードメモリ22に記憶する。例えば第3図に示
すように基本レコードのワードNo.「S1、S2、S3、…
…、Sn」に対応して作成レコードのワードNo.「I2、I
4、I5、……、I7」が設定されている場合は、作成レコ
ードメモリ21内のワードデータを「m2、m4、m5、……、
m7」の順に配列して基本レコードとして基本レコードメ
モリ22に記憶する。1伝票分のデータの入力完了を示す
入力指示が入力装置11から入力処理装置12へ入力され、
その結果、基本レコード生成装置13が、1レコード分も
しくは複数レコード分から成る1伝票分の全ての基本レ
コードを生成して基本レコードメモリ22に書込むと、そ
の後、更新レコード生成装置14を起動する。
The basic record generation device 13 is started by an instruction from the input processing device 12 and generates a created record memory 21 based on the designated data set in the basic record designation memory 17.
A basic record is generated from the created record in the file. That is, as shown in FIG. 3, each word No. “I1, I2,
……, In ”and each word No.“ S ”in the basic record memory 22
1, S2,..., Sn] is set, and the basic record generation device 13 sets each word data “m1, m2,. , Mn] are arranged based on the designated data set in the basic record designation memory 17, or a specific word determined by the type of the input record is generated and stored in the basic record memory 22. For example, as shown in FIG. 3, the word numbers “S1, S2, S3,.
…, Sn ”, the word number“ I2, I ”of the created record
When “4, I5,..., I7” is set, the word data in the created record memory 21 is changed to “m2, m4, m5,.
They are arranged in the order of “m7” and stored in the basic record memory 22 as basic records. An input instruction indicating completion of data input for one slip is input from the input device 11 to the input processing device 12,
As a result, when the basic record generation device 13 generates all the basic records for one voucher composed of one record or a plurality of records and writes them in the basic record memory 22, the update record generation device 14 is subsequently activated.

この更新レコード生成装置14は、基本レコードメモリ
22に保持されている基本レコードを更新レコード指定メ
モリ18の指定データに基づいて更新レコードを生成し、
生成した更新レコードを更新レコードメモリ23へ書き込
む。更新レコード指定メモリ18には、第4図に示すよう
に一つ又は複数のレコードキーワード、データワードを
基本レコードのワードNo.で示すと共に、更新の内容、
更新対象のファイル名を示すデータが指定データとして
予め記憶設定されている。例えば指定データ18−1とし
ては、更新の内容として「集計」が、ファイルキーワー
ドとして「F2」が、レコードキーワードとして「S2、S
3」が、データワードとして「S5、S6、S1、S4」が設定
されており、レコードキーワードが二つの場合の例を示
している。また、指定データ18−2としては、更新の内
容として「集計」が、ファイルキーワードとして「F3」
が、レコードキーワードとして「S1」が、データワード
として「S13、S14」が設定されており、レコードキーワ
ードが一つの場合の例を示している。また、前記指定デ
ータ中の更新の内容には「追加」、「削除」、「集
計」、「訂正」、「追加・集計」のいずれかを示すデー
タが設定される。そして、前記指定データに基づいて基
本レコードメモリ22の基本レコードから更新レコードが
作成されるもので、例えば指定データ18−1に対して
は、更新の内容が「集計」、ファイルキーワードが「F
2」、レコードキーワード「m4、m5」、データワードが
「m1、m9、m2、m6」からなる更新レコード23−1が作成
される。その他の更新レコードについても同様にして作
成され、更新レコードメモリ23に記憶される。尚、この
更新レコードメモリ23に記憶される更新レコードの各ワ
ードは区切コード「,」、「;」で区分され、各更新レ
コードは区切コード「(」で区分される可変長データで
ある。各レコードの構成は、レコード区切コード「(」
に続く先頭ワードが「更新の内容」を示すワードであ
り、次のワードがファイルキーワードを示すワードであ
り、更に次のワードから区切コード「;」までの一つも
しくは複数のワード(各ワードは区切コード「,」で区
分される)はレコードキーワードである。更に、上記区
切コード「;」に続く各ワードはデータワードである。
This update record generation device 14 has a basic record memory
Generate an update record based on the specified data in the update record specification memory 18 for the basic record held in 22,
The generated update record is written to the update record memory 23. In the update record designation memory 18, one or more record keywords and data words are indicated by the word numbers of the basic records as shown in FIG.
Data indicating the name of the file to be updated is previously stored and set as specified data. For example, as the designated data 18-1, “total” is used as the update content, “F2” is used as the file keyword, and “S2, S2” is used as the record keyword.
"3" is set as the data word "S5, S6, S1, S4", and shows an example in which there are two record keywords. As the designated data 18-2, “total” is used as the content of the update, and “F3” is used as the file keyword.
However, an example is shown in which “S1” is set as the record keyword and “S13, S14” are set as the data words, and there is one record keyword. In addition, data indicating any of “addition”, “deletion”, “totaling”, “correction”, and “addition / totaling” is set as the content of the update in the designated data. Then, an update record is created from the basic record in the basic record memory 22 based on the specified data. For example, for the specified data 18-1, the update content is “total” and the file keyword is “F”.
2, an update record 23-1 consisting of record keywords "m4, m5" and data words "m1, m9, m2, m6" is created. Other update records are similarly created and stored in the update record memory 23. Each word of the update record stored in the update record memory 23 is divided by delimiter codes "," and ";", and each update record is variable-length data divided by a delimiter code "(". The record configuration consists of the record delimiter code "("
Is the word indicating "contents of the update", the next word is the word indicating the file keyword, and one or more words from the next word to the delimiter code ";" (each word is (Separated by a delimiter code “,”) is a record keyword. Further, each word following the delimiter code ";" is a data word.

前記更新レコードメモリ23内の更新レコードは、第5
図(a)の例では、前述の如く、「更新の内容」を1ワ
ード分のデータとして持たせた場合について示している
が、その他に、例えば第5図(b)に示すように更新の
内容を持たせてもよい。すなわち、同図(b)では、
「集計」であれば集計対象のデータワード中に加算集計
もしくは減算集計の符号「+」もしくは「−」を付加し
て、また「訂正」であれば訂正対象のデータワードの中
に訂正符号「*」を付加し、「削除」であればデータワ
ードを付けずにレコードキーワードのみとし、「追加」
であればレコードキーワードとデータワードを付ける。
つまり、更新レコードがファイルキーワードとレコード
キーワードのみから成るものであれば「削除」、ファイ
ル更新処理装置15による更新処理時に、更新レコードの
レコードキーワードと同一のレコードキーワードのレコ
ードがファイルメモリ24内に無く、アンマッチングであ
れば「追加」、レコードキーワードがマッチングしてい
ればデータワードをチェックして「+」もしくは「−」
であれば「集計」と判断し、また「*」があれば「訂
正」と判断して、その判断結果に基づく更新処理を行
う。
The update record in the update record memory 23 is the fifth
In the example of FIG. 5A, as described above, the case where the “contents of the update” is provided as data of one word is shown. In addition, for example, as shown in FIG. Content may be provided. That is, in FIG.
In the case of “totaling”, a sign “+” or “−” for adding or subtracting is added to the data word to be counted, and in the case of “correction”, the correction code “ "*", And if "Delete", only the record keyword without the data word, and "Add"
If so, add a record keyword and a data word.
In other words, if the update record is composed of only the file keyword and the record keyword, it is "deleted". , "Add" if unmatched, and check the data word if the record keyword matches, "+" or "-"
If so, it is determined to be “total”, and if “*” is present, it is determined to be “correction”, and an update process is performed based on the result of the determination.

また、ファイルメモリ24内には第6図(a)に示すよ
うに、レコードキーワード及びデータワードからなる多
数のレコードをファイルキーワード順に、且つ同一ファ
イル内ではレコードキーワード順に記憶している、同図
において、「§」はファイルの区切コードを「(」はレ
コードの区切コードを、「,」はワードの区切コード
を、「;」はレコードキーワードとデータワードの境界
を示す区切コードである。更に、「F1」、「F2」、……
はファイルキーワードを、「m」……は有効データの長
さに応じたバイト数からなる可変長データを示し、ファ
イルメモリ24内では各ワード及びレコードは実存する情
報のみが完全につめ込まれて収容されている。レコード
キーワードの数は、各ファイル内においては同一の数で
あり、ファイルF1では3ワード、ファイルF2では2ワー
ドからなっている。前記例ではレコードキーワードとデ
ータワードとの間に区切コード「;」を用いているが、
この区切コード「;」を用いずに各レコードの先頭から
所定ワード分をキーワードとして一義的に規定し、ファ
イル更新処理装置15は、各レコードの先頭から所定ワー
ド分がキーワードであるとみなして処理を行うようにし
てもよい。また、各ファイル毎にレコードキーワードの
数を予め定義しておき、これをメモリに設定しておけ
ば、各ファイル毎にキーワードの数が異なってもよい。
第6図(b)はファイルメモリ24におけるレコードの更
に他の記憶形態を示すもので、各レコードの先頭から最
初の区切コード「。」で区分される一つ又は複数の各ワ
ードは更に他の区切コード「,」で区分され、これらの
ワードはレコードキーワードを示す。上記最初の区切コ
ード「。」以降は、データワードであり、各ワードは区
切コード「。」で区分される。また、レコードキーワー
ドはレコードの先頭にあることが自然であるから実施例
ではそうしているが、レコードキーワードはその位置が
定まっていればどこにあってもよい。
Also, as shown in FIG. 6 (a), a large number of records composed of record keywords and data words are stored in the file memory 24 in the order of file keywords and in the same file in the order of record keywords. , “§” is a file separation code, “(” is a record separation code, “,” is a word separation code, and “;” is a separation code indicating a boundary between a record keyword and a data word. "F1", "F2", ...
Indicates a file keyword, and "m" indicates variable-length data consisting of the number of bytes corresponding to the length of valid data. In the file memory 24, each word and record are completely filled with only existing information. Is housed. The number of record keywords is the same in each file, and is 3 words in file F1 and 2 words in file F2. In the above example, the delimiter code ";" is used between the record keyword and the data word,
Without using the delimiter code ";", a predetermined word from the beginning of each record is uniquely defined as a keyword, and the file update processing device 15 performs processing by regarding the predetermined word from the beginning of each record as a keyword. May be performed. If the number of record keywords is defined in advance for each file and the number is set in the memory, the number of keywords may differ for each file.
FIG. 6 (b) shows still another storage form of records in the file memory 24. One or a plurality of words separated from the beginning of each record by the first delimiter code "." These words are indicated by a delimiter code “,”, and these words indicate record keywords. The data after the first delimiter code "." Are data words, and each word is separated by the delimiter code ".". In the embodiment, the record keyword is naturally located at the beginning of the record. However, the record keyword may be located anywhere as long as its position is determined.

しかして、ファイル更新処理装置15は、更新レコード
生成装置14からの命令もしくは入力装置11からの更新指
示命令によって起動し、第7図のフローチャートに示す
ファイル更新処理を実行する。すなわち、ファイル更新
処理装置15は、更新レコードメモリ23内の更新レコード
をファイルキーワード順で、かつ、レコードキーワード
順にソートする(ステップA1)。
Thus, the file update processing device 15 is activated by a command from the update record generation device 14 or an update instruction command from the input device 11, and executes the file update process shown in the flowchart of FIG. That is, the file update processing device 15 sorts the update records in the update record memory 23 in the order of the file keywords and in the order of the record keywords (step A1).

次いで更新レコードメモリ23内の同一のファイルキー
ワードの全更新レコードを読出し、更新用メモリ19のA
領域に書込む(ステップA2)。更に、ファイルメモリ24
内の対応するファイルキーワードの全レコードを読出
し、更新用メモリ19のB領域に書込む(ステップA3)。
そして、更新用メモリ19のA領域及びB領域の各レコー
ドのレコードキーワードを順次比較し、A領域内の更新
レコードと対応するB領域内のレコードを更新の内容に
従って更新する(ステップA4)。更新されたレコードも
しくはB領域内の更新対象にならなかったレコードはキ
ーワードの順に更新用メモリ19内のC領域に書込まれ、
更新用メモリ19のA領域、B領域における全ての更新処
理が終了すると、更新用メモリ19のC領域に保持してい
る更新済みのレコードをファイルメモリ24の新たな記憶
領域へ書込む(ステップA5)。その後、更新レコードメ
モリ23に記憶している全てのファイルキーワードに対す
る更新レコードの更新処理を終了したか否かを判断し
(ステップA6)、終了していなければステップA2に戻っ
て残りのファイルキーワードに対する更新レコードにつ
いての更新処理を行なう。以下、同様にしてステップA2
〜A6の処理により更新レコードメモリ23の全更新レコー
ドに対する処理が行なわれると、ファイル更新処理を終
了する。
Next, all update records of the same file keyword in the update record memory 23 are read out, and
Write in the area (step A2). In addition, file memory 24
Then, all the records of the corresponding file keywords are read out and written into the area B of the update memory 19 (step A3).
Then, the record keywords of the records in the area A and the area B in the update memory 19 are sequentially compared, and the updated record in the area A and the corresponding record in the area B are updated according to the contents of the update (step A4). The updated record or the record not to be updated in the B area is written in the C area in the update memory 19 in the order of keywords,
When all the updating processes in the areas A and B of the updating memory 19 are completed, the updated record held in the area C of the updating memory 19 is written to a new storage area of the file memory 24 (step A5). ). Thereafter, it is determined whether or not the update processing of the update records for all the file keywords stored in the update record memory 23 has been completed (step A6). If not completed, the process returns to step A2 to return to step A2. An update process is performed on the update record. Hereinafter, similarly, Step A2
When the processing for all update records in the update record memory 23 is performed by the processing of A6, the file update processing ends.

前記ステップA4における更新レコードの更新内容に応
じた更新処理について説明する。更新の内容が「追加」
であれば、この更新レコードのレコードキーワードとデ
ータワードからなるレコードを、ファイルメモリ24から
読み出されたB領域内のレコードの中にレコードキーワ
ードの順になるように挿入する。「削除」の場合には、
更新レコードのレコードキーワードと一致するB領域内
のレコードを削除する。この場合、レコードキーワード
の上位ワードのみ、もしくはレコードキーワードの上位
桁のみを指定することによって、この指定と一致するB
領域内のレコード群を全て削除することもできる。更新
の内容が「集計」の場合は、更新レコードのレコードキ
ーワードと一致するB領域内のレコードの各データワー
ドのうち、更新レコードのデータワードで示されるデー
タを該当ワードに加算集計する。尚、更新レコードのデ
ータワードのデータが負であれば、減算集計される。更
新の内容が「訂正」の場合は、更新レコードのレコード
キーワードと一致するB領域内のレコードの各ワードの
うち、更新レコードのデータワードと対応するワードを
更新レコードのデータワードで示されるワードデータに
訂正する。更新の内容が「追加・集計」の場合は、更新
レコードのレコードキーワードと一致するレコードがB
領域内にあれば上述した「集計」と同様の処理を行い、
無ければ上述した「追加」と同様の処理を行う。
An update process according to the update content of the update record in step A4 will be described. Update content is "Add"
If so, the record composed of the record keyword and the data word of this update record is inserted into the records in the area B read from the file memory 24 in the order of the record keywords. In the case of "delete"
The record in the B area that matches the record keyword of the update record is deleted. In this case, by specifying only the upper word of the record keyword or only the upper digit of the record keyword, B
It is also possible to delete all records in the area. When the content of the update is “total”, the data indicated by the data word of the update record is added to the data word of the records in the area B that matches the record keyword of the update record, and the data is totaled. If the data of the data word of the update record is negative, the data is subtracted and counted. When the content of the update is “correction”, the word corresponding to the data word of the update record among the words of the record in the B area that matches the record keyword of the update record is represented by the word data indicated by the data word of the update record. To correct. If the content of the update is “addition / aggregation”, the record that matches the record keyword of the update record is B
If it is within the area, perform the same processing as the “totaling” described above,
If not, the same process as “addition” described above is performed.

以上のようにして、入力装置11により入力されたレコ
ードはファイルメモリ24内の各ファイルに更新される。
このファイルメモリ24に記憶されたファイルの一例を第
8図に示す。同図において、ワードNo.「01」で示され
る各レコードの先頭ワードはレコードキーワードであ
り、具体的には商品コードがレコードキーワードとして
記憶されている。各レコードのワードNo.「11」、「1
2」、……で示されるワードはデータワードであり、
「単価」、「数量」……が記憶されている。そして各ワ
ードデータは可変長データであり、ワード間にはワード
区切コード「,」が、レコードの先頭にはレコード区切
コード「(」が挿入され、各レコードはレコードキーワ
ードの昇順に配列され隙間なく詰め込まれて記憶されて
いる。各レコードのレコードキーワードとして用いられ
ている商品コードは例えば第9図に示すコード体系にな
っており、商品コード「111」、「112」、……は商品名
「腕時計A」、「腕時計B」、……を示している。この
第9図の商品コードは、各商品の大分類、中分類をも表
わしており、商品コードの上位2桁が共通のコード、例
えば「11」は「腕時計」を、「12」は「クロック」を示
し、商品コードの上位1桁が共通のコード、例えば
「1」は「時計」を、「2」は「電卓」を示している。
即ち、商品コード等のレコードキーワードとして用いら
れるコードは各コードの上位桁から順に、大分類、中分
類……等に対応した重み付けがなされている。レコード
キーワードが複数ワード存在するレコードは、レコード
の先頭部のレコードキーワードから順に重み付けがなさ
れている。更にレコードキーワードとして用いられるコ
ードは可変長データであり、例えば商品コード「112」
と商品コード「113」の間に新たな商品名「腕時計Ba
の商品コードを設定したい場合には、この商品コードを
「1121」と設定すればよく、新たなレコードの追加に容
易に対応できる。ところで、前述の如くファイルメモリ
24には商品コードと対応するレコードが記憶されている
が、各商品コードの大分類、中分類等に関するレコード
は記憶されておらず、また、各レコードには合計金額の
ワードデータは記憶されていないが、これら必要なレコ
ード、ワードデータは以下に述べる出力レコード生成装
置25によって任意に生成される。
As described above, the record input by the input device 11 is updated to each file in the file memory 24.
FIG. 8 shows an example of a file stored in the file memory 24. In the figure, the first word of each record indicated by the word No. “01” is a record keyword, and specifically, a product code is stored as a record keyword. Word No. "11", "1" for each record
2 ", the words indicated by ... are data words,
“Unit price”, “quantity”... Are stored. Each word data is variable-length data. A word delimiter code “,” is inserted between words, and a record delimiter code “(” is inserted at the head of a record. The product code used as the record keyword of each record has, for example, the code system shown in Fig. 9, and the product codes "111", "112", ... are the product names " Wristwatch A "," Watch B ", etc. The commodity code in Fig. 9 also represents the large classification and middle classification of each commodity, and the upper two digits of the commodity code are common codes, For example, "11" indicates "watch", "12" indicates "clock", and the upper one digit of the product code is a common code, for example, "1" indicates "clock" and "2" indicates "calculator". ing.
That is, codes used as record keywords such as product codes are weighted in order from the upper digit of each code in accordance with the large classification, the middle classification, and so on. A record having a plurality of record keywords is weighted in order from the record keyword at the head of the record. Further, the code used as the record keyword is variable length data, for example, the product code "112".
New product name "Watch B a " between the product code "113"
If the user wants to set the product code, the product code may be set to “1121”, and it is easy to add a new record. By the way, as mentioned above, the file memory
The record corresponding to the product code is stored in 24, but no record regarding the major classification, the middle classification, etc. of each product code is stored, and the word data of the total amount is stored in each record. However, these necessary records and word data are arbitrarily generated by an output record generation device 25 described below.

第10図は出力レコード指定メモリ26内の指定データの
一例を示すものである。第11図は出力レコード生成装置
25の動作を示すフローチャートであり、前記出力レコー
ド指定メモリ26内の指定データに従えば、第8図に示す
ファイルメモリ24内のレコードに基づいて第12図に示す
ような出力レコードが生成されて作成レコードメモリ21
へ記憶される。以下、出力レコードの生成動作について
述べる。
FIG. 10 shows an example of designated data in the output record designation memory 26. Fig. 11 shows the output record generator
25 is a flowchart showing the operation of FIG. 25. According to the designated data in the output record designation memory 26, an output record as shown in FIG. 12 is generated based on the record in the file memory 24 shown in FIG. Creation record memory 21
Is stored in Hereinafter, an operation of generating an output record will be described.

前記出力レコード指定メモリ26にはファイルメモリ24
から所定のファイル及びレコードを検索して読み出すた
めの、ファイルキーワード及び検索条件が指定データと
して設定されている他に、第10図に示すように出力レコ
ードの作成ワードがそのワード内容と共に設定され、更
にレコードキーワードの重み付けに対応した出力レコー
ドを生成するために作成レニット3、作成レニット2、
作成レニット1に応じた指定がなされている。前記作成
ワードは出力レコードとして必要なワードを任意のワー
ド数分指定することができ、この例では作成ワードのワ
ードNo.「.1」、「.2」、「.3」は出力レコードのレコ
ードキーワードであり、そのワード内容は夫々「a01>
1」、「a01>2」、「a01<3」と対応している。ワー
ド内容「a01>1」の「a」はファイルメモリ24から検
索して読み出したレコード(以下、ソースレコードと称
する)を意味し、「a01」はソースレコードのワードNo.
「01」のワードを意味する。また、出力レコードを上位
のレコードキーワードで任意の階層に集計して、夫々の
階層で出力レコードを生成できるが、第10図では3階層
まで集計する例を示し、各集計階層をレニット(レコー
ドユニットの省略)と称している。作成レニット3は前
記ソースレコードを元に作成される最下層の出力レコー
ドの指定であり、作成レニット2は前記作成レニット3
の指定で作成された出力レコードを基に上位の階層に集
計した出力レコードの指定であり、作成レニット1は前
記作成レニット2の指定で作成された出力レコードを基
に更に上位の階層に集計した出力レコードの指定であ
る。作成レニット3の出力レコードのレコードキーワー
ドは作成ワードの「.1」、「.2」、「.3」に対応するワ
ード内容で示される3ワード分のレコードキーワードを
有し、作成レニット2では「.1」、「.2」のワード内容
で示される2ワード分のレコードキーワードを有し、作
成レニット1では「.1」のワード内容で示される1ワー
ド分のレコードキーワードを有する。例えば、作成レニ
ット3のレコードキーワードは「.1」、「.2」、「.3」
に対応するワード内容「a01>1」、「a01>2」、「a0
1<3」であるから、レコードキーワードの第1ワード
「.1」にはソースレコードのワードNo.「01」のワード
データの1桁目を読み出して設定することを意味し、第
2ワード「.2」にはワードNo.「01」のワードデータの
2桁目を、第3ワード「.3」にはワードNo.「01」のワ
ードデータの3桁目以下全てを設定することを意味す
る。ワード内容の「b.1/T」の「b」は作成された出力
レコードを意味し、「b.1」は出力レコードのワードNo.
「.1」のワードデータを読み出すことを示し、したがっ
て作成ワード「11」に対応して設定されたワード内容
「b.1/T」は出力レコードのワードNo.「.1」のワードデ
ータを読み出して更にテーブルメモリT(図示せず)か
ら対応するデータを読み出してこれを作成レニット1の
出力レコードのワードNo.「11」のワードデータとする
ことを示す指定データである。具体的には「.1」のワー
ドから読み出した商品コードと対応する商品名をテーブ
ルメモリTから読み出してワードNo.「11」のワードデ
ータとして出力レコードに書き込む。更に、作成レニッ
ト2に対応する作成ワード11には、ワード内容「b.1&
b.2/T」が設定されているが、これは、出力レコードの
ワードNo.「.1」とワードNo.「.2」の各ワードデータを
結合してその結果でテーブルメモリTから対応するデー
タを読み出し、これを作成レニット2の出力レコードの
ワードNo.「11」のワードデータとすることを指定する
ものである。作成レニット3の出力レコードのワードN
o.「11」には、ワード内容として「a01/T」が設定され
ており、ソースレコードのワードNo.「01」のデータを
基にしてテーブルメモリTを参照してその結果がワード
No.「11」のワードデータとして記憶される。以下、作
成ワード「12」、「13」、「14」……に対応して各作成
レニットで「1」が指定されている場合には各ワード内
容に従ってワードデータが作成される。尚、作成ワード
の「c1」はコンソールワードであり、作成されたワード
を一時的に記憶しておき、後にこのワードをもとにレニ
ット間の演算を行なう場合等に使用される。
The output record designation memory 26 has a file memory 24
In order to search and read a predetermined file and record from, in addition to the file keyword and search conditions being set as specified data, as shown in FIG. 10, a creation word of an output record is set together with the word content, Further, in order to generate an output record corresponding to the weight of the record keyword, a creation unit 3, a creation unit 2,
The designation corresponding to the creation unit 1 is made. For the creation word, any number of words required as an output record can be specified, and in this example, the word numbers of the creation word ".1", ".2", ".3" are the records of the output record The keywords are “a01>
1 ","a01> 2 ", and" a01 <3 ". "A" in the word content "a01>1" means a record retrieved and read from the file memory 24 (hereinafter, referred to as a source record), and "a01" is the word number of the source record.
Means the word "01". In addition, output records can be totaled at an arbitrary level by using a higher-level record keyword, and output records can be generated at each level. FIG. 10 shows an example of totaling up to three levels. Abbreviation). The creation unit 3 is a designation of the lowermost output record created based on the source record.
This is a specification of the output records that are totaled in the higher hierarchy based on the output records created by the specification of the above. The creation unit 1 is totalized in a higher hierarchy based on the output records created by the specification of the creation unit 2. Output record specification. The record keyword of the output record of the creation unit 3 has a record keyword for three words indicated by the word contents corresponding to the creation words “.1”, “.2”, and “.3”. .1 ”and“ .2 ”have record keywords for two words, and the creation unit 1 has a record keyword for one word represented by word contents of“ .1 ”. For example, the record keywords for creation unit 3 are “.1”, “.2”, “.3”
Word contents "a01>1","a01>2","a0" corresponding to
Since 1 <3 ”, the first word“ .1 ”of the record keyword means that the first digit of the word data of the word number“ 01 ”of the source record is read and set, and the second word“ .1 ”is set. .2 means that the second digit of the word data of word number "01" is set, and the third word ".3" means that all the third and lower digits of the word data of word number "01" are set. I do. "B" in the word content "b.1 / T" means the created output record, and "b.1" is the word number of the output record.
Indicates that the word data of “.1” is to be read, so the word content “b.1 / T” set corresponding to the created word “11” is the word data of the word number “.1” of the output record. This is designation data indicating that the corresponding data is read out from the table memory T (not shown) and is used as the word data of the word No. “11” of the output record of the creation unit 1. Specifically, a product name corresponding to the product code read from the word “.1” is read from the table memory T and written into the output record as word data of the word No. “11”. Further, the creation word 11 corresponding to the creation unit 2 includes the word content “b.1 &
b.2 / T ”is set. This is done by combining the word data of the word numbers“ .1 ”and“ .2 ”of the output record and responding from the table memory T with the result. This specifies that the data to be read is read and is used as the word data of the word No. “11” of the output record of the creation unit 2. Word N of output record of creation unit 3
o. In “11”, “a01 / T” is set as the word content, and the result is referred to the table memory T based on the data of the word number “01” in the source record and the result is stored in the word
It is stored as the word data of No. “11”. Hereinafter, when “1” is designated in each creation unit corresponding to the creation words “12”, “13”, “14”,..., Word data is created according to the contents of each word. Note that the created word "c1" is a console word, which is used for temporarily storing the created word, and later performing calculations between units based on this word.

以下、第11図のフローチャートを参照して出力レコー
ド生成装置25の動作を説明する。このフローチャートに
示す処理に先だって、指定されたファイルキーワード及
び検索条件(例えばある特定のワードがある特定の値以
上のもの等の条件)に合致するレコード群がファイルメ
モリ24から作成レコードメモリ21へ読み出されているも
のとする。以下の例では、第8図に示すファイルの全て
のレコードが作成レコードメモリ21へ読み出されている
とする。第11図のステップB1において、出力レコード指
定メモリ26より最下位のレニットn、例えば第10図の例
ではレニット3の指定データを読み出し、この指定デー
タに基づいて出力レコードの各ワードデータを作成す
る。例えば、第8図のファイルメモリ24の「111,1000,5
0,……」で示すレコードをソースレコードとして出力レ
コード「1,1,1,腕時計A,1000,50,50000,,」が作成され
る。この出力レコードのワードNo.「15」のワードはこ
の時点では作成されない。以下、全てのソースレコード
からレニット3の指定データにもとづいて出力レコード
を作成し、作成レコードメモリ21へ書き込む。次のステ
ップB2では出力レコードをレコードキーワード順にソー
トして、同一のレコードキーワードがあれば各データワ
ードを集計した一つの出力レコードとする。以上でレニ
ット3に対応する出力レコードが作成され、作成レコー
ドメモリ21に第11図(a)に示すように出力レコードフ
ァイルf3として記憶する。そして、ステップB3で、次の
レニットに関する指定データの有無を判断し、有ればス
テップB4で前記出力レコードファイルf3内の出力レコー
ドから、出力レコード指定メモリ26内のレニット2に対
応する指定データにもとづいて出力レコードを作成す
る。例えば、作成ワードNo.「13」、「14」では上位の
レニットへの集計を示す「1」が指定されているので、
レニット3の出力レコードのワードNo.「13」、「14」
のワードデータを集計したワードをレニット2の出力レ
コードのワードNo.「13」、「14」のワードデータとす
る。ステップB5ではレニット内の演算、例えばレニット
2で作成されたワードNo.「14」のデータをコンソール
ワード「c1」へ記憶する。以下、各レニットの指定に応
じて前記ステップB3、B4、B5の処理を行ない、第11図
(b)、(c)に示すように作成レコードメモリ21には
各レニット別に生成された出力レコードファイルf2、f1
を記憶する。ステップB3で次の指定レニットが無いと判
別された際には、ステップB6の処理に移り、レニット間
の演算を行う。この演算は例えば、作成レニット3の出
力レコードのワードNo.「15」のワードに作成レニット
2で作成されたワード、例えばコンソールワード「c1」
を用いて比率等の演算を行なうもので、演算結果は作成
レニット3の各レコードの当該ワードデータとして記憶
する。そして、ステップB7で、作成レコードメモリ21内
の全ての出力レコードをレニット順に並び換える。この
並び換えは出力レコードのワード「.1」、「.2」、「.
3」内のレコードキーワードをもとに昇順に並び換える
もので、この結果は第12図に示すようになる。この例で
は上位のレニットの順に並べたが、下位のレニットの順
でもよく、その他、指定されたレニット順であってもよ
い。
Hereinafter, the operation of the output record generation device 25 will be described with reference to the flowchart of FIG. Prior to the processing shown in this flowchart, a record group that matches a specified file keyword and a search condition (for example, a condition that a specific word is equal to or more than a specific value) is read from the file memory 24 to the created record memory 21. It has been issued. In the following example, it is assumed that all records of the file shown in FIG. In step B1 in FIG. 11, the lowermost unit n, for example, the specified data of the unit 3 in the example of FIG. 10 is read from the output record specifying memory 26, and each word data of the output record is created based on the specified data. . For example, in the file memory 24 of FIG.
An output record “1,1,1, watch A, 1000,50,50000 ,,” is created using the record indicated by “0,...” As the source record. The word of word No. "15" of this output record is not created at this time. Hereinafter, an output record is created from all the source records based on the designated data of the unit 3 and written to the created record memory 21. In the next step B2, the output records are sorted in the order of the record keywords, and if there is the same record keyword, each data word is regarded as one output record obtained by totaling. Thus, an output record corresponding to the unit 3 is created and stored in the created record memory 21 as an output record file f3 as shown in FIG. 11 (a). Then, in step B3, it is determined whether or not there is designation data for the next unit. If there is, in step B4, the designated data corresponding to the unit 2 in the output record designation memory 26 is converted from the output record in the output record file f3. Create an output record based on it. For example, in the creation words No. "13" and "14", "1" indicating the summation to the higher rank unit is specified.
Word No. "13", "14" of the output record of Renit 3
The words obtained by summing the word data of No. 2 are used as the word data of the word Nos. "13" and "14" of the output record of Renit 2. In step B5, the operation in the unit, for example, the data of the word No. "14" created in the unit 2 is stored in the console word "c1". Hereinafter, the processing of steps B3, B4 and B5 is performed in accordance with the designation of each unit, and the output record file generated for each unit is stored in the creation record memory 21 as shown in FIGS. 11 (b) and 11 (c). f2, f1
Is stored. When it is determined in step B3 that there is no next designated renit, the process proceeds to step B6, and the computation between the renits is performed. This calculation is performed, for example, on the word of the word No. “15” of the output record of the creation unit 3, the word created by the creation unit 2, for example, the console word “c1”
Is used to calculate the ratio and the like, and the calculation result is stored as the word data of each record of the creation unit 3. Then, in step B7, all output records in the created record memory 21 are rearranged in the order of the unit. This sort is done by the words `` .1 '', `` .2 '', ``.
It sorts in ascending order based on the record keywords in "3", and the result is as shown in FIG. In this example, the uppermost renits are arranged in the order, but they may be arranged in the order of the lower renits, or may be in the order of the designated renits.

前述の例では、出力レコード指定メモリ26内の指定デ
ータに基づいて上位レニットの出力レコードを作成した
が、ファイルメモリ24に上位レニットに対応するレコー
ドを予め記憶させておくこともできる。この場合は、前
記更新レコード指定メモリ18で更新レコードの作成を指
定する際に、前述の上位レニットに対応するレコードキ
ーワードを指定し、更新レコード生成装置14で前記指定
に基づいて、上位レニットに対応する更新レコードを作
成してもよい。この場合は、後のファイル更新処理装置
15の更新処理によって、ファイルメモリ24には第13図
(a)に示すように、上位レニットに対応したレコード
が作られる。同図でワードNo.「01」、「02」、「03」
のワードはレコードキーワードであり、各レコードはこ
のレコードキーワード順に配列して記憶されている。第
13図(b)、(c)は同図(a)で示した各レコードの
他の記憶形態を示すもので、同図(b)ではワードNo.
「01」にはレニットのレベルを示すデータを記憶し、ワ
ードNo.「02」には各レニット内のキーワードを記憶し
た形態になっている。同図(c)では各レコードの区切
コードをレニットに対応して複数種類設けた例である。
尚、第12図及び第13図では、ワードNo.とワードデータ
の対応が明らかになるようにスペースデータを挿入した
状態で図示したが、実際の記憶状態ではこのスペースデ
ータは無く、可変長のワードデータが区切コードで区分
されて詰め込まれて記憶されている。
In the above-described example, the output record of the upper unit is created based on the specified data in the output record specifying memory 26. However, a record corresponding to the upper unit may be stored in the file memory 24 in advance. In this case, when designating the creation of an update record in the update record designation memory 18, a record keyword corresponding to the above-described upper unit is designated, and the update record generator 14 responds to the upper unit based on the designation. May be created. In this case, the later file update processor
By the update processing of 15, a record corresponding to the upper unit is created in the file memory 24 as shown in FIG. In the same figure, the word No. "01", "02", "03"
Are record keywords, and each record is stored in the order of the record keywords. No.
FIGS. 13 (b) and 13 (c) show other storage modes of each record shown in FIG. 13 (a).
"01" stores data indicating the level of a renit, and word No. "02" stores a keyword in each renit. FIG. 9C shows an example in which a plurality of types of delimiter codes for each record are provided corresponding to the renits.
In FIG. 12 and FIG. 13, space data is inserted so as to clarify the correspondence between word numbers and word data. However, in the actual storage state, there is no space data, and The word data is stored by being separated by a delimiter code and packed.

前述のようにして作成レコードメモリ21に作成された
各レコードは、必要に応じて基本レコード生成装置13の
処理によって基本レコードに変換され、更新レコード生
成装置14及びファイル更新処理装置15によって再びファ
イルメモリ24内のファイルを更新することができる。更
に、前記作成レコードメモリ21に作成された各レコード
は出力処理装置27によって読み出され、出力様式指定メ
モリ28内の指定データに基づいて帳表等を示す罫線フォ
ームと共に出力装置29で表示もしくは印字出力される。
以下に、この帳表等の出力処理について説明する。
Each record created in the creation record memory 21 as described above is converted into a basic record by the processing of the basic record generation device 13 as necessary, and is updated again by the update record generation device 14 and the file update processing device 15 in the file memory. You can update the files in 24. Further, each record created in the created record memory 21 is read out by the output processing device 27, and is displayed or printed on the output device 29 together with a ruled line form indicating a book table or the like based on the designated data in the output format designation memory 28. Is output.
Hereinafter, the output processing of the book table and the like will be described.

第14図は出力様式指定メモリ28内の指定データの一例
を示す図で、各レニットの出力レコードに対応して、出
力するワードNo.及び罫線を指定する。罫線は、その始
点を表示もしくは印字の1頁分の1画面に対応するX、
Y座標で示し、長さは始点からX方向(右方向)及びY
方向(下方向)の夫々の長さで示し、線種は前記始点及
び長さで決まる四辺に対応して、上辺、下辺、左辺、右
辺の夫々について指定する。線種としては、「0」は印
字せず、「1」は太線、「2」は中太線「3」は細線、
「4」は点線、5は一点鎖線、……等によって各辺を指
定する。例えば線種(1010)は、上辺を太線で、下辺は
出力せず、左辺は太線で、右辺は出力せず、の指定にな
る。第14図に示した指定データの例について説明する
と、レニット1の出力レコードの罫線は、出力レコード
のワードNo.「11」のワードデータの出力に対応して始
点(X11、Y11)と長さ(l11、m11)で決まる位置に上辺
と左辺を太線で出力し、同図(a)に示す状態の出力を
指定する。更に、ワードNo.「14」のワードデータの出
力に対応して始点(X12、Y12)と長さ(l12、m12)で決
まる位置に上辺を太線で、左辺を細線で出力し、前記ワ
ードNo.「11」の出力と合わせると同図(b)で示す状
態の出力を指定する。以下同様に各レニットの指定デー
タに基づいて、同図(c)〜(k)に示す出力状態が指
定される。尚、罫線と共に出力されるワードデータは出
力様式指定メモリ28内の指定されたワードNo.のワード
データが作成レコードメモリ21内の出力レコードから読
み出されるが、読み出されたワードデータの出力位置は
各ワードの罫線の指定データに対応して指定されている
ものとする(図示省略)。特に、ワードデータが文字の
場合はその文字列の上位桁を基準に、数字の場合はその
数字列の下位桁を基準に出力位置が指定されているもの
とする。
FIG. 14 is a diagram showing an example of designated data in the output format designation memory 28, in which a word No. and a ruled line to be outputted are designated corresponding to the output record of each unit. The ruled lines indicate the start point of X, corresponding to one screen of one page of display or printing.
Indicated by Y coordinate, length is X direction (right direction) and Y
The length is indicated by each length in the direction (downward), and the line type is specified for each of the upper side, lower side, left side, and right side corresponding to the four sides determined by the start point and the length. As the line type, "0" is not printed, "1" is a thick line, "2" is a medium thick line, "3" is a thin line,
"4" designates each side by a dotted line, 5 designates an alternate long and short dash line,... For example, the line type (1010) specifies that the upper side is a thick line, the lower side is not output, the left side is a thick line, and the right side is not output. To explain the example of the designated data shown in FIG. 14, the ruled line of the output record of the unit 1 is the starting point (X 11 , Y 11 ) corresponding to the output of the word data of the word No. “11” of the output record. The upper side and the left side are output as thick lines at positions determined by the length (l 11 , m 11 ), and the output in the state shown in FIG. Furthermore, corresponding to the output of the word data of word No. “14”, the upper side is output as a thick line and the left side is output as a thin line at a position determined by the starting point (X 12 , Y 12 ) and the length (l 12 , m 12 ). When combined with the output of the word No. "11", the output in the state shown in FIG. In the same manner, the output states shown in FIGS. 8C to 8K are designated based on the designation data of each unit. The word data output together with the ruled line is read from the output record in the creation record memory 21 as the word data of the specified word number in the output format specification memory 28. The output position of the read word data is It is assumed that each word is specified corresponding to the specified data of the ruled line (not shown). In particular, when the word data is characters, the output position is specified based on the upper digit of the character string, and when the data is numeric, the output position is specified based on the lower digit of the numerical string.

次に、第15図のフローチャートを参照して出力処理装
置27の処理動作を説明する。ステップC1において、出力
様式指定メモリ28で予め指定されている見出し部分(図
示省略)のワードデータ及び罫線を同図(a)のように
印字する。次に、ステップC2の処理では、作成レコード
メモリ21から先頭の出力レコードを読み出し、更にステ
ップC3で、この出力レコードのレニットと対応するレニ
ットの指定データを出力様式指定メモリ28から読み出し
て、この指定データの各ワードNo.で指定される前記出
力レコードのワードデータを、該各ワードNo.に対応す
る罫線とともに1レコード分作成して出力装置29へ出力
する。この場合の印字状態を第15図(b)に示す、同図
に示すように、第12図の作成レコードメモリ21内の先頭
のレコードのワードNo.「11」、「14」、「13」のワー
ドデータが罫線と共に印字される。以下作成レコードメ
モリ21内の出力レコードが全て出力されるまで前記ステ
ップC2、C3の処理が繰り返され、第15図(c)、(d)
に示すように印字される。ステップC4で、出力レコード
が無いことが検出されると、ステップC5で下線が、レニ
ット1の横罫線に対応する長さで、レニット1の線種に
合わせて太線に印字させる。前記出力様式メモリ28内の
罫線の印字位置の指定において、各始点のY座標は先頭
のレコードの出力位置を基準値として指定しておくだけ
でよく、以後は前記ステップC3の処理において、レコー
ドが1行分出力される毎に、前記基準値のY座標を1行
のY方向の長さ分だけ逐次更新するようにし、この更新
した値を各ワードのY座標とする。更に、次の頁に出力
する場合にはY座標を前記基準値に戻して以後1行印字
する毎に前記と同様にY座標を更新する。データの印字
位置の指定も全く同様に先頭のレコードの出力位置を基
準値として指定しておくだけでよい。
Next, the processing operation of the output processing device 27 will be described with reference to the flowchart of FIG. In step C1, the word data and ruled lines of the heading portion (not shown) designated in advance in the output format designation memory 28 are printed as shown in FIG. Next, in the process of step C2, the head output record is read from the created record memory 21, and further, in step C3, the specified data of the unit corresponding to the unit of this output record is read from the output format specifying memory 28, and this specification is performed. Word data of the output record specified by each word number of data is created for one record together with a ruled line corresponding to each word number and output to the output device 29. The print state in this case is shown in FIG. 15 (b). As shown in FIG. 15, the word numbers "11", "14", "13" of the first record in the created record memory 21 in FIG. Is printed together with the ruled line. Thereafter, the processes of steps C2 and C3 are repeated until all output records in the created record memory 21 are output, and FIG. 15 (c) and (d).
Printed as shown in When it is detected in step C4 that there is no output record, in step C5, the underline is printed with a length corresponding to the horizontal ruled line of the renit 1 and a thick line according to the line type of the renit 1. In specifying the printing position of the ruled line in the output format memory 28, the Y coordinate of each starting point only needs to specify the output position of the first record as a reference value. Each time one row is output, the Y coordinate of the reference value is sequentially updated by the length of one row in the Y direction, and the updated value is used as the Y coordinate of each word. Further, when outputting to the next page, the Y coordinate is returned to the reference value, and thereafter every time one line is printed, the Y coordinate is updated in the same manner as described above. In the same manner, the print position of the data need only be specified by using the output position of the first record as the reference value.

前記例では各ワードデータ及び各ワードデータの四辺
を囲む罫線の出力について説明したが、1行分のレコー
ドデータ及びこのレコードデータの四辺を囲む罫線の出
力についてもレコード単位で一括して指定することもで
きる。即ち、レコードデータの出力位置及びレコードデ
ータの四辺を囲む罫線の出力位置を出力様式メモリ28に
設定し、出力処理装置27は前記出力様式メモリ28内の指
定データで指示される位置にレコードデータ及び罫線デ
ータを出力する。この出力において、Y方向の各データ
の出力位置は、1頁内の先頭のレコードの出力位置を基
準にして1行出力する毎に1行のY方向の長さ分自動的
に更新されて、順次次の行に出力される。この時に、1
行分のレコードデータの各ワードを区切る縦罫線を出力
させる場合には各縦罫線の出力位置及びその線種を指定
しておく。更に、レコードデータの各レニット毎に罫線
の出力位置もしくは罫線の種類を異ならせれば帳表等に
印字した際に、各データがレニット毎に整理されて見や
すくなるが、この指定のためには、前記出力様式指定メ
モリ28へ各レニット毎のレコードについて罫線の出力位
置もしくは罫線の種類を示す指定データを設定すればよ
い。
In the above example, the output of each word data and the ruled lines surrounding the four sides of each word data has been described. However, the output of the record data for one row and the ruled lines surrounding the four sides of the record data must be collectively specified in record units. Can also. That is, the output position of the record data and the output position of the ruled line surrounding the four sides of the record data are set in the output format memory 28, and the output processing device 27 sets the record data and the output data at the position indicated by the designated data in the output format memory 28. Outputs ruled line data. In this output, the output position of each data in the Y direction is automatically updated by the length of one line in the Y direction each time one line is output based on the output position of the first record in one page. Output to the next line sequentially. At this time, 1
To output vertical ruled lines that delimit each word of the record data for a row, the output position of each vertical ruled line and its line type are specified. Furthermore, if the output position of the ruled line or the type of the ruled line is made different for each unit of the record data, when the data is printed on a book or the like, each data is arranged for each unit and is easy to see. What is necessary is just to set the output position of the ruled line or the specified data indicating the type of the ruled line in the output format specifying memory 28 for the record for each unit.

前記第15図のステップC3において、データと共に罫線
が印字されるが、罫線に対するデータの印字位置は、下
罫線に近い位置に印字する。第16図は第15図(a)〜
(d)の印字状態図の一部拡大図であり、データと上罫
線との間隙H、データと下罫線との間隙Lは、H:L=2:1
の関係になっており、この状態が最適の例であるが、少
なくともH>Lの関係にあればよい。このように印字す
るためには、出力様式指定メモリ28内の指定データのY
方向1行分の罫線の長さpと、データの文字パターンの
縦方向の長さqから、H=(p−q)×2/3、L=(p
−q)/3を前記ステップC3の処理において算出した後
に、この算出したH、Lに基づいてデータを出力する。
In step C3 in FIG. 15, a ruled line is printed together with the data. The data is printed at a position close to the lower ruled line with respect to the ruled line. FIG. 16 shows FIGS.
FIG. 4D is a partially enlarged view of the printing state diagram of FIG. 4D, wherein a gap H between data and an upper ruled line and a gap L between data and a lower ruled line are H: L = 2: 1.
This state is an optimal example, but it is sufficient if at least H> L. In order to perform printing in this manner, the Y of the designated data in the output format designation memory 28 is used.
From the length p of the ruled line for one line in the direction and the length q in the vertical direction of the character pattern of the data, H = (p−q) × 2/3, L = (p
After calculating -q) / 3 in the process of step C3, data is output based on the calculated H and L.

[発明の効果] 以上のように本発明では、全ての情報を統一的に且つ
自動的に処理できる形態に整理統合し、且つ整理統合さ
れた情報を自動的に処理できるようにし、しかもこの処
理は情報を主体にしたものであって、処理内容の指定は
処理すべき情報そのものを指定すればよいから、処理装
置を統一的に設計でき、且つ千差万別の情報であっても
プログラムの作成なしに簡単な指定だけで全ての情報の
処理が可能になる。
[Effect of the Invention] As described above, according to the present invention, all information is unified and integrated into a form that can be automatically and automatically processed, and the integrated information can be automatically processed. Is mainly based on information, and the processing content can be specified by specifying the information to be processed. Therefore, the processing device can be designed in a unified manner, and the program All information can be processed by simple specification without creation.

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

第1図ないし第16図はこの発明の実施例を示したもの
で、第1図は情報処理装置の全体構成図、第2図は入力
処理装置12の入力処理動作を説明する図、第3図は基本
レコード生成装置13の基本レコードの生成動作を説明す
る図、第4図は更新レコード生成装置14の更新レコード
の生成動作を説明する図、第5図(a)、(b)は更新
レコードメモリ23内の更新レコードの記憶状態を示す
図、第6図(a)、(b)はファイルメモリ24内のファ
イルの記憶状態を示す図、第7図はファイル更新処理装
置15のファイル更新動作を説明するフローチャート、第
8図はファイルメモリ24内のレコードの具体例を示す
図、第9図は商品コードのコード体系を説明する図、第
10図は出力レコード指定メモリ26内の指定データの一例
を示す図、第11図は出力レコード生成装置25の出力レコ
ードの生成動作を説明するフローチャートで、同図
(a)、(b)、(c)は作成レコードメモリ21内の出
力レコードファイルの記憶状態を示す図、第12図は作成
レコードメモリ21内のレコードの具体例を示す図、第13
図(a)、(b)、(c)はファイルメモリ24内のレコ
ードの記憶状態を示す図、第14図は出力様式指定メモリ
28内の指定データの一例を示す図で、同図(a)乃至
(k)は各指定データの内容を説明する図、第15図は出
力処理装置27の出力処理動作を示すフローチャートで、
同図(a)乃至(d)は印字状態を示す図、第16図は印
字状態の一部拡大図である。 12……入力処理装置、13……基本レコード生成装置、14
……更新レコード生成装置、15……ファイル更新処理装
置、25……出力レコード生成装置、27……出力処理装
置。
1 to 16 show an embodiment of the present invention. FIG. 1 is an overall configuration diagram of an information processing device, FIG. 2 is a diagram for explaining an input processing operation of an input processing device 12, and FIG. FIG. 4 is a diagram for explaining a basic record generating operation of the basic record generating device 13, FIG. 4 is a diagram for explaining an update record generating operation of the update record generating device 14, and FIGS. FIGS. 6A and 6B show the storage states of the updated records in the record memory 23, FIGS. 6A and 6B show the storage states of the files in the file memory 24, and FIG. FIG. 8 is a flowchart for explaining the operation, FIG. 8 is a diagram showing a specific example of a record in the file memory 24, FIG. 9 is a diagram for explaining a code system of a product code, FIG.
FIG. 10 is a diagram showing an example of designated data in the output record designation memory 26, and FIG. 11 is a flowchart for explaining an output record creation operation of the output record creation device 25. c) is a diagram showing the storage state of the output record file in the created record memory 21, FIG. 12 is a diagram showing a specific example of a record in the created record memory 21, and FIG.
(A), (b) and (c) show the storage state of the records in the file memory 24, and FIG. 14 shows the output format designation memory.
28 is a diagram showing an example of designated data in FIG. 28, (a) to (k) are diagrams for explaining the contents of each designated data, and FIG. 15 is a flowchart showing an output processing operation of the output processing device 27;
16 (a) to 16 (d) show a printing state, and FIG. 16 is a partially enlarged view of the printing state. 12 ... input processing device, 13 ... basic record generation device, 14
... Update record generation device, 15 file update processing device, 25 output record generation device, 27 output processing device.

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭58−52742(JP,A) 特開 昭57−60438(JP,A) 特開 昭62−24364(JP,A) 特開 昭52−79642(JP,A) 特開 平2−24767(JP,A) 特開 平2−39321(JP,A) (58)調査した分野(Int.Cl.7,DB名) G06F 12/00,15/22 ──────────────────────────────────────────────────続 き Continued on the front page (56) References JP-A-58-52742 (JP, A) JP-A-57-60438 (JP, A) JP-A-62-24364 (JP, A) JP-A 52-52 79642 (JP, A) JP-A-2-24767 (JP, A) JP-A-2-39321 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB name) G06F 12 / 00,15 /twenty two

Claims (6)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】更新前のレコードデータを記憶するレコー
ド記憶手段と、 ファイルキーワード、一つ又は複数のレコードキーワー
ド、更新の内容、データワードの各指定からなる更新レ
コードの生成指定に応じて、この任意に指定されたファ
イルキーワード及び更新の内容を含み、前記レコード記
憶手段内のレコードデータからレコードキーワード及び
データワードを抽出して更新レコードを生成する更新レ
コード生成手段と、 この更新レコード生成手段で生成された更新レコードで
あって、前記任意に指定されたファイルキーワード、一
つ又は複数のレコードキーワード、少なくとも集計を示
す更新の内容、データワードからなる更新レコードを記
憶する更新レコード記憶手段と、 一つ又は複数のレコードキーワードとデータワードより
構成されるレコード群をファイル別にキーワードの順に
記憶してなるファイル記憶手段と、 前記更新レコード記憶手段より読み出された更新レコー
ドに含まれている更新の内容が集計であれば、読み出さ
れた更新レコードに含まれているファイルキーワード、
レコードキーワードで指定される前記ファイル記憶手段
内の該当するファイルのレコードを読出し、このファイ
ルのレコードのデータワードに前記更新レコードのデー
タワードを加算集計する更新処理手段と を備えたことを特徴とする情報処理装置。
1. A record storage means for storing record data before update, and a generation specification of an update record comprising specification of a file keyword, one or more record keywords, contents of update, and a data word. Update record generation means for generating an update record by extracting record keywords and data words from record data in the record storage means, the update record generation means including an arbitrarily designated file keyword and update contents; Update record storage means for storing an update record comprising an arbitrarily specified file keyword, one or a plurality of record keywords, at least update content indicating aggregation, and a data word. Or, it consists of multiple record keywords and data words. File storage means for storing a group of records for each file in the order of keywords, and if the contents of updates included in the update records read from the update record storage means are totaled, the read update The file keywords contained in the record,
Update processing means for reading a record of a corresponding file in the file storage means specified by a record keyword, and adding and counting the data word of the update record to the data word of the record of the file. Information processing device.
【請求項2】前記更新レコード記憶手段内の更新の内容
は、更に、訂正若しくは削除、追加集計を示し、 前記更新処理手段はこの更新の内容が訂正若しくは削除
の場合は夫々レコードの訂正処理若しくは削除処理を行
ない、更新の内容が追加集計の場合は前記ファイル記憶
手段に該当するレコードが無ければレコードの追加処理
を行なう 請求項1記載の情報処理装置。
2. The update content in the update record storage means further indicates correction, deletion, and addition and aggregation. If the update content is correction or deletion, the update processing means corrects or deletes the record, respectively. The information processing apparatus according to claim 1, wherein a deletion process is performed, and if the content of the update is addition and aggregation, a record addition process is performed if there is no record corresponding to the file storage unit.
【請求項3】前記更新処理手段は更に、前記更新レコー
ド記憶手段内の更新レコードをファイルキーワード、レ
コードキーワード、更新の内容をキーとしてソートする
手段を備え、 前記ソートされた順に、更新レコードのファイルキーワ
ード、レコードキーワード、更新の内容に従って、前記
ファイル記憶手段内の各ファイルを連続して更新する 請求項1記載の情報処理装置。
3. The update processing means further comprises means for sorting update records in the update record storage means using a file keyword, a record keyword, and the content of the update as keys, and a file of update records in the sorted order. The information processing apparatus according to claim 1, wherein each file in the file storage unit is continuously updated according to a keyword, a record keyword, and the content of the update.
【請求項4】入力された入力レコードを記憶する入力レ
コード記憶手段と、 ファイルキーワード、一つ又は複数のレコードキーワー
ド、更新の内容、入力レコードの各ワードを更新レコー
ドの各ワードに対応付けるデータワードからなり、これ
らの各ワードが任意に設定される指定データを記憶する
更新指定データ記憶手段と、 この更新指定データ記憶手段内の指定データで指定され
ているファイルキーワード及び更新の内容を含み、前記
指定データに基づいて前記入力レコード記憶手段内の入
力レコードからレコードキーワード及びデータワードを
抽出して更新レコードを生成する更新レコード生成手段
と、 この更新レコード生成手段で生成された更新レコードを
記憶する更新レコード記憶手段と、 この更新レコード記憶手段より読み出された更新レコー
ドに含まれているファイルキーワード及びレコードキー
ワードに対応するファイル内の当該レコードに対して、
前記読み出された更新レコードに含まれている更新の内
容で指定されている処理を実行する処理手段と を備えたことを特徴とする情報処理装置。
4. An input record storage means for storing an input record which has been input, a file keyword, one or more record keywords, an update content, and a data word which associates each word of the input record with each word of the update record. Update designation data storage means for storing designation data in which each of these words is arbitrarily set; and a file keyword designated by the designation data in the update designation data storage means and the contents of the update. Update record generation means for extracting a record keyword and a data word from an input record in the input record storage means based on data to generate an update record; and an update record storing the update record generated by the update record generation means. Storage means, read from the update record storage means For the record in the file corresponding to the file keyword and the record keyword included in the updated record
Processing means for executing a process specified by the content of the update included in the read update record.
【請求項5】前記更新レコード記憶手段内の更新の内容
は少なくとも追加・削除・訂正・集計を示す 請求項4記載の情報処理装置。
5. The information processing apparatus according to claim 4, wherein the content of the update in said update record storage means indicates at least addition, deletion, correction, and tallying.
【請求項6】一つ又は複数のレコードキーワードとデー
タワードより構成されるレコード群及び前記レコードキ
ーワードの上位キーワードで集計したデータワードを有
するレコード群からなるファイルを記憶するファイル記
憶手段を備え、 前記更新指定データ記憶手段内の指定データで前記上位
キーワードが指定されている際には、前記更新レコード
生成手段は前記上位キーワードに対応する更新レコード
を生成する 請求項4記載の情報処理装置。
6. A file storage means for storing a file consisting of a record group comprising one or more record keywords and data words and a record group having data words totaled by upper keywords of the record keywords, The information processing apparatus according to claim 4, wherein when the upper-level keyword is specified by the specified data in the update-specification data storage, the update record generator generates an update record corresponding to the upper-level keyword.
JP17540188A 1988-07-14 1988-07-14 Information processing device Expired - Lifetime JP3337469B2 (en)

Priority Applications (8)

Application Number Priority Date Filing Date Title
JP17540188A JP3337469B2 (en) 1988-07-14 1988-07-14 Information processing device
CA000600809A CA1328027C (en) 1988-07-14 1989-05-26 Data processing apparatus
DE68928254T DE68928254T2 (en) 1988-07-14 1989-06-16 Data processing equipment
SG1996004227A SG46392A1 (en) 1988-07-14 1989-06-16 Data processing apparatus
EP89110980A EP0350654B1 (en) 1988-07-14 1989-06-16 Data processing apparatus
KR1019890008775A KR940002481B1 (en) 1988-07-14 1989-06-24 Method and apparatus for data processing
US08/104,352 US5526518A (en) 1988-07-14 1993-08-09 Data processing apparatus
HK98101102A HK1002838A1 (en) 1988-07-14 1998-02-12 Data processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17540188A JP3337469B2 (en) 1988-07-14 1988-07-14 Information processing device

Related Child Applications (2)

Application Number Title Priority Date Filing Date
JP2000083873A Division JP2000298607A (en) 2000-01-01 2000-03-24 Information processor
JP2002163877A Division JP3456481B2 (en) 2002-06-05 2002-06-05 Information processing device

Publications (2)

Publication Number Publication Date
JPH0224736A JPH0224736A (en) 1990-01-26
JP3337469B2 true JP3337469B2 (en) 2002-10-21

Family

ID=15995450

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17540188A Expired - Lifetime JP3337469B2 (en) 1988-07-14 1988-07-14 Information processing device

Country Status (1)

Country Link
JP (1) JP3337469B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2413187A4 (en) * 2009-03-26 2015-12-09 Dainippon Printing Co Ltd Transmission type screen for interactive board

Also Published As

Publication number Publication date
JPH0224736A (en) 1990-01-26

Similar Documents

Publication Publication Date Title
JP3108984B2 (en) Data processing device
JPH04242858A (en) File update processor
JPH05113879A (en) Program creation and data processing method
US5526518A (en) Data processing apparatus
JP3337469B2 (en) Information processing device
US6643632B1 (en) Data processing system and computer-readable recording medium recorded with a program for causing a computer to process data
JP3456481B2 (en) Information processing device
JP2000298607A (en) Information processor
JP3047400B2 (en) Data processing device
JP3109330B2 (en) Form output device
JP3109331B2 (en) Form output device
JP2844460B2 (en) Data processing device
JP3064706B2 (en) Data processing device
JP2760755B2 (en) Method of storing and redisplaying the operation button history for computer processing
JP2636472B2 (en) Hierarchical data placement device
JP2788849B2 (en) Grouping method by serial number description
JPH0224778A (en) Data processor
JP3001549B1 (en) Hierarchical storage method and system for electronic circuit connection information
JP3047401B2 (en) Data processing device
JP3533469B2 (en) Form output device
JP3424473B2 (en) Data processing system
JP3044711B2 (en) File processing device
JP2000289282A (en) Automatic layout generating device, method for automatically generating layout, and recording medium
JPH0528155A (en) Word processor
JP2851071B2 (en) Database device

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080809

Year of fee payment: 6

EXPY Cancellation because of completion of term