JP5379618B2 - Computer system - Google Patents

Computer system Download PDF

Info

Publication number
JP5379618B2
JP5379618B2 JP2009210630A JP2009210630A JP5379618B2 JP 5379618 B2 JP5379618 B2 JP 5379618B2 JP 2009210630 A JP2009210630 A JP 2009210630A JP 2009210630 A JP2009210630 A JP 2009210630A JP 5379618 B2 JP5379618 B2 JP 5379618B2
Authority
JP
Japan
Prior art keywords
input
monitoring target
command
server
submission
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
Application number
JP2009210630A
Other languages
Japanese (ja)
Other versions
JP2011060105A (en
Inventor
充理 杉村
雄介 山崎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP2009210630A priority Critical patent/JP5379618B2/en
Publication of JP2011060105A publication Critical patent/JP2011060105A/en
Application granted granted Critical
Publication of JP5379618B2 publication Critical patent/JP5379618B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、ネットワーク上の監視対象装置にコマンドを投入するコンピュータシステムに関する。 The present invention is related to a computer system for the command to the monitored devices on the network.

オペレーションシステムは、コンピュータシステムを運用するためのプログラムであり、例えば、ネットワーク上においては、ネットワークサーバによりこのプログラムが運用されて、ネットワーク全体の装置や接続、アプリケーションなどを監視し、管理する。このような構成において、コンピュータシステムの構成状態を表示するためのHMI(Human Machine Interface)端末では、その監視対象となるコンピュータシステム、及び、コンピュータシステムを構成する各装置(以下、「監視対象装置」という)に対して、監視のためのデータやコマンドの入力が行われる。   An operation system is a program for operating a computer system. For example, on a network, this program is operated by a network server to monitor and manage devices, connections, applications, and the like of the entire network. In such a configuration, an HMI (Human Machine Interface) terminal for displaying the configuration state of the computer system is a computer system to be monitored and each device constituting the computer system (hereinafter, “monitored device”). Data and commands are input for monitoring.

オペレーションシステムにより監視される監視対象装置は、ユーザへ各種サービスを提供しており、オペレーションシステムは、監視対象装置へサービスに関するデータの登録や変更、参照等を行う。監視対象装置へデータ設定等を行う場合は、サーバから監視対象装置へHMI端末を用いてコマンド投入を行う。また、保守面等での効率化を図るため、複数台の監視対象装置に対して同時にデータ設定を行いたい場合は、サーバから各監視対象装置に対して同時に並列にコマンドを投入する(例えば、特許文献1参照)。   The monitoring target device monitored by the operation system provides various services to the user, and the operation system registers, changes, and references data related to the service to the monitoring target device. When data setting or the like is performed on the monitoring target device, a command is input from the server to the monitoring target device using the HMI terminal. In addition, in order to improve efficiency in terms of maintenance, etc., when it is desired to simultaneously set data for a plurality of monitoring target devices, a command is simultaneously input from the server to each monitoring target device (for example, Patent Document 1).

特開平6−75912号公報JP-A-6-75912

しかしながら、特許文献1に記載の技術では、投入するコマンドによっては複数の監視対象装置に対して同時に投入してはいけないコマンドが存在するにもかかわらず、これが考慮されていない。例えば、複数の監視対象装置が一つのデータベースを更新するコマンドを複数の監視対象装置に対して同時に投入すると、投入された監視対象装置は、それぞれ、一斉にデータベースの書き込み処理を開始するため、書き込み処理で競合が発生し、競合エラーや処理待ち合わせによる性能劣化により、サービスに影響を及ぼしてしまうおそれがある。このため、オペレータは監視対象装置に投入するコマンドについて、同時に投入してはいけないコマンドと同時に投入が可能なコマンドを予め分別しておく必要があり、コマンドをひとつずつ分別する作業に時間を要するという問題点があった。   However, in the technique described in Patent Document 1, there is a command that should not be simultaneously input to a plurality of monitoring target devices depending on the command to be input, but this is not taken into consideration. For example, when a plurality of monitoring target devices simultaneously input a command for updating one database to a plurality of monitoring target devices, the input monitoring target devices start a database writing process all at once. There is a possibility that contention will occur in processing, and service may be affected by performance error due to contention error or processing waiting. For this reason, it is necessary for the operator to classify commands that can be entered at the same time as commands that should not be entered at the same time with respect to commands to be entered into the monitoring target device, and it takes time to sort the commands one by one. There was a point.

本発明は、このような問題を解決するためになされたものであり、監視対象装置へ同時に投入することが禁止されているコマンドを同時に誤投入し、競合エラーや処理待ちによるサービス停止などを引き起こしてしまう事態を未然に防ぐことを実現するコンピュータシステムを提供することを目的とする。 The present invention has been made to solve such a problem. A command that is prohibited from being simultaneously input to a monitored device is erroneously input at the same time, causing a service error due to a conflict error or waiting for processing. An object of the present invention is to provide a computer system that can prevent the situation from occurring.

前記目的を達成するために、本発明は、サーバ(110)と、前記サーバに監視される複数の監視対象装置(103)と、前記監視対象装置それぞれが共有するデータベースとを備え、前記サーバから投入されたコマンドに応じて前記監視対象装置が動作し、前記監視対象装置により前記データベースが更新されるコンピュータシステムにおいて、前記サーバは、コマンドそれぞれの投入方式が記載された投入方式設定ファイル(162)と、前記コマンドを前記監視対象装置に投入する際の、各監視対象装置の優先投入順位が記載された投入先設定ファイル(172)と、前記監視対象装置と個別に対応して通信可能に接続される、前記監視対象装置と同数の装置通信個別部(132)とを備え、前記投入方式設定ファイルを参照して、前記コマンドが、前記データベースに書き込みを行う同時投入禁止コマンドであれば、前記同時投入禁止コマンドを、前記投入先設定ファイルに記載された優先投入順位で、投入先に対応する前記監視対象装置へ、前記装置通信個別部それぞれに順番に投入させることを特徴とする。
但し、括弧内の数字は、例示である。
In order to achieve the object, the present invention comprises a server (110) , a plurality of monitoring target devices (103) monitored by the server , and a database shared by each of the monitoring target devices. In the computer system in which the monitoring target device operates in accordance with the input command and the database is updated by the monitoring target device, the server inputs the input method setting file (162) in which the input method of each command is described. And a destination setting file (172) in which the priority order of each monitoring target device when the command is input to the monitoring target device is connected to the monitoring target device so that they can communicate with each other individually. And the same number of device communication individual units (132) as the number of the monitoring target devices. If the command is a simultaneous submission prohibition command for writing to the database, the simultaneous submission prohibition command is sent to the monitoring target device corresponding to the submission destination in the priority submission order described in the submission destination setting file. It is characterized in that each device communication individual unit is inserted in turn .
However, the numbers in parentheses are examples.

本発明によれば、監視対象装置へ同時に投入することが禁止されているコマンドを同時に誤投入し、競合エラーや処理待ちによるサービス停止などを引き起こしてしまう事態を未然に防ぐことを実現するコンピュータシステムを提供することが可能になる。 According to the present invention, a computer system for implementing obviate a situation in which it simultaneously put into the monitoring target device is erroneously charged simultaneously commands that are prohibited, thereby causing the like outages by conflict errors and pending It becomes possible to provide.

本発明の実施形態の一例を示すコンピュータシステムの構成図である。It is a block diagram of a computer system showing an example of an embodiment of the present invention. スクリプトファイルの構成を示す図である。It is a figure which shows the structure of a script file. 分割スクリプトファイルの構成を示す図である。It is a figure which shows the structure of a division | segmentation script file. 投入方式設定ファイルの構成を示す図である。It is a figure which shows the structure of an injection | throwing-in method setting file. 投入先設定ファイルの構成を示す図である。It is a figure which shows the structure of an input destination setting file. HMI端末の動作を示すフローチャートである。It is a flowchart which shows operation | movement of a HMI terminal. サーバにおける端末通信部の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the terminal communication part in a server. サーバにおける装置通信処理部の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the apparatus communication process part in a server. サーバにおける装置通信個別部の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the apparatus communication separate part in a server. 監視対象装置に投入するコマンドの例を示す図である。It is a figure which shows the example of the command thrown into a monitoring object apparatus.

本発明に係るコンピュータシステムについて、図1乃至図10を参照して、実施形態を説明する。なお、実施形態を説明するにあたり、同様な構成又は機能を示す部位については、同一の符号を付し、その説明の重複を省略することもある。 An embodiment of a computer system according to the present invention will be described with reference to FIGS. 1 to 10. Note that, in describing the embodiment, parts having similar configurations or functions are denoted by the same reference numerals, and repeated description thereof may be omitted.

図1は、本発明の実施形態のコンピュータシステム100の構成図である。図1に示すように、コンピュータシステム100は、HMI端末101、サーバ110及び監視対象装置103を備える。
HMI端末101は、スクリプトファイル(コマンドファイル)142を作成してサーバ110へ転送するスクリプト転送部111、スクリプトファイル142の実行をサーバ110へ要求するスクリプト実行部121、及び、サーバ110との間で通信を行うネットワーク接続部131を備える。
FIG. 1 is a configuration diagram of a computer system 100 according to the embodiment of this invention. As illustrated in FIG. 1, the computer system 100 includes an HMI terminal 101, a server 110, and a monitoring target device 103.
The HMI terminal 101 creates a script file (command file) 142 and transfers it to the server 110, a script execution unit 121 that requests the server 110 to execute the script file 142, and the server 110. A network connection unit 131 that performs communication is provided.

ここで、スクリプトファイル142は、例えば、Java(登録商標)Scriptの構文で作成され、サーバ110から監視対象装置103に投入されて実行されるコマンド(以下、「装置コマンド」という)104(図2参照)が1行ずつ順番に記載されたファイルである。   Here, for example, the script file 142 is created in the syntax of Java (registered trademark) Script, and is executed from the server 110 to the monitored device 103 (hereinafter referred to as “device command”) 104 (FIG. 2). Is a file in which each line is described in order.

サーバ110は、制御部210と記憶部220とを備える。さらに、制御部210は、端末通信処理部112、装置通信処理部122及び装置通信個別部132を備え、記憶部220は、スクリプトファイル記憶部141、分割スクリプトファイル記憶部151、投入方式設定ファイル記憶部161及び投入先設定ファイル記憶部171を備える。オペレーションシステム102は、ネットワークサーバ等のサーバ110により運用され、具体的には、前記制御部210が有する機能を実現するプログラムである。サーバ110は、不図示のCPU(Central Processing Unit)、前記プログラムを記憶しておく記憶域となるRAM(Random Access Memory)、ROM(Read Only Memory)、HDD(Hard Disk Drive)等の記憶装置、I/O(Input/Output)装置等から構成される。前記各部の機能は、記憶部220に格納されたプログラムがCPUに実行されることにより、実現される。   The server 110 includes a control unit 210 and a storage unit 220. Further, the control unit 210 includes a terminal communication processing unit 112, a device communication processing unit 122, and a device communication individual unit 132, and the storage unit 220 includes a script file storage unit 141, a divided script file storage unit 151, and an input method setting file storage. Unit 161 and the input destination setting file storage unit 171. The operation system 102 is operated by a server 110 such as a network server, and is specifically a program that realizes the functions of the control unit 210. The server 110 includes a CPU (Central Processing Unit) (not shown), a storage device such as a RAM (Random Access Memory), a ROM (Read Only Memory), and a HDD (Hard Disk Drive) that serve as a storage area for storing the program, It consists of I / O (Input / Output) devices. The function of each unit is realized by executing a program stored in the storage unit 220 on the CPU.

端末通信処理部112は、それぞれ、HMI端末101内のネットワーク接続部131、装置通信処理部122と通信を行う。また、端末通信処理部112は、HMI端末101から送信されたスクリプトファイル142を受信してスクリプトファイル記憶部141に格納したり、スクリプトファイル142によるプログラムの実行の指示をHMI端末101から受信して装置通信処理部122に通知する。   The terminal communication processing unit 112 communicates with the network connection unit 131 and the device communication processing unit 122 in the HMI terminal 101, respectively. Further, the terminal communication processing unit 112 receives the script file 142 transmitted from the HMI terminal 101 and stores it in the script file storage unit 141, or receives an instruction to execute a program by the script file 142 from the HMI terminal 101. The device communication processing unit 122 is notified.

装置通信処理部122は、それぞれ、端末通信処理部112、装置通信個別部132と通信を行う。装置通信処理部122は、HMI端末101からスクリプトファイル142の実行の指示を受信したときは、スクリプトファイル記憶部141に格納されたスクリプトファイル142を読み込み、監視対象装置103ごとにスクリプトファイル142を分割して分割スクリプトファイル152(図3)を作成し、分割スクリプトファイル記憶部151に格納する。スクリプトファイル142(図2)を分割することにより、個別に監視対象装置103ごとに装置コマンド104(図2、3)を投入することが可能になる。   The device communication processing unit 122 communicates with the terminal communication processing unit 112 and the device communication individual unit 132, respectively. When receiving an instruction to execute the script file 142 from the HMI terminal 101, the device communication processing unit 122 reads the script file 142 stored in the script file storage unit 141, and divides the script file 142 for each monitoring target device 103. Then, a divided script file 152 (FIG. 3) is created and stored in the divided script file storage unit 151. By dividing the script file 142 (FIG. 2), the device command 104 (FIGS. 2 and 3) can be input for each monitoring target device 103 individually.

そして、装置通信処理部122は、監視対象装置103に対して装置コマンド104を投入する投入方式(直列投入、並列投入)を決定するときに、投入方式設定ファイル記憶部161に格納されている投入方式設定ファイル162(図4)、及び、投入先設定ファイル記憶部171に格納されている投入先設定ファイル172(図5)を読み込む。さらに、投入方式を決定した後、投入方式を装置通信個別部132に通知する。   When the device communication processing unit 122 determines the input method (serial input, parallel input) for inputting the device command 104 to the monitoring target device 103, the input stored in the input method setting file storage unit 161. The method setting file 162 (FIG. 4) and the input destination setting file 172 (FIG. 5) stored in the input destination setting file storage unit 171 are read. Further, after determining the input method, the device communication individual unit 132 is notified of the input method.

ここで直列投入とは、複数の監視対象装置103に対し、優先順位に従い、サーバ110からそれぞれの監視対象装置103へ装置コマンド104を投入することをいう。並列投入とは、サーバ110から複数の監視対象装置103へ同時に装置コマンド104を投入することをいう。   Here, serial input refers to inputting the device command 104 from the server 110 to each of the monitoring target devices 103 in accordance with the priority order with respect to the plurality of monitoring target devices 103. Parallel input means that the device command 104 is simultaneously input from the server 110 to the plurality of monitoring target devices 103.

装置通信個別部132は、それぞれ、装置通信処理部122、監視対象装置103と通信を行い、前記の分割スクリプトファイル152を読み込み、装置通信処理部122から要求された投入方式に応じて装置コマンド104を監視対象装置103に投入する。   The device communication individual unit 132 communicates with the device communication processing unit 122 and the monitoring target device 103, reads the divided script file 152, and the device command 104 according to the input method requested by the device communication processing unit 122. Is input to the monitoring target device 103.

図2は、スクリプトファイル142の構成を示す図である。図2に示すように、スクリプトファイル142は、装置コマンド104の投入先である監視装置(以下、「投入先監視対象装置」ともいう)103、装置コマンド104の各データから構成される。スクリプトファイル142には、オペレーションシステム102からすべての監視対象装置103へ投入される投入可能な装置コマンド104が記載されている。一つの監視対象装置103に投入する装置コマンド104は、複数個の指定が可能となっている。   FIG. 2 is a diagram showing the configuration of the script file 142. As illustrated in FIG. 2, the script file 142 includes data of a monitoring device (hereinafter, also referred to as “input destination monitoring target device”) 103 that is the input destination of the device command 104 and the device command 104. The script file 142 describes device commands 104 that can be input from the operation system 102 to all the monitoring target devices 103. A plurality of device commands 104 to be input to one monitoring target device 103 can be specified.

図3は、分割スクリプトファイル152の構成を示す図である。図3に示すように、分割スクリプトファイル152は、投入先監視装置103、装置コマンド104の各データから構成される。分割スクリプトファイル152は、投入先監視対象装置103ごとに作成され、投入される装置コマンド104が記載されている。このように、スクリプトファイル142を分割することにより、個別に監視対象装置103に対して装置コマンド104の投入が可能となる。   FIG. 3 is a diagram showing the configuration of the divided script file 152. As shown in FIG. 3, the divided script file 152 includes data of the submission destination monitoring device 103 and the device command 104. The divided script file 152 is created for each submission destination monitoring target device 103 and describes the device command 104 to be entered. As described above, by dividing the script file 142, the device command 104 can be individually input to the monitoring target device 103.

図4は、投入方式設定ファイル162の構成を示す図である。図4に示すように、投入方式設定ファイル162は、投入識別子114、装置コマンド104の各データから構成される。投入方式設定ファイル162は、コマンド投入方式(直列・並列)の決定、即ち、このファイルに記載されている装置コマンド104が直列方式か、又は並列方式かを決定する際に用いるものである。本実施形態においては、投入方式設定ファイル162には、同時投入禁止とする装置コマンド104を記載する例、即ち、直列方式で投入する装置コマンド104を記載する例を示している。したがって、スクリプトファイル142に記載されている装置コマンド104が投入方式設定ファイル162に記載されている装置コマンド104と合致した場合、コマンド投入方式は直列方式が選択される。また、スクリプトファイル142が新規に作成された場合において、直列投入する装置コマンド104が新規に記載されていた場合は、装置通信処理部122により、この装置コマンド104を反映した投入設定方式ファイル162が新規に作成される。   FIG. 4 is a diagram showing the configuration of the input method setting file 162. As shown in FIG. 4, the input method setting file 162 includes data of an input identifier 114 and a device command 104. The input method setting file 162 is used to determine a command input method (serial / parallel), that is, to determine whether the device command 104 described in this file is a serial method or a parallel method. In this embodiment, the input method setting file 162 shows an example in which the device command 104 for prohibiting simultaneous input is described, that is, an example in which the device command 104 to be input in the serial method is described. Therefore, when the device command 104 described in the script file 142 matches the device command 104 described in the input method setting file 162, the serial method is selected as the command input method. Further, when the script file 142 is newly created and the device command 104 to be serially entered is newly described, the device communication processing unit 122 creates an input setting method file 162 reflecting the device command 104. Newly created.

図5は、投入先設定ファイル172の構成を示す図である。図5に示すように、投入先設定ファイル172は、投入識別子114、投入先監視対象装置103から各データから構成される。投入先設定ファイル172は、装置コマンド104を直列に投入する際に、監視対象装置103への装置コマンド104の投入順序の決定に用いる。図5に示すように、装置コマンド104の直列投入時の投入順序毎に監視対象装置103が記載される。また、スクリプトファイル142が新規に作成された場合において、直列投入する装置コマンド104が新規に記載されていた場合は、装置通信処理部122により、この装置コマンド104を反映した投入先設定ファイル172が新規に作成される。   FIG. 5 is a diagram showing the configuration of the input destination setting file 172. As shown in FIG. 5, the input destination setting file 172 includes data from the input identifier 114 and the input destination monitoring target device 103. The input destination setting file 172 is used to determine the input order of the device commands 104 to the monitoring target device 103 when the device commands 104 are input in series. As shown in FIG. 5, the monitoring target device 103 is described for each input order when the device commands 104 are serially input. Further, when the script file 142 is newly created and the device command 104 to be serially entered is newly described, the device communication processing unit 122 creates the submission destination setting file 172 reflecting the device command 104. Newly created.

HMI端末101の動作を図6に示すフローチャートを用いて説明する(適宜図1参照)。まず、HMI端末101は、監視対象装置103に投入する装置コマンド104に基づいて、処理すべき処理内容がファイル転送かファイル実行かを判定する(ステップ601)。処理内容がファイル転送の場合は(ステップ601のYes)、自身が作成したスクリプトファイル142をサーバ110に転送する(ステップ602)。これは、HMI端末101において新たに監視対象装置103へ投入する装置コマンド104が追加された場合は、サーバ110におけるスクリプトファイル記憶部141に格納されているスクリプトファイル142を更新する必要がある。よって、HMI端末101において、この装置コマンド104を含むスクリプトファイル142を新規に作成し、サーバ110へ転送する必要がある。そして、スクリプトファイル記憶部141格納されているスクリプトファイル142に存在する既存の装置コマンド104を監視対象装置103に対して投入する場合(ステップ601のNo)は、スクリプトファイル142の実行をサーバ110に要求する(ステップ603)。   The operation of the HMI terminal 101 will be described using the flowchart shown in FIG. 6 (see FIG. 1 as appropriate). First, the HMI terminal 101 determines whether the processing content to be processed is file transfer or file execution based on the device command 104 input to the monitoring target device 103 (step 601). If the processing content is file transfer (Yes in step 601), the script file 142 created by itself is transferred to the server 110 (step 602). This is because when a device command 104 to be input to the monitoring target device 103 is newly added in the HMI terminal 101, the script file 142 stored in the script file storage unit 141 in the server 110 needs to be updated. Therefore, it is necessary to create a new script file 142 including the device command 104 in the HMI terminal 101 and transfer it to the server 110. When the existing device command 104 existing in the script file 142 stored in the script file storage unit 141 is input to the monitoring target device 103 (No in Step 601), the execution of the script file 142 is transmitted to the server 110. Request (step 603).

サーバ110における端末通信処理部112の動作を図7に示すフローチャートで説明する(適宜図1参照)。端末通信処理部112は、起動された後、HMI端末101からの処理要求に応じて、処理内容がスクリプトファイル142の転送か、スクリプトファイル142の実行かを判定する(ステップ701)。処理内容がHMI端末101からサーバ110へのスクリプトファイル142の転送の場合は(ステップ701のYes)、HMI端末101から転送されたスクリプトファイル142を受信してスクリプトファイル記憶部へ格納する(ステップ702)。処理内容がスクリプトファイル142の実行の場合(ステップ701のNo)は、装置通信処理部122へその旨を通知する(ステップ703)。   The operation of the terminal communication processing unit 112 in the server 110 will be described with reference to the flowchart shown in FIG. 7 (see FIG. 1 as appropriate). After being activated, the terminal communication processing unit 112 determines whether the processing content is transfer of the script file 142 or execution of the script file 142 in response to a processing request from the HMI terminal 101 (step 701). When the processing content is the transfer of the script file 142 from the HMI terminal 101 to the server 110 (Yes in Step 701), the script file 142 transferred from the HMI terminal 101 is received and stored in the script file storage unit (Step 702). ). When the processing content is the execution of the script file 142 (No in Step 701), the device communication processing unit 122 is notified of the fact (Step 703).

