JP2007293831A - Database synchronous update processing method, slab applying method and coil applying method - Google Patents

Database synchronous update processing method, slab applying method and coil applying method Download PDF

Info

Publication number
JP2007293831A
JP2007293831A JP2007087919A JP2007087919A JP2007293831A JP 2007293831 A JP2007293831 A JP 2007293831A JP 2007087919 A JP2007087919 A JP 2007087919A JP 2007087919 A JP2007087919 A JP 2007087919A JP 2007293831 A JP2007293831 A JP 2007293831A
Authority
JP
Japan
Prior art keywords
database
information
site
update
slab
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.)
Withdrawn
Application number
JP2007087919A
Other languages
Japanese (ja)
Inventor
Katsumi Kurokawa
克美 黒川
Masaya Hiyaji
雅也 飛矢地
Junya Yamada
順也 山田
Kazuharu Sezaki
和治 瀬崎
Tetsuya Funao
哲也 船尾
Taketoshi Kudo
丈利 工藤
Takahide Sato
隆英 佐藤
Terunori Taniguchi
輝則 谷口
Yoshihiro Yamashita
芳洋 山下
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.)
JFE Steel Corp
JFE Systems Inc
Original Assignee
JFE Steel Corp
JFE Systems Inc
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 JFE Steel Corp, JFE Systems Inc filed Critical JFE Steel Corp
Priority to JP2007087919A priority Critical patent/JP2007293831A/en
Publication of JP2007293831A publication Critical patent/JP2007293831A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a database synchronous update processing method capable of synchronizing and updating all databases about distributed and arranged databases even when the databases are hierarchical databases. <P>SOLUTION: The database synchronous update processing method comprises the steps for: transmitting update processing information from a main site 2 to a secondary site 3; deciding whether or not update processing of a database 11 of the secondary site 3 is executable; registering the update of the secondary site 3 and transmitting such registered update information to the main site 2; registering the update of a database 6 of the main site 2; and determining the registered update of the database 6 of the main site 2 and the database 11 of the secondary site 3. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、分散して配置されたデータベースを同期をとって更新することが可能なデータベース同期更新処理方法、スラブ充当方法及びコイル充当方法に関する。   The present invention relates to a database synchronous update processing method, a slab allocation method, and a coil allocation method that can update a database arranged in a distributed manner in synchronization.

一般的に、製鉄会社においては、スラブのオーダはオーダ管理部門により一括して管理され、オーダ管理部門は、各オーダ内容に応じて製鉄所等の各製造部門に対してスラブの製造を指示する。
一方、各製造部門におけるスラブの製造は所定ロット単位において行われるため、各オーダにおいて要求するスラブ重量と製造部門において最小ロットで製造されるスラブ重量とは一致せず、各製造部門においては余剰スラブが発生し、かかる余剰スラブは各製造部門においてスラブ在庫として管理される。
Generally, in a steel company, slab orders are collectively managed by the order management department, and the order management department instructs each production department such as a steel mill to produce slabs according to the contents of each order. .
On the other hand, because slabs are manufactured in each lot in each manufacturing department, the slab weight required in each order does not match the slab weight manufactured in the minimum lot in the manufacturing department. Such surplus slabs are managed as slab inventory in each manufacturing department.

そして、各製造部門においては、オーダ管理部門が製造を指示するスラブオーダに対してスラブ在庫を優先して充当するべく、スラブ在庫情報を、成分、寸法、重量等に基づいて分類し、かかるスラブ情報を階層型データベースにより管理している。
ここで、近年、製鉄会社では、オーダ管理部門(主サイト)において新規オーダに対する各製造部門(従サイト)におけるスラブ在庫の充当の可否を即座に判定可能とするべく、各製造部門におけるスラブ在庫情報についてもオーダ管理部門においてデータベースにより一括して管理するシステムの構築が望まれている。
In each manufacturing department, the slab inventory information is classified based on components, dimensions, weights, etc. in order to prioritize and allocate the slab inventory to the slab order instructed by the order management department. Are managed by a hierarchical database.
Here, in recent years, in order to make it possible to immediately determine whether or not slab inventory is appropriated in each manufacturing department (subordinate site) for a new order in an order management department (primary site), a steel company has information on slab inventory in each manufacturing department. In addition, it is desired that the order management department builds a system that collectively manages a database.

そして、従来の従サイトにおけるスラブ在庫情報についても主サイトにおいてデータベースにより一括して管理するシステムでは、データベースを更新可能か否かを判定する同一内容の判定手段を、更新される各データベースを備えるサイト毎に配設し、データベースを更新することが可能か否かを各サイト毎に判定する構成となっている。例えば、製造を指示するオーダに対してスラブ在庫を充当する場合、製造部門及びオーダ管理部門のそれぞれに、製造を指示するオーダに対してスラブ在庫を充当可能であるか否かを判定するプログラムロジック(判定手段)を配設する構成となっている。ここで、プログラムロジックとは、オーダに係る成分、寸法、重量等の製造仕様と在庫に係る製造実績との対比を行うチェックロジック、製造部門において製造される製品や中間製品の進捗状況に関するチェックロジック、オーダと在庫との充当関係のチェックロジック等をいう。   In a system that collectively manages the slab inventory information at the conventional slave site using the database at the main site, the site including the databases to be updated is provided with the same determination means for determining whether or not the database can be updated. Each site is configured to determine whether or not the database can be updated. For example, when slab inventory is allocated to an order instructing manufacture, program logic for determining whether or not slab inventory can be allocated to an order instructing manufacture to each of the manufacturing department and order management department (Determination means) is arranged. Here, the program logic is a check logic that compares manufacturing specifications such as components, dimensions, and weights related to orders with manufacturing results related to inventory, and check logic related to the progress of products manufactured in the manufacturing department and intermediate products. This refers to the check logic of the allocation relationship between orders and inventory.

しかしながら、従来の方法では、各データベースを更新可能か否かを判定する同一内容の判定手段を各サイト毎に配設する構成としているため、プログラム開発負荷が増加するという問題がある。また、かかる方法は、プログラムロジックに修正が必要となった際に、主サイト及び従サイトの双方においてメンテナンスを行う必要が生じ、開発コストが増加するとともに、プログラムロジックの品質の劣化の原因となるという問題がある。   However, the conventional method has a problem that the program development load increases because the determination means having the same contents for determining whether or not each database can be updated is arranged for each site. In addition, this method requires maintenance at both the primary site and the secondary site when the program logic needs to be modified, which increases development costs and causes deterioration in the quality of the program logic. There is a problem.

さらに、通常、主サイトでは、従サイトが保有する情報の全てを保有しているわけではない。したがって、従来の方法では、主サイトで正常と判定されてデータベースが更新されているにもかかわらず、従サイトでは異常と判定されてデータベースが更新されない場合があり、作業の手戻り又は情報の不整合が生じる場合があるという問題がある。
これらの問題を回避する手段として、主サイトと従サイトとの間でジョブ連携を行い、オーダ情報や在庫情報などの必要情報を主サイトから従サイトへ送信し、従サイト内に保有する判定手段により、データベース更新の可否判断を行い、従サイトのデータベースを更新するとともに、更新結果を主サイトに送信し、主サイトのデータベースも更新するといった方法が採用されていた。
In addition, the main site usually does not have all the information held by the slave site. Therefore, in the conventional method, there are cases where the database is updated at the primary site and the database is updated at the primary site, but the database is not updated at the secondary site and the database is not updated. There is a problem that matching may occur.
As a means of avoiding these problems, a job is linked between the master site and the slave site, and necessary information such as order information and inventory information is transmitted from the master site to the slave site and held in the slave site. Thus, a method has been adopted in which whether or not the database can be updated is determined, the database on the slave site is updated, the update result is transmitted to the main site, and the database on the main site is also updated.

しかしながら、このような主、従サイト間を非同期に更新する方法では、例えば、従サイトで発生した在庫情報更新結果の主サイトへの反映処理と主サイトから起動した連携処理との処理起動タイミングが近く、データベース更新タイミングの逆転が発生したような場合、又は、一方のサイトでの更新処理が異常終了したような場合に、データベースに格納した情報に主、従サイト間で不整合が発生しうるという問題があった。
そこで、近年、従サイトのデータベースと主サイトのデータベースとを同期をとって更新するシステムの発明として、例えば図7に示す分散データベースシステムにおける主従関係同期方式が知られている(特許文献1参照)。
However, in such a method of asynchronously updating between the primary and secondary sites, for example, the process start timing between the reflection process of the inventory information update result generated at the secondary site to the primary site and the linkage processing started from the primary site is If the database update timing is reversed or the update process at one site ends abnormally, the information stored in the database may be inconsistent between the primary and secondary sites. There was a problem.
Therefore, in recent years, a master-slave relationship synchronization method in a distributed database system shown in FIG. 7, for example, is known as an invention of a system that updates a database at a slave site and a database at a master site in synchronization (see Patent Document 1). .

分散データベースシステムにおける主従関係同期方式140は、図7に示すように、スレーブサーバ141のリレーショナルデータベース(スレーブ)142内に主表(ダミー)143を設けるとともに主表(ダミー)143と従表(コピー)144との間に主従関係の定義を行う。そして、ログ監視手段145は、マスタサーバ146のリレーショナルデータベース(マスタ)147内の主表(マスタ)148が更新された際に出力される更新ログ情報により更新ログファイル149が更新されているか否かを定期的に監視する。さらに、更新反映処理手段150は、ログ監視手段145により更新ログファイル149の更新が検出された場合に更新ログファイル149の最新の更新ログ情報をもとにスレーブサーバ141のリレーショナルデータベース(スレーブ)142内の主表(ダミー)143に対して更新内容の反映を行っている。   As shown in FIG. 7, the master-slave relationship synchronization method 140 in the distributed database system includes a main table (dummy) 143 in the relational database (slave) 142 of the slave server 141 and a main table (dummy) 143 and a slave table (copy). ) Define a master-slave relationship with 144. Then, the log monitoring unit 145 determines whether or not the update log file 149 is updated with update log information output when the main table (master) 148 in the relational database (master) 147 of the master server 146 is updated. Monitor regularly. Further, the update reflection processing unit 150, when the update of the update log file 149 is detected by the log monitoring unit 145, based on the latest update log information of the update log file 149, the relational database (slave) 142 of the slave server 141. The contents of the update are reflected in the main table (dummy) 143.

