JPH10207753A - Automatic data transfer control device - Google Patents

Automatic data transfer control device

Info

Publication number
JPH10207753A
JPH10207753A JP9005769A JP576997A JPH10207753A JP H10207753 A JPH10207753 A JP H10207753A JP 9005769 A JP9005769 A JP 9005769A JP 576997 A JP576997 A JP 576997A JP H10207753 A JPH10207753 A JP H10207753A
Authority
JP
Japan
Prior art keywords
data
database
updated
restriction condition
constraint condition
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
JP9005769A
Other languages
Japanese (ja)
Inventor
Makoto Onizuka
真 鬼塚
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP9005769A priority Critical patent/JPH10207753A/en
Publication of JPH10207753A publication Critical patent/JPH10207753A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To prevent the mixing of data not satisfying a restriction condition by judging whether updated data satisfies the restriction condition of another data base to which the data are to be transferred, and when the restriction condition is satisfied, transferring the updating data to the other data base. SOLUTION: A restriction condition storing part 3 stores the restriction conditions of respective data bases in each data base. When the data of each data base 1 are updated by application 11, a restriction condition judging part 5 is informed of the updated information. The judging part 5 checks whether a restriction condition corresponding to the updated data has been registered in the restriction condition storing part 3 correspondingly to a data base 2 to which the updated data are to be transferred or not by retrieving the storing part 3. When the restriction condition has been registered, whether the updated data satisfies the restriction condition or not is checked. When the restriction condition is satisfied, the transfer of the updated data is determined and the updated data are transferred to the data base 2 through a data transfer control part 7.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、複数のデータベー
ス間でデータを転送するデータ自動転送制御装置に関
し、例えば長期トランザクションにおける共通データベ
ースと個人データベースとの間でデータを転送するデー
タ自動転送制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an automatic data transfer control device for transferring data between a plurality of databases, for example, an automatic data transfer control device for transferring data between a common database and a personal database in a long-term transaction. .

【0002】[0002]

【従来の技術】複数のデータベース間におけるデータ転
送は、例えば一日に一回のように定期的に行ったり、ま
たはオペレータがコマンドラインからftpコマンドを
実行するというように手動で行ったり、または送信元の
データが更新された時点で行われているが、従来、この
ようなデータ転送は単に転送するだけのものである。
2. Description of the Related Art Data transfer between a plurality of databases is performed periodically, for example, once a day, or manually, such as when an operator executes an ftp command from a command line, or transmitted. Conventionally, such data transfer is merely transfer, which is performed when the original data is updated.

【0003】[0003]

【発明が解決しようとする課題】データベースにおいて
は、格納すべきデータは所定の制約条件を満たしたもの
でなければならないという要求があるが、上述した従来
のデータ転送においてはデータベースに転送され格納さ
れるデータはこのような制約条件を満たしているか否か
をチェックせず、単に転送されてくるものをすべて受け
入れて格納しているため、制約条件を満たしていないデ
ータも格納してしまうという問題がある。
In a database, there is a demand that data to be stored must satisfy predetermined constraints, but in the above-mentioned conventional data transfer, the data is transferred to the database and stored. The problem is that data that does not satisfy the constraints is also stored because it does not check whether or not the data satisfies such constraints, but simply accepts and stores all data that is transferred. is there.

【0004】本発明は、上記に鑑みてなされたもので、
その目的とするところは、転送先の各データベースに対
して制約条件を満たしたデータのみを転送しうるデータ
自動転送制御装置を提供することにある。
[0004] The present invention has been made in view of the above,
An object of the present invention is to provide an automatic data transfer control device capable of transferring only data satisfying a constraint condition to each transfer destination database.

【0005】[0005]

