JPH0573391A - Data base update system - Google Patents

Data base update system

Info

Publication number
JPH0573391A
JPH0573391A JP3231324A JP23132491A JPH0573391A JP H0573391 A JPH0573391 A JP H0573391A JP 3231324 A JP3231324 A JP 3231324A JP 23132491 A JP23132491 A JP 23132491A JP H0573391 A JPH0573391 A JP H0573391A
Authority
JP
Japan
Prior art keywords
data
database
updating
update
error
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.)
Pending
Application number
JP3231324A
Other languages
Japanese (ja)
Inventor
Ryuji Hayakawa
隆二 早川
Tomohiro Matsuda
智広 松田
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP3231324A priority Critical patent/JPH0573391A/en
Publication of JPH0573391A publication Critical patent/JPH0573391A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To facilitate the abnormal update processing of a data base and to prevent double update when error data is inputted again. CONSTITUTION:A data base A update part 3 and a data base B update part 4 updates respectively corresponding data in a data base A6 and a data base B7 with data read in by a data read part 2, but if the data are abnormally updated, the data are supplied to an error file writing part 5, which adds a discrimination symbol indicating an abnormality generation source and stores the data in an error file 8. When the error is inputted again, the error file 8 is utilized.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はデータベース更新方式に
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a database updating system.

【0002】[0002]

【従来の技術】従来のデータベース更新方式は、図2に
示すように、データ21をデータ読込み部22で読込
み、データベースA更新部23およびデータベースB更
新部24によりそれぞれデータベース25およびデータ
ベース26の対応するデータの更新を行なっている。
2. Description of the Related Art In a conventional database updating method, as shown in FIG. 2, data 21 is read by a data reading unit 22, and a database A updating unit 23 and a database B updating unit 24 correspond to a database 25 and a database 26, respectively. We are updating the data.

【0003】そして、不良データ等による異常が起った
場合には、処理履歴などを調査し異常の起った時点にお
けるデータをデータ21から抜きだしてデータ読込み部
22に再度投入して異常処理を行なっている。
When an abnormality occurs due to defective data or the like, the processing history is examined and the data at the time of the abnormality is extracted from the data 21 and re-input to the data reading unit 22 to perform the abnormality processing. Are doing.

【0004】[0004]

【発明が解決しようとする課題】上述した従来のデータ
ベース更新方式は、不良データや異常更新のときには、
異常時のデータを元データであるデータ21から捜し抜
きださなければならないという欠点がある。
The above-mentioned conventional database update method is used when defective data or abnormal update occurs.
There is a disadvantage that the data at the time of abnormality must be searched out from the data 21 which is the original data.

【0005】また図2のように複数のデータベースの更
新の場合に、データベースA更新部23によるデータベ
ースA25の更新が正常に行なわれ、データベースB更
新部24によるデータベースB26の更新が異常であっ
たときに、再度異常時に該当するデータの再投入を行な
った場合には、正常に更新された筈のデータベースA2
5がデータベースA更新部23により再度更新されるこ
とになり、二重更新という欠点を有している。これのよ
うな不都合が起こらないように、図3のように複数のデ
ータベースのそれぞれに専用のデータ読込み部を用意し
なければならないという欠点があった。
In the case of updating a plurality of databases as shown in FIG. 2, when the database A25 is normally updated by the database A updating section 23 and the database B26 is abnormally updated by the database B updating section 24. In addition, if the relevant data is re-input at the time of abnormality again, the database A2 should have been updated normally.
5 will be updated again by the database A updating unit 23, which has the drawback of double updating. In order to avoid such inconvenience, there is a drawback in that a dedicated data reading section must be prepared for each of the plurality of databases as shown in FIG.

【0006】本発明の目的は、データベースの異常更新
時におけるデータを保持することにより、異常処理を容
易に行なえるデータベース更新方式を提供することにあ
る。
An object of the present invention is to provide a database updating system which can easily carry out an abnormal process by holding data at the time of abnormal updating of a database.

【0007】[0007]