そして、分散データベースシステムにおける主従関係同期方式140によれば、マスタサーバ146の主表(マスタ)148の更新処理を行うだけで、分散されたスレーブサーバ141にも内容および表の主従関係を保ちつつ更新処理を行うことができ、この結果、サーバ毎に同様の内容のデータを更新する処理を不要とすることが可能となる。
特開平13−34518号公報
Then, according to the master-slave relationship synchronization method 140 in the distributed database system, the master server 146 only updates the master table (master) 148, while maintaining the master-slave relationship between the contents and the table in the distributed slave servers 141. Update processing can be performed, and as a result, it is possible to eliminate processing for updating data having the same content for each server.
Japanese Patent Laid-Open No. 13-34518

しかしながら、図7に示す分散データベースシステムにおける主従関係同期方式140においては、分散して配置されたデータベースがリレーショナルデータベースであることが前提となっているため、分散されて配置されたデータベースが階層型データベースである場合には適用することが出来ないという問題がある。
本発明は上記した従来技術の問題点を解決するためになされたものであり、その目的は、主サイトにおいて判定手段を配設する必要をなくし、プログラム開発負荷を軽減するとともに、プログラムロジックに修正が必要となった際に、開発コストを軽減し、プログラムロジックの品質の劣化を抑制することが可能なデータベース同期更新処理方法を提供することにある。
However, since the master-slave relationship synchronization method 140 in the distributed database system shown in FIG. 7 is based on the premise that the distributed database is a relational database, the distributed database is a hierarchical database. If this is the case, there is a problem that it cannot be applied.
The present invention has been made to solve the above-described problems of the prior art, and its purpose is to eliminate the need for a determination means at the main site, reduce the program development load, and correct the program logic. It is an object of the present invention to provide a database synchronous update processing method capable of reducing development cost and suppressing deterioration of program logic quality when it becomes necessary.

また、本発明の別の目的は、分散して配置されたデータベースについて、全てのデータベースを同期をとって更新することにより、作業の手戻り又は情報の不整合が生じることを防止することが可能なデータベース同期更新処理方法を提供することにある。
さらに、本発明の別の目的は、分散して配置されたデータベースについて、かかるデータベースが階層型データベースである場合においても、全てのデータベースを同期をとって更新することが可能なデータベース同期更新処理方法を提供することにある。
Another object of the present invention is to prevent rework or information inconsistency from occurring by updating all databases synchronously with respect to distributed databases. Is to provide a simple database synchronous update processing method.
Furthermore, another object of the present invention is to provide a database synchronous update processing method capable of synchronously updating all databases even when such databases are hierarchical databases. Is to provide.

本発明のうち請求項1に係るデータベース同期更新処理方法は、データベースを有する主サイトと、前記主サイトのデータベースと共通する情報を格納するデータベースを有する従サイトとから構成される分散データベース環境において、前記主サイトから起動される更新処理に基づいて、前記従サイトのデータベース及び前記主サイトのデータベースを同期をとって更新するデータベース同期更新処理方法であって、
前記主サイトから更新処理情報を前記従サイトへ送信する工程と、
受信した前記更新処理情報と、前記従サイトのデータベースに格納されている情報とから、前記従サイトのデータベースの更新処理の実施が可能か否かを判定する工程と、
前記従サイトのデータベースの更新処理の実施が可能な場合に、前記従サイトの更新を登録するとともに、かかる登録された更新情報を前記主サイトへ送信する工程と、
受信した前記更新情報に基づいて、前記主サイトのデータベースの更新を登録する工程と、
受信した前記更新情報と、前記更新処理情報とに基づいて、前記主サイトのデータベース及び前記従サイトのデータベースの登録された更新を確定する工程とを備えることを特徴とする。
In the database synchronous update processing method according to claim 1 of the present invention, in a distributed database environment comprising a master site having a database and a slave site having a database for storing information common to the database of the master site, A database synchronous update processing method for synchronously updating the database of the slave site and the database of the primary site based on the update process started from the primary site,
Transmitting update processing information from the primary site to the slave site;
Determining whether or not the update processing of the database at the slave site is possible from the received update processing information and the information stored in the database at the slave site;
A step of registering the update of the slave site when the update process of the database of the slave site is possible, and transmitting the registered update information to the master site;
Registering an update of the main site database based on the received update information;
And a step of confirming registered updates of the database of the main site and the database of the subordinate site based on the received update information and the update processing information.

また、本発明のうち請求項2に係るスラブ充当方法は、スラブ在庫情報及びスラブオーダ情報のうち、少なくとも一方を格納するデータベースを有する従サイトと、前記従サイトのデータベースと共通の情報を格納するデータベースを有する主サイトとを備える分散データベース環境において、前記主サイトにて入力又は導出されたスラブ在庫情報及びスラブオーダ情報のうち、少なくとも一方に基づいて、前記従サイトのデータベース及び前記主サイトのデータベースを同期をとって更新するスラブ充当方法であって、
前記主サイトにて入力又は導出されたスラブ在庫情報及びスラブオーダ情報のうち、少なくとも一方を前記従サイトへ送信する工程と、
受信した前記スラブ在庫情報及び前記スラブオーダ情報のうち、少なくとも一方と、前記従サイトのデータベースに格納されている前記スラブ在庫情報及び前記スラブオーダ情報のうち、少なくとも一方とから、スラブオーダに対してスラブ在庫の充当が可能か否かを判定する工程と、
前記スラブオーダに対して前記スラブ在庫の充当が可能な場合に、前記従サイトのデータベースの更新を登録するとともに、かかる登録された更新情報を前記主サイトへ送信する工程と、
受信した前記更新情報に基づいて、前記主サイトのデータベースの更新を登録する工程と、
受信した前記更新情報と、入力又は導出された前記スラブ在庫情報及び前記スラブオーダ情報のうち、少なくとも一方とに基づいて、前記主サイトのデータベース及び前記従サイトのデータベースの登録された更新を確定する工程とを備えることを特徴とする。
In the slab allocation method according to claim 2 of the present invention, a slave site having a database storing at least one of slab inventory information and slab order information, and a database storing information common to the database of the slave site In a distributed database environment comprising a primary site having a primary site, the secondary site database and the primary site database are synchronized based on at least one of slab inventory information and slab order information input or derived at the primary site. Slab appropriation method to take and update,
Transmitting at least one of the slab inventory information and the slab order information input or derived at the main site to the slave site;
From at least one of the received slab inventory information and the slab order information, and at least one of the slab inventory information and the slab order information stored in the database at the slave site, the slab inventory is stored in the slab order. Determining whether appropriation is possible;
When the slab inventory can be allocated to the slab order, the update of the database of the slave site is registered, and the registered update information is transmitted to the main site;
Registering an update of the main site database based on the received update information;
Determining a registered update of the primary site database and the secondary site database based on the received update information and at least one of the input or derived slab inventory information and slab order information It is characterized by providing.

さらに、本発明のうち請求項3に係るコイル充当方法は、コイル在庫情報及びコイルオーダ情報のうち、少なくとも一方を格納するデータベースを有する従サイトと、前記従サイトのデータベースと共通の情報を格納するデータベースを有する主サイトとを備える分散データベース環境において、前記主サイトにて入力又は導出された、コイル在庫情報及びコイルオーダ情報のうち、少なくとも一方に基づいて、前記従サイトのデータベース及び前記主サイトのデータベースを同期をとって更新するコイル充当方法であって、
前記主サイトにて入力又は導出された、コイル在庫情報及びコイルオーダ情報のうち、少なくとも一方を前記従サイトへ送信する工程と、
受信した前記コイル在庫情報及び前記コイルオーダ情報のうち、少なくとも一方と、前記従サイトのデータベースに格納されている前記コイル在庫情報及びコイルオーダ情報のうち、少なくとも一方とから、受信した前記オーダ情報に係るオーダに対してコイル在庫の充当が可能か否かを判定する工程と、
前記オーダに対して前記コイル在庫の充当が可能な場合に、前記従サイトのデータベースの更新を登録するとともに、かかる登録された更新情報を前記主サイトへ送信する工程と、
受信した前記更新情報に基づいて、前記主サイトのデータベースの更新を登録する工程と、
受信した前記更新情報と、入力又は導出された前記コイル在庫情報及び前記コイルオーダ情報のうち、少なくとも一方とに基づいて、前記主サイトのデータベース及び前記従サイトのデータベースの登録された更新を確定する工程とを備えることを特徴とする。
Furthermore, the coil allocation method according to claim 3 of the present invention stores a slave site having a database storing at least one of coil inventory information and coil order information, and information common to the database of the slave site. In a distributed database environment comprising a primary site having a database, the database of the slave site and the primary site are based on at least one of coil inventory information and coil order information input or derived at the primary site. A coil allocation method for synchronously updating a database,
The step of transmitting at least one of the coil inventory information and the coil order information input or derived at the main site to the slave site;
The received order information from at least one of the received coil inventory information and the coil order information and at least one of the coil inventory information and coil order information stored in the database of the slave site. Determining whether or not the coil stock can be allocated to the order;
When the coil stock is available for the order, the update of the database of the slave site is registered, and the registered update information is transmitted to the main site;
Registering an update of the main site database based on the received update information;
Based on the received update information and at least one of the coil inventory information and the coil order information input or derived, the registered update of the primary site database and the secondary site database is confirmed. And a process.