サーバ110における装置通信処理部122の動作を図8に示すフローチャートで説明する(適宜図1参照)。
装置通信処理部122は、HMI端末101よりスクリプトファイル142の実行という形で、監視対象装置103への装置コマンド104の投入の指示を受けたときは、スクリプトファイル142を分割して、投入先監視装置103の数の分だけ分割スクリプトファイル152を作成する(ステップ801)。これにより、投入先監視装置103毎に分割スクリプトファイル152が作成される。そして、装置コマンド104を投入する投入先監視装置103に対応する装置通信個別部132を起動する(ステップ802)。
The operation of the device communication processing unit 122 in the server 110 will be described with reference to the flowchart shown in FIG. 8 (see FIG. 1 as appropriate).
When receiving an instruction to input the device command 104 to the monitoring target device 103 in the form of execution of the script file 142 from the HMI terminal 101, the device communication processing unit 122 divides the script file 142 and monitors the input destination. The divided script files 152 are created for the number of devices 103 (step 801). As a result, a divided script file 152 is created for each input destination monitoring apparatus 103. Then, the device communication individual unit 132 corresponding to the input destination monitoring device 103 that inputs the device command 104 is activated (step 802).

次に、スクリプトファイル142に記載されている装置コマンド104と、投入方式設定ファイル162に記載されている装置コマンド104とを比較する(ステップ803)。スクリプトファイル142に記載されている装置コマンド104が投入方式設定ファイル162に存在する場合は(ステップ804のYes)、投入先設定ファイル162を読み込み、装置コマンド104投入時において、どの監視対象装置103から優先的にこの装置コマンド104を投入していくか投入順序を取得する(ステップ805)。スクリプトファイル142に記載されている装置コマンド104が投入方式設定ファイル162に存在しない場合は(ステップ804のNo)、起動した全ての装置通信個別部132に装置コマンド104投入を要求し、投入先監視対象装置103からこのコマンド104を受信した旨の受信結果を受信し(ステップ806)、終了する。   Next, the device command 104 described in the script file 142 is compared with the device command 104 described in the input method setting file 162 (step 803). If the device command 104 described in the script file 142 exists in the input method setting file 162 (Yes in Step 804), the input destination setting file 162 is read, and when the device command 104 is input, from which monitored device 103 The apparatus command 104 is preferentially input or the input order is acquired (step 805). If the device command 104 described in the script file 142 does not exist in the input method setting file 162 (No in step 804), the device command 104 is requested to be input to all the activated device communication individual units 132, and the input destination is monitored. A reception result indicating that the command 104 has been received from the target apparatus 103 is received (step 806), and the process ends.