【課題を解決するための手段】上記目的を達成するた
め、請求項1記載の本発明は、各データベースに格納さ
れるデータに課せられる制約条件を各データベース毎に
格納する制約条件格納部と、あるデータベースに格納さ
れていたデータが更新され、この更新データを他のデー
タベースに転送する必要がある場合、この更新データが
前記制約条件格納部に格納されている前記他のデータベ
ースの制約条件を満たすか否かを判定する制約条件判定
手段と、該判定の結果、制約条件を満たす場合、該制約
条件を満たす他のデータベースに前記更新データを転送
する転送手段とを有することを要旨とする。
To achieve the above object, according to the present invention, there is provided a constraint condition storage unit for storing, for each database, a constraint condition imposed on data stored in each database; When data stored in a certain database is updated and the updated data needs to be transferred to another database, the updated data satisfies the constraint conditions of the other database stored in the constraint condition storage unit. The gist of the present invention is to have a constraint condition judging unit for judging whether or not the update data is transferred, and a transfer unit for transferring the update data to another database satisfying the constraint condition when the constraint condition is satisfied as a result of the judgment.

【0006】請求項1記載の本発明にあっては、あるデ
ータベースに格納されていたデータが更新された場合、
この更新データが転送先の他のデータベースの制約条件
を満たすか否かを判定し、制約条件を満たす場合、更新
データを他のデータベースに転送する。
According to the present invention, when data stored in a certain database is updated,
It is determined whether or not the update data satisfies the constraint conditions of another database at the transfer destination. If the update data satisfies the constraint conditions, the update data is transferred to another database.

【0007】[0007]

【発明の実施の形態】以下、図面を用いて本発明の実施
の形態について説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0008】図1は、本発明の一実施形態に係るデータ
自動転送制御装置の構成を示すブロック図である。同図
に示すデータ自動転送制御装置は、アプリケーション1
1によってデータベース1のデータが更新され、この更
新データを他のデータベース2に転送しようとするもの
であり、各データベース上のデータに対して課せられる
制約条件を格納している制約条件格納部3、該制約条件
格納部3に格納されている制約条件を更新データが満た
すか否かを判定する制約条件判定部5、および該制約条
件判定部5による判定の結果、更新データが制約条件を
満たしている場合、該更新データの転送を実行するデー
タ転送制御部7から構成されている。なお、制約条件格
納部3は各データベースの制約条件を各データベース毎
に格納しているものであるが、各データベース毎に設け
られてもよいし、または各データベースに共通に設けら
れ、内部において各データベースに対応して設定されて
もよいものである。
FIG. 1 is a block diagram showing a configuration of an automatic data transfer control device according to one embodiment of the present invention. The automatic data transfer control device shown in FIG.
1, the data of the database 1 is updated, and the updated data is to be transferred to another database 2. The constraint storage unit 3 stores the constraints imposed on the data on each database. A constraint condition judging unit 5 for judging whether the update data satisfies the constraint condition stored in the constraint condition storage unit 3, and as a result of the judgment by the constraint condition judging unit 5, the update data satisfies the constraint condition. If it is, the data transfer control unit 7 executes the transfer of the update data. Although the constraint condition storage unit 3 stores the constraint condition of each database for each database, the constraint condition storage unit 3 may be provided for each database, or may be provided in common for each database, and each It may be set corresponding to the database.

【0009】次に、図2に示すフローチャートを参照し
て、図1のデータ自動転送制御装置の作用を説明する。
Next, the operation of the automatic data transfer control device shown in FIG. 1 will be described with reference to the flowchart shown in FIG.

【0010】データベース1のデータがアプリケーショ
ン11によって更新されると、この更新情報が制約条件
判定部5に通知され、制約条件判定部5はこの更新デー
タに対する制約条件が更新データの転送先のデータベー
ス2に対応して制約条件格納部3に登録されているか否
かを制約条件格納部3を検索してチェックする(ステッ
プS10)。登録されている場合には、更新データが制
約条件を満たしているか否かをチェックする(ステップ
S20)。制約条件が満たされている場合には、更新デ
ータの転送を決定し、データ転送制御部7を介して更新
データをデータベース2に転送させる(ステップS3
0)。なお、制約条件が登録されていない場合(ステッ
プS10)や更新データが制約条件を満たさない場合
(ステップS20)には、更新データの転送は実行され
ない。
When the data in the database 1 is updated by the application 11, this update information is notified to the constraint condition judging unit 5, and the constraint condition judging unit 5 sends the constraint condition for the updated data to the database 2 to which the update data is transferred. Is checked by searching the constraint storage unit 3 to determine whether or not it is registered in the constraint storage unit 3 (step S10). If registered, it is checked whether or not the update data satisfies the constraint (step S20). If the constraint conditions are satisfied, the transfer of the update data is determined, and the update data is transferred to the database 2 via the data transfer control unit 7 (step S3).
0). Note that, when the constraint condition is not registered (step S10) or when the update data does not satisfy the constraint condition (step S20), the transfer of the update data is not executed.