本願請求項1に係るデータベース同期更新処理方法によれば、主サイトにおいて判定手段を配設する必要がなく、プログラム開発負荷を軽減するとともに、プログラムロジックに修正が必要となった際に、開発コストを軽減し、プログラムロジックの品質の劣化を抑制することが可能となる。また、本願請求項1に係るデータベース同期更新処理方法によれば、分散して配置されたデータベースについて、全てのデータベースを同期をとって更新することにより、作業の手戻り又は情報の不整合が生じることを防止することが可能となる。さらに、本願請求項1に係るデータベース同期更新処理方法によれば、分散して配置されたデータベースについて、かかるデータベースが階層型データベースである場合においても、全てのデータベースを同期をとって更新することが可能となる。   According to the database synchronous update processing method according to claim 1 of the present application, it is not necessary to provide a determination means at the main site, and the development cost is reduced when the program development load is reduced and the program logic needs to be corrected. Can be reduced, and deterioration of the quality of the program logic can be suppressed. In addition, according to the database synchronous update processing method according to claim 1 of the present invention, by renewing all databases synchronously with respect to the databases arranged in a distributed manner, rework or information inconsistency occurs. This can be prevented. Furthermore, according to the database synchronous update processing method according to claim 1 of the present application, even when the database is a hierarchical database, it is possible to update all the databases in synchronization with each other even if the database is a hierarchical database. It becomes possible.

また、本願請求項2に係るスラブ充当方法によれば、請求項1に係るデータベース同期更新処理方法の効果に加え、スラブオーダに対するスラブ在庫の充当を効率よく行うことが可能となる。
さらに、本願請求項3に係るコイル充当方法によれば、請求項1に係るデータベース同期更新処理方法の効果に加え、コイルオーダに対するコイル在庫の充当を効率よく行うことが可能となる。
Moreover, according to the slab allocation method according to claim 2 of the present application, in addition to the effect of the database synchronous update processing method according to claim 1, it is possible to efficiently allocate slab inventory to the slab order.
Furthermore, according to the coil allocation method according to claim 3 of the present application, in addition to the effect of the database synchronous update processing method according to claim 1, it is possible to efficiently allocate the coil stock to the coil order.

以下、本発明の第一実施形態に係るデータベース同期更新処理方法を図面を参照して説明する。
図1は、本発明の第一実施形態に係るデータベース同期更新処理システムの概略構成図である。図2は、図1に示すデータベース同期更新処理システムにおける処理の流れを示す図である。
データベース同期更新処理システム1は、図1に示すように、主サイト2と、主サイト2に対して離隔して配置される複数の従サイト3と、主サイト2と従サイト3とを接続する通信回線4とを備えている。そして、データベース同期更新処理システム1は、主サイト2から起動される更新処理に基いて、従サイト3の後述するデータベース11及び主サイト2の後述するデータベース6を同期をとって更新するものである。
主サイト2は、データベース6と、入力端末7と、トランザクション制御手段9と、データベース更新手段10とを備えている。
データベース6は、リレーショナルデータベースにより構成され、各従サイト3に備えられるデータベース11に格納されている情報と共通の情報が格納されている。
Hereinafter, a database synchronous update processing method according to a first embodiment of the present invention will be described with reference to the drawings.
FIG. 1 is a schematic configuration diagram of a database synchronous update processing system according to the first embodiment of the present invention. FIG. 2 is a diagram showing a flow of processing in the database synchronous update processing system shown in FIG.
As shown in FIG. 1, the database synchronous update processing system 1 connects a main site 2, a plurality of slave sites 3 that are arranged apart from the master site 2, and the master site 2 and the slave sites 3. And a communication line 4. The database synchronous update processing system 1 synchronizes and updates a database 11 (described later) of the slave site 3 and a database 6 (described later) of the primary site 2 based on an update process activated from the primary site 2. .
The main site 2 includes a database 6, an input terminal 7, a transaction control unit 9, and a database update unit 10.
The database 6 is composed of a relational database, and stores information common to information stored in the database 11 provided in each slave site 3.

入力端末7には、更新処理情報が入力される。また、入力端末7は、図示しない計算手段を備え、かかる計算手段により以降の処理において必要となる追加的な更新処理情報を導出(算出)する。以下において、入力端末7に入力された更新処理情報又は入力端末7で導出(算出)された更新処理情報を、単に更新処理情報という。ここで、更新処理情報とは、処理対象を特定する情報(例えば、オーダを特定するためのオーダ番号、製品や現品を特定するための現品番号等)、処理内容を特定する情報(例えば、鉄鋼スラブ充当では、充当や充当変更などの実行処理内容を特定する情報)及び主サイト2のみに保有する関連情報をいう。また、関連情報とは、主サイト2のデータベース6に保有する情報、主サイト2のデータベース6に保有する情報等からロジック、計算式、検索処理等により求めた情報等であり、従サイト3の判定処理の入力情報となるもの(例えば、オーダ項目としての製造仕様、現品項目としての製造実績等)をいう。また、入力端末7には、更新処理情報に対する更新結果が表示される。   Update processing information is input to the input terminal 7. Further, the input terminal 7 includes calculation means (not shown), and derives (calculates) additional update processing information necessary for subsequent processing by the calculation means. Hereinafter, update process information input to the input terminal 7 or update process information derived (calculated) by the input terminal 7 is simply referred to as update process information. Here, the update processing information is information for specifying a processing target (for example, an order number for specifying an order, an actual product number for specifying a product or an actual product, etc.), and information for specifying a processing content (for example, steel) In slab appropriation, it refers to information that specifies the execution processing contents such as appropriation and appropriation change) and related information held only in the main site 2. The related information is information obtained from the information stored in the database 6 of the main site 2, information stored in the database 6 of the main site 2, etc. by logic, calculation formulas, search processing, etc. This is input information for determination processing (for example, manufacturing specifications as order items, manufacturing results as actual items, etc.). In addition, an update result for the update processing information is displayed on the input terminal 7.

トランザクション制御手段9は、入力端末7から更新処理情報を受け取り、更新処理情報に係る内容を確認する。そして、トランザクション制御手段9は、更新処理情報の内容とデータベース6に格納されている情報とに基づいて更新処理を行う従サイト3を検証し、トランザクションを行う従サイト3を選択する。また、トランザクション制御手段9は、選択された従サイト3に対して、更新処理情報を送信する。さらに、トランザクション制御手段9は、従サイト3から返信される更新結果情報(例えば、鉄鋼スラブ充当処理におけるスラブ在庫の充当結果)及び更新情報に基づき、データベース6の更新内容の登録並びに、データベース6及び従サイト3のデータベース11に登録された更新内容の確定(コミット)又は破棄(ロールバック)を決定する。   The transaction control means 9 receives the update process information from the input terminal 7 and confirms the contents related to the update process information. Then, the transaction control means 9 verifies the slave site 3 that performs the update processing based on the contents of the update processing information and the information stored in the database 6, and selects the slave site 3 that performs the transaction. Further, the transaction control means 9 transmits update processing information to the selected slave site 3. Further, the transaction control means 9 registers the update contents of the database 6 based on the update result information returned from the slave site 3 (for example, the allocation result of the slab inventory in the steel slab allocation process) and the update information, and the database 6 and Determine (commit) or discard (rollback) update contents registered in the database 11 of the slave site 3.

データベース更新手段10は、トランザクション制御手段9がデータベース6のコミットを決定した場合に、データベース6の登録された更新の確定を行う。
各従サイト3は、データベース11と、トランザクション制御手段12と、判定手段13と、データベース更新手段14を備えている。
データベース11は、階層型データベースにより構成されている。
The database update unit 10 confirms the registered update of the database 6 when the transaction control unit 9 determines to commit the database 6.
Each slave site 3 includes a database 11, a transaction control unit 12, a determination unit 13, and a database update unit 14.
The database 11 is configured by a hierarchical database.

トランザクション制御手段12は、主サイト2のトランザクション制御手段9から受信した更新処理情報を判定手段13へ入力するとともに、判定手段13から出力された更新結果情報を主サイト2のトランザクション制御手段9へと返信する。また、トランザクション制御手段12は、判定手段13から出力された更新結果情報において、更新可能であると判定されている場合に、データベース11の更新の登録を行うとともに、かかる登録された更新情報を主サイト2のトランザクション制御手段9へと返信する。さらに、トランザクション制御手段12は、主サイト2のトランザクション制御手段9から送信されるコミット又はロールバック指示に基づき、データベース更新手段14に対してデータベース11の登録された更新内容のコミット指示を出力し、又はデータベース11の登録された更新内容のロールバックを行う。   The transaction control unit 12 inputs the update processing information received from the transaction control unit 9 of the main site 2 to the determination unit 13 and sends the update result information output from the determination unit 13 to the transaction control unit 9 of the main site 2. Send back. The transaction control unit 12 registers the update of the database 11 and updates the registered update information when the update result information output from the determination unit 13 determines that the update is possible. It returns to the transaction control means 9 of the site 2. Further, the transaction control unit 12 outputs a commit instruction for the update contents registered in the database 11 to the database update unit 14 based on the commit or rollback instruction transmitted from the transaction control unit 9 of the main site 2. Alternatively, the update contents registered in the database 11 are rolled back.

判定手段13は、トランザクション制御手段12から入力された更新処理情報とデータベース11に格納されている情報とに基づき、更新処理の実施が可能か否かの判定を行う。この場合、判定手段13には、チェックロジックが格納されており、かかるチェックロジックに基づいて更新処理の実施が可能か否かの判定が行われる。
データベース更新手段14は、トランザクション制御手段12がデータベース11のコミットを指示した場合に、データベース11の登録された更新の確定を行う。
The determination unit 13 determines whether or not the update process can be performed based on the update process information input from the transaction control unit 12 and the information stored in the database 11. In this case, the determination unit 13 stores check logic, and it is determined whether or not the update process can be performed based on the check logic.
The database update unit 14 confirms the registered update of the database 11 when the transaction control unit 12 instructs to commit the database 11.

次に、データベース同期更新処理システム1における更新処理の流れについて説明する。
まず、図2に示すように、主サイト2の入力端末7にて、更新処理情報が入力又は導出(算出)される(ステップS101)。そして、入力端末7にて入力又は導出(算出)された更新処理情報は、主サイト2のトランザクション制御手段9へと入力される。
更新処理情報を受け取った主サイト2のトランザクション制御手段9は、トランザクションを行う従サイト3を選択し(ステップS102)、かかる従サイト3と通信経路を確立する(ステップS103)。
Next, the flow of update processing in the database synchronous update processing system 1 will be described.
First, as shown in FIG. 2, update processing information is input or derived (calculated) at the input terminal 7 of the main site 2 (step S101). Then, the update processing information input or derived (calculated) at the input terminal 7 is input to the transaction control means 9 of the main site 2.
The transaction control means 9 of the master site 2 that has received the update processing information selects the slave site 3 that performs the transaction (step S102), and establishes a communication path with the slave site 3 (step S103).