【課題を解決するための手段】本発明のデータベース更
新方式は、第1の種類のデータを複数個格納する第1の
記憶手段と、第2の種類のデータを格納する第2の記憶
手段と、外部または前記第2の記憶手段からデータを読
込むデータ読込み手段と、前記データ読込み手段からデ
ータの供給をうけ前記第1の記憶手段の対応するデータ
の更新を行ない異常更新時には前記供給されたデータを
第2の種類のデータとして出力する更新手段と、前記更
新手段から第2の種類のデータの供給をうけ前記第2の
記憶手段に格納する書出し手段とを備えて構成されてい
る。
The database updating method of the present invention comprises a first storage means for storing a plurality of first type data and a second storage means for storing a second type data. , The data reading means for reading data from the outside or the second storage means, and the corresponding data in the first storage means are updated in response to the supply of the data from the data reading means, and the data is supplied during the abnormal update. It comprises an updating means for outputting the data as the second type of data, and a writing means for receiving the supply of the second type of data from the updating means and storing it in the second storage means.

【0008】[0008]

【実施例】次に、本発明の実施例について図面を参照し
て説明する。
Embodiments of the present invention will now be described with reference to the drawings.

【0009】図1は本発明のデータベース更新方式の一
実施例を示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of a database updating system of the present invention.

【0010】図1において、データ1は、元データを記
録した磁気テープ等を示す。データ読込み部2はデータ
1を読込み、データベースA更新部3およびデータベー
スB更新部4にこれを供給する。
In FIG. 1, data 1 indicates a magnetic tape or the like on which original data is recorded. The data reading unit 2 reads the data 1 and supplies it to the database A updating unit 3 and the database B updating unit 4.

【0011】データベースA更新部3はデータベースA
6のデータ更新用であり、データ読込み部2から供給さ
れたデータに基ずいてデータベースA6を更新する。異
常が発生した場合にはその際データベースA更新部3に
供給されていたデータを異常発生時のエラーデータとし
てエラーデータ書出し部5に供給する。
The database A update unit 3 is a database A
6 for updating the data, and updates the database A6 based on the data supplied from the data reading unit 2. When an abnormality occurs, the data supplied to the database A updating unit 3 at that time is supplied to the error data writing unit 5 as error data when the abnormality occurs.

【0012】データベースB更新部4はデータベースB
7のデータ更新用であり、その機能はデータベースA更
新部3と同様である。
The database B updating unit 4 is a database B.
7 for updating data, and the function thereof is the same as that of the database A updating unit 3.

【0013】エラーデータ書出し部5は供給されたエラ
ーデータをエラーファイル8に書込む。
The error data writing unit 5 writes the supplied error data in the error file 8.

【0014】エラーファイル8はエラーデータ、すなわ
ち、データベース異常更新時のデータを格納し異常処理
時の再投入に使用されるものである。
The error file 8 stores error data, that is, data when the database is abnormally updated, and is used for re-input at the time of abnormal processing.

【0015】次に、実施例について図1を参照して説明
する。
Next, an embodiment will be described with reference to FIG.

【0016】データ読込み部2は磁気テープ等に記録さ
れたデータ1を読込みこれをデータベースA更新部3お
よびデータベースB更新部4にそれぞれ供給する。
The data reading unit 2 reads the data 1 recorded on a magnetic tape or the like and supplies it to the database A updating unit 3 and the database B updating unit 4, respectively.

【0017】更新動作についてはデータベースA更新部
3によるデータベースA6の更新動作と、データベース
B更新部4によるデータベースB7の更新動作とは同一
であるのでデータベースA6の更新動作について説明す
る。
With regard to the updating operation, the updating operation of the database A6 by the database A updating section 3 and the updating operation of the database B7 by the database B updating section 4 are the same, so the updating operation of the database A6 will be described.