【0011】次に、図3を参照して、動作例を説明す
る。
Next, an example of the operation will be described with reference to FIG.

【0012】図3においては、設計条件を格納するデー
タベースを想定し、設計情報としては、設計およびプロ
グラムがあるとする。また、設計およびプログラムとも
A,B,Cが存在し、設計Aを実装した結果がプログラ
ムAであり、設計Bを実装した結果がプログラムBであ
り、設計Cが実装した結果がプログラムCであるとす
る。
In FIG. 3, a database for storing design conditions is assumed, and the design information includes a design and a program. Also, A, B, and C exist in both the design and the program. The result of implementing the design A is a program A, the result of implementing the design B is a program B, and the result of implementing the design C is a program C. And

【0013】また、データベース1は、その制約条件と
して、設計の更新日がプログラムの更新日よりも後であ
り(設計の更新日≦プログラムの更新日)、プログラム
は正常にコンパイルされていないことが定義され、デー
タベース2は、その制約条件として、設計の更新日がプ
ログラムの更新日よりも先であり(設計の更新日>プロ
グラムの更新日)、プログラムは正常にコンパイルされ
ていることが定義されているものとする。
In the database 1, as a constraint condition, the design update date is later than the program update date (design update date ≦ program update date), and the program is not compiled normally. The database 2 defines that the design update date is earlier than the program update date (design update date> program update date) as a constraint, and that the program is compiled normally. It is assumed that

【0014】初期状態では、図3に示すように、データ
ベース1には設計A,B,CおよびプログラムA,B,
Cが格納され、これらの設計およびプログラムは、すべ
て設計の更新日≦プログラムの更新日であり、プログラ
ムが正常にコンパイルされていない状態にあり、またデ
ータベース2には何も格納されていない。
In an initial state, as shown in FIG. 3, designs A, B, C and programs A, B,
C is stored, and all of these designs and programs have the design update date ≦ the program update date, the program has not been compiled normally, and nothing is stored in the database 2.

【0015】このように設定された初期状態において、
データベース1のプログラムB,Cが変更され、その
後、正常にコンパイルされると、このコンパイルが正常
に終了した時点で、このコンパイルされたプログラム
B,Cはデータベース1からデータベース2に転送さ
れ、データベース2に同図に示すように格納さされる。
In the initial state thus set,
When the programs B and C in the database 1 are changed and then compiled normally, the compiled programs B and C are transferred from the database 1 to the database 2 when the compilation is normally completed, and Is stored as shown in FIG.

【0016】次に、状態1において、設計Bが変更され
ると、この設計Bは設計の更新日≦プログラムの更新日
であるため、データベース2に転送されず、データベー
ス1に格納されたままである。
Next, when the design B is changed in the state 1, the design B is not transferred to the database 2 but remains stored in the database 1 because the design update date ≦ the program update date. .

【0017】[0017]

【発明の効果】以上説明したように、本発明によれば、
あるデータベースに格納されていたデータが更新された
場合、この更新データが転送先の他のデータベースの制
約条件を満たすか否かを判定し、制約条件を満たす場
合、更新データを他のデータベースに転送するので、各
データベース毎に定義された所定の制約条件を満たすデ
ータのみが各データベースに格納され、制約条件を満た
さないデータが混在することがない。
As described above, according to the present invention,
When data stored in one database is updated, it is determined whether this updated data satisfies the constraints of the other destination database, and if so, the updated data is transferred to another database Therefore, only data that satisfies predetermined constraints defined for each database is stored in each database, and data that does not satisfy the constraints is not mixed.

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