主サイト2と従サイト3との間の通信経路の確立後、主サイト2のトランザクション制御手段9は、従サイト3のトランザクション制御手段12に対して、更新処理情報を送信してトランザクションをスタートする(ステップS104)。ここで、主サイト2のトランザクション制御手段9は、従サイト3のトランザクション制御手段12に対して送信した更新処理情報をファイルに保存している。
そして、主サイト2から更新処理情報を受信した従サイト2のトランザクション制御手段12は、かかる更新処理情報を判定手段13へ入力する。
After establishing the communication path between the primary site 2 and the slave site 3, the transaction control means 9 of the primary site 2 transmits update processing information to the transaction control means 12 of the slave site 3 to start a transaction. (Step S104). Here, the transaction control means 9 of the main site 2 stores the update processing information transmitted to the transaction control means 12 of the slave site 3 in a file.
Then, the transaction control means 12 of the slave site 2 that has received the update process information from the main site 2 inputs the update process information to the determination means 13.

更新処理情報が入力された判定手段13は、かかる更新処理情報と従サイト3のデータベース11に格納されている情報とに基づき、更新処理の実施が可能か否かの判定を行い(ステップS105)、更新結果情報を従サイト3のトランザクション制御手段12に対して出力する。
判定手段13から更新結果情報が入力された従サイト3のトランザクション制御手段12は、更新結果情報において、更新可能であると判定されている場合には、従サイト3のデータベース11の更新内容の登録を行う(ステップS106)。そして、従サイト3のトランザクション制御手段12は、登録された情報を更新情報として、更新結果情報とともに主サイト2のトランザクション制御手段9へと返信する(ステップS107)。
The determination unit 13 to which the update process information is input determines whether or not the update process can be performed based on the update process information and the information stored in the database 11 of the slave site 3 (step S105). The update result information is output to the transaction control means 12 of the slave site 3.
The transaction control unit 12 of the slave site 3 to which the update result information is input from the determination unit 13 registers the update contents of the database 11 of the slave site 3 when it is determined that the update result information can be updated. Is performed (step S106). Then, the transaction control means 12 of the slave site 3 returns the registered information as update information to the transaction control means 9 of the main site 2 together with the update result information (step S107).

一方、判定手段13から入力された更新結果情報において、更新不可能であると判定されている場合には、従サイト3のトランザクション制御手段12は、更新結果情報のみを主サイト2のトランザクション制御手段9へと返信する(ステップS108)。そして、かかる更新結果情報は入力端末7に表示される。
そして、更新結果情報において、更新可能であると判定されている場合において、従サイト3のトランザクション制御手段12から更新情報及び更新結果情報を受信した主サイト2のトランザクション制御手段9は、更新情報に基づいて、主サイト2のデータベース6の更新内容の登録を行う(ステップS109)。
On the other hand, if it is determined that the update is not possible in the update result information input from the determination unit 13, the transaction control unit 12 of the slave site 3 uses only the update result information as the transaction control unit of the main site 2. 9 is returned (step S108). The update result information is displayed on the input terminal 7.
When it is determined in the update result information that the update is possible, the transaction control means 9 of the main site 2 that has received the update information and the update result information from the transaction control means 12 of the slave site 3 updates the update information. Based on this, the update contents of the database 6 of the main site 2 are registered (step S109).

主サイト2のデータベース6の更新内容の登録を行った主サイト2のトランザクション制御手段9は、更新情報とファイルに保存されている更新処理情報とに基づいて、両情報が整合しているか否かの判定を行い(ステップS110)、整合している場合にはコミットを決定し(ステップS111)、整合していない場合にはロールバックを決定する(ステップS112)。   The transaction control means 9 of the main site 2 that has registered the update contents of the database 6 of the main site 2 determines whether or not both pieces of information are consistent based on the update information and the update processing information stored in the file. Is determined (step S110), the commit is determined if they are consistent (step S111), and the rollback is determined if they are not consistent (step S112).

そして、コミットを決定した主サイト2のトランザクション制御手段9は、主サイト2のデータベース更新手段10及び従サイト3のトランザクション制御手段12に対してコミット指示を送信し、主サイト2のデータベース6及び従サイト3のデータベース11の登録された更新内容の確定を行う(ステップS113)。
一方、ロールバックを決定した主サイト2のトランザクション制御手段9は、主サイト2のデータベース6の登録された更新内容の破棄を行うとともに、従サイト3のトランザクション制御手段12に対してロールバック指示を送信し、従サイト3のデータベース11の登録された更新内容の破棄を行う(ステップS114)。
Then, the transaction control means 9 of the main site 2 that has decided to commit transmits a commit instruction to the database update means 10 of the main site 2 and the transaction control means 12 of the subordinate site 3, and the database 6 and the subordinate of the main site 2. The registered update contents of the database 11 of the site 3 are confirmed (step S113).
On the other hand, the transaction control means 9 of the primary site 2 that has decided to roll back discards the registered update contents of the database 6 of the primary site 2 and issues a rollback instruction to the transaction control means 12 of the slave site 3. Then, the update contents registered in the database 11 of the slave site 3 are discarded (step S114).

そして、主サイト2のデータベース6及び従サイト3のデータベース11の登録された更新内容の確定が行われた場合には、更新情報及び更新結果情報が入力端末7に表示され、更新処理が完了する。
一方、主サイト2のデータベース6及び従サイト3のデータベース11の登録された更新内容の破棄が行われた場合には、その旨のメッセージが入力端末7に表示される。
When the registered update contents of the database 6 of the main site 2 and the database 11 of the slave site 3 are confirmed, the update information and the update result information are displayed on the input terminal 7 and the update process is completed. .
On the other hand, when the registered update contents of the database 6 of the main site 2 and the database 11 of the slave site 3 are discarded, a message to that effect is displayed on the input terminal 7.

このように、データベース同期更新処理システム1によれば、主サイト2において判定手段13を配設する必要がなく、プログラム開発負荷を軽減するとともに、プログラムロジックに修正が必要となった際に、開発コストを軽減し、プログラムロジックの品質の劣化を抑制することが可能となる。また、データベース同期更新処理システム1によれば、分散して配置されたデータベースについて、全てのデータベースを同期をとって更新することにより、作業の手戻り又は情報の不整合が生じることを防止することが可能となる。さらに、データベース同期更新処理システム1によれば、分散して配置されたデータベースについて、かかるデータベースが階層型データベースである場合においても、全てのデータベースを同期をとって更新することが可能となる。   As described above, according to the database synchronous update processing system 1, it is not necessary to provide the determination means 13 in the main site 2, and the program development load is reduced and the development is performed when the program logic needs to be corrected. Costs can be reduced and deterioration of program logic quality can be suppressed. Moreover, according to the database synchronous update processing system 1, it is possible to prevent rework or information inconsistency from occurring by updating all the databases synchronously with respect to the databases arranged in a distributed manner. Is possible. Furthermore, according to the database synchronous update processing system 1, it is possible to update all databases synchronously even when the databases arranged in a distributed manner are hierarchical databases.

次に、本発明の第二実施形態に係るデータベース同期更新処理方法を図面を参照して説明する。
なお、本実施形態では、本発明に係るデータベース同期更新処理方法をスラブ充当システムに適用した場合を例に説明する。
図3は、本発明の第二実施形態に係るスラブ充当システムの概略構成図である。図4は、図3に示すスラブ充当システムにおける処理の流れを示す図である。
スラブ充当システム21は、図3に示すように、オーダ管理部門において配置される主サイト22と、オーダ管理部門に対して離隔した各製鉄所において配置される複数の従サイト23と、主サイト22と従サイト23とを接続するLAN回線24とを備えている。そして、スラブ充当システム21は、主サイト22から起動される更新処理に基いて、従サイト23の後述するサーバデータベース31及び主サイト22の後述するクライアントデータベース26を同期をとって更新するものである。
Next, a database synchronous update processing method according to the second embodiment of the present invention will be described with reference to the drawings.
In the present embodiment, a case where the database synchronous update processing method according to the present invention is applied to a slab allocation system will be described as an example.
FIG. 3 is a schematic configuration diagram of a slab allocation system according to the second embodiment of the present invention. FIG. 4 is a diagram showing a flow of processing in the slab allocation system shown in FIG.
As shown in FIG. 3, the slab allocation system 21 includes a main site 22 arranged in the order management department, a plurality of subsites 23 arranged in each steelworks separated from the order management department, and the main site 22. And a LAN line 24 for connecting the slave site 23 to the slave site 23. The slab allocation system 21 synchronizes and updates the server database 31 (described later) of the slave site 23 and the client database 26 (described later) of the primary site 22 based on update processing activated from the primary site 22. .

主サイト22は、クライアントデータベース26と、入力端末27と、クライアントトランザクション制御手段29と、データベース更新手段30とを備えている。
クライアントデータベース26は、リレーショナルデータベースにより構成され、各従サイト23に備えられるサーバデータベース31に格納されているスラブ在庫情報と共通の情報が格納されている。
入力端末27は、オーダ管理部門が受注したスラブオーダ情報が入力されるとともに、スラブオーダ情報に対するスラブ在庫の充当結果が表示される。
The main site 22 includes a client database 26, an input terminal 27, client transaction control means 29, and a database update means 30.
The client database 26 is composed of a relational database, and stores information common to the slab inventory information stored in the server database 31 provided in each slave site 23.
The input terminal 27 receives the slab order information received by the order management department and displays the allocation result of the slab inventory for the slab order information.

