JP7579229B2 - Synchronous control device, synchronous control method, and synchronous control program - Google Patents
Synchronous control device, synchronous control method, and synchronous control program Download PDFInfo
- Publication number
- JP7579229B2 JP7579229B2 JP2021167378A JP2021167378A JP7579229B2 JP 7579229 B2 JP7579229 B2 JP 7579229B2 JP 2021167378 A JP2021167378 A JP 2021167378A JP 2021167378 A JP2021167378 A JP 2021167378A JP 7579229 B2 JP7579229 B2 JP 7579229B2
- Authority
- JP
- Japan
- Prior art keywords
- module
- master
- business system
- synchronization
- folder
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims description 66
- 230000001360 synchronised effect Effects 0.000 title claims description 35
- 238000013515 script Methods 0.000 claims description 38
- 230000010365 information processing Effects 0.000 claims description 11
- 238000012545 processing Methods 0.000 description 74
- 238000007726 management method Methods 0.000 description 39
- 238000010586 diagram Methods 0.000 description 29
- 230000006870 function Effects 0.000 description 9
- 238000004891 communication Methods 0.000 description 8
- 230000008901 benefit Effects 0.000 description 7
- 238000009434 installation Methods 0.000 description 5
- 238000004590 computer program Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 4
- 239000000284 extract Substances 0.000 description 4
- 238000012384 transportation and delivery Methods 0.000 description 4
- 238000007792 addition Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000003672 processing method Methods 0.000 description 2
- 230000001737 promoting effect Effects 0.000 description 2
- 238000011084 recovery Methods 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000018109 developmental process Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000012447 hatching Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000013439 planning Methods 0.000 description 1
- 238000005728 strengthening Methods 0.000 description 1
- 230000001052 transient effect Effects 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Stored Programmes (AREA)
Description
本発明は、同期制御装置、同期制御方法および同期制御プログラムに関する。 The present invention relates to a synchronization control device, a synchronization control method, and a synchronization control program.
特許文献1には、データ同期システムにおいて、サーバとクライアントとのアプリケーションのバージョンアップが同時に行われない構成であっても、サーバアプリケーションのバージョンアップを促すことができるサーバ装置、情報処理方法及びプログラムが開示されている(特許文献1の0001段落および0035段落等参照)。 Patent document 1 discloses a server device, an information processing method, and a program that can prompt server application upgrades in a data synchronization system, even in a configuration in which the server and client applications are not upgraded simultaneously (see paragraphs 0001 and 0035 of patent document 1, etc.).
ここで、ERP(Enterprise Resources Planning)の導入形態はいくつかの種類が存在し、その内の1つにコンポーネント型ERPがある。コンポーネント型ERPのメリットとして、システム毎に管理が分かれているため、必要なタイミングで必要なバージョンの追加および更新をできることが挙げられる。 Now, there are several different ways to implement ERP (Enterprise Resources Planning), one of which is component-based ERP. The advantage of component-based ERP is that because management is separate for each system, it is possible to add and update the necessary versions when necessary.
一方で、管理が分かれているがゆえに、システム全体の整合性の担保が困難であるというデメリットがあった。特に、後発でシステムを追加する、または、個別システムごとにバージョンアップする、等のイベントにおいて、前記デメリットは顕著であった。なお、上記特許文献1には、バージョンアップをとることによる同期制御の記載はあるものの、同期制御の方法は、サーバアプリケーションのバージョンアップに限られるという限局的なものであった。 However, because management is separate, there is a disadvantage in that it is difficult to guarantee consistency across the entire system. This disadvantage is particularly noticeable in events such as adding a new system later or upgrading each individual system. Although Patent Document 1 describes synchronization control through upgrades, the synchronization control method is limited to upgrading server applications.
本発明は、上記問題点に鑑みてなされたものであって、システム毎に管理を分けることができるというメリットを享受しつつ、システム全体の整合性の担保が困難であるというデメリットを解消することができる同期制御装置、同期制御方法および同期制御プログラムを提供することを目的とする。 The present invention has been made in consideration of the above problems, and aims to provide a synchronization control device, a synchronization control method, and a synchronization control program that can achieve the benefit of being able to separate management for each system while eliminating the disadvantage of the difficulty in ensuring consistency across the entire system.
上述した課題を解決し、目的を達成するために、本発明に係る同期制御装置においては、制御部を備える同期制御装置であって、前記制御部は、所定のマスタを参照して、過去に適用したことがあるパッチバージョンを識別するための情報であって前記パッチバージョンの作成時または提供時および適用の対象となった業務システムから構成される適用済パッチバージョン識別情報のうち、適用元業務システムについての前記適用済パッチバージョン識別情報の適用が漏れている適用先業務システムの存在の有無をチェックし、存在する場合には、当該適用が漏れている適用先業務システムを、前記適用元業務システムについての前記適用済パッチバージョン識別情報の適用対象として特定するDBオブジェクト整合性チェック手段と、前記DBオブジェクト整合性チェック手段で特定した適用先業務システムに対して、前記適用元業務システムについての前記適用済パッチバージョン識別情報を適用するDBオブジェクト同期手段と、モジュールマスタとフォルダを比較して、ファイルバージョンまたは更新日時の差異があるかないかをチェックするモジュール整合性チェック手段と、前記モジュール整合性チェック手段で前記差異があるとチェックした場合、前記モジュールマスタの内容を前記フォルダにダウンロードするモジュール同期手段と、を備えること、を特徴とする。 In order to solve the above-mentioned problems and achieve the object, the synchronization control device according to the present invention is a synchronization control device having a control unit, and the control unit refers to a predetermined master, and checks whether there is a target business system to which the applied patch version identification information for the source business system has not been applied among the applied patch version identification information consisting of information for identifying patch versions that have been applied in the past and the business systems to which the patch version was created or provided and was applied, and if there is, it is characterized by having a DB object consistency check means that specifies the target business system to which the applied patch version identification information for the source business system has not been applied as a target to which the applied patch version identification information for the source business system is to be applied, a DB object synchronization means that applies the applied patch version identification information for the source business system to the target business system specified by the DB object consistency check means, a module consistency check means that compares a module master with a folder and checks whether there is a difference in file version or update date and time, and a module synchronization means that downloads the contents of the module master to the folder if the module consistency check means checks that there is a difference.
また、本発明に係る同期制御装置においては、前記所定のマスタは、前記適用元業務システムについての前記適用済パッチバージョン識別情報と、同期フラグと、を含む適用済パッチバージョンマスタと、前記適用元業務システムと、前記適用先業務システムと、を含む共通システムスクリプト同期管理マスタと、前記適用先業務システムについての前記適用済パッチバージョン識別情報を含む、前記適用先業務システム毎に用意されたパッチ適用履歴マスタと、から構成されており、前記DBオブジェクト整合性チェック手段は、前記適用済パッチバージョンマスタから、同期の必要性があることを示すフラグが設定されている前記適用元業務システムについての前記適用済パッチバージョン識別情報を取得し、前記共通システムスクリプト同期管理マスタから、当該取得した適用済パッチバージョン識別情報を構成する前記適用元業務システムと紐付く適用先業務システムを取得し、当該取得した適用先業務システムについての前記パッチ適用履歴マスタ中に、前記取得した前記適用元業務システムについての前記適用済パッチバージョン識別情報が存在しない場合、当該取得した適用先業務システムを、前記適用対象として特定すること、を特徴とする。 In the synchronization control device according to the present invention, the predetermined master is composed of an applied patch version master including the applied patch version identification information and a synchronization flag for the source business system, a common system script synchronization management master including the source business system and the destination business system, and a patch application history master prepared for each destination business system including the applied patch version identification information for the destination business system, and the DB object consistency check means acquires the applied patch version identification information for the source business system for which a flag indicating the need for synchronization is set from the applied patch version master, acquires the destination business system linked to the source business system constituting the acquired applied patch version identification information from the common system script synchronization management master, and if the applied patch version identification information for the source business system does not exist in the patch application history master for the acquired destination business system, identifies the acquired destination business system as the application target.
また、本発明に係る同期制御装置においては、前記モジュールマスタが、モジュール識別データと、ファイルバージョンと、ファイル更新日時と、を含み、前記フォルダが、モジュール識別データと、ファイルバージョンと、ファイル更新日時と、を含み、前記モジュール整合性チェック手段は、前記フォルダにファイルが存在しない場合、または、前記モジュールマスタと前記フォルダを比較して、前記モジュール識別データが同じもの同士で前記ファイルバージョンもしくは前記ファイル更新日時が異なる場合、前記差異があるとチェックすること、を特徴とする。 In addition, in the synchronization control device according to the present invention, the module master includes module identification data, a file version, and a file update date and time, the folder includes module identification data, a file version, and a file update date and time, and the module consistency check means checks for the existence of a difference when there is no file in the folder, or when the module master and the folder are compared and the module identification data is the same but the file version or the file update date and time is different.
また、本発明に係る同期制御装置においては、前記モジュールマスタが、モジュール識別データと、ファイルバージョンと、ファイル更新日時と、を含むマスタであって、共通システムのモジュールを格納する共通システム配布モジュールマスタと、モジュール識別データと、ファイルバージョンと、ファイル更新日時と、を含むマスタであって、APサーバで使用する業務システムのモジュールを格納するAPモジュールマスタと、モジュール識別データと、ファイルバージョンと、ファイル更新日時と、を含むマスタであって、WEBサーバで使用する業務システムのモジュールを格納するWEBモジュールマスタと、から構成されており、前記モジュール整合性チェック手段は、前記APモジュールマスタおよび前記WEBモジュールマスタと、前記フォルダと、を前記比較するが、この際、前記共通システム配布モジュールマスタと、前記APモジュールマスタおよび前記WEBモジュールマスタと、の間で、同じモジュール識別データが存在する場合には、当該同じモジュール識別データで特定されるモジュールについては、前記共通システム配布モジュールマスタと前記フォルダとを優先して前記比較すること、を特徴とする。 In the synchronization control device according to the present invention, the module master is composed of a common system distribution module master, which is a master including module identification data, a file version, and a file update date and time, and stores modules of a common system; an AP module master, which is a master including module identification data, a file version, and a file update date and time, and stores modules of a business system used in an AP server; and a WEB module master, which is a master including module identification data, a file version, and a file update date and time, and stores modules of a business system used in a WEB server; and the module consistency check means compares the AP module master and the WEB module master with the folder, and at this time, when the same module identification data exists between the common system distribution module master and the AP module master and the WEB module master, the common system distribution module master and the folder are compared preferentially for modules identified by the same module identification data.
また、本発明に係る同期制御装置においては、前記モジュールマスタが、モジュール識別データと、ファイルバージョンと、ファイル更新日時と、を含むマスタであって、共通システムのモジュールを格納する共通システム配布モジュールマスタと、モジュール識別データと、ファイルバージョンと、ファイル更新日時と、を含むマスタであって、APサーバで使用する業務システムのモジュールを格納するAPモジュールマスタと、モジュール識別データと、ファイルバージョンと、ファイル更新日時と、を含むマスタであって、WEBサーバで使用する業務システムのモジュールを格納するWEBモジュールマスタと、から構成されており、前記モジュール同期手段は、前記APモジュールマスタおよび前記WEBモジュールマスタの内容を前記フォルダにダウンロードし、この際、前記共通システム配布モジュールマスタと、前記APモジュールマスタおよび前記WEBモジュールマスタと、の間で、同じモジュール識別データが存在する場合には、当該同じモジュール識別データで特定されるモジュールについては、前記共通システム配布モジュールマスタの内容を前記フォルダにダウンロードすること、を特徴とする。 In the synchronization control device according to the present invention, the module master is composed of a common system distribution module master, which is a master including module identification data, a file version, and a file update date and time, and stores modules of a common system; an AP module master, which is a master including module identification data, a file version, and a file update date and time, and stores modules of a business system used in an AP server; and a WEB module master, which is a master including module identification data, a file version, and a file update date and time, and stores modules of a business system used in a WEB server; and the module synchronization means downloads the contents of the AP module master and the WEB module master to the folder, and at this time, if the same module identification data exists between the common system distribution module master and the AP module master and the WEB module master, downloads the contents of the common system distribution module master to the folder for modules identified by the same module identification data.
また、本発明に係る同期制御方法においては、制御部を備える情報処理装置で実行される同期制御方法であって、前記制御部で実行される、所定のマスタを参照して、過去に適用したことがあるパッチバージョンを識別するための情報であって前記パッチバージョンの作成時または提供時および適用の対象となった業務システムから構成される適用済パッチバージョン識別情報のうち、適用元業務システムについての前記適用済パッチバージョン識別情報の適用が漏れている適用先業務システムの存在の有無をチェックし、存在する場合には、当該適用が漏れている適用先業務システムを、前記適用元業務システムについての前記適用済パッチバージョン識別情報の適用対象として特定するDBオブジェクト整合性チェックステップと、前記DBオブジェクト整合性チェックステップで特定した適用先業務システムに対して、前記適用元業務システムについての前記適用済パッチバージョン識別情報を適用するDBオブジェクト同期ステップと、モジュールマスタとフォルダを比較して、ファイルバージョンまたは更新日時の差異があるかないかをチェックするモジュール整合性チェックステップと、前記モジュール整合性チェックステップで前記差異があるとチェックした場合、前記モジュールマスタの内容を前記フォルダにダウンロードするモジュール同期ステップと、を含むこと、を特徴とする。 The synchronization control method according to the present invention is a synchronization control method executed by an information processing device having a control unit, and includes a DB object consistency check step in which, by referring to a predetermined master executed by the control unit, among applied patch version identification information for identifying patch versions that have been applied in the past and consisting of the business systems at the time of creating or providing the patch version and the target of the application, there is a target business system to which the applied patch version identification information for the source business system has not been applied, and if there is, the target business system to which the applied patch version identification information for the source business system has not been applied is identified as a target to which the applied patch version identification information for the source business system is applied; a DB object synchronization step in which the applied patch version identification information for the source business system is applied to the target business system identified in the DB object consistency check step; a module consistency check step in which a module master and a folder are compared to check whether there is a difference in file version or update date and time; and a module synchronization step in which the contents of the module master are downloaded to the folder if the module consistency check step checks that there is a difference.
また、本発明に係る同期制御プログラムにおいては、制御部を備える情報処理装置に実行させるための同期制御プログラムであって、前記制御部に実行させるための、所定のマスタを参照して、過去に適用したことがあるパッチバージョンを識別するための情報であって前記パッチバージョンの作成時または提供時および適用の対象となった業務システムから構成される適用済パッチバージョン識別情報のうち、適用元業務システムについての前記適用済パッチバージョン識別情報の適用が漏れている適用先業務システムの存在の有無をチェックし、存在する場合には、当該適用が漏れている適用先業務システムを、前記適用元業務システムについての前記適用済パッチバージョン識別情報の適用対象として特定するDBオブジェクト整合性チェックステップと、前記DBオブジェクト整合性チェックステップで特定した適用先業務システムに対して、前記適用元業務システムについての前記適用済パッチバージョン識別情報を適用するDBオブジェクト同期ステップと、モジュールマスタとフォルダを比較して、ファイルバージョンまたは更新日時の差異があるかないかをチェックするモジュール整合性チェックステップと、前記モジュール整合性チェックステップで前記差異があるとチェックした場合、前記モジュールマスタの内容を前記フォルダにダウンロードするモジュール同期ステップと、を含むこと、を特徴とする。 The synchronization control program according to the present invention is a synchronization control program to be executed by an information processing device having a control unit, and is characterized in that it includes a DB object consistency check step for checking the existence of a target business system to which the applied patch version identification information for the source business system has not been applied, among the applied patch version identification information for identifying patch versions that have been applied in the past, which is information for identifying patch versions that have been applied in the past and is composed of the business systems to which the patch version was created or provided and was applied, by referring to a predetermined master, and if there is such a target business system, specifying the target business system to which the applied patch version identification information for the source business system has not been applied as a target to which the applied patch version identification information for the source business system is to be applied, a DB object synchronization step for applying the applied patch version identification information for the source business system to the target business system specified in the DB object consistency check step, a module consistency check step for comparing a module master with a folder to check whether there is a difference in file version or update date and time, and a module synchronization step for downloading the contents of the module master to the folder if it is checked in the module consistency check step that there is a difference.
本発明によれば、システム毎に管理を分けることができるというメリットを享受しつつ、システム全体の整合性の担保が困難であるというデメリットを解消することができるという効果を奏する。 The present invention has the advantage of being able to separate management for each system, while eliminating the disadvantage of the difficulty in ensuring consistency across the entire system.
以下に、本発明に係る同期制御装置、同期制御方法および同期制御プログラムの実施形態を、図面に基づいて詳細に説明する。なお、本実施形態により本発明が限定されるものではない。 Below, an embodiment of a synchronization control device, a synchronization control method, and a synchronization control program according to the present invention will be described in detail with reference to the drawings. Note that the present invention is not limited to the present embodiment.
[1.概要]
(1)用語について
本願明細書および本願図面において用いる用語の意味は、以下のとおりである。
・DBオブジェクト・・・データベース内に格納するテーブル、ストアドプロシージャ、トリガーおよびビュー等のオブジェクトである。
・DBスクリプト・・・DBオブジェクトに対して変更、追加および削除等を行う操作命令を記述したファイルである。パッチに含めて適用することで、変更、追加および削除の内容を反映させる。
・モジュール・・・アプリケーションを動かす際に必要となるファイルである。例えば、exe、dllまたはjs形式のファイルである。
・APサーバ・・・クライアントサーバ型アプリケーションのモジュールを配置するサーバである。
・WEBサーバ・・・Webアプリケーションのモジュールを配置し、またそれを公開するサーバである。
・DBサーバ・・・データベース管理システムが存在しているサーバである。
・業務システム・・・コンポーネント型で導入する各業務アプリケーション群の導入および管理単位である。
・共通システム・・・複数の業務システムが共通で利用する機能およびアプリケーション群の管理単位である。
[1. Overview]
(1) Terminology The terms used in this specification and drawings have the following meanings:
・DB objects: Objects such as tables, stored procedures, triggers, and views that are stored in a database.
・DB script: A file that describes operation commands to change, add, delete, etc. to DB objects. By including it in a patch and applying it, the changes, additions, and deletions are reflected.
Module: A file required to run an application. For example, an exe, dll, or js file.
・AP server: A server that deploys client-server application modules.
・WEB server: A server that deploys and publishes web application modules.
・DB server: A server on which a database management system exists.
· Business system: This is the unit for installing and managing each group of business applications that are installed in a component-based format.
- Common system: A management unit for functions and applications that are used in common by multiple business systems.
(2)従来技術とその問題点
ERPの導入形態はいくつかの種類が存在し、その内の1つにコンポーネント型ERPがある。コンポーネント型ERPのメリットとして、システム毎に管理が分かれているため、必要なタイミングで必要なバージョンの追加および更新をすることが出来ることが挙げられる。
(2) Conventional technology and its problems
There are several types of ERP implementation, one of which is component-based ERP. The advantage of component-based ERP is that because management is separate for each system, it is possible to add and update the necessary version at the necessary time.
一方で、管理が分かれているがゆえに、システム全体の整合性の担保が困難であるというデメリットがあった。特に、後発でシステムを追加する、または、個別システムごとにバージョンアップする、等のイベントにおいて、前記デメリットは顕著であった。 However, because management was separate, there was a disadvantage in that it was difficult to ensure consistency across the entire system. This disadvantage was particularly evident in events such as adding a new system later or upgrading each individual system.
(3)本発明の概略および効果
そこで、本実施形態においては、例えば、コンポーネントごとに分かれるシステムでありながら、システム共通の領域と、コンポーネントごとの領域とを分けて管理するようにした。この考え方によって、各システムで共通して使用するモジュールとDBオブジェクトに対して、納品およびシステム起動時等のタイミングで不整合を検出し、同期をとることを可能にした。
(3) Outline and Effects of the Present Invention In this embodiment, for example, even if the system is divided into components, an area common to the system and an area for each component are managed separately. This concept makes it possible to detect inconsistencies and synchronize modules and DB objects commonly used by each system at the time of delivery, system startup, etc.
これにより、例えば、コンポーネントごとに分かれる納品担当者のパッチ適用漏れを防止し、システム全体の品質を担保できるようになり、スピーディーかつ高品質なバージョンアップを提供することが可能となる。言い換えると、業務システムを運用する上での業務間バージョン更新要否要件や、業務システム毎のステップ別導入および追加導入といった利用形態に即したサービスの安定提供を実現することができた。以下、具体的な構成および動作について説明する。 This makes it possible, for example, to prevent delivery staff responsible for each component from missing patches and ensure the quality of the entire system, enabling the provision of speedy, high-quality upgrades. In other words, it has become possible to provide a stable service that meets the requirements for version updates between business processes when operating business systems, as well as usage patterns such as step-by-step implementation and additional implementation for each business system. The specific configuration and operation are explained below.
[2.構成]
本実施形態に係る同期制御装置100の構成の一例について、図1を参照して説明する。図1は、同期制御装置100の構成の一例を示すブロック図である。
2. Configuration
An example of the configuration of a
同期制御装置100は、市販のデスクトップ型パーソナルコンピュータである。なお、同期制御装置100は、デスクトップ型パーソナルコンピュータのような据置型情報処理装置に限らず、市販されているノート型パーソナルコンピュータ、PDA(Personal Digital Assistants)、スマートフォン、タブレット型パーソナルコンピュータなどの携帯型情報処理装置であってもよい。
The
同期制御装置100は、制御部102と通信インターフェース部104と記憶部106と入出力インターフェース部108と、を備えている。同期制御装置100が備えている各部は、任意の通信路を介して通信可能に接続されている。
The
通信インターフェース部104は、ルータ等の通信装置および専用線等の有線または無線の通信回線を介して、同期制御装置100をネットワーク300に通信可能に接続する。通信インターフェース部104は、他の装置と通信回線を介してデータを通信する機能を有する。ここで、ネットワーク300は、同期制御装置100とサーバ200とを相互に通信可能に接続する機能を有し、例えばインターネットやLAN(Local Area Network)等である。なお、後述する各種マスタ等のデータは、例えばサーバ200に格納されてもよい。
The
入出力インターフェース部108には、入力装置112および出力装置114が接続されている。出力装置114には、モニタ(家庭用テレビを含む)の他、スピーカやプリンタを用いることができる。入力装置112には、キーボード、マウス、及びマイクの他、マウスと協働してポインティングデバイス機能を実現するモニタを用いることができる。なお、以下では、出力装置114をモニタ114とし、入力装置112をキーボード112またはマウス112として記載する場合がある。
An input device 112 and an output device 114 are connected to the input/
記憶部106には、各種のデータベース、テーブルおよびファイルなどが格納される。記憶部106には、OS(Operating System)と協働してCPU(Central Processing Unit)に命令を与えて各種処理を行うためのコンピュータプログラムが記録される。記憶部106として、例えば、RAM(Random Access Memory)・ROM(Read Only Memory)等のメモリ装置、ハードディスクのような固定ディスク装置、フレキシブルディスク、および光ディスク等を用いることができる。
The
記憶部106は、例えば、適用済パッチバージョンマスタ106aと、共通システム配布モジュールマスタ106bと、共通システムスクリプト同期管理マスタ106cと、パッチ適用履歴マスタ106dと、APモジュールマスタ106eと、WEBモジュールマスタ106fと、を備えている。なお、各マスタの機能および内容については、以下の[4.処理の概要等]の「(3)マスタ構成」において詳細に説明する。
The
制御部102は、同期制御装置100を統括的に制御するCPU等である。制御部102は、OS等の制御プログラム・各種の処理手順等を規定したプログラム・所要データなどを格納するための内部メモリを有し、格納されているこれらのプログラムに基づいて種々の情報処理を実行する。
The control unit 102 is a CPU or the like that performs overall control of the
制御部102は、機能概念的に、例えば、(1)DB復元部102aと、(2)所定のマスタを参照して、過去に適用したことがあるパッチバージョンを識別するための情報であって前記パッチバージョンの作成時または提供時および適用の対象となった業務システムから構成される適用済パッチバージョン識別情報のうち、適用元業務システムについての前記適用済パッチバージョン識別情報の適用が漏れている適用先業務システムの存在の有無をチェックし、存在する場合には、当該適用が漏れている適用先業務システムを、前記適用元業務システムについての前記適用済パッチバージョン識別情報の適用対象として特定するDBオブジェクト整合性チェック手段としてのDBオブジェクト整合性チェック部102bと、(3)前記DBオブジェクト整合性チェック手段で特定した適用先業務システムに対して、前記適用元業務システムについての前記適用済パッチバージョン識別情報を適用するDBオブジェクト同期手段としてのDBオブジェクト同期部102cと、(4)パッチ適用部102dと、(5)モジュールマスタとフォルダを比較して、ファイルバージョンまたは更新日時の差異があるかないかをチェックするモジュール整合性チェック手段としてのモジュール整合性チェック部102eと、(6)前記モジュール整合性チェック手段で前記差異があるとチェックした場合、前記モジュールマスタの内容を前記フォルダにダウンロードするモジュール同期手段としてのモジュール同期部102fと、を備えている。
The control unit 102, functionally and conceptually, for example, comprises: (1) a DB restoration unit 102a; and (2) a DB object consistency check unit 102 as a DB object consistency check means for checking whether there exists a target business system to which the applied patch version identification information for the source business system has not been applied, among the applied patch version identification information consisting of information for identifying patch versions that have been applied in the past and the business systems to which the patch version was created or provided and was applied, by referring to a predetermined master, and, if there exists, specifying the target business system to which the applied patch version identification information for the source business system has not been applied as a target to which the applied patch version identification information for the source business system should be applied. b; (3) DB object synchronization unit 102c as DB object synchronization means for applying the applied patch version identification information for the source business system to the destination business system identified by the DB object consistency check means; (4)
DB復元部102aは、DBの復元を行う。 The DB restoration unit 102a restores the DB.
DBオブジェクト整合性チェック部102bは、所定のマスタ(例えば、適用済パッチバージョンマスタ106a、共通システムスクリプト同期管理マスタ106cおよびパッチ適用履歴マスタ106d)を参照して、前記適用元業務システムについての前記パッチバージョンの適用が漏れている適用先業務システムの存在の有無をチェックし、存在する場合には、当該適用が漏れている適用先業務システムを、前記適用元業務システムについての前記パッチバージョンの適用対象として特定する。
The DB object consistency check unit 102b refers to predetermined masters (e.g., applied
DBオブジェクト整合性チェック部102bは、具体的には、以下の(1)~(3)の処理を行う。 Specifically, the DB object consistency check unit 102b performs the following processes (1) to (3).
(1)DBオブジェクト整合性チェック部102bは、まず、前記適用元業務システムについての前記パッチバージョンと、同期フラグと、を含む適用済パッチバージョンマスタ106aから、同期の必要性があることを示すフラグ(「true」のフラグ)が設定されている前記適用元業務システムについての前記パッチバージョンを取得する。
(1) The DB object consistency check unit 102b first obtains the patch version for the source business system for which a flag indicating the need for synchronization (a flag set to "true") is set from the applied
(2)DBオブジェクト整合性チェック部102bは、次に、前記適用元業務システムと、前記適用先業務システムと、を含む共通システムスクリプト同期管理マスタ106cから、(1)で取得したパッチバージョンを構成する前記適用元業務システムと紐付く適用先業務システムを取得する。
(2) The DB object consistency check unit 102b then obtains the target business system linked to the source business system that constitutes the patch version obtained in (1) from the common system script
(3)DBオブジェクト整合性チェック部102bは、最後に、(2)で取得した適用先業務システムについてのパッチ適用履歴マスタ106d中に、(1)で取得した前記適用元業務システムについての前記パッチバージョンが存在しない場合、(2)で取得した適用先業務システムを、前記適用対象として特定する。
(3) Finally, if the patch version for the source business system obtained in (1) does not exist in the patch
DBオブジェクト同期部102cは、DBオブジェクト整合性チェック部102bで特定した適用先業務システムに対して、前記適用元業務システムについての前記適用済パッチバージョンを適用する。 The DB object synchronization unit 102c applies the applied patch version for the source business system to the destination business system identified by the DB object consistency check unit 102b.
パッチ適用部102dは、パッチの適用を行う。
The
モジュール整合性チェック部102eは、モジュールマスタ(例えば、共通システム配布モジュールマスタ106b、APモジュールマスタ106eおよびWEBモジュールマスタ
106f)と、フォルダと、を比較して、ファイルバージョンまたは更新日時の差異があるかないかをチェックする。
The module consistency check unit 102e compares the module masters (for example, the common system
モジュール整合性チェック部102eは、具体的には、前記フォルダにファイルが存在しない場合、または、前記モジュールマスタと前記フォルダを比較して、前記モジュール名が同じもの同士で前記ファイルバージョンもしくは前記ファイル更新日時が異なる場合、前記差異があるとチェックする。 Specifically, the module consistency check unit 102e checks for the presence of a difference if there is no file in the folder, or if the module master and the folder are compared and the module names are the same but the file versions or file update dates and times are different.
モジュール整合性チェック部102eは、更に具体的には、APモジュールマスタ106eおよびWEBモジュールマスタ106fと、前記フォルダと、を前記比較するが、この際、共通システム配布モジュールマスタ106bと、APモジュールマスタ106eおよびWEBモジュールマスタ106fと、の間で、同じモジュール名が存在する場合には、当該同じモジュール名で特定されるモジュールについては、共通システム配布モジュールマスタ106bと前記フォルダとを優先して前記比較する。
More specifically, the module consistency check unit 102e compares the
モジュール同期部102fは、モジュール整合性チェック部102eで前記差異があるとチェックした場合、前記モジュールマスタの内容を前記フォルダにダウンロードする。 If the module consistency check unit 102e checks that there is a difference, the module synchronization unit 102f downloads the contents of the module master to the folder.
モジュール同期部102fは、具体的には、APモジュールマスタ106eおよびWEBモジュールマスタ106fの内容を前記フォルダにダウンロードし、この際、共通システム配布モジュールマスタ106bと、APモジュールマスタ106eおよびWEBモジュールマスタ106fと、の間で、同じモジュール名が存在する場合には、当該同じモジュール名で特定されるモジュールについては、共通システム配布モジュールマスタ106fの内容を前記フォルダにダウンロードする。
Specifically, the module synchronization unit 102f downloads the contents of the
[3.課題、解決方法および効果]
本項目では、本発明の課題、解決方法および効果について説明する。
[3. Problems, Solutions, and Effects]
This section describes the problems, solutions, and effects of the present invention.
(1)本発明の課題
ERPの導入形態はいくつかの種類が存在し、その内の1つにコンポーネント型ERPがある。コンポーネント型ERPは既存の業務システムとの連携が容易で、必要な機能をその都度、追加および削除できるというメリットがある。
(1) Problems to be Solved by the Invention
There are several types of ERP implementation, one of which is component-based ERP. Component-based ERP has the advantage of being easy to integrate with existing business systems and allowing required functions to be added or removed as needed.
しかしながら、複数のDBがあるため、モジュールのバージョン管理やDBオブジェクトの整合性の管理が難しいというデメリットがある。 However, the disadvantage is that having multiple databases makes it difficult to manage module version control and the consistency of database objects.
必要なタイミングで必要なバージョンを使用できるというメリットを享受しつつ、前記デメリットに対応するためには、分離して管理する箇所および共通して管理する箇所に分けて管理するという手段が考えられる。この手段をとると、システム全体の整合性を担保する際、分離して管理する箇所を考える必要がなくなり、共通して管理する箇所に注力すればよくなる。しかしながら、以下の要求を満たしつつ、共通して管理する箇所を自動で統制するのには以下の課題があった。 In order to address the above disadvantages while enjoying the benefit of being able to use the required version when required, one can consider managing the system separately into separate areas and commonly managed areas. By taking this approach, when ensuring the consistency of the entire system, there is no need to consider the areas that need to be managed separately, and it is sufficient to focus on the commonly managed areas. However, there are the following challenges in automatically controlling the commonly managed areas while satisfying the following requirements:
前記要求としては、例えば、以下の2点があった。
・各業務システムのバージョンおよびバージョンを上げるタイミングが異なっていても、共通して使用するモジュールとDBオブジェクトの整合性を担保する。
・後発で追加した業務システムに対して、既存の業務システムとの整合性を担保する。
The above demands included, for example, the following two points.
- Ensures consistency between commonly used modules and DB objects, even if the versions and timing of version upgrades of each business system are different.
- Ensure consistency between existing business systems and any business systems added later.
どのようにして、各業務システムで使用しているDBオブジェクトおよびローカルのモジュールの整合性をとるかということに関しては、以下のA~Dの課題があった。
A.どのようにして、分離して管理する箇所および共通して管理する箇所を管理するのか。
B.どのように同期を制御するか。
C.どのタイミングで同期をとるか。
D.どのようにして不整合な環境を検出するか。
Regarding how to ensure consistency between the DB objects and local modules used in each business system, the following challenges A to D arose.
A. How to manage the separately controlled areas and the commonly controlled areas.
B. How to control synchronization.
C. When to synchronize.
D. How to detect an inconsistent environment.
ここで、不整合発生の例として、従来においては、例えば図2および図3に示すように、後発で業務システムDB(会計システムDB)を追加した場合には、DBサーバ、APサーバおよびWEBサーバのそれぞれにおいて、人事システムDBおよび給与システムDBと、会計システムDBと、の間で、元号の不整合(会計システムDBでは、「令和」が登録されていない)や共通システムモジュールの不整合(会計APフォルダおよび会計WEBフォルダでは、バージョンが「1.0」である)が発生していた。 As an example of inconsistencies, in the past, when a business system DB (accounting system DB) was added later, as shown in Figures 2 and 3, inconsistencies in the era name ("Reiwa" is not registered in the accounting system DB) and inconsistencies in the common system modules (the version is "1.0" in the accounting AP folder and accounting WEB folder) occurred between the human resources system DB and payroll system DB and the accounting system DB on the DB server, AP server, and WEB server, respectively.
(2)本発明の解決方法
本発明で用いる解決方法は、図4の表に示すとおりである。図4の表には、モジュールおよびDBオブジェクトのそれぞれについて、管理方法、同期の制御方法、同期タイミングおよび不整合環境の検出方法を示している。
(2) Solution of the Present Invention The solution used in the present invention is as shown in the table of Fig. 4. The table of Fig. 4 shows the management method, synchronization control method, synchronization timing, and inconsistent environment detection method for each module and DB object.
(3)本発明の効果
本実施形態においては、例えば、コンポーネントごとに分かれる納品担当者のパッチ適用漏れを防止し、システム全体の品質を担保できるようにした。この結果、例えば、スピーディーかつ高品質なバージョンアップの提供をすることが可能となった。
(3) Effects of the Invention In this embodiment, for example, it is possible to prevent delivery personnel responsible for each component from missing patches and ensure the quality of the entire system. As a result, for example, it is possible to provide speedy and high-quality version upgrades.
[4.処理の概要等]
本項目では、本実施形態に係る処理の概要等を説明する。
[4. Overview of Processing, etc.]
In this section, an overview of the processing according to this embodiment will be described.
(1)目的
本実施形態においては、業務システム導入時、バージョンアップ時およびシステム起動時に、以下の1~2を実現することを目的とする。
1.モジュール同期
2.DBオブジェクトの同期
(1) Objectives In this embodiment, the objective is to achieve the following 1 and 2 when a business system is introduced, upgraded, and started up.
1. Module synchronization 2. DB object synchronization
(2)システム構成
本実施形態におけるシステム構成について説明する。
(2) System Configuration The system configuration in this embodiment will be described.
本実施形態におけるパッチは、以下の5つのフォルダで構成されている。
・共通システムスクリプトフォルダ
・共通システムモジュールフォルダ
・業務システムスクリプトフォルダ
・業務システムAPモジュールフォルダ
・業務システムWEBモジュールフォルダ
In this embodiment, the patch is made up of the following five folders.
・Common system script folder ・Common system module folder ・Business system script folder ・Business system AP module folder ・Business system WEB module folder
本実施形態におけるパッチ構成例を、図5に示す。 An example of a patch configuration in this embodiment is shown in Figure 5.
(3)マスタ構成
本項目では、本実施形態におけるマスタ構成について、図6~図11を用いて説明する。
(3) Master Configuration In this section, the master configuration in this embodiment will be described with reference to FIGS.
適用済パッチバージョンマスタ106aは、これまで適用した全パッチのバージョンを管理するためのマスタである。適用済パッチバージョンマスタ106aは、図6に示すように、例えば、過去に適用したことがあるパッチバージョンを識別するための情報であって前記パッチバージョンの作成時または提供時および適用の対象となった業務システムから構成される適用済パッチバージョン識別情報(パッチバージョン)と、業務システムと、同期フラグと、等を含む。適用したパッチに「共通システムスクリプトフォルダ」があった場合、図6に示すように、「同期フラグ」は、同期の必要性があることを示すフラグである「true」となる。なお、以下のマスタの説明においては、説明の簡便化のため、共通システムに対するレコードのみを示す。
The applied
共通システム配布モジュールマスタ106bは、共通システムモジュールを格納するマスタである。共通システム配布モジュールマスタ106bは、図7に示すように、例えば、モジュール識別データ(モジュール名)と、ファイルバージョンと、モジュールバイナリ情報と、ファイル更新日時と、等を含む。
The common system
共通システムスクリプト同期管理マスタ106cは、「共通スクリプトフォルダ」の同期元と同期先を指定するマスタであり、システムの依存関係の制御をするために必要なマスタである。共通システムスクリプト同期管理マスタ106cは、図8に示すように、例えば、適用元業務システムと、適用先業務システムと、等を含む。
The common system script
パッチ適用履歴マスタ106dは、各業務システムDBに適用されたパッチのバージョンを管理するマスタである。パッチ適用履歴マスタ106dは、図9に示すように、例えば、前記適用済パッチバージョン識別情報(パッチバージョン)と、業務システムと、等を含む。
The patch
APモジュールマスタ106eは、APサーバで使用する業務システムのモジュールを格納するマスタである。APモジュールマスタ106eは、図10に示すように、例えば、モジュール識別データ(モジュール名)と、ファイルバージョンと、配置パスと、モジュールバイナリ情報と、ファイル更新日時と、等を含む。当該配置パスとは、マスタからモジュールをダウンロードした際に、モジュールが配置されるパスである。当該配置パスは、パッチのフォルダ構成から決まる。
The
WEBモジュールマスタ106fは、WEBサーバで使用する業務システムのモジュールを格納するマスタである。WEBモジュールマスタ106fは、図11に示すように、例えば、モジュール識別データ(モジュール名)と、ファイルバージョンと、配置パスと、モジュールバイナリ情報と、ファイル更新日時と、等を含む。当該配置パスの説明については、前段落と同様である。
The
ここで、これ以降の説明においては、以下の1~2の留意点が存在する。
1.これ以降の説明においては、「モジュールバイナリ情報」および「業務システム」の列名の記載は割愛する。
2.これ以降の説明においては、共通システム配布モジュールマスタ106b、APモジュールマスタ106eおよびWEBモジュールマスタ106fを総称して、「モジュールマスタ」ということがある。
In the following description, there are a few points to note.
1. In the following explanation, the column names of "Module Binary Information" and "Business System" will be omitted.
2. In the following description, the common system
(4)処理フロー
本項目では、本実施形態における処理フローについて、図12のフローチャートを用いて説明する。本項目では、初回業務システム導入時または後発の業務システム導入時の処理フローを以下の(4-1)で説明し、バージョンアップ時の処理フローを以下の(4-2)で説明し、システム起動時の処理フローを以下の(4-3)で説明する。
(4) Processing Flow In this section, the processing flow in this embodiment will be described with reference to the flowchart in Fig. 12. In this section, the processing flow when the business system is introduced for the first time or when a subsequent business system is introduced will be described in (4-1) below, the processing flow when upgrading will be described in (4-2) below, and the processing flow when the system is started will be described in (4-3) below.
(4-1)初回業務システム導入時または後発の業務システム導入時
まず、処理タイミングが判定される(図12のステップS1)。本項目では、初回業務システム導入時または後発の業務システム導入時と判定されるものとする。
(4-1) When a Business System is First Introduction or a Business System is Later Introduction First, the processing timing is determined (step S1 in FIG. 12). In this item, it is determined that the processing timing is when a business system is first introduced or when a business system is later introduced.
次に、DB復元部102aは、DB復元を行う(図12のステップS2)。 Next, the DB restoration unit 102a performs DB restoration (step S2 in FIG. 12).
次に、DBオブジェクト整合性チェック部102bは、DBオブジェクトの整合性チェックを行う(図12のステップS3)。 Next, the DB object consistency check unit 102b performs a consistency check on the DB object (step S3 in FIG. 12).
不整合が存在する場合(図12のステップS3においてNG)、DBオブジェクト同期部102cは、DBオブジェクトの同期処理を行う(図12のステップS4)。 If an inconsistency exists (NG in step S3 in FIG. 12), the DB object synchronization unit 102c performs a synchronization process for the DB objects (step S4 in FIG. 12).
これに対して、不整合が存在しない場合(図12のステップS3においてOK)、パッチ適用部102dは、パッチ適用処理を行う(図12のステップS5)。
On the other hand, if no inconsistency exists (OK in step S3 in FIG. 12), the
次に、モジュール整合性チェック部102eは、モジュールの整合性チェックを行う(図12のステップS6)。 Next, the module consistency check unit 102e performs a consistency check on the module (step S6 in FIG. 12).
不整合が存在する場合(図12のステップS6においてNG)、モジュール同期部102fは、モジュールの同期処理を行う(図12のステップS7)。 If an inconsistency exists (NG in step S6 in FIG. 12), the module synchronization unit 102f performs module synchronization processing (step S7 in FIG. 12).
これに対して、不整合が存在しない場合(図12のステップS6においてOK)、処理は終了する(図12のエンド)。 On the other hand, if no inconsistency exists (OK in step S6 in FIG. 12), the process ends (End in FIG. 12).
(4-2)バージョンアップ時
まず、処理タイミングが判定される(図12のステップS1)。本項目では、バージョンアップ時と判定されるものとする。
(4-2) When Upgrading First, the processing timing is determined (step S1 in FIG. 12). In this item, it is determined that the processing timing is when upgrading.
次に、DBオブジェクト整合性チェック部102bが、DBオブジェクトの整合性チェックを行う(図12のステップS3)。 Next, the DB object consistency check unit 102b performs a consistency check on the DB object (step S3 in FIG. 12).
これ以降の処理は、(4-1)と同様であるため、説明を割愛する。 The process from this point on is the same as (4-1), so we will not explain it here.
(4-3)システム起動時
まず、処理タイミングが判定される(図12のステップS1)。本項目では、システム起動時と判定されるものとする。
(4-3) At System Start-Up First, the processing timing is determined (step S1 in FIG. 12). In this item, it is assumed that the processing timing is at system start-up.
次に、DBオブジェクト整合性チェック部102bは、DBオブジェクトの整合性チェックを行う(図12のステップS8)。 Next, the DB object consistency check unit 102b performs a consistency check on the DB object (step S8 in FIG. 12).
不整合が存在する場合(図12のステップS8においてNG)、エラーが表示されて(図12のステップS9)、処理は終了する(図12のエンド)。 If an inconsistency exists (NG in step S8 in FIG. 12), an error is displayed (step S9 in FIG. 12) and the process ends (END in FIG. 12).
これに対して、不整合が存在しない場合(図12のステップS8においてOK)、モジュール整合性チェック部102eは、モジュールの整合性チェックを行う(図12のステップS6)。 On the other hand, if no inconsistency exists (OK in step S8 of FIG. 12), the module consistency check unit 102e performs a consistency check of the module (step S6 of FIG. 12).
これ以降の処理は、(4-1)と同様であるため、説明を割愛する。 The process from this point on is the same as (4-1), so we will not explain it here.
(5)処理の概要
本項目では、本実施形態における処理の概要について説明する。
(5) Overview of Processing In this section, an overview of the processing in this embodiment will be described.
(5-1)DB復元処理
DB復元部102aは、全ての業務システムと統合パッチ管理DBのバックアップをとったシステムDB一式から導入したいDBを選択して復元する。
(5-1) DB restoration process
The DB restoration unit 102a selects and restores a DB to be introduced from a set of system DBs in which all business systems and the integrated patch management DB have been backed up.
(5-2)DBオブジェクト整合性チェック処理
DBオブジェクト整合性チェック部102bは、共通システムスクリプト同期管理マスタ106cを参照して、適用元業務システムが「共通システム」である適用先業務システムの全てのDBに対して、各業務システムDBのパッチ適用履歴マスタ106dと適用済パッチバージョンマスタ106aを比較して、適用が漏れているパッチがないか確認する。具体的には、以下の1~3の手順で確認する。
(5-2) DB object consistency check process
The DB object consistency check unit 102b refers to the common system script
1.まず、DBオブジェクト整合性チェック部102bは、適用済パッチバージョンマスタ106aから、同期フラグがtrueの行を抽出する(すなわち、同期が必要なパッチの一覧を取得する)。
1. First, the DB object consistency check unit 102b extracts rows whose synchronization flag is true from the applied
2.次に、DBオブジェクト整合性チェック部102bは、1.で抽出した各行に対して、適用済パッチバージョンマスタ106aの「業務システム」と共通システムスクリプト同期管理マスタ106cの「適用元業務システム」が合致する行を抽出することにより、適用先業務システムの一覧を取得する。
2. Next, the DB object consistency check unit 102b obtains a list of target business systems by extracting rows where the "Business System" in the applied
3.最後に、DBオブジェクト整合性チェック部102bは、2.で抽出した各行に対して、共通システムスクリプト同期管理マスタ106cの「適用先業務システム」で指定される業務についてのパッチ適用履歴マスタ106dを参照し、1.において適用済パッチバージョンマスタ106aから抽出した行における「パッチバージョン」と一致する履歴が存在するかチェックする(すなわち、パッチ適用チェックをする)。DBオブジェクト整合性チェック部102bは、一致する履歴が存在する場合は、差異がなし(適用漏れなし)と判定し、これに対して、一致する履歴が存在しない場合は、差異があり(適用漏れあり)と判定する。
3. Finally, for each row extracted in 2., the DB object consistency check unit 102b refers to the patch
(5-3)DBオブジェクト同期処理
DBオブジェクト同期部102cは、(5-2)におけるDBオブジェクト整合性チェックの結果から、適用漏れが発覚した業務システムとそのパッチの一覧を取得する。そして、DBオブジェクト同期部102cは、適用漏れしていたパッチの内、共通システムスクリプトフォルダ以下にあるスクリプトを、適用漏れがあった業務システムに対して適用する。
(5-3) DB object synchronization processing
The DB object synchronization unit 102c obtains a list of business systems and patches for which patch omissions have been discovered from the results of the DB object consistency check in (5-2).The DB object synchronization unit 102c then applies the scripts in the common system script folder to the business systems for which patch omissions have been discovered.
(5-4)パッチ適用処理
パッチ適用部102dは、以下の1~7の処理を順に実行する。
(5-4) Patch Application Process The
1.パッチ適用部102dは、共通システムモジュールフォルダ以下にあるモジュールを、統合パッチ管理DBの共通システム配布モジュールマスタ106bに格納する。
1. The
2.パッチ適用部102dは、業務システムAPモジュールフォルダ以下にあるモジュールを、業務システムDBのAPモジュールマスタ106eに格納する。
2. The
3.パッチ適用部102dは、業務システムWEBモジュールフォルダ以下にあるモジュールを、業務システムDBのWEBモジュールマスタ106fに格納する。
3. The
4.パッチ適用部102dは、共通システムスクリプトフォルダ以下にDBスクリプトがある場合、共通システムスクリプト同期管理マスタ106cを参照して、適用元業務システムが「共通システム」である適用先業務システムの全てのDBに、共通システムスクリプトフォルダの内容を適用する。
4. If there is a DB script under the common system script folder, the
5.パッチ適用部102dは、業務システムスクリプトフォルダ以下にあるDBスクリプトを、業務システムDBに適用する。
5. The
6.パッチ適用部102dは、統合パッチ管理DBの適用済パッチバージョンマスタ106aを更新する。パッチ適用部102dは、この際、「共通システムスクリプトフォルダ」があった場合、「同期フラグ」をtrueにする。
6. The
7.パッチ適用部102dは、業務システムDBのパッチ適用履歴マスタ106dを更新する。
7. The
(5-5)モジュール整合性チェック処理
モジュール整合性チェック部102eは、モジュールマスタとローカルフォルダを比較し、ファイルバージョンおよび更新日時等に問題がないかチェックをする。具体的には、以下の対象に対して、以下のチェックを行う。
(5-5) Module Consistency Check Processing The module consistency check unit 102e compares the module master with the local folder, and checks whether there are any problems with the file version, update date and time, etc. Specifically, the following checks are performed on the following targets:
チェックの対象となるモジュールは、以下の1または2である。
1.共通システム配布モジュールマスタ106bに存在せず、APモジュールマスタ106eおよびWEBモジュールマスタ106fにのみ存在するモジュール
2.共通システム配布モジュールマスタ106bと、APモジュールマスタ106eおよびWEBモジュールマスタ106fと、で共通して存在するモジュール
The modules to be checked are 1 or 2 below.
1. A module that does not exist in the common system
モジュール整合性チェック部102eは、チェックの対象となるモジュールが1.である場合、APモジュールマスタ106eおよびWEBモジュールマスタ106fの「配置パス」で指定されているパスを確認して、以下のAまたはBに該当しないか確認する。これに対して、モジュール整合性チェック部102eは、チェックの対象となるモジュールが2.である場合、「同期対象フォルダを設定したファイル」に記載されているパス上に配置されているファイルに対して、APモジュールマスタ106eおよびWEBモジュールマスタ106fの「配置パス」で指定されているパスを確認して、以下のAまたはBに該当しないか確認する。
A.ローカルフォルダにファイルが存在しない。
B.ファイルのバージョンまたはファイル更新日時に差異がある。
When the module to be checked is 1., the module consistency checking unit 102e checks the paths specified in the "placement paths" of the
A. The file does not exist in the local folder.
B. There is a difference in the file version or file update date and time.
モジュール整合性チェック部102eは、AまたはBに該当する場合は差異がありと判定し、これに対して、これ以外の場合は(AとBのどちらにも該当しない場合は)差異がなしと判定する。 The module consistency check unit 102e determines that there is a difference if the result corresponds to A or B, and determines that there is no difference otherwise (if the result corresponds to neither A nor B).
なお、モジュール整合性チェック部102eは、「B」に該当するかの判断を行うにあたって、APモジュールマスタ106eおよびWEBモジュールマスタ106fと、前記フォルダと、を比較するが、この際、共通システム配布モジュールマスタ106bと、APモジュールマスタ106eおよびWEBモジュールマスタ106fと、の間で、同じモジュール名が存在する場合には、当該同じモジュール名で特定されるモジュールについては、共通システム配布モジュールマスタ106bと前記フォルダとを優先して比較する。
When determining whether or not a module falls under "B," the module consistency check unit 102e compares the
(5-6)モジュール同期処理
モジュール同期部102fは、APモジュールマスタ106eおよびWEBモジュールマスタ106fに格納されているモジュールを、「配置パス」で指定されるパスに、ダウンロードする。モジュール同期部102fは、この際、APモジュールマスタ106eおよびWEBモジュールマスタ106fと、共通システム配布モジュールマスタ106bと、の間で同じモジュールが存在する場合、共通システム配布モジュールマスタ106bにあるモジュールを優先してダウンロードする。
(5-6) Module Synchronization Processing The module synchronization unit 102f downloads the modules stored in the
[5.処理の具体例]
本項目では、本実施形態に係る処理の具体例を説明する。本項目では、初回業務システム導入時の処理を以下の[5-1]で説明し、バージョンアップ時(DBオブジェクトに変更が加わる場合)の処理を以下の[5-2]で説明し、バージョンアップ時(モジュールに変更が加わる場合)の処理を以下の[5-3]で説明し、後発の業務システム導入時の処理を以下の[5-4]で説明し、システム起動時の処理を以下の[5-5]で説明する。
5. Specific Examples of Processing
This section describes specific examples of processing according to this embodiment. In this section, the processing at the time of initial business system installation is described below in [5-1], the processing at the time of version upgrade (when changes are made to DB objects) is described below in [5-2], the processing at the time of version upgrade (when changes are made to modules) is described below in [5-3], the processing at the time of subsequent business system installation is described below in [5-4], and the processing at system startup is described below in [5-5].
[5-1.初回業務システム導入時]
本項目では、初回業務システム導入時の処理について、図12のフローチャートを参照しつつ、図13~図15を用いて説明する。
[5-1. When introducing the business system for the first time]
In this section, the process at the time of initial introduction of the business system will be described using FIGS. 13 to 15 while referring to the flowchart in FIG.
(1)DB復元
DB復元部102aは、各業務システム追加時、雛形となるDBをDBサーバに復元する(図12のステップS2)。本例においては、図13に示すように、統合パッチ管理DB、人事システムDBおよび給与システムDBを復元する状況を考えている。
(1) Database recovery
The DB restoration unit 102a restores a template DB in the DB server when each business system is added (step S2 in FIG. 12). In this example, as shown in FIG. 13, a situation is considered in which an integrated patch management DB, a personnel system DB, and a payroll system DB are restored.
(2)DBオブジェクト整合性チェック
同一バージョンのシステムDB一式から復元した場合、DBオブジェクトの差異は発生しない。このため、DBオブジェクト整合性チェック部102bは、不整合が存在しないと判定する(図12のステップS3:OK)。
(2) DB Object Consistency Check When restoring from a set of system DBs of the same version, no difference in DB objects occurs, so the DB object consistency check unit 102b determines that no inconsistency exists (Step S3 in FIG. 12: OK).
(3)DBオブジェクト同期処理
DBオブジェクト整合性チェックの結果がOKであるため(不整合が存在しないため)、DBオブジェクト同期処理は実施されない。
(3) DB object synchronization processing
Since the result of the DB object consistency check is OK (no inconsistency exists), the DB object synchronization process is not performed.
(4)モジュール整合性チェック
DBを復元した直後は、APサーバおよびWEBサーバにモジュールが存在しないので、[4.処理の概要等]の(5-5)の「A.ローカルフォルダにファイルが存在しない」に該当する。このため、モジュール整合性チェック部102eは、不整合が存在すると判定する(図12のステップS6:NG)。
(4) Module consistency check
Immediately after restoring the DB, there are no modules on the AP server and the WEB server, so this corresponds to "A. No file exists in the local folder" in (5-5) of [4. Overview of processing, etc.]. Therefore, the module consistency check unit 102e determines that there is an inconsistency (step S6 in FIG. 12: NG).
(5)モジュール同期処理
モジュール整合性チェックがNGのため(不整合が存在するため)、モジュール同期部102fは、モジュール同期処理を行う(図12のステップS7)。具体的には、モジュール同期部102fは、図14に示すAPモジュールマスタ106eおよびWEBモジュールマスタ106fの内容を、APサーバおよびWEBサーバにダウンロードするが、この際、同期対象フォルダとして設定されたファイルに対しては、共通システム配布モジュールマスタ106bも考慮した同期制御を行う(同期をとりたくないシステムがある場合は、同期対象フォルダから外すことで対応可能である)。本例では、図14に示すように、人事APフォルダ\Bin、給与APフォルダ\Bin、人事WEBフォルダ\Binおよび給与WEBフォルダ\Binという4つのフォルダが同期対象フォルダとして設定されているため、モジュール同期部102fは、共通システム配布モジュールマスタ106bと、APモジュールマスタ106eおよびWEBモジュールマスタ106fと、の間で、同じモジュール名が存在する場合には、同じモジュール名で特定されるモジュールについては、共通システム配布モジュールマスタ106bの内容を、前記4つのフォルダにダウンロードする。これにより、APサーバにおける人事APフォルダ\Binおよび給与APフォルダ\BinならびにWEBサーバにおける人事WEBフォルダ\Binおよび給与WEBフォルダ\Binの内容は、図15に示すとおりに更新される。
(5) Module Synchronization Processing Since the module consistency check is NG (because there is an inconsistency), the module synchronization unit 102f performs module synchronization processing (step S7 in FIG. 12). Specifically, the module synchronization unit 102f downloads the contents of the
モジュール同期処理により、モジュール整合性チェックの結果がOKとなるため(図12のステップS6においてOK)、本項目における処理が終了する(図12のエンド)。 Since the module synchronization process results in a successful module consistency check (OK in step S6 of FIG. 12), the process for this item ends (End of FIG. 12).
[5-2.バージョンアップ時(DBオブジェクトに変更が加わる場合)]
本項目では、バージョンアップ時(DBオブジェクトに変更が加わる場合)の処理について、図12のフローチャートを参照しつつ、図16~図17を用いて説明する。なお、本項目においては、[5-1.初回業務システム導入時]の全行程完了後の環境を想定している。
[5-2. When upgrading (when changes are made to DB objects)]
In this section, the process of upgrading (when changes are made to DB objects) will be explained using Figures 16 and 17 while referring to the flowchart in Figure 12. Note that this section assumes an environment after the completion of all steps in [5-1. Initial business system installation].
(1)DBオブジェクト整合性チェック
DBオブジェクト整合性チェックの結果は、OKであるという前提とする(図12のステップS3においてOK)。
(1) DB object consistency check
It is assumed that the result of the DB object consistency check is OK (OK in step S3 in FIG. 12).
(2)DBオブジェクト同期処理
DBオブジェクト整合性チェックの結果がOKであるため(不整合が存在しないため)、DBオブジェクト同期処理は実施されない。
(2) DB object synchronization processing
Since the result of the DB object consistency check is OK (no inconsistency exists), the DB object synchronization process is not performed.
(3)パッチ適用処理
パッチ適用部102dは、図16に示すパッチを適用する(図12のステップS5)。具体的には、パッチ適用部102dは、以下の1~3の処理を行う。
(3) Patch Application Processing The
1.図16を参照すると、共通システムスクリプトフォルダ以下にDBスクリプトがあるので、パッチ適用部102dは、共通システムスクリプト同期管理マスタ106cを参照して、適用元業務システムが「共通システム」である適用先業務システムの全てのDBに、共通システムスクリプトフォルダの内容を適用する。
1. Referring to FIG. 16, since there is a DB script under the common system script folder, the
2.パッチ適用部102dは、統合パッチ管理DBの適用済パッチバージョンマスタ106aを更新する。この際、パッチ適用部102dは、「共通システムスクリプトフォルダ」があるので、「同期フラグ」をtrueにする。更新後の適用済パッチバージョンマスタ106aを、図17に示す。
2. The
3.パッチ適用部102dは、業務システムDBのパッチ適用履歴マスタ106dを更新する。更新後のパッチ適用履歴マスタ106dを、図17に示す。
3. The
なお、以下の2点の状態については、[5-1.初回業務システム導入時]全行程完了後の環境と同じなので、記載は割愛する。
・DBサーバのモジュールマスタ
・APサーバおよびWEBサーバの状態
In addition, the following two states are the same as the environment after the completion of all steps in [5-1. Initial business system implementation], so we will omit the description.
- DB server module master - AP server and WEB server status
(4)モジュール整合性チェック
モジュール整合性チェックの結果は、OKであるという前提とする(図12のステップS6においてOK)。
(4) Module Consistency Check It is assumed that the result of the module consistency check is OK (OK in step S6 of FIG. 12).
(5)モジュール同期処理
モジュール整合性チェックの結果がOKであるため(不整合が存在しないため)、モジュール同期処理は実施されない。以上により、本項目における処理が終了する(図12のエンド)。
(5) Module Synchronization Processing Since the result of the module consistency check is OK (no inconsistency is present), the module synchronization processing is not performed. This ends the processing in this item (end of FIG. 12).
[5-3.バージョンアップ時(モジュールに変更が加わる場合)]
本項目では、バージョンアップ時(モジュールに変更が加わる場合)の処理について、図12のフローチャートを参照しつつ、図18~図22を用いて説明する。なお、本項目においては、[5-2.バージョンアップ時(DBオブジェクトに変更が加わる場合)]の全行程完了後の環境を想定している。
[5-3. When upgrading (when changes are made to the module)]
In this section, the process of upgrading (when a change is made to a module) will be explained using Figures 18 to 22 while referring to the flowchart in Figure 12. Note that this section assumes an environment after the completion of all steps in [5-2. When upgrading (when a change is made to a DB object)].
(1)DBオブジェクト整合性チェック
DBオブジェクト整合性チェックの結果は、OKであるという前提とする(図12のステップS3においてOK)。
(1) DB object consistency check
It is assumed that the result of the DB object consistency check is OK (OK in step S3 in FIG. 12).
(2)DBオブジェクト同期処理
DBオブジェクト整合性チェックの結果がOKであるため(不整合が存在しないため)、DBオブジェクト同期処理は実施されない。
(2) DB object synchronization processing
Since the result of the DB object consistency check is OK (no inconsistency exists), the DB object synchronization process is not performed.
(3)パッチ適用処理
パッチ適用部102dは、図18に示すパッチを適用する(図12のステップS5)。具体的には、パッチ適用部102dは、人事システムに関しては以下の1~4の処理を行い、共通システムに関しては以下の1~2の処理を行う。
(3) Patch Application Processing The
(3-1)人事システムに関して
1.パッチ適用部102dは、業務システムAPモジュールフォルダ以下にあるモジュールを、人事システムDBのAPモジュールマスタ106eに格納する。格納後のAPモジュールマスタ106e(人事システム)を、図19に示す。
(3-1) Regarding the Personnel System 1. The
2.パッチ適用部102dは、業務システムWEBモジュールフォルダ以下にあるモジュールを、人事システムDBのWEBモジュールマスタ106fに格納する。格納後のWEBモジュールマスタ106f(人事システム)を、図19に示す。
2. The
3.パッチ適用部102dは、統合パッチ管理DBの適用済パッチバージョンマスタ106aを更新する。なお、図19においては、説明の簡便化のため、業務システムのパッチの適用履歴は割愛している。
3. The
4.パッチ適用部102dは、人事システムDBのパッチ適用履歴マスタ106dを更新する。更新後のパッチ適用履歴マスタ106dを、図19に示す。
4. The
(3-2)共通システムに関して
1.パッチ適用部102dは、共通システムモジュールフォルダ以下にあるモジュールを、統合パッチ管理DBの共通システム配布モジュールマスタ106bに格納する。格納後の共通システム配布モジュールマスタ106bを、図19に示す。
(3-2) Regarding the common system 1. The
2.パッチ適用部102dは、統合パッチ管理DBの適用済パッチバージョンマスタ106aを更新する。更新後の適用済パッチバージョンマスタ106aを、図19に示す。
2. The
なお、以下の状態については、[5-2.バージョンアップ時(DBオブジェクトに変更が加わる場合)]全行程完了後の環境と同じなので、記載は割愛する。
・DBサーバの共通システムスクリプト同期管理マスタ106cおよび元号マスタの状態
Note that the following state is the same as the environment after completing all steps in [5-2. When upgrading (when changes are made to DB objects)], so we will omit the description here.
· Status of the common system script
(4)モジュール整合性チェック
パッチ適用直後、DBサーバのモジュールマスタと、APサーバおよびWEBサーバのローカルフォルダと、の間に不整合が発生する(図12のステップS6においてNG)。具体的には、図20には、バージョンアップ時(モジュールに変更が加わる場合)のパッチ適用処理後における、APサーバおよびWEBサーバ内のフォルダの状態を示しているが、図20の内容は、[5-1.初回業務システム導入時]の「(5)モジュール同期処理」後のAPサーバおよびWEBサーバの状態を示す図15と同様である。本項目[5-3]で更新した図19のDBサーバのモジュールマスタと、本項目[5-3]ではまだ更新していない図20のAPサーバおよびWEBサーバのローカルフォルダと、を比較すると、図20においてハッチングで囲んで示した部分が、[4.処理の概要等]の(5-5)の「B.ファイルのバージョンまたはファイル更新日時に差異がある」に該当するため、不整合発生箇所である(なお、モジュール整合性チェック部102eは、図19に示すように、共通システム配布モジュールマスタ106bと、APモジュールマスタ106eおよびWEBモジュールマスタ106fと、の間で、同じモジュール名として、「共通システムA.exe」、「共通システムB.dll」および「共通システムAA.dll」という3つのモジュールが存在しているため、当該3つのモジュールについては、共通システム配布モジュールマスタ106bと前記フォルダとを優先して比較する)。このため、モジュール整合性チェック部102eは、不整合が存在すると判定する(図12のステップS6においてNG)。
(4) Module Integrity Check Immediately after applying a patch, an inconsistency occurs between the module master of the DB server and the local folders of the AP server and the WEB server (NG in step S6 in FIG. 12). Specifically, FIG. 20 shows the state of the folders in the AP server and the WEB server after the patch application process at the time of version upgrade (when a change is made to a module), but the contents of FIG. 20 are the same as FIG. 15 which shows the state of the AP server and the WEB server after "(5) Module Synchronization Process" in [5-1. Initial Business System Installation]. Comparing the module master of the DB server in FIG. 19 updated in this section [5-3] with the local folders of the AP server and the WEB server in FIG. 20 which have not yet been updated in this section [5-3], the part enclosed by hatching in FIG. 20 is different from [4. Since this corresponds to "There is a difference in the version or file update date and time of B file" in (5-5) of "Overview of Processing, etc.", this is the location of the inconsistency (note that, as shown in FIG. 19, since there are three modules with the same module name, "common system A.exe", "common system B.dll", and "common system AA.dll", between the common system
(5)モジュール同期処理
モジュール整合性チェックがNGのため(不整合が存在するため)、モジュール同期部102fは、以下のルール1~2に従い、モジュール同期処理を行う(図12のステップS7)。
ルール1.モジュール同期部102fは、APモジュールマスタ106eおよびWEBモジュールマスタ106fに格納されているモジュールを、「配置パス」で指定されるパスにダウンロードする。
ルール2.モジュール同期部102fは、この際、APモジュールマスタ106eおよびWEBモジュールマスタ106fと、共通システム配布モジュールマスタ106bと、で同じモジュールが存在した場合、共通システム配布モジュールマスタ106bにあるモジュールを優先してダウンロードする。
なお、以下に関しては、モジュール整合性チェックのチェック対象でないので記載を割愛する。
・DBサーバの共通システムスクリプト同期管理マスタ106cおよび元号マスタの状態
(5) Module Synchronization Processing Since the module consistency check is NG (because there is an inconsistency), the module synchronization unit 102f performs module synchronization processing in accordance with the following rules 1 and 2 (step S7 in FIG. 12).
Rule 1. The module synchronization unit 102f downloads the modules stored in the
Rule 2: At this time, if the same module exists in the
Note that the following items are not subject to the module consistency check, so their description will be omitted.
· Status of the common system script
具体的には、モジュール同期部102fは、図21に示すAPモジュールマスタ106eおよびWEBモジュールマスタ106fの内容を、APサーバおよびWEBサーバにダウンロードするが、この際、同期対象フォルダとして設定されたファイルに対しては、共通システム配布モジュールマスタ106bも考慮した同期制御を行う(同期をとりたくないシステムがある場合は、同期対象フォルダから外すことで対応可能である)。本例では、図21に示すように、人事APフォルダ\Bin、給与APフォルダ\Bin、人事WEBフォルダ\Binおよび給与WEBフォルダ\Binという4つのフォルダが同期対象フォルダとして設定されているため、モジュール同期部102fは、共通システム配布モジュールマスタ106bと、APモジュールマスタ106eおよびWEBモジュールマスタ106fと、の間で、同じモジュール名が存在する場合には、同じモジュール名で特定されるモジュールについては、共通システム配布モジュールマスタ106bの内容を、前記4つのフォルダにダウンロードする。
Specifically, the module synchronization unit 102f downloads the contents of the
つまり、モジュール同期部102fは、原則としては、ルール1.に従い、図21に示すAPモジュールマスタ106eおよびWEBモジュールマスタ106fの内容を、APサーバおよびWEBサーバにダウンロードする。しかしながら、ルール2.も考慮すると、「共通システムA.exe」、「共通システムB.dll」および「共通システムAA.dll」という3つのモジュールは、APモジュールマスタ106eおよびWEBモジュールマスタ106fと、共通システム配布モジュールマスタ106bと、の間で共通して存在しているため、モジュール同期部102fは、図21の共通システム配布モジュールマスタ106bにあるモジュール(ファイルバージョン:1.3)を優先してダウンロードする。
In other words, the module synchronization unit 102f basically downloads the contents of the
以上の処理により、APサーバにおける人事APフォルダ\Binおよび給与APフォルダ\BinならびにWEBサーバにおける人事WEBフォルダ\Binおよび給与WEBフォルダ\Binの内容は、図22に示すとおりに更新される。 By performing the above processing, the contents of the HR AP Folder\Bin and Payroll AP Folder\Bin on the AP server and the HR WEB Folder\Bin and Payroll WEB Folder\Bin on the WEB server are updated as shown in Figure 22.
モジュール同期処理により、モジュール整合性チェックの結果がOKとなるため(図12のステップS6においてOK)、処理が終了する(図12のエンド)。 The module synchronization process results in a successful module consistency check (OK in step S6 of FIG. 12), and the process ends (End of FIG. 12).
[5-4.後発の業務システム導入時]
本項目では、後発の業務システム導入時の処理について、図12のフローチャートを参照しつつ、図23~図30を用いて説明する。なお、本項目においては、[5-3.バージョンアップ時(モジュールに変更が加わる場合)]の全行程完了後の環境を想定している。
[5-4. When introducing a new business system]
In this section, the process of introducing a new business system will be explained using Figures 23 to 30 while referring to the flowchart in Figure 12. Note that this section assumes an environment after the completion of all steps in [5-3. When upgrading (when changes are made to modules)].
(1)DB復元
DB復元部102aは、図23に示すように、会計システムDBをDBサーバに復元する(図12のステップS2)。
(1) Database recovery
The DB restoration unit 102a restores the accounting system DB in the DB server, as shown in FIG. 23 (step S2 in FIG. 12).
(2)DBオブジェクト整合性チェック
DBオブジェクト整合性チェック部102bは、以下の1~3に示す順序で、DBオブジェクトの整合性チェックを行う(図12のステップS3)。
(2) DB object consistency check
The DB object consistency check unit 102b checks the consistency of the DB object in the following order 1 to 3 (step S3 in FIG. 12).
1.DBオブジェクト整合性チェック部102bは、図24の適用済パッチバージョンマスタ106aから、「同期フラグ」がtrueの行を抽出する(すなわち、同期が必要なパッチの一覧を取得する)。これにより、DBオブジェクト整合性チェック部102bは、「20200115.共通システム」を抽出する。
1. The DB object consistency check unit 102b extracts rows where the "synchronization flag" is true from the applied
2.DBオブジェクト整合性チェック部102bは、図24の適用済パッチバージョンマスタ106aの「業務システム」と、図24の共通システムスクリプト同期管理マスタ106cの「適用元業務システム」と、が合致する列を抽出することにより、適用先業務システムの一覧を取得する。これにより、DBオブジェクト整合性チェック部102bは、人事システム、給与システムおよび会計システムを抽出する。
2. The DB object consistency check unit 102b obtains a list of target business systems by extracting columns that match the "Business System" in the applied
3.DBオブジェクト整合性チェック部102bは、図24の共通システムスクリプト同期管理マスタ106cの「適用先業務システム」で指定される業務についての図24のパッチ適用履歴マスタ106dを参照し、1.で説明した図24の適用済パッチバージョンマスタ106aの「パッチバージョン」と一致する履歴が存在するかチェックする(すなわち、パッチ適用チェックする)。これにより、DBオブジェクト整合性チェック部102bは、人事システムには、「20200115.共通システム」の履歴が存在するため整合性チェックOKと判定し、給与システムにも、「20200115.共通システム」の履歴が存在するため整合性チェックOKと判定する。これに対して、DBオブジェクト整合性チェック部102bは、会計システムには、「20200115.共通システム」の履歴が存在しないため、整合性チェックNGと判定する。
3. The DB object consistency check unit 102b refers to the patch
なお、以下に関しては、DBオブジェクト整合性のチェック対象でないので記載を割愛する。
・DBサーバのモジュールマスタの状態
・APサーバおよびWEBサーバの状態
Note that the following items are not subject to DB object consistency checking, so we will omit their description here.
- DB server module master status - AP server and WEB server status
(3)DBオブジェクト同期処理
DBオブジェクト同期部102cは、図25に示すように、会計システムに、「20200115.共通システム」パッチを適用するDBオブジェクト同期処理を行う(図12のステップS4)。DBオブジェクト同期処理により、DBオブジェクト整合性チェックの結果がOKとなる(図12のステップS3においてOK)。
(3) DB object synchronization processing
The DB object synchronization unit 102c performs DB object synchronization processing to apply the "20200115.Common System" patch to the accounting system, as shown in Fig. 25 (step S4 in Fig. 12). As a result of the DB object synchronization processing, the result of the DB object consistency check becomes OK (OK in step S3 in Fig. 12).
(4)モジュール整合性チェック
会計システムDBを復元した直後は、APサーバおよびWEBサーバに会計システムのモジュールが存在しないので、[4.処理の概要等]の(5-5)の「A.ローカルフォルダにファイルが存在しない」に該当する。このため、モジュール整合性チェック部102eは、不整合が存在すると判定する(図12のステップS6:NG)。
(4) Module consistency check Immediately after the accounting system DB is restored, there are no accounting system modules on the AP server or WEB server, so this corresponds to "A. No file exists in the local folder" in (5-5) of [4. Overview of processing, etc.]. For this reason, the module consistency check unit 102e determines that an inconsistency exists (step S6: NG in FIG. 12).
(5)モジュール同期処理
モジュール整合性チェックがNGのため(不整合が存在するため)、モジュール同期部102fは、以下のルール1~2に従い、モジュール同期処理を行う(図12のステップS7)。
ルール1.モジュール同期部102fは、APモジュールマスタ106eおよびWEBモジュールマスタ106fに格納されているモジュールを、「配置パス」で指定されるパスにダウンロードする。
ルール2.モジュール同期部102fは、この際、APモジュールマスタ106eおよびWEBモジュールマスタ106fと、共通システム配布モジュールマスタ106bと、で同じモジュールが存在した場合、共通システム配布モジュールマスタ106bにあるモジュールを優先してダウンロードする。
なお、以下に関しては、モジュール整合性チェックのチェック対象でないので記載を割愛する。
・DBサーバの共通システムスクリプト同期管理マスタ106cおよび元号マスタの状態
(5) Module Synchronization Processing Since the module consistency check is NG (because there is an inconsistency), the module synchronization unit 102f performs module synchronization processing in accordance with the following rules 1 and 2 (step S7 in FIG. 12).
Rule 1. The module synchronization unit 102f downloads the modules stored in the
Rule 2: At this time, if the same module exists in the
Note that the following items are not subject to the module consistency check, so their description will be omitted.
· Status of the common system script
以下、同期対象フォルダ設定ファイルの同期対象フォルダが、設定されている場合と設定されていない場合とに分けて説明をする。 Below, we will explain the cases when the synchronized folder in the synchronized folder setting file is set and when it is not.
(5-1)同期対象フォルダが設定されている場合
同期対象フォルダ設定ファイルの同期対象フォルダが設定されている場合、モジュール同期部102fは、図26に示すAPモジュールマスタ106eおよびWEBモジュールマスタ106fの内容を、APサーバおよびWEBサーバにダウンロードするが、この際、同期対象フォルダとして設定されたファイルに対しては、共通システム配布モジュールマスタ106bも考慮した同期制御を行う(同期をとりたくないシステムがある場合は、同期対象フォルダから外すことで対応可能である)。本例では、図26に示すように、人事APフォルダ\Bin、給与APフォルダ\Bin、会計APフォルダ\Bin、人事WEBフォルダ\Bin、給与WEBフォルダ\Binおよび会計WEBフォルダ\Binという6つのフォルダが同期対象フォルダとして設定されているため、モジュール同期部102fは、共通システム配布モジュールマスタ106bと、APモジュールマスタ106eおよびWEBモジュールマスタ106fと、の間で、同じモジュール名が存在する場合には、同じモジュール名で特定されるモジュールについては、共通システム配布モジュールマスタ106bの内容を、前記6つのフォルダにダウンロードする。
(5-1) When a synchronization target folder is set When a synchronization target folder is set in the synchronization target folder setting file, the module synchronization unit 102f downloads the contents of the
つまり、モジュール同期部102fは、原則としては、ルール1.に従い、図26に示すAPモジュールマスタ106eおよびWEBモジュールマスタ106fの内容を、APサーバおよびWEBサーバにダウンロードする。しかしながら、ルール2.も考慮すると、「共通システムA.exe」、「共通システムB.dll」および「共通システムAA.dll」という3つのモジュールは、APモジュールマスタ106eおよびWEBモジュールマスタ106fと、共通システム配布モジュールマスタ106bと、の間で共通して存在しているため、モジュール同期部102fは、図26の共通システム配布モジュールマスタ106bにあるモジュール(ファイルバージョン:1.3)を優先してダウンロードする。
In other words, the module synchronization unit 102f basically follows rule 1 and downloads the contents of the
以上の処理により、APサーバにおける人事APフォルダ\Bin、給与APフォルダ\Binおよび会計APフォルダ\Binは、図27に示すとおりに更新され、また、WEBサーバにおける人事WEBフォルダ\Bin、給与WEBフォルダ\Binおよび会計WEBフォルダ\Binは、図28に示すとおりに更新される。 By the above processing, the HR AP Folder\Bin, Payroll AP Folder\Bin, and Accounting AP Folder\Bin on the AP server are updated as shown in Figure 27, and the HR WEB Folder\Bin, Payroll WEB Folder\Bin, and Accounting WEB Folder\Bin on the WEB server are updated as shown in Figure 28.
図27に示すように、APサーバにおいて、人事APフォルダ\Binおよび給与APフォルダ\Binと、会計APフォルダ\Binと、の間で整合性がとれている。また、図28に示すように、WEBサーバにおいて、人事WEBフォルダ\Binおよび給与WEBフォルダ\Binと、会計WEBフォルダ\Binと、の間で整合性がとれている。 As shown in FIG. 27, on the AP server, there is consistency between the HR AP folder\Bin and the Payroll AP folder\Bin, and the Accounting AP folder\Bin. Also, as shown in FIG. 28, on the WEB server, there is consistency between the HR WEB folder\Bin and the Payroll WEB folder\Bin, and the Accounting WEB folder\Bin.
以上、本項目(5-1)で説明したように、同期対象フォルダ設定ファイルの同期対象フォルダが設定されている場合、共通システム配布モジュールマスタ106bに存在するモジュールを優先することで、図27および図28に示すように、全システムの同期がとられる。
As explained above in section (5-1), when a synchronization target folder is set in the synchronization target folder setting file, the modules present in the common system
モジュール同期処理により、モジュール整合性チェックの結果がOKとなるため(図12のステップS6においてOK)、処理が終了する(図12のエンド)。 The module synchronization process results in a successful module consistency check (OK in step S6 of FIG. 12), and the process ends (End of FIG. 12).
(5-2)同期対象フォルダが設定されていない場合
同期対象フォルダ設定ファイルの同期対象フォルダが設定されていない場合、モジュール同期部102fは、図26に示すAPモジュールマスタ106eおよびWEBモジュールマスタ106fの内容を、APサーバおよびWEBサーバにダウンロードする。これにより、APサーバにおける人事APフォルダ\Bin、給与APフォルダ\Binおよび会計APフォルダ\Binは、図29に示すとおりに更新され、また、WEBサーバにおける人事WEBフォルダ\Bin、給与WEBフォルダ\Binおよび会計WEBフォルダ\Binは、図30に示すとおりに更新される。
(5-2) When a synchronization target folder is not set When a synchronization target folder is not set in the synchronization target folder setting file, the module synchronization unit 102f downloads the contents of the
図29に示すように、APサーバにおいて、人事APフォルダ\Binおよび給与APフォルダ\Binと、会計APフォルダ\Binと、の間で不整合が発生している。また、図30に示すように、WEBサーバにおいて、人事WEBフォルダ\Binおよび給与WEBフォルダ\Binと、会計WEBフォルダ\Binと、の間で不整合が発生している。 As shown in Figure 29, in the AP server, an inconsistency has occurred between the Personnel AP Folder\Bin and Payroll AP Folder\Bin, and the Accounting AP Folder\Bin. Also, as shown in Figure 30, in the WEB server, an inconsistency has occurred between the Personnel WEB Folder\Bin and Payroll WEB Folder\Bin, and the Accounting WEB Folder\Bin.
以上、本項目(5-2)で説明したように、同期対象フォルダ設定ファイルの同期対象フォルダが設定されていない場合、業務システムごとに異なるバージョンの共通システムモジュールが取得されるため、図29および図30に示すように、システム不整合が発生する。 As explained above in section (5-2), if the synchronization target folder is not set in the synchronization target folder setting file, different versions of the common system module will be obtained for each business system, resulting in system inconsistencies, as shown in Figures 29 and 30.
[5-5.システム起動時の処理]
本項目では、システム起動時の処理について、図12のフローチャートを参照して説明する。
[5-5. Processing at system startup]
In this section, the process at system startup will be described with reference to the flowchart in FIG.
(1)DBオブジェクト整合性チェック
システム停止が伴うため自動で同期をとることは想定していないが、必要に応じて、DBオブジェクト整合性チェック部102bに自動でDBオブジェクト整合性チェックを行わせるようにしても良い。例えば、人的な作業ミス等が要因で整合性チェックがNGになった場合(図12のステップS8においてNGの場合)、例えば、以下に示すエラーが表示される。
エラー:「××システムに以下のパッチが適用されていません。パッチを適用し、システムを最新にして下さい。(以降、適用されていないパッチの一覧を表示)」
(1) DB object consistency check Since this involves a system stop, automatic synchronization is not assumed, but the DB object consistency check unit 102b may be made to automatically check the consistency of DB objects as necessary. For example, if the consistency check is NG due to a human error or the like (NG in step S8 of FIG. 12), for example, the following error is displayed.
Error: "The following patches have not been applied to the XX system. Please apply the patches and update your system. (A list of patches that have not been applied will be displayed.)"
(2)モジュール整合性チェック
これに対して、DBオブジェクト整合性チェックの結果がOKである場合(図12のステップS8においてOK)、モジュール整合性チェック部102eは、モジュール整合性チェックを行う。納品時の作業ミス等で、パッチ適用処理の後に、モジュール整合性チェックを忘れていた場合等に、モジュール整合性チェックの結果がNGとなることがある(図12のステップS6:NG)。
(2) Module Integrity Check On the other hand, if the result of the DB object integrity check is OK (OK in step S8 in FIG. 12), the module integrity check unit 102e performs a module integrity check. If the module integrity check is forgotten after the patch application process due to a work mistake at the time of delivery, the result of the module integrity check may be NG (NG in step S6 in FIG. 12).
(3)モジュール同期処理
モジュール整合性チェックの結果がNGだった場合、モジュール同期部102fは、[5-3.バージョンアップ時(モジュールに変更が加わる場合)の処理]の「(5)モジュール同期処理」と同様の方法で、モジュール同期処理を行う(図12のステップS7)。
(3) Module Synchronization Processing If the result of the module consistency check is NG, the module synchronization unit 102f performs module synchronization processing in a manner similar to “(5) Module Synchronization Processing” in [5-3. Processing at the time of version upgrade (when changes are made to a module)] (step S7 in FIG. 12).
モジュール同期処理により、モジュール整合性チェックの結果がOKとなるため(図12のステップS6においてOK)、本項目における処理が終了する(図12のエンド)。 The module synchronization process results in a successful module consistency check (OK in step S6 of FIG. 12), so the process for this item ends (End of FIG. 12).
[6.本実施形態のまとめ]
このように、本実施形態に係る同期制御装置100によれば、システム毎に管理を分けることができるというメリットを享受しつつ、システム全体の整合性の担保が困難であるというデメリットを解消することができる。
[6. Summary of the present embodiment]
In this way, according to the
[7.国連が主導する持続可能な開発目標(SDGs)への貢献]
本実施形態により、業務効率化や企業の適切な経営判断を推進することに寄与することができるので、SDGsの目標8及び9に貢献することが可能となる。
[7. Contribution to the United Nations-led Sustainable Development Goals (SDGs)]
This embodiment can contribute to improving business efficiency and promoting appropriate management decisions by companies, thereby making it possible to contribute to goals 8 and 9 of the SDGs.
また、本実施形態により、廃棄ロス削減や、ペーパレス・電子化を推進することに寄与することができるので、SDGsの目標12、13及び15に貢献することが可能となる。 In addition, this embodiment can contribute to reducing waste and promoting paperless and electronic systems, which can contribute to the achievement of SDGs goals 12, 13, and 15.
また、本実施形態により、統制、ガバナンス強化に寄与することができるので、SDGsの目標16に貢献することが可能となる。 In addition, this embodiment can contribute to strengthening control and governance, making it possible to contribute to Goal 16 of the SDGs.
[8.他の実施形態]
本発明は、上述した実施形態以外にも、特許請求の範囲に記載した技術的思想の範囲内において種々の異なる実施形態にて実施されてよいものである。
8. Other embodiments
The present invention may be embodied in various different embodiments other than those described above within the scope of the technical concept set forth in the claims.
例えば、実施形態において説明した各処理のうち、自動的に行われるものとして説明した処理の全部または一部を手動的に行うこともでき、あるいは、手動的に行われるものとして説明した処理の全部または一部を公知の方法で自動的に行うこともできる。 For example, among the processes described in the embodiments, all or part of the processes described as being performed automatically can be performed manually, or all or part of the processes described as being performed manually can be performed automatically using a known method.
また、本明細書中や図面中で示した処理手順、制御手順、具体的名称、各処理の登録データや検索条件等のパラメータを含む情報、画面例、データベース構成については、特記する場合を除いて任意に変更することができる。 In addition, the processing procedures, control procedures, specific names, registered data for each process, information including search conditions and other parameters, screen examples, and database configurations shown in this specification and drawings may be changed as desired unless otherwise specified.
また、同期制御装置100に関して、図示の各構成要素は機能概念的なものであり、必ずしも物理的に図示の如く構成されていることを要しない。
Furthermore, with regard to the
例えば、同期制御装置100が備える処理機能、特に制御部にて行われる各処理機能については、その全部または任意の一部を、CPUおよび当該CPUにて解釈実行されるプログラムにて実現してもよく、また、ワイヤードロジックによるハードウェアとして実現してもよい。尚、プログラムは、本実施形態で説明した処理を情報処理装置に実行させるためのプログラム化された命令を含む一時的でないコンピュータ読み取り可能な記録媒体に記録されており、必要に応じて同期制御装置100に機械的に読み取られる。すなわち、ROMまたはHDD(Hard Disk Drive)などの記憶部などには、OSと協働してCPUに命令を与え、各種処理を行うためのコンピュータプログラムが記録されている。このコンピュータプログラムは、RAMにロードされることによって実行され、CPUと協働して制御部を構成する。
For example, the processing functions of the
また、このコンピュータプログラムは、同期制御装置100に対して任意のネットワークを介して接続されたアプリケーションプログラムサーバに記憶されていてもよく、必要に応じてその全部または一部をダウンロードすることも可能である。
This computer program may also be stored in an application program server connected to the
また、本実施形態で説明した処理を実行するためのプログラムを、一時的でないコンピュータ読み取り可能な記録媒体に格納してもよく、また、プログラム製品として構成することもできる。ここで、この「記録媒体」とは、メモリーカード、USB(Universal Serial Bus)メモリ、SD(Secure Digital)カード、フレキシブルディスク、光磁気ディスク、ROM、EPROM(Erasable Programmable Read Only Memory)、EEPROM(登録商標)(Electrically Erasable and Programmable Read Only Memory)、CD-ROM(Compact Disk Read Only Memory)、MO(Magneto-Optical disk)、DVD(Digital Versatile Disk)、および、Blu-ray(登録商標) Disc等の任意の「可搬用の物理媒体」を含むものとする。 In addition, the program for executing the processing described in this embodiment may be stored on a non-transitory computer-readable recording medium, or may be configured as a program product. Here, the term "recording medium" refers to a memory card, a USB (Universal Serial Bus) memory, a SD (Secure Digital) card, a flexible disk, a magneto-optical disk, a ROM, an EPROM (Erasable Programmable Read Only Memory), an EEPROM (registered trademark) (Electrically Erasable and Programmable Read Only Memory), a CD-ROM (Compact Disk Read Only Memory), an MO (Magneto-Optical disk), a DVD (Digital Versatile This includes any "portable physical media" such as a Blu-ray (registered trademark) Disc, and a Blu-ray (registered trademark) Disc.
また、「プログラム」とは、任意の言語または記述方法にて記述されたデータ処理方法であり、ソースコードまたはバイナリコード等の形式を問わない。なお、「プログラム」は必ずしも単一的に構成されるものに限られず、複数のモジュールやライブラリとして分散構成されるものや、OSに代表される別個のプログラムと協働してその機能を達成するものをも含む。なお、実施形態に示した各装置において記録媒体を読み取るための具体的な構成および読み取り手順ならびに読み取り後のインストール手順等については、周知の構成や手順を用いることができる。 A "program" is a data processing method written in any language or description method, and may be in any format, such as source code or binary code. Note that a "program" is not necessarily limited to a single configuration, but also includes a distributed configuration consisting of multiple modules or libraries, and a program that works in conjunction with a separate program, such as an OS, to achieve its function. Note that the specific configuration and reading procedure for reading a recording medium in each device shown in the embodiments, as well as the installation procedure after reading, can use well-known configurations and procedures.
記憶部に格納される各種のデータベース等は、RAM、ROM等のメモリ装置、ハードディスク等の固定ディスク装置、フレキシブルディスク、および、光ディスク等のストレージ手段であり、各種処理やウェブサイト提供に用いる各種のプログラム、テーブル、データベース、および、ウェブページ用ファイル等を格納する。 The various databases stored in the memory unit are storage devices such as RAM, ROM, etc., fixed disk devices such as hard disks, flexible disks, and optical disks, and store various programs, tables, databases, and web page files used for various processes and providing websites.
また、同期制御装置100は、既知のパーソナルコンピュータまたはワークステーション等の情報処理装置として構成してもよく、また、任意の周辺装置が接続された当該情報処理装置として構成してもよい。また、同期制御装置100、当該装置に本実施形態で説明した処理を実現させるソフトウェア(プログラムまたはデータ等を含む)を実装することにより実現してもよい。
The
更に、装置の分散・統合の具体的形態は図示するものに限られず、その全部または一部を、各種の付加等に応じてまたは機能負荷に応じて、任意の単位で機能的または物理的に分散・統合して構成することができる。すなわち、上述した実施形態を任意に組み合わせて実施してもよく、実施形態を選択的に実施してもよい。 Furthermore, the specific form of distribution and integration of the devices is not limited to that shown in the figures, and all or part of them can be functionally or physically distributed and integrated in any unit depending on various additions or functional loads. In other words, the above-mentioned embodiments can be implemented in any combination, or the embodiments can be implemented selectively.
本発明は、あらゆる業界および業種において有用である。 The present invention is useful in all industries and business sectors.
100 同期制御装置
102 制御部
102a DB復元部
102b DBオブジェクト整合性チェック部
102c DBオブジェクト同期部
102d パッチ適用部
102e モジュール整合性チェック部
102f モジュール同期部
104 通信インターフェース部
106 記憶部
106a 適用済パッチバージョンマスタ
106b 共通システム配布モジュールマスタ
106c 共通システムスクリプト同期管理マスタ
106d パッチ適用履歴マスタ
106e APモジュールマスタ
106f WEBモジュールマスタ
108 入出力インターフェース部
112 入力装置
114 出力装置
200 サーバ
300 ネットワーク
100 Synchronous control device 102 Control unit
102a DB restoration unit
102b DB object consistency check unit
102c DB object synchronization unit
102d Patch application unit
102e Module consistency check unit
102f
106a Applied patch version master
106b Common system distribution module master
106c Common system script synchronization management master
106d Patch application history master
106e AP module master
106f
Claims (7)
前記制御部は、
所定のマスタを参照して、過去に適用したことがあるパッチバージョンを識別するための情報であって前記パッチバージョンの作成時または提供時および適用の対象となった業務システムから構成される適用済パッチバージョン識別情報のうち、適用元業務システムについての前記適用済パッチバージョン識別情報の適用が漏れている適用先業務システムの存在の有無をチェックし、存在する場合には、当該適用が漏れている適用先業務システムを、前記適用元業務システムについての前記適用済パッチバージョン識別情報の適用対象として特定するDBオブジェクト整合性チェック手段と、
前記DBオブジェクト整合性チェック手段で特定した適用先業務システムに対して、前記適用元業務システムについての前記適用済パッチバージョン識別情報を適用するDBオブジェクト同期手段と、
モジュールマスタとフォルダを比較して、ファイルバージョンまたは更新日時の差異があるかないかをチェックするモジュール整合性チェック手段と、
前記モジュール整合性チェック手段で前記差異があるとチェックした場合、前記モジュールマスタの内容を前記フォルダにダウンロードするモジュール同期手段と、
を備えること、
を特徴とする同期制御装置。 A synchronous control device including a control unit,
The control unit is
a DB object consistency check means for checking, by referring to a predetermined master, whether or not there exists a target business system to which the applied patch version identification information for a source business system has not been applied, among applied patch version identification information for identifying patch versions that have been applied in the past, the applied patch version identification information being composed of information for identifying the business systems to which the patch version was created or provided and the patch version was applied, and, if there exists such a target business system, specifying the target business system to which the applied patch version identification information for the source business system has not been applied as a target to which the applied patch version identification information for the source business system should be applied;
a DB object synchronization means for applying the applied patch version identification information of the source business system to the destination business system identified by the DB object consistency check means;
a module consistency check means for comparing a module master with a folder and checking whether there is a difference in file version or update date and time;
a module synchronization means for downloading the contents of the module master to the folder when the module consistency check means checks that there is a difference;
To have
A synchronous control device comprising:
前記適用元業務システムについての前記適用済パッチバージョン識別情報と、同期フラグと、を含む適用済パッチバージョンマスタと、
前記適用元業務システムと、前記適用先業務システムと、を含む共通システムスクリプト同期管理マスタと、
前記適用先業務システムについての前記適用済パッチバージョン識別情報を含む、前記適用先業務システム毎に用意されたパッチ適用履歴マスタと、
から構成されており、
前記DBオブジェクト整合性チェック手段は、
前記適用済パッチバージョンマスタから、同期の必要性があることを示すフラグが設定されている前記適用元業務システムについての前記適用済パッチバージョン識別情報を取得し、
前記共通システムスクリプト同期管理マスタから、当該取得した適用済パッチバージョン識別情報を構成する前記適用元業務システムと紐付く適用先業務システムを取得し、
当該取得した適用先業務システムについての前記パッチ適用履歴マスタ中に、前記取得した前記適用元業務システムについての前記適用済パッチバージョン識別情報が存在しない場合、当該取得した適用先業務システムを、前記適用対象として特定すること、
を特徴とする請求項1に記載の同期制御装置。 The predetermined master is
an applied patch version master including the applied patch version identification information and a synchronization flag for the source business system;
a common system script synchronization management master including the source business system and the destination business system;
a patch application history master prepared for each of the application destination business systems, the patch application history master including the applied patch version identification information for the application destination business systems;
It is composed of
The DB object consistency check means includes:
obtaining, from the applied patch version master, the applied patch version identification information for the source business system for which a flag indicating the need for synchronization is set;
obtain, from the common system script synchronization management master, a target business system associated with the source business system constituting the obtained applied patch version identification information;
identifying the acquired destination business system as the application target when the applied patch version identification information for the acquired source business system does not exist in the patch application history master for the acquired destination business system;
The synchronous control device according to claim 1 .
前記フォルダが、モジュール識別データと、ファイルバージョンと、ファイル更新日時と、を含み、
前記モジュール整合性チェック手段は、
前記フォルダにファイルが存在しない場合、または、前記モジュールマスタと前記フォルダを比較して、前記モジュール識別データが同じもの同士で前記ファイルバージョンもしくは前記ファイル更新日時が異なる場合、前記差異があるとチェックすること、
を特徴とする請求項1または2に記載の同期制御装置。 The module master includes module identification data, a file version, and a file update date and time;
The folder includes module identification data, a file version, and a file update date and time;
The module consistency check means includes:
If there is no file in the folder, or if the module master and the folder are compared and the module identification data are the same but the file version or the file update date and time is different, checking that there is a difference;
3. A synchronous control device according to claim 1 or 2.
モジュール識別データと、ファイルバージョンと、ファイル更新日時と、を含むマスタであって、共通システムのモジュールを格納する共通システム配布モジュールマスタと、
モジュール識別データと、ファイルバージョンと、ファイル更新日時と、を含むマスタであって、APサーバで使用する業務システムのモジュールを格納するAPモジュールマスタと、
モジュール識別データと、ファイルバージョンと、ファイル更新日時と、を含むマスタであって、WEBサーバで使用する業務システムのモジュールを格納するWEBモジュールマスタと、
から構成されており、
前記モジュール整合性チェック手段は、
前記APモジュールマスタおよび前記WEBモジュールマスタと、前記フォルダと、を前記比較するが、この際、前記共通システム配布モジュールマスタと、前記APモジュールマスタおよび前記WEBモジュールマスタと、の間で、同じモジュール識別データが存在する場合には、当該同じモジュール識別データで特定されるモジュールについては、前記共通システム配布モジュールマスタと前記フォルダとを優先して前記比較すること、
を特徴とする請求項3に記載の同期制御装置。 The module master:
a common system distribution module master including module identification data, file version, and file update date and time, the common system distribution module master storing modules of the common system;
an AP module master including module identification data, file version, and file update date and time, storing modules of a business system used in an AP server;
a WEB module master including module identification data, file version, and file update date and time, storing modules of a business system used in a WEB server;
It is composed of
The module consistency check means includes:
comparing the AP module master and the WEB module master with the folder, and in this case, if identical module identification data exists between the common system distribution module master and the AP module master and the WEB module master, comparing the common system distribution module master with the folder with priority for modules identified by the identical module identification data;
4. The synchronous control device according to claim 3 .
モジュール識別データと、ファイルバージョンと、ファイル更新日時と、を含むマスタであって、共通システムのモジュールを格納する共通システム配布モジュールマスタと、
モジュール識別データと、ファイルバージョンと、ファイル更新日時と、を含むマスタであって、APサーバで使用する業務システムのモジュールを格納するAPモジュールマスタと、
モジュール識別データと、ファイルバージョンと、ファイル更新日時と、を含むマスタであって、WEBサーバで使用する業務システムのモジュールを格納するWEBモジュールマスタと、
から構成されており、
前記モジュール同期手段は、
前記APモジュールマスタおよび前記WEBモジュールマスタの内容を前記フォルダにダウンロードし、この際、前記共通システム配布モジュールマスタと、前記APモジュールマスタおよび前記WEBモジュールマスタと、の間で、同じモジュール識別データが存在する場合には、当該同じモジュール識別データで特定されるモジュールについては、前記共通システム配布モジュールマスタの内容を前記フォルダにダウンロードすること、
を特徴とする請求項1から4のいずれか一つに記載の同期制御装置。 The module master:
a common system distribution module master including module identification data, file version, and file update date and time, the common system distribution module master storing modules of the common system;
an AP module master including module identification data, file version, and file update date and time, which stores modules of a business system used in an AP server;
a WEB module master including module identification data, file version, and file update date and time, storing modules of a business system used by a WEB server;
It is composed of
The module synchronization means includes:
downloading the contents of the AP module master and the WEB module master into the folder, and at this time, if identical module identification data exists between the common system distribution module master and the AP module master and the WEB module master, downloading the contents of the common system distribution module master into the folder for modules identified by the identical module identification data;
5. A synchronous control device according to claim 1, wherein:
前記制御部で実行される、
所定のマスタを参照して、過去に適用したことがあるパッチバージョンを識別するための情報であって前記パッチバージョンの作成時または提供時および適用の対象となった業務システムから構成される適用済パッチバージョン識別情報のうち、適用元業務システムについての前記適用済パッチバージョン識別情報の適用が漏れている適用先業務システムの存在の有無をチェックし、存在する場合には、当該適用が漏れている適用先業務システムを、前記適用元業務システムについての前記適用済パッチバージョン識別情報の適用対象として特定するDBオブジェクト整合性チェックステップと、
前記DBオブジェクト整合性チェックステップで特定した適用先業務システムに対して、前記適用元業務システムについての前記適用済パッチバージョン識別情報を適用するDBオブジェクト同期ステップと、
モジュールマスタとフォルダを比較して、ファイルバージョンまたは更新日時の差異があるかないかをチェックするモジュール整合性チェックステップと、
前記モジュール整合性チェックステップで前記差異があるとチェックした場合、前記モジュールマスタの内容を前記フォルダにダウンロードするモジュール同期ステップと、
を含むこと、
を特徴とする同期制御方法。 A synchronization control method executed in an information processing device including a control unit,
Executed by the control unit,
a DB object consistency check step of checking, with reference to a predetermined master, whether or not there exists a target business system to which the applied patch version identification information for a source business system has not been applied, among applied patch version identification information for identifying patch versions that have been applied in the past, the applied patch version identification information being composed of information for identifying the business systems to which the patch version was created or provided and was applied, and, if there exists such a target business system, identifying the target business system to which the applied patch version identification information for the source business system has not been applied as a target to which the applied patch version identification information for the source business system should be applied;
a DB object synchronization step of applying the applied patch version identification information of the source business system to the destination business system identified in the DB object consistency check step;
A module consistency check step for comparing the module master with the folder to check whether there is a difference in file version or update date and time;
a module synchronization step of downloading the contents of the module master to the folder when it is determined that there is a difference in the module consistency check step;
containing,
A synchronization control method comprising:
前記制御部に実行させるための、
所定のマスタを参照して、過去に適用したことがあるパッチバージョンを識別するための情報であって前記パッチバージョンの作成時または提供時および適用の対象となった業務システムから構成される適用済パッチバージョン識別情報のうち、適用元業務システムについての前記適用済パッチバージョン識別情報の適用が漏れている適用先業務システムの存在の有無をチェックし、存在する場合には、当該適用が漏れている適用先業務システムを、前記適用元業務システムについての前記適用済パッチバージョン識別情報の適用対象として特定するDBオブジェクト整合性チェックステップと、
前記DBオブジェクト整合性チェックステップで特定した適用先業務システムに対して、前記適用元業務システムについての前記適用済パッチバージョン識別情報を適用するDBオブジェクト同期ステップと、
モジュールマスタとフォルダを比較して、ファイルバージョンまたは更新日時の差異があるかないかをチェックするモジュール整合性チェックステップと、
前記モジュール整合性チェックステップで前記差異があるとチェックした場合、前記モジュールマスタの内容を前記フォルダにダウンロードするモジュール同期ステップと、
を含むこと、
を特徴とする同期制御プログラム。 A synchronization control program to be executed by an information processing device having a control unit,
To cause the control unit to execute
a DB object consistency check step of checking, with reference to a predetermined master, whether or not there exists a target business system to which the applied patch version identification information for a source business system has not been applied, among applied patch version identification information for identifying patch versions that have been applied in the past, the applied patch version identification information being composed of information for identifying the business systems to which the patch version was created or provided and was applied, and, if there exists such a target business system, identifying the target business system to which the applied patch version identification information for the source business system has not been applied as a target to which the applied patch version identification information for the source business system should be applied;
a DB object synchronization step of applying the applied patch version identification information of the source business system to the destination business system identified in the DB object consistency check step;
A module consistency check step for comparing the module master with the folder to check whether there is a difference in file version or update date and time;
a module synchronization step of downloading the contents of the module master to the folder when it is determined that there is a difference in the module consistency check step;
containing,
A synchronous control program comprising:
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2021029762 | 2021-02-26 | ||
JP2021029762 | 2021-02-26 |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2022132046A JP2022132046A (en) | 2022-09-07 |
JP7579229B2 true JP7579229B2 (en) | 2024-11-07 |
Family
ID=83153252
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2021167378A Active JP7579229B2 (en) | 2021-02-26 | 2021-10-12 | Synchronous control device, synchronous control method, and synchronous control program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP7579229B2 (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000339211A (en) | 1999-05-25 | 2000-12-08 | Casio Comput Co Ltd | File processing device, file processing system, and storage medium |
JP2001195288A (en) | 2000-01-13 | 2001-07-19 | Obic Business Consultants Ltd | Trunk task package and method for selling the same |
JP2005174130A (en) | 2003-12-12 | 2005-06-30 | Canon Inc | Information processing method, information processor and imaging device |
JP2016155223A (en) | 2011-07-20 | 2016-09-01 | 本田技研工業株式会社 | Machine tool |
-
2021
- 2021-10-12 JP JP2021167378A patent/JP7579229B2/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000339211A (en) | 1999-05-25 | 2000-12-08 | Casio Comput Co Ltd | File processing device, file processing system, and storage medium |
JP2001195288A (en) | 2000-01-13 | 2001-07-19 | Obic Business Consultants Ltd | Trunk task package and method for selling the same |
JP2005174130A (en) | 2003-12-12 | 2005-06-30 | Canon Inc | Information processing method, information processor and imaging device |
JP2016155223A (en) | 2011-07-20 | 2016-09-01 | 本田技研工業株式会社 | Machine tool |
Also Published As
Publication number | Publication date |
---|---|
JP2022132046A (en) | 2022-09-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11561956B2 (en) | Key pattern management in multi-tenancy database systems | |
CN109947773B (en) | Deploying changes to key patterns in a multi-tenant database system | |
EP3477501B1 (en) | System sharing types in multi-tenancy database systems | |
EP3477500B1 (en) | Deploying changes in a multi-tenancy database system | |
EP3477504B1 (en) | Data separation and write redirection in multi-tenancy database systems | |
US10740315B2 (en) | Transitioning between system sharing types in multi-tenancy database systems | |
EP3477502B1 (en) | Patching content across shared and tenant containers in multi-tenancy database systems | |
US10482080B2 (en) | Exchanging shared containers and adapting tenants in multi-tenancy database systems | |
CN110221860B (en) | Configuration file processing method, device, terminal and medium | |
US9280554B2 (en) | Using confidence values for synchronizing file systems | |
US9395979B1 (en) | Pre-emptive development conflict resolution | |
US10346150B2 (en) | Computerized system and method for patching an application by separating executables and working data using different images | |
US20200104107A1 (en) | Systems and methods for deploying software products to environments | |
US20220012230A1 (en) | Management system, acquisition device, and management method | |
JP7579229B2 (en) | Synchronous control device, synchronous control method, and synchronous control program | |
Bach et al. | Upgrading to Oracle 12c |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20240119 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20241008 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20241009 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20241025 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 7579229 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |