JP5424965B2 - Monitoring control system and monitoring control program - Google Patents

Monitoring control system and monitoring control program Download PDF

Info

Publication number
JP5424965B2
JP5424965B2 JP2010094678A JP2010094678A JP5424965B2 JP 5424965 B2 JP5424965 B2 JP 5424965B2 JP 2010094678 A JP2010094678 A JP 2010094678A JP 2010094678 A JP2010094678 A JP 2010094678A JP 5424965 B2 JP5424965 B2 JP 5424965B2
Authority
JP
Japan
Prior art keywords
data processing
data
category
request
response
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
JP2010094678A
Other languages
Japanese (ja)
Other versions
JP2011227595A (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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2010094678A priority Critical patent/JP5424965B2/en
Publication of JP2011227595A publication Critical patent/JP2011227595A/en
Application granted granted Critical
Publication of JP5424965B2 publication Critical patent/JP5424965B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、複数のデバイスを監視制御する監視制御システム及び監視制御プラグラムに関するものである。   The present invention relates to a monitoring control system and a monitoring control program for monitoring and controlling a plurality of devices.

近年、プラントの機器、河川の流量計、ビルの空調や照明等に関する複数のデバイスを監視制御する監視制御システムに関して様々な技術が提案さている。このような監視制御システムにおいては、様々な要求仕様に柔軟に対応すべく、汎用的な監視制御プログラムと、複数のデバイスの入出力点を特定する情報及び当該入出力点でのデータの加工、画面構成等の設計を行うためのツールとが整備されている。監視制御システムは、起動の際に、監視制御プログラムに基づいて、ツールにより設計された設計情報を読込むことにより所望の監視制御を行う。   2. Description of the Related Art In recent years, various technologies have been proposed for a monitoring control system that monitors and controls a plurality of devices related to plant equipment, river flow meters, building air conditioning, lighting, and the like. In such a supervisory control system, in order to respond flexibly to various required specifications, a general supervisory control program, information specifying input / output points of a plurality of devices, and data processing at the input / output points, Tools for designing the screen configuration etc. are in place. The supervisory control system performs desired supervisory control by reading design information designed by a tool based on a supervisory control program when activated.

このような監視制御システムに対する要求仕様は年々複雑化しており、過去の監視制御プログラムでは対応できない機能を追加(拡張)することが要求されている。特許文献1及び特許文献2に記載には、監視制御プログラムに新たな機能を追加する技術が記載されている。   The required specifications for such a monitoring control system are becoming more complex year by year, and it is required to add (extend) functions that cannot be supported by past monitoring control programs. Patent Documents 1 and 2 describe a technique for adding a new function to the monitoring control program.

特許文献1では、プログラムコードを入力、修正、または再コンパイルせずに、プログラムを組立てるコンピュータシステムに関する技術が記載されている。再利用プログラムにおいては、例えば、f(arg1,…,argN)のように、同一の配列要素(引数)を有する関数が用いられ、再利用プログラム同士間において、配列要素ごとにデータがやり取りされる。この配列要素は、再利用プログラムの開発の際に使用者により事前に取り決められ、定義ファイル等に記憶される。そして、コンパイルしなくても、再利用プログラムを管理する実装部が、新たに追加された再利用プログラムに関する定義ファイル等を読込むだけで、新たなシステムやプログラムを作成することが可能となっている。   Patent Document 1 describes a technique related to a computer system that assembles a program without inputting, correcting, or recompiling the program code. In the reuse program, for example, a function having the same array element (argument) is used, such as f (arg1,..., ArgN), and data is exchanged for each array element between the reuse programs. . This array element is decided in advance by the user when developing the reuse program and stored in a definition file or the like. Even without compiling, the implementation unit that manages the reuse program can create a new system or program simply by reading the definition file for the newly added reuse program. Yes.

特許文献2では、プラント監視制御処理向けのモジュールの構成や動作がプログラム上において変更される監視制御システムに関する技術が記載されている。この技術では、監視制御対象となるプラントに応じて、使用する複数の入力プログラム、演算プログラム、表示プログラム及び出力プログラム等の再利用部品が選択されることにより、モジュールが構成される。その際、各再利用部品のパラメータを変えることにより、モジュールの動作を変えることが可能となっている。例えば、要求仕様に基づいて上限下限超過を示すエラーを通知するモジュールにおいて、画面上に出力するのか、それともメール等によって通知するのかを、出力プログラムの定義ファイルを変更することにより切換えることが可能となっている。   Patent Document 2 describes a technique related to a monitoring control system in which the configuration and operation of a module for plant monitoring control processing are changed on a program. In this technique, a module is configured by selecting reusable parts such as a plurality of input programs, arithmetic programs, display programs, and output programs to be used in accordance with a plant to be monitored and controlled. At that time, it is possible to change the operation of the module by changing the parameter of each reused part. For example, in a module that notifies an error indicating that the upper and lower limits have been exceeded based on the required specifications, it is possible to switch between outputting on the screen or notifying by e-mail etc. by changing the definition file of the output program It has become.

特許第3592944号公報Japanese Patent No. 3592944 特開2007−233957号公報JP 2007-233957 A

さて、特許文献1の技術においては、再利用プログラム同士間において引数が予め定められなければならないことから、使用者は、新たな機能を追加する際に、新たな機能の引数が受け渡されるように対象の関数に引数を追加するプログラミング、及び、その変更を全再利用プログラムに対して反映させるプログラミングを行う必要がある。また、再利用プログラム同士間を結合する設計においては、使用者は、各引数においてはどのようなデータが受け渡されるのか、あるいは、再利用プログラムはどのような引数を取り扱っているのかを意識しなければならない。   In the technique of Patent Document 1, since an argument must be determined in advance between the reusable programs, when a user adds a new function, the argument of the new function is passed. It is necessary to perform programming for adding an argument to the target function and programming for reflecting the change to the entire reuse program. Also, in a design that combines reusable programs, the user is aware of what data is passed in each argument, or what arguments the reusable program handles. There must be.

また、特許文献2の技術において新たな機能を追加する場合には、使用者は、データを管理している再利用部品を検索し、当該再利用部品同士間で受け渡しするデータ形式等を理解した上で、新たな機能の追加に伴い新たに受け渡されるデータ形式を確認しなければならない。そして、データ形式が仕様を満たしている場合には、使用者は、呼び出し側の再利用部品の形式に従い新規にプログラムを追加するプログラミングを行う必要があり、仕様を満たしていない場合には、該当するデータを取得できるように再利用部品を拡張するプログラミングを行う必要がある。   In addition, when adding a new function in the technology of Patent Document 2, the user searches for a reusable part that manages data, and understands a data format that is transferred between the reusable parts. Above, we must confirm the data format that is newly delivered as new functions are added. If the data format satisfies the specification, the user must perform programming to add a new program according to the format of the reusable part on the call side. It is necessary to perform programming to extend the reusable parts so that the data to be acquired can be acquired.

以上のように、監視制御システムにおいて新たな監視制御機能を追加するためには、既存の監視制御プログラムを拡張または変更しているが、その作業は複雑で、かつ、時間がかかるものとなっており、結果的にコストがかかるものとなっている。   As described above, in order to add a new supervisory control function in the supervisory control system, the existing supervisory control program is expanded or modified, but the work is complicated and takes time. As a result, the cost is high.

そこで、本発明は、上記のような問題点を鑑みてなされたものであり、監視制御システム及び監視制御プログラムにおいて、新たな機能を容易に追加することが可能な技術を提供することを目的とする。   Therefore, the present invention has been made in view of the above problems, and an object of the present invention is to provide a technique capable of easily adding a new function in a monitoring control system and a monitoring control program. To do.

本発明に係る監視制御システムは、複数のデバイスの入出力点から収集する複数の数値データ及び複数種類のイベントデータを監視制御する監視制御システムであって、所定の複数の数値データ及び前記複数種類のイベントデータを複数のカテゴリにグループ化して複数のカテゴリデータを生成し、前記カテゴリ及びそれに対応する前記カテゴリデータを含むレスポンスと、前記カテゴリを含むリクエストとを生成する複数のデータ処理部と、インタフェースを介して前記複数のデータ処理部との間で前記レスポンスを送受信し、かつ、前記インタフェースを介して前記複数のデータ処理部から前記リクエストを受信するデータ振分部とを備える。前記複数のデータ処理部のそれぞれは、前記データ振分部からの前記レスポンスを受信した場合に、当該レスポンスに含まれる前記カテゴリデータを用いて所定の処理を行う。前記データ振分部は、リクエスト送信元の前記データ処理部から受信した前記リクエストに含まれる前記カテゴリと、レスポンス送信元の前記データ処理部から受信した前記レスポンスに含まれる前記カテゴリとに基づいて、当該レスポンスを前記リクエスト送信元のデータ処理部に送信する。   A monitoring control system according to the present invention is a monitoring control system for monitoring and controlling a plurality of numerical data and a plurality of types of event data collected from input / output points of a plurality of devices, wherein the plurality of predetermined numerical data and the plurality of types A plurality of data processing units for generating a plurality of category data by grouping the event data into a plurality of categories, generating a response including the category and the corresponding category data, and a request including the category, and an interface A data distribution unit that transmits / receives the response to / from the plurality of data processing units via the interface and receives the request from the plurality of data processing units via the interface. Each of the plurality of data processing units performs a predetermined process using the category data included in the response when receiving the response from the data distribution unit. The data distribution unit is based on the category included in the request received from the data processing unit of the request transmission source, and the category included in the response received from the data processing unit of the response transmission source, The response is transmitted to the data processor of the request transmission source.

また、本発明に係る監視制御プログラムは、複数のデバイスの入出力点から収集する複数の数値データ及び複数種類のイベントデータを監視制御する監視制御システムを構成するコンピュータに(a)複数のデータ処理部が、所定の複数の数値データ及び前記複数種類のイベントデータを複数のカテゴリにグループ化して複数のカテゴリデータを生成し、前記カテゴリ及びそれに対応する前記カテゴリデータを含むレスポンスと、前記カテゴリを含むリクエストとを生成する工程を実行させる。そして、当該コンピュータに、(b)データ振分部が、リクエスト送信元の前記データ処理部からインタフェースを介して受信した前記リクエストに含まれる前記カテゴリと、レスポンス送信元の前記データ処理部から前記インタフェースを介して受信した前記レスポンスに含まれる前記カテゴリとに基づいて、当該レスポンスを前記インタフェースを介して前記リクエスト送信元のデータ処理部に送信する工程と、(c)前記リクエスト送信元のデータ処理部が、前記レスポンスを受信した場合に、当該レスポンスに含まれる前記カテゴリデータを用いて所定の処理を行う工程とを実行させる。   In addition, the monitoring control program according to the present invention provides (a) a plurality of data processing on a computer constituting a monitoring control system that monitors and controls a plurality of numerical data collected from input / output points of a plurality of devices and a plurality of types of event data. The unit generates a plurality of category data by grouping a plurality of predetermined numerical data and the plurality of types of event data into a plurality of categories, a response including the category and the category data corresponding to the category, and the category The process of generating a request is executed. Then, in the computer, (b) the data distribution unit includes the category included in the request received via the interface from the data processing unit that is a request transmission source, and the interface from the data processing unit that is a response transmission source. A step of transmitting the response to the data processing unit of the request transmission source via the interface based on the category included in the response received via the network, and (c) a data processing unit of the request transmission source However, when the response is received, a predetermined process is performed using the category data included in the response.

本発明によれば、データ振分部が、リクエストに含まれるカテゴリと、レスポンスに含まれるカテゴリに基づいて、リクエストを送信したデータ処理部に適切なレスポンスを送信する。したがって、新たな機能を有するデータ処理部を追加する際には、リクエスト及びレスポンスの形式を変更する必要がなく、インタフェースを変更、拡張しなくて済むことから、新たな機能を容易に追加することができる。   According to the present invention, the data distribution unit transmits an appropriate response to the data processing unit that transmitted the request based on the category included in the request and the category included in the response. Therefore, when adding a data processing unit with a new function, it is not necessary to change the format of the request and response, and it is not necessary to change or expand the interface, so a new function can be easily added. Can do.

実施の形態1に係る監視制御システムのハードウェア構成を示すブロック図である。2 is a block diagram illustrating a hardware configuration of a monitoring control system according to Embodiment 1. FIG. 実施の形態1に係る監視制御システムの構成を示すブロック図である。1 is a block diagram illustrating a configuration of a monitoring control system according to a first embodiment. 実施の形態1に係る監視制御システムの構成を示す図である。1 is a diagram illustrating a configuration of a monitoring control system according to a first embodiment. 実施の形態1に係る監視制御システムの構成を示す図である。1 is a diagram illustrating a configuration of a monitoring control system according to a first embodiment. 実施の形態1に係る監視制御システムの構成を示す図である。1 is a diagram illustrating a configuration of a monitoring control system according to a first embodiment. 実施の形態1に係る監視制御システムの構成を示す図である。1 is a diagram illustrating a configuration of a monitoring control system according to a first embodiment. 実施の形態1に係る監視制御システムの動作を示すフローチャートである。3 is a flowchart showing the operation of the monitoring control system according to the first embodiment. 実施の形態1に係る監視制御システムの動作を示すフローチャートである。3 is a flowchart showing the operation of the monitoring control system according to the first embodiment. 実施の形態1に係る監視制御システムの動作を示すフローチャートである。3 is a flowchart showing the operation of the monitoring control system according to the first embodiment. 実施の形態1に係る監視制御システムの動作を示すフローチャートである。3 is a flowchart showing the operation of the monitoring control system according to the first embodiment. 実施の形態1に係る監視制御システムの動作を示すフローチャートである。3 is a flowchart showing the operation of the monitoring control system according to the first embodiment. 実施の形態1に係る監視制御システムの動作を示すフローチャートである。3 is a flowchart showing the operation of the monitoring control system according to the first embodiment. 実施の形態2に係る監視制御システムの動作を示すフローチャートである。6 is a flowchart illustrating an operation of the monitoring control system according to the second embodiment. 実施の形態2に係る監視制御システムの動作を示すフローチャートである。6 is a flowchart illustrating an operation of the monitoring control system according to the second embodiment. 実施の形態3に係る監視制御システムの動作を示すフローチャートである。10 is a flowchart showing the operation of the monitoring control system according to the third embodiment. 実施の形態3に係る監視制御システムの動作を示すフローチャートである。10 is a flowchart showing the operation of the monitoring control system according to the third embodiment. 実施の形態4に係る監視制御システムの動作を示すフローチャートである。10 is a flowchart illustrating an operation of the monitoring control system according to the fourth embodiment. 実施の形態4に係る監視制御システムの動作を示すフローチャートである。10 is a flowchart illustrating an operation of the monitoring control system according to the fourth embodiment. 実施の形態5に係る監視制御システムの構成を示すブロック図である。FIG. 10 is a block diagram illustrating a configuration of a monitoring control system according to a fifth embodiment. 実施の形態5に係る監視制御システムの動作を示すフローチャートである。10 is a flowchart showing the operation of the monitoring control system according to the fifth embodiment. 実施の形態5に係る監視制御システムの動作を示すフローチャートである。10 is a flowchart showing the operation of the monitoring control system according to the fifth embodiment. 実施の形態6に係る監視制御システムの動作を示す図である。FIG. 10 is a diagram illustrating an operation of a monitoring control system according to a sixth embodiment. 実施の形態7に係る監視制御システムの構成を示すブロック図である。FIG. 10 is a block diagram illustrating a configuration of a monitoring control system according to a seventh embodiment. 実施の形態7に係る監視制御システムの構成を示す図である。FIG. 10 is a diagram illustrating a configuration of a monitoring control system according to a seventh embodiment. 実施の形態7に係る監視制御システムの動作を示すフローチャートである。18 is a flowchart illustrating an operation of the monitoring control system according to the seventh embodiment. 実施の形態7に係る監視制御システムの動作を示す図である。FIG. 10 is a diagram illustrating an operation of a monitoring control system according to a seventh embodiment. 実施の形態7に係る監視制御システムの動作を示す図である。FIG. 10 is a diagram illustrating an operation of a monitoring control system according to a seventh embodiment. 実施の形態7に係る監視制御システムの動作を示す図である。FIG. 10 is a diagram illustrating an operation of a monitoring control system according to a seventh embodiment. 実施の形態7に係る監視制御システムの動作を示す図である。FIG. 10 is a diagram illustrating an operation of a monitoring control system according to a seventh embodiment. 実施の形態7に係る監視制御システムの動作を示すフローチャートである。18 is a flowchart illustrating an operation of the monitoring control system according to the seventh embodiment.

<実施の形態1>
図1は、本発明の実施の形態1に係る監視制御システム1を構成するハードウェア構成を示す図である。監視制御システム1は、例えばコンピュータによって実現される。この監視制御システム1は、CPU(Central Processing Unit)10と、ROM(Read Only Memory)11と、RAM(Random Access Memory)12と、記憶装置13と、入力インタフェース14と、入力装置15と、出力インタフェース16と、出力装置17と、ネットワーク接続インタフェース18と、ネットワーク接続装置19と、バス20とを備える。データバスであるバス20は、監視制御システム1を構成する複数のハードウェアを互いに電気的に接続する。したがって、ハードウェア同士間では、バス20を介して情報の送受信が可能となっている。本実施の形態では、このバス20を介して、CPU10、ROM11、RAM12、記憶装置13、入力インタフェース14、出力インタフェース16及びネットワーク送受信インタフェース18が複数のハードウェアとして互いに電気的に接続されている。
<Embodiment 1>
FIG. 1 is a diagram showing a hardware configuration that constitutes a monitoring control system 1 according to Embodiment 1 of the present invention. The monitoring control system 1 is realized by a computer, for example. The monitoring control system 1 includes a central processing unit (CPU) 10, a read only memory (ROM) 11, a random access memory (RAM) 12, a storage device 13, an input interface 14, an input device 15, and an output. An interface 16, an output device 17, a network connection interface 18, a network connection device 19, and a bus 20 are provided. A bus 20 that is a data bus electrically connects a plurality of hardware constituting the monitoring control system 1 to each other. Therefore, information can be transmitted and received between the hardware via the bus 20. In the present embodiment, the CPU 10, ROM 11, RAM 12, storage device 13, input interface 14, output interface 16, and network transmission / reception interface 18 are electrically connected to each other as a plurality of hardware via the bus 20.

この監視制御システム1は、監視制御システム1の利用者、管理者または運用者から起動の際に行われる操作を受け付けると、監視制御システム1を起動するためのブートプログラム、OS(Operating System)を読出して実行する。以下、監視制御システム1の各構成について詳細に説明する。   When this supervisory control system 1 receives an operation performed at the time of startup from a user, administrator or operator of the supervisory control system 1, a boot program, OS (Operating System) for starting the supervisory control system 1 is received. Read and execute. Hereinafter, each configuration of the monitoring control system 1 will be described in detail.

ROM11には、ブートプログラム等の制御プログラムが記憶されている。RAM12は、CPU10が記憶装置13から読み出したデータが一時的に記憶される。記憶装置13は、例えば、HDD(Hard Disk Drive)であり、記憶装置13には、OS、監視制御プログラム及び各種データが記憶されている。   The ROM 11 stores a control program such as a boot program. The RAM 12 temporarily stores data read from the storage device 13 by the CPU 10. The storage device 13 is, for example, an HDD (Hard Disk Drive), and the storage device 13 stores an OS, a monitoring control program, and various data.

CPU10は、ROM11に記憶されている制御プログラムを読込んで実行することにより、ROM11、RAM12、記憶装置13、入力インタフェース14及び出力インタフェースを制御する。また、CPU10は、記憶装置13に記憶されているOS及び監視制御プログラムを読出して実行することによって、監視制御プログラムで規定されている演算及び動作を行う。CPU10は、演算結果を記憶装置13に与え、記憶装置13は、CPU10から演算結果が与えられると、当該演算結果を記憶する。   The CPU 10 controls the ROM 11, the RAM 12, the storage device 13, the input interface 14, and the output interface by reading and executing a control program stored in the ROM 11. Further, the CPU 10 reads out and executes the OS and the monitoring control program stored in the storage device 13, thereby performing calculations and operations defined by the monitoring control program. The CPU 10 gives the calculation result to the storage device 13, and when the calculation result is given from the CPU 10, the storage device 13 stores the calculation result.

入力装置15は、キーボード及びマウス等を備えており、利用者等からの操作を受け付けると、当該操作に対応する指令を入力インタフェース14に与える。入力インタフェース14は、入力装置15と電気的に接続されており、入力装置15をバス20に接続する。これにより、入力装置15からの指令が、バス20及び入力インタフェース14を介してCPU10に入力される。   The input device 15 includes a keyboard, a mouse, and the like. When an operation from a user or the like is received, a command corresponding to the operation is given to the input interface 14. The input interface 14 is electrically connected to the input device 15 and connects the input device 15 to the bus 20. Thereby, a command from the input device 15 is input to the CPU 10 via the bus 20 and the input interface 14.

出力装置17は、CRT(Cathode Ray Tube)ディスプレイ、液晶表示ディスプレイ等の、外部に情報を出力する装置であり、出力インタフェース16からの情報を表示する。出力インタフェース16は、出力装置17と電気的に接続されており、出力装置17をバス20に接続する。これにより、CPU10からの情報が、バス20及び入力インタフェース14を介して出力装置17に出力される。出力装置17は、例えば、CPU10からの情報を受けるとその情報を表示する。   The output device 17 is a device that outputs information to the outside, such as a CRT (Cathode Ray Tube) display or a liquid crystal display, and displays information from the output interface 16. The output interface 16 is electrically connected to the output device 17 and connects the output device 17 to the bus 20. As a result, information from the CPU 10 is output to the output device 17 via the bus 20 and the input interface 14. For example, when the output device 17 receives information from the CPU 10, the output device 17 displays the information.

ネットワーク接続装置19は、イーサネット(登録商標)カード、シリアルポート等の、外部コンピュータや外部デバイスと接続する接続装置であり、外部コンピュータ等と情報を送受信する。ネットワーク接続インタフェース18は、ネットワーク接続装置19と電気的に接続されており、ネットワーク接続装置19をバス20に接続する。これにより、CPU10からの情報及び指令が、バス20及びネットワーク接続インタフェース18を介してネットワーク接続装置19に出力される。ネットワーク接続装置19は、CPU10からの情報及び指令を受けると、その指令に基づいて、CPU10からの情報を外部コンピュータ等に送信する。一方、ネットワーク接続装置19は、外部コンピュータ等からの情報を受信すると、当該情報をバス20及びネットワーク接続インタフェース18を介してCPU10に入力する。   The network connection device 19 is a connection device connected to an external computer or an external device such as an Ethernet (registered trademark) card or a serial port, and transmits / receives information to / from the external computer. The network connection interface 18 is electrically connected to the network connection device 19 and connects the network connection device 19 to the bus 20. As a result, information and instructions from the CPU 10 are output to the network connection device 19 via the bus 20 and the network connection interface 18. Upon receiving information and a command from the CPU 10, the network connection device 19 transmits information from the CPU 10 to an external computer or the like based on the command. On the other hand, when receiving information from an external computer or the like, the network connection device 19 inputs the information to the CPU 10 via the bus 20 and the network connection interface 18.

<監視制御システムにおける機能ブロック>
図2は、図1に示されるCPU10が主に記憶装置13に記憶されている監視制御プログラムを読込んで起動することにより、監視制御システム1に形成される機能ブロックを示す図である。図2に示すように、監視制御システム1は、複数のデータ処理部2と、データ振分部3と、インタフェース4と、データ振分定義記憶部5と、リクエスト記憶部6とを備える。
<Functional blocks in the supervisory control system>
FIG. 2 is a diagram showing functional blocks formed in the monitoring control system 1 when the CPU 10 shown in FIG. 1 mainly reads and starts the monitoring control program stored in the storage device 13. As shown in FIG. 2, the monitoring control system 1 includes a plurality of data processing units 2, a data distribution unit 3, an interface 4, a data distribution definition storage unit 5, and a request storage unit 6.

監視制御システム1は、監視対象である複数のデバイス9及び他の監視制御システム1と、ネットワークやシリアル等により互いに電気的に接続されている。本実施の形態では、これらはネットワーク8により互いに接続されているものとする。   The monitoring control system 1 is electrically connected to a plurality of devices 9 to be monitored and other monitoring control systems 1 through a network, serial, or the like. In the present embodiment, it is assumed that these are connected to each other by the network 8.

監視制御システム1に接続されている複数のデバイス9は、複数の数値データ、及び、複数種類のイベントデータを検出する。複数の数値データは、例えば、河川の流量のデータ、及び、ビルの温度のデータである。複数種類のイベントデータは、例えば、コンピュータ異常、数値データの異常、及び、他のシステムからの事象における異常を示すデータである。複数のデバイス9は、検出した複数の数値データ及び複数種類のイベントデータを入出力点に出力する。なお、データ処理部2にて収集して数値データの異常(上限値、下限値など)を検出し、イベントデータとして他のデータ処理部2へ通知することもある。   The plurality of devices 9 connected to the monitoring control system 1 detect a plurality of numerical data and a plurality of types of event data. The plurality of numerical data is, for example, river flow data and building temperature data. The plural types of event data are data indicating, for example, computer abnormality, numerical data abnormality, and abnormality in an event from another system. The plurality of devices 9 output a plurality of detected numerical data and a plurality of types of event data to the input / output points. Note that abnormalities (upper limit value, lower limit value, etc.) of numerical data collected by the data processing unit 2 may be detected and notified to other data processing units 2 as event data.

複数のデータ処理部2のそれぞれは、例えば、プログラム上のコンポーネントに相当するものであり、データに対して、加工・変換・蓄積・表示・送受信(収集)・管理等の各種処理(各種機能)の少なくともいずれか一つを行う。データ処理部2におけるデータの蓄積方法としては、データベース(例えばRDBMSやXMLDB)、ファイル形式で保存することが可能である。図2においては、複数のデータ処理部2の一例として、外部からのデータを収集するデータ処理部2aと、データを表示するデータ処理部2bと、データを管理するデータ処理部2c、2dとから構成されている。なお、本実施の形態では、データ処理部2aは、他の監視制御システム1上で動作しているデータ処理部2との間でデータを送受信するネットワーク送受信機能も備えている。監視制御システム1は、複数のデータ処理部2のそれぞれが各種処理(各種機能)を行うことにより、多様な制御監視を実現することができる。本実施の形態に係る監視制御システム1では、新たな機能、つまり、新たなデータ処理部2の追加が容易となっている。   Each of the plurality of data processing units 2 corresponds to, for example, a component on a program, and various processes (various functions) such as processing, conversion, storage, display, transmission / reception (collection), and management of data. Do at least one of the following. As a data storage method in the data processing unit 2, it is possible to store the data in a database (for example, RDBMS or XMLDB) or a file format. In FIG. 2, as an example of a plurality of data processing units 2, a data processing unit 2a that collects data from the outside, a data processing unit 2b that displays data, and data processing units 2c and 2d that manage data are shown. It is configured. In the present embodiment, the data processing unit 2a also has a network transmission / reception function for transmitting / receiving data to / from the data processing unit 2 operating on another monitoring control system 1. The monitoring control system 1 can realize various control monitoring by each of the plurality of data processing units 2 performing various processes (various functions). In the monitoring control system 1 according to the present embodiment, it is easy to add a new function, that is, a new data processing unit 2.

複数のデータ処理部2のうちデータ収集の機能を有するデータ処理部2aは、複数のデバイス9の入出力点から複数の数値データを収集し、収集した複数の数値データを加工する。以下、収集した数値データ、及び、加工した数値データを、総称して「収集・加工数値データ」と呼ぶ。   The data processing unit 2 a having a data collection function among the plurality of data processing units 2 collects a plurality of numerical data from input / output points of the plurality of devices 9 and processes the collected plurality of numerical data. Hereinafter, the collected numerical data and the processed numerical data are collectively referred to as “collected / processed numerical data”.

複数のデータ処理部2においては、複数の収集・加工数値データが、複数種類の周期、例えば、1分、1時間及び1日の周期ごとに更新されていく。ここでいう更新は、過去の収集・加工数値データに収集・加工数値データが上書きされてもよく、あるいは、過去の収集・加工数値データを残しつつ直近の収集・加工数値データが記憶されてもよい。いずれの動作にするかは、各データ処理部2においてどのような処理が行われるかに委ねられる。   In the plurality of data processing units 2, a plurality of collected / processed numerical data is updated at a plurality of types of cycles, for example, every one minute, one hour, and one day. In this update, the collected / processed numerical data may be overwritten on the past collected / processed numerical data, or the latest collected / processed numerical data may be stored while the past collected / processed numerical data is retained. Good. Which operation is performed depends on what processing is performed in each data processing unit 2.

複数のデータ処理部2のデータ処理部2aは、このように更新される複数の収集・加工数値データを、更新周期の種類ごとにグループ化する。この結果、グループ化されたデータが更新周期の種類の数だけ形成される。例えば、1分、1時間及び1日の三種類の更新周期が用意されている場合には、三つのグループ化されたデータが形成される。以下、グループの単位を示す識別子をカテゴリ7と呼び、周期に係るカテゴリ7を「周期カテゴリ7p」と呼ぶこともある。   The data processing unit 2a of the plurality of data processing units 2 groups the plurality of collected / processed numerical data updated in this way for each type of update cycle. As a result, the grouped data is formed by the number of types of update periods. For example, when three types of update periods of 1 minute, 1 hour, and 1 day are prepared, three grouped data are formed. Hereinafter, the identifier indicating the unit of the group is referred to as “category 7”, and the category 7 related to the period is sometimes referred to as “period category 7p”.

このことを、図3を用いて詳細に説明する。図3は、複数の収集・加工数値データを複数種類の周期カテゴリ7pにグループ化したときの一例を示す図である。入出力点識別番号51は、「A0001」及び「A0002」等のように複数のデバイス9の入出力点を一意に識別するための番号である。図に示されるように、複数の収集・加工数値データは、入出力点識別番号51ごとに取得されるものであり、「名前」、「データ型」及び「カレント値」などのような属性52ごとのデータ(属性値53)を含んでいる。   This will be described in detail with reference to FIG. FIG. 3 is a diagram illustrating an example when a plurality of collected / processed numerical data are grouped into a plurality of types of periodic categories 7p. The input / output point identification number 51 is a number for uniquely identifying input / output points of a plurality of devices 9 such as “A0001” and “A0002”. As shown in the figure, a plurality of collected / processed numerical data is acquired for each input / output point identification number 51 and includes attributes 52 such as “name”, “data type”, “current value”, and the like. Each data (attribute value 53) is included.

周期カテゴリ7pの一種である1分カレント値カテゴリ7pmにおいては、複数の収集・加工数値データのうち1分周期で更新される収集・加工数値データ(属性値53)がグループ化される。また、周期カテゴリ7pの一種である1時間カテゴリ7phにおいては、複数の収集・加工データのうち1時間周期で更新される収集・加工数値データ(属性値53)がグループ化される。   In the one-minute current value category 7pm, which is a kind of the cycle category 7p, collection / processing numerical data (attribute value 53) that is updated at a one-minute cycle among a plurality of collection / processing numerical data is grouped. In addition, in the one-hour category 7ph, which is a kind of the cycle category 7p, collected / processed numerical data (attribute value 53) that is updated in a one-hour cycle among a plurality of collected / processed data is grouped.

以下、周期カテゴリ7pごとにグループ化された複数の収集・加工数値データ(属性値53)をカテゴリデータ54と呼ぶ。図3に示されるように、一つの周期カテゴリ7pには、一つのカテゴリデータ54が形成される。このカテゴリデータ54は、データ処理部2同士間で送受信され、各データ処理部2は、カテゴリデータ54に対して加工・変換・蓄積・表示・送受信(収集)・管理のいずれかの処理を行う。   Hereinafter, a plurality of collected / processed numerical data (attribute value 53) grouped for each periodic category 7p is referred to as category data 54. As shown in FIG. 3, one category data 54 is formed in one cycle category 7p. The category data 54 is transmitted / received between the data processing units 2, and each data processing unit 2 performs any one of processing, conversion, storage, display, transmission / reception (collection), and management on the category data 54. .

なお、図3に示されるように、複数の収集・加工数値データを複数の周期カテゴリ7pにグループ化した際には、定義カテゴリ7dが副次的に生成される。この定義カテゴリ7dにおいては、カテゴリデータ54に関する、入出力点識別番号51などの入出力点の情報、名前及びデータ型のデータ(属性値53)がグループ化されている。この定義カテゴリ7dのデータは、周期カテゴリ7pのカテゴリデータ54に適宜付加される。   As shown in FIG. 3, when a plurality of collected / processed numerical data are grouped into a plurality of periodic categories 7p, a definition category 7d is generated as a secondary. In the definition category 7d, information on input / output points such as the input / output point identification number 51, data of name and data type (attribute value 53) related to the category data 54 are grouped. The data of the definition category 7d is appropriately added to the category data 54 of the periodic category 7p.

複数データ処理部2のデータ処理部2aは、以上で説明した複数の収集・加工数値データと同様に、複数のデバイス9の入出力点から複数種類のイベントデータを収集する。データ処理部2aは、複数種類のイベントデータをイベントの種類ごとにグループ化する。この結果、グループ化されたデータがイベントの種類の数だけ形成される。以下、イベントに係るカテゴリ7を「イベントカテゴリ7e」と呼ぶ。   The data processing unit 2a of the multiple data processing unit 2 collects multiple types of event data from the input / output points of the multiple devices 9 in the same manner as the multiple collection / processing numerical data described above. The data processing unit 2a groups a plurality of types of event data for each event type. As a result, grouped data is formed for the number of event types. Hereinafter, the category 7 related to the event is referred to as “event category 7e”.

このことを、図4を用いて詳細に説明する。図4は、複数種類のイベントデータを複数種類のイベントにグループ7eにグループ化したときの一例を示す図である。図に示されるように、複数種類のイベントデータは、イベントデータごとに付与される「イベントID」、イベントが発生した時間を示す「タイムスタンプ」、イベントの現在の状態を示す「イベント状態」などのような属性52ごとのデータ(属性値53)から構成されている。   This will be described in detail with reference to FIG. FIG. 4 is a diagram illustrating an example when a plurality of types of event data are grouped into a plurality of types of events in a group 7e. As shown in the figure, multiple types of event data include “event ID” assigned to each event data, “time stamp” indicating the time when the event occurred, “event state” indicating the current state of the event, etc. Data for each attribute 52 (attribute value 53).

イベントカテゴリ7eの一種である気象イベントカテゴリ7ewにおいては、複数種類のイベントデータのうち気象に関するイベントデータ(属性値53)がグループ化される。また、イベントカテゴリ7eの一種であるシステムイベントカテゴリ7esにおいては、複数種類のイベントデータのうちシステムの故障に関するイベントデータ(属性値53)がグループ化される。   In the weather event category 7ew which is a kind of the event category 7e, event data (attribute value 53) related to the weather among a plurality of types of event data is grouped. In the system event category 7es, which is a kind of the event category 7e, event data (attribute value 53) relating to a system failure among a plurality of types of event data is grouped.

以下、上述と同様に、イベントカテゴリ7eごとにグループ化された複数種類のイベントデータ(属性値53)をカテゴリデータ54と呼ぶ。図4に示されるように、一つのイベントカテゴリ7eには、一つのカテゴリデータ54が形成される。イベントカテゴリ7eに係るカテゴリデータ54は、周期カテゴリ7pに係るカテゴリデータ54と同様にデータ処理部2同士間で送受信され、各データ処理部2は、カテゴリデータ54に対して加工・変換・蓄積・表示・送受信(収集)・管理のいずれかの処理を行う。   Hereinafter, similarly to the above, a plurality of types of event data (attribute value 53) grouped for each event category 7e are referred to as category data 54. As shown in FIG. 4, one category data 54 is formed in one event category 7e. The category data 54 related to the event category 7e is transmitted and received between the data processing units 2 in the same manner as the category data 54 related to the periodic category 7p, and each data processing unit 2 processes, converts, accumulates, Display, send / receive (collect), or manage.

以下の説明においては、周期カテゴリ7p及びイベントカテゴリ7eのそれぞれを、総称して「カテゴリ7」と呼ぶこともある。上述の複数のデータ処理部2の動作を換言すれば、本実施の形態に係る複数のデータ処理部2は、データ処理部2aにおいて、複数の収集・加工数値データ及び複数種類のイベントデータを複数のカテゴリ7にグループ化して、複数のカテゴリデータ54を生成する。   In the following description, each of the periodic category 7p and the event category 7e may be collectively referred to as “category 7”. In other words, the operations of the plurality of data processing units 2 described above include a plurality of data processing units 2 according to the present embodiment, a plurality of collected / processed numerical data and a plurality of types of event data in the data processing unit 2a. A plurality of category data 54 are generated.

データ処理部2は、他のデータ処理部2からカテゴリデータ54を必要とする際には、カテゴリ7と後述の応答回数とを含む「リクエスト」を生成し、当該リクエストをインタフェース4を介してデータ振分部3に送信する。以下、リクエストをデータ振分部3に送信するデータ振分部2を「リクエスト送信元のデータ処理部2」と、リクエストに含められるカテゴリ7を「リクエスト対象カテゴリ」と呼ぶこともある。   When the data processing unit 2 needs the category data 54 from the other data processing unit 2, the data processing unit 2 generates a “request” including the category 7 and the number of responses described later, and sends the request to the data via the interface 4. It transmits to the distribution part 3. Hereinafter, the data distribution unit 2 that transmits a request to the data distribution unit 3 may be referred to as a “request transmission source data processing unit 2”, and the category 7 included in the request may be referred to as a “request target category”.

一方、データ処理部2は、カテゴリ7に対応するカテゴリデータ54を他のデータ処理部2に送信しようとする際には、当該カテゴリ7と、当該カテゴリデータ54とを含む「レスポンス」を生成し、当該レスポンスをインタフェース4を介してデータ振分部3に送信する。以下、レスポンスをデータ振分部3に送信するデータ処理部2を「レスポンス送信元のデータ処理部2」、レスポンスに含められるカテゴリ7を「レスポンス対象カテゴリ」とそれぞれ呼ぶこともある。   On the other hand, when trying to transmit the category data 54 corresponding to the category 7 to another data processing unit 2, the data processing unit 2 generates a “response” including the category 7 and the category data 54. The response is transmitted to the data distribution unit 3 via the interface 4. Hereinafter, the data processing unit 2 that transmits a response to the data distribution unit 3 may be referred to as a “response transmission source data processing unit 2”, and the category 7 included in the response may be referred to as a “response target category”.

データ振分部3は、リクエストを受信してから、当該リクエストと同一のカテゴリ7を含むレスポンスを受信した場合には、当該レスポンスを、当該リクエストを送信したリクエスト送信元のデータ処理部2に送信する。このようなデータ振分部3については後述する。   If the data distribution unit 3 receives a response that includes the same category 7 as the request after receiving the request, the data distribution unit 3 transmits the response to the data processing unit 2 of the request transmission source that transmitted the request. To do. Such a data distribution unit 3 will be described later.

インタフェース4は、複数のデータ処理部2とデータ振分部3との間におけるレスポンスの送受信等を支援するものであり、全データ処理部2に実装されている。インタフェース4には、「初期化メソッド」、「終了メソッド」、「レスポンス受信メソッド」、「リクエスト送信メソッド」、及び、「レスポンス送信メソッド」という五つのメソッドが定義されている。   The interface 4 supports response transmission / reception between the plurality of data processing units 2 and the data distribution unit 3, and is implemented in all the data processing units 2. The interface 4 defines five methods: “initialization method”, “end method”, “response reception method”, “request transmission method”, and “response transmission method”.

初期化メソッドは、全データ処理部2が実装するものであり、データ振分部3により実行される。一つのデータ処理部2の初期化メソッドがデータ振分部3によって実行されると、当該一つのデータ処理部2が初期化される。   The initialization method is implemented by all the data processing units 2 and is executed by the data distribution unit 3. When the initialization method of one data processing unit 2 is executed by the data distribution unit 3, the one data processing unit 2 is initialized.

終了メソッドは、全データ処理部2が実装するものであり、データ振分部3により実行される。一つのデータ処理部2の終了メソッドがデータ振分部3によって実行されると、当該一つのデータ処理部2が停止する。   The end method is implemented by all the data processing units 2 and is executed by the data distribution unit 3. When the end method of one data processing unit 2 is executed by the data distribution unit 3, the one data processing unit 2 stops.

レスポンス受信メソッドは、全データ処理部2が実装するものであり、データ振分部3により実行される。一つのデータ処理部2のレスポンス受信メソッドがデータ振分部3によって実行されると、当該一つのデータ処理部2は、データ振分部3から送信されるレスポンスを受信する。   The response reception method is implemented by all the data processing units 2 and is executed by the data distribution unit 3. When the response receiving method of one data processing unit 2 is executed by the data distribution unit 3, the one data processing unit 2 receives a response transmitted from the data distribution unit 3.

リクエスト送信メソッドは、複数のデータ処理部2のうち少なくとも一つのデータ処理部2に利用される。当該少なくとも一つのデータ処理部2は、インタフェース4が提供するリクエスト送信メソッドを利用して、リクエストをデータ振分部3に送信する。   The request transmission method is used for at least one data processing unit 2 among the plurality of data processing units 2. The at least one data processing unit 2 transmits a request to the data distribution unit 3 using a request transmission method provided by the interface 4.

レスポンス送信メソッドは、複数のデータ処理部2のうち少なくとも一つのデータ処理部2により利用される。当該少なくとも一つのデータ処理部2は、インタフェース4が提供するレスポンス送信メソッドを利用して、レスポンスをデータ振分部3に送信する。   The response transmission method is used by at least one data processing unit 2 among the plurality of data processing units 2. The at least one data processing unit 2 transmits a response to the data distribution unit 3 using a response transmission method provided by the interface 4.

データ振分部3は、例えば、プログラム上のコンポーネントに相当するものであり、複数のデータ処理部2及びインタフェース4を介してレスポンスを送受信し、かつ、複数のデータ処理部2からインタフェース4を介してリクエストを受信する。データ振分部3は、リクエストを送信したリクエスト送信元のデータ処理部2に、当該リクエストと同じカテゴリ7を含むレスポンスを振り分ける。この際に、データ振分部3は、後述するデータ振分定義記憶部5に記憶されているデータ振分定義情報30を参照したり、受信したリクエストをリクエスト記憶部6に一時的にキャッシュ(記憶)させたりする。この動作の詳細な説明は後述する。   The data distribution unit 3 corresponds to, for example, a component on a program, transmits / receives a response via the plurality of data processing units 2 and the interface 4, and also transmits from the plurality of data processing units 2 via the interface 4. Receive the request. The data distribution unit 3 distributes a response including the same category 7 as the request to the data processing unit 2 that transmitted the request. At this time, the data distribution unit 3 refers to data distribution definition information 30 stored in the data distribution definition storage unit 5 described later, or temporarily receives the received request in the request storage unit 6 ( Remember). A detailed description of this operation will be given later.

データ振分部3は、レスポンス及びリクエストの送受信を行うだけでなく、インタフェース4を介して、複数のデータ処理部2の起動及び停止も行う。本実施の形態では、データ振分部3が起動及び停止すべき複数のデータ処理部2は、データ振分定義記憶部5に記憶されている。つまり、データ振分部3は、データ振分定義記憶部5に記憶されている複数のデータ処理部2を起動するとともに、これらをインタフェース4を介して初期化する。また、データ振分部3は、データ振分定義記憶部5において記憶されている複数のデータ処理部2をインタフェース4を介して停止する。なお、データ処理部2を起動させる方法としては、例えば、C++のDLL読込み技術やJava(登録商標)のjarファイルをクラスローディングする技術等を活用する。   The data distribution unit 3 not only transmits and receives responses and requests, but also starts and stops a plurality of data processing units 2 via the interface 4. In the present embodiment, a plurality of data processing units 2 that should be started and stopped by the data distribution unit 3 are stored in the data distribution definition storage unit 5. That is, the data distribution unit 3 activates the plurality of data processing units 2 stored in the data distribution definition storage unit 5 and initializes them via the interface 4. The data distribution unit 3 stops the plurality of data processing units 2 stored in the data distribution definition storage unit 5 via the interface 4. As a method for starting the data processing unit 2, for example, a C ++ DLL reading technique, a Java (registered trademark) jar file class loading technique, or the like is used.

図2に示されるデータ振分定義記憶部5は、図1に示される記憶装置13の機能ブロックであり、データ処理部2とカテゴリ7とを関連付けるデータ振分定義情報30を記憶している。   The data distribution definition storage unit 5 illustrated in FIG. 2 is a functional block of the storage device 13 illustrated in FIG. 1, and stores data distribution definition information 30 that associates the data processing unit 2 with the category 7.

図5は、データ振分定義情報30の一例を示す図である。図に示されるように、データ振分定義情報30は、ID31、プログラムファイル32、プログラムアドレス33、レスポンス対象カテゴリ34、リクエスト対象カテゴリ35及び仮想プログラム36という、六つの項目に関する情報から構成されている。   FIG. 5 is a diagram illustrating an example of the data distribution definition information 30. As shown in the figure, the data distribution definition information 30 is composed of information related to six items: an ID 31, a program file 32, a program address 33, a response target category 34, a request target category 35, and a virtual program 36. .

ID31は、複数のデータ処理部2のそれぞれに付与される、データ処理部2を一意に識別するための番号を示す。プログラムファイル32は、対応するデータ処理部2において実行されるプログラムファイルの名前を示す。プログラムアドレス33は、監視制御システム1が起動する際に、データ処理部2に割り当てられる、自コンピュータ上での参照先のアドレスを示す。図5においては、Cプログラムによるアドレスを表記しているが、C++プログラムやJava(登録商標)プログラム等の言語によるアドレスで表記されていてもよい。   The ID 31 indicates a number assigned to each of the plurality of data processing units 2 for uniquely identifying the data processing unit 2. The program file 32 indicates the name of the program file executed in the corresponding data processing unit 2. The program address 33 indicates an address of a reference destination on the own computer that is assigned to the data processing unit 2 when the monitoring control system 1 is activated. In FIG. 5, an address by a C program is shown, but it may be written by an address in a language such as a C ++ program or a Java (registered trademark) program.

レスポンス対象カテゴリ34は、ID31により識別されるデータ処理部2が、データ振分部3に送信するレスポンスに含めることが可能なカテゴリ7を示す。つまり、ID31により識別されるデータ処理部2は、レスポンス対象カテゴリ34のカテゴリ7に属するカテゴリデータ54を管理しており、当該カテゴリ7及び当該カテゴリデータ54を含むレスポンスをデータ振分部3に送信することが可能である。例えば、図5においてID31として「1」が付与されているデータ処理部2は、1分カレント値カテゴリを含むレスポンスをデータ振分部3に送信することが可能である。なお、このレスポンス対象カテゴリ34は、本実施の形態では用いられず、後述の実施の形態において用いられる。したがって、本実施の形態においてレスポンス対象カテゴリ34は必須ではない。   The response target category 34 indicates a category 7 that can be included in the response that the data processing unit 2 identified by the ID 31 transmits to the data distribution unit 3. That is, the data processing unit 2 identified by the ID 31 manages the category data 54 belonging to the category 7 of the response target category 34 and transmits the response including the category 7 and the category data 54 to the data distribution unit 3. Is possible. For example, the data processing unit 2 to which “1” is assigned as the ID 31 in FIG. 5 can transmit a response including the 1-minute current value category to the data distribution unit 3. The response target category 34 is not used in the present embodiment, but is used in the embodiments described later. Therefore, the response target category 34 is not essential in the present embodiment.

リクエスト対象カテゴリ35は、ID31により識別されるデータ処理部2が、データ振分部3に送信するリクエストに含めることが可能なカテゴリ7を示す。つまり、ID31により識別されるデータ処理部2は、リクエスト対象カテゴリ35に示されるカテゴリ7のカテゴリデータ54が必要な場合には、当該カテゴリ7を含むリクエストをデータ振分部3に送信することが可能である。例えば、図5においてID31として「2」が付与されているデータ処理部2は、1分カレント値カテゴリのカテゴリデータ54を必要とするデータ処理部2であり、当該カテゴリデータ54を必要とする場合に、1分カレント値カテゴリを含むリクエストをデータ振分部3に送信することが可能である。   The request target category 35 indicates a category 7 that can be included in a request that the data processing unit 2 identified by the ID 31 transmits to the data distribution unit 3. That is, when the data processing unit 2 identified by the ID 31 needs the category data 54 of the category 7 indicated in the request target category 35, the data processing unit 2 can transmit a request including the category 7 to the data distribution unit 3. Is possible. For example, in FIG. 5, the data processing unit 2 to which “2” is assigned as the ID 31 is the data processing unit 2 that requires the category data 54 of the one-minute current value category, and the category data 54 is required. In addition, a request including the one minute current value category can be transmitted to the data distribution unit 3.

図5に示されるように、本実施の形態に係るリクエスト対象カテゴリ35においては、複数のカテゴリ7は互いに異なり、当該複数のカテゴリ7のそれぞれは、複数のデータ処理部2のいずれか一つに関連付けられている。つまり、一つのカテゴリ7が重複することなく、複数のカテゴリ7が複数のデータ処理部2に関連付けられている。   As shown in FIG. 5, in the request target category 35 according to the present embodiment, the plurality of categories 7 are different from each other, and each of the plurality of categories 7 is assigned to any one of the plurality of data processing units 2. Associated. That is, a plurality of categories 7 are associated with a plurality of data processing units 2 without overlapping one category 7.

なお、図5に示される1分カレント値カテゴリは、図3に示される1分カレント値カテゴリ7pmを示す。また、図5に示される1日カテゴリ、1月カテゴリ及び1年カテゴリのそれぞれは、周期カテゴリ7pの一種である。カレント値カテゴリは、複数の周期カテゴリ7pをまとめたものである。カレント値異常イベントカテゴリは、イベントカテゴリ7eの一種である。   The one-minute current value category shown in FIG. 5 is the one-minute current value category 7pm shown in FIG. Each of the 1-day category, the January category, and the 1-year category shown in FIG. 5 is a kind of the periodic category 7p. The current value category is a collection of a plurality of periodic categories 7p. The current value abnormal event category is a kind of event category 7e.

仮想プログラム36は、他の監視制御システム1に対してリクエストやレスポンスを送信する際に、経由すべきデータ処理部2のID31を示す。本実施の形態では、仮想プログラム36には、他の監視制御システム1とデータを送受信したりするデータ送受信(収集)のデータ処理部2aのID31が示されることになる。   The virtual program 36 indicates the ID 31 of the data processing unit 2 to be routed when transmitting a request or response to another monitoring control system 1. In the present embodiment, the virtual program 36 indicates the ID 31 of the data processing unit 2a for data transmission / reception (collection) that transmits / receives data to / from another monitoring control system 1.

図2に示されるリクエスト記憶部6は、図1に示される記憶装置13の機能ブロックであり、データ振分部3が受信したリクエストの状況を示すリクエストキャッシュ情報を記憶している。   The request storage unit 6 illustrated in FIG. 2 is a functional block of the storage device 13 illustrated in FIG. 1, and stores request cache information indicating the status of the request received by the data distribution unit 3.

図6は、リクエストキャッシュ情報の一例を示す図である。図に示されるように、リクエストキャッシュ情報40は、リクエスト対象カテゴリ41、ID42及び応答回数43という、三つの項目に関する情報から構成されている。   FIG. 6 is a diagram illustrating an example of request cache information. As shown in the figure, the request cache information 40 is composed of information on three items: a request target category 41, an ID 42, and a response count 43.

リクエスト対象カテゴリ41は、現在リクエスト中のカテゴリ7を示す。つまり、データ振分部3が、データ処理部2からリクエストを受信したが、それに対応するレスポンスを当該データ処理部2に送信することが完了していない場合に、当該リクエストに含まれるカテゴリ7が示されている。ID42は、リクエスト対象カテゴリ41のカテゴリ7を含むリクエストをデータ振分部3に送信したリクエスト送信元のデータ処理部2を一意に識別するための番号を示す。このID42の番号は、図5に示されるデータ振分定義情報30のID31の番号と同じである。応答回数43は、一回のリクエストに対してデータ振分部3からデータ処理部2に送信されるべきレスポンスの回数を示すものである。例えば、応答回数43が「1」を示している場合にはレスポンスが1回のみ送信されるべきであることを示し、「2」を示している場合にはレスポンスが2回送信されるべきであることを示す。応答回数43が「*」を示している場合にはリクエストの停止が呼ばれるまでレスポンスが継続して送信されるべきであることを示す。   The request target category 41 indicates the category 7 currently requested. That is, when the data distribution unit 3 receives a request from the data processing unit 2 but has not completed transmitting a corresponding response to the data processing unit 2, the category 7 included in the request is It is shown. The ID 42 indicates a number for uniquely identifying the data processing unit 2 of the request transmission source that has transmitted a request including the category 7 of the request target category 41 to the data distribution unit 3. This ID 42 number is the same as the ID 31 number of the data distribution definition information 30 shown in FIG. The response count 43 indicates the number of responses to be transmitted from the data distribution unit 3 to the data processing unit 2 with respect to a single request. For example, if the response count 43 indicates “1”, it indicates that the response should be transmitted only once. If it indicates “2”, the response should be transmitted twice. It shows that there is. When the response count 43 indicates “*”, it indicates that the response should be continuously transmitted until the request stop is called.

次に、CPU10が記憶装置13に記憶されている監視制御プログラムを実行することにより行われる、本実施の形態に係る監視制御システム1の動作を図7〜12を用いて説明する。   Next, the operation of the monitoring control system 1 according to the present embodiment, which is performed by the CPU 10 executing the monitoring control program stored in the storage device 13, will be described with reference to FIGS.

図7は、監視制御システム1の起動の際に行われる動作を示すフローチャートである。この動作では主に、データ振分部3が、起動後にデータ振分定義情報30を読み込み、データ振分定義情報30において特定されている複数のデータ処理部2を一つずつ順次に起動し初期化する。この動作の前には、データ振分部プログラムがCPU10に読み出されることにより、データ振分部3が実行されているものとする。以下、この動作について、図7を用いて詳細に説明する。   FIG. 7 is a flowchart showing an operation performed when the monitoring control system 1 is activated. In this operation, the data distribution unit 3 mainly reads the data distribution definition information 30 after activation, and sequentially starts the plurality of data processing units 2 specified in the data distribution definition information 30 one by one. Turn into. Before this operation, it is assumed that the data distribution unit 3 is executed by reading the data distribution unit program to the CPU 10. Hereinafter, this operation will be described in detail with reference to FIG.

まず、ステップs1にて、起動されたデータ振分部3は、データ振分定義記憶部5から、データ振分定義情報30を構成している全データを読み込む。ステップs2にて、データ振分部3は、図5に示される全データを表の一行単位のデータ(行単位データ)のうち、一番上の行単位データを抜き出す。それから、ステップs3にて、データ振分部3は、抜き出した行単位データにおいて、仮想プログラム36が無設定であるか否かを判定する。ステップs3において無設定であると判定された場合にはステップs4に進む。無設定でない、つまり設定済みであると判定された場合にはステップs6に進む。   First, in step s 1, the activated data distribution unit 3 reads all data constituting the data distribution definition information 30 from the data distribution definition storage unit 5. In step s2, the data distribution unit 3 extracts the top row unit data from the data in a single row unit (row unit data) of the table shown in FIG. Then, in step s3, the data distribution unit 3 determines whether or not the virtual program 36 is not set in the extracted line unit data. If it is determined in step s3 that there is no setting, the process proceeds to step s4. If it is determined that it is not set, that is, set, the process proceeds to step s6.

ステップs4にて、データ振分部3は、行単位データから一つのデータ処理部2のプログラムファイル32を取得し、当該一つのデータ処理部2を起動し、起動されたデータ処理部2のアドレスをプログラムファイル33に格納する。プログラムアドレス33を取得し、当該一つのデータ処理部2を起動する。そして、ステップs5にて、データ振分部3は、起動した一つのデータ処理部2に対し、インタフェース4にて定義されている初期化メソッドを実行する。これにより、起動した一つのデータ処理部2が初期化される。   In step s4, the data distribution unit 3 acquires the program file 32 of one data processing unit 2 from the line unit data, starts the one data processing unit 2, and the address of the started data processing unit 2 Is stored in the program file 33. The program address 33 is acquired, and the one data processing unit 2 is activated. In step s5, the data distribution unit 3 executes the initialization method defined in the interface 4 for one activated data processing unit 2. Thereby, the activated one data processing unit 2 is initialized.

ステップs6にて、データ振分部3は、データ振分定義情報30において特定されている全データ処理部2に対して以上の動作が行われたかを判定する。ステップs6において当該全データ処理部2に対して動作が行われたと判定した場合には図7に示される工程が終了し、そうでない場合にはステップs2に進む。再度のステップs2においては、データ振分部3は、先に抜き出した行単位データから一つ下に位置する行単位データを抜き出す。   In step s6, the data distribution unit 3 determines whether the above operation has been performed on all the data processing units 2 specified in the data distribution definition information 30. If it is determined in step s6 that the operation has been performed on all the data processing units 2, the process shown in FIG. 7 ends, and if not, the process proceeds to step s2. In step s2 again, the data distribution unit 3 extracts line unit data located one level lower than the previously extracted line unit data.

こうして、データ振分部3は、ステップs1で読み込んだデータ振分定義情報30において特定されている全データ処理部2に対し、ステップs3〜s5の動作を繰り返すループ動作を行うことにより、当該全データ処理部2を起動し初期化する。   In this way, the data distribution unit 3 performs a loop operation that repeats the operations of steps s3 to s5 on all the data processing units 2 specified in the data distribution definition information 30 read in step s1, thereby performing all the operations. The data processing unit 2 is activated and initialized.

図8は、一つのデータ処理部2がカテゴリデータ54を必要とする際に行われる動作を示すフローチャートである。この動作では主に、当該一つのデータ振分部2が、データ振分部3にリクエストを送信する。なお、必要であれば、図8に示される工程は、上述の初期化(ステップs5)直後に行われてもよい。以下、この動作について、図8を用いて詳細に説明する。   FIG. 8 is a flowchart showing an operation performed when one data processing unit 2 needs the category data 54. In this operation, mainly, the one data distribution unit 2 transmits a request to the data distribution unit 3. If necessary, the process shown in FIG. 8 may be performed immediately after the initialization (step s5). Hereinafter, this operation will be described in detail with reference to FIG.

まず、ステップs10にて、データ処理部2は、自身が必要とするカテゴリデータ54のカテゴリ7を特定し、当該カテゴリ7を含むリクエストを生成する。この際、データ処理部2は、1回のリクエストで何回のカテゴリデータ54が送信されるべきかを示す応答回数もリクエストに含める。ステップs11にて、当該データ処理部2は、インタフェース4にて定義されているリクエスト送信メソッドを利用して、生成したリクエストをデータ振分部3に送信する。ステップs12にて、データ振分部3は、当該データ処理部2、つまり、リクエスト送信元のデータ処理部2から送信されたリクエストを受信する。   First, in step s10, the data processing unit 2 specifies the category 7 of the category data 54 required by itself and generates a request including the category 7. At this time, the data processing unit 2 also includes a response count indicating how many category data 54 should be transmitted in one request. In step s 11, the data processing unit 2 transmits the generated request to the data distribution unit 3 using a request transmission method defined in the interface 4. In step s12, the data distribution unit 3 receives the request transmitted from the data processing unit 2, that is, the data processing unit 2 that is the request transmission source.

この時点では、データ振分部3は、自身が受信したリクエストがどのデータ処理部2から送信されたか、つまり、リクエスト送信元のデータ処理部2がどれかを特定できていない。   At this time, the data distribution unit 3 has not been able to specify which data processing unit 2 has transmitted the request received by itself, that is, which data processing unit 2 is the request transmission source.

そこで、ステップs13にて、データ振分部3は、受信したリクエストに含まれるカテゴリ7に基づいて、図5に示されるデータ振分定義情報30から、リクエスト送信元のデータ処理部2のID31を特定する。具体的には、データ振分部3は、データ振分定義情報30のリクエスト対象カテゴリ35のカテゴリ7のうち、受信したリクエストと同じカテゴリ7を特定し、当該カテゴリ7に関連付けられたデータ処理部2のID31を取得する。   Therefore, in step s13, the data distribution unit 3 obtains the ID 31 of the data processing unit 2 of the request transmission source from the data distribution definition information 30 shown in FIG. 5 based on the category 7 included in the received request. Identify. Specifically, the data distribution unit 3 identifies the same category 7 as the received request among the categories 7 of the request target category 35 of the data distribution definition information 30, and the data processing unit associated with the category 7 2 ID31 is acquired.

ここで、リクエスト対象カテゴリ35は、データ処理部2がデータ振分部3に送信するリクエストに含めることが可能なカテゴリ7であることから、データ振分部3は、上述の動作を行うことにより、リクエスト送信元のデータ処理部2のID31(以下、「リクエスト送信元のID31」と略することもある)を取得することになる。そして、本実施の形態では、データ振分定義情報30においては、同一のカテゴリ7が重複することなく、複数のカテゴリ7が複数のデータ処理部2に関連付けられていることから、リクエスト送信元のID31が一意に取得される。以上により、データ振分部3は、カテゴリ7に基づいて、リクエストがどのデータ処理部2から送信されたのかを一意に特定することができる。   Here, since the request target category 35 is the category 7 that can be included in the request transmitted from the data processing unit 2 to the data distribution unit 3, the data distribution unit 3 performs the above-described operation. ID 31 of the data processor 2 of the request transmission source (hereinafter, may be abbreviated as “ID 31 of request transmission source”). In this embodiment, in the data distribution definition information 30, the same category 7 is not duplicated and a plurality of categories 7 are associated with a plurality of data processing units 2. ID31 is uniquely acquired. As described above, the data distribution unit 3 can uniquely identify from which data processing unit 2 the request is transmitted based on the category 7.

ステップs13の後、ステップs14にて、データ振分部3は、リクエスト送信元のID31、ステップs12にて受信したリクエストに含まれるカテゴリ7、及び、応答回数を、リクエストキャッシュ情報40のID42、リクエスト対象カテゴリ41、及び、応答回数43としてそれぞれ登録し、図8に示される工程が終了する。   After step s13, in step s14, the data distribution unit 3 sets the ID 31 of the request transmission source, the category 7 included in the request received in step s12, and the response count, the ID 42 of the request cache information 40, the request The target category 41 and the response count 43 are registered respectively, and the process shown in FIG. 8 ends.

図9は、一つのデータ処理部2がカテゴリデータ54を送信する際に行われる動作を示すフローチャートである。この動作では主に、カテゴリデータ54を送信しようとする一つのデータ処理部2が、当該カテゴリデータ54を含むレスポンスをデータ振分部3に送信する。以下、この動作について、図9を用いて詳細に説明する。なお、ここでは、カテゴリデータ54が生成される工程についても最初に説明する。   FIG. 9 is a flowchart showing an operation performed when one data processing unit 2 transmits the category data 54. In this operation, mainly, one data processing unit 2 that intends to transmit the category data 54 transmits a response including the category data 54 to the data distribution unit 3. Hereinafter, this operation will be described in detail with reference to FIG. Here, the process of generating the category data 54 will also be described first.

ステップs20にて、データ処理部2aは、ネットワーク8を介して複数のデバイス9からの複数の数値データ及び複数種類のイベントデータを受信する。ステップs21にて、データ処理部2aは、受信したこれらデータを必要に応じて加工・変換する。ステップs22にて、データ処理部2aは、複数の収集・加工数値データ及び複数種類のイベントデータを複数のデバイス9の入出力点ごとに蓄積する。そして、ステップs23にて、データ処理部2aは、複数の収集・加工数値データ及び複数種類のイベントデータを複数のカテゴリ7にグループ化して、複数のカテゴリデータ54を生成する。   In step s20, the data processing unit 2a receives a plurality of numerical data and a plurality of types of event data from the plurality of devices 9 via the network 8. In step s21, the data processing unit 2a processes and converts these received data as necessary. In step s22, the data processing unit 2a accumulates a plurality of collected / processed numerical data and a plurality of types of event data for each input / output point of the plurality of devices 9. In step s23, the data processing unit 2a groups a plurality of collected / processed numerical data and a plurality of types of event data into a plurality of categories 7, and generates a plurality of category data 54.

以上のステップs20〜s23における複数のカテゴリデータ54の生成は、データを送受信(収集)する機能を有するデータ処理部2aにおいて少なくとも行われる。その一方で、以下に説明するステップs24以降におけるレスポンスの送信は、データ処理部2aに限ったものではなく、複数のデータ処理部2において適宜行われる。   The generation of the plurality of category data 54 in the above steps s20 to s23 is performed at least in the data processing unit 2a having a function of transmitting / receiving (collecting) data. On the other hand, the transmission of the response after step s24 described below is not limited to the data processing unit 2a, but is appropriately performed by the plurality of data processing units 2.

ステップs24にて、カテゴリデータ54を送信しようとするデータ処理部2は、当該カテゴリデータ54及びそのカテゴリ7を含むレスポンスを生成する。ステップs25にて、当該データ処理部2は、インタフェース4に定義されているレスポンス送信メソッドを利用して、生成したレスポンスをデータ振分部3に送信する。ステップs26にて、データ振分部3は、当該データ処理部2、つまり、レスポン送信元のデータ処理部2から送信されたレスポンスを受信する。   In step s24, the data processing unit 2 that intends to transmit the category data 54 generates a response including the category data 54 and its category 7. In step s 25, the data processing unit 2 transmits the generated response to the data distribution unit 3 using the response transmission method defined in the interface 4. In step s26, the data distribution unit 3 receives the response transmitted from the data processing unit 2, that is, the data processing unit 2 of the response transmission source.

次に、ステップs27にて、データ振分部3は、受信したレスポンスに含まれるカテゴリ7と一致するカテゴリ7が、リクエストキャッシュ情報40のリクエスト対象カテゴリ41におけるカテゴリ7と一致するかを判定する。換言すれば、データ振分部3は、リクエスト送信元のデータ処理部2から受信したリクエストに含まれるリクエスト対象カテゴリと、レスポンス送信元のデータ処理部2から受信したレスポンスに含まれるレスポンス対象カテゴリとが互いに一致するかを判定する。ステップs27において、カテゴリ7が一致すると判定された場合には、ステップs28に進み、そうでない場合には図9に示される工程が終了する。   Next, in step s27, the data distribution unit 3 determines whether the category 7 that matches the category 7 included in the received response matches the category 7 in the request target category 41 of the request cache information 40. In other words, the data distribution unit 3 includes a request target category included in the request received from the request processing source data processing unit 2, and a response target category included in the response received from the response transmission source data processing unit 2. Determine whether they match each other. If it is determined in step s27 that the category 7 matches, the process proceeds to step s28, and if not, the process illustrated in FIG. 9 ends.

ステップs28にて、データ振分部3は、リクエストキャッシュ情報40の応答回数43を更新する。具体的には、応答回数43が自然数を示している場合には、データ振分部3は、当該自然数から1を引き、応答回数43が「0」となった段階でリクエストキャッシュ情報40からそのリクエスト対象カテゴリ41等のデータを削除する。応答回数43が「*」を示している場合には何もしない。   In step s28, the data distribution unit 3 updates the response count 43 of the request cache information 40. Specifically, when the response count 43 indicates a natural number, the data distribution unit 3 subtracts 1 from the natural number, and when the response count 43 becomes “0”, the data is distributed from the request cache information 40. Delete data such as the request target category 41. If the response count 43 indicates “*”, nothing is done.

ステップs29にて、データ振分部3は、リクエストキャッシュ情報40からリクエスト送信元のID42を取得する。そして、データ振分部3は、データ振分定義情報30において、取得したID42と同じ番号を示すID31を特定し、当該ID31に対応するプログラムアドレス33を取得する。そして、ステップs30にて、データ振分部3は、当該ID31により識別されるリクエスト送信元のデータ処理部2に対し、インタフェース4に定義されているレスポンス受信メソッドを実行し、リクエスト送信元のデータ処理部2にレスポンスを送信する。こうして、リクエスト送信元のデータ処理部2は、所望のカテゴリデータ54を含むレスポンスをデータ振分部3から受信することにより、当該所望のカテゴリデータ54を取得することができる。その後、リクエスト送信元のデータ処理部2は、当該カテゴリデータ54に対して、自身に割り当てられている加工等の処理を行う。そして、図9に示される工程が終了する。   In step s 29, the data distribution unit 3 acquires the request transmission source ID 42 from the request cache information 40. And the data distribution part 3 specifies ID31 which shows the same number as acquired ID42 in the data distribution definition information 30, and acquires the program address 33 corresponding to the said ID31. In step s30, the data distribution unit 3 executes the response reception method defined in the interface 4 for the data processing unit 2 of the request transmission source identified by the ID 31, and the request transmission source data A response is transmitted to the processing unit 2. In this way, the data processing unit 2 of the request transmission source can acquire the desired category data 54 by receiving the response including the desired category data 54 from the data distribution unit 3. Thereafter, the data processing unit 2 of the request transmission source performs processing such as processing assigned to itself on the category data 54. And the process shown by FIG. 9 is complete | finished.

以上においては、監視制御システム1内においてリクエスト及びレスポンスを送受信する際の動作について説明したが、以下においては、監視制御システム1が他の監視制御システムとリクエスト及びレスポンスを送受信する際の動作について説明する。   The operation when transmitting and receiving a request and response in the monitoring control system 1 has been described above, but the operation when the monitoring control system 1 transmits and receives a request and response with another monitoring control system will be described below. To do.

図10は、監視制御システム1のデータ処理部2が他の監視制御システム1からリクエストを受信する際に行われる動作を示すフローチャートであり、図11は、監視制御システム1のデータ処理部2aが他の監視制御システム1にレスポンスを送信する際に行われる動作を示すフローチャートである。以下、この動作について、図10,11を用いて説明する。   FIG. 10 is a flowchart illustrating an operation performed when the data processing unit 2 of the monitoring control system 1 receives a request from another monitoring control system 1. FIG. 11 illustrates the operation of the data processing unit 2 a of the monitoring control system 1. 7 is a flowchart illustrating an operation performed when a response is transmitted to another monitoring control system 1; Hereinafter, this operation will be described with reference to FIGS.

図10に示されるステップs40にて、他の監視制御システム1とデータを送受信する機能を有するデータ処理部2aは、他の監視制御システム1のデータ処理部2から上述と同じリクエストと、当該監視制御システム1を一意に識別するIPアドレスとを受信する。ステップs41にて、データ処理部2aは、受信したリクエストに含まれるカテゴリ7などの情報と、リクエスト送信元の監視制御システム1のIPアドレスとを互いに関連付けて一時的にキャッシュする。ステップs42にて、データ処理部2aは、インタフェース4に定義されているリクエスト送信メソッドを利用して、ステップs41にて受信したリクエストをデータ振分部3に送信する。それ以降は、ステップs13〜s14、及び、ステップs20〜s29と同様の工程が行われる。   In step s40 shown in FIG. 10, the data processing unit 2a having a function of transmitting / receiving data to / from another monitoring control system 1 sends the same request as described above from the data processing unit 2 of the other monitoring control system 1. An IP address that uniquely identifies the control system 1 is received. In step s41, the data processing unit 2a temporarily caches the information such as category 7 included in the received request and the IP address of the monitoring control system 1 of the request transmission source in association with each other. In step s42, the data processing unit 2a uses the request transmission method defined in the interface 4 to transmit the request received in step s41 to the data distribution unit 3. Thereafter, steps similar to steps s13 to s14 and steps s20 to s29 are performed.

そして、図11に示されるステップs43にて、ステップs30と同様に、データ振分部3は、リクエスト送信元のデータ処理部2aがレスポンスを受信するように、当該データ処理部2aに対してレスポンス受信メソッドを実行し、リクエスト送信元のデータ処理部2aにレスポンスを送信する。これにより、データ処理部2aは、データ振分部3に送信したリクエストと同じカテゴリ7を含むレスポンスをデータ振分部3から受信する。   Then, in step s43 shown in FIG. 11, as in step s30, the data distribution unit 3 sends a response to the data processing unit 2a so that the request processing source data processing unit 2a receives the response. The reception method is executed, and a response is transmitted to the data processing unit 2a of the request transmission source. Thereby, the data processing unit 2 a receives a response including the same category 7 as the request transmitted to the data distribution unit 3 from the data distribution unit 3.

ステップs44にて、データ処理部2aは、ステップs43にて受信したレスポンスに含まれるカテゴリ7に基づいて、ステップs41においてキャッシュしている情報から、リクエスト送信元の監視制御システム1のIPアドレスを取得する。この際、複数のIPアドレスを取得してもよい。それから、ステップs45にて、データ処理部2aは、取得したIPアドレスで識別される、他の監視制御システム1にレスポンスを送信する。   In step s44, based on the category 7 included in the response received in step s43, the data processing unit 2a obtains the IP address of the monitoring control system 1 that is the request transmission source from the information cached in step s41. To do. At this time, a plurality of IP addresses may be acquired. Then, in step s45, the data processing unit 2a transmits a response to the other monitoring control system 1 identified by the acquired IP address.

以上により、監視制御システム1は、他の監視制御システム1からリクエストを受信した場合に、当該リクエストと同一のカテゴリを含むレスポンスを他の監視制御システム1に送信することができる。   As described above, when the monitoring control system 1 receives a request from another monitoring control system 1, the monitoring control system 1 can transmit a response including the same category as the request to the other monitoring control system 1.

次に、監視制御システム1のデータ処理部2aが他の監視制御システム1にリクエストを送信する際に行う動作を簡単に説明し、その後、監視制御システム1のデータ処理部2aが他の監視制御システム1からレスポンスを受信した際に行う動作を簡単に説明する。   Next, an operation performed when the data processing unit 2a of the supervisory control system 1 transmits a request to another supervisory control system 1 will be briefly described. Thereafter, the data processor 2a of the supervisory control system 1 performs other supervisory control. An operation performed when a response is received from the system 1 will be briefly described.

まず、監視制御システム1のデータ処理部2aが他の監視制御システム1にリクエストを送信する際に行う動作について説明する。データ処理部2aは、必要とするカテゴリデータ54のカテゴリ7を特定し、当該カテゴリ7を含むリクエストを生成する。この際、データ処理部2aは、1回のリクエストで何回のカテゴリデータ54が送信されるべきかを示す応答回数もリクエストに含める。そして、データ処理部2aは、生成したリクエストを他の監視制御システム1に送信する。   First, an operation performed when the data processing unit 2a of the monitoring control system 1 transmits a request to another monitoring control system 1 will be described. The data processing unit 2a specifies the category 7 of the required category data 54 and generates a request including the category 7. At this time, the data processing unit 2a also includes the response count indicating how many category data 54 should be transmitted in one request in the request. Then, the data processing unit 2a transmits the generated request to another monitoring control system 1.

次に、監視制御システム1のデータ処理部2aが他の監視制御システム1からレスポンスを受信した際に行う動作について説明する。データ処理部2aは、他の監視制御システム1からレスポンスを受信した場合には、ステップs25〜ステップs30の動作を行う。これにより、リクエスト送信元のデータ処理部2は、他の監視制御システム1から、所望のカテゴリデータ54を含むレスポンスを受信することができる。   Next, an operation performed when the data processing unit 2a of the supervisory control system 1 receives a response from another supervisory control system 1 will be described. When the data processing unit 2a receives a response from another monitoring control system 1, the data processing unit 2a performs the operations in steps s25 to s30. Thereby, the data processing unit 2 of the request transmission source can receive a response including the desired category data 54 from the other monitoring control system 1.

図12は、監視制御システム1の停止の際に行われる動作を示すフローチャートである。この動作では主に、データ振分部3が、データ振分定義情報30を読み込み、データ振分定義情報30において特定されている複数のデータ処理部2を一つずつ順次に停止する。以下、この動作について、図12を用いて詳細に説明する。   FIG. 12 is a flowchart showing an operation performed when the monitoring control system 1 is stopped. In this operation, the data distribution unit 3 mainly reads the data distribution definition information 30 and sequentially stops the plurality of data processing units 2 specified in the data distribution definition information 30 one by one. Hereinafter, this operation will be described in detail with reference to FIG.

まず、ステップs50にて、データ振分部3は、データ振分定義記憶部5から、データ振分定義情報30を構成している全データを読み込む。ステップs51にて、データ振分部3は、図5に示される全データを表の一行単位のデータ(行単位データ)のうち、一番上の行単位データを抜き出す。それから、ステップs52にて、データ振分部3は、抜き出した行単位データにおいて、仮想プログラム36が無設定であるか否かを判定する。ステップs52において無設定であると判定された場合にはステップs53に進む。無設定でない、つまり設定済みであると判定された場合にはステップs55に進む。   First, in step s50, the data distribution unit 3 reads all data constituting the data distribution definition information 30 from the data distribution definition storage unit 5. In step s51, the data distribution unit 3 extracts the top row unit data from the data of one row unit (row unit data) of all the data shown in FIG. Then, in step s52, the data distribution unit 3 determines whether or not the virtual program 36 is not set in the extracted line unit data. If it is determined in step s52 that there is no setting, the process proceeds to step s53. If it is determined that there is no setting, that is, it has been set, the process proceeds to step s55.

ステップs53にて、データ振分部3は、行単位データから一つのデータ処理部2を取得する。そして、ステップs54にて、データ振分部3は、当該一つのデータ処理部2に対し、インタフェース4にて定義されている終了メソッドを実行する。これにより、当該一つのデータ処理部2が停止する。   In step s53, the data distribution unit 3 acquires one data processing unit 2 from the row unit data. In step s54, the data distribution unit 3 executes an end method defined in the interface 4 for the one data processing unit 2. Thereby, the said one data processing part 2 stops.

ステップs55にて、データ振分部3は、データ振分定義情報30において特定されている全データ処理部2に対して以上の動作が行われたかを判定する。ステップs55において当該全データ処理部2に対して動作が行われたと判定した場合には図12に示される工程が終了し、そうでない場合にはステップs51に進む。再度のステップs51においては、データ振分部3は、先に抜き出した行単位データから一つ下に位置する行単位データを抜き出す。   In step s55, the data distribution unit 3 determines whether the above operation has been performed on all the data processing units 2 specified in the data distribution definition information 30. If it is determined in step s55 that the operation has been performed on all the data processing units 2, the process shown in FIG. 12 ends. If not, the process proceeds to step s51. In step s51 again, the data distribution unit 3 extracts line unit data located one level lower than the previously extracted line unit data.

こうして、データ振分部3は、ステップs50で読み込んだデータ振分定義情報30において特定されている全データ処理部2に対し、ステップs52〜s54の動作を繰り返すループ動作を行うことにより、当該全データ処理部2を停止する。   In this manner, the data distribution unit 3 performs a loop operation that repeats the operations of steps s52 to s54 on all the data processing units 2 specified in the data distribution definition information 30 read in step s50, thereby performing all the operations. The data processing unit 2 is stopped.

以上のような本実施の形態に係る監視制御システム1及び監視制御プログラムによれば、データ振分部3が、リクエストに含まれるカテゴリ7と、レスポンスに含まれるカテゴリ7とに基づいて、リクエストを送信したデータ処理部2に適切なレスポンスを送信する。したがって、新たな機能を有するデータ処理部2を追加する際には、カテゴリ7及びカテゴリデータ54の種類が増減することになるが、リクエスト及びレスポンスの形式を変更する必要がないことから、インタフェース4を変更、拡張しなくて済む。よって、新たな機能を容易に追加することができる。   According to the monitoring control system 1 and the monitoring control program according to the present embodiment as described above, the data distribution unit 3 makes a request based on the category 7 included in the request and the category 7 included in the response. An appropriate response is transmitted to the transmitted data processing unit 2. Therefore, when adding the data processing unit 2 having a new function, the types of the category 7 and the category data 54 are increased or decreased, but it is not necessary to change the format of the request and the response. You don't have to change or extend Therefore, a new function can be easily added.

また、データ振分部3は、追加した新しいデータ処理部2をデータ振分定義記憶部5に記憶すれば、既存のデータ処理部2と同様に、起動及び停止することができることから、新たな機能を容易に追加することができる。   Further, since the data distribution unit 3 can be started and stopped in the same manner as the existing data processing unit 2 if the added new data processing unit 2 is stored in the data distribution definition storage unit 5, a new Functions can be added easily.

また、本実施の形態では、データ振分定義記憶部5において、複数のデータ処理部2に関連付けられる複数のカテゴリ7は互いに異なっていることから、データ振分部3は、レスポンスに含まれるカテゴリ7と、リクエストに含まれるカテゴリ7に基づいて、レスポンス(カテゴリデータ54)を必要とするリクエスト送信元のデータ処理部2を一意に特定することができる。したがって、データ処理部2を追加する際に、そのデータ処理部2のレスポンスを、複数のデータ処理部2のうちどのデータ処理部2に対して送信すべきかについて意識しなくても、当該レスポンスを適切に送信することができる。よって、新たな機能を容易に追加することができる。   In the present embodiment, since the plurality of categories 7 associated with the plurality of data processing units 2 in the data distribution definition storage unit 5 are different from each other, the data distribution unit 3 includes the categories included in the response. 7 and the category 7 included in the request, it is possible to uniquely identify the data processor 2 of the request transmission source that requires a response (category data 54). Therefore, when adding the data processing unit 2, the response of the data processing unit 2 can be transmitted without being conscious of which data processing unit 2 of the plurality of data processing units 2 should be transmitted. Can be sent properly. Therefore, a new function can be easily added.

なお、本実施の形態では、互いに異なる複数のカテゴリ7のそれぞれが、複数のデータ処理部2のいずれか一つに関連付けられたものとした。しかし、これに限ったものではなく、同一のカテゴリ7が複数のデータ処理部2に重複するように、複数のカテゴリ7と複数のデータ処理部2とを関連付けるものであってもよい。ただし、この場合には、レスポンスを必要とする一つのデータ処理部2、つまり、リクエスト送信元のデータ処理部2が一意に特定されない。そこで、この場合には次の二つの方法のいずれかを行うことにより、データ振分部3がリクエスト送信元のデータ処理部2を一意に特定することが可能となる。   In the present embodiment, each of a plurality of different categories 7 is associated with one of the plurality of data processing units 2. However, the present invention is not limited to this, and the plurality of categories 7 and the plurality of data processing units 2 may be associated with each other so that the same category 7 overlaps the plurality of data processing units 2. However, in this case, one data processing unit 2 that requires a response, that is, the data processing unit 2 that is the request transmission source is not uniquely identified. Therefore, in this case, by performing one of the following two methods, the data distribution unit 3 can uniquely identify the data processing unit 2 of the request transmission source.

一つ目の方法として、データ振分部3は、データ処理部2に対し、そのデータ処理部2のID31を予め与えておく。そして、リクエスト送信元のデータ処理部2は、データが必要となった場合に、自身のID31をリクエストに付与してデータ振分部3に送信する。データ振分部3は、このID31をリクエストキャッシュ情報40に登録する。これにより、データ振分部3はリクエスト送信元のデータ処理部2を一意に特定することができる。   As a first method, the data distribution unit 3 gives the ID 31 of the data processing unit 2 to the data processing unit 2 in advance. Then, when the data is required, the request processing source data processing unit 2 assigns its own ID 31 to the request and transmits the request to the data distribution unit 3. The data distribution unit 3 registers this ID 31 in the request cache information 40. As a result, the data distribution unit 3 can uniquely identify the data processing unit 2 as the request transmission source.

二つ目の方法として、データ振分部3は、データ処理部2に対し、そのデータ処理部2のプログラムアドレス32を予め与えておく。そして、リクエスト送信元のデータ処理部2は、データが必要となった場合に、自身のプログラムアドレス32をリクエストに付与してデータ振分部3に送信する。データ振分部3は、このプログラムアドレス32をリクエストキャッシュ情報40に登録する。これにより、データ振分部3はリクエスト送信元のデータ処理部2を一意に特定することができる。   As a second method, the data distribution unit 3 gives the program address 32 of the data processing unit 2 to the data processing unit 2 in advance. Then, when data is necessary, the data processing unit 2 that is a request transmission source assigns its own program address 32 to the request and transmits the request to the data distribution unit 3. The data distribution unit 3 registers the program address 32 in the request cache information 40. As a result, the data distribution unit 3 can uniquely identify the data processing unit 2 as the request transmission source.

また、上述したレスポンス送信方法以外の送信方法として、データ振分部3は、受信したレスポンスに含まれるカテゴリ7に関連するすべてのID31をリクエストキャッシュ情報40から収集することにより、当該カテゴリ7に該当するすべてのデータ処理部2にレスポンスを送信するようにしてもよい。   Further, as a transmission method other than the response transmission method described above, the data distribution unit 3 corresponds to the category 7 by collecting all IDs 31 related to the category 7 included in the received response from the request cache information 40. Responses may be transmitted to all the data processing units 2 that perform the processing.

<実施の形態2>
本実施の形態に係る監視制御システム1のハードウェア構成及び機能ブロック構成は、実施の形態1に係る監視制御システム1のハードウェア構成及び機能ブロック構成とそれぞれ同じである。以下、本実施の形態に係る監視制御システム1のハードウェア構成、及び、機能ブロック構成において、実施の形態1と同一の部分には同一符号を付与し、以下においては実施の形態1と異なる部分を中心に説明する。
<Embodiment 2>
The hardware configuration and functional block configuration of the monitoring control system 1 according to the present embodiment are the same as the hardware configuration and functional block configuration of the monitoring control system 1 according to the first embodiment, respectively. Hereinafter, in the hardware configuration and the functional block configuration of the monitoring control system 1 according to the present embodiment, the same reference numerals are given to the same parts as those in the first embodiment, and the following parts different from the first embodiment. The explanation will be focused on.

本実施の形態に係る監視制御システム1及び監視制御プログラムにおいては、データ振分部3は、受信したリクエストと同じカテゴリ7を含むレスポンスのみを複数のデータ処理部2から受信するようになっている。以下、このような本実施の形態に係る監視制御システム1及び監視制御プログラムについて説明する。   In the monitoring control system 1 and the monitoring control program according to the present embodiment, the data distribution unit 3 receives only responses including the same category 7 as the received request from the plurality of data processing units 2. . Hereinafter, the monitoring control system 1 and the monitoring control program according to this embodiment will be described.

本実施の形態に係るインタフェース4には、上述のメソッドに加えて、「リクエスト受信メソッド」が定義されている。このリクエスト受信メソッドは、全データ処理部2が実装するものであり、データ振分部3により実行される。一つのデータ処理部2のリクエスト受信メソッドがデータ振分部3によって実行されると、当該一つのデータ処理部2は、データ振分部3からリクエストを受信する。したがって、本実施の形態に係るデータ振分部3は、インタフェース4を介して、複数のデータ処理部2との間でレスポンスだけでなく、リクエストも送受信するようになっている。   In the interface 4 according to the present embodiment, a “request reception method” is defined in addition to the above-described methods. This request reception method is implemented by all the data processing units 2 and is executed by the data distribution unit 3. When the request receiving method of one data processing unit 2 is executed by the data distribution unit 3, the one data processing unit 2 receives a request from the data distribution unit 3. Therefore, the data distribution unit 3 according to the present embodiment is configured to transmit / receive not only responses but also requests to / from the plurality of data processing units 2 via the interface 4.

本実施の形態に係るデータ振分部3は、一つのデータ処理部2からリクエストを受信した場合に、データ処理部2に対して当該リクエストを送信する。そして、複数のデータ処理部2のそれぞれは、データ振分部3からリクエストを受信した場合に、当該リクエストと同じカテゴリ7を含むレスポンスのみをデータ振分部3に送信する。これにより、データ振分部3は、必要なレスポンスのみを複数のデータ処理部2から受信することができるようになっている。   When receiving a request from one data processing unit 2, the data distribution unit 3 according to the present embodiment transmits the request to the data processing unit 2. When each of the plurality of data processing units 2 receives a request from the data distribution unit 3, it transmits only a response including the same category 7 as the request to the data distribution unit 3. Thereby, the data distribution unit 3 can receive only necessary responses from the plurality of data processing units 2.

次に、本実施の形態に係る監視制御システム1の動作について図13,14を用いて説明する。   Next, the operation of the monitoring control system 1 according to the present embodiment will be described with reference to FIGS.

図13は、一つのデータ処理部2がカテゴリデータ54を必要とする際に行われる動作を示すフローチャートである。まず、実施の形態1で説明したステップs10〜s14(図8)が行われる。そして、ステップs15Aにて、データ振分部3は、全データ処理部2に対し、インタフェース4に定義されているリクエスト受信メソッドを実行し、ステップs12において受信したリクエストを全データ処理部2に対して送信する。これにより、全データ処理部2は、リクエストをデータ振分部3から受信する。なお、ここでは、データ振分部3が全データ処理部2にリクエストを送信するものとしたが、データ振分部3は、レスポンス対象カテゴリ34を参照して、リクエストと同じカテゴリ7を含むレスポンスを送信可能なデータ処理部2を特定し、特定した当該データ処理部2にのみリクエストを送信するものであってもよい。それから、ステップs16Aにて、各データ処理部2は、受信したリクエストに含まれるカテゴリ7を一時的にキャッシュする。そして、図13に示される工程が終了する。   FIG. 13 is a flowchart showing an operation performed when one data processing unit 2 needs the category data 54. First, steps s10 to s14 (FIG. 8) described in the first embodiment are performed. In step s15A, the data distribution unit 3 executes the request reception method defined in the interface 4 for all the data processing units 2, and sends the request received in step s12 to all the data processing units 2. To send. As a result, the all data processing unit 2 receives the request from the data distribution unit 3. In this example, the data distribution unit 3 transmits a request to all the data processing units 2, but the data distribution unit 3 refers to the response target category 34 and includes a response including the same category 7 as the request. May be specified, and the request may be transmitted only to the specified data processing unit 2. Then, in step s16A, each data processing unit 2 temporarily caches the category 7 included in the received request. And the process shown by FIG. 13 is complete | finished.

図14は、一つのデータ処理部2がカテゴリデータ54を送信する際に行われる動作を示すフローチャートである。まず、実施の形態1で説明したステップs20〜s23(図9)が行われる。そして、ステップs24Aにて、カテゴリデータ54を送信しようとするデータ処理部2は、レスポンスに含めようとするカテゴリ7と、ステップs16Aでキャッシュされたカテゴリ7とが互いに合致するかを判定する。ステップs24Aにおいて合致すると判定された場合にはステップs24に進み、それ以降、実施の形態1で説明した工程と同じ工程が行われる。ステップs24Aにおいて合致しないと判定された場合には、各データ処理部2がレスポンスの生成及び送信を行わずに、図14に示される工程が終了する。この動作により、全データ処理部2は、データ振分部3から受信したリクエストと同じカテゴリ7を含むレスポンスのみを、データ振分部3に送信することになる。   FIG. 14 is a flowchart showing an operation performed when one data processing unit 2 transmits the category data 54. First, steps s20 to s23 (FIG. 9) described in the first embodiment are performed. In step s24A, the data processing unit 2 that intends to transmit the category data 54 determines whether the category 7 to be included in the response matches the category 7 cached in step s16A. If it is determined in step s24A that they match, the process proceeds to step s24, and thereafter, the same process as that described in the first embodiment is performed. If it is determined in step s24A that they do not match, each data processing unit 2 does not generate and transmit a response, and the process shown in FIG. 14 ends. With this operation, all the data processing units 2 transmit only the response including the same category 7 as the request received from the data distribution unit 3 to the data distribution unit 3.

以上のような本実施の形態に係る監視制御システム1及び監視制御プログラムによれば、実施の形態1と同様の効果を得ることができるとともに、データ振分部3は、必要なレスポンスのみを複数のデータ処理部2から受信することができる。したがって、データ振分部3において不要な処理を削減することができるため、データ振分部3の負荷軽減及び高速処理化を実現することができる。   According to the monitoring control system 1 and the monitoring control program according to the present embodiment as described above, the same effect as that of the first embodiment can be obtained, and the data distribution unit 3 can provide a plurality of necessary responses only. Can be received from the data processing unit 2. Therefore, since unnecessary processing can be reduced in the data distribution unit 3, it is possible to reduce the load on the data distribution unit 3 and increase the processing speed.

<実施の形態3>
本実施の形態に係る監視制御システム1のハードウェア構成及び機能ブロック構成は、実施の形態2に係る監視制御システム1のハードウェア構成及び機能ブロック構成とそれぞれ同じである。以下、本実施の形態に係る監視制御システム1のハードウェア構成、及び、機能ブロック構成において、実施の形態2と同一の部分には同一符号を付与し、以下においては実施の形態2と異なる部分を中心に説明する。
<Embodiment 3>
The hardware configuration and functional block configuration of the monitoring control system 1 according to the present embodiment are the same as the hardware configuration and functional block configuration of the monitoring control system 1 according to the second embodiment. Hereinafter, in the hardware configuration and the functional block configuration of the monitoring control system 1 according to the present embodiment, the same reference numerals are given to the same parts as those in the second embodiment, and the following parts different from the second embodiment. The explanation will be focused on.

本実施の形態に係る監視制御システム1及び監視制御プログラムにおいても、実施の形態2と同様、データ振分部3は、必要なレスポンスのみを複数のデータ処理部2から受信するようになっている。以下、このような本実施の形態に係る監視制御システム1及び監視制御プログラムについて説明する。   Also in the monitoring control system 1 and the monitoring control program according to the present embodiment, the data distribution unit 3 receives only necessary responses from the plurality of data processing units 2 as in the second embodiment. . Hereinafter, the monitoring control system 1 and the monitoring control program according to this embodiment will be described.

本実施の形態に係る複数のデータ処理部2は、入出力点識別番号51をリクエスト及びレスポンスに含める。入出力点識別番号51をリクエスト及びレスポンスに含める際には、例えば、入出力点識別番号51を含む、図3に示される定義カテゴリ7dのデータをリクエスト及びレスポンスに含めてもよい。   The plurality of data processing units 2 according to the present embodiment include the input / output point identification number 51 in the request and response. When the input / output point identification number 51 is included in the request and response, for example, data of the definition category 7d shown in FIG. 3 including the input / output point identification number 51 may be included in the request and response.

本実施の形態に係るデータ振分部3は、実施の形態2と同様、一つのデータ処理部2からリクエストを受信した場合に、全データ処理部2に対して当該リクエストを送信する。そして、複数のデータ処理部2のそれぞれは、データ振分部3からリクエストを受信した場合には、当該リクエストと同じカテゴリ7及び入出力点識別番号51を含むレスポンスのみをデータ振分部3に送信する。これにより、データ振分部3は、必要なレスポンスのみを複数のデータ処理部2から受信することができるようになる。   Similar to the second embodiment, the data distribution unit 3 according to the present embodiment transmits a request to all the data processing units 2 when receiving a request from one data processing unit 2. When each of the plurality of data processing units 2 receives a request from the data distribution unit 3, only the response including the same category 7 and input / output point identification number 51 as the request is sent to the data distribution unit 3. Send. As a result, the data distribution unit 3 can receive only necessary responses from the plurality of data processing units 2.

次に、本実施の形態に係る監視制御システム1の動作について図15,16を用いて説明する。   Next, the operation of the monitoring control system 1 according to the present embodiment will be described with reference to FIGS.

図15は、一つのデータ処理部2がカテゴリデータ54を必要とする際に行われる動作を示すフローチャートである。まず、実施の形態2で説明したステップs10〜s15A(図13)が行われる。ただし、本実施の形態に係るステップs10においては、当該一つのデータ処理部2は、カテゴリ7、応答回数、及び、入出力点識別番号51を含むリクエストを生成する。そして、ステップs16Bにて、各データ処理部2は、受信したリクエストに含まれるカテゴリ7及び入出力点識別番号51を一時的にキャッシュし、図15に示される工程が終了する。   FIG. 15 is a flowchart showing an operation performed when one data processing unit 2 needs the category data 54. First, steps s10 to s15A (FIG. 13) described in the second embodiment are performed. However, in step s10 according to the present embodiment, the one data processing unit 2 generates a request including the category 7, the number of responses, and the input / output point identification number 51. In step s16B, each data processing unit 2 temporarily caches the category 7 and the input / output point identification number 51 included in the received request, and the process illustrated in FIG. 15 ends.

図16は、一つのデータ処理部2がカテゴリデータ54を送信する際に行われる動作を示すフローチャートである。まず、実施の形態2で説明したステップs20〜s23(図14)が行われる。そして、ステップs24Bにて、カテゴリデータ54を送信しようとするデータ処理部2は、レスポンスに含めようとするカテゴリ7及び入出力点識別番号51と、ステップs16Bでキャッシュされたカテゴリ7及び入出力点識別番号51とが互いに合致するかを判定する。ステップs24Bにおいて合致すると判定された場合には、ステップs24に進み、それ以降、実施の形態1で説明した工程と同じ工程が行われる。ステップs24Bにおいて合致しないと判定された場合には、各データ処理部2がレスポンスの生成及び送信を行わずに、図16に示される工程が終了する。この動作により、全データ処理部2は、データ振分部3から受信したリクエストと同じカテゴリ7及び入出力点識別番号51を含むレスポンスのみを、データ振分部3に送信することになる。   FIG. 16 is a flowchart showing an operation performed when one data processing unit 2 transmits the category data 54. First, steps s20 to s23 (FIG. 14) described in the second embodiment are performed. In step s24B, the data processing unit 2 that intends to transmit the category data 54 includes the category 7 and input / output point identification number 51 to be included in the response, and the category 7 and input / output points cached in step s16B. It is determined whether the identification numbers 51 match each other. If it is determined in step s24B that they match, the process proceeds to step s24, and thereafter, the same process as that described in the first embodiment is performed. If it is determined in step s24B that they do not match, each data processing unit 2 does not generate and transmit a response, and the process shown in FIG. 16 ends. With this operation, all the data processing units 2 transmit only a response including the same category 7 and input / output point identification number 51 as the request received from the data distribution unit 3 to the data distribution unit 3.

以上のような本実施の形態に係る監視制御システム1及び監視制御プログラムによれば、実施の形態2と同様の効果を得ることができる。特に本実施の形態では、データ振分部3は、入出力点識別番号51を用いることによってより限定されたレスポンスのみをデータ処理部2から受信することができるため、データ振分部3において不要な処理をより削減することができる。したがって、データ振分部3の負荷軽減及び高速処理化を高めることができる。   According to the monitoring control system 1 and the monitoring control program according to the present embodiment as described above, the same effects as those of the second embodiment can be obtained. In particular, in the present embodiment, the data distribution unit 3 can receive only a more limited response from the data processing unit 2 by using the input / output point identification number 51, so that it is unnecessary in the data distribution unit 3. Processing can be further reduced. Therefore, it is possible to increase the load reduction and the high-speed processing of the data distribution unit 3.

<実施の形態4>
本実施の形態に係る監視制御システム1のハードウェア構成及び機能ブロック構成は、実施の形態2に係る監視制御システム1のハードウェア構成及び機能ブロック構成とそれぞれ同じである。以下、本実施の形態に係る監視制御システム1のハードウェア構成、及び、機能ブロック構成において、実施の形態2と同一の部分には同一符号を付与し、以下においては実施の形態2と異なる部分を中心に説明する。
<Embodiment 4>
The hardware configuration and functional block configuration of the monitoring control system 1 according to the present embodiment are the same as the hardware configuration and functional block configuration of the monitoring control system 1 according to the second embodiment. Hereinafter, in the hardware configuration and the functional block configuration of the monitoring control system 1 according to the present embodiment, the same reference numerals are given to the same parts as those in the second embodiment, and the following parts different from the second embodiment. The explanation will be focused on.

本実施の形態に係る監視制御システム1及び監視制御プログラムにおいても、実施の形態2と同様、データ振分部3は、必要なレスポンスのみを複数のデータ処理部2から受信するようになっている。以下、このような本実施の形態に係る監視制御システム1及び監視制御プログラムについて説明する。   Also in the monitoring control system 1 and the monitoring control program according to the present embodiment, the data distribution unit 3 receives only necessary responses from the plurality of data processing units 2 as in the second embodiment. . Hereinafter, the monitoring control system 1 and the monitoring control program according to this embodiment will be described.

本実施の形態に係るデータ振分部3は、実施の形態2と同様、データ処理部2からリクエストを受信した場合に、全データ処理部2に対して当該リクエストを送信する。   Similar to the second embodiment, the data distribution unit 3 according to the present embodiment transmits a request to all the data processing units 2 when receiving a request from the data processing unit 2.

本実施の形態に係る複数のデータ処理部2は、カテゴリ7及び応答回数に加えて、カテゴリデータ54を絞り込むことを可能にする後述する絞込条件をリクエストに含める。そして、複数のデータ処理部2のそれぞれは、データ振分部3からリクエストを受信した場合には、当該リクエストと同じカテゴリ7と、当該リクエストに含まれる絞込条件に合致するカテゴリデータ54とを含むレスポンスのみをデータ振分部3に送信する。これにより、データ振分部3は、必要なレスポンスのみを複数のデータ処理部2から受信することができるようになる。   The plurality of data processing units 2 according to the present embodiment include, in addition to the category 7 and the number of responses, a narrow-down condition described later that makes it possible to narrow down the category data 54 in the request. When each of the plurality of data processing units 2 receives a request from the data distribution unit 3, each of the plurality of data processing units 2 includes the same category 7 as the request and category data 54 that matches the narrow-down condition included in the request. Only the response including it is transmitted to the data distribution unit 3. As a result, the data distribution unit 3 can receive only necessary responses from the plurality of data processing units 2.

次に、絞込条件について説明する。絞込条件とは、図3及び図4に示される、カテゴリデータ54の属性52に対して‘<’、‘<=’、‘=’、‘!=’、‘=>’、‘>’といったオペランドと閾値などの値とを組み合わせた絞込項目同士を、‘AND’または‘OR’によって組み合わせた絞込項目集合から構成した検索文である。図3において「イベント種別」と示される属性52において、「軽故障」と示される属性値53であるカテゴリデータ54を絞り込むための絞込条件は、XML形式では次のように記述される。   Next, the narrowing conditions will be described. The narrowing-down conditions are “<”, “<=”, “=”, “!” For the attribute 52 of the category data 54 shown in FIGS. This is a search sentence composed of a narrowed item set in which narrowed items obtained by combining operands such as “=”, “=>”, “>” and values such as threshold values are combined by “AND” or “OR”. In the attribute 52 indicated as “event type” in FIG. 3, the narrow-down condition for narrowing down the category data 54 that is the attribute value 53 indicated as “minor failure” is described as follows in the XML format.

Figure 0005424965
Figure 0005424965

なお、監視制御システム1に共通な絞込条件は、予め属性値53の型やフォーマットを定めておくことも可能である。例えば、属性値取得開始時刻や取得個数などといったトレンドグラフや帳票等でよく使用されるものなどが挙げられる。その絞込条件の一例は、XML形式では次のように記述される。   Note that the narrowing conditions common to the monitoring control system 1 can also predetermine the type and format of the attribute value 53. For example, a trend graph such as an attribute value acquisition start time or the number of acquisitions, a frequently used graph, or the like can be used. An example of the narrowing condition is described as follows in the XML format.

Figure 0005424965
Figure 0005424965

次に、本実施の形態に係る監視制御システム1の動作について図17,18を用いて説明する。   Next, the operation of the monitoring control system 1 according to the present embodiment will be described with reference to FIGS.

図17は、一つのデータ処理部2がカテゴリデータ54を必要とする際に行われる動作を示すフローチャートである。まず、実施の形態2で説明したステップs10〜s15A(図13)が行われる。ただし、本実施の形態に係るステップs10においては、当該一つのデータ処理部2は、カテゴリ7、応答回数、及び、絞込条件を含むリクエストを生成する。そして、ステップs16Cにて、各データ処理部2は、受信したリクエストに含まれるカテゴリ7及び絞込条件を一時的にキャッシュし、図17に示される工程が終了する。   FIG. 17 is a flowchart showing an operation performed when one data processing unit 2 needs the category data 54. First, steps s10 to s15A (FIG. 13) described in the second embodiment are performed. However, in step s10 according to the present embodiment, the one data processing unit 2 generates a request including the category 7, the number of responses, and the filtering condition. In step s16C, each data processing unit 2 temporarily caches the category 7 and the narrow-down condition included in the received request, and the process illustrated in FIG. 17 ends.

図18は、一つのデータ処理部2がカテゴリデータ54を送信する際に行われる動作を示すフローチャートである。まず、実施の形態2で説明したステップs20〜s24A(図14)が行われる。その一連のステップの最後のステップに当たるステップs24Aにおいて、レスポンスに含めようとするカテゴリ7と、ステップs16Cでキャッシュされたカテゴリ7とが合致すると判定された場合にはステップs24Cに進む。一方、ステップs24Aにおいて合致しないと判定された場合には、各データ処理部2がレスポンスの生成及び送信を行わずに、図18に示される工程が終了する。   FIG. 18 is a flowchart showing an operation performed when one data processing unit 2 transmits the category data 54. First, steps s20 to s24A (FIG. 14) described in the second embodiment are performed. In step s24A corresponding to the last step in the series of steps, if it is determined that the category 7 to be included in the response matches the category 7 cached in step s16C, the process proceeds to step s24C. On the other hand, if it is determined in step s24A that they do not match, each data processing unit 2 does not generate and transmit a response, and the process shown in FIG. 18 ends.

ステップs24Cにて、カテゴリデータ54を送信しようとする複数のデータ処理部2のそれぞれは、レスポンスに含めようとするカテゴリデータ54が、ステップs16Cでキャッシュされた絞込条件に合致するかを判定する。ステップs24Cにおいて合致すると判定された場合には、ステップs24に進み、それ以降、実施の形態1で説明した工程と同じ工程が行われる。ステップs24Cにおいて合致しないと判定された場合には、各データ処理部2がレスポンスの生成及び送信を行わずに、図16に示される工程が終了する。この動作により、全データ処理部2は、データ振分部3から受信したリクエストと同じカテゴリ7と、当該リクエストに合致するカテゴリデータ54とを含むレスポンスのみを、データ振分部3に送信することになる。   In step s24C, each of the plurality of data processing units 2 that intend to transmit the category data 54 determines whether the category data 54 that is to be included in the response matches the filtering condition cached in step s16C. . If it is determined in step s24C that they match, the process proceeds to step s24, and thereafter, the same process as that described in the first embodiment is performed. When it is determined in step s24C that they do not match, each data processing unit 2 does not generate and transmit a response, and the process shown in FIG. 16 ends. With this operation, all the data processing units 2 transmit only a response including the same category 7 as the request received from the data distribution unit 3 and the category data 54 matching the request to the data distribution unit 3. become.

以上のような本実施の形態に係る監視制御システム1及び監視制御プログラムによれば、実施の形態2と同様の効果を得ることができる。特に本実施の形態では、データ振分部3は、絞込条件を用いることによってより限定されたレスポンスのみを受信することができるため、データ振分部3において不要な処理をより削減することができる。したがって、データ振分部3の負荷軽減及び高速処理化を高めることができる。   According to the monitoring control system 1 and the monitoring control program according to the present embodiment as described above, the same effects as those of the second embodiment can be obtained. In particular, in the present embodiment, the data distribution unit 3 can receive only a more limited response by using the narrow-down condition, so that unnecessary processing in the data distribution unit 3 can be further reduced. it can. Therefore, it is possible to increase the load reduction and the high-speed processing of the data distribution unit 3.

なお、本実施の形態は一例であり、様々な形式にて検索条件を記述することができる。また、監視制御システム1に検索条件をあらかじめ決めておくことにより、不要な文字列解析等を省く方法を取ることも可能である。   Note that this embodiment is merely an example, and search conditions can be described in various formats. It is also possible to take a method of omitting unnecessary character string analysis and the like by determining search conditions in the monitoring control system 1 in advance.

また、以上では、本実施の形態に係る監視制御システム1を、本実施の形態2に適用して説明したが、これに限ったものではなく、実施の形態3に適用してもよい。   In the above description, the monitoring control system 1 according to the present embodiment is applied to the second embodiment. However, the present invention is not limited to this and may be applied to the third embodiment.

<実施の形態5>
本実施の形態に係る監視制御システム1のハードウェア構成は、実施の形態2と同じであるが、本実施の形態に係る監視制御システム1の機能ブロック構成は、実施の形態2と異なる。以下、本実施の形態に係る監視制御システム1の機能ブロック構成において、実施の形態2と同一の部分には同一符号を付与し、以下においては実施の形態2と異なる部分を中心に説明する。
<Embodiment 5>
The hardware configuration of the monitoring control system 1 according to the present embodiment is the same as that of the second embodiment, but the functional block configuration of the monitoring control system 1 according to the present embodiment is different from that of the second embodiment. Hereinafter, in the functional block configuration of the supervisory control system 1 according to the present embodiment, the same reference numerals are given to the same parts as those of the second embodiment, and in the following, the parts different from the second embodiment will be mainly described.

本実施の形態に係る監視制御システム1及び監視制御プログラムにおいては、カテゴリデータ54の更新のタイミングに関わらず、データ振分部3は、指定時刻においてカテゴリデータ54を取得し、リクエスト送信元のデータ処理部2に当該カテゴリデータ54を送信するようになっている。以下、このような本実施の形態に係る監視制御システム1及び監視制御プログラムについて説明する。   In the monitoring control system 1 and the monitoring control program according to the present embodiment, the data distribution unit 3 acquires the category data 54 at the specified time regardless of the update timing of the category data 54, and the request transmission source data. The category data 54 is transmitted to the processing unit 2. Hereinafter, the monitoring control system 1 and the monitoring control program according to this embodiment will be described.

図19は、本実施の形態に係る監視制御システム1の機能ブロックを示す図である。図に示すように、本実施の形態に係る監視制御システム1は、実施の形態1に係る監視制御システム1に、タイマー実行部50を加えたものである。そして、本実施の形態に係る監視制御システム1にけるインタフェース4、リクエスト、データ振分部3及びデータ振分定義情報30は、実施の形態2のそられに一部機能が加わったものとなっている。   FIG. 19 is a diagram illustrating functional blocks of the monitoring control system 1 according to the present embodiment. As shown in the figure, the monitoring control system 1 according to the present embodiment is obtained by adding a timer execution unit 50 to the monitoring control system 1 according to the first embodiment. The interface 4, the request, the data distribution unit 3, and the data distribution definition information 30 in the monitoring control system 1 according to the present embodiment are obtained by adding a part of the functions of the second embodiment. ing.

本実施の形態においては、インタフェース4には、実施の形態1で説明した五つのメソッドに加えて、「送信指示リクエスト受信メソッド」が定義されている。この送信指示リクエスト受信メソッドは、全データ処理部2が実装するものであり、データ振分部3によって実行される。一つのデータ処理部2の送信指示リクエスト受信メソッドがデータ振分部3によって実行されると、当該一つのデータ処理部2は、データ振分部3から送信されるリクエストと実質的に同じ振分部生成リクエストを受信する。その直後に、当該一つのデータ処理部2は、当該振分部生成リクエストと同じカテゴリ7を含むレスポンスをデータ振分部3に送信する。   In the present embodiment, in addition to the five methods described in the first embodiment, a “transmission instruction request reception method” is defined in the interface 4. This transmission instruction request reception method is implemented by all the data processing units 2 and is executed by the data distribution unit 3. When a transmission instruction request reception method of one data processing unit 2 is executed by the data distribution unit 3, the one data processing unit 2 allocates substantially the same distribution as the request transmitted from the data distribution unit 3. A copy generation request is received. Immediately after that, the one data processing unit 2 transmits a response including the same category 7 as the distribution unit generation request to the data distribution unit 3.

このように、送信指示リクエスト受信メソッドは、データ処理部2において、リクエストの受信と、レスポンスの送信とがほぼ同時に行われる同期型のメソッドである。なお、説明を簡単にするため、送信指示リクエスト受信メソッドが実行されて、レスポンスをデータ振分部3に送信するように指示されるデータ処理部2を、「レスポンス送信指示対象のデータ処理部2」と、以下呼ぶこともある。   As described above, the transmission instruction request reception method is a synchronous method in which the data processing unit 2 receives a request and transmits a response almost simultaneously. For the sake of simplicity, the data processing unit 2 instructed to transmit the response to the data distribution unit 3 when the transmission instruction request reception method is executed is referred to as “response transmission instruction target data processing unit 2. May also be referred to below.

本実施の形態に係る複数のデータ処理部2は、カテゴリ7及び応答回数を含む上述のリクエストだけでなく、カテゴリ7及び応答回数に加えて指定時刻の情報を含むリクエストも生成する。   The plurality of data processing units 2 according to the present embodiment generate not only the above-described request including the category 7 and the response count, but also a request including information on the designated time in addition to the category 7 and the response count.

本実施の形態に係るデータ振分部3は、これまで説明した動作に加え、指定時刻の情報を含むリクエストを受信した場合に、図5に示されるレスポンス対象カテゴリ34のうち、当該リクエストと同じカテゴリ7を特定する。そして、データ振分部3は、特定したカテゴリ7に関連付けられたデータ処理部2のID31を、レスポンス送信指示対象のデータ処理部2のID31(以下、略して「レスポンス送信指示対象のID31」と呼ぶこともある)を取得する。   In addition to the operations described so far, the data distribution unit 3 according to the present embodiment is the same as the request in the response target category 34 shown in FIG. Specify category 7. Then, the data distribution unit 3 uses the ID 31 of the data processing unit 2 associated with the identified category 7 as the ID 31 of the data processing unit 2 that is the response transmission instruction target (hereinafter, “ID 31 of the response transmission instruction target” for short). (Sometimes called).

データ振分部3は、受信したリクエストに含まれるカテゴリ7と、取得したレスポンス送信指示対象のID31とをタイマー実行部50に付与するとともに、当該リクエストに含まれる指定時刻に起動するようにタイマー実行部50に指示する。   The data distribution unit 3 assigns the category 7 included in the received request and the acquired response transmission instruction target ID 31 to the timer execution unit 50 and executes the timer so as to start at the specified time included in the request. The unit 50 is instructed.

タイマー実行部50は、データ振分部3から付与されたカテゴリ7及びレスポンス送信指示対象のID31を保持した状態で、指定時刻までスリープする。そして、タイマー実行部50は、指定時刻に達した場合に、保持しているカテゴリ7及びレスポンス送信指示対象のID31をデータ振分部3に付与する。   The timer execution unit 50 sleeps until the designated time while holding the category 7 and the response transmission instruction target ID 31 given from the data distribution unit 3. Then, when the designated time is reached, the timer execution unit 50 assigns the category 7 and the response transmission instruction target ID 31 held to the data distribution unit 3.

データ振分部3は、タイマー実行部50からカテゴリ7及びレスポンス送信指示対象のID31を受けた場合には、当該カテゴリ7を含む「振分部生成リクエスト」を生成する。そして、データ振分部3は、振分部生成リクエストを、レスポンス送信指示対象のID31で識別されるデータ処理部2に送信する。データ振分部3は、その後に当該データ処理部2から送信されるレスポンスを、リクエスト送信元のデータ処理部2に送信する。   When receiving the category 7 and the response transmission instruction target ID 31 from the timer execution unit 50, the data distribution unit 3 generates a “distribution unit generation request” including the category 7. Then, the data distribution unit 3 transmits the distribution unit generation request to the data processing unit 2 identified by the response transmission instruction target ID 31. The data distribution unit 3 then transmits a response transmitted from the data processing unit 2 to the data processing unit 2 that is the request transmission source.

図20は、一つのデータ処理部2がカテゴリデータ54を必要とする際に行われる動作を示すフローチャートである。まず、実施の形態1で説明したステップs10〜s14(図8)が行われる。ただし、本実施の形態に係るステップs10においては、当該一つのデータ処理部2は、指定時刻を含まないリクエストと、指定時刻を含むリクエストとを選択的に生成する。   FIG. 20 is a flowchart showing an operation performed when one data processing unit 2 needs the category data 54. First, steps s10 to s14 (FIG. 8) described in the first embodiment are performed. However, in step s10 according to the present embodiment, the one data processing unit 2 selectively generates a request that does not include the specified time and a request that includes the specified time.

ステップs14後のステップs17にて、データ振分部3は、ステップs12において受信したリクエストに指定時刻の情報が含まれているかを判定する。ステップs17にて、指定時刻の情報が含まれていると判定された場合にはステップs18に進み、そうでない場合には、図20に示される工程が終了する。   In step s17 after step s14, the data distribution unit 3 determines whether the request received in step s12 includes information on the specified time. If it is determined in step s17 that the information of the designated time is included, the process proceeds to step s18, and if not, the process illustrated in FIG. 20 ends.

ステップs18にて、データ振分部3は、ステップs12にて受信したリクエストに含まれるカテゴリ7に基づいて、データ振分定義情報30からレスポンス送信指示対象のID31を取得する。具体的には、データ振分部3は、図5に示されるレスポンス対象カテゴリ34のうち、ステップs12にて受信したリクエストと同じカテゴリ7を特定し、当該カテゴリ7に関連付けられたデータ処理部2のID1を、レスポンス送信指示対象のID31として取得する。   In step s18, the data distribution unit 3 acquires the response transmission instruction target ID 31 from the data distribution definition information 30 based on the category 7 included in the request received in step s12. Specifically, the data distribution unit 3 identifies the same category 7 as the request received in step s12 among the response target categories 34 shown in FIG. 5, and the data processing unit 2 associated with the category 7 Is acquired as the ID 31 of the response transmission instruction target.

そして、データ振分部3は、ステップs12にて受信したリクエストのカテゴリ7及びレスポンス送信指示対象のID31をタイマー実行部50に付与するとともに、指定時刻に起動するようにタイマー実行部50に指示する。タイマー実行部50は、データ振分部3から付与されたカテゴリ7及びレスポンス送信指示対象のID31を保持する。そして、図20に示される工程が終了する。   Then, the data distribution unit 3 gives the category 7 of the request received in step s12 and the response transmission instruction target ID 31 to the timer execution unit 50 and instructs the timer execution unit 50 to start at the specified time. . The timer execution unit 50 holds the category 7 assigned from the data distribution unit 3 and the response transmission instruction target ID 31. And the process shown by FIG. 20 is complete | finished.

図21は、指定時刻にタイマー実行部50が起動する際に行われる動作を示すフローチャートである。ステップs60にて、タイマー実行部50は指定時刻までスリープしている。ステップs61にて、タイマー実行部50は指定時刻に起動する。そして、ステップs62にて、タイマー実行部50は、保持しているカテゴリ7及びレスポンス送信指示対象のID31をデータ振分部3に付与する。   FIG. 21 is a flowchart illustrating an operation performed when the timer execution unit 50 is activated at a specified time. In step s60, timer execution unit 50 sleeps until the designated time. In step s61, the timer execution unit 50 starts at a specified time. In step s62, the timer execution unit 50 assigns the category 7 and the response transmission instruction target ID 31 that are held to the data distribution unit 3.

ステップs63にて、データ振分部3は、タイマー実行部50から、保持していたカテゴリ7(データ振分部3がステップs12において受信したリクエストと同じカテゴリ7)を受けると、当該カテゴリ7を含む振分部生成リクエストを生成する。   In step s63, when the data distribution unit 3 receives from the timer execution unit 50 the held category 7 (same category 7 as the request received by the data distribution unit 3 in step s12), Generate distribution part generation request including.

そして、ステップs64にて、データ振分部3は、レスポンス送信指示対象のID31により識別されるレスポンス送信指示対象のデータ処理部2に対し、インタフェース4に定義されている送信指示リクエスト受信メソッドを実行し、生成した振分部生成リクエストを当該データ処理部2に送信する。   In step s64, the data distribution unit 3 executes the transmission instruction request reception method defined in the interface 4 for the response transmission instruction target data processing unit 2 identified by the response transmission instruction target ID 31. Then, the generated distribution unit generation request is transmitted to the data processing unit 2.

これにより、ステップs64では、以下のステップs64a〜s64dが行われる。まず、ステップs64aにて、レスポンス送信指示対象のデータ処理部2は、データ振分部3から、振分部生成リクエストを受信する。ステップs64bにて、レスポンス送信指示対象のデータ処理部2は、振分部生成リクエストに含まれるカテゴリ7を特定する。そして、レスポンス送信指示対象のデータ処理部2は、特定したカテゴリ7のカテゴリデータ54を、実施の形態1で説明したステップs20〜s23(図9)と同じ工程を行うことにより、デバイス9の各種データから生成する。ステップs64cにて、レスポンス送信指示対象のデータ処理部2は、当該カテゴリ7と、生成したカテゴリデータ54とを含むレスポンスを生成し、当該レスポンスをデータ振分部3に送信する。そして、ステップs64dにて、データ振分部3は、レスポンス送信指示対象のデータ処理部2からレスポンスを受信する。なお、以上のステップs64a〜s64dは、データ振分部3が振分部生成リクエストをレスポンス送信指示対象のデータ処理部2に送信してからすぐに行われる。   Thereby, in step s64, the following steps s64a to s64d are performed. First, in step s64a, the data processing unit 2 that is a response transmission instruction target receives a distribution unit generation request from the data distribution unit 3. In step s64b, the response transmission instruction target data processing unit 2 identifies the category 7 included in the distribution unit generation request. Then, the response processing instruction target data processing unit 2 performs the same process as the steps s20 to s23 (FIG. 9) described in the first embodiment on the category data 54 of the identified category 7, so that various types of the device 9 Generate from data. In step s64c, the data processing unit 2 as a response transmission instruction target generates a response including the category 7 and the generated category data 54, and transmits the response to the data distribution unit 3. In step s64d, the data distribution unit 3 receives a response from the data processing unit 2 that is a response transmission instruction target. Note that the above steps s64a to s64d are performed immediately after the data distribution unit 3 transmits the distribution unit generation request to the data processing unit 2 that is a response transmission instruction target.

ステップs65にて、データ振分部3は、実施の形態1と同様に、リクエストキャッシュ情報40のリクエスト送信元のID42からID31を取得し、当該ID31に対応するプログラムアドレス33を取得する。そして、ステップs66にて、データ振分部3は、リクエスト送信元のデータ処理部2に対してレスポンス受信メソッドを実行し、リクエスト送信元のデータ処理部2に、ステップs64dにて受信したレスポンスを送信する。これにより、リクエスト送信元のデータ処理部2は、ほぼ指定時刻において、所望のカテゴリデータ54を含むレスポンスをデータ振分部3から受信し、当該所望のカテゴリデータ54を取得することができる。   In step s65, the data distribution unit 3 acquires the ID 31 from the request transmission source ID 42 of the request cache information 40, and acquires the program address 33 corresponding to the ID 31 as in the first embodiment. In step s66, the data distribution unit 3 executes a response reception method for the request processing source data processing unit 2, and sends the response received in step s64d to the request transmission source data processing unit 2. Send. Thereby, the data processing unit 2 of the request transmission source can receive the response including the desired category data 54 from the data distribution unit 3 at almost the specified time and acquire the desired category data 54.

ステップs67にて、実施の形態1のステップs28と同様に、データ振分部3は、リクエストキャッシュ情報40の応答回数43を更新する。そして、ステップs68にて、データ振分部3は、応答回数43が、「1」以上、または、「*」であるかを判定する。ステップs68において、応答回数43が「1」以上または「*」であると判定した場合にはステップs69に進み、そうでない場合には、図21に示される工程が終了する。ステップs69にて、データ振分部3は、図20に示されるステップs18と同様に、カテゴリ7及びレスポンス送信指示対象のID31をタイマー実行部50に付与するとともに、指定時刻に起動するようにタイマー実行部50に指示する。   In step s67, as in step s28 in the first embodiment, the data distribution unit 3 updates the response count 43 of the request cache information 40. In step s68, the data distribution unit 3 determines whether the response count 43 is “1” or more or “*”. If it is determined in step s68 that the response count 43 is “1” or more or “*”, the process proceeds to step s69. Otherwise, the process illustrated in FIG. 21 ends. In step s69, as in step s18 shown in FIG. 20, the data distribution unit 3 gives the category 7 and the response transmission instruction target ID 31 to the timer execution unit 50 and starts the timer at the specified time. The execution unit 50 is instructed.

以上のような本実施の形態に係る監視制御システム1及び監視制御プログラムによれば、リクエストを送信したデータ処理部2は、カテゴリデータ54の更新のタイミングに関わらず、ほぼ指定時刻にカテゴリデータ54を受信することができる。したがって、指定時刻が、当該データ処理部2がカテゴリデータ54を処理する少し前に設定されている場合には、データ処理部2は、入出力点から収集されて間もないデータを処理することができる。   According to the monitoring control system 1 and the monitoring control program according to the present embodiment as described above, the data processing unit 2 that has transmitted the request receives the category data 54 almost at the specified time regardless of the update timing of the category data 54. Can be received. Therefore, when the designated time is set shortly before the data processing unit 2 processes the category data 54, the data processing unit 2 processes the data that has been collected from the input / output points. Can do.

<実施の形態6>
本実施の形態に係る監視制御システム1のハードウェア構成及び機能ブロック構成は、実施の形態1に係る監視制御システム1のハードウェア構成及び機能ブロック構成とそれぞれ同じである。以下、本実施の形態に係る監視制御システム1のハードウェア構成、及び、機能ブロック構成において、実施の形態1と同一の部分には同一符号を付与し、以下においては実施の形態1と異なる部分を中心に説明する。
<Embodiment 6>
The hardware configuration and functional block configuration of the monitoring control system 1 according to the present embodiment are the same as the hardware configuration and functional block configuration of the monitoring control system 1 according to the first embodiment, respectively. Hereinafter, in the hardware configuration and the functional block configuration of the monitoring control system 1 according to the present embodiment, the same reference numerals are given to the same parts as those in the first embodiment, and the following parts different from the first embodiment. The explanation will be focused on.

図22は、一つのカテゴリデータ54を示す図である。この図22には、図3に示されていた1時間カテゴリ7phのカテゴリデータ54が示されている。図22に示すように、当該一つのカテゴリデータ54は複数の属性値53から構成されており、1時間カテゴリ7phは複数の属性52から構成されている。   FIG. 22 is a diagram showing one category data 54. FIG. 22 shows the category data 54 of the one-hour category 7ph shown in FIG. As shown in FIG. 22, the one category data 54 is composed of a plurality of attribute values 53, and the one-hour category 7 ph is composed of a plurality of attributes 52.

本実施の形態では、カテゴリデータ54において、周期カテゴリ7pを構成する複数の属性52のいくつかを「仮想カテゴリ7v」とし、仮想カテゴリ7vに対応する属性値53を「仮想カテゴリデータ54v」としている。そして、本実施の形態に係る複数のデータ処理部2は、一つのカテゴリデータ54を複数の仮想カテゴリ7pにグループ化して複数の仮想カテゴリデータ54vを生成する。ここでは、周期カテゴリ7pについて説明しているが、イベントカテゴリ7eについても同様である。なお、仮想カテゴリ7vは、図22に示されるように、一つの属性52であってもよく、属性52の一部であってもよい。また、仮想カテゴリデータ54vとする属性値53は、例えば、通常のカテゴリ7が管理している属性値53をデプリケートして取得されてもよいし、必要に応じてカテゴリ7が管理している属性値53から取得されてもよい。   In the present embodiment, in the category data 54, some of the plurality of attributes 52 constituting the periodic category 7p are “virtual category 7v”, and the attribute value 53 corresponding to the virtual category 7v is “virtual category data 54v”. . Then, the plurality of data processing units 2 according to the present embodiment group one category data 54 into a plurality of virtual categories 7p to generate a plurality of virtual category data 54v. Although the cycle category 7p is described here, the same applies to the event category 7e. The virtual category 7v may be one attribute 52 or a part of the attribute 52 as shown in FIG. Further, the attribute value 53 used as the virtual category data 54v may be acquired by, for example, replicating the attribute value 53 managed by the normal category 7, or the attribute managed by the category 7 as necessary. It may be obtained from the value 53.

そして、複数のデータ処理部2は、仮想カテゴリ7v及び当該仮想カテゴリ7vに対応する仮想カテゴリデータ54vを含む仮想レスポンスと、仮想カテゴリ7vを含む仮想リクエストとを、それぞれ、上述のレスポンスと、上述のリクエストとして生成する。つまり、仮想レスポンス及び仮想リクエストが、これまで説明してきたレスポンス及びリクエストと同等に扱われる。   Then, the plurality of data processing units 2 send the virtual response including the virtual category 7v and the virtual category data 54v corresponding to the virtual category 7v, and the virtual request including the virtual category 7v, respectively, Generate as a request. That is, the virtual response and the virtual request are handled in the same manner as the response and request described so far.

以上のような本実施の形態に係る監視制御システム1及び監視制御プログラムによれば、カテゴリデータ54のうち必要なデータを、仮想カテゴリデータ54vとして抜き出すことができる。したがって、送受信すべきレスポンス及びリクエストのデータ量を減らすことができるので高速処理化が可能となる。   According to the monitoring control system 1 and the monitoring control program according to the present embodiment as described above, necessary data in the category data 54 can be extracted as the virtual category data 54v. Accordingly, the amount of response and request data to be transmitted / received can be reduced, thereby enabling high-speed processing.

<実施の形態7>
本実施の形態に係る監視制御システム1のハードウェア構成は、実施の形態5と同じであるが、本実施の形態に係る監視制御システム1の機能ブロック構成は、実施の形態5と異なる。以下、本実施の形態に係る監視制御システム1の機能ブロック構成において、実施の形態5と同一の部分には同一符号を付与し、以下においては実施の形態5と異なる部分を中心に説明する。
<Embodiment 7>
The hardware configuration of the monitoring control system 1 according to the present embodiment is the same as that of the fifth embodiment, but the functional block configuration of the monitoring control system 1 according to the present embodiment is different from that of the fifth embodiment. Hereinafter, in the functional block configuration of the monitoring control system 1 according to the present embodiment, the same reference numerals are given to the same parts as those in the fifth embodiment, and the parts different from those in the fifth embodiment will be mainly described below.

本実施の形態に係る監視制御システム1及び監視制御プログラムにおいては、データ振分部3とレスポンス等を送受信するデータ処理部2を別のデータ処理部2に変更したり、複数のデータ処理部2にデータ処理部2を追加したりすることが可能となっている。以下、このような本実施の形態に係る監視制御システム1及び監視制御プログラムについて説明する。   In the monitoring control system 1 and the monitoring control program according to the present embodiment, the data processing unit 2 that transmits and receives a response and the like to the data distribution unit 3 is changed to another data processing unit 2 or a plurality of data processing units 2 It is possible to add a data processing unit 2. Hereinafter, the monitoring control system 1 and the monitoring control program according to this embodiment will be described.

図23は、本実施の形態に係る監視制御システム1の機能ブロックを示す図である。図に示すように、本実施の形態に係る監視制御システム1は、実施の形態5に係る監視制御システム1に、候補データ処理組合設計部60と、候補データ処理記憶部61と、候補データ処理組合検証部62とを加えたものである。   FIG. 23 is a diagram showing functional blocks of the supervisory control system 1 according to the present embodiment. As shown in the figure, the monitoring control system 1 according to the present embodiment is different from the monitoring control system 1 according to the fifth embodiment in that the candidate data processing combination design unit 60, the candidate data processing storage unit 61, and the candidate data processing The union verification unit 62 is added.

候補データ処理組合設計部60は、複数のデータ処理部2として使用される複数の候補データ処理部68の組合せを行う設計ツールである。具体的には、利用者等は、候補データ処理組合設計部60においてGUI(Graphical User Interface)を用いて、組合わされた複数の候補データ処理部68のうちの一つの候補データ処理部68を別の候補データ処理部68に変更したり、当該複数の候補データ処理部68に新たな候補データ処理部68を追加したりする。そして、候補データ処理組合設計部60において登録操作が行われた場合には、複数の候補データ処理部68の組合に基づいて新たなデータ振分定義情報30が生成され、当該新たなデータ振分定義情報30がデータ振分定義記憶部5に記憶される。   The candidate data processing combination design unit 60 is a design tool that combines a plurality of candidate data processing units 68 used as the plurality of data processing units 2. Specifically, the user or the like separates one candidate data processing unit 68 from among a plurality of combined candidate data processing units 68 using a GUI (Graphical User Interface) in the candidate data processing combination design unit 60. The candidate data processing unit 68 is changed, or a new candidate data processing unit 68 is added to the plurality of candidate data processing units 68. When the candidate data processing combination design unit 60 performs a registration operation, new data distribution definition information 30 is generated based on the combination of the plurality of candidate data processing units 68, and the new data distribution Definition information 30 is stored in the data distribution definition storage unit 5.

新たなデータ振分定義情報30がデータ振分定義記憶部5に記憶されることから、候補データ処理組合設計部60で組合わされた複数の候補データ処理部68が、複数のデータ処理部2として使用される。本実施の形態では、以上のように候補データ処理部68の変更及び追加を行うことにより、データ処理部2の変更及び追加が可能となっている。   Since the new data distribution definition information 30 is stored in the data distribution definition storage unit 5, a plurality of candidate data processing units 68 combined in the candidate data processing combination design unit 60 are used as a plurality of data processing units 2. used. In the present embodiment, the data processing unit 2 can be changed and added by changing and adding the candidate data processing unit 68 as described above.

候補データ処理組合検証部62は、候補データ処理組合設計部60での複数の候補データ処理部68の組合せが正しいか否かを検証する機能を有する。   The candidate data processing combination verification unit 62 has a function of verifying whether the combination of the plurality of candidate data processing units 68 in the candidate data processing combination design unit 60 is correct.

候補データ処理記憶部61は、候補データ処理組合設計部60の組合せを行う際に用いられる候補データ処理定義情報63を記憶している。候補データ処理定義情報63は、複数の候補データ処理部68と複数のカテゴリ7とを関連付けた情報を含む。図24は、候補データ処理定義情報63の一例を示す図である。図に示されるように、候補データ処理定義情報63は、ID64、データ処理名65、レスポンス対象カテゴリ66及びリクエスト対象カテゴリ67とから構成されている。ID64は、複数の候補データ処理部68のそれぞれを候補データ処理組合設計部60にて一意に識別するための番号を示す。データ処理名65は、候補データ処理組合設計部61の画面上において、候補データ処理部68として表示される名称を示す。レスポンス対象カテゴリ66は、一つの候補データ処理部68がデータ振分部3に送信するレスポンスに含めることが可能なカテゴリ7を示す。リクエスト対象カテゴリ67は、一つの候補データ処理部68がデータ振分部3に送信するリクエストに含めることが可能なカテゴリ7を示す。   The candidate data processing storage unit 61 stores candidate data processing definition information 63 used when the candidate data processing combination design unit 60 is combined. The candidate data processing definition information 63 includes information in which a plurality of candidate data processing units 68 are associated with a plurality of categories 7. FIG. 24 is a diagram illustrating an example of the candidate data processing definition information 63. As shown in the figure, the candidate data processing definition information 63 includes an ID 64, a data processing name 65, a response target category 66, and a request target category 67. The ID 64 indicates a number for uniquely identifying each of the plurality of candidate data processing units 68 by the candidate data processing combination design unit 60. The data processing name 65 indicates a name displayed as the candidate data processing unit 68 on the screen of the candidate data processing combination design unit 61. The response target category 66 indicates a category 7 that can be included in a response that one candidate data processing unit 68 transmits to the data distribution unit 3. The request target category 67 indicates a category 7 that can be included in a request that one candidate data processing unit 68 transmits to the data distribution unit 3.

次に、本実施の形態に係る監視制御システム1の動作について説明する。図25は、候補データ処理組合設計部60において、候補データ処理部68の変更が行われる際の動作を示すフローチャートである。   Next, the operation of the monitoring control system 1 according to the present embodiment will be described. FIG. 25 is a flowchart illustrating an operation when the candidate data processing unit 68 is changed in the candidate data processing combination design unit 60.

まず、ステップs80にて、候補データ処理組合設計部60は起動すると、図26に示されるように、複数の候補データ処理部68の組合せを表示する編集領域71と、複数の候補データ処理部68から一つの候補データ処理部68を選択するための選択領域72と、検索ボタン73と、一覧ボタン74と、設定ボタン75と、登録ボタン76とを画面70に表示する。   First, when the candidate data processing combination design unit 60 is activated in step s80, as shown in FIG. 26, an editing area 71 displaying a combination of a plurality of candidate data processing units 68 and a plurality of candidate data processing units 68. A selection area 72 for selecting one candidate data processing unit 68, a search button 73, a list button 74, a setting button 75, and a registration button 76 are displayed on the screen 70.

ステップs81にて、候補データ処理組合設計部60は、候補データ処理記憶部61に記憶されている候補データ処理定義情報63を読込む。ステップs82にて、候補データ処理組合設計部60は、データ振分定義記憶部5に記憶されているデータ振分定義情報30を読込む。そして、図27に示されるように、候補データ処理組合設計部60は、複数のデータ処理部2として使用されている複数の候補データ処理部68の組合せを編集領域71に表示する。   In step s 81, candidate data processing combination design unit 60 reads candidate data processing definition information 63 stored in candidate data processing storage unit 61. In step s82, the candidate data processing combination design unit 60 reads the data distribution definition information 30 stored in the data distribution definition storage unit 5. Then, as shown in FIG. 27, the candidate data processing combination design unit 60 displays the combination of the plurality of candidate data processing units 68 used as the plurality of data processing units 2 in the editing area 71.

ここで、例えば、図24において、「データ収集データ処理」の候補データ処理部68には、レスポンス対象カテゴリ66として「カレント値カテゴリ」のカテゴリ7が関連付けられている。これは、「データ収集データ処理」の候補データ処理部68は、「カレント値カテゴリ」のカテゴリ7を含むレスポンスを生成可能であることを意味している。一方、「カレント値管理データ処理」の候補データ処理部68には、リクエスト対象カテゴリ67として「カレント値カテゴリ」が関連付けられている。これは、「カレント値管理データ処理」の候補データ処理部68は、「カレント値カテゴリ」のカテゴリ7を含むリクエストを生成可能であることを意味している。   Here, for example, in FIG. 24, the candidate data processing unit 68 of “data collection data processing” is associated with the category 7 of “current value category” as the response target category 66. This means that the candidate data processing unit 68 of “data collection data processing” can generate a response including the category 7 of “current value category”. On the other hand, “current value category” is associated as the request target category 67 with the candidate data processing unit 68 of “current value management data processing”. This means that the candidate data processing unit 68 of “current value management data processing” can generate a request including the category 7 of “current value category”.

したがって、これら候補データ処理部68がデータ処理部2として使用される場合には、データ振分部3の動作により、「カレント値カテゴリ」のカテゴリ7を含むレスポンスが、「データ収集データ処理」のデータ処理部2から、「カレント値管理データ処理」のデータ処理部2に送信されることになる。図27に示される矢印78は、候補データ処理部68同士においてレスポンスが送信される方向を示す。他の候補データ処理部68同士の間においても、矢印77が同様に表示されている。   Therefore, when these candidate data processing units 68 are used as the data processing unit 2, the response including the category 7 of “current value category” is “data collection data processing” by the operation of the data distribution unit 3. The data processing unit 2 transmits the data to the data processing unit 2 of “current value management data processing”. An arrow 78 shown in FIG. 27 indicates a direction in which a response is transmitted between the candidate data processing units 68. An arrow 77 is similarly displayed between the other candidate data processing units 68.

ステップs83にて、編集領域71に表示された複数の候補データ処理部68のうち、編集対象の候補データ処理部68が選択される。選択後、編集領域71において、編集対象の候補データ処理部68が、他の候補データ処理部68と区別可能となるように、そのブロックにはハッチングなどが施される。   In step s83, the candidate data processing unit 68 to be edited is selected from the plurality of candidate data processing units 68 displayed in the editing area 71. After the selection, the block is hatched or the like so that the candidate data processing unit 68 to be edited can be distinguished from the other candidate data processing units 68 in the editing area 71.

ステップs84にて検索ボタン73が押下げられると、候補データ処理組合設計部60は、レスポンス対象カテゴリ66から、編集対象の候補データ処理部68と同等のカテゴリ7が関連付けられた候補データ処理部68を取得する。例えば、図28においては、編集対象の候補データ処理部68として、「カレント値管理データ処理」の候補データ処理部68が選択されている。図24において、この「カレント値管理データ処理」の候補データ処理部68に関連付けられている、レスポンス対象カテゴリ66のカテゴリ7は、「1分カレント値カテゴリ」である。そして、同図において、「カレント値管理データ処理」の候補データ処理部68以外に、「1分カレント値カテゴリ」と関連付けられているのは、「スタブカレント値管理データ処理」の候補データ処理部68である。したがって、この場合にステップs84が行われる場合には、候補データ処理組合設計部60は、「スタブカレント値管理データ処理」を取得する。なお、スタブカレント値管理データ処理の候補データ処理部68は、データ処理部2として使用されると、模擬的な試験を行うことを可能にする。   When the search button 73 is pressed in step s84, the candidate data processing combination design unit 60 associates the response target category 66 with the candidate data processing unit 68 associated with the category 7 equivalent to the candidate data processing unit 68 to be edited. To get. For example, in FIG. 28, the candidate data processing unit 68 of “current value management data processing” is selected as the candidate data processing unit 68 to be edited. In FIG. 24, the category 7 of the response target category 66 associated with the candidate data processing unit 68 of this “current value management data processing” is “1 minute current value category”. In addition to the candidate data processing unit 68 for “current value management data processing”, the “1 minute current value category” is associated with the candidate data processing unit for “stub current value management data processing”. 68. Accordingly, when step s84 is performed in this case, the candidate data processing combination design unit 60 acquires “stub current value management data processing”. Note that the candidate data processing unit 68 of the stub current value management data processing makes it possible to perform a simulated test when used as the data processing unit 2.

ステップs85にて、候補データ処理組合設計部60は、編集対象の候補データ処理部68、及び、取得された候補データ処理部68を選択領域72に表示する。例えば、図28においては、編集対象の候補データ処理部68として「カレント値管理データ処理」が選択領域72に表示され、取得された候補データ処理部68として「スタブカレント値管理データ処理」が選択領域72に表示されている。   In step s85, the candidate data processing combination design unit 60 displays the candidate data processing unit 68 to be edited and the acquired candidate data processing unit 68 in the selection area 72. For example, in FIG. 28, “current value management data processing” is displayed in the selection area 72 as the candidate data processing unit 68 to be edited, and “stub current value management data processing” is selected as the acquired candidate data processing unit 68. It is displayed in area 72.

ステップs86にて、選択領域72に表示されている、編集対象の候補データ処理部68と別の候補データ処理部68が選択されてから設定ボタン75が押下げられると、候補データ処理組合設計部60は、編集対象の候補データ処理部68に代えて、選択された別の候補データ処理部68を編集領域71に表示する。例えば、図29には、図28に示される「カレント値管理データ処理」の候補データ処理部68に代えて、「スタブカレント値管理データ処理」の候補データ処理部68が編集領域71に表示される。   When the setting button 75 is pressed after the candidate data processing unit 68 to be edited and another candidate data processing unit 68 displayed in the selection area 72 are selected in step s86, the candidate data processing combination design unit 60 displays the selected candidate data processing unit 68 in the editing area 71 instead of the candidate data processing unit 68 to be edited. For example, in FIG. 29, a candidate data processing unit 68 of “stub current value management data processing” is displayed in the editing area 71 instead of the candidate data processing unit 68 of “current value management data processing” shown in FIG. The

この変更に伴い、候補データ処理組合設計部60は、候補データ処理部68同士の間におけるレスポンスの送信方向を示す矢印77も変更する。例えば、図24に示されるリクエスト対象カテゴリ66において、「スタブカレント値データ処理」の候補データ処理部68にはカテゴリ7が登録されていない。つまり、当該候補データ処理部68がデータ処理部2として使用される場合には、当該データ処理部2は他のデータ処理部2からのレスポンスを必要としない。したがって、図28において「データ収集データ処理」の候補データ処理部68と、「カレント値管理データ処理」の候補データ処理68との間を接続していた矢印77が、図29に示される編集領域71においては消滅する。   Along with this change, the candidate data processing combination design unit 60 also changes the arrow 77 indicating the transmission direction of the response between the candidate data processing units 68. For example, in the request target category 66 shown in FIG. 24, the category 7 is not registered in the candidate data processing unit 68 of the “stub current value data processing”. That is, when the candidate data processing unit 68 is used as the data processing unit 2, the data processing unit 2 does not require a response from the other data processing unit 2. Therefore, in FIG. 28, the arrow 77 connecting the candidate data processing unit 68 of “data collection data processing” and the candidate data processing 68 of “current value management data processing” is the editing area shown in FIG. At 71, it disappears.

ステップs86後のステップs87にて、候補データ処理組合検証部62が、編集領域71における複数の候補データ処理部68の組合せが正しいかを検証する。本実施の形態では、候補データ処理組合検証部62は、編集領域71に表示される複数の候補データ処理部68が管理するレスポンスにおいて、カテゴリ7が重複しているかを検証する。つまり、候補データ処理組合検証部62は、編集領域71に表示される複数の候補データ処理部68に関して、図24に示されるレスポンス対象カテゴリ66のカテゴリ7が重複しているかを検証する。なお、実施の形態1のようなシステム構成に対応するため、リクエスト対象カテゴリ67のカテゴリ7が重複しているかを合わせて検証することもできる。   In step s87 after step s86, the candidate data processing combination verification unit 62 verifies whether the combination of the plurality of candidate data processing units 68 in the editing area 71 is correct. In the present embodiment, the candidate data processing combination verification unit 62 verifies whether the category 7 is duplicated in the responses managed by the plurality of candidate data processing units 68 displayed in the editing area 71. That is, the candidate data processing combination verification unit 62 verifies whether the category 7 of the response target category 66 shown in FIG. 24 overlaps with respect to the plurality of candidate data processing units 68 displayed in the editing area 71. In order to correspond to the system configuration as in the first embodiment, it is possible to verify whether the category 7 of the request target category 67 is duplicated.

本実施の形態に係る候補データ処理組合検証部62は、この検証に加えて、編集領域71に表示される複数の候補データ処理部68が生成するリクエストに対し、それと同じカテゴリ7を含むレスポンスが生成されるかを検証する。つまり、候補データ処理組合検証部62は、編集領域71に表示される複数の候補データ処理部68において、図24に示されるレスポンス対象カテゴリ66のカテゴリ7が、リクエスト対象カテゴリ67のカテゴリ7を含んでいるかを検証する。これにより、組合せ後の複数の候補データ処理部68が複数のデータ処理部2として使用される場合に、データ処理部2は、リクエストと同じカテゴリ7を含むレスポンスを確実に受信することができる。   In addition to this verification, the candidate data processing combination verification unit 62 according to the present embodiment receives a response including the same category 7 in response to a request generated by the plurality of candidate data processing units 68 displayed in the editing area 71. Verify whether it is generated. That is, in the candidate data processing combination verification unit 62, in the plurality of candidate data processing units 68 displayed in the editing area 71, the category 7 of the response target category 66 shown in FIG. Verify whether it is. Thereby, when a plurality of candidate data processing units 68 after combination are used as a plurality of data processing units 2, the data processing unit 2 can reliably receive a response including the same category 7 as the request.

ステップs87において、上述の二つの検証の結果、いずれも正しいと判定された場合には図25に示される工程が終了し、二つの検証のうちいずれか一つでも正しくないと判定された場合にはステップs88に進む。ステップs88にて、候補データ処理組合設計部60は、組合せが正しくない旨を画面70に表示した後、ステップs82に進んで上述と同じ工程が行われる。   In step s87, if it is determined that both are correct as a result of the above-described two verifications, the process shown in FIG. 25 ends, and if it is determined that any one of the two verifications is not correct. Advances to step s88. In step s88, the candidate data processing combination design unit 60 displays on the screen 70 that the combination is not correct, and then proceeds to step s82 to perform the same process as described above.

以上、候補データ処理部68の変更について詳細に説明したが、新たな候補データ処理部2の追加は変更とほぼ同様であるため、簡単に以下説明する。   Although the change of the candidate data processing unit 68 has been described in detail above, the addition of a new candidate data processing unit 2 is almost the same as the change, and will be briefly described below.

候補データ処理組合設計部60は、検索ボタン73または一覧ボタン74が押下げられた際に、候補データ処理定義情報63に登録されている候補データ処理部68の全てを選択領域72に表示する。そして、選択領域72に表示されている全候補データ処理部68のうち一つの候補データ処理部68が選択されてから設定ボタン75が押下げられると、候補データ処理組合設計部60は、選択された候補データ処理部68を編集領域71の空白部分に追加して表示する。この追加に伴い、候補データ処理組合設計部60は、候補データ処理部68同士の間におけるレスポンスの送信が新たに生じた場合には、当該送信方向を示す矢印77も追加する。そして、ステップs86以降の工程と同様の工程を行い、候補データ処理組合検証部62により検証が行われる。   When the search button 73 or the list button 74 is pressed, the candidate data processing combination design unit 60 displays all of the candidate data processing units 68 registered in the candidate data processing definition information 63 in the selection area 72. When one of the candidate data processing units 68 displayed in the selection area 72 is selected and the setting button 75 is pressed, the candidate data processing combination design unit 60 is selected. The candidate data processing unit 68 is added to the blank area of the editing area 71 and displayed. With this addition, the candidate data processing combination design unit 60 also adds an arrow 77 indicating the transmission direction when a new response is transmitted between the candidate data processing units 68. And the process similar to the process after step s86 is performed, and verification is performed by the candidate data processing combination verification part 62. FIG.

図30は、候補データ処理組合設計部60が、以上の工程により行われた設計情報を、データ振分定義記憶部5にデータ振分定義情報30として記憶する動作を示すフローチャートである。この動作は、候補データ処理組合設計部60における候補データ処理部68の組合せ後に行われる。   FIG. 30 is a flowchart showing an operation in which the candidate data processing combination design unit 60 stores the design information performed by the above steps as the data distribution definition information 30 in the data distribution definition storage unit 5. This operation is performed after the candidate data processing unit 68 is combined in the candidate data processing combination design unit 60.

ステップs90にて、画面70に表示されている登録ボタン76が押下げられると、ステップs91にて、候補データ処理組合設計部60は、データ振分定義記憶部5に記憶される新たなデータ振分定義情報30の生成を開始する。具体的には、まず、ステップs92にて、候補データ処理組合設計部60は、編集領域71に表示されている複数の候補データ処理部68の一覧を取得する。ステップs93にて、候補データ処理組合設計部60は、取得した全候補データ処理部68に対してID31となるIDを付与する。   When the registration button 76 displayed on the screen 70 is pressed in step s90, the candidate data processing combination design unit 60 selects a new data allocation stored in the data allocation definition storage unit 5 in step s91. Generation of the minute definition information 30 is started. Specifically, first, in step s92, the candidate data processing combination design unit 60 acquires a list of a plurality of candidate data processing units 68 displayed in the editing area 71. In step s93, candidate data processing combination design unit 60 assigns ID 31 to all acquired candidate data processing units 68.

ステップs90前において候補データ処理部68を変更する設計が行われた場合には、ステップs94にて、候補データ処理組合設計部60は、プログラムファイル32となる情報を変更する。ステップs90前において、候補データ処理部68を追加する設計が行われた場合には、同ステップs94にて、候補データ処理組合設計部60は、プログラムファイル32、レスポンス対象カテゴリ34、及び、リクエスト対象カテゴリカテゴリ35となる情報を新たなデータ振分定義情報30に追加する。これにより、データ振分定義情報30が新規に生成される。   If the design for changing the candidate data processing unit 68 is performed before step s90, the candidate data processing combination design unit 60 changes the information to be the program file 32 in step s94. If the design for adding the candidate data processing unit 68 is performed before step s90, the candidate data processing combination design unit 60 determines that the program file 32, the response target category 34, and the request target in step s94. Information that becomes the category category 35 is added to the new data distribution definition information 30. Thereby, the data distribution definition information 30 is newly generated.

ステップs95にて、候補データ処理組合設計部60は、新規に生成された新たなデータ振分定義情報30を、データ振分定義情報30としてデータ振分定義部5に保存する。こうして、候補データ処理部68を変更する設計が行われて、登録ボタン76が押下された場合には、データ処理部2が変更される。   In step s95, the candidate data processing combination design unit 60 stores the newly generated new data distribution definition information 30 in the data distribution definition unit 5 as the data distribution definition information 30. Thus, when the candidate data processing unit 68 is designed to be changed and the registration button 76 is pressed, the data processing unit 2 is changed.

以上のような本実施の形態に係る監視制御システム1によれば、互いにデータを送受信するデータ処理部2を、当該データ処理部2と同等のデータ処理部2に容易に代えることができる。特に、別のデータ処理部2が、スタブデータ値管理データ処理の機能を有する場合には、デバイス9などのハードウェアがなくても監視制御システム1を試験することができるので有効である。   According to the monitoring control system 1 according to the present embodiment as described above, the data processing unit 2 that transmits and receives data to each other can be easily replaced with a data processing unit 2 equivalent to the data processing unit 2. In particular, when another data processing unit 2 has a function of stub data value management data processing, it is effective because the monitoring control system 1 can be tested without hardware such as the device 9.

また、本実施の形態では、候補データ処理組合設計部60が追加及び変更した複数のデータ処理部2に関して、当該複数のデータ処理部2が生成するレスポンスに含まれるカテゴリ7が重複しているかが検証されることから、一つのリクエストが、二つ以上のデータ処理部2に送信されるのを防ぐことができる。また、候補データ処理組合設計部60が追加及び変更した複数のデータ処理部2に関して、当該複数のデータ処理部2が生成するレスポンスに含まれるカテゴリ7が、リクエストに含まれるカテゴリ7を含んでいるかを検証する。これにより、データ処理部2がリクエストを送信すれば、当該データ処理部2は、当該リクエストと同じカテゴリ7を含むレスポンスを確実に受信することができる。   In this embodiment, regarding the plurality of data processing units 2 added and changed by the candidate data processing combination design unit 60, whether or not the category 7 included in the response generated by the plurality of data processing units 2 is duplicated. Since it is verified, it is possible to prevent one request from being transmitted to two or more data processing units 2. In addition, regarding the plurality of data processing units 2 added and changed by the candidate data processing combination design unit 60, does the category 7 included in the response generated by the plurality of data processing units 2 include the category 7 included in the request? To verify. Thereby, if the data processing unit 2 transmits a request, the data processing unit 2 can reliably receive a response including the same category 7 as the request.

以上、本発明の実施の形態を詳細に開示し記述したが、以上の記述は本発明の適用可能な局面を例示したものにすぎず、本発明はこれに限定されるものではない。すなわち、記述した局面に対応する様々な例を、この発明の範囲から逸脱すること無い範囲内で考えることが可能となる。   As mentioned above, although embodiment of this invention was disclosed and described in detail, the above description is only what illustrated the aspect which can apply this invention, and this invention is not limited to this. In other words, various examples corresponding to the described aspects can be considered without departing from the scope of the present invention.

1 監視制御システム、2 データ処理部、3 データ振分部、4 インタフェース、5 データ振分定義記憶部、7 カテゴリ、7v 仮想カテゴリ、9 デバイス、50 タイマー実行部、54 カテゴリデータ、54v 仮想カテゴリデータ、60 候補データ処理組合設計部、61 データ処理機億部、62 候補データ処理組合検証部、68 候補データ処理部。   1 monitoring control system, 2 data processing unit, 3 data distribution unit, 4 interface, 5 data distribution definition storage unit, 7 categories, 7v virtual category, 9 devices, 50 timer execution unit, 54 category data, 54v virtual category data 60 candidate data processing association design department, 61 data processor billion, 62 candidate data processing association verification section, 68 candidate data processing section.

Claims (10)

複数のデバイスの入出力点から収集する複数の数値データ及び複数種類のイベントデータを監視制御する監視制御システムであって、
所定の複数の数値データ及び前記複数種類のイベントデータを複数のカテゴリにグループ化して複数のカテゴリデータを生成し、前記カテゴリ及びそれに対応する前記カテゴリデータを含むレスポンスと、前記カテゴリを含むリクエストとを生成する複数のデータ処理部と、
インタフェースを介して前記複数のデータ処理部との間で前記レスポンスを送受信し、かつ、前記インタフェースを介して前記複数のデータ処理部から前記リクエストを受信するデータ振分部と
を備え、
前記複数のデータ処理部のそれぞれは、前記データ振分部からの前記レスポンスを受信した場合に、当該レスポンスに含まれる前記カテゴリデータを用いて所定の処理を行い、
前記データ振分部は、
リクエスト送信元の前記データ処理部から受信した前記リクエストに含まれる前記カテゴリと、レスポンス送信元の前記データ処理部から受信した前記レスポンスに含まれる前記カテゴリとに基づいて、当該レスポンスを前記リクエスト送信元のデータ処理部に送信する、監視制御システム。
A monitoring control system for monitoring and controlling a plurality of numerical data and a plurality of types of event data collected from input / output points of a plurality of devices,
A plurality of predetermined numerical data and the plurality of types of event data are grouped into a plurality of categories to generate a plurality of category data, a response including the category and the category data corresponding to the category, and a request including the category A plurality of data processing units to be generated;
A data distribution unit that transmits / receives the response to / from the plurality of data processing units via an interface and receives the request from the plurality of data processing units via the interface;
Each of the plurality of data processing units, when receiving the response from the data distribution unit, performs a predetermined process using the category data included in the response,
The data distribution unit
Based on the category included in the request received from the data processing unit of the request transmission source and the category included in the response received from the data processing unit of the response transmission source, the response is transmitted to the request transmission source. Monitoring control system that transmits to the data processing unit.
請求項1に記載の監視制御システムであって、
前記複数のデータ処理部は、前記入出力点から収集された前記数値データを加工し、
前記所定の複数の数値データは、収集された前記数値データ及び加工された前記数値データを含み、
前記複数のカテゴリは、複数種類の周期と、複数種類のイベントとを含み、
前記複数のデータ処理部は、
前記複数の所定の数値データを前記周期の種類ごとにグループ化して前記複数のカテゴリデータをそれぞれ生成するとともに、前記複数種類のイベントデータを前記イベントの種類ごとにグループ化して前記複数のカテゴリデータを生成する、監視制御システム。
The monitoring control system according to claim 1,
The plurality of data processing units process the numerical data collected from the input / output points,
The predetermined plurality of numerical data includes the collected numerical data and the processed numerical data,
The plurality of categories include a plurality of types of cycles and a plurality of types of events,
The plurality of data processing units are:
The plurality of predetermined numerical data are grouped for each type of period to generate the plurality of category data, and the plurality of types of event data are grouped for each type of event, and the plurality of category data is Generate a supervisory control system.
請求項1または請求項2に記載の監視制御システムであって、
前記複数のデータ処理を記憶するデータ振分定義記憶部
をさらに備え、
前記データ振分部は、前記データ振分定義記憶部に記憶されている前記複数のデータ処理部を、前記インタフェースを介して起動及び停止する、監視制御システム。
The monitoring control system according to claim 1 or 2,
A data distribution definition storage unit for storing the plurality of data processes;
The monitoring and control system, wherein the data distribution unit starts and stops the plurality of data processing units stored in the data distribution definition storage unit via the interface.
請求項1乃至請求項3のいずれかに記載の監視制御システムであって、
前記複数のデータ処理部が生成する前記リクエストに含まれる前記複数のカテゴリは、互いに異なり、
前記複数のデータ処理部と、前記複数のカテゴリとを関連付けて記憶するデータ振分定義記憶部
をさらに備え、
前記データ振分部は、
前記リクエスト送信元のデータ処理部からの前記リクエストを受信し、かつ、前記レスポンス送信元のデータ処理部からの前記レスポンスを受信した場合に、当該リクエストに含まれる前記複数のカテゴリと当該レスポンスに含まれる前記カテゴリとが互いに一致するかを判定し、これらが一致すると判定した際に、当該レスポンスを、当該カテゴリに関連付けられた一つの前記データ処理部に送信する、監視制御システム。
A monitoring control system according to any one of claims 1 to 3,
The plurality of categories included in the requests generated by the plurality of data processing units are different from each other,
A data distribution definition storage unit that associates and stores the plurality of data processing units and the plurality of categories;
The data distribution unit
When the request from the data processing unit of the request transmission source is received and the response from the data processing unit of the response transmission source is received, the plurality of categories included in the request and the response include A monitoring control system that determines whether or not the categories match each other, and transmits the response to one of the data processing units associated with the category when it is determined that they match.
請求項1乃至請求項4のいずれかに記載の監視制御システムであって、
前記データ振分部は、
前記リクエスト送信元のデータ処理部から前記リクエストを受信した場合に、当該リクエストを前記複数のデータ処理部に送信し、
前記複数のデータ処理部は、前記インタフェースのリクエスト受信メソッドによって前記データ振分部から前記リクエストを受信した場合に、当該リクエストと同じ前記カテゴリを含む前記レスポンスのみを前記データ振分部に送信する、監視制御システム。
A monitoring control system according to any one of claims 1 to 4,
The data distribution unit
When the request is received from the request processing data processing unit, the request is transmitted to the plurality of data processing units,
The plurality of data processing units, when receiving the request from the data distribution unit by the request reception method of the interface, transmits only the response including the same category as the request to the data distribution unit. Supervisory control system.
請求項1乃至請求項5のいずれかに記載の監視制御システムであって、
前記リクエスト送信元のデータ処理部から送信された前記リクエストに含まれる前記カテゴリを、指定時刻に前記データ振分部に付与するタイマー実行部
をさらに備え、
前記データ振分部は、
前記タイマー実行部から前記カテゴリを付与された場合に、当該カテゴリと同じ前記カテゴリを含む前記レスポンスを前記リクエスト送信元のデータ処理部を除く前記複数のデータ処理部から取得し、当該レスポンスを前記リクエスト送信元のデータ処理部に送信する、監視制御システム。
A monitoring control system according to any one of claims 1 to 5,
A timer execution unit that gives the category included in the request transmitted from the data processing unit of the request transmission source to the data distribution unit at a specified time;
The data distribution unit
When the category is given from the timer execution unit, the response including the same category as the category is acquired from the plurality of data processing units excluding the data processing unit of the request transmission source, and the response is received from the request A supervisory control system that transmits data to the data processor of the transmission source.
請求項1乃至請求項6のいずれかに記載の監視制御システムであって、
前記複数のデータ処理部は、
一つの前記カテゴリデータを複数の仮想カテゴリにグループ化して複数の仮想カテゴリデータを生成し、前記仮想カテゴリ及びそれに対応する前記仮想カテゴリデータを含む仮想レスポンスを前記レスポンスとして生成するとともに、前記仮想カテゴリを含む仮想リクエストを前記リクエストとして生成する、監視制御システム。
A monitoring control system according to any one of claims 1 to 6,
The plurality of data processing units are:
One category data is grouped into a plurality of virtual categories to generate a plurality of virtual category data, a virtual response including the virtual category and the corresponding virtual category data is generated as the response, and the virtual category is A monitoring control system for generating a virtual request including the request as the request.
請求項1乃至請求項7のいずれかに記載の監視制御システムであって、
前記複数のデータ処理部として使用される複数の候補データ処理部と、当該複数の候補データ処理部により生成される前記レスポンスに含まれる前記カテゴリとを関連付けて記憶する候補データ処理記憶部と、
前記複数の候補データ処理部の組合せが行われる候補データ処理組合設計部と
をさらに備え、
前記候補データ処理組合設計部は、
組合わされた前記複数の候補データ処理部のうちの一つの候補データ処理部を、当該一の候補データ処理部と同じ前記カテゴリと関連付けられた別の前記候補データ処理部に代えることが可能な、監視制御システム。
A monitoring control system according to any one of claims 1 to 7,
A candidate data processing storage unit that associates and stores a plurality of candidate data processing units used as the plurality of data processing units and the category included in the response generated by the plurality of candidate data processing units;
A candidate data processing combination design unit in which a combination of the plurality of candidate data processing units is performed;
The candidate data processing association design department
It is possible to replace one candidate data processing unit of the plurality of candidate data processing units combined with another candidate data processing unit associated with the same category as the one candidate data processing unit, Supervisory control system.
請求項8に記載の監視制御システムであって、
前記複数の候補データ処理部の組合せにおいて、当該複数の候補データ処理部が生成する前記レスポンスまたは前記リクエストに含まれる前記カテゴリに重複があるかを検証するとともに、当該リクエストと同じ前記カテゴリを含む前記レスポンスが生成されるかを検証する候補データ処理組合検証部
をさらに備える、監視制御システム。
The monitoring control system according to claim 8,
In the combination of the plurality of candidate data processing units, while verifying whether there is an overlap in the category included in the response or the request generated by the plurality of candidate data processing units, and including the same category as the request A monitoring control system further comprising a candidate data processing combination verification unit that verifies whether a response is generated.
複数のデバイスの入出力点から収集する複数の数値データ及び複数種類のイベントデータを監視制御する監視制御システムを構成するコンピュータに
(a)複数のデータ処理部が、所定の複数の数値データ及び前記複数種類のイベントデータを複数のカテゴリにグループ化して複数のカテゴリデータを生成し、前記カテゴリ及びそれに対応する前記カテゴリデータを含むレスポンスと、前記カテゴリを含むリクエストとを生成する工程と、
(b)データ振分部が、リクエスト送信元の前記データ処理部からインタフェースを介して受信した前記リクエストに含まれる前記カテゴリと、レスポンス送信元の前記データ処理部から前記インタフェースを介して受信した前記レスポンスに含まれる前記カテゴリとに基づいて、当該レスポンスを前記インタフェースを介して前記リクエスト送信元のデータ処理部に送信する工程と、
(c)前記リクエスト送信元のデータ処理部が、前記レスポンスを受信した場合に、当該レスポンスに含まれる前記カテゴリデータを用いて所定の処理を行う工程と
を実行させる、監視制御プログラム。
A computer constituting a monitoring control system for monitoring and controlling a plurality of numerical data collected from input / output points of a plurality of devices and a plurality of types of event data. Grouping a plurality of types of event data into a plurality of categories to generate a plurality of category data, generating a response including the category and the category data corresponding to the category, and a request including the category;
(B) The data distribution unit receives the category included in the request received from the data processing unit of the request transmission source via the interface, and the received from the data processing unit of the response transmission source via the interface. Based on the category included in the response, transmitting the response to the data processing unit of the request transmission source via the interface;
(C) A monitoring control program that, when the request processing data processing unit receives the response, executes a predetermined process using the category data included in the response.
JP2010094678A 2010-04-16 2010-04-16 Monitoring control system and monitoring control program Active JP5424965B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010094678A JP5424965B2 (en) 2010-04-16 2010-04-16 Monitoring control system and monitoring control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010094678A JP5424965B2 (en) 2010-04-16 2010-04-16 Monitoring control system and monitoring control program

Publications (2)

Publication Number Publication Date
JP2011227595A JP2011227595A (en) 2011-11-10
JP5424965B2 true JP5424965B2 (en) 2014-02-26

Family

ID=45042886

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010094678A Active JP5424965B2 (en) 2010-04-16 2010-04-16 Monitoring control system and monitoring control program

Country Status (1)

Country Link
JP (1) JP5424965B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9558220B2 (en) * 2013-03-04 2017-01-31 Fisher-Rosemount Systems, Inc. Big data in process control systems
JP5832703B2 (en) * 2013-05-20 2015-12-16 三菱電機株式会社 Supervisory control device
JP6527660B2 (en) * 2013-07-29 2019-06-05 小松電機産業株式会社 Information monitoring system
KR101999305B1 (en) * 2017-11-27 2019-07-11 주식회사 넥스지 Database operation apparatus for safe keeping of plant facility monitoring data and operating method thereof

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4013592B2 (en) * 2002-02-28 2007-11-28 株式会社デンソー Vehicle communication system
JP2006091961A (en) * 2004-09-21 2006-04-06 Yokogawa Electric Corp Communication interface
JP2010049543A (en) * 2008-08-22 2010-03-04 Fuji Electric Systems Co Ltd Programmable controller, input/output device and operation parameter access system

Also Published As

Publication number Publication date
JP2011227595A (en) 2011-11-10

Similar Documents

Publication Publication Date Title
US8839107B2 (en) Context based script generation
US8880591B2 (en) Workflow management in distributed systems
JP6788178B2 (en) Setting support program, setting support method and setting support device
US7725524B2 (en) Process automation system and method having a hierarchical architecture with multiple tiers
US7370101B1 (en) Automated testing of cluster data services
JP5691723B2 (en) Monitoring method, information processing apparatus, and monitoring program
US10210079B2 (en) Touch free disaster recovery
EP3616066A1 (en) Human-readable, language-independent stack trace summary generation
JP2010009552A (en) Computer system for backing up software constituent elements, method therefor, and computer program
JP2002268707A (en) Controller and tool, and system constituted of the same
JP5424965B2 (en) Monitoring control system and monitoring control program
US11347601B1 (en) Managing data center failure events
US20130152106A1 (en) Managing events in a configuration of soa governance components
JP2008065682A (en) Traceability management device, program, and method of tracing
US20150095098A1 (en) Work management method and management system
JP2012208664A (en) Integrated management system for software design/operation
US20080172669A1 (en) System capable of executing workflows on target applications and method thereof
JP5968451B2 (en) Computer system and program
JP5853828B2 (en) Workflow creation method, program
US8661343B2 (en) Computer-implemented systems and methods for an automated application interface
US20080141262A1 (en) System, apparatus, and method for managing a service
EP3362899B1 (en) Automatic system disaster recovery
US9223946B1 (en) Specification and configuration of management intent
JP4683535B2 (en) Job net management system
JP4936015B2 (en) Quality control device, quality control system, quality control method and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20121009

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20131016

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20131126

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 5424965

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140110

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250