JPS5919378B2 - Data update control method - Google Patents
Data update control methodInfo
- Publication number
- JPS5919378B2 JPS5919378B2 JP52096616A JP9661677A JPS5919378B2 JP S5919378 B2 JPS5919378 B2 JP S5919378B2 JP 52096616 A JP52096616 A JP 52096616A JP 9661677 A JP9661677 A JP 9661677A JP S5919378 B2 JPS5919378 B2 JP S5919378B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- area
- contents
- update
- key
- 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
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Input From Keyboards Or The Like (AREA)
Description
【発明の詳細な説明】
本発明は、データ更新制御方法、特に複数の入力装置(
入出力装置を含む)からランダムに更新されるデータを
管理し、一旦入力した更新データに誤りなどがあつてキ
ャンセルする場合にも、キャンセル指示を与えるだけで
正しく復元できるようにしたデータ更新制御方法に関す
るものである。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a data update control method, particularly a method for controlling data update using a plurality of input devices (
A data update control method that manages data that is randomly updated from input/output devices (including input/output devices), and allows correct restoration by simply issuing a cancellation instruction even if the updated data that has been input contains an error and needs to be canceled. It is related to.
例えばキーボード・プリンタなどの入力装置によつて、
商品名、売上げ数量、単価を乗算した結果の売上金額な
どの帳票を作成することが行なわれている。即ち、キー
ボード・プリンタによつてオペレータが売上げ商品名に
対応したキー・データを入力すると、上記プリンタによ
つて商品コードと商品名とが帳票上に打出され、次にオ
ペレータが売上げ数量を入力すると、プリンタは該数量
を帳県上に打出すと共に上記売上金額を打出すことが行
なわれている。この場合、上記売上げに対応してマスタ
・フアイル側では当該商品の在庫数を管理してゆくよう
にされる。上記のようなキーボード・プリンタが複数個
存在しており、各キーボード・プリンタが互にランダム
に動作している間にオペレータが例えば上記売上げ数量
を間違つて入力した場合などを考慮すると、上記在庫数
管理に重大な混乱を生じ易い。For example, by input devices such as keyboards and printers,
A report is created that shows the product name, sales quantity, and sales amount as a result of multiplying the unit price. That is, when an operator inputs key data corresponding to the name of a sold product using a keyboard/printer, the product code and product name are printed on the form by the printer, and then when the operator inputs the sales quantity. The printer prints out the quantity on the book and also prints out the sales amount. In this case, the master file side manages the number of items in stock in accordance with the sales. If there are multiple keyboard printers as described above, and the operator inputs the above sales quantity incorrectly while each keyboard printer is operating randomly, the above inventory This can easily cause serious confusion in number management.
本発明は上記の点を考慮して誤りを生じたオペレータが
キヤンセルを指示するだけで正しく復元できるようにす
ることを目的としている。そしてそのため、本発明のデ
ータ更新制御方法は複数のレコード単位で構成されるブ
ロツク単位の情報を格納するマスタ・フアイル、該マス
タ・フアイルからの情報を読出しまたは該マスタ・フア
イルに情報を書込む制御装置、少なくとも上記レコード
単位に対応するキー・データと当該キー・データに対す
る更新データと該更新データをキヤンセルするキヤンセ
ル指示とを入力し得る複数台の入力装置を有する制御シ
ステムにおいて、上記制御装置は上記各入力装置に対応
してデータ領域とリード・スタツク領域とキー・セープ
領域とリライトスタツク領域とを有する情報格納部をそ
なえてなり、上記1つの入力装置から上記キー・データ
が与えられたとき当該キー・データに対応したレコード
単位の内容を上記データ領域にセツトすると共に該レコ
ード単位中の更新可能データの内容を上記リード・スタ
ツク領域にセツトし、当該入力装置から上記更新データ
が与えられたとき上記リード・スタツク領域の内容と上
記更新データによつて更新された後の上記更新可能デー
タとの変化量を上記リライト・スタツク領域にセツトセ
しめ、上記当該入力装置から上記キヤンセル指示が与え
られたとき上記更新された後の更新可能データと上記リ
ライト・スタツク領域の内容とによつて上記データ領域
の内容を上記更新データによる更新前の状態に復元し、
上記マスタ・フアイルに格納するようにしたことを特徴
としている。以下図面を参照しつつ説明する。図は本発
明の方法を実行するシステムの一実施例を示す。In consideration of the above points, the present invention aims to enable an operator who has made an error to restore the system correctly by simply instructing cancel. Therefore, the data update control method of the present invention includes a master file that stores information in units of blocks consisting of a plurality of records, and a control method for reading information from the master file or writing information to the master file. In a control system having a plurality of input devices capable of inputting at least key data corresponding to the record unit, update data for the key data, and a cancel instruction for canceling the update data, the control device an information storage section having a data area, a read stack area, a key save area, and a rewrite stack area corresponding to each input device, and when the key data is given from the one input device; The contents of the record unit corresponding to the key data are set in the data area, the contents of the updatable data in the record unit are set in the read stack area, and the update data is given from the input device. When the amount of change between the contents of the read stack area and the updatable data after being updated by the update data is set in the rewrite stack area, and the cancel instruction is given from the input device. and restoring the contents of the data area to the state before the update by the update data using the updated updatable data and the contents of the rewrite stack area;
It is characterized in that it is stored in the master file. This will be explained below with reference to the drawings. The figure shows an embodiment of a system for carrying out the method of the invention.
図中、1はマスタ・フアイル、2は制御装置、3−1,
3−2,・・・,3−nは夫々キーボード・プリンタ、
4は入出力バツフア、5は演算部、6−1,6−2,・
・・は夫々キーボード・プリンタに対応したバツフア領
域、1−1,7−2は夫々データ領域、8−1,8−2
は夫々リード・スタツク領域、9−1,9−2,11−
1,11−2,13−1,13−2は夫々キー・セーブ
領域、10−1,10−2,12−1,12−2,14
−1,14−2は夫々リライト・スタツク領域、15は
キーボード・プリンタによつて打出される帳票の1例を
表わしている。制御装置2における入出力バツフア4に
は、例えば各キーボード・プリンタに1対1に対応して
バツフア領域6−1,6−2,・・・がもうけられてい
る。In the figure, 1 is the master file, 2 is the control device, 3-1,
3-2, . . . , 3-n are each a keyboard/printer,
4 is an input/output buffer, 5 is an arithmetic unit, 6-1, 6-2, .
... are buffer areas corresponding to the keyboard and printer, respectively, 1-1, 7-2 are data areas, 8-1, 8-2, respectively.
are the read stack areas, 9-1, 9-2, 11-, respectively.
1, 11-2, 13-1, 13-2 are key save areas, 10-1, 10-2, 12-1, 12-2, 14
-1 and 14-2 each represent a rewrite stack area, and 15 represents an example of a form printed out by the keyboard printer. In the input/output buffer 4 of the control device 2, buffer areas 6-1, 6-2, . . . are provided in one-to-one correspondence with, for example, each keyboard and printer.
そして各バツフア領域は、データ領域1、リード・スタ
ツク領域8、キーセープ領域9,11,13・・・ リ
ライト・スタツク領域10,12,14,・・・をそな
えている。なお、上記データ領域7一1,7−2・・・
は、各バツフア領域6−1,6−2;・・に対応して換
言すると各キーボード・プリンタ3−1,3−2・・・
に対応して少なくとも1つづつもうけられており、キー
ボード・プリンタから入力されたキー・データ例えば商
品コードAに対応したレコードYAがマスタ・フアイル
1から読出されて一時保持されるものである。Each buffer area has a data area 1, a read stack area 8, key save areas 9, 11, 13, . . . rewrite stack areas 10, 12, 14, . Note that the data areas 7-1, 7-2, . . .
corresponds to each buffer area 6-1, 6-2;... In other words, each keyboard/printer 3-1, 3-2...
At least one record is created corresponding to the key data entered from the keyboard/printer, such as record YA corresponding to product code A, which is read from master file 1 and temporarily held.
7jお各レコードは、例えば(I商品コード、(6)商
品名、(財)在庫量、(至)単価を1組としたデータに
よつて構成されており、商品コードAのものの在庫量が
現在100個でありかつその単価が500円とすると、
上述の如く商品コードAにもとづいてマスタ・フアイル
1から読出されてデータ領域7一1に保持されるレコー
ドYAは、「A,****,100,500」の如き内
容をもつものとなる。7j Each record is composed of a set of data such as (I product code, (6) product name, (goods) inventory amount, and (to) unit price, and the inventory amount of product code A is If there are currently 100 pieces and the unit price is 500 yen,
As mentioned above, record YA read from master file 1 based on product code A and held in data area 7-1 has contents such as "A, ****, 100, 500". .
上記リード・スタツク領域8−1,8−2・・・は、各
キーボード・プリンタに対応して少なくとも1つづつも
うけら坂データ領域7一1,7−2・・・に保持された
レコードのデータの中での更新可能データを一時保持す
るものである。The read stack areas 8-1, 8-2, etc. have at least one record stored in the data areas 7-1, 7-2, and so on corresponding to each keyboard/printer. It temporarily holds updatable data in the data.
上記の例で言えば、、レコードYA中の在庫量「100
」が更新可能データとしてリード・スタツク領域8−1
に保持される。なお更新可能データというのは更新対象
となり得るデータ、例えば数量データなどと考えてよい
。上記キー・セープ領域9−1,9−2・・・,11−
1,11−2・・・,13−1,13−2・・・は、各
キーボード・プリンタ3−1,3−2・・・に対応して
複数個づつもうけられ、キーボード・プリンタから入力
された各キー・データを保持するものである。In the above example, the inventory amount in record YA is “100”.
” is read stack area 8-1 as updatable data.
is maintained. Note that updatable data may be considered to be data that can be updated, such as quantitative data. The above key save area 9-1, 9-2..., 11-
1, 11-2..., 13-1, 13-2... are created in plural numbers corresponding to each keyboard/printer 3-1, 3-2..., and are input from the keyboard/printer. It holds each key data.
更にリライト・スタツク領域10−1,10−2・・・
,12−1,12−2・・・,14−1,14−2・・
・は、各キーボード・プリンタ3−1,3−2・・・に
対応して複数個づつもうけられ、更新可能データに対す
る更新量を保持するものであり、図示実施例においては
各キー・セープ領域と1対lに対応してもうけられてい
る。上記キー・セープ領域9,11,13・・・と上記
リライト・スタツク領域10,12,14・・・とは、
先に行なわれた更新がどのレコードに対してどれだけの
数量だけ行なわれたかをセープするものである。例えば
商品コードAの商品に対して数量「10」個売上げられ
たとすると、キー・セープ領域9−1内に商品コード「
A」がセープされかつリライト・スタツク領域10−1
内に売上げ数量「10」がセープされる。また各キーボ
ード・プリンタ3−1,3−2,・・・,3−nは夫々
独立に例えばリード指示、リライト指示、キヤンセル指
示を行ない、これと共に更新データや例えば売上げ商品
名に対応したキー・データなどを入力できるようにされ
ている。Furthermore, rewrite stack areas 10-1, 10-2...
, 12-1, 12-2..., 14-1, 14-2...
A plurality of . . It is obtained by a one-to-l correspondence. The key save areas 9, 11, 13... and the rewrite stack areas 10, 12, 14... are as follows:
This saves how many records the previous update was made to. For example, if a quantity of ``10'' is sold for a product with product code A, the product code "
A" is saved and rewrite stack area 10-1
The sales quantity "10" is saved within. In addition, each keyboard/printer 3-1, 3-2, . . . , 3-n independently issues, for example, a read instruction, a rewrite instruction, and a cancel instruction. It allows you to enter data etc.
(1)今例えば1つのキーボード・プリンタ3−1にお
いて、オペレータが売上げ商品名に対応したキー・デー
タAを入力すると、該キー・データはそのままリード指
示になり、制御装置2内のキー・セープ領域9−1内に
セツトされる。(2)制御装置2は、ストアト・プログ
ラム処理機能をそなえており、上記キー・セープ領域9
一1の内容Aにもとづいて当該キー・データAに対応し
たレコードYAを読出すべくマスタ・フアイル1に対し
て読出しアクセスを行なう。(3)マスタOフアイル1
の制御においては、当該レコードYAを含むブロツク単
位に対して重複読出しを禁止すると共に、当該レコード
YAがゼータ領域7一1にセツトされる。(4)制御装
置2においては、該レコードYA中の更新可能データ例
えば在庫量データなど例えば在庫量「100」がリード
・スタツク領域8−1にもセツトされる。(1) Now, for example, in one keyboard printer 3-1, when the operator inputs key data A corresponding to the name of a sold product, the key data becomes a read instruction as it is, and the key save in the control device 2 It is set within area 9-1. (2) The control device 2 is equipped with a stored program processing function, and the above key save area 9
Based on the contents A of 11, a read access is made to the master file 1 in order to read the record YA corresponding to the key data A. (3) Master O file 1
In this control, duplicate reading is prohibited for the block unit containing the record YA, and the record YA is set in the zeta area 7-1. (4) In the control device 2, updatable data such as inventory amount data such as inventory amount "100" in the record YA is also set in the read stack area 8-1.
(5)上記処理(1)によつてオペレータがキー・デー
タAを入力したとき、当該キーボードOプリンタ3−1
においてはプリンタが働らき帳票15上に商品コードA
を打出しており、上記処理(3)によつてレコードYA
がデータ領域7一1にセツトされたとき、制御装置2か
ら商品名がキーボード・プリンタ3−1に伝送されて帳
票15上に商品名****が打出される。(5) When the operator inputs key data A through the above process (1), the keyboard O printer 3-1
In this case, the printer is working and the product code A is printed on form 15.
, and by the above process (3), the record YA
is set in the data area 7-1, the product name is transmitted from the control device 2 to the keyboard/printer 3-1, and the product name *** is printed on the form 15.
(6)これによつて、次にオペレータが更新データΔX
A例えば売上げ数量「10」、を入力する。(6) With this, the operator can then update the update data ΔX
AFor example, input the sales quantity "10".
キーボードOプリンタ3−1においては帳票15上に数
量「10」がプリントさ板上記更新データの入力がその
ままりライト指示となつて制御装置2に伝送される。(
7)制御装置2は、データ領域7一1の内容(YA)中
の単価4と上記売上げ数量「10」とを乗算し、この結
果をキーボード・プリンタ3−1に伝送する。In the keyboard O printer 3-1, the quantity "10" is printed on the form 15.The input of the above-mentioned update data is directly transmitted to the control device 2 as a write instruction. (
7) The control device 2 multiplies the unit price 4 in the contents (YA) of the data area 7-1 by the sales quantity "10" and transmits this result to the keyboard printer 3-1.
(8)これによつてキーボード・プリンタ3−1におい
て帳票15上に売上げ金額が打出される。(8) As a result, the sales amount is printed on the form 15 by the keyboard/printer 3-1.
(9)上記処理(7)と共に、制御装置2はデータ領域
の内容(YA》中の在庫量データを数量「10」だけ減
算して例えば「90」とし、その結果即ち更新された結
果をマスタ・フアイル1に書込む。αOマスタOフアイ
ル1においては、先に処理3によつて行なつた禁止状態
を解除し、他のキーボードOプリンタによつて当該ブロ
ツク内のレコードに対して読出しを行なうことを許すよ
うにする。(9) Along with the above process (7), the control device 2 subtracts the inventory amount data in the data area contents (YA) by the quantity "10" to, for example, "90", and uses the result, that is, the updated result, as the master.・Write to file 1. In αO master O file 1, cancel the inhibited state previously performed in process 3, and read the record in the block using another keyboard O printer. Try to forgive.
AD上記処理(9)と共に、制御装置2は、共に処理(
4)においてリード・スタツク領域8−1にセツトして
おいた在庫量「100」から上記更新された結果の在庫
量「90」を減算し、その結果「10」をリライト・ス
タツク領域10−1内にセツトする。AD In addition to the above process (9), the control device 2 also performs the process (
In step 4), subtract the updated inventory amount "90" from the inventory amount "100" set in the read stack area 8-1, and set the result "10" to the rewrite stack area 10-1. Set inside.
即ち上記キー0セープ領域9−1と対応しているリライ
ト・スタツク領域10−1内に結果「10」をセツトし
、次に生するかも知れないキヤンセル指示に対処できる
ようにしておく。That is, the result ``10'' is set in the rewrite stack area 10-1 corresponding to the key 0 save area 9-1, so that a cancel instruction that may occur next can be dealt with.
5もしも、上記処理(6)において入力した更新データ
例えば売上げ数量「10」に間違いがあることをオペレ
ータが発見すると、オペレータはキヤンセルを入力する
。5. If the operator discovers that there is an error in the update data input in the above process (6), for example, the sales quantity "10", the operator inputs a cancellation.
該キヤンセルはキヤンセル指示となり、制御装置2に通
知される。αa制御装置2は、上記キヤンセル指示を受
けて上記キー・セープ領域9−1の内容Aにもとずいて
マスタ・フアイル1に対して読出しアクセスを行なう。
α◆ マスタ・フアイル1においては、当該内容Aによ
つて指示されるレコードを含むブロツク単位の情報が重
複して読出されることを禁止する。The cancel becomes a cancel instruction and is notified to the control device 2. Upon receiving the cancel instruction, the αa control device 2 performs read access to the master file 1 based on the content A of the key save area 9-1.
α◆ In the master file 1, it is prohibited that the information in units of blocks including the record specified by the content A is read out redundantly.
そして当該レコード単位YAの情報は制無置2における
データ領域7一1内にセツトされる。Ae該セツトされ
たレコード単位の情報中の在庫量データは、上記処理(
9)α0によつて当該レコード単位の情報が格納された
時点以後他のキーボードOプリンタによつて更新されて
いないならば、冫上記格納されたままの値「90」を示
している。αOまた、他のキーボードOプリンタからの
更新データによつて更に例えば値「20」だけ減算され
ていれば、上記処理α◆によつてデータ領域7一1内に
セツトされたレコード単位YAの情冫報中の在庫データ
は値「70」を示している。αη 上記処理a◆によつ
てレコード単位YAの情報がデータ領域7一1にセツト
された状態で、制御装置2は該情報中の在庫量データな
どを含む更新可能データをリード・スタツク領域8−1
5内にセツトすることは言うまでもない。αeそして、
制御装置2は、データ領域7一1の内容(YA)に対し
てリライト・スタツク領域10−1の内容即ち上記処理
ADにおいてセツトされた値「10」を加算する。Then, the information of the record unit YA is set in the data area 7-1 in No. 2. Ae The inventory amount data in the set record unit information is processed by the above process (
9) If the information for each record has not been updated by another keyboard O printer since the time when the record unit information was stored by α0, the value “90” as stored above is shown. αO Also, if the value “20” has been further subtracted by the update data from another keyboard O printer, the information of the record unit YA set in the data area 7-1 by the above process α◆ is The inventory data in the report shows a value of "70". αη With the information of the record unit YA set in the data area 7-1 by the above process a◆, the control device 2 reads the updatable data including the inventory amount data etc. in the information and stores it in the stack area 8-1. 1
Needless to say, it should be set within 5. αe and
The control device 2 adds the content of the rewrite stack area 10-1, that is, the value "10" set in the above process AD, to the content (YA) of the data area 7-1.
即ちこれによつ5て、上記Aeの場合、在庫量データは
値「100」(=100−10+10)に復元される。
また上記a輔合、在庫量データは値「80」 (=10
0−10−20+10)に復元される(他のキーボード
・プリンタによつて20個分減算 4されているので8
0個が正しい)。σ9上記処理(ハ)によつて復元され
たレコード単位YAの情報は、再びマスタ・フアイル1
に書込まれる。That is, as a result of this, in the case of Ae, the inventory amount data is restored to the value "100" (=100-10+10).
In addition, the above a combination, the inventory amount data is the value "80" (=10
0-10-20+10) (20 characters have been subtracted by 4 due to other keyboard printers, so 8
0 is correct). σ9 The information of the record unit YA restored by the above process (c) is stored in the master file 1 again.
written to.
そして上記処理(有)によつて行なわれた禁止状態は解
除される。1この状態で、オペレータがあらためてキー
0データAを入力することによつて、上記処理(1)か
らの処理が行なわれてゆく。Then, the prohibited state caused by the above process (existence) is canceled. 1 In this state, when the operator inputs the key 0 data A again, the processes starting from the above process (1) are performed.
(20オペレータが他のキー・データBを入力するとデ
ータ領域7一1内にはキー・データBに対応したレコー
ド単位YBの情報がセツトされることは言うまでもない
。(It goes without saying that when the operator 20 inputs other key data B, the information of the record unit YB corresponding to the key data B is set in the data area 7-1.
5場合によつては、オペレータが複数個の商品に対する
入力を行なつた後に即ち例えば帳票15を作成した後に
、例えばキー・データAに対応して入力した数量などに
誤りがあることを気付くことがある。5. In some cases, after the operator has made inputs for a plurality of products, that is, after creating the form 15, for example, he or she may realize that there is an error in the quantity entered for key data A, etc. There is.
この場合には、オペレータは帳票全体をキヤンセルする
キヤンセル指示を発する。(ハ)この場合には、制御装
置2は上記処理α3ないしA9の動作を各キー・セープ
領域9−1,11−1,13−1・・・毎に順次行なつ
てゆくものと考えてよい。In this case, the operator issues a cancel instruction to cancel the entire form. (C) In this case, it is assumed that the control device 2 sequentially performs the operations of the above-mentioned processes α3 to A9 for each key save area 9-1, 11-1, 13-1, etc. good.
以上説明した如く、本発明の場合、複数の入力装置が互
に独立にランダムに動作している状態であつても、誤り
をおかしたオペレータが直ちにあるいは帳票作成後など
においてキヤンセル指示を発するだけで、正しい情報に
復元されることになる。As explained above, in the case of the present invention, even if a plurality of input devices are operating independently and randomly, an operator who makes an error can simply issue a cancel instruction immediately or after creating a form. , the correct information will be restored.
このため、オペレータは、誤まつて入力した更新データ
を意識することなく、また他の入力装置からその間に入
力された更新データを意識することなく、キヤンセル指
示のみを発すればよく、オペレータの心理的負担を解消
することが可能となる。更に、本発明の方式をとること
により、データに対する使用禁止時間を短かくすること
が可能であり、システム全体のスループツトが増大する
ことになる。Therefore, the operator only needs to issue a cancel instruction without being aware of update data input by mistake or update data input in the meantime from other input devices. This makes it possible to eliminate the financial burden. Furthermore, by employing the method of the present invention, it is possible to shorten the period during which data is prohibited from being used, and the throughput of the entire system is increased.
図は本発明の方法を実行するシステムの一実施例を示す
。
図中、1はマスタ・フアイル、2は制御装置、3−1,
3−2,・・・は夫々キーボード・プリンタ、5は演算
部、6−1,6−2・・・は夫々バツフア領域、7一1
,7−2は夫々データ領域、8−1,8−2は夫々リー
ド・スタツク領域、9−1,9−2,11−1,11−
2,13−1,13−2は夫々キー・セープ領域、10
−1,10−2,12−1,12−2,14−1,14
−2に夫々リライト・スタツク領域、15は帳票を表わ
す。The figure shows an embodiment of a system for carrying out the method of the invention. In the figure, 1 is the master file, 2 is the control device, 3-1,
3-2, . . . are keyboard/printer, 5 is a calculation unit, 6-1, 6-2, . . . are buffer areas, 7-1, respectively.
, 7-2 are data areas, 8-1, 8-2 are read stack areas, 9-1, 9-2, 11-1, 11-
2, 13-1, 13-2 are key save areas, 10
-1,10-2,12-1,12-2,14-1,14
-2 represents a rewrite stack area, and 15 represents a form.
Claims (1)
報を格納するマスタ・ファイル、該マスタ・ファイルか
らの情報を読出しまたは該マスタ・ファイルに情報を書
込む制御装置、少なくとも上記レコード単位に対応する
キー・データと当該キー・データに対する更新データと
該更新データをキャンセルするキャンセル指示とを入力
し得る複数台の入力装置を有する制御システムにおいて
、上記制御装置は上記各入力装置に対応してデータ領域
とリード・スタツク領域とキー・セープ領域とリライト
・スタック領域とを有する情報格納部をそなえてなり、
上記1つの入力装置から上記キー・データが与えられた
とき当該キー・データに対応したレコード単位の内容を
上記データ領域にセットすると共に該レコード単位中の
更新可能データの内容を上記リード・スタック領域にセ
ットし、当該入力装置から上記更新データが与えられた
とき上記リード・スタック領域の内容と上記更新データ
によつて更新された後の上記更新可能データとの変化量
を上記リライト・スタック領域にセットせしめ、上記当
該入力装置から上記キャンセル指示が与えられたとき上
記更新された後の更新可能データと上記リライト・スタ
ック領域の内容とによつて上記データ領域の内容を上記
更新データによる更新前の状態に復元し、上記マスタ・
ファイルに格納するようにしたことを特徴とするデータ
更新制御方法。 2 上記リライト・スタック領域は上記キー・セープ領
域と対にして用意され、上記キャンセル指示が与えられ
たとき該キー・セープ領域の内容にもとずいて上記制御
装置が上記マスタ・ファイルから対応するレコード単位
の内容を上記データ領域に読出してセットするようにし
たことを特徴とする特許請求の範囲第1項記載のデータ
更新制御方法。 3 上記レコード単位の情報が上記マスタ・ファイルか
ら上記データ領域に読出されてセットされるとき、当該
レコード単位を含むブロック単位の情報が重複して読出
されることを禁止するようにし、上記更新データが与え
られて上記マスタ・ファイルの内容が更新されたとき、
当該ブロック単位の情報に対する上記禁止状態を解除す
るようにしたことを特徴とする特許請求の範囲第1項ま
たは第2項記載のデータ更新制御方法。[Claims] 1. A master file that stores information in blocks consisting of a plurality of records, a control device that reads information from the master file or writes information to the master file, and at least the above-mentioned control device. In a control system having a plurality of input devices capable of inputting key data corresponding to a record unit, update data for the key data, and a cancellation instruction for canceling the update data, the control device inputs a plurality of input devices to each of the input devices. an information storage section having a data area, a read stack area, a key save area, and a rewrite stack area;
When the key data is given from the one input device, the contents of the record unit corresponding to the key data are set in the data area, and the contents of the updatable data in the record unit are read into the stack area. and when the update data is given from the input device, the amount of change between the contents of the read stack area and the updatable data after being updated by the update data is stored in the rewrite stack area. When the cancellation instruction is given from the input device, the contents of the data area are changed to the contents of the data area before being updated by the update data, using the updated updateable data and the contents of the rewrite stack area. state and restore the above master
A data update control method characterized by storing data in a file. 2 The rewrite stack area is prepared as a pair with the key save area, and when the cancel instruction is given, the control device responds from the master file based on the contents of the key save area. 2. The data update control method according to claim 1, wherein the contents of each record are read out and set in the data area. 3. When the information in units of records is read from the master file and set in the data area, the information in units of blocks including the units of records is prohibited from being read redundantly, and the updated data is is given and the contents of the above master file are updated,
3. A data update control method according to claim 1 or 2, characterized in that said prohibited state for said block-by-block information is canceled.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP52096616A JPS5919378B2 (en) | 1977-08-12 | 1977-08-12 | Data update control method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP52096616A JPS5919378B2 (en) | 1977-08-12 | 1977-08-12 | Data update control method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5430751A JPS5430751A (en) | 1979-03-07 |
| JPS5919378B2 true JPS5919378B2 (en) | 1984-05-04 |
Family
ID=14169779
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP52096616A Expired JPS5919378B2 (en) | 1977-08-12 | 1977-08-12 | Data update control method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS5919378B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS58195959A (en) * | 1982-05-11 | 1983-11-15 | Fujitsu Ltd | Editing method |
| JPS60136836A (en) * | 1983-12-24 | 1985-07-20 | Fujitsu Ltd | Patch post-processing method of program |
-
1977
- 1977-08-12 JP JP52096616A patent/JPS5919378B2/en not_active Expired
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5430751A (en) | 1979-03-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPS6363943B2 (en) | ||
| JPS5919378B2 (en) | Data update control method | |
| JP2855207B2 (en) | Form output device | |
| JPH11143932A5 (en) | ||
| JPH01246664A (en) | Data processor | |
| JPS621063A (en) | Slip processor | |
| JPS61136167A (en) | File processing system for inventory control | |
| JP3375953B2 (en) | Screen control device | |
| JPH0658711B2 (en) | POS system | |
| JP2861498B2 (en) | Printing equipment | |
| JPH0293797A (en) | multi master system | |
| JPS62115536A (en) | Information management equipment | |
| JP3360652B2 (en) | Accounting system and method | |
| JP2723528B2 (en) | Message editing processor | |
| JPH05225218A (en) | Stocktaking system | |
| JPH03228136A (en) | Selective software write processing system | |
| JP3044711B2 (en) | File processing device | |
| JPH02105295A (en) | stamp card system | |
| JPH03248223A (en) | Slip printing system | |
| JPS60114958A (en) | Data cancelling control system | |
| JPH04253270A (en) | Data processor | |
| JPS5836388B2 (en) | electronic cash register | |
| JPH10124577A (en) | Chain pharmacy system using magneto-optical disk | |
| JPS6248277B2 (en) | ||
| JPS5911450A (en) | Program processing system |