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 PDFInfo
- 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
Links
- 230000001360 synchronised effect Effects 0.000 title claims abstract description 35
- 238000003672 processing method Methods 0.000 title claims abstract description 23
- 238000000034 method Methods 0.000 title claims description 49
- 238000012545 processing Methods 0.000 claims abstract description 50
- 238000004519 manufacturing process Methods 0.000 description 15
- 238000010586 diagram Methods 0.000 description 9
- 238000004891 communication Methods 0.000 description 8
- 230000000694 effects Effects 0.000 description 6
- 229910000831 Steel Inorganic materials 0.000 description 5
- 230000006866 deterioration Effects 0.000 description 5
- 238000011161 development Methods 0.000 description 5
- 239000000047 product Substances 0.000 description 5
- 239000010959 steel Substances 0.000 description 5
- 238000007796 conventional method Methods 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 239000013067 intermediate product Substances 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
Classifications
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/30—Computing 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
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
そして、分散データベースシステムにおける主従関係同期方式140によれば、マスタサーバ146の主表(マスタ)148の更新処理を行うだけで、分散されたスレーブサーバ141にも内容および表の主従関係を保ちつつ更新処理を行うことができ、この結果、サーバ毎に同様の内容のデータを更新する処理を不要とすることが可能となる。
しかしながら、図7に示す分散データベースシステムにおける主従関係同期方式140においては、分散して配置されたデータベースがリレーショナルデータベースであることが前提となっているため、分散されて配置されたデータベースが階層型データベースである場合には適用することが出来ないという問題がある。
本発明は上記した従来技術の問題点を解決するためになされたものであり、その目的は、主サイトにおいて判定手段を配設する必要をなくし、プログラム開発負荷を軽減するとともに、プログラムロジックに修正が必要となった際に、開発コストを軽減し、プログラムロジックの品質の劣化を抑制することが可能なデータベース同期更新処理方法を提供することにある。
However, since the master-slave
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
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
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
Furthermore, according to the coil allocation method according to
以下、本発明の第一実施形態に係るデータベース同期更新処理方法を図面を参照して説明する。
図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
The
The
入力端末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
トランザクション制御手段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
データベース更新手段10は、トランザクション制御手段9がデータベース6のコミットを決定した場合に、データベース6の登録された更新の確定を行う。
各従サイト3は、データベース11と、トランザクション制御手段12と、判定手段13と、データベース更新手段14を備えている。
データベース11は、階層型データベースにより構成されている。
The
Each
The
トランザクション制御手段12は、主サイト2のトランザクション制御手段9から受信した更新処理情報を判定手段13へ入力するとともに、判定手段13から出力された更新結果情報を主サイト2のトランザクション制御手段9へと返信する。また、トランザクション制御手段12は、判定手段13から出力された更新結果情報において、更新可能であると判定されている場合に、データベース11の更新の登録を行うとともに、かかる登録された更新情報を主サイト2のトランザクション制御手段9へと返信する。さらに、トランザクション制御手段12は、主サイト2のトランザクション制御手段9から送信されるコミット又はロールバック指示に基づき、データベース更新手段14に対してデータベース11の登録された更新内容のコミット指示を出力し、又はデータベース11の登録された更新内容のロールバックを行う。
The
判定手段13は、トランザクション制御手段12から入力された更新処理情報とデータベース11に格納されている情報とに基づき、更新処理の実施が可能か否かの判定を行う。この場合、判定手段13には、チェックロジックが格納されており、かかるチェックロジックに基づいて更新処理の実施が可能か否かの判定が行われる。
データベース更新手段14は、トランザクション制御手段12がデータベース11のコミットを指示した場合に、データベース11の登録された更新の確定を行う。
The
The
次に、データベース同期更新処理システム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
The transaction control means 9 of the
主サイト2と従サイト3との間の通信経路の確立後、主サイト2のトランザクション制御手段9は、従サイト3のトランザクション制御手段12に対して、更新処理情報を送信してトランザクションをスタートする(ステップS104)。ここで、主サイト2のトランザクション制御手段9は、従サイト3のトランザクション制御手段12に対して送信した更新処理情報をファイルに保存している。
そして、主サイト2から更新処理情報を受信した従サイト2のトランザクション制御手段12は、かかる更新処理情報を判定手段13へ入力する。
After establishing the communication path between the
Then, the transaction control means 12 of the
更新処理情報が入力された判定手段13は、かかる更新処理情報と従サイト3のデータベース11に格納されている情報とに基づき、更新処理の実施が可能か否かの判定を行い(ステップS105)、更新結果情報を従サイト3のトランザクション制御手段12に対して出力する。
判定手段13から更新結果情報が入力された従サイト3のトランザクション制御手段12は、更新結果情報において、更新可能であると判定されている場合には、従サイト3のデータベース11の更新内容の登録を行う(ステップS106)。そして、従サイト3のトランザクション制御手段12は、登録された情報を更新情報として、更新結果情報とともに主サイト2のトランザクション制御手段9へと返信する(ステップS107)。
The
The
一方、判定手段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
When it is determined in the update result information that the update is possible, the transaction control means 9 of the
主サイト2のデータベース6の更新内容の登録を行った主サイト2のトランザクション制御手段9は、更新情報とファイルに保存されている更新処理情報とに基づいて、両情報が整合しているか否かの判定を行い(ステップS110)、整合している場合にはコミットを決定し(ステップS111)、整合していない場合にはロールバックを決定する(ステップS112)。
The transaction control means 9 of the
そして、コミットを決定した主サイト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
On the other hand, the transaction control means 9 of the
そして、主サイト2のデータベース6及び従サイト3のデータベース11の登録された更新内容の確定が行われた場合には、更新情報及び更新結果情報が入力端末7に表示され、更新処理が完了する。
一方、主サイト2のデータベース6及び従サイト3のデータベース11の登録された更新内容の破棄が行われた場合には、その旨のメッセージが入力端末7に表示される。
When the registered update contents of the
On the other hand, when the registered update contents of the
このように、データベース同期更新処理システム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
次に、本発明の第二実施形態に係るデータベース同期更新処理方法を図面を参照して説明する。
なお、本実施形態では、本発明に係るデータベース同期更新処理方法をスラブ充当システムに適用した場合を例に説明する。
図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
主サイト22は、クライアントデータベース26と、入力端末27と、クライアントトランザクション制御手段29と、データベース更新手段30とを備えている。
クライアントデータベース26は、リレーショナルデータベースにより構成され、各従サイト23に備えられるサーバデータベース31に格納されているスラブ在庫情報と共通の情報が格納されている。
入力端末27は、オーダ管理部門が受注したスラブオーダ情報が入力されるとともに、スラブオーダ情報に対するスラブ在庫の充当結果が表示される。
The
The
The
クライアントトランザクション制御手段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
データベース更新手段30は、クライアントトランザクション制御手段29がクライアントデータベース26のコミットを決定した場合に、クライアントデータベース26の登録された更新の確定を行う。
各従サイト23は、サーバデータベース(従サイト23のデータベース)31と、サーバトランザクション制御手段32と、判定手段33と、データベース更新手段34を備えている。
サーバデータベース31は、階層型データベースにより構成され、各製鉄所が有するスラブ在庫情報が格納されている。この場合、サーバデータベース31が格納するスラブ在庫情報は、各スラブの成分、寸法等のスラブ情報に基づいてグループ化された状態で格納されている。
The
Each
The
サーバトランザクション制御手段32は、クライアントトランザクション制御手段29から受信したスラブオーダ情報を判定手段33へ入力するとともに、判定手段33から出力されたスラブ充当結果情報をクライアントトランザクション制御手段29へと返信する。また、サーバトランザクション制御手段32は、判定手段33から出力されたスラブ充当結果情報において、スラブオーダに対してスラブ在庫を充当可能であると判定されている場合に、スラブ在庫の充当分についてのサーバデータベース31の更新の登録を行うとともに、かかる登録されたスラブ在庫更新情報をクライアントトランザクション制御手段29へと返信する。さらに、サーバトランザクション制御手段32は、クライアントトランザクション制御手段29から送信されるコミット又はロールバック指示に基づき、データベース更新手段34に対してサーバデータベース31の登録された更新内容のコミット指示を出力し、又はサーバデータベース31の登録された更新内容のロールバックを行う。
The server
判定手段33は、サーバトランザクション制御手段32から入力されたスラブオーダ情報とサーバデータベース31に格納されているスラブ在庫情報とに基づき、スラブオーダに対してスラブ在庫を充当可能か否かの判定を行う。この場合、判定手段33は、スラブオーダ情報に係るスラブの成分、寸法等のスラブ情報のチェックロジックが格納されており、かかるチェックロジックに基づいてスラブオーダに対するスラブ在庫の充当可能か否かの判定が行われる。
データベース更新手段34は、サーバトランザクション制御手段32がサーバデータベース31のコミットを指示した場合に、サーバデータベース31の登録された更新の確定を行う。
Based on the slab order information input from the server
The
次に、スラブ充当システム21におけるスラブ充当処理の流れについて説明する。
まず、図4に示すように、主サイト22の入力端末27にスラブオーダ情報を入力する(ステップS201)。そして、入力端末27に入力されたスラブオーダ情報は、クライアントトランザクション制御手段29へと入力される。
スラブオーダ情報を受け取ったクライアントトランザクション制御手段29は、トランザクションを行う従サイト23を選択し(ステップS202)、かかる従サイト23と通信経路を確立する(ステップS203)。
Next, the flow of the slab allocation process in the
First, as shown in FIG. 4, slab order information is input to the
Upon receiving the slab order information, the client transaction control means 29 selects the
主サイト22と従サイト23との間の通信経路の確立後、クライアントトランザクション制御手段29は、従サイト23のサーバトランザクション制御手段32に対して、スラブオーダ情報を送信してトランザクションをスタートする(ステップS204)。ここで、クライアントトランザクション制御手段29は、サーバトランザクション制御手段32に対して送信したスラブオーダ情報をファイルに保存している。
After establishing the communication path between the
そして、主サイト22からスラブオーダ情報を受信したサーバトランザクション制御手段32は、かかるスラブオーダ情報を判定手段33へ入力する。
スラブオーダ情報が入力された判定手段33は、かかるスラブオーダ情報とサーバデータベース31に格納されているスラブ在庫情報とに基づき、スラブオーダに対してスラブ在庫を充当可能か否かの判定を行い(ステップS205)、スラブ充当結果情報をサーバトランザクション制御手段32に対して出力する。
The server
Based on the slab order information and the slab inventory information stored in the
判定手段33からスラブ充当結果情報を入力したサーバトランザクション制御手段32は、スラブ充当結果情報において、スラブオーダに対してスラブ在庫を充当可能であると判定されている場合には、かかるスラブ在庫の充当分についてのサーバデータベース31の更新内容の登録を行う(ステップS206)。そして、登録された情報をスラブ在庫更新情報として、スラブ充当結果情報とともにクライアントトランザクション制御手段29へと返信する(ステップS207)。
The server
一方、判定手段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
Then, when it is determined in the slab allocation result information that the slab inventory can be allocated to the slab order, the client
クライアントデータベース26の更新内容の登録を行ったクライアントトランザクション制御手段29は、在庫更新情報とファイルに保存されているスラブオーダ情報とに基づいて、両情報が整合しているか否かの判定を行い(ステップS210)、整合している場合にはコミットを決定し(ステップS211)、整合していない場合にはロールバックを決定する(ステップS212)。
The client transaction control means 29 that has registered the update contents of the
そして、コミットを決定したクライアントトランザクション制御手段29は、データベース更新手段30及びサーバトランザクション制御手段32に対してコミット指示を送信し、クライアントデータベース26及びサーバデータベース31の登録された更新内容の確定を行う(ステップS213)。一方、ロールバックを決定したクライアントトランザクション制御手段29は、クライアントデータベース26の登録された更新内容の破棄を行うとともに、サーバトランザクション制御手段32に対してロールバック指示を送信し、サーバデータベース31の登録された更新内容の破棄を行う(ステップS214)。
Then, the client
そして、クライアントデータベース26及びサーバデータベース31の登録された更新内容の確定が行われた場合には、スラブ在庫更新情報及び充当結果情報が入力端末27に表示され、スラブオーダに対するスラブ在庫の充当が完了する。
一方、クライアントデータベース26及びサーバデータベース31の登録された更新内容の破棄が行われた場合には、その旨のメッセージが入力端末27に表示される。
When the registered update contents of the
On the other hand, when the registered update contents of the
このように、スラブ充当システム21によれば、主サイト22において判定手段33を配設する必要がなく、プログラム開発負荷を軽減するとともに、プログラムロジックに修正が必要となった際に、開発コストを軽減し、プログラムロジックの品質の劣化を抑制することが可能となる。また、スラブ充当システム21によれば、分散して配置されたデータベースについて、全てのデータベースを同期をとって更新することにより、作業の手戻り又は情報の不整合が生じることを防止することが可能となる。また、スラブ充当システム21によれば、分散して配置されたデータベースについて、かかるデータベースが階層型データベースである場合においても、全てのデータベースを同期をとって更新することが可能となる。さらに、スラブ充当システム21によれば、スラブオーダに対するスラブ在庫の充当を効率よく行うことが可能となる。
Thus, according to the
次に、本発明の第三実施形態に係るデータベース同期更新処理方法を図面を参照して説明する。
なお、本実施形態でも、第二実施形態と同様に、本発明に係るデータベース同期更新処理方法をスラブ充当システムに適用した場合を例に説明する。ここで、第二実施形態では、従サイトでオーダ情報からスラブ在庫情報の抽出を行うことができる場合を例に説明したが、本実施形態は、従サイトでオーダ情報からスラブ在庫情報の抽出を行うことができない場合を例にして説明する。
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
クライアントデータベース46及びサーバデータベース51のそれぞれには、スラブ在庫情報に加え、オーダ情報が格納されている。また、スラブ在庫情報及びオーダ情報は、各スラブの成分、寸法等のスラブ情報に基づいてグループ化された状態で格納されている。
入力端末47には、スラブ在庫情報及びオーダ情報が入力される。また、入力端末47は、図示しない計算手段を備え、かかる計算手段によりスラブ在庫情報及びオーダ情報を導出(算出)する。なお、以下において、入力端末47に入力されたスラブ在庫情報及びオーダ情報又は入力端末47で導出(算出)されたスラブ在庫情報及びオーダ情報を、単にスラブ在庫情報及びオーダ情報という。また、入力端末47には、オーダ情報に対するスラブ在庫の充当結果が表示される。
Each of the
The
クライアントトランザクション制御手段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
サーバトランザクション制御手段52は、クライアントトランザクション制御手段49から受信したスラブ在庫情報及びオーダ情報を判定手段53へ入力するとともに、判定手段53から出力されたスラブ充当結果情報をクライアントトランザクション制御手段49へと返信する。また、サーバトランザクション制御手段52は、判定手段53から出力されたスラブ充当結果情報において、オーダに対してスラブ在庫を充当可能であると判定されている場合に、スラブ在庫の充当分についてのサーバデータベース51の更新の登録を行うとともに、かかる登録されたスラブ在庫更新情報及びオーダ更新情報をクライアントトランザクション制御手段49へと返信する。
The server
判定手段53は、サーバトランザクション制御手段52から入力されたスラブ在庫情報及びオーダ情報とサーバデータベース51に格納されているスラブ在庫情報及びオーダ情報とに基づき、オーダに対してスラブ在庫を充当可能か否かの判定を行う。この場合、判定手段53は、スラブ在庫情報及びオーダ情報に係るスラブの成分、寸法等のスラブ情報のチェックロジックが格納されており、かかるチェックロジックに基づいてオーダに対するスラブ在庫の充当可能か否かの判定が行われる。
Based on the slab inventory information and order information input from the server
次に、スラブ充当システム51におけるスラブ充当処理の流れについて、図6を参照して説明する。
まず、図6に示すように、主サイト42にて、スラブ在庫情報及びオーダ情報が入力又は導出(算出)される(ステップS301)。そして、入力端末47に入力又は算出されたスラブ在庫情報及びオーダ情報は、クライアントトランザクション制御手段49へと入力される。
スラブ在庫情報及びオーダ情報を受け取ったクライアントトランザクション制御手段49は、トランザクションを行う従サイト43を選択し(ステップS302)、かかる従サイト43と通信経路を確立する(ステップS303)。
Next, the flow of the slab allocation process in the
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
The client transaction control means 49 that has received the slab inventory information and the order information selects the
主サイト42と従サイト43との間の通信経路の確立後、クライアントトランザクション制御手段49は、従サイト43のサーバトランザクション制御手段52に対して、スラブ在庫情報及びオーダ情報を送信してトランザクションをスタートする(ステップS304)。ここで、クライアントトランザクション制御手段49は、サーバトランザクション制御手段52に対して送信したスラブ在庫情報及びオーダ情報をファイルに保存している。
After establishing the communication path between the
そして、主サイト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
Based on the slab inventory information and order information and the slab inventory information and order information stored in the
判定手段53からスラブ充当結果情報を入力したサーバトランザクション制御手段52は、スラブ充当結果情報において、オーダに対してスラブ在庫を充当可能であると判定されている場合には、かかるスラブ在庫の充当分についてのサーバデータベース51の更新内容の登録を行う(ステップS306)。そして、登録された情報をスラブ在庫更新情報及びオーダ更新情報として、スラブ充当結果情報とともにクライアントトランザクション制御手段49へと返信する(ステップS307)。
The server
一方、判定手段53から入力されたスラブ充当結果情報において、オーダに対してスラブ在庫を充当不可能であると判定されている場合には、サーバトランザクション制御手段52は、スラブ充当結果情報のみをクライアントトランザクション制御手段49へと返信する(ステップS308)。そして、かかるスラブ充当結果情報は入力端末47に表示される。
On the other hand, if it is determined in the slab allocation result information input from the
そして、スラブ充当結果情報において、オーダに対してスラブ在庫を充当可能であると判定されている場合において、サーバトランザクション制御手段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
クライアントデータベース46の更新内容の登録を行ったクライアントトランザクション制御手段49は、スラブ在庫更新情報及びオーダ更新情報とファイルに保存されているスラブ在庫情報及びオーダ情報とに基づいて、両情報が整合しているか否かの判定を行い(ステップS310)、整合している場合にはコミットを決定し(ステップS311)、整合していない場合にはロールバックを決定する(ステップS312)。
The client transaction control means 49 that registered the update contents of the
そして、コミットを決定したクライアントトランザクション制御手段49は、データベース更新手段50及びサーバトランザクション制御手段52に対してコミット指示を送信し、クライアントデータベース46及びサーバデータベース51の登録された更新内容の確定を行う(ステップS313)。
一方、ロールバックを決定したクライアントトランザクション制御手段49は、クライアントデータベース46の登録された更新内容の破棄を行うとともに、サーバトランザクション制御手段52に対してロールバック指示を送信し、サーバデータベース51の登録された更新内容の破棄を行う(ステップS314)。
Then, the client
On the other hand, the client transaction control means 49 that has decided to roll back discards the update contents registered in the
そして、クライアントデータベース46及びサーバデータベース51の登録された更新内容の確定が行われた場合には、スラブ在庫更新情報及びオーダ更新情報並びに充当結果情報が入力端末47に表示され、オーダに対するスラブ在庫の充当が完了する。
一方、クライアントデータベース46及びサーバデータベース51の登録された更新内容の破棄が行われた場合には、その旨のメッセージが入力端末47に表示される。
When the registered update contents of the
On the other hand, when the registered update contents of the
このように、スラブ充当システム41によれば、オーダ情報に関連するスラブ在庫情報を主サイト42から従サイト43へ送信する構成により、従サイト43でオーダ情報のみからスラブ在庫情報の抽出ができない場合でも、図3に示すスラブ21と同様の作用効果が得られる。
なお、本実施形態では、スラブ在庫情報及びオーダ情報として説明したが、スラブ(現品)に関する情報及びオーダに関する情報の両方又はそのうち一方であればよい。
As described above, according to the
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.
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
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:
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)
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 |
-
2007
- 2007-03-29 JP JP2007087919A patent/JP2007293831A/en not_active Withdrawn
Cited By (1)
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 |