クライアントトランザクション制御手段29は、入力端末27からスラブオーダ情報を受け取り、スラブオーダ情報に係るスラブの成分、寸法等のスラブ情報を確認する。そして、クライアントトランザクション制御手段29は、スラブ情報とクライアントデータベース26に格納されているスラブ在庫情報とに基づいて、スラブオーダ情報に充当可能なスラブ在庫を持つ従サイト23を検証し、トランザクションを行う従サイト23を選択する。また、クライアントトランザクション制御手段29は、選択された従サイト23に対して、スラブオーダ情報を送信する。さらに、クライアントトランザクション制御手段29は、従サイト23から返信されるスラブ充当結果情報及びスラブ在庫更新情報(更新情報)に基づき、クライアントデータベース26の更新内容の登録並びに、クライアントデータベース26及びサーバデータベース31に登録された更新内容のコミット又はロールバックを決定する。   The client transaction control means 29 receives the slab order information from the input terminal 27 and confirms the slab information such as the slab component and dimensions related to the slab order information. Then, the client transaction control means 29 verifies the slave site 23 having a slab inventory that can be allocated to the slab order information based on the slab information and the slab inventory information stored in the client database 26, and performs the transaction. 23 is selected. Further, the client transaction control unit 29 transmits slab order information to the selected slave site 23. Further, the client transaction control means 29 registers the update contents of the client database 26 and stores the update contents in the client database 26 and the server database 31 based on the slab allocation result information and the slab inventory update information (update information) returned from the slave site 23. Determine commit or rollback of registered updates.

データベース更新手段30は、クライアントトランザクション制御手段29がクライアントデータベース26のコミットを決定した場合に、クライアントデータベース26の登録された更新の確定を行う。
各従サイト23は、サーバデータベース(従サイト23のデータベース)31と、サーバトランザクション制御手段32と、判定手段33と、データベース更新手段34を備えている。
サーバデータベース31は、階層型データベースにより構成され、各製鉄所が有するスラブ在庫情報が格納されている。この場合、サーバデータベース31が格納するスラブ在庫情報は、各スラブの成分、寸法等のスラブ情報に基づいてグループ化された状態で格納されている。
The database update unit 30 confirms the registered update of the client database 26 when the client transaction control unit 29 determines to commit the client database 26.
Each slave site 23 includes a server database (database of the slave site 23) 31, server transaction control means 32, determination means 33, and database update means 34.
The server database 31 is composed of a hierarchical database and stores slab inventory information possessed by each steelworks. In this case, the slab inventory information stored in the server database 31 is stored in a grouped state based on slab information such as components and dimensions of each slab.

サーバトランザクション制御手段32は、クライアントトランザクション制御手段29から受信したスラブオーダ情報を判定手段33へ入力するとともに、判定手段33から出力されたスラブ充当結果情報をクライアントトランザクション制御手段29へと返信する。また、サーバトランザクション制御手段32は、判定手段33から出力されたスラブ充当結果情報において、スラブオーダに対してスラブ在庫を充当可能であると判定されている場合に、スラブ在庫の充当分についてのサーバデータベース31の更新の登録を行うとともに、かかる登録されたスラブ在庫更新情報をクライアントトランザクション制御手段29へと返信する。さらに、サーバトランザクション制御手段32は、クライアントトランザクション制御手段29から送信されるコミット又はロールバック指示に基づき、データベース更新手段34に対してサーバデータベース31の登録された更新内容のコミット指示を出力し、又はサーバデータベース31の登録された更新内容のロールバックを行う。   The server transaction control unit 32 inputs the slab order information received from the client transaction control unit 29 to the determination unit 33 and returns the slab allocation result information output from the determination unit 33 to the client transaction control unit 29. In addition, the server transaction control unit 32 determines whether the slab inventory can be allocated to the slab order in the slab allocation result information output from the determination unit 33. 31 is registered, and the registered slab inventory update information is returned to the client transaction control means 29. Further, the server transaction control unit 32 outputs a commit instruction for the registered update contents of the server database 31 to the database update unit 34 based on the commit or rollback instruction transmitted from the client transaction control unit 29, or The registered update contents of the server database 31 are rolled back.

判定手段33は、サーバトランザクション制御手段32から入力されたスラブオーダ情報とサーバデータベース31に格納されているスラブ在庫情報とに基づき、スラブオーダに対してスラブ在庫を充当可能か否かの判定を行う。この場合、判定手段33は、スラブオーダ情報に係るスラブの成分、寸法等のスラブ情報のチェックロジックが格納されており、かかるチェックロジックに基づいてスラブオーダに対するスラブ在庫の充当可能か否かの判定が行われる。
データベース更新手段34は、サーバトランザクション制御手段32がサーバデータベース31のコミットを指示した場合に、サーバデータベース31の登録された更新の確定を行う。
Based on the slab order information input from the server transaction control unit 32 and the slab inventory information stored in the server database 31, the determination unit 33 determines whether or not slab inventory can be allocated to the slab order. In this case, the determination unit 33 stores slab information check logic such as slab components and dimensions related to the slab order information, and determines whether or not slab inventory can be allocated to the slab order based on the check logic. Is called.
The database update unit 34 confirms the registered update of the server database 31 when the server transaction control unit 32 instructs to commit the server database 31.

次に、スラブ充当システム21におけるスラブ充当処理の流れについて説明する。
まず、図4に示すように、主サイト22の入力端末27にスラブオーダ情報を入力する(ステップS201)。そして、入力端末27に入力されたスラブオーダ情報は、クライアントトランザクション制御手段29へと入力される。
スラブオーダ情報を受け取ったクライアントトランザクション制御手段29は、トランザクションを行う従サイト23を選択し(ステップS202)、かかる従サイト23と通信経路を確立する(ステップS203)。
Next, the flow of the slab allocation process in the slab allocation system 21 will be described.
First, as shown in FIG. 4, slab order information is input to the input terminal 27 of the main site 22 (step S201). The slab order information input to the input terminal 27 is input to the client transaction control means 29.
Upon receiving the slab order information, the client transaction control means 29 selects the slave site 23 that performs the transaction (step S202), and establishes a communication path with the slave site 23 (step S203).

主サイト22と従サイト23との間の通信経路の確立後、クライアントトランザクション制御手段29は、従サイト23のサーバトランザクション制御手段32に対して、スラブオーダ情報を送信してトランザクションをスタートする(ステップS204)。ここで、クライアントトランザクション制御手段29は、サーバトランザクション制御手段32に対して送信したスラブオーダ情報をファイルに保存している。   After establishing the communication path between the main site 22 and the slave site 23, the client transaction control means 29 transmits slab order information to the server transaction control means 32 of the slave site 23 to start a transaction (step S204). ). Here, the client transaction control means 29 stores the slab order information transmitted to the server transaction control means 32 in a file.

そして、主サイト22からスラブオーダ情報を受信したサーバトランザクション制御手段32は、かかるスラブオーダ情報を判定手段33へ入力する。
スラブオーダ情報が入力された判定手段33は、かかるスラブオーダ情報とサーバデータベース31に格納されているスラブ在庫情報とに基づき、スラブオーダに対してスラブ在庫を充当可能か否かの判定を行い(ステップS205)、スラブ充当結果情報をサーバトランザクション制御手段32に対して出力する。
The server transaction control unit 32 that has received the slab order information from the main site 22 inputs the slab order information to the determination unit 33.
Based on the slab order information and the slab inventory information stored in the server database 31, the determination means 33 to which the slab order information has been input determines whether or not slab inventory can be allocated to the slab order (step S205). The slab allocation result information is output to the server transaction control means 32.

判定手段33からスラブ充当結果情報を入力したサーバトランザクション制御手段32は、スラブ充当結果情報において、スラブオーダに対してスラブ在庫を充当可能であると判定されている場合には、かかるスラブ在庫の充当分についてのサーバデータベース31の更新内容の登録を行う(ステップS206)。そして、登録された情報をスラブ在庫更新情報として、スラブ充当結果情報とともにクライアントトランザクション制御手段29へと返信する(ステップS207)。   The server transaction control unit 32 that has input the slab allocation result information from the determination unit 33 determines that the slab inventory can be allocated to the slab order in the slab allocation result information. The update contents of the server database 31 are registered for (step S206). Then, the registered information is returned as slab inventory update information to the client transaction control means 29 together with the slab allocation result information (step S207).

一方、判定手段33から入力されたスラブ充当結果情報において、スラブオーダに対してスラブ在庫を充当不可能であると判定されている場合には、サーバトランザクション制御手段32は、スラブ充当結果情報のみをクライアントトランザクション制御手段29へと返信する(ステップS208)。そして、かかるスラブ充当結果情報は入力端末27に表示される。
そして、スラブ充当結果情報において、スラブオーダに対してスラブ在庫を充当可能であると判定されている場合において、サーバトランザクション制御手段32からスラブ在庫更新情報及び充当結果情報を受信したクライアントトランザクション制御手段29は、スラブ在庫更新情報に基づいて、クライアントデータベース26の更新内容の登録を行う(ステップS209)。
On the other hand, if it is determined in the slab allocation result information input from the determination unit 33 that the slab inventory cannot be allocated to the slab order, the server transaction control unit 32 uses only the slab allocation result information as the client. It returns to the transaction control means 29 (step S208). The slab allocation result information is displayed on the input terminal 27.
Then, when it is determined in the slab allocation result information that the slab inventory can be allocated to the slab order, the client transaction control unit 29 that has received the slab inventory update information and the allocation result information from the server transaction control unit 32 Based on the slab inventory update information, the update contents of the client database 26 are registered (step S209).

クライアントデータベース26の更新内容の登録を行ったクライアントトランザクション制御手段29は、在庫更新情報とファイルに保存されているスラブオーダ情報とに基づいて、両情報が整合しているか否かの判定を行い(ステップS210)、整合している場合にはコミットを決定し(ステップS211)、整合していない場合にはロールバックを決定する(ステップS212)。   The client transaction control means 29 that has registered the update contents of the client database 26 determines whether or not both pieces of information are consistent based on the inventory update information and the slab order information stored in the file (step S210), commit is determined if they are consistent (step S211), and rollback is determined if they are not consistent (step S212).

そして、コミットを決定したクライアントトランザクション制御手段29は、データベース更新手段30及びサーバトランザクション制御手段32に対してコミット指示を送信し、クライアントデータベース26及びサーバデータベース31の登録された更新内容の確定を行う(ステップS213)。一方、ロールバックを決定したクライアントトランザクション制御手段29は、クライアントデータベース26の登録された更新内容の破棄を行うとともに、サーバトランザクション制御手段32に対してロールバック指示を送信し、サーバデータベース31の登録された更新内容の破棄を行う(ステップS214)。   Then, the client transaction control unit 29 that has determined the commit transmits a commit instruction to the database update unit 30 and the server transaction control unit 32, and confirms the update contents registered in the client database 26 and the server database 31 ( Step S213). On the other hand, the client transaction control unit 29 that has decided to roll back discards the update contents registered in the client database 26 and transmits a rollback instruction to the server transaction control unit 32 so that the server database 31 is registered. The updated contents are discarded (step S214).

そして、クライアントデータベース26及びサーバデータベース31の登録された更新内容の確定が行われた場合には、スラブ在庫更新情報及び充当結果情報が入力端末27に表示され、スラブオーダに対するスラブ在庫の充当が完了する。
一方、クライアントデータベース26及びサーバデータベース31の登録された更新内容の破棄が行われた場合には、その旨のメッセージが入力端末27に表示される。
When the registered update contents of the client database 26 and the server database 31 are confirmed, the slab inventory update information and the allocation result information are displayed on the input terminal 27, and the allocation of the slab inventory to the slab order is completed. .
On the other hand, when the registered update contents of the client database 26 and the server database 31 are discarded, a message to that effect is displayed on the input terminal 27.

このように、スラブ充当システム21によれば、主サイト22において判定手段33を配設する必要がなく、プログラム開発負荷を軽減するとともに、プログラムロジックに修正が必要となった際に、開発コストを軽減し、プログラムロジックの品質の劣化を抑制することが可能となる。また、スラブ充当システム21によれば、分散して配置されたデータベースについて、全てのデータベースを同期をとって更新することにより、作業の手戻り又は情報の不整合が生じることを防止することが可能となる。また、スラブ充当システム21によれば、分散して配置されたデータベースについて、かかるデータベースが階層型データベースである場合においても、全てのデータベースを同期をとって更新することが可能となる。さらに、スラブ充当システム21によれば、スラブオーダに対するスラブ在庫の充当を効率よく行うことが可能となる。   Thus, according to the slab allocation system 21, it is not necessary to provide the determination means 33 in the main site 22, reducing the program development load and reducing the development cost when the program logic needs to be corrected. It is possible to reduce and suppress deterioration of the quality of the program logic. Moreover, according to the slab allocation system 21, it is possible to prevent rework or information inconsistency from occurring by updating all databases in synchronization with each other in a distributed database. It becomes. In addition, according to the slab allocation system 21, all databases can be updated in synchronization with each other even if the database is a hierarchical database. Furthermore, according to the slab allocation system 21, it is possible to efficiently allocate the slab inventory to the slab order.

次に、本発明の第三実施形態に係るデータベース同期更新処理方法を図面を参照して説明する。
なお、本実施形態でも、第二実施形態と同様に、本発明に係るデータベース同期更新処理方法をスラブ充当システムに適用した場合を例に説明する。ここで、第二実施形態では、従サイトでオーダ情報からスラブ在庫情報の抽出を行うことができる場合を例に説明したが、本実施形態は、従サイトでオーダ情報からスラブ在庫情報の抽出を行うことができない場合を例にして説明する。
Next, a database synchronous update processing method according to the third embodiment of the present invention will be described with reference to the drawings.
In this embodiment as well, as in the second embodiment, a case where the database synchronous update processing method according to the present invention is applied to a slab allocation system will be described as an example. Here, in the second embodiment, the case where the slab inventory information can be extracted from the order information at the slave site has been described as an example, but in this embodiment, the slab inventory information is extracted from the order information at the slave site. The case where it cannot be performed will be described as an example.

図5は、本発明の第三実施形態に係るスラブ充当システムの概略構成図である。図5に示すスラブ充当システム41の基本構成は、図3に示すスラブ充当システム21と同様である。しかしながら、スラブ充当システム41は、主サイトと従サイトとの間で送受信される情報が、スラブ在庫情報及びオーダ情報となっている点でスラブ充当システム21と異なっている。よって、スラブ充当システム21と同一の構成については説明を省略し、異なる構成についてのみ以下に説明する。   FIG. 5 is a schematic configuration diagram of a slab application system according to the third embodiment of the present invention. The basic configuration of the slab allocation system 41 shown in FIG. 5 is the same as that of the slab allocation system 21 shown in FIG. However, the slab allocation system 41 is different from the slab allocation system 21 in that information transmitted and received between the main site and the sub site is slab inventory information and order information. Therefore, description is abbreviate | omitted about the structure same as the slab allocation system 21, and only a different structure is demonstrated below.

クライアントデータベース46及びサーバデータベース51のそれぞれには、スラブ在庫情報に加え、オーダ情報が格納されている。また、スラブ在庫情報及びオーダ情報は、各スラブの成分、寸法等のスラブ情報に基づいてグループ化された状態で格納されている。
入力端末47には、スラブ在庫情報及びオーダ情報が入力される。また、入力端末47は、図示しない計算手段を備え、かかる計算手段によりスラブ在庫情報及びオーダ情報を導出(算出)する。なお、以下において、入力端末47に入力されたスラブ在庫情報及びオーダ情報又は入力端末47で導出(算出)されたスラブ在庫情報及びオーダ情報を、単にスラブ在庫情報及びオーダ情報という。また、入力端末47には、オーダ情報に対するスラブ在庫の充当結果が表示される。
Each of the client database 46 and the server database 51 stores order information in addition to slab inventory information. The slab inventory information and order information are stored in a grouped state based on the slab information such as the components and dimensions of each slab.
The input terminal 47 receives slab inventory information and order information. Further, the input terminal 47 includes calculation means (not shown), and derives (calculates) slab inventory information and order information by such calculation means. In the following, the slab inventory information and order information input to the input terminal 47 or the slab inventory information and order information derived (calculated) by the input terminal 47 are simply referred to as slab inventory information and order information. The input terminal 47 displays the allocation result of the slab inventory for the order information.

クライアントトランザクション制御手段49は、入力端末47からスラブ在庫情報及びオーダ情報を受け取り、オーダ情報に係るスラブの成分、寸法等のスラブ情報を確認する。そして、クライアントトランザクション制御手段49は、スラブ情報とクライアントデータベース46に格納されているスラブ在庫情報及びオーダ情報とに基づいて、オーダ情報に充当可能なスラブ在庫を持つ従サイト43を検証し、トランザクションを行う従サイト43を選択する。また、クライアントトランザクション制御手段49は、選択された従サイト43に対して、スラブ在庫情報及びオーダ情報を送信する。さらに、クライアントトランザクション制御手段49は、従サイト43から返信されるスラブ充当結果情報並びにスラブ在庫更新情報(更新情報)及びオーダ更新情報(更新情報)に基づき、クライアントデータベース46の更新内容の登録並びに、クライアントデータベース46及びサーバデータベース51に登録された更新内容のコミット又はロールバックを決定する。   The client transaction control means 49 receives the slab inventory information and the order information from the input terminal 47, and confirms the slab information such as the slab components and dimensions related to the order information. Based on the slab information and the slab inventory information and order information stored in the client database 46, the client transaction control means 49 verifies the slave site 43 having a slab inventory that can be allocated to the order information, and executes the transaction. The slave site 43 to be selected is selected. Further, the client transaction control means 49 transmits slab inventory information and order information to the selected slave site 43. Further, the client transaction control means 49 registers the update contents of the client database 46 based on the slab allocation result information returned from the slave site 43, the slab inventory update information (update information) and the order update information (update information), and The commit or rollback of the update contents registered in the client database 46 and the server database 51 is determined.

サーバトランザクション制御手段52は、クライアントトランザクション制御手段49から受信したスラブ在庫情報及びオーダ情報を判定手段53へ入力するとともに、判定手段53から出力されたスラブ充当結果情報をクライアントトランザクション制御手段49へと返信する。また、サーバトランザクション制御手段52は、判定手段53から出力されたスラブ充当結果情報において、オーダに対してスラブ在庫を充当可能であると判定されている場合に、スラブ在庫の充当分についてのサーバデータベース51の更新の登録を行うとともに、かかる登録されたスラブ在庫更新情報及びオーダ更新情報をクライアントトランザクション制御手段49へと返信する。   The server transaction control unit 52 inputs the slab inventory information and order information received from the client transaction control unit 49 to the determination unit 53 and returns the slab allocation result information output from the determination unit 53 to the client transaction control unit 49. To do. In addition, the server transaction control unit 52, when it is determined that the slab inventory can be allocated to the order in the slab allocation result information output from the determination unit 53, the server database about the allocation of the slab inventory 51 is registered, and the registered slab inventory update information and order update information are returned to the client transaction control means 49.

判定手段53は、サーバトランザクション制御手段52から入力されたスラブ在庫情報及びオーダ情報とサーバデータベース51に格納されているスラブ在庫情報及びオーダ情報とに基づき、オーダに対してスラブ在庫を充当可能か否かの判定を行う。この場合、判定手段53は、スラブ在庫情報及びオーダ情報に係るスラブの成分、寸法等のスラブ情報のチェックロジックが格納されており、かかるチェックロジックに基づいてオーダに対するスラブ在庫の充当可能か否かの判定が行われる。   Based on the slab inventory information and order information input from the server transaction control unit 52 and the slab inventory information and order information stored in the server database 51, the determination unit 53 determines whether or not the slab inventory can be allocated to the order. Judgment is made. In this case, the determination means 53 stores slab inventory information and slab information check logic such as dimensions and slab information related to the order information, and whether or not slab inventory can be allocated to the order based on the check logic. Is determined.

次に、スラブ充当システム51におけるスラブ充当処理の流れについて、図6を参照して説明する。
まず、図6に示すように、主サイト42にて、スラブ在庫情報及びオーダ情報が入力又は導出(算出)される(ステップS301)。そして、入力端末47に入力又は算出されたスラブ在庫情報及びオーダ情報は、クライアントトランザクション制御手段49へと入力される。
スラブ在庫情報及びオーダ情報を受け取ったクライアントトランザクション制御手段49は、トランザクションを行う従サイト43を選択し(ステップS302)、かかる従サイト43と通信経路を確立する(ステップS303)。
Next, the flow of the slab allocation process in the slab allocation system 51 will be described with reference to FIG.
First, as shown in FIG. 6, slab inventory information and order information are input or derived (calculated) at the main site 42 (step S301). The slab inventory information and order information input or calculated in the input terminal 47 are input to the client transaction control means 49.
The client transaction control means 49 that has received the slab inventory information and the order information selects the slave site 43 that performs the transaction (step S302), and establishes a communication path with the slave site 43 (step S303).