そして、この装置コマンド104を投入する投入先監視装置103が存在する場合は(ステップ807のYes)、装置通信個別部132に対して、対応する投入先監視対象装置103への装置コマンド104の投入を要求する。そして、装置コマンド104が投入された投入先監視対象装置103から、この装置コマンド104を受信した旨の受信結果を受信する(ステップ808)。この装置コマンド104を投入する投入先監視装置103が存在しない場合は(ステップ807のNo)終了する。   If there is a submission destination monitoring device 103 that inputs the device command 104 (Yes in step 807), the device command 104 is input to the corresponding input destination monitoring target device 103 to the device communication individual unit 132. Request. Then, a reception result indicating that the device command 104 has been received is received from the input destination monitoring target device 103 to which the device command 104 has been input (step 808). If there is no input destination monitoring apparatus 103 to which the apparatus command 104 is input (No in step 807), the process ends.

本実施の形態では、投入方式設定ファイル162に記載されている装置コマンド104は、直列投入される装置コマンド104であるが、並列投入される装置コマンド104が記載されてもよい。この場合は、スクリプトファイル142と投入方式設定ファイル162との両方に記載されている装置コマンド104が並列投入される装置コマンド104として、監視対象装置103に対して同時に投入される。   In this embodiment, the device command 104 described in the input method setting file 162 is the device command 104 input in series, but the device command 104 input in parallel may be described. In this case, the device commands 104 described in both the script file 142 and the input method setting file 162 are simultaneously input to the monitoring target device 103 as the device command 104 to be input in parallel.