【0018】データベースA更新部3はデータ読込み部
2から供給されたデータに対応するデータベースA6の
データを参照しこれを更新する。そして正常に更新され
たかどうかをチェックし正常の場合にはデータベースA
6に更新データを書込む。異常の場合には、データ読込
み部2から供給されたデータをエラーデータ書出し部5
に供給する。
The database A updating unit 3 refers to the data of the database A6 corresponding to the data supplied from the data reading unit 2 and updates it. Then, it is checked whether it has been updated normally, and if it is normal, database A
Write the updated data in 6. In the case of abnormality, the data supplied from the data reading unit 2 is transferred to the error data writing unit 5
Supply to.

【0019】エラーデータ書出し部5は供給されたデー
タに供給源の識別記号を付加てこれをエラーファイル8
に書込む。すなわち、例えばデータベースA更新部3か
ら供給されたデータに対しては識別記号Aを、データベ
ースB更新部4から供給されたデータに対しては識別記
号Bを付加してエラーファイル8に書込む。
The error data writing unit 5 adds the identification symbol of the supply source to the supplied data and adds it to the error file 8
Write to. That is, for example, the identification symbol A is added to the data supplied from the database A updating unit 3 and the identification symbol B is added to the data supplied from the database B updating unit 4, and the error file 8 is written.

【0020】このようにして、エラーファイル8には更
新異常時におけるデータのみが異常発生源を示す識別記
号とともに格納される。
In this way, only the data at the time of the abnormal update is stored in the error file 8 together with the identification symbol indicating the abnormal source.

【0021】エラーデータ再投入時には、エラーファイ
ル8を入力源としてデータ読込み部2から読込み、デー
タベースA更新部3およびデータベースB更新部4に供
給する。データベースA更新部3では識別記号をチェッ
クし、それがAであればデータベースA6の更新動作を
おこない、識別記号がBであればこのデータを無効とす
る。データベースB更新部4においては識別記号がBの
場合のみ更新動作を開始する。
At the time of re-input of error data, the error file 8 is read from the data reading unit 2 as an input source and supplied to the database A updating unit 3 and the database B updating unit 4. The database A updating unit 3 checks the identification symbol. If the identification symbol is A, the updating operation of the database A6 is performed, and if the identification symbol is B, this data is invalidated. The database B updating unit 4 starts the updating operation only when the identification symbol is B.

【0022】データベースが複数個でなしに1個の場合
には識別記号の付与の必要はない。
When the number of databases is one and not one, it is not necessary to add an identification mark.

【0023】[0023]

【発明の効果】以上説明したように、本発明のデータベ
ース更新方式は、エラーデータをファイルに保持し、こ
れをエラーデータの再投入の際に使用することにより容
易に異常処理を行なうことができ、さらにエラーデータ
にエラー発生源の識別記号を付加することにより再投入
時の二重更新を防止できるという効果がある。
As described above, according to the database updating method of the present invention, error data can be retained in a file and used when reloading the error data, whereby abnormal processing can be easily performed. Further, by adding the identification symbol of the error source to the error data, it is possible to prevent double update at the time of re-input.

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

【図1】本発明のデータベース更新方式の一実施例を示
すブロック図である。
FIG. 1 is a block diagram showing an embodiment of a database updating system of the present invention.

【図2】従来のデータベース更新方式の一例を示すブロ
ック図である。
FIG. 2 is a block diagram showing an example of a conventional database updating method.

【図3】従来のデータベース更新方式の他の例を示すブ
ロック図である。
FIG. 3 is a block diagram showing another example of a conventional database updating method.

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

