JP3280664B2 - Data processing device - Google Patents
Data processing deviceInfo
- Publication number
- JP3280664B2 JP3280664B2 JP17541188A JP17541188A JP3280664B2 JP 3280664 B2 JP3280664 B2 JP 3280664B2 JP 17541188 A JP17541188 A JP 17541188A JP 17541188 A JP17541188 A JP 17541188A JP 3280664 B2 JP3280664 B2 JP 3280664B2
- Authority
- JP
- Japan
- Prior art keywords
- file
- input
- word
- update
- 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 - Lifetime
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 a data processing apparatus that performs file update and output processing such as display and printing based on data input based on a preset definition.
企業の義務は多種多様であり、且つ同一業種といえど
も企業毎に事業内容は異なり、更に企業内の各職場によ
って業務内容は異なるもので、従って各事業体に於いて
発生するデータ、求めているデータは千差万別である。
そのため、現代の企業においてはこれらデータを高速に
処理しかつ管理する手段として、OA(オフィスオートメ
ーション)機器、事務用コンピュータを導入している。The duties of companies are diverse, and even in the same industry, the business content differs from company to company, and the business content differs depending on each workplace in the company. Therefore, data generated at each business entity, There are many different types of data.
Therefore, modern enterprises have introduced OA (office automation) equipment and office computers as a means of processing and managing such data at high speed.
しかしながら、今までのコンピュータ導入企業におい
ては数々の不満があった。即ち今までにOA機器、事務用
コンピュータを導入した企業に於いて、そのコンピュー
タから無駄無益な帳表資料類が大量に出力され、その反
面折角コンピュータを導入していながら、それが効果的
に活用されていないというケースが非常に多い。このこ
とはコンピュータを導入したユーザーの多くが経験して
いることである。このような問題はそのユーザーのソフ
トウエアを担当したSEやプログラマーの能力や感性、或
いはユーザー側の要望の不適性に基づくものである。However, there have been a number of complaints at the conventional computer adoption companies. In other words, in companies that have introduced OA equipment and office computers so far, a large amount of useless book materials are output from the computers, and on the other hand, they have been effectively used while introducing computers with angled corners. Very often, they are not. This is something many computer users have experienced. Such a problem is based on the ability or sensitivity of the SE or programmer responsible for the software of the user, or the inappropriateness of the user's request.
また、ユーザーニーズに求づくシステム設計(データ
処理フロー,ファイル体系,ファイル内容,コード体系
など)には多大な労力,時間,金が必要であった。In addition, a great deal of labor, time, and money were required for system design (data processing flow, file system, file contents, code system, etc.) that required user needs.
この発明の課題は、システム開発が簡単で、かシステ
ムの拡張,保守メンテナンスが迅速に行なえるようにす
ることである。SUMMARY OF THE INVENTION It is an object of the present invention to make system development simple and to quickly expand and maintain a system.
本発明は、入力に必要な複数の入力ワード名を定義す
る為の欄を有する定義表に対して任意の定義された内容
を記憶する入力定義記憶手段と、更新対象ファイル名
と、キーワード名と更新対象の更新ワード名とを定義す
る為の欄を有する定義表に対して任意の定義された内容
を記憶するファイル定義記憶手段と、出力に必要な出力
ワード名とその出力フォーマットとを定義する為の定義
表に対して任意の定義された内容を記憶する出力定義記
憶手段と、上記入力定義記憶手段に記憶された定義表で
定義された各入力ワード名に対応して入力された各デー
タについての入力加工処理を行う入力手段と、該入力手
段で入力された各ワード名に対応の各ワードデータを記
憶するデータ記憶手段と、上記入力手段による入力加工
処理の後にあって、上記ファイル定義記憶手段に記憶さ
れた定義表で定義された更新対象ファイル名を含み、当
該定義表で定義されたキーワード名、更新ワード名に対
応する各ワードデータを上記データ記憶手段より読込ん
で更新用レコードを作成するレコード作成手段と、上記
レコード作成手段で作成された更新用レコードを記憶す
る更新用レコード記憶手段と、ファイル更新の指令に基
づいて、上記更新用レコード記憶手段に記憶された各更
新用レコードに含まれる更新対象ファイル名に該当する
ファイルを対象にして、当該更新用レコードに含まれる
各ワードデータに基づいてファイル更新処理を実行する
ファイル更新手段と、上記入力手段による入力加工処理
の後に起動され、上記出力定義記憶手段に記憶された定
義表で定義された出力ワード名に対応するワードデータ
を上記データ記憶手段から読出して、その定義表で定義
された出力フォーマットにて出力する出力手段と、を具
備したことを特徴とする。The present invention provides input definition storage means for storing any defined contents in a definition table having a column for defining a plurality of input word names required for input, a file name to be updated, a keyword name, A file definition storage means for storing arbitrary defined contents in a definition table having a column for defining an update word name to be updated, an output word name required for output, and its output format are defined Output definition storage means for storing any defined contents with respect to the definition table, and each data input corresponding to each input word name defined in the definition table stored in the input definition storage means An input means for performing an input processing process on, a data storage means for storing each word data corresponding to each word name input by the input means, and Including the name of the file to be updated defined in the definition table stored in the file definition storage means, each word data corresponding to the keyword name and the updated word name defined in the definition table is read from the data storage means and updated. A record creation unit for creating a record, an update record storage unit for storing the update record created by the record creation unit, and each update stored in the update record storage unit based on a file update instruction. File update means for executing a file update process based on each word data included in the update record for a file corresponding to the update target file name included in the update record; It is activated later and corresponds to the output word name defined in the definition table stored in the output definition storage means. The word data is read out from said data storage means, to an output means for outputting at defined output format in the definition table, and characterized by including the.
以下、一実施例を第1図乃至第6図を参照して説明す
る。An embodiment will be described below with reference to FIGS. 1 to 6.
第1図は伝票発行等の処理を行なうデータ処理装置の
システム構成図を示したものである。同図において11は
入力装置で、例えばテンキー、各種処理種別を指定する
機能指定キー、ファンクションキー等を備えている。そ
して、上記入力装置11より入力される処理種別指定デー
タ及びエディットデータは、エディット処理装置12へ送
られ、このエディット処理装置12によりPSファイル13が
アクセスされる。このPSファイル13には、入力すべきワ
ード名とそのワード条件を定義するための定義データ
(以下、A表と言う)と、マスタファイルに対して更新
を行なう際のファイル名、キーワード、更新種別、及び
更新ワードを定義するための定義データ(以下、C表と
言う)と、表示すべきワード名及びその表示フォーマッ
トを定義するための定義データ(以下、D表と言う)、
印字すべきワード名及びその印字フォーマットを定義す
るための定義データ(以下、E表と言う)が各種事務処
理の処理内容別に予め設定記憶されている。なお、各処
理内容別に定義されるA表〜E表を総称して定義書PSと
呼び、上記PSファイル13には複数の定義書PS(PS1,PS2,
…)が設定されている。FIG. 1 shows a system configuration diagram of a data processing apparatus for performing processing such as issuing a slip. In FIG. 1, an input device 11 includes, for example, a numeric keypad, a function designation key for designating various types of processing, and a function key. Then, the process type designation data and the edit data input from the input device 11 are sent to the edit processing device 12, and the edit processing device 12 accesses the PS file 13. The PS file 13 includes word names to be input and definition data (hereinafter referred to as Table A) for defining the word conditions, and file names, keywords, and update types for updating the master file. , And definition data for defining an update word (hereinafter referred to as Table C), definition data for defining a word name to be displayed and its display format (hereinafter referred to as Table D),
Word data to be printed and definition data for defining the printing format (hereinafter referred to as table E) are set and stored in advance for each processing content of various business processes. Tables A to E defined for each processing content are collectively referred to as a definition document PS, and a plurality of definition documents PS (PS1, PS2,
…) Is set.
しかして、上記エディット処理装置12は、入力装置11
からの指示に基づいてファイルフォーマットの作成、PS
ファイル13へのデータ設定及びPSの読出し処理等を行な
うもので、PSファイル13からPSを読出した際は、A表を
入力ワードメモリ14に、C表をファイルワードメモリ16
に、D表を表示ワードメモリ17に、E表を印字ワードメ
モリ18にロードし、その後、入力処理装置20に起動指令
を与える。そして、上記入力ワードメモリ14にロードさ
れたA表は入力処理装置20へ、ファイルワードメモリ16
にロードされたC表はファイル作成装置21へ、表示ワー
ドメモリ17にロードされたD表は表示処理装置22へ、印
字ワードメモリ18にロードされたE表は印字処理装置23
へ読出される。また、上記入力処理装置20には、入力装
置11が接続されると共に、索引テーブルメモリ24、ファ
イルフォーマットメモリ25、ワードメモリ26等のRAMが
接続される。上記索引テーブルメモリ24には、当日の日
付及び伝票発行毎に自動更新される伝番(伝票番号)が
記憶されていると共に、各種扱い商品に対する商品コー
ド、商品名、単価が予め記憶設定されている。また、フ
ァイルフォーマットメモリ25には、入力装置11よりエデ
ィット処理装置12を介してファイルフォーマットが予め
設定される。このファイルフォーマットは、マスタファ
イル29に記憶する各ファイルのフォーマットを規定する
もので、例えば「売上明細ファイル」、「得意先管理フ
ァイル」、「売上管理ファイル」各種ファイルのレコー
ド構造が設定される。上記ファイル例えば「売上明細フ
ァイル」の場合には、「日付伝番、商品コード」をキー
ワード、「単価,数量,金額」を更新ワードとして構成
される。そして、上記入力処理装置20は、入力ワードメ
モリ14から読出したA表、入力装置11からの入力データ
等に基づいて演算、検索等の各種入力演算処理を行な
い、その処理ワードデータをA表で定義されるワード名
に対応づけてワードメモリ26に記憶すると共に、データ
処理に応じてファイル作成装置21、表示処理装置22、印
字処理装置23を起動する。上記ファイル作成装置21に
は、ファイルフォーマットメモリ25、メンテナンスファ
イル27が接続される。上記ファイル作成装置21は、入力
処理装置20からの起動指令によって処理動作を開始し、
ファイルワークメモリ16に記憶されたC表に基づいてフ
ァイル更新用のメンテナンスレコード(このレコードに
は更新すべきファイル名と更新種別を示すコードが含ま
れると共に対応するファイルのレコード構造に一致する
順番でキーワードデータ及び更新ワードデータが含まれ
ている)を作成し、メンテナンスファイル27に順次登録
する。このメンテナンスファイル27には、複数のメンテ
ナンスレコードが登録され、入力装置11あるいは入力処
理装置20からの指令に基づいてファイル更新装置28に送
られ、マスタファイル29内の対応ファイルに対して更新
登録される。また、このマスタファイル29は、入力処理
装置20に読出し可能に接続される。Thus, the edit processing device 12 is provided with the input device 11
Create file format based on instructions from PS
The data setting to the file 13 and the reading of the PS are performed. When the PS is read from the PS file 13, the table A is stored in the input word memory 14, and the table C is stored in the file word memory 16.
Next, the table D is loaded into the display word memory 17 and the table E is loaded into the print word memory 18, and then a start command is given to the input processing device 20. The table A loaded into the input word memory 14 is sent to the input processing device 20 and stored in the file word memory 16.
The table C loaded into the display word memory 17 is sent to the display processing device 22, the table C loaded into the display word memory 17 is sent to the file creation device 21, and the table E loaded into the print word memory 18 is sent to the print processing device 23.
Is read to The input processing device 20 is connected to the input device 11 and RAMs such as an index table memory 24, a file format memory 25, and a word memory 26. The index table memory 24 stores the date of the day and a number (slip number) that is automatically updated each time a slip is issued, and stores, in advance, a product code, a product name, and a unit price for various products. I have. In the file format memory 25, a file format is set in advance from the input device 11 via the edit processing device 12. This file format defines the format of each file stored in the master file 29. For example, the record structures of various files such as “sales detail file”, “customer management file”, and “sales management file” are set. In the case of the above file, for example, a “sales statement file”, “date number, product code” is a keyword, and “unit price, quantity, amount” is an update word. Then, the input processing device 20 performs various input arithmetic processes such as calculation and search based on the A table read from the input word memory 14 and the input data from the input device 11 and the like, and processes the processed word data in the A table. The data is stored in the word memory 26 in association with the defined word name, and the file creation device 21, the display processing device 22, and the print processing device 23 are activated according to the data processing. The file creation device 21 is connected with a file format memory 25 and a maintenance file 27. The file creation device 21 starts a processing operation in response to a start command from the input processing device 20,
Based on the C table stored in the file work memory 16, a maintenance record for file update (this record includes a file name to be updated and a code indicating an update type, and is stored in the order corresponding to the record structure of the corresponding file) (Including keyword data and update word data), and sequentially register them in the maintenance file 27. In the maintenance file 27, a plurality of maintenance records are registered, sent to the file update device 28 based on a command from the input device 11 or the input processing device 20, and updated and registered for the corresponding file in the master file 29. You. The master file 29 is connected to the input processing device 20 in a readable manner.
上記表示処理装置22は、入力処理装置20からの起動指
令により処理動作を開始し、表示ワードメモリ17に記憶
されているD表に基づいてワークメモリ26内のデータを
読出して表示データを作成し、表示装置30に表示する。
印字処理装置23は、入力処理装置20から起動指令が与え
られると、印字ワードメモリ18に記憶されているE表に
基づいてワークメモリ26から読出したデータにより指定
フォーマットの伝票データを作成し、印字装置31を駆動
して伝票をプリントアウトする。The display processing device 22 starts a processing operation in response to a start command from the input processing device 20, reads out data in the work memory 26 based on the D table stored in the display word memory 17, and creates display data. Is displayed on the display device 30.
When a start command is given from the input processing device 20, the print processing device 23 creates chit data in a designated format based on the data read from the work memory 26 based on the E table stored in the print word memory 18, and prints the slip data. The device 31 is driven to print out the slip.
上記PSファイル13には、各種PS例えば第2図に示すよ
うに売上伝票処理を行なうPS1、仕入伝票処理を行なうP
S2、得意先別集計表を出力するPS3、月別売上ファイル
の更新処理を行なうPS4、…等が設定される。The PS file 13 includes various PSs, for example, a PS1 for performing sales slip processing and a P for performing purchase slip processing as shown in FIG.
S2, PS3 for outputting a customer-specific summary table, PS4 for updating a monthly sales file, and so on are set.
上記売上伝票処理を行なう伝票発行型のPS1は、A表
(A11)、C表(C11,C12)、D表(D11)、E表(E11)
からなり、具体的には第3図(a)に示すように構成さ
れる。すなわち、入力されたデータからファイル更新や
伝票出力にとって必要なワードを作成するためのA表
(A11)には、「日付、伝票番号」等のヘディングのワ
ード名が「商品名、金額」等のアイテムのワード名が、
「合計金額」等の後入れヘディングのワード名が設定さ
れる。また、ファイルに対して更新を行なうメンテナン
スレコードを作成するためのC表(C11,C12)には、
「売上集計ファイル」等の更新ファイル名が、「商品
名」等のキーワード名が、「集計」,「追加」,「訂
正」,「削除」等の更新種別を示すコードが、「数
量」,「金額」,「単価」等の更新ワード名が設定され
る。更に表示フォーマットを作成するためのD表(D1
1)及び印字フォーマットを作成するためのE表(E11)
には、伝票フォーマットが設定される。The slip issuing type PS1 that performs the above sales slip processing includes Table A (A11), Table C (C11, C12), Table D (D11), and Table E (E11).
Specifically, it is configured as shown in FIG. 3 (a). That is, in table A (A11) for creating words necessary for file update and slip output from the input data, the heading word name such as “date, slip number” is changed to “product name, amount” or the like. If the word name of the item is
A word name of the last heading such as “total amount” is set. In addition, the C table (C11, C12) for creating a maintenance record for updating the file includes:
The update file name such as “sales total file”, the keyword name such as “product name”, and the code indicating the update type such as “total”, “add”, “correct”, “delete”, etc. are “quantity”, Update word names such as "amount" and "unit price" are set. A table D (D1
1) and E table for creating print format (E11)
Is set to a slip format.
また、上記得意先別集計表を出力する帳票出力型のPS
3は、A表(A31),D表(D31),E表(E31)からなり、具
体的には第3図(b)に示すように構成される。すなわ
ちA表(A31)には、「ファイル名」,「レコード条
件」,「集計条件1」,「集計条件2」が設定され、D
表(D31)及びE表(E31)には帳票フォーマットが設定
される。Also, a form output type PS that outputs the above customer-specific summary table
3 includes a table A (A31), a table D (D31), and a table E (E31), and is specifically configured as shown in FIG. 3 (b). That is, “file name”, “record condition”, “total condition 1”, and “total condition 2” are set in table A (A31),
A form format is set in the table (D31) and the E table (E31).
更に月別売上ファイルの更新処理を行なう更新設定型
のPS4は、A表(A41),C表(C41)からなり、具体的に
は第3図(c)に示すように設定される。すなわち、A
表(A41)には「ファイル名」,「レコード条件」,
「集計条件」が、C表(C41)には「更新ファイル
名」,「キーワード名」,「更新ワード名」が設定され
る。Further, the update setting type PS4 for updating the monthly sales file includes a table A (A41) and a table C (C41), and is specifically set as shown in FIG. 3 (c). That is, A
In the table (A41), “File name”, “Record condition”,
In the C table (C41), "update file name", "keyword name", and "update word name" are set as "total conditions".
上記第3図では、PS1,PS3,PS4の設定例について示し
たが、他のPSについても同様にして各処理内容に応じて
且つユーザの入出力フォームに合わせてそれぞれ独自に
A〜E表が設定される。FIG. 3 shows an example of setting of PS1, PS3, and PS4. However, similarly, for other PSs, tables A to E are respectively independently set in accordance with each processing content and in accordance with the input / output form of the user. Is set.
次に上記実施例の動作を説明する。PSの設定,伝票の
発行,ファイルの更新等の処理を行なう場合、まず、入
力装置11よりPSを指定操作する。PSを設定する場合は、
入力装置11を介してエディット処理装置12をエディット
モードを指定した後にPS指定を行なう。上記入力装置11
からのPS指定データはエディット処理装置12へ送られ、
このエディット処理装置12により第4図のフローチャー
トに示す処理が行なわれる。エディット処理装置12は、
ステップA1において入力装置11からのPS指定の有無をチ
ェックしており、PSが指定されると入力装置11により予
めエディットモードが指定されているか否かを判断し
(ステップA2)、エディットモードが指定されていれば
PSファイル13内に対応するPSファイルが既に設定されて
いるか否かをチェックする(ステップA3)。PSファイル
13に対応するPSファイルが設定されている場合は、対応
PSファイルをエディット処理装置12内のエディットメモ
リ121に読出し(ステップA4)、ステップA5において表
指定入力に備える。PSファイル13に対応ファイルが設定
されていない場合には、ステップA3からそのままステッ
プA5に進んで表指定入力に備える。この状態でオペレー
タは、A〜E表を指定すると共に各表のデータを入力し
てA〜E表を設定する。エディット処理装置12は、オペ
レータによりA表が指定されると、エディットメモリ12
1内のA表エリアを指定し(ステップA6)、ステップA7
でA表のデータの入力に備える。この状態でA表のデー
タが入力されると、その入力データを上記A表エリアに
記憶し、その後、ステップA5に戻って次の表指定が行な
われるまで待機する。以下同様にしてC表についてはス
テップA8,A9により、D表についてはステップA10,A11に
より、E表についてはステップA12,A13によりエディッ
トメモリ121に設定される。以上のようにしてA〜Eの
表指定及びデータ入力を終了してオペレータが終了キー
を操作すると、エディット処理装置12はステップA14に
おいてエディットメモリ121の内容をPSファイル13の対
応ファイルへ書込んでPSの設定を終了する。その後はス
テップA1に戻って次のキー入力に備える。Next, the operation of the above embodiment will be described. When performing processing such as setting of a PS, issuance of a slip, and updating of a file, first, the PS is designated and operated from the input device 11. When setting the PS,
After specifying the edit mode of the edit processing device 12 via the input device 11, PS designation is performed. The above input device 11
The PS designation data from is sent to the edit processing device 12,
The processing shown in the flowchart of FIG. 4 is performed by the edit processing device 12. The edit processing device 12
In step A1, the presence or absence of PS designation from the input device 11 is checked. When PS is designated, it is determined whether or not the edit mode is designated in advance by the input device 11 (step A2), and the edit mode is designated. If it has
It is checked whether the corresponding PS file has already been set in the PS file 13 (step A3). PS file
If a PS file corresponding to 13 is set,
The PS file is read into the edit memory 121 in the edit processing device 12 (step A4), and prepares for a table designation input in step A5. If the corresponding file is not set in the PS file 13, the process directly proceeds from step A3 to step A5 to prepare for table designation input. In this state, the operator designates the tables A to E and inputs the data of each table to set the tables A to E. When the operator designates the table A, the edit processing device 12 edits the edit memory 12.
Specify table A area in 1 (step A6) and step A7
To prepare for the input of the data in Table A. In this state, when the data of table A is input, the input data is stored in the table A area, and thereafter, the process returns to step A5 and waits until the next table is specified. Similarly, the table C is set in the edit memory 121 by steps A8 and A9, the table D is set in steps A10 and A11, and the table E is set in steps A12 and A13. When the operator operates the end key after ending the table designation and data input of A to E as described above, the edit processing device 12 writes the contents of the edit memory 121 to the corresponding file of the PS file 13 in step A14. Finish setting PS. Thereafter, the process returns to step A1 to prepare for the next key input.
また、入力装置11によりエディットモードの解除が指
定されているときにPS指定が行なわれた場合は、PSファ
イル13より対応PSファイルを読出し(ステップA15)、
ステップA16においてA表を入力ワードメモリ14に、C
表をファイルワードメモリ16に、D表を表示ワードメモ
リ17に、E表を印字ワードメモリ18にロードする(ステ
ップA16)と共に、入力処理装置20に起動指令を与える
(ステップA17)。これにより入力処理装置20が起動
し、ファイル更新等に関するデータ入力処理が開始され
る。Also, if the PS designation is performed while the edit mode is canceled by the input device 11, the corresponding PS file is read from the PS file 13 (step A15),
In step A16, the table A is stored in the input word memory 14,
The table is loaded into the file word memory 16, the D table is loaded into the display word memory 17, and the E table is loaded into the print word memory 18 (step A16), and a start command is given to the input processing device 20 (step A17). As a result, the input processing device 20 is activated, and data input processing relating to file updating and the like is started.
上記のデータ入力処理は、入力処理装置20の制御によ
り第5図のフローチャートに従って行なわれる。入力処
理装置20は、第5図のステップB1においてエディット処
理装置12からの起動命令の有無をチェックしており、起
動命令が与えられると、ステップB2に進んで入力ワード
メモリ14にロードしたA表にファイル名が指定されてい
るか否かを判断する。そして、例えば第3図(b)に示
した帳票出力型のPS3のようにA表にファイル名の指定
が有る場合はマスタファイル29内の上記指定ファイルか
らレコードをリードし(ステップB3)、ワード名とワー
ド条件、例えばワード名として「日付伝番」、ワード条
件として4桁が同一のものを示す条件式が定義されてい
るA表に基づいてその定義に一致したデータを検索し
(ステップB4)、A表に定義された条件に基づく集計処
理を行なう(ステップB5)。この集計結果は、ステップ
B6においてワークファイル26に書込まれる。The above data input processing is performed according to the flowchart of FIG. 5 under the control of the input processing device 20. The input processing device 20 checks the presence or absence of a start command from the edit processing device 12 in step B1 of FIG. 5. When the start command is given, the process proceeds to step B2 and the A table loaded into the input word memory 14 is read. It is determined whether or not a file name is specified. If the file name is specified in table A, for example, as in the form output type PS3 shown in FIG. 3 (b), the record is read from the specified file in the master file 29 (step B3). Data matching the definition is searched based on Table A in which a condition expression indicating a name and a word condition, for example, "date number" as the word name and the same four digits as the word condition is defined (step B4). ), A totaling process is performed based on the conditions defined in Table A (step B5). The result of this aggregation is
It is written to the work file 26 at B6.
以下、ステップB7でA表の指定に基づく処理が終了し
たと判別されるまで上記ステップB2乃至B6を繰り返し、
指定ファイルのデータの集計結果がワークメモリ26に記
憶される。そしてA表の指定に基づいた処理が終了した
と判断されると、入力ワードメモリ14に他のA表が有る
か否かをチェックし(ステップB8)、他のA表が有れば
そのA表の定義データをリードし(ステップB9)、その
後ステップB2に戻って上記した処理を繰返す。そしてス
テップB8において全てのA表に対する処理が終了したと
判別されるとステップB14に進んでファイル作成装置28
及び印字処理装置を起動してステップB1に戻り、次の入
力起動に備える。Hereinafter, steps B2 to B6 are repeated until it is determined in step B7 that the processing based on the designation of the table A has been completed,
The result of counting the data of the specified file is stored in the work memory 26. When it is determined that the processing based on the designation of the A table has been completed, it is checked whether or not there is another A table in the input word memory 14 (step B8). The table definition data is read (step B9), and thereafter, the process returns to step B2 to repeat the above processing. If it is determined in step B8 that the processing for all tables A has been completed, the process proceeds to step B14, where the file creation device 28
Then, the print processing device is started, and the process returns to step B1 to prepare for the next input start.
また、第3図(a)に示した伝票型のPS1のように、
A表にファイル名の指定がない場合は、ステップB2から
ステップB10に進んで表示処理装置22を起動する。この
表示処理装置22は、入力処理装置20から起動指令が与え
られると、表示ワードメモリ17にロードされているD表
に従って表示装置30に伝票フォーマットを表示し、画面
上にカーソルを表示してデータ入力を指示する。オペレ
ータは、画面の入力指示に従って入力装置11よりデータ
を入力する(ステップB11)。入力処理装置20は、入力
装置11からの入力データをワークメモリ26に書込む(ス
テップB12)。その後、入力処理装置20は、1伝票分の
データ入力の終了を示す終了キーが指定操作されたか否
かを判断し(ステップB13)、終了していなければステ
ップB11に戻って同様の処理を繰り返して行なう。そし
て、上記終了キーが操作され、1伝票分のデータの入力
加工処理が終了したとみなされた場合にステップB14に
進んでファイル作成装置21及び印字処理装置23を起動し
てステップB1に戻り、次の入力起動に備える。Also, like the slip type PS1 shown in FIG.
When the file name is not specified in the table A, the process proceeds from the step B2 to the step B10 to start the display processing device 22. When a start command is given from the input processing device 20, the display processing device 22 displays the slip format on the display device 30 in accordance with the D table loaded in the display word memory 17, displays a cursor on the screen, and displays the data format. Specify input. The operator inputs data from the input device 11 according to the input instruction on the screen (step B11). The input processing device 20 writes the input data from the input device 11 into the work memory 26 (step B12). Thereafter, the input processing device 20 determines whether an end key indicating the end of data input for one slip has been designated (step B13), and if not, returns to step B11 and repeats the same processing. Do it. Then, when the end key is operated and it is considered that the input processing of one slip data has been completed, the process proceeds to step B14, where the file creation device 21 and the print processing device 23 are activated, and the process returns to step B1, Prepare for next input activation.
上記ステップB14においてファイル作成装置21を起動
することにより、C表に基づくメンテナンスレコードの
作成処理が第6図のフローチャートに従って行なわれ
る。By activating the file creation device 21 in step B14, the maintenance record creation process based on the table C is performed according to the flowchart of FIG.
ファイル作成装置21は、ステップC1において入力処理
装置20からの起動指令の有無をチェックしており、起動
指令が与えられるとファイルワードメモリ16にマスタフ
ァイルに対して更新を行なう際のファイル名、キーワー
ド、更新種別、及び更新ワードを定義するC表がロード
されているか否かをチェックし(ステップC2)、C表が
無ければそのままステップC1に戻る。しかし、C表があ
れば上記第5図の処理によりワークメモリ26に記憶され
たレコードをリードし、このレコードに含まれるワード
データを上記C表に基づいてキーワードデータ、更新ワ
ードデータとして記憶保持するメンテナンスレコードの
作成処理を行なう(ステップC4)。そして、上記メンテ
ナンスレコードの作成処理を終了すると、ステップC5に
おいてファイルワードメモリ16に他のC表がロードされ
ているかを判断し、他のC表が有ればステップC4に戻っ
てそのC表に基づいてメンテナンスレコードを作成す
る。そして、ステップC5において他のC表が無いと判断
されると、更にステップC6においてワークメモリ26内の
全レコードに対する処理を終了したか否かを判断し、終
了していなければワークメモリ26から次のレコードをリ
ードし、ステップC4に戻ってメンテナンスレコードの作
成処理を続行する。そして、全レコードに対する処理を
終了すると、ステップC6からステップC1に戻って次の起
動指令に備える。The file creation device 21 checks in step C1 whether there is a start command from the input processing device 20, and when a start command is given, a file name and a keyword when updating the master file in the file word memory 16 are set. It is checked whether the C table defining the update type and the update word has been loaded (step C2). If there is no C table, the process returns to step C1. However, if there is a table C, the record stored in the work memory 26 is read by the processing shown in FIG. 5, and the word data included in this record is stored and held as keyword data and update word data based on the table C. A maintenance record is created (step C4). When the maintenance record creation process is completed, it is determined in step C5 whether another C table has been loaded into the file word memory 16. If there is another C table, the process returns to step C4 and returns to that C table. Create a maintenance record based on it. If it is determined in step C5 that there is no other C table, it is further determined in step C6 whether or not the processing for all records in the work memory 26 has been completed. And returns to step C4 to continue the maintenance record creation process. When the processing for all records is completed, the process returns from step C6 to step C1 to prepare for the next start command.
また、上記第5図のステップB14において印字処理装
置23が起動されることにより、E表に基づく印字処理が
第7図のフローチャートに従って行なわれる。印字処理
装置23は、第7図のステップD1において入力処理装置20
からの起動指令の有無をチェックしており、起動指令が
与えられるとステップD2に進んで印字ワードメモリ18に
E表がロードされているか否かをチェックし、E表が無
ければそのままステップD1に戻る。しかし、E表があれ
ばE表で定義されるワード名に対応するワードデータを
ワークメモリ26よりリードし(ステップD3)、上記E表
で定義される印字フォーマットで印字処理する(ステッ
プD4)。その後、ステップD5において印字ワードメモリ
18に他のE表が有るかを判断し、他のE表が有ればその
E表をリードしてステップD3に戻る。以下、同様の処理
を繰返し、E表指定のワード名のワードデータをE表指
定の印字フォーマットで印字を行なう。そして、ステッ
プD5において他のE表が無いと判断されると、ステップ
D1に戻って次の起動指令に備える。When the print processing device 23 is started in step B14 in FIG. 5, the printing process based on the table E is performed according to the flowchart in FIG. The print processing device 23 is operated by the input processing device 20 in step D1 of FIG.
If the start command is given, the flow advances to step D2 to check whether or not the E table is loaded in the print word memory 18. If there is no E table, the process directly proceeds to step D1. Return. However, if there is an E table, the word data corresponding to the word name defined in the E table is read from the work memory 26 (step D3), and the print processing is performed in the print format defined in the E table (step D4). Then, in step D5, print word memory
It is determined whether there is another E table in 18, and if there is another E table, that E table is read and the process returns to step D3. Hereinafter, the same processing is repeated, and the word data of the word name specified in the E table is printed in the print format specified in the E table. If it is determined in step D5 that there is no other E table, step
Return to D1 to prepare for the next start command.
以上のようにしてPSファイル13へのPSの設定が行なわ
れると共に、PSファイル13に設定したPSに基づいて伝票
の発行、明細ファイルの集計並びに更新等の処理が行な
われる。As described above, the setting of the PS in the PS file 13 is performed, and processing such as issuance of a slip, totalization and update of a detailed file is performed based on the PS set in the PS file 13.
尚、上記実施例において、ファイル作成装置21及び印
字処理装置23は、ワークメモリ26に対する入力処理装置
20のワードデータ書込み処理が全て終了した後に起動が
かけられているが、1レコード分のワードデータがワー
クメモリ26内に書込まれた後に起動がかかるようにして
も良く、またファイル作成装置21と印字処理装置23とは
同時に起動する必要もない。要は入力処理装置20、ファ
イル作成装置21、印字処理装置23、及び表示処理装置22
が夫々独立した処理を行なうものであれば良く、かつ上
記各装置に対して独立した定義設定を行なえれば良い。In the above embodiment, the file creation device 21 and the print processing device 23 are input processing devices for the work memory 26.
Although the activation is performed after all the word data writing processes of 20 are completed, the activation may be performed after the word data for one record is written in the work memory 26. And the print processing device 23 need not be started at the same time. In short, the input processing device 20, the file creation device 21, the print processing device 23, and the display processing device 22
It is only necessary to perform independent processing for each device, and it is sufficient if independent definition settings can be made for each of the above devices.
また、上記実施例では、メンテナンスレコードに更新
対象のファイル名、更新種別名も記憶するようにした
が、必ずしも必要ではなく、例えばファイル更新装置28
の更新処理時に、ファイルワードメモリ16内のC表で定
義されているファイル名及び更新種別名に基づいて更新
してもよい。この際に、ファイル更新処理装置28は前述
のメンテナンスレコードが作成される毎に更新処理を実
行するように構成してもよい。Further, in the above embodiment, the file name to be updated and the update type name are also stored in the maintenance record. However, this is not always necessary.
May be updated on the basis of the file name and the update type name defined in the table C in the file word memory 16 during the update process. At this time, the file update processing device 28 may be configured to execute the update process every time the above-mentioned maintenance record is created.
また、上記実施例ではA表等の各表の定義において、
ワード名を文字で示したが、レコード内のワード順序等
に対応付けた数値で示してもよい。更に、ファイルフォ
ーマットメモリ25は必ずしも必要ではなく、この場合に
は、ファイルワードメモリ16内のC表の定義において、
ファイルのレコード構成のワード順序に対応した順序で
各ワードに配置すべきワード名を定義するようにすれば
よい。In the above embodiment, in the definition of each table such as Table A,
Although the word name is indicated by characters, it may be indicated by a numerical value associated with the word order in a record. Further, the file format memory 25 is not always necessary. In this case, in the definition of the C table in the file word memory 16,
What is necessary is just to define the word name to be allocated to each word in the order corresponding to the word order of the record configuration of the file.
[発明の効果] 本発明によれば、複数データの入力加工処理、この入
力加工処理された各データに基づくファイル更新処理、
上記入力加工処理された各データに基づく出力処理、に
対する定義を、その各処理に対応した定義内容を簡易に
定義するために用意された夫々の定義表によるワード名
定義により行えるようにしたので、その個々の処理に対
応する個別の定義設定を比較的簡易に行うことができる
ものであり、また上記定義表でのワード名に対応して入
力加工処理された各ワードデータは、ファイル更新処理
用の定義表、出力処理用の定義表により夫々定義された
各種ワード名により引用されて、ワードデータの引渡し
を行えるようにしているので、ワード名という各定義表
に共通のラベルを介してのワードデータの入力加工処
理、ファイル更新処理、出力処理が可能となる。[Effects of the Invention] According to the present invention, input processing of a plurality of data, file update processing based on each of the input processed data,
Since the output process based on each of the data processed by the input processing can be defined by the word name definition in each definition table prepared for simply defining the definition corresponding to each process, Individual definition settings corresponding to the individual processes can be made relatively easily. Each word data input and processed corresponding to the word name in the above definition table is used for file update processing. Are referred to by the various word names defined by the definition table and the definition table for output processing, respectively, so that word data can be delivered. Data input processing, file update processing, and output processing can be performed.
図面はこの発明の実施例を示したもので、第1図は伝票
処理装置のシステム構成図、第2図及び第3図はPSファ
イルにおける各種ファイルの設定例を示す図、第4図は
エディット処理動作を示すフローチャート、第5図は入
力処理動作を示すフローチャート、第6図はファイル作
成処理動作を示すフローチャート、第7図は印字処理動
作を示すフローチャートである。 11……入力装置、12……エディット処理装置、13……PS
ファイル、14……入力ワードメモリ、16……ファイルワ
ードメモリ、17……表示ワードメモリ、18……印字ワー
ドメモリ、20……入力処理装置、21……ファイル作成装
置、22……表示処理装置、23……印字処理装置、24……
索引テーブルメモリ、25……ファイルフォーマットメモ
リ、26……ワークメモリ、27……メンテナンスファイ
ル、28……ファイル更新装置、29……マスタファイル、
30……表示装置、31……印字装置。FIG. 1 shows an embodiment of the present invention. FIG. 1 is a system configuration diagram of a slip processing device, FIGS. 2 and 3 are diagrams showing examples of setting various files in a PS file, and FIG. 4 is an edit diagram. FIG. 5 is a flowchart showing an input processing operation, FIG. 6 is a flowchart showing a file creation processing operation, and FIG. 7 is a flowchart showing a printing processing operation. 11 Input device, 12 Edit processing device, 13 PS
File, 14 input word memory, 16 file word memory, 17 display word memory, 18 print word memory, 20 input processing device, 21 file creation device, 22 display processing device , 23 …… Print processing device, 24 ……
Index table memory, 25: File format memory, 26: Work memory, 27: Maintenance file, 28: File updating device, 29: Master file,
30 ... display device, 31 ... printing device.
───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭58−52742(JP,A) 特開 昭62−24364(JP,A) 特開 昭63−273161(JP,A) 特開 昭62−290970(JP,A) 特開 平2−24763(JP,A) 特開 平2−24767(JP,A) 実開 昭62−89051(JP,U) (58)調査した分野(Int.Cl.7,DB名) G06F 12/00,19/00 ──────────────────────────────────────────────────続 き Continuation of the front page (56) References JP-A-58-52742 (JP, A) JP-A-62-24364 (JP, A) JP-A-63-273161 (JP, A) JP-A-62-273161 290970 (JP, A) JP-A-2-24763 (JP, A) JP-A-2-24767 (JP, A) JP-A-62-289051 (JP, U) (58) Fields investigated (Int. Cl. 7 , DB name) G06F 12 / 00,19 / 00
Claims (1)
る為の欄を有する定義表に対して任意の定義された内容
を記憶する入力定義記憶手段と、 更新対象ファイル名と、キーワード名と更新対象の更新
ワード名とを定義する為の欄を有する定義表に対して任
意の定義された内容を記憶するファイル定義記憶手段
と、 出力に必要な出力ワード名とその出力フォーマットとを
定義する為の定義表に対して任意の定義された内容を記
憶する出力定義記憶手段と、 上記入力定義記憶手段に記憶された定義表で定義された
各入力ワード名に対応して入力された各データについて
の入力加工処理を行う入力手段と、 該入力手段で入力された各ワード名に対応の各ワードデ
ータを記憶するデータ記憶手段と、 上記入力手段による入力加工処理の後にあって、上記フ
ァイル定義記憶手段に記憶された定義表で定義された更
新対象ファイル名を含み、当該定義表で定義されたキー
ワード名、更新ワード名に対応する各ワードデータを上
記データ記憶手段より読込んで更新用レコードを作成す
るレコード作成手段と、 上記レコード作成手段で作成された更新用レコードを記
憶する更新用レコード記憶手段と、 ファイル更新の指令に基づいて、上記更新用レコード記
憶手段に記憶された各更新用レコードに含まれる更新対
象ファイル名に該当するファイルを対象にして、当該更
新用レコードに含まれる各ワードデータに基づいてファ
イル更新処理を実行するファイル更新手段と、 上記入力手段による入力加工処理の後に起動され、上記
出力定義記憶手段に記憶された定義表で定義された出力
ワード名に対応するワードデータを上記データ記憶手段
から読出して、その定義表で定義された出力フォーマッ
トにて出力する出力手段と、 を具備したことを特徴とするデータ処理装置。1. An input definition storage means for storing arbitrary defined contents in a definition table having a column for defining a plurality of input word names required for input, a file name to be updated, and a keyword name File definition storage means for storing any defined contents in a definition table having a column for defining the update word name to be updated and the output word name required for output and its output format Output definition storage means for storing any defined contents with respect to the definition table for performing, and each input word corresponding to each input word name defined in the definition table stored in the input definition storage means Input means for performing input processing on data; data storage means for storing each word data corresponding to each word name input by the input means; and input processing after input processing by the input means. Including the file name to be updated defined in the definition table stored in the file definition storage means, and reading the word data corresponding to the keyword names and update word names defined in the definition table from the data storage means. Record creation means for creating an update record; update record storage means for storing the update record created by the record creation means; and an update record storage means based on a file update instruction. File update means for executing a file update process based on each word data included in the update record for a file corresponding to the update target file name included in each update record, and input processing by the input means It is started after the processing, and the output word name defined in the definition table stored in the output definition storage means is An output unit for reading out corresponding word data from the data storage unit and outputting the read word data in an output format defined by a definition table thereof.
Priority Applications (7)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP17541188A JP3280664B2 (en) | 1988-07-14 | 1988-07-14 | Data processing device |
| CA000600811A CA1321034C (en) | 1988-07-14 | 1989-05-26 | Apparatus and method for processing data corresponding to word labels |
| EP89110978A EP0358860B1 (en) | 1988-07-14 | 1989-06-16 | Apparatus and method for processing data corresponding to labels |
| DE68928255T DE68928255T2 (en) | 1988-07-14 | 1989-06-16 | Apparatus and method for processing data of a label |
| KR1019890008777A KR940002483B1 (en) | 1988-07-14 | 1989-06-24 | File update device and method |
| US07/891,678 US5283895A (en) | 1988-07-14 | 1992-05-28 | Apparatus and method for processing data corresponding to word labels |
| HK98101101A HK1002837A1 (en) | 1988-07-14 | 1998-02-12 | Apparatus and method for processing data corresponding to labels |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP17541188A JP3280664B2 (en) | 1988-07-14 | 1988-07-14 | Data processing device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH0224747A JPH0224747A (en) | 1990-01-26 |
| JP3280664B2 true JP3280664B2 (en) | 2002-05-13 |
Family
ID=15995626
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP17541188A Expired - Lifetime JP3280664B2 (en) | 1988-07-14 | 1988-07-14 | Data processing device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3280664B2 (en) |
-
1988
- 1988-07-14 JP JP17541188A patent/JP3280664B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPH0224747A (en) | 1990-01-26 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH04242858A (en) | File update processor | |
| JPH07302257A (en) | Electronic performance support system of computer mounting and its mounting method | |
| JP7533714B2 (en) | Information processing device, information processing method, and program | |
| US5526518A (en) | Data processing apparatus | |
| JP3280664B2 (en) | Data processing device | |
| JP2001076045A (en) | Business flow diagram creation support device and its recording medium | |
| JP3044711B2 (en) | File processing device | |
| JP3044710B2 (en) | Data processing device | |
| JP3134505B2 (en) | Slip processing device | |
| JP2734535B2 (en) | Form output device | |
| WO2001093083A2 (en) | Computer-implemented method and apparatus for creating advertising media | |
| JP3047399B2 (en) | File processing device | |
| JP7812767B2 (en) | Packaging management device, packaging management method, and packaging management program | |
| JP7554789B2 (en) | Product master registration business support device, product master registration business support method and product master registration business support program | |
| JP7363259B2 (en) | Information processing device, support method and program | |
| JP2788235B2 (en) | Data item attribute management processing method | |
| JP2000250744A (en) | Software requirement definition support device | |
| JP3082083B2 (en) | How to create customizable tables | |
| JP3063612U (en) | Customizable business program processor | |
| JPH0224740A (en) | data processing equipment | |
| JP2831866B2 (en) | Spreadsheet software cooperation processing device | |
| JP3047398B2 (en) | File processing device | |
| KR940002483B1 (en) | File update device and method | |
| JP2806231B2 (en) | Form output management apparatus and method | |
| JP3067815U (en) | Customizable table data update processor |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090222 Year of fee payment: 7 |
|
| EXPY | Cancellation because of completion of term | ||
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090222 Year of fee payment: 7 |