サーバ110における装置通信個別部132の動作を図9に示すフローチャートで説明する(適宜図1参照)。装置通信個別部132は起動された後、投入先監視対象装置103に応じた分割スクリプトファイル152を読み込む(ステップ901)。次に、監視対象装置103へ装置コマンド104を投入する(ステップ902)。そして、監視対象装置103から装置コマンド104を実行した旨の実行結果を受信する(ステップ903)。   The operation of the device communication individual unit 132 in the server 110 will be described with reference to the flowchart shown in FIG. 9 (see FIG. 1 as appropriate). After being activated, the device communication individual unit 132 reads the divided script file 152 corresponding to the submission destination monitoring target device 103 (step 901). Next, the device command 104 is input to the monitoring target device 103 (step 902). Then, an execution result indicating that the device command 104 has been executed is received from the monitoring target device 103 (step 903).

次に、具体的に監視対象装置103に投入する装置コマンド104の例を図10を用いて説明する。図10に示すように、並列投入するコマンド名を「cmd1」、直列投入するコマンド名を「cmd2」、「cmd3」とする。   Next, a specific example of the device command 104 to be input to the monitoring target device 103 will be described with reference to FIG. As shown in FIG. 10, the command name to be input in parallel is “cmd1”, and the command names to be input in series are “cmd2” and “cmd3”.