1,21,31,35 データ 2,22,32,36 データ読込み部 3,23,33 データベースA更新部 4,24,37 データベースB更新部 5 エラーデータ書出し部 6,25,34 データベースA 7,26,38 データベースB 8 エラーファイル 1, 21, 31, 35 data 2, 22, 32, 36 data reading unit 3, 23, 33 database A updating unit 4, 24, 37 database B updating unit 5 error data writing unit 6, 25, 34 database A 7, 26,38 Database B 8 Error file

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 第1の種類のデータを複数個格納する第
1の記憶手段と、第2の種類のデータを格納する第2の
記憶手段と、外部または前記第2の記憶手段からデータ
を読込むデータ読込み手段と、前記データ読込み手段か
らデータの供給をうけ前記第1の記憶手段の対応するデ
ータの更新を行ない異常更新時には前記供給されたデー
タを第2の種類のデータとして出力する更新手段と、前
記更新手段から第2の種類のデータの供給をうけ前記第
2の記憶手段に格納する書出し手段とを備えることを特
徴とするデータベース更新方式。
1. A first storage means for storing a plurality of first-type data, a second storage means for storing a second-type data, and data from an external or the second storage means. A data reading means for reading, and an update for receiving the data from the data reading means and updating the corresponding data in the first storage means, and outputting the supplied data as a second type of data at the time of abnormal update A database updating method comprising means and writing means for receiving a second type of data from the updating means and storing it in the second storage means.
【請求項2】 請求項1において、第1の記憶手段を複
数個備え、これに対応する更新手段をそれぞれ備え、書
出し手段は前記複数の更新手段から第2の種類のデータ
の供給をうけそれぞれ供給源を識別する識別記号を付加
して第2の記憶手段に格納し、前記更新手段は前記識別
記号を付加した第2の種類のデータの供給を受けたとき
には対応する更新手段のみが更新動作を行なうことを特
徴とするデータベース更新方式。
2. The apparatus according to claim 1, further comprising a plurality of first storage means and respective corresponding update means, wherein the writing means receives the second type data from the plurality of update means, respectively. An identification symbol for identifying the supply source is added and stored in the second storage means, and when the updating means receives the supply of the second type data with the identification symbol, only the corresponding updating means performs the update operation. A database updating method characterized by performing.
JP3231324A 1991-09-11 1991-09-11 Data base update system Pending JPH0573391A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3231324A JPH0573391A (en) 1991-09-11 1991-09-11 Data base update system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3231324A JPH0573391A (en) 1991-09-11 1991-09-11 Data base update system

Publications (1)

Publication Number Publication Date
JPH0573391A true JPH0573391A (en) 1993-03-26

Family

ID=16921853

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3231324A Pending JPH0573391A (en) 1991-09-11 1991-09-11 Data base update system

Country Status (1)

Country Link
JP (1) JPH0573391A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100740412B1 (en) * 2000-05-25 2007-07-16 에이취디엔 디벨로프먼트 코포레이션 Methods and systems for automatically extruding and cutting dough-based products having pre-selected weights

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100740412B1 (en) * 2000-05-25 2007-07-16 에이취디엔 디벨로프먼트 코포레이션 Methods and systems for automatically extruding and cutting dough-based products having pre-selected weights

Similar Documents

Publication Publication Date Title
EP0339901B1 (en) Improved version management tool
JPH046017B2 (en)
US5129081A (en) System for processing data using logic language
JPH0573391A (en) Data base update system
JPH04137153A (en) Check system for connection route
JP2822869B2 (en) Library file management device
JP2002175201A (en) Computer system and method for controlling trace information using it
JP2024072938A (en) Verification support device and verification support method
JPS61115126A (en) Magnetic disk device
JPH0820933B2 (en) Data writing method and device
US7426686B2 (en) System and method for verifying data integrity
JPH08297569A (en) Source program correction supporting device
JP3502991B2 (en) ID card issuing system
JPS63228323A (en) System for recording draw type memory card
JPH04336638A (en) Disk exchange system in system working mode
JPS59104712A (en) Alterate track processing system of magnetic disk device
JP2000353088A (en) Rewritable program writing device for non-volatile memory
JPH06314226A (en) Data update method
JPH04217045A (en) Method and device for processing updating of file
JPS62194557A (en) File trouble recovery system
JPH06274399A (en) Information recorder
JPH0540681A (en) Forward recovery system for data base
JPH01169793A (en) System for moving optical disk management information
JPH0793194A (en) Data update system and ic card
JPH07141239A (en) Record processing system for index sequential organized file