主サイト42と従サイト43との間の通信経路の確立後、クライアントトランザクション制御手段49は、従サイト43のサーバトランザクション制御手段52に対して、スラブ在庫情報及びオーダ情報を送信してトランザクションをスタートする(ステップS304)。ここで、クライアントトランザクション制御手段49は、サーバトランザクション制御手段52に対して送信したスラブ在庫情報及びオーダ情報をファイルに保存している。   After establishing the communication path between the master site 42 and the slave site 43, the client transaction control means 49 sends the slab inventory information and the order information to the server transaction control means 52 of the slave site 43 to start the transaction. (Step S304). Here, the client transaction control means 49 stores the slab inventory information and order information transmitted to the server transaction control means 52 in a file.

そして、主サイト42からスラブ在庫情報及びオーダ情報を受信したサーバトランザクション制御手段52は、かかるスラブ在庫情報及びオーダ情報を判定手段53へ入力する。
スラブ在庫情報及びオーダ情報が入力された判定手段53は、かかるスラブ在庫情報及びオーダ情報とサーバデータベース51に格納されているスラブ在庫情報及びオーダ情報とに基づき、オーダに対してスラブ在庫を充当可能か否かの判定を行い(ステップS305)、スラブ充当結果情報をサーバトランザクション制御手段52に対して出力する。
The server transaction control means 52 that has received the slab inventory information and order information from the main site 42 inputs the slab inventory information and order information to the determination means 53.
Based on the slab inventory information and order information and the slab inventory information and order information stored in the server database 51, the determination means 53 to which the slab inventory information and order information are input can allocate the slab inventory to the order. Is determined (step S305), and slab allocation result information is output to the server transaction control means 52.

判定手段53からスラブ充当結果情報を入力したサーバトランザクション制御手段52は、スラブ充当結果情報において、オーダに対してスラブ在庫を充当可能であると判定されている場合には、かかるスラブ在庫の充当分についてのサーバデータベース51の更新内容の登録を行う(ステップS306)。そして、登録された情報をスラブ在庫更新情報及びオーダ更新情報として、スラブ充当結果情報とともにクライアントトランザクション制御手段49へと返信する(ステップS307)。   The server transaction control unit 52 that has input the slab allocation result information from the determination unit 53 determines that the slab inventory can be allocated to the order in the slab allocation result information. The update contents of the server database 51 are registered for (Step S306). Then, the registered information is returned as slab inventory update information and order update information to the client transaction control means 49 together with the slab allocation result information (step S307).

一方、判定手段53から入力されたスラブ充当結果情報において、オーダに対してスラブ在庫を充当不可能であると判定されている場合には、サーバトランザクション制御手段52は、スラブ充当結果情報のみをクライアントトランザクション制御手段49へと返信する(ステップS308)。そして、かかるスラブ充当結果情報は入力端末47に表示される。   On the other hand, if it is determined in the slab allocation result information input from the determination unit 53 that the slab inventory cannot be allocated to the order, the server transaction control unit 52 transmits only the slab allocation result information to the client. It returns to the transaction control means 49 (step S308). The slab allocation result information is displayed on the input terminal 47.

そして、スラブ充当結果情報において、オーダに対してスラブ在庫を充当可能であると判定されている場合において、サーバトランザクション制御手段52からスラブ在庫更新情報及びオーダ更新情報並びに充当結果情報を受信したクライアントトランザクション制御手段49は、スラブ在庫更新情報及びオーダ更新情報に基づいて、クライアントデータベース46の更新内容の登録を行う(ステップS309)。   When it is determined in the slab allocation result information that the slab inventory can be allocated to the order, the client transaction that has received the slab inventory update information, the order update information, and the allocation result information from the server transaction control unit 52 The control means 49 registers the update contents of the client database 46 based on the slab inventory update information and the order update information (step S309).

クライアントデータベース46の更新内容の登録を行ったクライアントトランザクション制御手段49は、スラブ在庫更新情報及びオーダ更新情報とファイルに保存されているスラブ在庫情報及びオーダ情報とに基づいて、両情報が整合しているか否かの判定を行い(ステップS310)、整合している場合にはコミットを決定し(ステップS311)、整合していない場合にはロールバックを決定する(ステップS312)。   The client transaction control means 49 that registered the update contents of the client database 46 matches both information based on the slab inventory update information and order update information and the slab inventory information and order information stored in the file. It is determined whether or not there is a match (step S310), and if it is consistent, commit is determined (step S311), and if it is not consistent, rollback is determined (step S312).

そして、コミットを決定したクライアントトランザクション制御手段49は、データベース更新手段50及びサーバトランザクション制御手段52に対してコミット指示を送信し、クライアントデータベース46及びサーバデータベース51の登録された更新内容の確定を行う(ステップS313)。
一方、ロールバックを決定したクライアントトランザクション制御手段49は、クライアントデータベース46の登録された更新内容の破棄を行うとともに、サーバトランザクション制御手段52に対してロールバック指示を送信し、サーバデータベース51の登録された更新内容の破棄を行う(ステップS314)。
Then, the client transaction control unit 49 that has determined the commit transmits a commit instruction to the database update unit 50 and the server transaction control unit 52, and confirms the update contents registered in the client database 46 and the server database 51 ( Step S313).
On the other hand, the client transaction control means 49 that has decided to roll back discards the update contents registered in the client database 46 and sends a rollback instruction to the server transaction control means 52 so that the server database 51 is registered. The updated contents are discarded (step S314).

そして、クライアントデータベース46及びサーバデータベース51の登録された更新内容の確定が行われた場合には、スラブ在庫更新情報及びオーダ更新情報並びに充当結果情報が入力端末47に表示され、オーダに対するスラブ在庫の充当が完了する。
一方、クライアントデータベース46及びサーバデータベース51の登録された更新内容の破棄が行われた場合には、その旨のメッセージが入力端末47に表示される。
When the registered update contents of the client database 46 and the server database 51 are confirmed, the slab inventory update information, the order update information, and the allocation result information are displayed on the input terminal 47, and the slab inventory of the order is displayed. Allocation is completed.
On the other hand, when the registered update contents of the client database 46 and the server database 51 are discarded, a message to that effect is displayed on the input terminal 47.

このように、スラブ充当システム41によれば、オーダ情報に関連するスラブ在庫情報を主サイト42から従サイト43へ送信する構成により、従サイト43でオーダ情報のみからスラブ在庫情報の抽出ができない場合でも、図3に示すスラブ21と同様の作用効果が得られる。
なお、本実施形態では、スラブ在庫情報及びオーダ情報として説明したが、スラブ(現品)に関する情報及びオーダに関する情報の両方又はそのうち一方であればよい。
As described above, according to the slab allocation system 41, when the slab inventory information related to the order information is transmitted from the main site 42 to the sub site 43, the sub site 43 cannot extract the slab inventory information from only the order information. However, the same effect as the slab 21 shown in FIG. 3 can be obtained.
In the present embodiment, the slab inventory information and the order information are described. However, the information regarding the slab (actual product) and the information regarding the order may be both or one of them.

以上、本発明の実施形態について説明したが、本発明の実施形態においては、種々の変更を行うことが可能である。
例えば、本発明の第二実施形態及び第三実施形態においては、本発明に係るデータベース同期更新処理方法をスラブ充当システムに適用した場合を例に説明している。しかしながら、本発明に係るデータベース同期更新処理方法をコイル充当システムに適用しても構わない。
Although the embodiments of the present invention have been described above, various modifications can be made in the embodiments of the present invention.
For example, in the second embodiment and the third embodiment of the present invention, a case where the database synchronous update processing method according to the present invention is applied to a slab allocation system is described as an example. However, the database synchronous update processing method according to the present invention may be applied to the coil allocation system.

本発明の第一実施形態に係るデータベース同期更新処理システムの概略構成図である。It is a schematic block diagram of the database synchronous update processing system which concerns on 1st embodiment of this invention. 図1に示すデータベース同期更新処理システムにおける処理の流れを示す図である。It is a figure which shows the flow of a process in the database synchronous update processing system shown in FIG. 本発明の第二実施形態に係るスラブ充当システムの概略構成図である。It is a schematic block diagram of the slab allocation system which concerns on 2nd embodiment of this invention. 図3に示すスラブ充当システムにおける処理の流れを示す図である。It is a figure which shows the flow of a process in the slab allocation system shown in FIG. 本発明の第三実施形態に係るスラブ充当システムの概略構成図である。It is a schematic block diagram of the slab allocation system which concerns on 3rd embodiment of this invention. 図5に示すスラブ充当システムにおける処理の流れを示す図である。It is a figure which shows the flow of a process in the slab allocation system shown in FIG. 特許文献1に係る分散データベースシステムにおける主従関係同期方式の概略構成図である。It is a schematic block diagram of the master-slave relationship synchronization system in the distributed database system which concerns on patent document 1. FIG.

符号の説明Explanation of symbols

1 データベース同期更新処理システム
2 主サイト
3 従サイト
4 通信回線
6 クライアントデータベース
7 入力端末
9 クライアントトランザクション制御手段
10 データベース更新手段
11 クライアントデータベース
12 クライアントトランザクション制御手段
13 判定手段
14 データベース更新手段
21 スラブ充当システム
22 主サイト
23 従サイト
24 LAN回線
26 クライアントデータベース
27 入力端末
29 クライアントトランザクション制御手段
30 データベース更新手段
31 サーバデータベース
32 サーバトランザクション制御手段
33 判定手段
34 データベース更新手段
41 スラブ充当システム
42 主サイト
43 従サイト
44 LAN回線
46 クライアントデータベース
47 入力端末
49 クライアントトランザクション制御手段
50 データベース更新手段
51 サーバデータベース
52 サーバトランザクション制御手段
53 判定手段
54 データベース更新手段
DESCRIPTION OF SYMBOLS 1 Database synchronous update processing system 2 Main site 3 Subordinate site 4 Communication line 6 Client database 7 Input terminal 9 Client transaction control means 10 Database update means 11 Client database 12 Client transaction control means 13 Judgment means 14 Database update means 21 Slab allocation system 22 Main site 23 Subordinate site 24 LAN line 26 Client database 27 Input terminal 29 Client transaction control means 30 Database update means 31 Server database 32 Server transaction control means 33 Judgment means 34 Database update means 41 Slab allocation system 42 Main site 43 Subordinate site 44 LAN Line 46 Client database 47 Input terminal 49 Client transaction control means 50 Database update means 51 Server database 52 Server transaction control means 53 Determination means 54 Database update means