「cmd1」は、監視対象装置103上で起動しているサービスを制御するコマンドであるため、監視対象装置103の間で共有しているデータベースや他の監視対象装置103との連携はしなくてもよい。このため、「cmd1」は、監視対象装置103に対してコマンドの並列投入が可能になる。   Since “cmd1” is a command for controlling the service running on the monitoring target device 103, the database shared between the monitoring target devices 103 and the other monitoring target devices 103 are not linked. Also good. For this reason, “cmd1” can input commands to the monitoring target device 103 in parallel.

「cmd2」は、他の監視対象装置103と共有するデータベースの内容を更新するコマンドである。このコマンドが投入されると、データベースへの書き込み処理で他の監視対象装置103との間で競合が発生するため、並列投入は不可能になる。よって、直列投入の対象となる。   “Cmd2” is a command for updating the contents of the database shared with other monitoring target devices 103. When this command is input, a conflict occurs with another monitoring target device 103 in the database writing process, so that parallel input becomes impossible. Therefore, it becomes an object of serial insertion.

「cmd3」は、自身以外の他の監視対象装置103と情報の同期をとるコマンドである。このコマンドを投入した場合も、データベースへの書き込み処理が発生し、他の監視対象装置103との間で競合が発生するため、並列投入は不可能になる。よって、直列投入の対象となる。   “Cmd3” is a command for synchronizing information with other monitoring target devices 103 other than itself. Even when this command is input, writing to the database occurs and contention with other monitoring target devices 103 occurs, so parallel input becomes impossible. Therefore, it becomes an object of serial insertion.