【図1】本発明の一実施形態に係るデータ自動転送制御
装置の構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of an automatic data transfer control device according to an embodiment of the present invention.

【図2】図1に示すデータ自動転送制御装置の作用を示
すフローチャートである。
FIG. 2 is a flowchart showing the operation of the automatic data transfer control device shown in FIG.

【図3】図1に示すデータ自動転送制御装置の動作例を
示す説明図である。
FIG. 3 is an explanatory diagram illustrating an operation example of the automatic data transfer control device illustrated in FIG. 1;

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

1,2 データベース 3 制約条件格納部 5 制約条件判定部 7 データ転送制御部 1, 2 database 3 constraint condition storage unit 5 constraint condition judgment unit 7 data transfer control unit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 各データベースに格納されるデータに課
せられる制約条件を各データベース毎に格納する制約条
件格納部と、 あるデータベースに格納されていたデータが更新され、
この更新データを他のデータベースに転送する必要があ
る場合、この更新データが前記制約条件格納部に格納さ
れている前記他のデータベースの制約条件を満たすか否
かを判定する制約条件判定手段と、 該判定の結果、制約条件を満たす場合、該制約条件を満
たす他のデータベースに前記更新データを転送する転送
手段とを有することを特徴とするデータ自動転送制御装
置。
A constraint storage unit for storing, for each database, a constraint condition imposed on data stored in each database; a data stored in a database is updated;
When it is necessary to transfer the update data to another database, a constraint condition determination unit that determines whether the update data satisfies the constraint condition of the other database stored in the constraint condition storage unit, A transfer unit that transfers the update data to another database that satisfies the constraint condition when the result of the determination satisfies the constraint condition.
JP9005769A 1997-01-16 1997-01-16 Automatic data transfer control device Pending JPH10207753A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9005769A JPH10207753A (en) 1997-01-16 1997-01-16 Automatic data transfer control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9005769A JPH10207753A (en) 1997-01-16 1997-01-16 Automatic data transfer control device

Publications (1)

Publication Number Publication Date
JPH10207753A true JPH10207753A (en) 1998-08-07

Family

ID=11620338

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9005769A Pending JPH10207753A (en) 1997-01-16 1997-01-16 Automatic data transfer control device

Country Status (1)

Country Link
JP (1) JPH10207753A (en)

Similar Documents

Publication Publication Date Title
US6341308B1 (en) Input/output device information management system for multi-computer system
US7502876B1 (en) Background memory manager that determines if data structures fits in memory with memory state transactions map
CN1959676B (en) Apparatus and method for materialized query table journaling in a computer database system
JPH034340A (en) Data processing system
US5894573A (en) Program controlling method having transfer of code and data among programs and apparatus therefor
JPH11282686A (en) Network computer system
US5953529A (en) Data processor with a debug device and a stack area control unit and corresponding data processing method
JPH10207753A (en) Automatic data transfer control device
US7516452B1 (en) Method and system for managing installation of software on a computer system platform
US5179697A (en) System for deleting prioritized data stored in second memory after all the data has been successfully transferred to first memory
JPH0778115A (en) Network definition changing system
US20010053990A1 (en) Construction of system with reduced load on system engineers
US8275809B2 (en) Object processing system using an object model
US20060155481A1 (en) System and method for reusing project planning data
JPH10283379A (en) Method for supporting design and device therefor
JPH05250335A (en) Data base update processing system of loosely coupled multiprocessor system
JPH06337738A (en) Automatic power source control system for computer system
JPH11345125A (en) System and method for downloading files
JPH04260141A (en) Data shared processor
JPS59114635A (en) Program managing system
JPH09171480A (en) Network system provided with information storage system, input system and automatic operation system of the network system, and automatic operating method for the network system
JPH043244A (en) Electronic dictionary managing system
JPH05119995A (en) Control method for version number of operation file on electronic exchange
JPH0659995A (en) Method for updating terminal software
JPS63198129A (en) Input data processing system in procedure