Claims (3)

データベースを有する主サイトと、前記主サイトのデータベースと共通する情報を格納するデータベースを有する従サイトとから構成される分散データベース環境において、前記主サイトから起動される更新処理に基づいて、前記従サイトのデータベース及び前記主サイトのデータベースを同期をとって更新するデータベース同期更新処理方法であって、
前記主サイトから更新処理情報を前記従サイトへ送信する工程と、
受信した前記更新処理情報と、前記従サイトのデータベースに格納されている情報とから、前記従サイトのデータベースの更新処理の実施が可能か否かを判定する工程と、
前記従サイトのデータベースの更新処理の実施が可能な場合に、前記従サイトの更新を登録するとともに、かかる登録された更新情報を前記主サイトへ送信する工程と、
受信した前記更新情報に基づいて、前記主サイトのデータベースの更新を登録する工程と、
受信した前記更新情報と、前記更新処理情報とに基づいて、前記主サイトのデータベース及び前記従サイトのデータベースの登録された更新を確定する工程とを備えることを特徴とするデータベース同期更新処理方法。
In a distributed database environment including a master site having a database and a slave site having a database for storing information common to the database of the master site, the slave site is based on update processing started from the master site. A database synchronous update processing method for synchronizing and updating the database of the main site and the database of the main site,
Transmitting update processing information from the primary site to the slave site;
Determining whether or not the update processing of the database at the slave site is possible from the received update processing information and the information stored in the database at the slave site;
A step of registering the update of the slave site when the update process of the database of the slave site is possible, and transmitting the registered update information to the master site;
Registering an update of the main site database based on the received update information;
A database synchronous update processing method comprising: a step of confirming a registered update of the database of the main site and the database of the subordinate site based on the received update information and the update processing information.
スラブ在庫情報及びスラブオーダ情報のうち、少なくとも一方を格納するデータベースを有する従サイトと、前記従サイトのデータベースと共通の情報を格納するデータベースを有する主サイトとを備える分散データベース環境において、前記主サイトにて入力又は導出されたスラブ在庫情報及びスラブオーダ情報のうち、少なくとも一方に基づいて、前記従サイトのデータベース及び前記主サイトのデータベースを同期をとって更新するスラブ充当方法であって、
前記主サイトにて入力又は導出されたスラブ在庫情報及びスラブオーダ情報のうち、少なくとも一方を前記従サイトへ送信する工程と、
受信した前記スラブ在庫情報及び前記スラブオーダ情報のうち、少なくとも一方と、前記従サイトのデータベースに格納されている前記スラブ在庫情報及び前記スラブオーダ情報のうち、少なくとも一方とから、スラブオーダに対してスラブ在庫の充当が可能か否かを判定する工程と、
前記スラブオーダに対して前記スラブ在庫の充当が可能な場合に、前記従サイトのデータベースの更新を登録するとともに、かかる登録された更新情報を前記主サイトへ送信する工程と、
受信した前記更新情報に基づいて、前記主サイトのデータベースの更新を登録する工程と、
受信した前記更新情報と、入力又は導出された前記スラブ在庫情報及び前記スラブオーダ情報のうち、少なくとも一方とに基づいて、前記主サイトのデータベース及び前記従サイトのデータベースの登録された更新を確定する工程とを備えることを特徴とするスラブ充当方法。
In a distributed database environment comprising: a slave site having a database for storing at least one of slab inventory information and slab order information; and a master site having a database for storing information common to the slave site database. A slab allocation method for synchronizing and updating the database of the slave site and the database of the primary site based on at least one of the slab inventory information and the slab order information input or derived in
Transmitting at least one of the slab inventory information and the slab order information input or derived at the main site to the slave site;
From at least one of the received slab inventory information and the slab order information, and at least one of the slab inventory information and the slab order information stored in the database at the slave site, the slab inventory is stored in the slab order. Determining whether appropriation is possible;
When the slab inventory can be allocated to the slab order, the update of the database of the slave site is registered, and the registered update information is transmitted to the main site;
Registering an update of the main site database based on the received update information;
Determining a registered update of the primary site database and the secondary site database based on the received update information and at least one of the input or derived slab inventory information and slab order information A slab appropriation method comprising:
コイル在庫情報及びコイルオーダ情報のうち、少なくとも一方を格納するデータベースを有する従サイトと、前記従サイトのデータベースと共通の情報を格納するデータベースを有する主サイトとを備える分散データベース環境において、前記主サイトにて入力又は導出された、コイル在庫情報及びコイルオーダ情報のうち、少なくとも一方に基づいて、前記従サイトのデータベース及び前記主サイトのデータベースを同期をとって更新するコイル充当方法であって、
前記主サイトにて入力又は導出された、コイル在庫情報及びコイルオーダ情報のうち、少なくとも一方を前記従サイトへ送信する工程と、
受信した前記コイル在庫情報及び前記コイルオーダ情報のうち、少なくとも一方と、前記従サイトのデータベースに格納されている前記コイル在庫情報及びコイルオーダ情報のうち、少なくとも一方とから、受信した前記オーダ情報に係るオーダに対してコイル在庫の充当が可能か否かを判定する工程と、
前記オーダに対して前記コイル在庫の充当が可能な場合に、前記従サイトのデータベースの更新を登録するとともに、かかる登録された更新情報を前記主サイトへ送信する工程と、
受信した前記更新情報に基づいて、前記主サイトのデータベースの更新を登録する工程と、
受信した前記更新情報と、入力又は導出された前記コイル在庫情報及び前記コイルオーダ情報のうち、少なくとも一方とに基づいて、前記主サイトのデータベース及び前記従サイトのデータベースの登録された更新を確定する工程とを備えることを特徴とするコイル充当方法。
In a distributed database environment comprising: a slave site having a database for storing at least one of coil inventory information and coil order information; and a master site having a database for storing information common to the slave site database. A coil allocation method for synchronizing and updating the database of the slave site and the database of the main site based on at least one of the coil inventory information and the coil order information input or derived at
The step of transmitting at least one of the coil inventory information and the coil order information input or derived at the main site to the slave site;
The received order information from at least one of the received coil inventory information and the coil order information and at least one of the coil inventory information and coil order information stored in the database of the slave site. Determining whether or not the coil stock can be allocated to the order;
When the coil stock is available for the order, the update of the database of the slave site is registered, and the registered update information is transmitted to the main site;
Registering an update of the main site database based on the received update information;
Based on the received update information and at least one of the coil inventory information and the coil order information input or derived, the registered update of the primary site database and the secondary site database is confirmed. A coil application method comprising the steps of:
JP2007087919A 2006-03-30 2007-03-29 Database synchronous update processing method, slab applying method and coil applying method Withdrawn JP2007293831A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007087919A JP2007293831A (en) 2006-03-30 2007-03-29 Database synchronous update processing method, slab applying method and coil applying method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2006095521 2006-03-30
JP2007087919A JP2007293831A (en) 2006-03-30 2007-03-29 Database synchronous update processing method, slab applying method and coil applying method

Publications (1)

Publication Number Publication Date
JP2007293831A true JP2007293831A (en) 2007-11-08

Family

ID=38764364

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007087919A Withdrawn JP2007293831A (en) 2006-03-30 2007-03-29 Database synchronous update processing method, slab applying method and coil applying method

Country Status (1)

Country Link
JP (1) JP2007293831A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100952166B1 (en) 2008-07-24 2010-04-09 인하대학교 산학협력단 Method and apparatus for data version management of grid database

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100952166B1 (en) 2008-07-24 2010-04-09 인하대학교 산학협력단 Method and apparatus for data version management of grid database

Similar Documents

Publication Publication Date Title
JP4732661B2 (en) How to synchronize the client database with the server database
US20200342002A1 (en) Data synchronization in a distributed data storage system
EP1326184B1 (en) Conflict resolution for collaborative work system
WO2015145536A1 (en) Database management system, and method for controlling synchronization between databases
EP1592184A2 (en) Method and system for transmitting data for data synchronization between server and client when data synchronization session was abnormally terminated
US20090132321A1 (en) Maintenance planning system and maintenance planning method
CN105589797A (en) Method for synchronous data time delay detection between master database and slave database
WO2013001849A1 (en) Information providing device, information providing method, information providing program, and recoding medium
JP2013037450A (en) Database update controller, database management system, and database update control program
RU2013140415A (en) IMPROVED INVENTORY MANAGEMENT SYSTEM AND METHOD FOR ITS IMPLEMENTATION
CN111460474A (en) Method and device for realizing decentralized prediction machine, storage and computer
CN103281356A (en) File distribution method and system
JP5232428B2 (en) Database synchronous update processing method, database synchronous update processing system, database synchronous update processing program, product allocation method
JP2007293831A (en) Database synchronous update processing method, slab applying method and coil applying method
CN107066594A (en) A kind of synchronous method of metadata
CN107465725B (en) Heterogeneous long transaction processing system and method based on client information control system
EP3624462B1 (en) Data management system
US20150169356A1 (en) Transaction processing system
US8489773B1 (en) System, method, and computer program for sending a response to a client based on a replication message received from a master server
US20200265067A1 (en) Method of Synchronizing A Node Database With A Master Database, Device
JP2011034175A (en) Transaction control device, transaction processing method, and program
JP6088450B2 (en) Redundant database system, database device, and master replacement method
CN112039930B (en) Method and system for constructing mobile block chain based on large nodes
CN110933184A (en) Resource publishing platform and resource publishing method
CN113783826A (en) Micro-service exception handling method and device

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20100601