実際に前記コマンドが監視対象装置103に投入される場合は、コマンドにパラメータが付与され、コマンドシンタックスとして投入される。「cmd1」のコマンドシンタックスは、「cmd1 param1」として投入され、別に用意されたパラメータテーブルのparam1に該当するパラメータが選択される。「cmd2」、「cmd3」に関しても同様である。   When the command is actually input to the monitoring target device 103, a parameter is given to the command and input as a command syntax. The command syntax of “cmd1” is input as “cmd1 param1”, and a parameter corresponding to param1 of the parameter table prepared separately is selected. The same applies to “cmd2” and “cmd3”.

本実施の形態では、サーバ110のスクリプトファイル記憶部141に格納したスクリプトファイル142に「cmd1」、「cmd2」及び「cmd3」のコマンドのうちいずれかのコマンドが存在しない場合は、HMI端末101において、このコマンドを含むスクリプトファイル142が新規に作成され、サーバ110に転送される。そして、直列投入の対象となる「cmd2」、「cmd3」に関するスクリプトファイル142が作成されたときは、投入方式設定ファイル162及び投入先設定ファイル172が作成される。   In the present embodiment, if any of the commands “cmd1,” “cmd2,” and “cmd3” does not exist in the script file 142 stored in the script file storage unit 141 of the server 110, the HMI terminal 101 A new script file 142 including this command is created and transferred to the server 110. Then, when the script file 142 related to “cmd2” and “cmd3” to be serially input is created, a submission method setting file 162 and a submission destination setting file 172 are created.

HMI端末101により「cmd2」又は「cmd3」を監視対象装置103へ投入する指示、即ち、スクリプトファイル142の実行の指示が出たときは、装置通信処理部122は、スクリプトファイル142における「cmd2」又は「cmd3」が投入方式設定ファイル162に存在することを確認する。そして、投入先設定ファイル162に記載されている監視対象装置103の優先順位に従いコマンドを投入するため、投入する監視対象装置103に対応する装置通信個別部132を起動し、投入を指示する。このようにして、監視対象装置103にコマンドが投入された後、監視対象装置103は投入されたコマンドが実行された旨をサーバ110へ通知する。   When the HMI terminal 101 gives an instruction to input “cmd2” or “cmd3” to the monitoring target device 103, that is, an instruction to execute the script file 142, the device communication processing unit 122 reads “cmd2” in the script file 142. Alternatively, it is confirmed that “cmd3” exists in the input method setting file 162. Then, in order to input a command in accordance with the priority order of the monitoring target device 103 described in the input destination setting file 162, the device communication individual unit 132 corresponding to the monitoring target device 103 to be input is activated and input is instructed. Thus, after a command is input to the monitoring target device 103, the monitoring target device 103 notifies the server 110 that the input command has been executed.

以上のように、監視対象装置103に対して同時投入が禁止されている装置コマンド104を、監視対象装置103ごとに設定が可能となる。これにより、コマンド投入時にオペレーションシステム102により装置コマンド104のチェックが実施され、同時投入が禁止されている装置コマンド104が含まれていた場合は、直列にコマンドを順次投入するため、監視対象装置103の保守者は、同時投入が禁止されているコマンドとそれ以外のコマンドを予め分別する必要がなくなる。
さらに、同時投入が禁止されている装置コマンド104を誤投入することにより、競合エラーや処理待ちによるサービス停止などを引き起こしてしまう事態を未然に防ぐことができる。
As described above, the device command 104 that is prohibited from being simultaneously input to the monitoring target device 103 can be set for each monitoring target device 103. As a result, the device command 104 is checked by the operation system 102 at the time of command input, and if the device command 104 for which simultaneous input is prohibited is included, the command is sequentially input in series, so the monitored device 103 The maintainer does not need to separate commands that are prohibited from being simultaneously entered from other commands.
Further, by erroneously inputting the device command 104 that is prohibited from being simultaneously input, it is possible to prevent a situation in which a contention error or a service stop due to waiting for processing is caused.

100 コンピュータシステム
101 HMI端末(端末)
102 オペレーションシステム
103 監視対象装置(投入先監視対象装置)
104 装置コマンド
110 サーバ
111 スクリプト転送部
112 端末通信処理部
114 投入識別子
121 スクリプト実行部
122 装置通信処理部
131 ネットワーク接続部
132 装置通信個別部
141 スクリプトファイル記憶部
142 スクリプトファイル(コマンドファイル)
151 分割スクリプトファイル記憶部
152 分割スクリプトファイル
161 投入方式設定ファイル記憶部
162 投入方式設定ファイル
171 投入先設定ファイル記憶部
172 投入先設定ファイル
210 制御部
220 記憶部
100 Computer system 101 HMI terminal (terminal)
102 Operation system 103 Monitoring target device (Destination monitoring target device)
104 device command 110 server 111 script transfer unit 112 terminal communication processing unit 114 input identifier 121 script execution unit 122 device communication processing unit 131 network connection unit 132 device communication individual unit 141 script file storage unit 142 script file (command file)
151 Split Script File Storage Unit 152 Split Script File 161 Input Method Setting File Storage Unit 162 Input Method Setting File 171 Input Destination Setting File Storage Unit 172 Input Destination Setting File 210 Control Unit 220 Storage Unit

Claims (2)

サーバと、前記サーバに監視される複数の監視対象装置と、前記監視対象装置それぞれが共有するデータベースとを備え、前記サーバから投入されたコマンドに応じて前記監視対象装置が動作し、前記監視対象装置により前記データベースが更新されるコンピュータシステムにおいて、
前記サーバは、
コマンドそれぞれの投入方式が記載された投入方式設定ファイルと、
前記コマンドを前記監視対象装置に投入する際の、各監視対象装置の優先投入順位が記載された投入先設定ファイルと、
前記監視対象装置と個別に対応して通信可能に接続される、前記監視対象装置と同数の装置通信個別部とを備え、
前記投入方式設定ファイルを参照して、前記コマンドが、前記データベースに書き込みを行う同時投入禁止コマンドであれば、前記同時投入禁止コマンドを、前記投入先設定ファイルに記載された優先投入順位で、投入先に対応する前記監視対象装置へ、前記装置通信個別部それぞれに順番に投入させる
ことを特徴とするコンピュータシステム。
A server, a plurality of monitoring target devices monitored by the server, and a database shared by each of the monitoring target devices, wherein the monitoring target device operates in response to a command input from the server, and the monitoring target In a computer system in which the database is updated by a device,
The server
A submission method configuration file that describes the submission method for each command,
A submission destination setting file in which the priority order of each monitoring target device when the command is input to the monitoring target device is described;
The same number of device communication individual units as the monitoring target devices, which are connected so as to be able to communicate with the monitoring target devices individually,
If the command is a simultaneous submission prohibition command for writing to the database with reference to the submission method setting file, the simultaneous submission prohibition command is submitted in the priority submission order described in the submission destination configuration file. Each of the device communication individual units is sequentially input to the monitoring target device corresponding to the previous one
A computer system characterized by that.
前記投入方式は、前記サーバから前記監視対象装置に対して、
同時に投入する並列投入方式と、
前記投入先設定ファイルに記載された優先順位に従って投入する直列投入方式との双方を含む
ことを特徴とする請求項1に記載のコンピュータシステム
The input method is from the server to the monitoring target device.
Parallel input method to input at the same time,
2. The computer system according to claim 1, including both a serial input method that inputs according to a priority order described in the input destination setting file.
JP2009210630A 2009-09-11 2009-09-11 Computer system Active JP5379618B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009210630A JP5379618B2 (en) 2009-09-11 2009-09-11 Computer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009210630A JP5379618B2 (en) 2009-09-11 2009-09-11 Computer system

Publications (2)

Publication Number Publication Date
JP2011060105A JP2011060105A (en) 2011-03-24
JP5379618B2 true JP5379618B2 (en) 2013-12-25

Family

ID=43947644

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009210630A Active JP5379618B2 (en) 2009-09-11 2009-09-11 Computer system

Country Status (1)

Country Link
JP (1) JP5379618B2 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04326844A (en) * 1991-04-26 1992-11-16 Fujitsu Ltd Parallel command travel control system
JPH0595356A (en) * 1991-10-01 1993-04-16 Nec Corp Command contention prevention system by network management system
JP2900708B2 (en) * 1992-06-29 1999-06-02 日本電気株式会社 Computer network distributed processing method
JP2008210089A (en) * 2007-02-26 2008-09-11 Mitsubishi Electric Corp Command relay unit and command relay program

Also Published As

Publication number Publication date
JP2011060105A (en) 2011-03-24

Similar Documents

Publication Publication Date Title
US10169413B2 (en) Scalable acceleration of database query operations
US20190384515A1 (en) Method for configuring resources, electronic device and computer program product
WO2011027484A1 (en) Data processing control method and calculator system
US20130145203A1 (en) Dynamically configureable placement engine
JP5093259B2 (en) Communication path strengthening method between BIOS and BMC, apparatus and program thereof
US10013288B2 (en) Data staging management system
JPWO2017179537A1 (en) SOFTWARE UPDATE CONTROL DEVICE, SOFTWARE UPDATE CONTROL SYSTEM, SOFTWARE UPDATE CONTROL METHOD, AND RECORDING MEDIUM CONTAINING SOFTWARE UPDATE CONTROL PROGRAM
WO2016092856A1 (en) Information processing device, information processing system, task processing method, and storage medium for storing program
JP6069503B2 (en) Parallel analysis platform for serial data and parallel distributed processing method
US10142415B2 (en) Data migration
CN107528871B (en) Data analysis in storage systems
US9501485B2 (en) Methods for facilitating batch analytics on archived data and devices thereof
JP5379618B2 (en) Computer system
JP5884566B2 (en) Batch processing system, progress confirmation device, progress confirmation method, and program
JP2016051395A (en) Image forming apparatus and resource management method
JP5056346B2 (en) Information processing apparatus, information processing system, virtual server movement processing control method, and program
WO2013065151A1 (en) Computer system, data transmission method, and data transmission program
WO2018173300A1 (en) I/o control method and i/o control system
JP2006268588A (en) Client server system and data processing method for it
JP2016062535A (en) Information processing system, control method thereof, and control program
JP6232127B2 (en) Shared resource update device and shared resource update method
KR102268796B1 (en) Apparatus for processing PLC service based on hypervisor
JP7021742B2 (en) Information processing equipment, information processing method, program
JP2007317038A (en) Automated general purpose control system, control apparatus, automated general purpose control method, automated general purpose control apparatus, program and recording medium
JP5696891B2 (en) Job scheduling method by IO configuration

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120402

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20120813

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130311

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130423

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130621

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: 20130910

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130927

R150 Certificate of patent or registration of utility model

Ref document number: 5379618

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150