JP2017091454A - Data collection control device, collection object device, data collection processing program, data collection system, data collection control program, collection object device program, and recording medium - Google Patents
Data collection control device, collection object device, data collection processing program, data collection system, data collection control program, collection object device program, and recording medium Download PDFInfo
- Publication number
- JP2017091454A JP2017091454A JP2015224881A JP2015224881A JP2017091454A JP 2017091454 A JP2017091454 A JP 2017091454A JP 2015224881 A JP2015224881 A JP 2015224881A JP 2015224881 A JP2015224881 A JP 2015224881A JP 2017091454 A JP2017091454 A JP 2017091454A
- Authority
- JP
- Japan
- Prior art keywords
- collection
- data
- destination
- data group
- target
- 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.)
- Pending
Links
Images
Abstract
Description
本発明は、様々な装置から様々な形式を持つデータを収集し、収集したデータに対して、様々な処理を実行し、処理した結果をさらに別の処理の入力として処理するのに適したデータ収集制御装置、収集対象装置、データ収集処理プログラム、データ収集システム、データ収集制御プログラム、収集対象装置プログラム、及び、記録媒体に関する。 The present invention collects data having various formats from various apparatuses, executes various processes on the collected data, and data suitable for processing the processed results as inputs for further processes. The present invention relates to a collection control device, a collection target device, a data collection processing program, a data collection system, a data collection control program, a collection target device program, and a recording medium.
近年、様々なセンサーや装置をInternet of Things(IoT)としてネットワークに接続し、該センサーや装置(以下、収集対象装置と呼ぶ)からデータを収集して、収集したデータに対して様々な解析処理を行い、該処理結果を様々な用途に活用することが可能なデータ収集システムの提供が要望されている。 In recent years, various sensors and devices are connected to a network as the Internet of Things (IoT), data is collected from the sensors and devices (hereinafter referred to as collection target devices), and various analysis processes are performed on the collected data. Thus, there is a demand for providing a data collection system that can utilize the processing results for various purposes.
また、該データ収集システムにおいては、様々な収集対象装置からデータを集め、処理をするため、収集対象装置の数が多くなっても、遅延なく、スケーラブルに処理できる必要ある。 In the data collection system, data is collected from various collection target devices and processed. Therefore, even if the number of collection target devices increases, the data collection system needs to be scalable without delay.
データ収集システムにおいて、様々な収集対象装置から様々な形式を持つデータを収集し、収集したデータを処理する従来技術としては、下記特許文献1、2に示す方法がある。
As conventional techniques for collecting data having various formats from various devices to be collected in a data collection system and processing the collected data, there are methods shown in
下記特許文献1では、収集対象装置から収集したバイナリデータに対し、再帰構造を持つフォーマット定義を用いて、該バイナリデータを、名前を付けた標準データ形式に変換し、データ収集処理プログラムで処理する方法が開示されている。
In
また、下記特許文献2では、さらに、収集したデータを処理する複数のデータ収集処理プログラムに対応して、データ変換のための複数の変換テンプレートを用意し、データ収集処理プログラムに対応したデータ形式に変換して処理する方法が開示されている。
Further, in the following
また、IoT向けの軽量な通信プロトコルとして、下記非特許文献1にてMQTTというプロトコルが開示されている。
Further, as a lightweight communication protocol for IoT, the following non-patent
該MQTTでは、階層化された宛先に送信されたメッセージを、該宛先を受信対象としているすべての受信者にブローカが中継する方法が開示されている。 In MQTT, a method is disclosed in which a broker relays a message transmitted to a hierarchical destination to all recipients whose destination is the destination.
さらに、データ収集システムにおいて、スケーラブルにデータを収集する従来技術としては、下記特許文献3に示す方法がある。
Further, as a conventional technique for collecting data in a scalable manner in a data collection system, there is a method shown in
下記特許文献3では、データ収集処理プログラムが動作するデータ収集処理装置において、各収集対象装置から収集するファイルの件数、容量、収集必要日数情報をもとにして収集スケジューリング情報を自動作成し、該スケジューリング情報に従い、収集対象装置が、データ収集処理装置にファイルを転送する方法が開示されている。
In the following
背景技術で開示した特許文献1、及び、特許文献2の従来技術では、収集対象装置や、データ収集処理プログラムの数が少なく、該データ収集システムの管理者が把握し、該管理者が管理できる状況では、収集対象装置とデータ収集処理プログラムの組合せに対応して、該管理者がフォーマット定義や変換テンプレートを用意することが可能であるが、収集対象装置やデータ収集処理プログラムの種類が多くなると、組合せが爆発的に多くなり、収集対象装置と、データ収集処理プログラムの組合せに対応したフォーマット定義や変換テンプレートを該管理者が用意し、手動で管理することが困難であるという問題があった。
In the prior art disclosed in the background art of
また、データ収集システム内にどういうフォーマット定義やテンプレートがあるかが外部からはわからないため、該システム管理者にフォーマット定義、テンプレートの設定を依頼しないと、新たなフォーマット定義やテンプレートの追加が外部からはできなかった。 In addition, since it is not known from the outside what format definition or template is in the data collection system, if the system administrator is not requested to set the format definition or template, the addition of a new format definition or template will not be accepted from the outside. could not.
従って、新たな装置からのデータ収集を追加したり、収集されたデータを該システム外のデータ収集処理プログラムで利用したり、新たなデータ収集処理プログラムを該システムに登録したり、該システムで収集したデータや、該システム内の既存のデータ収集処理プログラムの処理結果を、新たに追加したデータ収集処理プログラムの入力として利用することが簡単にはできなかった。 Therefore, it is possible to add data collection from a new device, use the collected data in a data collection processing program outside the system, register a new data collection processing program in the system, or collect data in the system. It has not been easy to use the processed data or the processing results of the existing data collection processing program in the system as input for the newly added data collection processing program.
また、非特許文献1の従来技術であるMQTTでは、階層化した宛先を介し、ブローカ経由でデータの受渡しができるため、収集対象装置から、該ブローカ上のある宛先を介して、第1のデータ収集処理プログラムが収集対象データを収集して処理し、該第1のデータ収集処理プログラムの処理結果を該第1のデータ収集処理プログラムが第2の宛先に送信し、第2のデータ収集処理プログラムが該第2の宛先から該第1のデータ収集処理プログラムの処理結果を受信して処理することで、データ収集処理プログラムを追加し、収集したデータを次々と加工処理していくことが可能となるが、上記従来技術と同様、処理対象のデータがどの宛先にどのようなデータ形式で存在するかを事前に知っていないと新たなデータ収集処理プログラムを追加して処理することができないという問題があった。
In addition, in MQTT which is the prior art of Non-Patent
また、特許文献3の従来技術によれば、収集タイミングの自動スケジューリング機能により、収集対象装置からのデータ収集負荷を分散させることが可能であるが、データ収集処理装置の管理者が、各収集対象装置のデータ件数、サイズ、収集日数情報をデータ収集制御装置に予め設定しておく必要があり、管理者の手間を煩わせることなく、負荷を分散させることができなかった。
Further, according to the prior art of
さらに、特許文献3の従来技術で、収集タイミングを動的に分散させると、収集対象装置からの収集対象データがいつ揃うかがデータ収集処理プログラムからわからず、予め該データ収集処理プログラムに合わせたスケジューリングを組んでおかないと、該データ収集処理プログラムがいつ処理すればよいか自動で判断できないという問題があった。
Furthermore, when the collection timing is dynamically distributed in the prior art of
また、特許文献3の従来技術では、1つのデータ収集処理装置内の収集タイミングは分散できるが、複数のデータ収集処理装置間で分散させることができなかった。
In the prior art of
さらに、非特許文献1で示したMQTTを用いたデータ収集システムにおいて、一般的な負荷分散装置を用い、収集負荷などで、複数のブローカに中継先を分散させた場合、どのブローカにデータが分散送信されているかが該データを処理するデータ収集処理プログラムからわからず、振り分けられたブローカとデータ収集処理プログラムをペアーで動作させるなどの制約が課せられ、様々なデータ収集処理プログラムを組み合わせて処理するということが簡単にできなかった。
Furthermore, in the data collection system using MQTT shown in Non-Patent
本発明の目的は、上記データ収集システムにおいて、様々な収集対象装置からのデータ収集を追加したり、該システムで収集したデータを様々なデータ収集処理プログラムで処理させたり、新たなデータ収集処理プログラムを本システムに登録し、該データ収集処理プログラムの処理結果を別のデータ収集処理プログラムの入力として処理させたりを、該システム管理者の介入なしで、外部から簡単に行えるようにすることにある。 An object of the present invention is to add data collection from various collection target devices in the data collection system, process data collected by the system using various data collection processing programs, or create a new data collection processing program. Is registered in the system, and the processing result of the data collection processing program can be processed as an input of another data collection processing program, and can be easily performed from outside without intervention of the system administrator. .
また、収集対象装置が増えても、スケーラブルに収集処理が行え、かつ、様々なデータ収集処理プログラムからも、処理対象とするデータが、どこに、どのような形式で存在するかを把握して、処理対象のデータを自動で収集し、処理できるようにすることにある。 In addition, even if the number of collection target devices increases, scalable collection processing can be performed, and from various data collection processing programs, it is understood where and in what format the data to be processed exists. The object is to automatically collect and process data to be processed.
まず、本発明に関わるデータ収集システムは、収集対象でータを提供する収集対象装置と、データ収集処理装置上で動作し、収集対象装置の収集対象データや別のデータ収集処理プログラムの処理結果データを処理対象データとして処理するデータ収集処理プログラムと、該収集対象装置と該データ収集処理プログラム間、及び、データ収集処理プログラム間の収集対象データの受渡しを制御するデータ収集制御装置と、該収集対象装置、データ収集処理プログラム、データ収集制御装置間のデータの受渡しを中継するブローカ手段を持つブローカ装置で構成したシステムであって、データ提供者は、既定、あるいは、上記データ収集制御装置が指示した該ブローカ手段上の階層化された宛先にデータを送信し、データ受信者は、該宛先を受信対象としてブローカに指定し、該宛先に送信されてきたデータを、該宛先を受信対象と指定したすべてのデータ受信者に対して該ブローカが中継するデータ収集システムである。 First, a data collection system according to the present invention operates on a collection target device that provides data as a collection target and a data collection processing device, and collects target data of the collection target device or a processing result of another data collection processing program. Data collection processing program for processing data as processing target data, data collection control device for controlling the transfer of the collection target data between the collection target device and the data collection processing program, and between the data collection processing programs, and the collection A system comprising a broker device having broker means for relaying data transfer between a target device, a data collection processing program, and a data collection control device, and a data provider is designated by default or designated by the data collection control device The data receiver sends the data to a hierarchical destination on the broker means, and the data receiver receives the destination. Specifies the broker as a subject, the data transmitted to the destination, the broker is a data acquisition system for relaying to all data recipient is specified the destination and reception target.
上述の目的を達成する本発明の第1の態様であるデータ収集制御装置は、上記本発明に関わるデータ収集システムのデータ収集制御装置であって、該データ収集制御装置は、第1の既定の宛先を上記ブローカ手段に受信対象として設定し、収集対象データ群を定義するデータ群登録要求を該第1の宛先から受信する第1のデータ群登録要求受信手段と、受信したデータ群登録要求に対応し、該データ群用として、上記ブローカ手段の第1の宛先階層を割当て、後述の第5の収集登録要求受信手段と第8の収集登録情報提供手段に該データ群用宛先階層情報を伝えて、該データ群の収集対象データの収集要求のための収集登録要求の受信と、該収集登録要求の処理結果である収集登録情報の提供を行わせる、第2のデータ群用宛先割当て手段と、上記データ群登録要求に含まれる該収集対象データ群を識別するデータ群名称と、該収集対象データ群を構成するデータのデータ名称とデータタイプ情報を含むデータ形式情報と、該第2の手段で割当てた第1の該データ群用宛先階層情報を含む情報をデータ群登録情報として登録する第3のデータ群登録手段と、データ群登録要求に含まれるデータ群名称に対応した第2の宛先と、既定の第3の宛先を上記ブローカ手段に送信先として設定し、該第2の宛先に対して、上記第3の手段で登録されたデータ群登録情報を送付し、該第3の宛先に対して、登録済みの全データ群登録情報を送付して、該宛先に対する受信者に、特定のデータ群登録情報、及び、登録済みの全データ群登録情報を提供する第4のデータ群登録情報提供手段とを備え、さらに、上記第1のデータ群用宛先階層情報を上記第2の手段から受け、該第1の宛先階層下に既定の第4の宛先を上記ブローカ手段に受信対象として設定し、該第4の宛先から該データ群の収集対象データの収集登録要求を受信する第5の収集登録要求受信手段と、受信した収集登録要求に対応して、該収集対象データの送付先となる第2の収集用宛先階層の割当てを行う第6の収集用宛先割当て手段と、上記収集登録要求に含まれる、収集対象データの提供元を識別する提供者名称と、該収集対象データを構成するデータのデータ名称一覧と、該第6の手段で割当てた第2の収集用宛先階層情報を含む情報を収集登録情報として登録をする第7の収集登録手段と、上記第1のデータ群宛先階層情報を上記第2の手段から受け、該第1の階層下に、該データ群の収集対象データの収集登録要求に含まれる収集対象データ提供者名称に対応した第5の宛先と、既定の第6の宛先を送信先として設定し、該第5の宛先に対して、上記第7の手段で登録された収集登録情報を送付し、該第6の宛先に対して、該収集対象データ群の登録済み全収集登録情報を送付して、該宛先に対する受信者に、特定の収集登録情報、及び、登録済みの全収集登録情報を提供する第8の収集登録情報提供手段を具備するものである。 A data collection control device according to a first aspect of the present invention that achieves the above object is a data collection control device of a data collection system according to the present invention, wherein the data collection control device is a first predetermined control device. A first data group registration request receiving unit that sets a destination as a reception target in the broker unit and receives a data group registration request defining a collection target data group from the first destination, and a received data group registration request Correspondingly, a first destination hierarchy of the broker means is allocated for the data group, and the data group destination hierarchy information is transmitted to a fifth collection registration request receiving means and an eighth collection registration information providing means described later. Receiving a collection registration request for a collection request for the collection target data of the data group and providing collection registration information as a processing result of the collection registration request; A data group name for identifying the collection target data group included in the data group registration request, data format information including a data name and data type information of data constituting the collection target data group, and the second means A third data group registration means for registering information including the assigned first data group destination hierarchy information as data group registration information; a second destination corresponding to the data group name included in the data group registration request; The predetermined third destination is set as a transmission destination in the broker means, the data group registration information registered by the third means is sent to the second destination, and the third destination is sent to the third destination. On the other hand, fourth data group registration information for sending all registered data group registration information and providing specific data group registration information and all registered data group registration information to the recipient for the destination Provide provision means Further, the first data group destination hierarchy information is received from the second means, a predetermined fourth destination is set as a reception target in the broker means below the first destination hierarchy, and the fourth A fifth collection / registration request receiving means for receiving a collection / registration request for the collection target data of the data group from a destination of the second collection, and a second collection that is a destination of the collection target data in response to the received collection / registration request A sixth collection destination assignment means for assigning a collection destination hierarchy, a provider name for identifying a collection source of collection target data included in the collection registration request, and a data name of data constituting the collection target data A seventh collection / registration means for registering the list and information including the second collection destination hierarchy information assigned by the sixth means as collection registration information; and the first data group destination hierarchy information for the first data group destination hierarchy information. The first means and the first Under the hierarchy, a fifth destination corresponding to the collection target data provider name included in the collection registration request for the collection target data of the data group and a default sixth destination are set as transmission destinations, and the fifth destination is set. The collection registration information registered by the seventh means is sent to the destination, and the registered all collection registration information of the collection target data group is sent to the sixth destination. Eighth collection registration information providing means for providing the receiver with specific collection registration information and all registered collection registration information is provided.
また、上述の目的を達成する本発明の第2の態様である収集対象装置は、上記本発明に関わるデータ収集システムの収集対象装置であり、上記第1の態様の上記データ群登録要求により上記データ収集制御装置に対して予め登録済みのデータ群の収集対象データを提供する収集対象装置であって、該収集対象装置から収集対象データの提供を開始する際、該収集対象装置は、該データ群名称に対応して上記データ収集制御装置が設定した第2の宛先を上記ブローカ手段に対して受信対象として設定し、該第2の宛先から該データ群のデータ群登録情報を取得する第9のデータ群登録情報取得手段と、該第9の手段で取得したデータ群登録情報に含まれる該データ群用宛先階層情報と既定の名称から得られる上記第1の階層下の第4の宛先に、該収集対象装置を識別する提供者名称と該収集対象装置から提供する収集対象データのデータ名称一覧を含む収集登録要求を送信する第10の収集登録要求送信手段と、該第9の手段で取得したデータ群登録情報に含まれる該データ群用宛先階層情報と該収集対象装置を識別する上記提供者名称から得られる上記第1の階層下の第5の宛先を上記ブローカ手段に受信対象として設定し、該第5の宛先から該収集対象装置の収集登録情報を取得する第11の収集登録情報取得手段と、該収集対象装置から収集対象データを提供する際、該第11の手段で取得した該収集対象装置の収集登録情報に含まれる収集用宛先階層情報で示された第2の宛先階層下の既定の宛先、あるいは、該収集対象装置から収集登録要求で示した収集対象データのデータ名称一覧内のデータ名称に対応した第2の宛先階層下の宛先に、該収集対象データの送信を行う第12の収集データ送信手段を具備するものである。 A collection target device according to the second aspect of the present invention that achieves the above-described object is a collection target device of the data collection system according to the present invention, and the above-described data group registration request according to the first aspect described above. A collection target device that provides collection target data of a pre-registered data group to the data collection control device, and when the collection target device starts providing collection target data, the collection target device A second destination set by the data collection control device corresponding to the group name is set as a reception target for the broker means, and data group registration information of the data group is acquired from the second destination. Data group registration information acquisition means, and the data group destination hierarchy information included in the data group registration information acquired by the ninth means and the fourth destination below the first hierarchy obtained from the default name. , Acquired by the ninth means, a tenth collection registration request transmitting means for sending a collection registration request including a provider name for identifying the collection target apparatus and a data name list of the collection target data provided from the collection target apparatus. The data group destination hierarchy information included in the data group registration information and the fifth destination below the first hierarchy obtained from the provider name identifying the collection target device are set as reception targets in the broker means. An eleventh collection registration information acquisition unit that acquires the collection registration information of the collection target device from the fifth destination, and the eleventh unit obtained when the collection target data is provided from the collection target device. The default destination below the second destination hierarchy indicated by the collection destination hierarchy information included in the collection registration information of the collection target device, or the data of the collection target data indicated by the collection registration request from the collection target device The second destination under destination hierarchy corresponding to the data names in the name list, those having a twelfth collected data transmitting means for transmitting a the collection target data.
また、上述の目的を達成する本発明の第3の態様であるデータ収集処理プログラムは、上記本発明に関わるデータ収集システムのデータ収集処理プログラムであり、該データ収集処理プログラムは、上記第1の態様のデータ収集制御装置が設定した該データ収集処理プログラムが処理対象とする収集対象データ群を識別するデータ群名称に対応した上記第2の宛先を上記ブローカ手段に受信対象として設定し、該第2の宛先から該データ群のデータ群登録情報を取得する第1の処理対象データ群登録情報取得ステップと、該第1のステップで取得したデータ群登録情報に含まれる該データ群用宛先階層情報と既定の名称から得られる上記第1の階層下の第6の宛先を上記ブローカ手段に受信対象として設定し、該第6の宛先から該データ群の全収集登録情報を取得する第2の全収集登録情報取得ステップと、該第2のステップで取得した全収集登録情報の各収集登録情報に含まれる各収集用宛先階層情報から得られる第2の階層下の既定の宛先名称、あるいは、該収集登録情報に含まれるデータ一覧名称内のデータ名称に対応した第2の階層下の宛先を受信対象として上記ブローカ手段に設定し、該宛先から処理対象の収集対象データを取得する第3の処理対象データ取得ステップと、第1のステップで取得したデータ群登録情報に含まれる収集対象装置から取得する収集対象データのデータ形式情報に従って該第3のステップで取得したデータを解釈し、処理する第4の収集データ処理ステップを含むものである。 A data collection processing program according to the third aspect of the present invention that achieves the above-described object is a data collection processing program of the data collection system according to the present invention, and the data collection processing program is the above-mentioned first data collection processing program. The second destination corresponding to the data group name for identifying the collection target data group to be processed by the data collection processing program set by the data collection control device of the aspect is set as a reception target in the broker means, and the first A first processing target data group registration information acquisition step for acquiring data group registration information of the data group from two destinations, and the data group destination hierarchy information included in the data group registration information acquired in the first step And the sixth destination below the first hierarchy obtained from the predetermined name is set as the reception target in the broker means, and the data group is transmitted from the sixth destination. A second all collection registration information obtaining step for obtaining collection registration information, and a second hierarchy obtained from each collection destination hierarchy information included in each collection registration information of all collection registration information obtained in the second step A lower default destination name or a second lower layer destination corresponding to the data name in the data list name included in the collection registration information is set as a reception target in the broker means, and the processing target is set from the destination. In the third step according to the third processing target data acquisition step for acquiring the collection target data and the data format information of the collection target data acquired from the collection target device included in the data group registration information acquired in the first step. A fourth collected data processing step for interpreting and processing the acquired data is included.
また、上述の目的を達成する本発明の第4の態様であるデータ収集処理プログラムは、上記第3の態様のデータ収集処理プログラムであり、上記第1の態様の上記データ群登録要求により上記データ収集制御装置に対して予め登録済みのデータ群の収集対象データを該データ収集処理プログラムの処理結果として提供するデータ収集処理プログラムであって、さらに、該データ収集処理プログラムは、該データ群を識別するデータ群名称に対応して上記データ収集制御装置が設定した第2の宛先を上記ブローカ手段に対して受信対象として設定し、該第2の宛先から該データ群のデータ群登録情報を取得する第5の該処理プログラム用データ群登録情報取得ステップと、該第5のステップで取得したデータ群登録情報に含まれる該データ群用宛先階層情報と既定の名称から得られる上記第1の階層下の第4の宛先に、該データ収集処理プログラムを識別する提供者名称と該データ収集処理プログラムが処理結果として提供する収集対象データのデータ名称一覧を含む収集登録要求を送信する第6の該処理プログラム用収集登録要求送信ステップと、該第5のステップで取得したデータ群登録情報に含まれる該データ群用宛先階層情報と該データ収集処理プログラムを識別する上記提供者名称から得られる上記第1の階層下の第5の宛先を上記ブローカ手段に受信対象として設定し、該第5の宛先から該データ収集処理プログラムの収集登録情報を取得する第7の該処理プログラム用収集登録情報取得ステップと、該第7のステップで取得した該データ収集処理プログラムの収集登録情報に含まれる収集用宛先階層情報で示された第2の宛先階層下の既定の宛先、あるいは、該収集対象装置から収集登録要求で示した収集対象データのデータ名称一覧内のデータ名称に対応した第2の宛先階層下の宛先に、上記第4のステップで生成した該データ収集処理プログラムの処理結果データを送信する第8の処理結果データ送信ステップを含むものである。 A data collection processing program according to a fourth aspect of the present invention that achieves the above-described object is the data collection processing program according to the third aspect, and the data collection request according to the data group registration request of the first aspect. A data collection processing program for providing collection target data of a data group registered in advance to the collection control device as a processing result of the data collection processing program, and the data collection processing program further identifies the data group The second destination set by the data collection control device corresponding to the data group name to be set is set as the reception target for the broker means, and the data group registration information of the data group is acquired from the second destination. A fifth data group registration information acquisition step for the processing program, and the data group included in the data group registration information acquired in the fifth step The provider name for identifying the data collection processing program and the collection target data provided as the processing result by the data collection processing program to the fourth destination below the first hierarchy obtained from the destination hierarchy information and the predetermined name A sixth collection registration request sending step for processing program for sending a collection registration request including a data name list, the data group destination hierarchy information included in the data group registration information acquired in the fifth step, and the data The fifth destination below the first hierarchy obtained from the provider name for identifying the collection processing program is set as the reception target in the broker means, and the collection registration information of the data collection processing program from the fifth destination A collection registration information acquisition step for the processing program for acquiring the data, and a collection registration of the data collection processing program acquired in the seventh step Corresponds to the default destination below the second destination hierarchy indicated by the collection destination hierarchy information included in the information, or the data name in the data name list of the collection target data indicated by the collection registration request from the collection target device And an eighth processing result data transmission step of transmitting the processing result data of the data collection processing program generated in the fourth step to the destination below the second destination hierarchy.
また、上述の目的を達成する本発明の第5の態様であるデータ収集制御装置は、第1の態様のデータ収集制御装置であって、上記第2のデータ群用宛先割当て手段、及び、第6の収集用宛先割当て手段で、割当てる第1の宛先階層、及び、第2の宛先階層は、それぞれ、上記データ群登録要求、及び、収集登録要求に含まれる、データ群名称、及び、提供者名称を、宛先階層名称として割当てるものである。 A data collection control device according to a fifth aspect of the present invention that achieves the above object is the data collection control device according to the first aspect, wherein the second data group destination assigning means, The first destination hierarchy and the second destination hierarchy to be assigned by the collection destination assignment means 6 are the data group name and provider included in the data group registration request and the collection registration request, respectively. A name is assigned as a destination hierarchy name.
また、上述の目的を達成する本発明の第6の態様であるデータ収集制御装置は、第1の態様のデータ収集制御装置であり、かつ、宛先により1つまたは複数の装置に分散された上記ブローカ手段を介して、収集対象装置、データ収集処理プログラム、データ収集制御装置間のデータ受渡しを行うデータ収集制御装置であって、さらに、上記データ群登録要求に、該データ群の収集対象データを提供する提供者数を表す収集対象数情報を含み、上記第2のデータ群用宛先割当て手段が、さらに、ブローカ手段毎の割当て済みデータ群の合計収集対象数情報をデータ群・ブローカ割当て管理情報として管理し、該データ収集制御装置に対して設定されたデータ群収集単位数情報を用いて、各ブローカ手段に割当てる合計収集対象数が該データ群収集単位数を超えないように各データ群用宛先階層割当てを行うものである。 A data collection control device according to a sixth aspect of the present invention that achieves the above object is the data collection control device according to the first aspect, and is distributed to one or a plurality of devices according to a destination. A data collection control device for transferring data between a collection target device, a data collection processing program, and a data collection control device via a broker means, and further, collecting the collection target data of the data group in the data group registration request. The second data group destination assigning means further includes the total data collection target number information of the assigned data group for each broker means, and includes data group / broker allocation management information. And the total number of collection targets to be assigned to each broker means using the data group collection unit number information set for the data collection control device. And it performs destination hierarchical allocation for each data group so as not to exceed the number of units.
また、上述の目的を達成する本発明の第7の態様であるデータ収集制御装置は、第1の態様のデータ収集制御装置であり、かつ、宛先により1つまたは複数の装置に分散された上記ブローカ手段を介して収集対象装置、データ収集処理プログラム、データ収集制御装置間のデータ受渡しを行うデータ収集制御装置であって、さらに、第6の収集用宛先割当て手段が、上記ブローカ手段毎の割当て済み合計収集対象数を収集・ブローカ割当て管理情報として管理し、該データ収集制御装置に対して設定された収集単位数情報を用いて、各ブローカ手段が中継する収集対象数が該収集単位数を超えないように各収集用宛先階層割り当てを行うものである。 A data collection control device according to a seventh aspect of the present invention that achieves the above object is the data collection control device according to the first aspect, and is distributed to one or a plurality of devices according to a destination. A data collection control device for transferring data between a collection target device, a data collection processing program, and a data collection control device via a broker means, wherein a sixth collection destination assigning means assigns each broker means The collected total number of collection targets is managed as collection / broker allocation management information, and using the collection unit number information set for the data collection control device, the number of collection targets relayed by each broker means indicates the number of collection units. Each collection destination hierarchy is assigned so as not to exceed.
また、上述の目的を達成する本発明の第8の態様であるデータ収集制御装置は、第7の態様のデータ収集制御装置であって、上記データ群登録要求に、収集対象データの提供間隔情報を含み、上記第3のデータ群登録手段は、該提供間隔情報も含めてデータ群登録情報に設定し、上記第6の収集用宛先割当て手段は、さらに、登録対象の収集対象データが属するデータ群のデータ群登録情報に含まれる収集対象データの提供間隔情報を参照し、該提供間隔情報から、該データ収集制御装置に対して設定された処理余裕時間を除いた時間を、上記収集単位数で割った値を用いて、登録要求のあった収集対象データの提供者からの収集対象データの提供タイミングを均等に割当て、上記第7の収集登録手段が、該第6の手段で割当てた収集対象データの提供タイミング情報も含めて収集登録情報に設定するものである。 A data collection control device according to an eighth aspect of the present invention that achieves the above object is the data collection control device according to the seventh aspect, wherein the collection target data provision interval information is included in the data group registration request. The third data group registration means sets the data group registration information including the provision interval information, and the sixth collection destination assignment means further includes data to which the collection target data to be registered belongs. By referring to the provision interval information of the collection target data included in the data group registration information of the group, the time obtained by excluding the processing margin time set for the data collection control device from the provision interval information is the number of collection units. Using the value divided by, the provision timing of the collection target data from the provider of the collection target data requested to be registered is allocated equally, and the seventh collection registration means assigns the collection assigned by the sixth means. Target data Provides timing information of the data is also used to set to collect registration information including.
また、上述の目的を達成する本発明の第9の態様である収集対象装置は、第8の態様のデータ収集制御装置を用いたデータ収集システムの第2の態様の収集対象装置であり、かつ、該収集対象装置が提供する収集対象データのデータ群登録要求を、該収集対象データの提供間隔情報を含んだ形で行い、該提供間隔情報を含んだ形で登録されたデータ群の収集対象装置であって、上記第12の収集データ送信手段は、第11の収集登録情報取得手段が取得した収集登録情報に含まれる収集対象データの提供タイミング情報に従ったタイミングで収集対象データを送信するものである。 The collection target device according to the ninth aspect of the present invention that achieves the above object is the collection target device according to the second aspect of the data collection system using the data collection control device according to the eighth aspect, and The data collection registration request for the collection target data provided by the collection target device is performed in a form including the provision interval information of the collection target data, and the collection target of the data group registered in the form including the provision interval information The twelfth collection data transmission unit is a device that transmits the collection target data at a timing according to the provision timing information of the collection target data included in the collection registration information acquired by the eleventh collection registration information acquisition unit. Is.
また、上述の目的を達成する本発明の第10の態様であるデータ収集処理プログラムは、第8の態様のデータ収集制御装置を用いたデータ収集システムの第3、または、第4の態様のデータ収集処理プログラムであって、上記第4の収集データ処理ステップは、第2のステップで取得した各収集登録情報に含まれる各収集対象データの提供タイミング情報を参照し、該提供タイミング情報に従い、各収集対象データの収集タイムアウト処理、及び、該データ収集処理プログラム内の他の処理が間に合うように収集した各収集対象データの処理のスケジューリングを行うものである。 In addition, the data collection processing program according to the tenth aspect of the present invention that achieves the above object is the data of the third or fourth aspect of the data collection system using the data collection control device of the eighth aspect. In the collection processing program, the fourth collection data processing step refers to the provision timing information of each collection target data included in each collection registration information acquired in the second step, and according to the provision timing information, The collection time-out process of the collection target data and the processing of each collection target data collected so that the other processes in the data collection processing program are in time are performed.
また、上述の目的を達成する本発明の第11の態様であるデータ収集処理プログラムは、第8の態様のデータ収集制御装置を用いたデータ収集システムの第4の態様のデータ収集処理プログラムであり、かつ、該データ収集処理プログラムが提供する処理結果の収集対象データのデータ群登録要求を、該収集対象データの提供間隔情報を含んだ形で行い、該提供間隔情報を含んだ形で登録されたデータ群のデータ収集処理プログラムであって、上記第8の処理結果データ送信ステップは、第7の該処理プログラム用収集登録情報取得ステップが取得した収集登録情報に含まれる収集対象データの提供タイミング情報に従ったタイミングで処理結果データを送信するものである。 A data collection processing program according to the eleventh aspect of the present invention that achieves the above object is the data collection processing program according to the fourth aspect of the data collection system using the data collection control device of the eighth aspect. In addition, a data group registration request for the collection target data of the processing result provided by the data collection processing program is performed in a form including the provision interval information of the collection target data, and is registered in a form including the provision interval information. The data collection processing program of the data group, wherein the eighth processing result data transmission step includes the provision timing of the collection target data included in the collection registration information acquired by the seventh collection registration information acquisition step for processing program The processing result data is transmitted at a timing according to the information.
また、上述の目的を達成する本発明の第12の態様であるデータ収集システムは、上記第1、または、第5の態様のデータ収集制御装置と、第2の態様の複数の収集対象装置と、第3、または、第4の態様のデータ収集処理プログラムと、該データ収集制御装置と収集対象装置とデータ収集処理プログラム間のデータの受渡し行う上記ブローカ手段で構成するものである。 A data collection system according to a twelfth aspect of the present invention that achieves the above object includes a data collection control device according to the first or fifth aspect, and a plurality of collection target devices according to the second aspect. The data collection processing program according to the third or fourth aspect, and the broker means for transferring data between the data collection control device, the collection target device, and the data collection processing program.
また、上述の目的を達成する本発明の第13の態様であるデータ収集システムは、上記第6、または、第7の態様のデータ収集制御装置と、第2の態様の複数の収集対象装置と、第3、または、第4の態様のデータ収集処理プログラムと、該データ収集制御装置と収集対象装置とデータ収集処理プログラム間のデータの受渡しを、宛先により1つ、または、複数の装置に分散された上記ブローカ手段で構成するものである。 A data collection system according to a thirteenth aspect of the present invention that achieves the above object includes a data collection control device according to the sixth or seventh aspect, and a plurality of collection target devices according to the second aspect. The data collection processing program of the third or fourth aspect and the data transfer among the data collection control device, the collection target device, and the data collection processing program are distributed to one or a plurality of devices depending on the destination The above-described broker means is used.
また、上述の目的を達成する本発明の第14の態様であるデータ収集システムは、上記第8の態様のデータ収集制御装置と、第9の態様の複数の収集対象装置と、第10、第11のデータ収集処理プログラムと、該データ収集制御装置と収集対象装置とデータ収集処理プログラム間のデータの受渡しを、宛先により1つ、または、複数の装置に分散された上記ブローカ手段で構成するものである。 A data collection system according to a fourteenth aspect of the present invention that achieves the above object includes a data collection control device according to the eighth aspect, a plurality of collection target devices according to the ninth aspect, and tenth and tenth aspects. 11 data collection processing program, and data transfer among the data collection control device, the collection target device, and the data collection processing program are configured by the broker means distributed to one or a plurality of devices depending on the destination It is.
また、上述の目的を達成する本発明の第15の態様であるデータ収集制御プログラムは、上記第1、第5〜第8のいずれかの態様のデータ収集制御装置の上記各手段を実現する本発明のデータ収集制御装置で実行させるプログラムである。 A data collection control program according to a fifteenth aspect of the present invention that achieves the above object is a book that implements the above-described means of the data collection control device according to any one of the first, fifth to eighth aspects. A program executed by the data collection control device of the invention.
また、上述の目的を達成する本発明の第16の態様である記録媒体は、上記第15のデータ収集制御プログラムを記録したコンピュータ読取り可能なものである。 A recording medium according to a sixteenth aspect of the present invention that achieves the above object is a computer-readable recording medium on which the fifteenth data collection control program is recorded.
また、上述の目的を達成する本発明の第17の態様である収集対象装置プログラムは、第2、第9のいずれかの態様の収集対象装置の上記各手段を実現する本発明の収集対象装置で実行させるプログラムである。 A collection target apparatus program according to a seventeenth aspect of the present invention that achieves the above-described object is a collection target apparatus according to the present invention that realizes each of the means of the collection target apparatus according to any of the second and ninth aspects. It is a program to be executed by.
また、上述の目的を達成する本発明の第18の態様である記録媒体は、上記第17のプログラムを記録したコンピュータ読取り可能なものである。 A recording medium according to an eighteenth aspect of the present invention that achieves the above object is a computer-readable recording medium that records the seventeenth program.
また、上述の目的を達成する本発明の第19の態様である記録媒体は、第3、第4、第10、第11のデータ収集処理プログラムを記録したコンピュータ読取り可能なものである。 A recording medium according to a nineteenth aspect of the present invention that achieves the above-described object is a computer-readable recording medium on which the third, fourth, tenth, and eleventh data collection processing programs are recorded.
本発明の第1〜第5の態様のデータ収集制御装置、収集対象装置、データ収集処理プログラムを用いた第12の態様のデータ収集システムによれば、上記データ群登録要求、収集登録要求を処理する手段を上記データ収集制御装置が提供しているので、該データ群登録要求、収集登録要求により、収集対象装置、データ収集処理プログラムを該データ収集システムの管理者の手を煩わせることなく、上記データ収集制御装置に対して、登録することが可能である。 According to the data collection control device, the collection target device, and the data collection system of the twelfth aspect using the data collection processing program according to the first to fifth aspects of the present invention, the data group registration request and the collection registration request are processed. Since the data collection control device provides the means to do so, the data group registration request, the collection registration request, the collection target device, the data collection processing program without the trouble of the administrator of the data collection system, It is possible to register with the data collection control device.
また、該データ群登録要求に、収集対象装置、データ収集処理プログラムが提供する収集対象データ、処理結果データのデータ形式情報が含まれており、かつ、上記データ収集制御装置の第4のデータ群登録情報提供手段により、上記第3の宛先を介して、該データ形式情報を含んだデータ群登録情報として提供され、データ収集処理プログラムの第1のデータ群登録情報取得ステップで、該データ群登録情報を取得することが可能であり、各データ収集処理プログラムは、該データ群登録情報に含まれるデータ形式情報から、該処理対象データの一覧と、該処理対象データのデータ形式を自動的に認識して、上記第4の収集データ処理ステップにて処理することができる。 The data group registration request includes the data format information of the collection target device, the collection target data provided by the data collection processing program, and the processing result data, and the fourth data group of the data collection control device. The registration information providing means provides the data group registration information including the data format information via the third destination, and the data group registration is performed in the first data group registration information acquisition step of the data collection processing program. Information can be acquired, and each data collection processing program automatically recognizes the list of processing target data and the data format of the processing target data from the data format information included in the data group registration information Then, it can be processed in the fourth collected data processing step.
さらに、本発明の第6の態様のデータ収集制御装置を用いた第13の態様のデータ収集システムによれば、該データ群登録要求に収集対象数情報を含み、かつ、データ群登録要求に対して、データ収集制御装置の第2のデータ群用宛先割当て手段が、ブローカ手段毎の割当て済み合計収集対象数を管理し、該データ収集制御装置に対して設定されたデータ群収集単位数情報を用いて、各ブローカ手段で中継する収集対象数が該データ群収集単位数を超えないように各データ群用宛先階層割当てを行い、該割当て結果を、データ収集制御装置の第4の手段により、上記データ群登録情報として収集対象装置、データ収集処理プログラムから参照可能としている。 Further, according to the data collection system of the thirteenth aspect using the data collection control device of the sixth aspect of the present invention, the data group registration request includes the collection target number information, and the data group registration request The second data group destination assigning means of the data collection control device manages the allocated total number of collection targets for each broker means, and stores the data group collection unit number information set for the data collection control device. Using the fourth means of the data collection control device, the destination tier assignment for each data group is performed so that the number of collection targets to be relayed by each broker means does not exceed the number of data group collection units. The data group registration information can be referred to from the collection target device and the data collection processing program.
収集対象装置、データ収集処理プログラムは、第9のデータ群登録情報取得手段、及び、第1、第5のデータ群登録情報処理ステップにて、該データ群登録情報を取得し、該データ群登録情報に含まれるデータ群用宛先階層情報に従い、続く第10、第11の手段、第2、第6、第7のステップにて、指定のデータ群用宛先階層下の宛先への収集登録要求の送信や、指定のデータ群用宛先階層下の宛先から収集登録情報を取得しているため、該収集登録要求、収集登録情報取得を、該宛先によりデータ群毎に複数のブローカ手段に分散させて処理できる。 The collection target device and the data collection processing program acquire the data group registration information in the ninth data group registration information acquisition unit and the first and fifth data group registration information processing steps, and register the data group In accordance with the data group destination hierarchy information included in the information, in the subsequent tenth, eleventh means, second, sixth, and seventh steps, the collection registration request to the destination below the designated data group destination hierarchy is made. Since collection registration information is acquired from a destination under a specified data group destination hierarchy, the collection registration request and collection registration information acquisition are distributed to a plurality of broker means for each data group by the destination. It can be processed.
また、本発明の第7の態様のデータ収集制御装置を用いた第13の態様のデータ収集システムによれば、各収集登録要求に対して、データ収集制御装置の第6の収集用宛先割当て手段が、ブローカ手段毎の割当て済み合計収集対象数を管理し、該データ収集制御装置に対して設定された収集単位数情報を用いて、各ブローカ手段で中継する収集対象データ数が該収集単位数を超えないように各収集用宛先階層割当てを行い、該割当て結果を、データ収集制御装置の第8の手段により、上記収集登録情報として収集対象装置、データ収集処理プログラムから参照可能としている。 According to the data collection system of the thirteenth aspect using the data collection control device of the seventh aspect of the present invention, the sixth collection destination assigning means of the data collection control device for each collection registration request Manages the total number of collection targets allocated for each broker means, and uses the collection unit number information set for the data collection control device to determine the number of collection target data to be relayed by each broker means. The destination tiers for collection are allocated so as not to exceed the threshold, and the allocation result can be referred to as the collection registration information from the collection target apparatus and the data collection processing program by the eighth means of the data collection control apparatus.
収集対象装置、データ収集処理プログラムは、第11の収集登録情報取得手段、及び、第7の該処理プログラム用収集登録情報取得ステップにて、該収集登録情報を取得し、該収集登録情報に含まれる収集用宛先階層情報に従い、第12の手段、第8のステップにて、指定の収集用宛先階層下の宛先に収集対象データ、処理結果データを送信しているため、複数の収集対象装置、データ収集処理プログラムから収集データの送信先を該宛先により複数のブローカ手段に分散させて処理できる。 The collection target device and the data collection processing program acquire the collection registration information in the eleventh collection registration information acquisition means and the seventh collection registration information acquisition step for the processing program, and include it in the collection registration information. The collection target data and the processing result data are transmitted to the destinations below the designated collection destination hierarchy in the twelfth means, the eighth step, according to the collection destination hierarchy information to be recorded. The collection destination of collected data from the data collection processing program can be distributed to a plurality of broker means according to the destination.
また、データ収集処理プログラムは、第2のステップにて処理対象データ群の全収集登録情報を取得し、続く第3のステップにて、取得した各収集登録情報の収集用宛先階層情報に従い、該収集用宛先階層化の宛先から収集対象データを取得するため、複数のブローカ手段に分散された収集対象データを収集し処理できる。 Further, the data collection processing program acquires all collection registration information of the processing target data group in the second step, and in the subsequent third step, in accordance with the collection destination hierarchy information of each acquired collection registration information, Since the collection target data is acquired from the collection destination hierarchies, the collection target data distributed to a plurality of broker means can be collected and processed.
さらに、本発明の第8の態様のデータ収集制御装置を用いた第14の態様のデータ収集システムによれば、データ群登録要求に、収集対象データの提供間隔情報を含み、かつ、各収集登録要求に対して、データ収集制御装置の第6の収集用宛先割当て手段が該提供間隔情報を参照し、該提供間隔から、該データ収集制御装置に対して設定された処理余裕時間を除いた時間を、上記収集単位数で割った値を用いて、各ブローカ手段を経由する収集対象データの提供タイミングを均等に割当て、割当てた該提供タイミング情報を上記収集登録情報として、データ収集制御装置の第8の手段により、収集対象装置、データ収集処理プログラムから参照可能としている。 Further, according to the data collection system of the fourteenth aspect using the data collection control device of the eighth aspect of the present invention, the data group registration request includes the provision interval information of the collection target data, and each collection registration In response to the request, the sixth collection destination assigning means of the data collection control device refers to the provision interval information, and the time obtained by removing the processing allowance time set for the data collection control device from the provision interval Using the value divided by the number of collection units, the provision timing of the collection target data via each broker means is equally allocated, and the assigned provision timing information is used as the collection registration information, and the data collection control device By means of 8, it is possible to refer from the collection target device and the data collection processing program.
収集対象装置、データ収集処理プログラムは、第11の収集登録情報取得手段、及び、第7の該処理プログラム用収集登録情報取得ステップにて、該収集登録情報を取得し、取得した該収集登録情報に含まれる該提供タイミング情報に従い、指定されたタイミングで、第12の収集データ送信手段、及び、第8の処理結果データ送信ステップにて、指定の宛先に収集対象データ、処理結果データを送信することで、同一ブローカ手段で中継処理されるデータの時間的な集中を防ぎ、均等化することができる。 The collection target device, the data collection processing program acquires the collection registration information in the eleventh collection registration information acquisition means and the seventh collection registration information acquisition step for the processing program, and the acquired collection registration information The collection target data and the processing result data are transmitted to the specified destination in the twelfth collection data transmission means and the eighth processing result data transmission step at the specified timing in accordance with the provision timing information included in Thus, time concentration of data relayed by the same broker means can be prevented and equalized.
しかも、データ収集制御装置の第8の手段により提供される該提供タイミング情報を含む収集登録情報は、データ収集処理プログラムの第2の全収集登録情報取得ステップで取得され、第3の処理対象データ取得ステップにて、該提供タイミング情報から各収集対象データの提供タイミングを把握し、各収集対象データの収集タイムアウト処理や該データ収集処理プログラム内の他の処理が間に合うように、収集した各収集対象データに対する処理をスケジューリングすることができる。 Moreover, the collection registration information including the provision timing information provided by the eighth means of the data collection control device is acquired in the second all collection registration information acquisition step of the data collection processing program, and the third processing target data In the acquisition step, the collection timing of each collection target data is grasped from the provision timing information, and each collected collection target is collected so that the collection timeout process of each collection target data and other processes in the data collection processing program are in time Processing for data can be scheduled.
なお、上述した各態様における、各手段は、一般的な情報処理装置上で動作するプログラムで実現してもよい。 In addition, each means in each aspect mentioned above may be implement | achieved by the program which operate | moves on a general information processing apparatus.
また、ブローカ手段、データ収集処理プログラムは、データ収集制御装置とは別の装置上で動作する例を示したが、データ収集制御装置と同居してもよい。 Moreover, although the broker means and the data collection processing program have been shown to operate on an apparatus different from the data collection control apparatus, they may coexist with the data collection control apparatus.
また、上述した各態様における、上記ブローカ手段の階層化された宛先について、宛先をすべて文字列で記述し、宛先文字列の中で、送受信先のブローカ手段を区別できる形であっても、個々のブローカ手段のネットワークアドレス情報を、文字列による宛先記述の上位の宛先階層情報として扱い、ブローカ手段のネットワークアドレスと文字列による宛先記述をペアとした宛先情報であってもよい。 Further, in each of the above-described aspects, even if the destinations are hierarchized by the above-described broker means, the destinations are all described in character strings, and the broker means of transmission / reception destinations can be distinguished in the destination character strings. The network address information of the broker means may be treated as destination hierarchy information higher in the destination description by the character string, and the destination information may be a pair of the network address of the broker means and the destination description by the character string.
本発明のデータ収集制御装置、収集対象装置、データ収集処理プログラム、データ収集システム、データ収集制御プログラム、収集対象装置プログラム、及び、記録媒体によれば、上記データ群登録要求、収集登録要求を用いて、様々な収集対象装置やデータ収集処理プログラムをデータ収集システムの管理者の手間を煩わせることなく、登録することができる。 According to the data collection control device, the collection target device, the data collection processing program, the data collection system, the data collection control program, the collection target device program, and the recording medium of the present invention, the data group registration request and the collection registration request are used. Thus, various collection target devices and data collection processing programs can be registered without bothering the administrator of the data collection system.
また、上記データ群登録要求に収集対象データや処理結果データのデータ形式情報が含まれているため、データ収集処理プログラムで、該データ形式情報を取得し、該データ形式情報を用い、処理対象データのデータ形式を自動的に判断して処理できるため、様々なデータ収集処理プログラムを追加し、かつ、該データ収集処理プログラムの処理結果を、さらに、別のデータ収集処理プログラムの入力とすることで、収集対象装置から取得した収集対象データに対して様々な処理を施し、様々な形のデータを得ることができる。 In addition, since the data group registration request includes data format information of collection target data and processing result data, the data collection processing program acquires the data format information and uses the data format information to process data Therefore, by adding various data collection processing programs and using the processing result of the data collection processing program as an input to another data collection processing program. Various types of processing can be performed on the collection target data acquired from the collection target device to obtain various types of data.
さらに、上記データ収集制御装置の第2のデータ群用宛先割当て手段により、データ群単位で、複数のブローカ手段にデータ中継処理を分散化することできる。 Furthermore, the second data group destination assigning means of the data collection control device can distribute data relay processing to a plurality of broker means in units of data groups.
また、上記データ収集制御装置の第5の収集用宛先割当て手段により、データ群内の各収集対象データの中継を、複数のブローカ手段に分散化することができる。 Further, the relay of each collection target data in the data group can be distributed to a plurality of broker means by the fifth collection destination assigning means of the data collection control device.
さらに、上記第5の収集用宛先割当手段に割当てた提供タイミング情報により、同一のブローカ手段を介して中継される各収集対象装置、データ収集処理プログラムから提供される収集対象データ、処理結果データを、時間的に分散化させ、時間的な集中により、中継処理が遅延することを防止できる。 Further, according to the provision timing information assigned to the fifth collection destination assigning means, each collection target device relayed through the same broker means, collection target data provided from the data collection processing program, and processing result data It is possible to prevent the relay processing from being delayed due to time dispersion and concentration over time.
従って、収集対象データを提供する収集対象装置や、収集したデータを処理し、処理した結果を新たな収集対象データとして別のデータ収集処理プログラムに提供するデータ収集処理プログラムの数が増えてもスケーラブルに対応できる。 Therefore, even if the number of data collection processing programs that provide data to be collected and the number of data collection processing programs that process the collected data and provide the processed results to other data collection processing programs as new data to be collected are scalable. It can correspond to.
また、上記タイミング情報を用いて、データ収集処理プログラムが各処理対象データの取得タイムアウトや収集したデータの処理タイミングを自動的にスケジューリングでき、効率がよい収集処理を自動で実現できる。 Further, using the timing information, the data collection processing program can automatically schedule the acquisition timeout of each processing target data and the processing timing of the collected data, and an efficient collection process can be realized automatically.
以下、本発明のデータ収集制御装置、収集対象装置、データ収集処理プログラム、データ収集システム、データ収集制御プログラム、収集対象装置プログラム、及び、記録媒体を実施するための形態例について、図面に基づき説明する。 DETAILED DESCRIPTION OF EMBODIMENTS Hereinafter, embodiments of a data collection control device, a collection target device, a data collection processing program, a data collection system, a data collection control program, a collection target device program, and a recording medium according to the present invention will be described with reference to the drawings. To do.
(実施形態1)
図1に本発明のデータ収集制御装置、収集対象装置、データ収集処理プログラム、データ収集システム、データ収集制御プログラム、収集対象装置プログラム、及び、記録媒体を適用する本発明のデータ収集システムの一構成例を示す。
(Embodiment 1)
FIG. 1 shows a configuration of a data collection system of the present invention to which a data collection control device, a collection target device, a data collection processing program, a data collection system, a data collection control program, a collection target device program, and a recording medium are applied. An example is shown.
本発明のデータ収集システムは、収集対象データ120を提供する収集対象装置52と、データ収集処理装置83上で動作し、収集対象装置52の収集対象データ120や別のデータ収集処理プログラム53の処理結果データ120Pkを処理対象データとして収集し、処理するデータ収集処理プログラム53と、該収集対象装置52と該データ収集処理プログラム53間、及び、データ収集処理プログラム53間の収集対象データの受渡しを制御するデータ収集制御装置51と、該収集対象装置52、データ収集処理プログラム53、データ収集制御装置51間のデータの受渡しを中継するブローカ手段54を持つブローカ装置84で構成する。
The data collection system of the present invention operates on the
本発明のデータ収集システムでは、データ提供者は、既定、あるいは、上記データ制御装置が指示した該ブローカ手段上の階層化された宛先にデータを送信し、データ受信者は、該宛先を受信対象としてブローカに指定し、該宛先に送信されてきたデータを、該宛先を受信対象と指定したすべてのデータ受信者に対して該ブローカが中継する。 In the data collection system of the present invention, the data provider transmits the data to a predetermined destination or a hierarchical destination on the broker means designated by the data control device, and the data receiver receives the destination as a reception target. And the broker relays the data transmitted to the destination to all data receivers that designate the destination as the reception target.
該データ収集システムのブローカ手段54は、例えば、上記従来技術で示したMQTTプロトコルを中継するためのブローカで、データ提供者がブローカ装置84上のある宛先400にデータを送信すると、該宛先400を受信対象として該ブローカ装置84のブローカ手段54に対して指定した全データ受信者に対して、該宛先に送信されてきたデータを該ブローカ手段54が中継する。
The broker means 54 of the data collection system is, for example, a broker for relaying the MQTT protocol described in the above prior art. When the data provider transmits data to a
本発明のデータ収集制御装置51は、収集対象装置52の収集対象データ120、及び、データ収集処理プログラム53の処理結果データを収集対象データ120として、同種の収集対象データ120をデータ群として定義登録するデータ群登録機能と、
該データ群登録機能により定義されたデータ群の収集対象データ120を提供する収集対象装置52、データ収集処理プログラム53からのデータ収集を登録し、該収集対象装置52、データ収集処理プログラム53が提供する該収集対象データ120を第2のデータ収集処理プログラム53で収集処理してもらうための収集登録機能を提供する。
The data collection control device 51 of the present invention defines and registers the
The
該データ群登録は、データ群登録要求100を用いて、該データ収集制御装置51に対して行い、該データ群登録要求100の登録結果を、データ群登録情報101、全データ群登録情報102として取得できる機能をデータ収集制御装置51が提供する。
The data group registration is performed to the data collection control device 51 using the data group registration request 100, and the registration result of the data group registration request 100 is set as data
また、上記収集登録は、収集登録要求110を用いて、該データ収集制御装置51に対して行い、該収集登録要求110の登録結果を、収集登録情報111、全収集登録情報112として取得できる機能をデータ収集制御装置51が提供する。 The collection registration is performed on the data collection control device 51 using the collection registration request 110, and the registration result of the collection registration request 110 can be acquired as collection registration information 111 and all collection registration information 112. Is provided by the data collection control device 51.
データ群登録要求100は、データ収集制御装置51に対して手動で実施するが、登録されたデータ群登録情報101、102の取得、収集登録要求110の送信、収集登録情報111、112の取得は、各収集対象処理装置52、各データ収集処理プログラム53が自動で実行し、該登録要求、登録情報の取得よって得られる情報に基づいて、各収集対象処理装置52、各データ収集処理プログラム53がデータ送受信先のブローカ手段54の宛先400を切替え、該宛先を介して、収集対象データ120の受渡しを行う。
The data group registration request 100 is manually executed with respect to the data collection control device 51. However, acquisition of the registered data
また、データ収集処理プログラム54は、上記データ群登録情報111により、収集対象データのデータ形式などを知り、自動で収集対象データに対するアクセスや処理を調整して、収集対象データ120に対する収集、処理を実施する。
The data
該データ収集システムによると、上記データ収集制御装置51が提供するデータ群登録機能、収集登録機能により、様々な収集対象装置52の収集対象データ120を、収集対象として追加登録し、かつ、追加登録された収集対象データ120を様々なデータ収集処理プログラム53で処理し、さらに、データ収集処理プログラム53で処理した収集対象データ120の処理結果を、さらに、別データ収集処理プログラム53の入力として処理でき、様々な収集対象データ120を様々に加工処理して利用することが可能となる。
According to the data collection system, the
以下、本実施形態のデータ収集システムにおける、本発明のデータ収集制御装置51、収集対象装置52、データ収集処理プログラム53の実施形態の一例を説明する。
Hereinafter, an exemplary embodiment of the data collection control device 51, the
(実施形態2)
まず、上記実施形態1のデータ収集システムにおける本発明のデータ収集制御装置51の実施形態を説明する。
(Embodiment 2)
First, an embodiment of the data collection control device 51 of the present invention in the data collection system of the first embodiment will be described.
図2は、本発明のデータ収集制御装置51の一実施形態のブロック図と、データの受渡しのためのブローカ手段54の宛先の具体的な構成例を示す
本発明のデータ収集制御装置51は、データ群登録要求受信手段1と、データ群用宛先階層割当て手段2と、データ群登録手段3と、データ群登録情報提供手段4と、データ群登録情報101を保持するデータ群登録情報データベース21と、収集登録要求受信手段5と、収集用宛先割当て手段6と、収集登録手段7と、収集登録情報提供手段8と、収集登録情報111を保持する収集登録情報データベース22を備える。
FIG. 2 shows a block diagram of an embodiment of the data collection control device 51 of the present invention and a specific configuration example of the destination of the broker means 54 for data delivery. The data collection control device 51 of the present invention Data group registration request receiving means 1, data group destination tier assignment means 2, data group registration means 3, data group registration
また、図3、図4、図5、図6に、該データ収集制御装置51が、収集対象装置52、データ収集処理プログラム53との間で受渡しをするデータ群登録要求100、データ群登録情報101/全データ群登録情報102、収集登録要求110、収集登録情報111/全収集登録情報112の具体的な構成例を示す。
3, 4, 5, and 6, a data group registration request 100 and data group registration information that the data collection control device 51 delivers to and from the
データ群登録要求100は、例えば、データ群X用の登録要求100Xの場合、図3に示すとおり、該データ群を識別するデータ群名称1001Xと、該データ群の概要情報1002Xと、該データ群の収集対象データを構成する各データのデータ名称10031、データタイプ情報10032を含むデータ形式情報1003Xを含む。
For example, in the case of the
データ群登録情報101は、例えば、データ群X用のデータ群登録情報101Xの場合、図4に示すとおり、例えば、データ群登録要求100Xに含まれる該データ群を識別するデータ群名称1011Xと、該データ群の概要情報1012Xと、該データ群の収集対象データを構成する各データのデータ形式情報1013Xに加え、本発明のデータ群用宛先割当て手段2が該データ群登録要求に対して割当てた該データ群用宛先階層情報1014Xを含む。
For example, in the case of the data group registration information 101X for the data group X, the data
また、全データ群登録情報102は、図4に示すとおり、登録済みの全データ群登録情報101で構成する。
Further, the all data group registration information 102 is configured by all registered data
収集登録要求110は、例えば、データ群Xのデータ提供者Xkの収集登録要求110Xkの場合、図5に示すとおり、該データ群Xの収集対象データの提供者を識別するデータ提供者名称1101Xkと、該データ提供者の概要情報1102Xkと、該提供者から提供する収集対象データを構成するデータ名称一覧1103Xkを含む。 For example, in the case of the collection registration request 110Xk of the data provider Xk of the data group X, the collection registration request 110 includes a data provider name 1101Xk for identifying the provider of the collection target data of the data group X, as shown in FIG. , The summary information 1102Xk of the data provider, and a data name list 1103Xk constituting the collection target data provided from the provider.
データ提供者名称1101Xは、収集対象装置52が収集対象データ120の提供者となる場合は、例えば、該収集対象装置52をユニークに識別可能な装置名称などを設定する。
The data provider name 1101X sets, for example, a device name that can uniquely identify the
データ収集処理プログラム53が、該データ収集処理プログラム53の処理結果を、別のデータ収集処理プログラム53の収集対象データとして提供する場合は、データ提供者名称1101Xとして、例えば、該データ収集処理プログラム53をユニークに識別するプログラム名称などを設定する。
When the data
収集登録情報111は、例えば、データ群Xのデータ提供者Xkの収集登録情報111Xkの場合、図6に示すとおり、収集登録要求110Xkに含まれる該提供者を識別するデータ提供者名称111Xkと、該データ提供者の概要情報1112Xkと、データ名称一覧1113Xkに加え、本発明の収集用宛先割当て手段5が該収集登録要求に対して割当てた該収集用宛先階層情報1114Xkを含む。 For example, in the case of the collection registration information 111Xk of the data provider Xk of the data group X, the collection registration information 111 includes a data provider name 111Xk that identifies the provider included in the collection registration request 110Xk, as shown in FIG. In addition to the summary information 1112Xk of the data provider and the data name list 1113Xk, the collection destination hierarchy information 1114Xk assigned to the collection registration request by the collection destination assignment unit 5 of the present invention is included.
また、全収集登録情報112は、図6に示すとおり、登録済みの収集登録情報111で構成する。 Further, the entire collection registration information 112 is configured by registered collection registration information 111 as shown in FIG.
以下、本発明のデータ収集制御装置51が具備する各手段の詳細を説明する。 Details of each means provided in the data collection control device 51 of the present invention will be described below.
本発明のデータ収集制御装置51が具備するデータ群登録要求受信手段1はデータ群登録要求100を受信する手段である。 The data group registration request receiving means 1 provided in the data collection control device 51 of the present invention is means for receiving the data group registration request 100.
該データ群登録要求受信手段1に対応した処理の一実施形態のフローチャートを図7に示す。 A flowchart of an embodiment of processing corresponding to the data group registration request receiving means 1 is shown in FIG.
該データ群登録要求受信手段1は、まず、ブローカ手段54に対して、データ群登録要求用の宛先401を受信対象として設定する。(処理5011)
The data group registration
図2の例では、「GrpRegReq」という既定の宛先を該データ群登録要求宛先401として、設定する。
In the example of FIG. 2, a default destination “GrpRegReq” is set as the data group
次に、新たなデータ群登録要求100が該宛先401に到着すると、ブローカ手段54から通知を受け、該宛先401に新たに到着したデータ群登録要求100を、ブローカ手段54を介して該宛先401から受信することで、本手段によるデータ群登録要求の受信処理を実現する。(処理5012)
Next, when a new data group registration request 100 arrives at the
本発明のデータ収集制御装置51が具備するデータ群用宛先割当て手段2は、データ群登録要求100に対して、該データ群用のデータの受渡しのためのブローカ手段54上のデータ群用宛先階層を割当てる手段である。
In response to the data group registration request 100, the data group
該データ群用宛先割当て手段2による処理は、上記データ群登録要求受信手段1によるデータ群登録要求100受信に引続いて実行される。
The processing by the data group
データ群Xのデータ群登録要求100Xに対する該データ群用宛先割当て手段2に対応した処理の一実施形態のフローチャートを図8に示す。
FIG. 8 shows a flowchart of an embodiment of a process corresponding to the data group
該データ群用宛先割当て手段2は、まず、データ群登録要求100Xに対応して、該データ群用の宛先階層410Xを割当てる。
The data group destination assigning means 2 first assigns the data
具体的には、図2の例に示すとおり、例えば、データ群登録要求100Xに含まれるデータ群名称1001Xに対応した「データ群X」という宛先階層を該データ群用宛先階層410Xとして割当てる。(処理5021)
Specifically, as shown in the example of FIG. 2, for example, a destination hierarchy “data group X” corresponding to the data group name 1001X included in the data
次に、前処理で割当てたデータ群用宛先階層410Xを、収集登録要求受信手段5と収集登録情報提供手段8に通知し、該データ群データの収集登録要求110Xkの受信処理と登録結果の収集登録情報111Xk/112Xkの提供を開始し、本データ群用宛先割当て手段2による処理を終了する。(処理5022)
Next, the data
本発明のデータ収集制御装置51が具備するデータ群登録手段3は、データ群登録要求100に対して、該登録要求の処理結果であるデータ群登録情報101を作成し、データ群登録情報データベース21登録する手段である。
In response to the data group registration request 100, the data group registration means 3 included in the data collection control device 51 of the present invention creates the data
該データ群登録手段3による処理は、上記データ群宛先割当て手段2によるデータ群用宛先階層割当て処理に引続いて実行される。 The processing by the data group registration means 3 is executed following the data group destination tier assignment processing by the data group destination assignment means 2.
データ群Xのデータ群登録要求100Xに対する該データ群登録手段3に対応した処理の一実施形態のフローチャートを図9に示す。
FIG. 9 shows a flowchart of an embodiment of processing corresponding to the data group registration means 3 in response to the data
該データ群登録手段3は、まず、データ群登録要求100に対応して、該データ群登録要求100に含まれるデータ群名称1001X、データ群の概要1002X、データ形式情報1003Xを、そのまま、データ群名称1011X、データ群の概要1012X、データ形式情報1013Xとしてデータ群登録情報101Xに含めると共に、さらに、上記データ群宛先割当て手段2で割当てた該データ群用のデータ群宛先階層情報1014Xを含むデータ群登録情報101Xを作成する。(処理5031)
In response to the data group registration request 100, the data group registration means 3 first uses the data group name 1001X, the data group outline 1002X, and the data format information 1003X included in the data group registration request 100 as they are. A data group including the name 1011X, the data group outline 1012X, and the data format information 1013X in the data group registration information 101X, and further including the data group destination hierarchy information 1014X for the data group allocated by the data group
次に、前処理で作成したデータ群登録情報101Xをデータ群登録情報データベース21に登録し、本データ群登録手段3による処理を終了する。(処理5032)
Next, the data group registration information 101X created in the preprocessing is registered in the data group
本発明のデータ収集制御装置51が具備するデータ群登録情報提供手段4は、データ群登録要求100の処理結果のデータ群登録情報101/102を、収集対象装置52、データ収集処理プログラム53に提供する手段である。
The data group registration
該データ群登録情報提供手段4による処理は、上記データ群登録手段3によるデータ群登録情報101の作成、登録処理に引続いて実行される。
The processing by the data group registration
データ群Xのデータ群登録要求100Xに対するデータ群登録情報提供手段4に対応した処理の一実施形態のフローチャートを図10に示す。
FIG. 10 shows a flowchart of an embodiment of processing corresponding to the data group registration
該データ群登録情報提供手段4は、上記データ群登録手段3で生成したデータ群登録情報101Xを、ブローカ手段54のデータ群X用のデータ群登録情報提供宛先402Xに送信する。(処理5041)
The data group registration
データ群X用のデータ群登録情報提供宛先402Xは、例えば、データ群登録要求100Xに含まれるデータ群名称1001Xに対応した宛先名称を使用する。
The data group registration
図2の例では、例えば、「GrpRegInfo/」という既定の階層名に、該データ群Xのデータ群名称である「データ群X」という名称を加えた宛先をデータ群X用のデータ登録情報提供宛先402Xとして使用している。
In the example of FIG. 2, for example, a destination obtained by adding the name “data group X” which is the data group name of the data group X to the default hierarchy name “GrpRegInfo /” is provided as data registration information for the data group X Used as the
次に、データ群登録情報提供手段4は、データ群登録情報データベース21に登録された全データ群登録情報102を、ブローカ手段54の全データ群登録情報提供宛先403に送信し、本データ群登録情報提供手段4の処理を終了する。(処理5042)
Next, the data group registration
全データ群登録情報提供宛先403は、既定の宛先を使用し、図2の例では、例えば、「GrpRegInfo/All_Reg」という宛先を全データ群登録情報提供宛先403として使用している。
The all data group registration
本発明のデータ収集制御装置51が具備する収集登録要求受信手段5は、収集登録群要求110を受信する手段である。 The collection registration request receiving means 5 included in the data collection control device 51 of the present invention is means for receiving the collection registration group request 110.
データ群Xの収集対象データの収集登録要求110Xkに対する該収集登録要求受信手段5に対応した処理の一実施形態のフローチャートを図11に示す。 FIG. 11 shows a flowchart of an embodiment of a process corresponding to the collection registration request receiving means 5 for the collection registration request 110Xk of the collection target data of the data group X.
該収集登録要求受信手段5は、まず、上記データ群登録要求100Xに対応して上記手段2で割当てたデータ群X用の宛先階層情報410Xを上記データ群用宛先割当て手段2から取得する。(処理5051)
次に、前処理で取得したデータ群X用の宛先階層410Xの下に該データ群X向けの収集登録要求用の宛先411Xを作成し、ブローカ手段54に対して、該収集登録用宛先411を受信対象として設定し、該データ群Xに対する収集登録要求の受付を開始する。(処理5052)
The collection registration request receiving means 5 first acquires the
Next, a collection
図2の例では、例えば、「データ群X/」をデータ群X用宛先階層410Xとし、該宛先階層410Xの下に「CollectReq」という既定の名称で、該データ群X向けの収集登録要求用の宛先411Xと設定している。
In the example of FIG. 2, for example, the “data group X /” is the data group
次に、データ群Xの新たな収集登録要求110Xkが該宛先411Xに到着すると、ブローカ手段54から通知を受け、該宛先411Xから、新たに到着した収集登録要求110Xkを、ブローカ手段54を介して受信することで、本手段による収集登録要求110Xkの受信処理を実現する。(処理5053)
Next, when a new collection / registration request 110Xk of the data group X arrives at the
本発明のデータ収集制御装置51が具備する収集用宛先割当て手段6は、収集登録要求110に対して、該収集登録要求110の要求者からの収集対象データ120の収集を行うためのブローカ手段54上の収集用宛先階層420を割当てる手段である。
The collection destination assigning means 6 included in the data collection control device 51 of the present invention is a broker means 54 for collecting the
該収集用宛先割当て手段6による処理は、上収集登録要求受信手段5による収集登録要求110受信に引続いて実行される。 The processing by the collection destination assigning means 6 is executed following reception of the collection registration request 110 by the upper collection registration request receiving means 5.
データ群Xの収集対象データの収集登録要求110Xkに対する該収集用宛先割当て手段6に対応した処理の一実施形態のフローチャートを図12示す。 FIG. 12 shows a flowchart of an embodiment of a process corresponding to the collection destination assignment means 6 for the collection registration request 110Xk of the collection target data of the data group X.
該収集用宛先割当て手段6は、収集用登録要求110Xkに対応して、収集用宛先階層420Xkを割当てる。(処理5061) The collection destination assigning means 6 assigns the collection destination hierarchy 420Xk in response to the collection registration request 110Xk. (Processing 5061)
具体的には、図2の例に示すとおり、例えば、データ群Xの装置kからの収集登録要求Xkの場合、データ群X用の宛先階層「データ群X/」410Xの下に、収集登録要求110Xkに含まれる提供者名称1101Xkに対応した「装置k/」という宛先階層を該収集用宛先階層420Xkとして割当てる。 Specifically, as shown in the example of FIG. 2, for example, in the case of a collection registration request Xk from the device k of the data group X, the collection registration is performed under the destination hierarchy “data group X /” 410X for the data group X. The destination hierarchy “device k /” corresponding to the provider name 1101Xk included in the request 110Xk is assigned as the collection destination hierarchy 420Xk.
本発明のデータ収集制御装置51が具備する収集登録手段7は、収集登録要求110に対して、該登録要求の処理結果である収集登録情報111を作成し、収集登録情報データベース22登録する手段である。
The
該収集登録手段7による処理は、上記収集用宛先割当て手段6による収集用宛先階層割当て処理に引続いて実行される。
The processing by the
データ群Xの収集対象データの収集登録要求110Xkに対する該収集登録手段7に対応した処理の一実施形態のフローチャートを図13に示す。
FIG. 13 shows a flowchart of an embodiment of a process corresponding to the
該収集登録手段7は、まず、収集登録要求110Xkに対応して、該収集登録要求110Xkに含まれる提供者名称1101Xk、データ提供者の概要1102Xk、データ形式情報1103Xkを、そのまま、提供者名称1111Xk、データ提供者の概要1112Xk、データ形式情報1113Xkとして、収集登録情報111Xkに含めると共に、さらに、上記収集用宛先割当て手段6で割当てた収集用群宛先階層情報1114Xkを含む収集登録情報111Xkを作成する。(処理5071)
In response to the collection registration request 110Xk, the
次に、前処理で作成した収集登録情報111Xkを収集登録情報データベース22に登録し、本収集登録手段7による処理を終了する。(処理5072)
Next, the collection registration information 111Xk created in the preprocessing is registered in the collection
本発明のデータ収集制御装置51が具備する収集登録情報提供手段8は、収集登録要求110の処理結果の収集登録情報111/112を、収集対象装置52、データ収集処理プログラム53に提供する手段である。
The collection registration
該収集登録情報提供手段8による処理は、上記収集登録手段7による収集登録情報111の作成、登録処理に引続いて実行される。
The processing by the collection registration
データ群Xの収集対象データの収集登録要求110Xkに対する収集登録情報提供手段8に対応した処理の一実施形態のフローチャートを図14に示す。
FIG. 14 shows a flowchart of an embodiment of a process corresponding to the collection registration
該収集登録情報提供手段8は、上記収集登録手段7で生成した収集登録情報111Xkを、ブローカ手段54の収集登録情報提供宛先412Xkに送信する。(処理5081)
The collection registration
収集登録情報提供宛先412Xkは、例えば、収集登録要求110Xkに含まれる提供者名称1101Xに対応した宛先名称を使用する。 The collection registration information provision destination 412Xk uses, for example, a destination name corresponding to the provider name 1101X included in the collection registration request 110Xk.
図2の例では、例えば、データ群Xの装置kからの収集登録要求Xkの場合、データ群X用の宛先階層「データ群X/」410Xの下の既定名称階層「CollectInfo/」の下に、収集登録要求110Xkに含まれる提供者名称1101Xkに対応した「装置k」という宛先を収集登録情報提供宛先412Xkとして使用している。 In the example of FIG. 2, for example, in the case of a collection registration request Xk from the device k of the data group X, the destination hierarchy “data group X /” 410X for the data group X is below the default name hierarchy “CollectInfo /”. The destination “apparatus k” corresponding to the provider name 1101Xk included in the collection registration request 110Xk is used as the collection registration information provision destination 412Xk.
次に、収集登録情報提供手段8は、収集登録情報データベース22に登録されたデー亜群Xの全収集登録情報112Xを、ブローカ手段54のデータ群X用の全収集登録情報提供宛先413Xに送信し、本収集登録情報提供手段8の処理を終了する。(処理5082)
Next, the collection registration
データ群Xの全収集登録情報提供宛先413Xは、データ群X用の宛先階層411Xの下の既定の宛先を使用し、図2の例では、例えば、「データ群X/All_Reg」という宛先を全収集登録情報提供宛先413Xとして使用している。
The all collection registration
なお、上記実施形態の収集登録情報提供手段8では、収集登録情報データベース22に登録されたデータ群Xの全収集登録情報112Xをそのまま全収集登録情報提供宛先413Xに送信する例を示しているが、最終的に受信者が全収集登録情報112Xに変換できる情報であれば、どのような形でデータを送信してもよい。
The collection registration
例えば、毎回全収集登録情報112Xを送信するのではなく、データ群Xの全データ収集登録情報112Xの送付は、一定周期毎にし、該周期間の収集登録要求110Xkに対しては、追加した収集登録情報111Xkだけを差分情報として送付する形としてもよい。
For example, instead of sending all
また、宛先を分けて、1つの宛先に一定周期時刻毎に該周期毎のスナップショットのデータ群Xの全データ収集登録情報112Xを送信し、もう1つの宛先に、該周期間の収集登録要求110Xkに対する収集登録情報111Xkを差分情報として送信してもよい。
Also, the destinations are divided, and all the data
本実施形態のデータ収集制御装置51によると、上記データ群登録要求受信手段1、データ群用宛先階層割当て手段2、データ群登録手段3、データ群登録情報提供手段4により、上記データ収集システムのデータ群登録機能を実現でき、上記収集登録要求受信手段5、収集用宛先階層割当て手段6、収集登録手段7、収集登録情報提供手段8により、上記データ収集システムの収集登録機能を実現できる。
According to the data collection control device 51 of the present embodiment, the data group registration
従って、様々な収集対象装置52の収集対象データ120を追加登録し、登録された収集対象データを様々なデータ収集処理プログラム53で処理し、さらに、該データ収集処理プログラム53の処理結果を別のデータ収集処理プログラム53の入力として、様々な収集対象データ120を入力とし、該収集対象データ120対して、様々な処理を施し、様々な用途に利用することが可能となる。
Therefore, the
また、データ収集制御装置51で、データ群毎や収集登録毎に、ブローカ手段54の宛先を切替えることができるため、障害時のリダイレクトや、負荷分散が可能となる。 In addition, since the data collection control device 51 can switch the destination of the broker means 54 for each data group or each collection registration, redirection at the time of failure and load distribution are possible.
(実施形態3)
次に上記実施形態2の本発明のデータ収集制御装置51に対応した、本発明の収集対象装置52の一実施形態を説明する。
(Embodiment 3)
Next, an embodiment of the
図15は、上記データ収集制御装置51に対応した本発明の収集対象装置52の一実施形態のブロック図と、データの受渡しのためのブローカ手段54の宛先の具体的な構成例を示す。
FIG. 15 shows a block diagram of an embodiment of the
本発明の収集対象装置52は、データ群登録情報取得手段9と、収集登録要求送信手段10と、収集登録情報取得手段11と、収集データ送信手段12を備える。
The
以下、本発明の収集対象装置52が具備する各手段の詳細を説明する。
Hereinafter, details of each means included in the
本発明の収集対象装置52が具備するデータ群登録情報取得手段9は、該収集対象装置52が属するデータ群のデータ群登録情報101を取得する手段である。
The data group registration information acquisition unit 9 included in the
データ群Xに属する収集対象装置52の該データ群登録情報取得手段9に対応した処理の一実施形態のフローチャートを図16に示す。
FIG. 16 shows a flowchart of an embodiment of a process corresponding to the data group registration information acquisition unit 9 of the
該データ群登録情報取得手段9は、まず、自装置が所属するデータ群X用のデータ群登録情報提供宛先402Xをブローカ手段54に対して、受信対象として設定する。(処理5091)
The data group registration information acquisition unit 9 first sets the data group registration
データ群登録情報提供宛先402Xは、図15の例では、上記データ収集制御装置51のデータ群登録情報提供手段4が設定した宛先と同様に、既定の宛先階層「GrpRegInfo/」に、該データ群の名称「データ群X」を加えた宛先名称を使用している。
In the example of FIG. 15, the data group registration
既にデータ群Xのデータ群登録要求100Xが上記データ収集制御装置51に対して実行されている場合、上記データ収集制御装置51のデータ群登録情報提供手段4より、データ群登録情報101Xが該データ群登録情報提供宛先402Xに対して送付されている。
When the data
既にデータ群Xのデータ群登録情報101Xが該データ群登録情報提供宛先402Xに送付されている状態で、上記処理にてデータ群登録情報提供宛先402Xに対して受信対象とブローカ手段54に設定すると、該ブローカ手段54は、受信済みのデータ群Xのデータ群登録情報101Xを、該宛先402Xを受信設定した該収集対象装置52に中継する。
When the data group registration information 101X of the data group X has already been sent to the data group registration
該データ群登録情報受信手段9は、該ブローカ手段54から中継された該データ群Xのデータ群登録情報101Xを、該ブローカ手段54の該データ群登録情報提供宛先402Xから受信し、本データ群登録情報取得手段9による取得処理を終了する。(処理5092)
The data group registration information receiving unit 9 receives the data group registration information 101X of the data group X relayed from the
本発明の収集対象装置52が具備する収集登録要求送信手段10は、該収集対象装置52からの収集対象データの収集を登録するための収集登録要求110を送信する手段である。
The collection registration request transmitting means 10 included in the
該収集登録要求送信手段10による処理は、上記データ群登録情報取得手段9によるデータ群登録情報の取得処理に引続いて実行される。
The processing by the collection registration
データ群Xに属する収集対象装置52「装置k」の該収集登録要求送信手段10に対応した処理の一実施形態のフローチャートを図17に示す。
FIG. 17 shows a flowchart of an embodiment of processing corresponding to the collection registration request transmission means 10 of the
該収集登録要求送信手段10は、まず、上記データ群登録情報取得手段9で取得した該データ群X用のデータ群登録情報101Xからデータ群X用宛先階層情報1014Xを取得する。(処理5101)
The collection registration
次に、該収集登録要求送信手段10は、該データ群X用宛先階層情報1014Xで指定された宛先階層410X下の上記ブローカ手段54の既定の収集登録要求宛先411Xに対し、収集登録要求110Xkを送信し、本収集登録要求送信手段10による送信処理を終了する。(処理5102)
Next, the collection / registration request transmission means 10 sends a collection / registration request 110Xk to the default collection /
収集登録要求宛先411Xは、図15の例では、データ群X用宛先階層「データ群X/」に、既定の宛先名称「CollectReq」を加えた「データ群X/CollectReq」という宛先名称を使用している。
In the example of FIG. 15, the collection
本発明の収集対象装置52が具備する収集登録情報取得手段11は、上記収集登録要求送信手段10で送信した収集登録要求110に対する処理結果である収集登録情報111を取得する手段である。
The collection registration information acquisition unit 11 included in the
該収集登録情報取得手段11による処理は、上記収集登録要求送信手段10による収集登録要求110の送信処理に引続いて実行される。
The processing by the collection registration information acquisition unit 11 is executed following the transmission processing of the collection registration request 110 by the collection registration
データ群Xに属する収集対象装置52「装置k」の該収集登録情報取得手段11に対応した処理の一実施形態のフローチャートを図18に示す。
FIG. 18 shows a flowchart of an embodiment of a process corresponding to the collection registration information acquisition unit 11 of the
該収集登録情報取得手段11は、まず、上記データ群登録情報取得手段9で取得したデータ群Xのデータ群登録情報101Xからデータ群X用の宛先階層情報1014Xを取得する。(処理5111) The collection registration information acquisition unit 11 first acquires the destination hierarchy information 1014X for the data group X from the data group registration information 101X of the data group X acquired by the data group registration information acquisition unit 9. (Processing 5111)
次に、該収集登録情報取得手段11は、上記処理で取得したデータ群X用の宛先階層情報1014Xと、上記収集登録要求送信手段10で送信した収集登録要求110Xkで指定した提供者名称1101Xkから、該収集対象装置52用の収集登録情報提供宛先412Xkを計算する。(処理5112)
具体的には、図15の例では、データ群X用の宛先階層「データ群X/」に、既定の階層名「CollectInfo/」を加え、さらに、提供者名称1101Xに指定した「装置k」という名称を加えた、「データ群X/CollectInfo/装置k」を収集登録情報提供宛先412Xkとして使用する。
Next, the collection registration information acquisition unit 11 uses the destination hierarchy information 1014X for the data group X acquired by the above processing and the provider name 1101Xk specified by the collection registration request 110Xk transmitted by the collection registration
Specifically, in the example of FIG. 15, the default hierarchy name “CollectInfo /” is added to the destination hierarchy “data group X /” for the data group X, and “apparatus k” designated as the provider name 1101X is added. “Data group X / CollectInfo / apparatus k” to which the name is added is used as the collection registration information provision destination 412Xk.
次に、該収集登録情報取得手段11は、上記処理で計算した収集登録情報提供宛先412Xkを、ブローカ手段54に対して受信対象として設定する。(処理5113)
Next, the collection / registration information acquisition unit 11 sets the collection / registration information provision destination 412Xk calculated by the above processing as a reception target for the
最後に、該収集登録情報取得手段11は、上記収集登録要求送信手段10が送信した収集登録要求110Xkを上記本発明のデータ収集制御装置51にて処理し、該データ収集制御装置51の収集登録情報提供手段8が送信した該収集登録要求の処理結果である収集登録情報111Xkを、該収集登録情報提供宛先412Xkから受信し、本該収集登録情報取得手段11の処理を終了する。(処理5114)
Finally, the collection registration information acquisition unit 11 processes the collection registration request 110Xk transmitted by the collection registration
本発明の収集対象装置52が具備する収集データ送信手段12は、該収集対象装置52から収集対象データ120を送信し、データ収集処理プログラム53に該収集対象データ120を提供する手段である。
The collection data transmission means 12 included in the
該収集データ送信手段12による処理は、上記収集登録情報取得手段11で収集登録情報111を取得した後で実行される処理で、一旦、上記収集登録情報取得手段11で収集登録情報111を取得すると、該収集対象装置52を停止、あるいは、該収集登録情報111を取得後、一定期間以上経過しない限り、該収集登録情報111を再取得せず、最後に取得した収集登録情報111を用い、該収集対象装置52から、定期的、あるいは、特定の事象が発生した時点で、該収集対象装置52の収集対象データ120を送信する。
The processing by the collected
データ群Xに属する収集対象装置52「装置k」の該収集データ送信手段12に対応した毎回の収集対象データの送信処理の一実施形態のフローチャートを図19に示す。
FIG. 19 is a flowchart of an embodiment of the transmission process of collection target data each time corresponding to the collection
該収集データ送信手段12は、まず、上記収集登録情報取得手段11で取得した該収集対象装置52の収集登録情報111Xkから収集用宛先階層情報1114Xkを取得する。(処理5121)
The collection
次に、該収集データ送信手段12は、上記処理で取得した収集用宛先階層情報1114Xkを用い、該収集対象装置52から提供する収集対象データ120Xkを送信する収集用宛先階層下420Xk下の収集対象データ提供宛先421Xkを計算する。(処理5122)
Next, the collection data transmission means 12 uses the collection destination hierarchy information 1114Xk acquired in the above processing, and transmits the collection target data 120Xk provided from the
具体的には、図15の例では、収集用宛先階層下420Xkである「データ群X/装置k/」に「Data」という既定の宛先名称を加えた宛先を収集対象データ提供宛先421Xkとしている。 Specifically, in the example of FIG. 15, a collection target data provision destination 421Xk is a destination obtained by adding a default destination name of “Data” to “data group X / device k /” which is 420Xk below the collection destination hierarchy. .
図15の例では、収集対象データ120Xkを一括で送信する宛先として「Data」という既定の宛先名称を用いる例を示しているが、収集対象データ120Xkを構成する個々のデータを、宛先を分離して送信する場合は、該収集対象装置52から収集登録要求110Xkで示した収集対象データのデータ名称一覧1103Xk内のデータ名称に対応した宛先名を「Data」の代わりに用いてもよい。
In the example of FIG. 15, an example in which the default destination name “Data” is used as a destination to which the collection target data 120Xk is transmitted at once is shown. However, the individual data constituting the collection target data 120Xk is separated into destinations. In this case, the destination name corresponding to the data name in the data name list 1103Xk of the collection target data indicated by the collection registration request 110Xk from the
最後に、該収集データ送信手段12は、上記処理で計算した収集対象データ提供宛先421Xkを宛先として、上記ブローカ手段54に対して、該収集対象装置52の収集対象データ120Xkを送信し、本収集データ送信手段12の処理を終了する。(処理5123)
Finally, the collected
本実施形態の収集対象装置52によると、データ群登録要求100を用いて新たなタイプの一群の収集対象装置52を追加することで、該データ群に属する収集対象装置52から収集対象データ120を収集して、データ収集処理プログラム53で処理することが可能となる。
According to the
また、該収集対象装置52の収集登録要求送信10により、自動的に該収集対象装置52からの収集を登録できるので、登録済みのデータ群に属する新たな収集対象装置52を簡単に収集対象として追加することが可能となる。
Further, since the collection from the
さらに、データ群登録情報取得手段9、収集登録情報取得手段11で取得したデータ群登録情報101、収集登録情報111に従い、収集登録要求110や、収集対象データ120のブローカ手段54への宛先を動的に切替えるため、ブローカ手段54やデータ収集処理プログラム53の障害時のリダイレクトや、負荷分散を行うことが可能となる。
Further, according to the data
(実施形態4)
次に上記実施形態2の本発明のデータ収集制御装置51に対応した、本発明のデータ収集処理プログラム53の一実施形態を説明する。
(Embodiment 4)
Next, an embodiment of the data
図20は、上記データ収集制御装置51に対応した本発明のデータ収集処理プログラム53の一実施形態のブロック図と、データの受渡しのためのブローカ手段54の宛先の具体的な構成例を示す。
FIG. 20 shows a block diagram of an embodiment of the data
本発明のデータ収集処理プログラム53は、処理対象データ群登録情報取得ステップ301と、該処理対象データ群の全収集登録情報取得ステップ302と、処理対象データ取得ステップ303と、収集データ処理ステップ304を含む。
The data
以下、本発明のデータ収集処理プログラム53に含まれる各処理ステップの詳細を説明する。
Details of each processing step included in the data
本発明のデータ収集処理プログラム54に含まれる収集対象データ群登録情報取得ステップ301は、該データ収集処理プログラム53が処理する収集対象データ群のデータ群登録情報101を取得する処理ステップである。
The collection target data group registration
収集対象データ群Xの収集対象データを処理するデータ収集処理プログラム53の該収集対象データ群登録情報取得ステップ301での処理の一実施形態のフローチャートを図21に示す。
FIG. 21 shows a flowchart of an embodiment of the processing in the collection target data group registration
該収集対象データ群登録情報取得ステップ301では、まず、該データ収集処理プログラム53が処理対象とする収集対象データ群X用のデータ群登録情報提供宛先402Xをブローカ手段54に対して、受信対象として設定する。(ステップ3011)
In the collection target data group registration
データ群登録情報提供宛先402Xは、図20の例では、上記データ収集制御装置51のデータ群登録情報提供手段4が設定した宛先と同様に、既定の宛先階層「GrpRegInfo/」に、該データ群の名称「データ群X」を加えた宛先名称を使用している。
In the example of FIG. 20, the data group registration
既にデータ群登録要求100が上記データ収集制御装置51に対して実行されている場合、上記データ収集制御装置51のデータ群登録情報提供手段4より、データ群登録情報101Xが該データ群登録情報提供宛先402Xに対して送付されている。
When the data group registration request 100 has already been executed for the data collection control device 51, the data group registration information 101X provides the data group registration information from the data group registration
既にデータ群登録情報101Xが該データ群登録情報提供宛先402Xに送付されている状態で、上記処理にてデータ群登録情報提供宛先402Xに対して受信対象とブローカ手段54に設定すると、該ブローカ手段54は、受信済みのデータ群Xのデータ群登録情報101Xを、該宛先402Xを受信設定した該データ収集処理プログラム53に中継する。
When the data group registration information 101X has already been sent to the data group registration
該データ収集処理プログラム53は、該ブローカ手段54から中継された該データ群Xのデータ群登録情報101Xを、該ブローカ手段54の該データ群登録情報提供宛先402Xから受信し、本収集対象データ群登録情報取得ステップ301による取得処理を終了する。(ステップ3012)
The data
本発明のデータ収集処理プログラム53に含まれる処理対象データ群の全収集登録情報取得ステップ302は、処理対象とする収集対象データ群の全収集登録情報を取得する処理ステップである。
The processing target data group all collection registration
該処理対象データ群の全収集登録情報取得ステップ302による処理は、上記収集対象データ群登録情報取得ステップ301による収集対象データ群のデータ群登録情報の取得処理に引続いて実行される。
The processing by the collection target data group all collection registration
収集対象データ群Xの収集対象データを処理するデータ収集処理プログラム53の処理対象データ群の全収集登録情報取得ステップ302での処理の一実施形態のフローチャートを図22に示す。
FIG. 22 shows a flowchart of an embodiment of the processing in the all collection registration
該処理対象データ群の全収集登録情報取得ステップ302では、まず、上記収集対象データ群登録情報取得ステップ301で取得した処理対象である収集対象データ群Xのデータ群登録情報101Xから、該データ群用宛先階層情報1014Xを取得する。(ステップ3021)
In the all collection registration
次に、該処理対象データ群の全収集登録情報取得ステップ302では、上記処理ステップで取得したデータ群用宛先階層情報1014Xを用い、データ群X用宛先階層410Xの宛先階層名に、既定の宛先名称を追加し、該データ群Xの登録済み全収集登録情報提供宛先413Xを計算する。(ステップ3022)
Next, in the all collection registration
具体的には、図20の例では、データ群X用宛先階層410Xの宛先階層名「データ群X/」に、登録済み全収集登録情報提供用の既定の宛先名称である「CollectInfo/All_Reg」を追加した宛先名称を該データ群Xの登録済み全収集登録情報提供宛先413Xとして使用している。
Specifically, in the example of FIG. 20, “CollectInfo / All_Reg”, which is a default destination name for providing registered all collection registration information, is added to the destination hierarchy name “data group X /” of the
次に、該処理対象データ群の全収集登録情報取得ステップ302では、
上記ブローカ手段54に対し、上記処理ステップで計算したデータ群Xの登録済み全収集登録情報提供宛先413Xを受信対象として設定する。(ステップ3023)
Next, in the all collection registration
For the broker means 54, the registered all collection registration
最後に、該処理対象データ群の全収集登録情報取得ステップ302では、上記処理ステップで設定したデータ群Xの登録済み全収集登録情報提供宛先413Xから、該データ群Xの全収集登録情報112Xを受信し、本処理対象データ群の全収集登録情報取得ステップ302による処理対象データ群Xの全収集登録情報112Xの取得処理を終了する。(ステップ3024)
Finally, in the all collection registration
なお、上記実施形態の処理対象データ群の全収集登録情報取得ステップ302では、データ群Xの全収集登録情報112Xをそのまま全収集登録情報提供宛先413Xから受信する例を示しているが、最終的に全収集登録情報112Xに変換できる情報であれば、データ群X用の全収集登録情報提供宛先413X経由で、どのような形式のデータを受信してもよい。
In addition, in the all collection registration
例えば、上記実施形態2のデータ収集制御装置51の収集登録情報提供手段8の実施形態で示したとおり、例えば、該収集登録情報提供手段8が、収集登録要求110毎に全収集登録情報112Xを該宛先413Xに送信するのではなく、データ群Xの全データ収集登録情報112Xの送付は、一定周期毎にし、該周期間の収集登録要求110Xkに対しては、追加した収集登録情報111Xkだけを差分情報として送付する方式であれば、本処理対象データ群の全収集登録情報取得ステップ302では、該収集登録情報手段8が送信してきた該データを受信し、受信した一定周期毎の全データ収集登録情報112Xと上記差分情報から最新のデータ群Xの全データ収集登録情報112Xを構築するという形でもよい。
For example, as shown in the embodiment of the collection registration
また、該収集登録情報提供手段8が、宛先を分けて、1つの宛先に一定周期時刻毎に該周期毎のスナップショットのデータ群Xの全データ収集登録情報112Xを送信し、もう1つの宛先に、該周期間の収集登録要求110Xkに対する収集登録情報111Xkを差分情報として送信する方式であれば、同様に、本処理対象データ群の全収集登録情報取得ステップ302では、宛先を分け、一方の宛先からは、一定周期毎、あるいは、1回だけ一定周期毎の全データ収集登録情報112Xを受信し、もう一方の宛先からは、毎回の収集登録要求に対応した上記差分情報を受信し、2つの宛先か受信した情報から、最新のデータ群Xの全データ収集登録情報112Xを構築するという形でもよい。
In addition, the collection registration
本発明のデータ収集処理プログラム53に含まれる処理対象データ取得ステップ303は、処理対象とする全収集対象データを取得する処理ステップである。
The processing target
該処理対象データ取得ステップ303による処理は、上記処理対象データ群の全収集登録情報取得ステップ302による処理対象データ群の全収集登録情報112の取得処理に引続いて実行される。
The processing by the processing target
収集対象データ群Xの収集対象データを処理するデータ収集処理プログラム53の処理対象データ取得ステップ303での処理の一実施形態のフローチャートを図23に示す。
FIG. 23 shows a flowchart of an embodiment of the processing in the processing target
該処理対象データ取得ステップ303では、処理対象データ群の全収集登録情報取得ステップ302で取得したデータ群Xの全収集登録情報112Xを参照し、1つずつ順に処理するため、まず、取得したデータ群Xの全収集登録情報112Xに未処理の収集登録情報111Xkがないかチェックする。(ステップ3031)
In the processing target
チェックの結果、すべての収集登録情報111Xkを処理済みであれば、本処理対象データ取得ステップ303による収集対象データの取得処理を終了する。
As a result of the check, if all the collection registration information 111Xk has been processed, the acquisition process of the collection target data in this process target
チェックの結果、未処理の収集登録情報111Xkがある場合は、該収集登録情報111Xkから、収集対象データを取得するための収集用宛先階層情報1114Xkを取得する。(ステップ3032) If there is unprocessed collection registration information 111Xk as a result of the check, collection destination hierarchy information 1114Xk for obtaining collection target data is obtained from the collection registration information 111Xk. (Step 3032)
さらに、上記処理ステップで取得した収集用宛先階層情報1114Xkから収集用宛先階層420Xk下の収集対象データ120Xkを取得するための収集対象データ提供宛先421Xkを計算する。(ステップ3033) Further, the collection target data provision destination 421Xk for acquiring the collection target data 120Xk below the collection destination hierarchy 420Xk is calculated from the collection destination hierarchy information 1114Xk acquired in the above processing step. (Step 3033)
具体的には、図20の例では、収集用宛先階層420Xkである「データ群X/装置k/」に「Data」という既定の宛先名称を加えた宛先を収集対象データ提供宛先421Xkとしている。 Specifically, in the example of FIG. 20, a collection destination data provision destination 421Xk is a destination obtained by adding a default destination name “Data” to “data group X / device k /” that is the collection destination hierarchy 420Xk.
図20の例では、収集対象データ120Xkを一括で送信する宛先として「Data」という既定の宛先名称を用いる例を示しているが、収集対象データ120Xkを構成する個々のデータを、宛先を分離して送信する場合は、上記収集登録情報111Xkに含まれる収集対象データのデータ名称一覧1113Xk内のデータ名称に対応した宛先名を「Data」の代わりに用いてもよい。 In the example of FIG. 20, an example in which the default destination name “Data” is used as a destination to which the collection target data 120Xk is transmitted at once is shown. However, the individual data constituting the collection target data 120Xk is separated into destinations. In this case, the destination name corresponding to the data name in the data name list 1113Xk of the collection target data included in the collection registration information 111Xk may be used instead of “Data”.
次に、上記処理ステップで計算した収集対象データ提供宛先421Xkを、上記ブローカ手段54に対して、受信対象として設定する。(ステップ3034) Next, the collection target data provision destination 421Xk calculated in the above processing step is set as a reception target for the broker means 54. (Step 3034)
次に、上記処理ステップで設定した収集対象データ提供宛先421Xkから、該収集対象データ提供宛先421Xkに対して送信された収集対象データ120Xkを受信し、処理ステップ3031に戻る。(ステップ3035)
Next, the collection target data 120Xk transmitted to the collection target data provision destination 421Xk is received from the collection target data provision destination 421Xk set in the above processing step, and the processing returns to the
本発明のデータ収集処理プログラム53に含まれる収集データ処理ステップ304は、収集した全収集対象データを処理するステップである。
The collected
該収集データ処理ステップ304による処理は、上記処理対象データ取得ステップ303による処理対象データ群の全収集対象データ120Xkの取得処理に引続いて実行される。
The processing by the collected
収集対象データ群Xの収集対象データを処理するデータ収集処理プログラム53の収集データ処理ステップ304での処理の一実施形態のフローチャートを図24に示す。
FIG. 24 shows a flowchart of an embodiment of the processing in the collected
該収集データ処理ステップ304では、まず、記収集対象データ群登録情報取得ステップ301で取得した収集対象データ群のデータ群登録情報101Xから、該データ群Xのデータ形式情報1013Xを取得する。(ステップ3041)
In the collected
次に、上記処理ステップで取得したデータ群Xのデータ形式情報1013Xを参照し、上記処理対象データ取得ステップ303で取得した処理対象のすべての収集対象データ120Xkをデータ形式情報1013Xに従ってアクセスし、該アクセス結果で得られた情報に対して所定の処理を実行し、本収集データ処理ステップ304の処理を終了する。(ステップ3042)
Next, with reference to the data format information 1013X of the data group X acquired in the processing step, all the collection target data 120Xk to be processed acquired in the processing target
本実施形態のデータ収集処理プログラムによれば、データ群登録情報101により、処理するデータのデータ形式を知って、収集対象データ120への適切なアクセス方法を自動的に選択することができ、様々な収集対象装置52の収集対象データ120や、別の収集対象処理プログラムの処理結果を柔軟に処理することが可能となる。
また、収集登録情報111により、処理対象である収集対象装置52、データ収集処理プログラム53を動的に知ることができるため、処理対象の収集対象装置52やデータ収集処理プログラムが増えても、自動的に対応できる。
According to the data collection processing program of this embodiment, the data
Further, since the
(実施形態5)
次に上記実施形態2の本発明のデータ収集制御装置51に対応し、他のデータ収集処理プログラム53に処理結果を提供する、本発明のデータ収集処理プログラム53の一実施形態を説明する。
(Embodiment 5)
Next, an embodiment of the data
本実施形態のデータ収集処理プログラム53は、収集した処理対象データを処理するだけでなく、該データ収集処理プログラム53の処理結果データを、収集対象データとして、該データ収集処理プログラム53群から生成される処理結果データ群をデータ群登録要求100によりデータ収集制御装置51に対しデータ群登録し、該該データ収集処理プログラム53群の処理結果データを、別のデータ収集処理プログラム53が処理対象とできるようにしたデータ収集処理プログラム53である。
The data
図25は、上記実施形態2のデータ収集制御装置51に対応した本実施形態のデータ収集処理プログラム53の一実施形態のブロック図と、データの受渡しのためのブローカ手段54の宛先の具体的な構成例を示す。
FIG. 25 is a block diagram of an embodiment of the data
本実施形態のデータ収集処理プログラム53は、上記実施形態4のデータ収集処理プログラム53が持つ処理ステップに加え、さらに、該処理プログラム用データ群登録情報取得ステップ305と、該処理プログラム用収集登録要求送信ステップ306と、該処理プログラム用収集登録情報取得ステップ307と、処理結果データ送信ステップ308を含む。
In addition to the processing steps of the data
以下、本実施形態のデータ収集処理プログラム53に追加で含まれる各処理ステップの詳細を説明する。
Hereinafter, details of each processing step additionally included in the data
本実施形態のデータ収集処理プログラム53に含まれる該処理プログラム用データ群登録情報取得ステップ305は、該データ収集処理プログラム53群が生成する処理結果データのデータ群登録情報101を取得する処理ステップである。
The processing program data group registration information acquisition step 305 included in the data
データ群Pに属するデータ収集処理プログラム53の該処理プログラム用データ群登録情報取得ステップ305の処理の一実施形態のフローチャートを図26に示す。
FIG. 26 shows a flowchart of an embodiment of the processing of the data group registration information acquisition step 305 for the data
該処理プログラム用データ群登録情報取得ステップ305では、まず、該データ収集処理プログラム53が属するデータ群P用のデータ群登録情報提供宛先402Pをブローカ手段54に対して、受信対象として設定する。(ステップ3051)
In the processing program data group registration information acquisition step 305, first, the data group registration
データ群登録情報提供宛先402Pは、図25の例では、上記データ収集制御装置51のデータ群登録情報提供手段4が設定した宛先と同様に、既定の宛先階層「GrpRegInfo/」に、該データ群の名称「データ群P」を加えた宛先名称を使用している。
In the example of FIG. 25, the data group registration
既にデータ群Pのデータ群登録要求100Pが上記データ収集制御装置51に対して実行されている場合、上記データ収集制御装置51のデータ群登録情報提供手段4より、データ群登録情報101Pが該データ群登録情報提供宛先402Pに対して送付されている。
When the data group registration request 100P of the data group P has already been executed for the data collection control device 51, the data group registration information 101P is sent from the data group registration
既にデータ群Pのデータ群登録情報101Pが該データ群登録情報提供宛先402Pに送付されている状態で、上記処理ステップにてデータ群登録情報提供宛先402Pに対して受信対象とブローカ手段54に設定すると、該ブローカ手段54は、受信済みのデータ群Pのデータ群登録情報101Pを、該宛先402Pを受信設定した該データ収集処理プログラム53に中継する。
In a state where the data group registration information 101P of the data group P has already been sent to the data group registration
該データ収集処理プログラム53の該処理プログラム用データ群登録情報取得ステップ305では、該ブローカ手段54から中継された該データ群Xのデータ群登録情報101Pを、該ブローカ手段54の該データ群登録情報提供宛先402Pから受信し、本該処理プログラム用データ群登録情報取得ステップ305による取得処理を終了する。(ステップ3052)
In the processing program data group registration information acquisition step 305 of the data
本実施形態のデータ収集処理プログラム53に含まれる該処理プログラム用収集登録要求送信ステップ306は、該データ収集処理プログラム53が生成する処理結果データを、別のデータ収集処理プログラムが処理対象とする収集対象データ120として、収集登録するための収集登録要求110を送信する処理ステップである。
In the processing program collection registration request transmission step 306 included in the data
該処理プログラム用収集登録要求送信ステップ306による処理は、上記該処理プログラム用データ群登録情報取得ステップ305によるデータ群登録情報の取得処理に引続いて実行される。 The processing by the processing program collection registration request transmission step 306 is executed subsequent to the data group registration information acquisition processing by the processing program data group registration information acquisition step 305.
データ群Pに属するデータ収集処理プログラム53「プログラムk」の該処理プログラム用収集登録要求送信ステップ306の処理の一実施形態のフローチャートを図27に示す。
FIG. 27 is a flowchart of one embodiment of the processing of the processing program collection registration request transmission step 306 of the data
該処理プログラム用収集登録要求送信ステップ306では、まず、上記該処理プログラム用データ群登録情報取得ステップ305で取得した該データ群P用のデータ群登録情報101Pからデータ群P用宛先階層情報1014Pを取得する。(ステップ3061) In the processing program collection registration request transmission step 306, first, the data group P destination hierarchy information 1014P is obtained from the data group P data group registration information 101P acquired in the processing program data group registration information acquisition step 305. get. (Step 3061)
次に、該処理プログラム用収集登録要求送信ステップ306では、該データ群P用宛先階層情報1014Pで指定された宛先階層410P下の上記ブローカ手段54の既定の収集登録要求宛先411Pに対し、収集登録要求110Pkを送信し、本該処理プログラム用収集登録要求送信ステップ306による送信処理を終了する。(ステップ3062)
Next, in the processing program collection registration request transmission step 306, the registration registration request destination 411P of the broker means 54 under the
収集登録要求宛先411Pは、図25の例では、データ群P用宛先階層「データ群P/」に、既定の宛先名称「CollectReq」を加えた「データ群P/CollectReq」という宛先名称を使用している。 In the example of FIG. 25, the collection registration request destination 411P uses the destination name “data group P / CollectReq” obtained by adding the default destination name “CollectReq” to the data group P destination hierarchy “data group P /”. ing.
本実施形態のデータ収集処理プログラム53に含まれる該処理プログラム用収集登録情報取得ステップ307は、該処理プログラム用収集登録要求送信ステップ306で送信した収集登録要求110に対する処理結果である収集登録情報111を取得する処理ステップである。
The processing program collection registration information acquisition step 307 included in the data
該処理プログラム用収集登録情報取得ステップ307による処理は、上記該処理プログラム用収集登録要求送信ステップ306による収集登録要求110の送信処理に引続いて実行される。 The processing by the processing program collection registration information acquisition step 307 is executed following the transmission processing of the collection registration request 110 by the processing program collection registration request transmission step 306.
データ群Pに属するデータ収集処理プログラム53「プログラムk」の該処理プログラム用収集登録情報取得ステップ307の処理の一実施形態のフローチャートを図28に示す。
FIG. 28 is a flowchart of an embodiment of the processing of the processing program collection registration information acquisition step 307 of the data
該処理プログラム用収集登録情報取得ステップ307では、まず、上記該処理プログラム用データ群登録情報取得ステップ305で取得したデータ群Pのデータ群登録情報101Pからデータ群P用の宛先階層情報1014Pを取得する。(ステップ3071) In the processing program collection registration information acquisition step 307, first, the destination hierarchy information 1014P for the data group P is acquired from the data group registration information 101P of the data group P acquired in the processing program data group registration information acquisition step 305. To do. (Step 3071)
次に、該処理プログラム用収集登録情報取得ステップ307では、上記処理で取得したデータ群P用の宛先階層情報1014Pと、上記該処理プログラム用収集登録要求送信ステップ306で送信した収集登録要求110Pkで指定した提供者名称1101Pkから、該データ収集処理プログラム53用の収集登録情報提供宛先412Pkを計算する。(ステップ3072)
具体的には、図25の例では、データ群P用の宛先階層「データ群P/」に、既定の階層名「CollectInfo/」を加え、さらに、提供者名称1101Pに指定した「プログラムk」という名称を加えた、「データ群P/CollectInfo/プログラムk」を収集登録情報提供宛先412Pkとして使用する。
Next, in the processing program collection registration information acquisition step 307, the destination hierarchy information 1014P for the data group P acquired in the above processing and the collection registration request 110Pk transmitted in the processing program collection registration request transmission step 306 are used. A collection registration information provision destination 412Pk for the data
Specifically, in the example of FIG. 25, the default hierarchy name “CollectInfo /” is added to the destination hierarchy “data group P /” for the data group P, and “program k” designated as the provider name 1101P is added. “Data group P / CollectInfo / program k” to which the name is added is used as the collection registration information provision destination 412Pk.
次に、該処理プログラム用収集登録情報取得ステップ307では、上記処理で計算した収集登録情報提供宛先412Pkを、ブローカ手段54に対して受信対象として設定する。(ステップ3073) Next, in the processing program collection registration information acquisition step 307, the collection registration information provision destination 412Pk calculated in the above processing is set as a reception target for the broker means 54. (Step 3073)
最後に、該処理プログラム用収集登録情報取得ステップ307では、上記該処理プログラム用収集登録要求送信ステップ306にて送信した収集登録要求110Pkを上記本発明のデータ収集制御装置51にて処理し、該データ収集制御装置51の収集登録情報提供手段8が送信した該収集登録要求の処理結果である収集登録情報111Pkを、該収集登録情報提供宛先412Pkから受信し、本該処理プログラム用収集登録情報取得ステップ307の処理を終了する。(ステップ3074)
Finally, in the processing program collection registration information acquisition step 307, the collection registration request 110Pk transmitted in the processing program collection registration request transmission step 306 is processed by the data collection control device 51 of the present invention. The collection registration information 111Pk, which is the processing result of the collection registration request transmitted by the collection registration
本実施形態のデータ収集処理プログラム53に含まれる処理結果データ送信ステップ308は、該データ収集処理プログラム53の処理結果データを収集対象データ120として送信し、別のデータ収集処理プログラム53に該収集対象データを提供する処理ステップである。
In the processing result data transmission step 308 included in the data
該処理結果データ送信ステップ308による処理は、上記該データ収集処理プログラム53の収集データ処理304により収集対象データに対して所定の処理を実施した後、引続き実行される。
The processing by the processing result data transmission step 308 is continued after a predetermined processing is performed on the collection target data by the
データ群Pに属するデータ収集処理プログラム53「プログラムk」の該処理結果データ送信ステップ308の送信処理の一実施形態のフローチャートを図29に示す。
FIG. 29 shows a flowchart of an embodiment of the transmission processing of the processing result data transmission step 308 of the data
該処理結果データ送信ステップ308では、まず、上記該処理プログラム用収集登録情報取得ステップ307で取得したデータ収集処理プログラム53の収集登録情報111Pkから収集用宛先階層情報1114Pkを取得する。(ステップ3081)
In the processing result data transmission step 308, first, the collection destination hierarchy information 1114Pk is acquired from the collection registration information 111Pk of the data
次に、該処理結果データ送信ステップ308では、上記処理ステップで取得した収集用宛先階層情報1114Pkを用い、該データ収集処理プログラム53から提供する処理結果の収集対象データ120Pkを送信する収集用宛先階層下420Pk下の収集対象データ提供宛先421Pkを計算する。(ステップ3082)
Next, in the processing result data transmission step 308, the collection destination tier that transmits the
具体的には、図25の例では、収集用宛先階層下420Pkである「データ群X/プログラムk」に「Data」という既定の宛先名称を加えた宛先を収集対象データ提供宛先421Pkとしている。 Specifically, in the example of FIG. 25, the collection target data provision destination 421Pk is a destination obtained by adding a default destination name “Data” to “data group X / program k” which is 420 Pk below the collection destination hierarchy.
図25の例では、処理結果の収集対象データ120Pkを一括で送信する宛先として「Data」という既定の宛先名称を用いる例を示しているが、処理結果の収集対象データ120Pkを構成する個々のデータを、宛先を分離して送信する場合は、該データ収集処理プログラム53から収集登録要求110Pkで示した収集対象データのデータ名称一覧1103Xk内のデータ名称に対応した宛先名を「Data」の代わりに用いてもよい。
In the example of FIG. 25, an example is shown in which the default destination name “Data” is used as a destination to which the processing result collection target data 120Pk is transmitted in a lump, but individual data constituting the processing result collection target data 120Pk. , The destination name corresponding to the data name in the data name list 1103Xk of the collection target data indicated by the collection registration request 110Pk from the data
最後に、該処理結果データ送信ステップ308では、上記処理ステップで計算した収集対象データ提供宛先421Pkを宛先として、ブローカ手段54に対して、該データ収集処理プログラム53の処理結果を収集対象データ120Pkとして送信し、本処理結果データ送信ステップ308の処理を終了する。(ステップ3083)
Finally, in the processing result data transmission step 308, the processing result of the data
本実施形態のデータ収集処理プログラム53によれば、該データ収集処理プログラム53の処理結果を別のデータ収集処理プログラム53の入力とすることが可能となるため、収集対象データ120に対して、様々な処理や加工を次々と施すことが可能となる。
According to the data
例えば、データ変換を行うデータ収集処理プログラム53を登録すれば、入力とした収集対象データ120を、既存のデータ収集処理プログラム53で使用可能なデータ形式に変換することができる。
For example, if the data
また、アラーム監視を行うデータ収集処理プログラム53を登録すれば、別のデータ収集処理プログラム53の間に入り、収集対象データ120に対して、閾値監視を行い、ある条件でアラームを挙げるといった処理も可能となる。
If a data
(実施形態6)
上記本発明の実施形態1では、ブローカ手段54が1つの例を示したが、ブローカ手段を1つ、または、複数で構成する本発明のデータ収集システムの実施形態について説明する。
(Embodiment 6)
In the first embodiment of the present invention, one example of the broker means 54 has been shown. However, an embodiment of the data collection system of the present invention configured with one or a plurality of broker means will be described.
図30は、1つ、または、複数のブローカ手段54で構成する本発明のデータ収集システムの一構成例を示す。 FIG. 30 shows a configuration example of the data collection system of the present invention constituted by one or a plurality of broker means 54.
本発明の本実施形態では、上記実施形態1のデータ収集システムにおいて、ブローカ手段54を含むブローカ装置84を1つ、または、複数で構成し、データ収集処理プログラム53が動作するデータ収集処理装置83も1つ、または、複数で構成する。
In this embodiment of the present invention, in the data collection system of the first embodiment, one or
本実施形態のデータ収集システムでは、データ収集制御装置51が、収集対象データ120の送受信先のブローカ手段54の宛先を制御し、収集対象装置52とデータ収集処理プログラム53間、及び、データ収集処理プログラム53間の収集対象データ120の受渡しを、複数のブローカ手段54に分散化するように制御する。
In the data collection system of this embodiment, the data collection control device 51 controls the destination of the broker means 54 that is the transmission / reception destination of the
本データ収集システムによれば、データ収集制御装置51によって、ブローカ手段54の宛先を切替え、各ブローカ手段54で中継するデータを負荷分散することが可能となる。 According to this data collection system, the data collection control device 51 can switch the destination of the broker means 54 and load-distribute data relayed by each broker means 54.
図30の実施形態では、該データ収集制御装置51と収集対象装置52、データ収集処理プログラム53間のデータ群登録要求/データ登録情報取得、収集登録要求/収集登録情報取得のための通信を中継するブローカ手段54と、収集対象装置52とデータ収集処理プログラム53間、及び、データ収集処理プログラム53間の収集対象データ120のための通信を中継するブローカ手段54も分離した例を示すが、分離せず、同居した形でもよい。
In the embodiment of FIG. 30, data group registration request / data registration information acquisition, collection registration request / collection registration information acquisition communication between the data collection control device 51, the
また、図30では、ブローカ手段54、データ収集処理プログラム53は、データ収集制御装置51とは別の装置上に具備、あるいは、実行される形態を示しているが、同一の装置上で具備、あるいは、実行される形態であってもよい。
In FIG. 30, the
以下、本実施形態6のデータ収集システムにおける、本発明のデータ収集制御装置51、収集対象装置52、データ収集処理プログラム53の実施形態を説明する。
Hereinafter, embodiments of the data collection control device 51, the
(実施形態7)
まず、上記実施形態6のデータ収集システムにおいて、データ群でブローカ手段を分散化させる本発明のデータ収集制御装置51の実施形態を説明する。
(Embodiment 7)
First, an embodiment of the data collection control device 51 of the present invention that distributes broker means in a data group in the data collection system of the sixth embodiment will be described.
図31は、上記実施形態6のデータ収集システムにおいて、データ群でブローカ手段を分散化させる本発明のデータ収集制御装置51の一実施形態の構成例を示す。 FIG. 31 shows a configuration example of an embodiment of the data collection control device 51 of the present invention that distributes broker means in a data group in the data collection system of the sixth embodiment.
本実施形態のデータ収集制御装置51は、実施形態2のデータ収集制御装置51の構成に加え、データ群収集単位数情報31と、データ群・ブローカ割当て管理情報32を備える。 The data collection control device 51 of the present embodiment includes data group collection unit number information 31 and data group / broker allocation management information 32 in addition to the configuration of the data collection control device 51 of the second embodiment.
該データ群収集単位数情報31は、ブローカ手段54毎で中継するデータ群として登録された収集対象装置52、あるいは、データ収集処理プログラム53の数の上限値を示す情報である。
The data group collection unit number information 31 is information indicating the upper limit value of the number of
該データ群・ブローカ割当て管理情報32は、ブローカ手段54毎に、データ群として登録された収集対象装置52、あるいは、データ収集処理プログラム53の中継をいくつ割当て済みであるかを管理する情報である。
The data group / broker allocation management information 32 is information for managing how many relays of the
本実施形態のデータ収集制御装置51で扱う上記データ群登録要求100には、該データ群に属する収集対象装置52、あるいは、データ収集処理プログラム53の数情報が追加されている。
In the data group registration request 100 handled by the data collection control device 51 of this embodiment, the number information of the
図32に、本実施形態のデータ収集制御装置51で使用されるデータ群登録要求100の具体的な一構成例を示す。 FIG. 32 shows a specific configuration example of the data group registration request 100 used in the data collection control device 51 of the present embodiment.
図32は、データ群Xのデータ群登録要求の例を示すが、本実施形態では、上記図3で示したデータ群登録要求100Xの構成要素に加え、該データ群に属する収集対象装置52、あるいは、データ収集処理プログラム53の数を示した収集対象数情報1004Xを追加で含む。
FIG. 32 shows an example of a data group registration request for the data group X. In this embodiment, in addition to the constituent elements of the data
図33は、本実施形態で追加された本発明のデータ群・ブローカ割当て管理情報32の具体的な一構成例を示す。 FIG. 33 shows a specific configuration example of the data group / broker allocation management information 32 of the present invention added in the present embodiment.
図33の実施形態では、ブローカ手段識別情報321と、対応する各ブローカ手段54に対して、データ群として登録された収集対象装置52、あるいは、データ収集処理プログラム53の中継をいくつ割当てたかの数を示す割当て済み合計収集対象数情報322をペアとした表で構成する。
In the embodiment of FIG. 33, the broker
本実施形態のデータ収集制御装置51では、上記実施形態2のデータ群用宛先階層割当て手段2内の処理が一部変更されており、本実施形態で追加されたデータ群登録要求100Xの収集対象数情報1004X、及び、データ群収集単位数情報31、データ群・ブローカ割当て管理情報32を用いて、データ群用の宛先階層割当てを行う。
In the data collection control device 51 of the present embodiment, the processing in the data group destination tier allocation means 2 of the second embodiment has been partially changed, and the collection target of the data
本実施形態で変更となった上記実施形態2のデータ群用宛先階層割当て手段2の処理の中の図8の宛先階層410X割当て処理5021部分の処理の一実施形態のフローチャートを図34に示す。
FIG. 34 shows a flowchart of one embodiment of the processing of the
本実施形態のデータ群用宛先階層410X割当て処理5021では、まず、データ群登録要求受信手段1で取得したデータ群登録要求100Xから上記収集対象数情報1004Xを取得する。(処理50211)
In the data
次に、上記データ群・ブローカ割当て管理情報32を参照し、割当て済み合計収集対象数322+該収集対象数1004Xが、データ群収集単位数31以下であるブローカ手段54を検索する。(処理50212)
Next, referring to the data group / broker allocation management information 32, the broker means 54 in which the allocated total
次に、上記処理で発見したブローカ手段54のデータ群・ブローカ割当て管理情報エントリの割当て済み合計収集対象数322を、該収集対象数1004Xを加算した値に更新する。(処理50213)
最後に、上記処理50212で発見したブローカ手段54が中継担当となる該ブローカ手段54のアドレス情報を含むデータ群用宛先階層410Xの宛先情報を生成し、本実施形態のデータ群用宛先階層410X割当て処理5021の処理を終了する。(処理50214)
Next, the allocated total
Finally, the destination information of the data
上記処理50214で生成するデータ群用宛先階層410Xの宛先名称の一具体例を図34に示す。
A specific example of the destination name of the data
図35の実施形態では、例えば、最初がブローカ手段54のアドレスに対応した情報であることがわかるように、宛先名称を「//」で始め、「//」の直後に、割当てたブローカ手段54のアドレスに対応した情報として、処理50212で発見したブローカ手段の識別情報321を記述し、その直後にデータ群Xの名称「データ群X」を「/」で区切って追加した宛先名称を使用する。
In the embodiment shown in FIG. 35, for example, the destination name starts with “//” and immediately after “//” so that the information corresponding to the address of the broker means 54 can be found first. As the information corresponding to the
図35の実施形態では、データ群用宛先階層410Xをブローカ手段54のアドレス情報も含めて文字列で記述した例を示したが、ブローカ手段54のバイナリのアドレス情報と、該ブローカ手段54下の文字列宛先情報をペアとした形の宛先情報をデータ群用宛先階層410Xとして使用してもよい。
In the embodiment of FIG. 35, the example in which the data
本実施形態のデータ収集制御装置51によれば、データ群毎に、ブローカ手段54の宛先を切替えることができ、各ブローカ手段54が中継するデータ群を分散化することができる。
According to the data collection control device 51 of the present embodiment, the destination of the
(実施形態8)
次に、上記実施形態6のデータ収集システムにおいて、収集登録毎でブローカ手段を分散化させる本発明のデータ収集制御装置51の実施形態を説明する。
(Embodiment 8)
Next, an embodiment of the data collection control device 51 of the present invention for distributing broker means for each collection registration in the data collection system of the sixth embodiment will be described.
図36は、上記実施形態6のデータ収集システムにおいて、収集登録毎でブローカ手段を分散化させる本発明のデータ収集制御装置51の一実施形態の構成例を示す。 FIG. 36 shows a configuration example of an embodiment of the data collection control device 51 of the present invention that distributes broker means for each collection registration in the data collection system of the sixth embodiment.
本実施形態のデータ収集制御装置51は、実施形態2のデータ収集制御装置51の構成に加え、収集単位数情報33と、収集・ブローカ割当て管理情報34を備える。
The data collection control device 51 of the present embodiment includes collection
該収集単位数情報33は、ブローカ手段54毎で中継する収集登録された収集対象装置52、あるいは、データ収集処理プログラム53の数の上限値を示す情報である。
The collection
該収集・ブローカ割当て管理情報34は、ブローカ手段54毎に、収集登録された収集対象装置52、あるいは、データ収集処理プログラム53の中継をいくつ割当て済みであるかを管理する情報である。
The collection / broker
図37は、本実施形態で追加された本発明の収集・ブローカ割当て管理情報34の具体的な一構成例を示す。
FIG. 37 shows a specific configuration example of the collection / broker
図37の実施形態では、ブローカ手段識別情報341と、対応する各ブローカ手段54に対して、収集登録された収集対象装置52、あるいは、データ収集処理プログラム53の中継をいくつ割当てたかの数を示す割当て済み合計収集対象数情報342をペアとした表で構成する。
In the embodiment of FIG. 37, the broker
本実施形態のデータ収集制御装置51では、上記実施形態2の収集用宛先階層割当て手段6内の処理が一部変更されており、本実施形態で追加された収集単位数情報33、収集・ブローカ割当て管理情報34を用いて、収集用宛先階層割当てを行う。
In the data collection control device 51 of the present embodiment, the processing in the collection destination tier allocation means 6 of the second embodiment has been partially changed, and the collection
本実施形態で変更となった上記実施形態2の収集用宛先階層割当て手段6の処理の中の図12の収集用宛先階層420Xk割当て処理5061部分の処理の一実施形態のフローチャートを図38に示す。
FIG. 38 shows a flowchart of one embodiment of the processing of the collection destination tier
本実施形態の収集用宛先階層420X割当て処理5061では、上記収集・ブローカ割当て管理情報34を参照し、割当て済み合計収集対象数342が、上記収集単位数情報31未満であるブローカ手段54を検索する。(処理50611)
In the collection destination hierarchy
次に、上記処理で発見したブローカ手段54の収集・ブローカ割当て管理情報エントリの割当て済み合計収集対象数342を、1加算した値に更新する。(処理50612)
最後に、上記処理50611で発見したブローカ手段54が中継担当となる該ブローカ手段54のアドレス情報を含む収集用宛先階層420Xkの宛先情報を生成し、本実施形態の収集用宛先階層420X割当て処理5061の処理を終了する。(処理50613)
Next, the allocated total
Finally, the destination information of the collection destination layer 420Xk including the address information of the
上記処理50613で生成する収集用宛先階層420Xkの宛先名称の一具体例を図39に示す。
FIG. 39 shows a specific example of the destination name of the collection destination layer 420Xk generated in the
図39の実施形態では、例えば、最初がブローカ手段54のアドレスに対応した情報であることがわかるように、宛先名称を「//」で始め、「//」の直後に、割当てたブローカ手段54のアドレスに対応した情報として、処理50611で発見したブローカ手段の識別情報341を記述し、その直後にデータ群Xの名称「データ群X」と、収集登録要求110Xkのデータ提供者名称1101Xkで指定された「装置k」を「/」で区切って追加した宛先名称を使用する。
In the embodiment of FIG. 39, for example, the destination name starts with “//” and immediately after “//” so that it can be seen that the information is first corresponding to the address of the
図39の実施形態では、収集用宛先階層420Xkをブローカ手段54のアドレス情報も含めて文字列で記述した例を示したが、ブローカ手段54のバイナリのアドレス情報と、該ブローカ手段54下の文字列宛先情報をペアとした形の宛先情報を収集用宛先階層420Xkとして使用してもよい。
In the embodiment of FIG. 39, an example in which the collection destination hierarchy 420Xk is described as a character string including the address information of the
本実施形態のデータ収集制御装置51によれば、収集登録毎にブローカ手段54の宛先を切替えることができるので、各ブローカ手段54で中継する収集対象データ120を分散化することができる。
According to the data collection control device 51 of the present embodiment, since the destination of the
(実施形態9)
次に、上記実施形態6のデータ収集システムにおいて、ブローカ手段54のデータ収集タイミングを分散化させる本発明のデータ収集制御装置51の実施形態を説明する。
(Embodiment 9)
Next, an embodiment of the data collection control device 51 of the present invention that distributes the data collection timing of the broker means 54 in the data collection system of the sixth embodiment will be described.
図40は、上記実施形態6のデータ収集システムにおいて、ブローカ手段54のデータ収集タイミングを分散化させる本発明のデータ収集制御装置51の一実施形態の構成例を示す。 FIG. 40 shows a configuration example of an embodiment of the data collection control device 51 of the present invention that distributes the data collection timing of the broker means 54 in the data collection system of the sixth embodiment.
本実施形態のデータ収集制御装置51は、実施形態8のデータ収集制御装置51の構成に加え、処理余裕時間情報35を備える。
The data collection control device 51 of the present embodiment includes processing
該処理余裕時間情報35は、収集対象データ120を収集した後、データ収集処理プログラム53にて、所定の処理を実行するために割当てられた最小時間である。
The processing
また、本実施形態のデータ収集制御装置51では、上記データ群登録要求100、データ群登録情報101に、該データ群の収集対象データが提供される提供間隔情報が追加されている。
In the data collection control device 51 of this embodiment, provision interval information for providing collection target data of the data group is added to the data group registration request 100 and the data
図41に、本実施形態におけるデータ群X用のデータ群登録要求100Xの具体的な構成例を示す。
FIG. 41 shows a specific configuration example of the data
図41に示すとおり、本実施形態のデータ群登録要求100Xは、図3で示したデータ群登録要求の構成要素に加え、収集データの提供間隔情報1005Xを追加で含む。
As shown in FIG. 41, the data
図42に、本実施形態におけるデータ群X用のデータ群登録情報101Xの具体的な構成例を示す。 FIG. 42 shows a specific configuration example of the data group registration information 101X for the data group X in the present embodiment.
図42に示すとおり、本実施形態のデータ群登録情報101Xは、図4で示したデータ群登録情報の構成要素に加え、同様に、収集データの提供間隔情報1015Xを追加で含む。 As shown in FIG. 42, the data group registration information 101X of this embodiment additionally includes collection data provision interval information 1015X in addition to the components of the data group registration information shown in FIG.
図41で示したデータ群登録要求100Xから、データ群登録情報101Xを作成するため、本実施形態のデータ群登録手段3に対応した処理は、図43に示すとおり、処理5031において、図9の実施形態の同処理に加えて、データ群登録要求100Xに含まれる提供間隔情報1005Xを、提供間隔情報1015Xとして、データ群登録情報101Xにコピーして設定する。
In order to create the data group registration information 101X from the data
本実施形態のデータ収集制御装置51は、該データ群登録情報101Xに含まれる収集データの提供間隔情報1015Xと、上記収集単位数情報33と、収集・ブローカ割当て管理情報34と、該処理余裕時間情報35を用いて、同一ブローカ手段54のデータ収集タイミングを分散化させる。
The data collection control device 51 of this embodiment includes the collection data provision interval information 1015X included in the data group registration information 101X, the collection
具体的には、収集対象装置52、あるいは、データ収集処理プログラム53からの収集登録要求110Xkに対して、該データ収集制御装置51の収集用宛先階層割当て手段6にて、上記情報を用いて、該収集対象装置52、データ収集処理プログラム53からの収集データの提供タイミングを割当て、収集登録手段7にて生成する、該収集登録要求110Xkに対応した収集登録情報111Xkに、該提供タイミング情報を含めることで、同一ブローカ手段54のデータ収集タイミングの分散化を実現する。
Specifically, in response to the collection registration request 110Xk from the
図44に、本実施形態における収集登録情報111Xkの具体的な構成例を示す。 FIG. 44 shows a specific configuration example of the collection registration information 111Xk in the present embodiment.
図44に示すとおり、本実施形態の収集登録情報111Xkは、図6で示した収集登録情報111Xkの構成要素に加え、上記提供タイミング情報1115Xkが追加されている。 As shown in FIG. 44, the collection timing information 1115Xk is added to the collection registration information 111Xk of the present embodiment in addition to the components of the collection registration information 111Xk shown in FIG.
図45は、本実施形態のデータ収集制御装置51の収集用宛先階層割当て手段6に対応した処理の一実施形態のフローチャートを示す。 FIG. 45 shows a flowchart of an embodiment of a process corresponding to the collection destination tier assignment means 6 of the data collection control device 51 of the present embodiment.
図45に示すとおり、図12の実施形態で示した処理5051に加え、処理5062、処理5063が追加となっている。
As shown in FIG. 45,
該収集用宛先階層割当て手段6は、図12の実施形態で示した処理と同様、まず、該収集登録要求110Xkに対応して、収集用宛先階層420Xkを割当てる。(処理5061) Similar to the processing shown in the embodiment of FIG. 12, the collection destination tier assignment means 6 first assigns the collection destination tier 420Xk in response to the collection registration request 110Xk. (Processing 5061)
次に、本実施形態の収集用宛先階層割当て手段6では、該データ群Xのデータ群登録情報101Xから提供間隔情報1015Xを取得する。(処理5602) Next, the collection destination tier assignment means 6 of the present embodiment acquires provision interval information 1015X from the data group registration information 101X of the data group X. (Processing 5602)
次に、本実施形態の収集用宛先階層割当て手段6は、収集登録要求を行ったデータ提供者からの収集対象データの提供タイミング値を(収集データ提供間隔情報1015X−処理余裕時間情報35)/収集単位数情報33×処理50612で更新した収集・ブローカ割当て管理情報エントリの割当て済み合計収集対象数342)で計算し、収集用宛先階層割当て手段6による処理を終了する。(処理5603)
Next, the collection destination tier assignment means 6 of this embodiment determines the provision timing value of the collection target data from the data provider who has made the collection registration request (collection data provision interval information 1015X-processing margin time information 35) / The total number of collection targets 342) of the collection / broker allocation management information entry updated in the collection
図46は、本実施形態のデータ収集制御装置51の収集登録手段7に対応した処理の一実施形態のフローチャートを示す。
FIG. 46 shows a flowchart of an embodiment of a process corresponding to the
図46に示すとおり、本実施形態のデータ収集制御装置51の収集登録手段7では、図13の実施形態の処理5071において、図13の処理5071の処理に加えて、上記本実施形態の収集用宛先階層割当て手段6にて計算した提供タイミング値を提供タイミング情報1115Xとして収集登録情報111Xに含め、収集登録情報111Xを作成する。(処理5701)。
As shown in FIG. 46, in the collection registration means 7 of the data collection control device 51 of this embodiment, in the
次に、処理5071で生成した収集登録情報111Xを収集登録情報データベース22に登録し、本収集登録手段7の処理を終了する。(処理5072)
Next, the collection registration information 111X generated in the
本実施形態のデータ収集制御装置51によれば、同一ブローカ手段54で中継される収集対象データ120を時間的に分散化させ、同一ブローカ手段54に、多数の収集対象装置52やデータ収集処理プログラム53からの収集対象データ120が時間的に集中することを防ぎ、中継処理の遅延を防止できる。
According to the data collection control device 51 of the present embodiment, the
また、データ収集処理プログラム53は、収集登録情報111より、各収集対象データ120の収集タイミングを知ることができるため、各収集対象データ120の収集タイムアウト処理や、各収集処理データ120に対する処理を自動スケジューリングして、最適に処理することができる。
Further, since the data
(実施形態10)
次に、上記実施形態6のデータ収集システムにおいて、上記実施形態9のデータ収集制御装置51に対応した収集対象装置52の実施形態を説明する。
(Embodiment 10)
Next, an embodiment of the
上記実施形態9のデータ収集制御装置51に対応した本実施形態の収集対象装置52の構成は、上記図15の実施形態の構成と同じであるが、収集データ送信手段12に対応した処理が、図19で示した実施形態の処理と異なる。
The configuration of the
図47に、本実施形態の収集対象装置52の収集データ送信手段12に対応した処理の一実施形態のフォローチャートを示す。
FIG. 47 shows a follow chart of an embodiment of a process corresponding to the collected data transmission means 12 of the
図19の実施形態と異なる点は、処理5122と処理5123の間に、処理51221、処理51222が追加になっている点だけである。
The only difference from the embodiment of FIG. 19 is that a
本実施形態の収集対象装置52の収集データ送信手段12では、処理5122の後、収集登録情報取得手段11で取得した該収集対象装置52の収集登録情報111Xkから提供タイミング情報1115Xkを取得する。(処理51221)
The collection
次に、上記処理で取得した提供タイミング情報1115Xkに従い、定時の送信時刻から、続く処理5123の送信処理の実行を、該提供タイミング情報1115Xkで指定された時間分遅延させる。(処理51222)
Next, according to the provision timing information 1115Xk acquired in the above process, the execution of the transmission process of the
上記追加された処理により、本実施形態の収集対象装置52は、収集対象データ120のブローカ手段54への送信タイミングを分散化させる。
By the added processing, the
本実施形態の収集対象装置52によれば、データ収集制御装置51の指示に従い、同一ブローカ手段54への収集対象データ120の送付を分散化させ、同一ブローカ手段54への時間的集中による遅延を防ぐことができる。
According to the
(実施形態11)
次に、上記実施形態6のデータ収集システムにおいて、上記実施形態9のデータ収集制御装置51に対応したデータ収集処理プログラム53の実施形態を説明する。
(Embodiment 11)
Next, an embodiment of the data
上記実施形態9のデータ収集制御装置51に対応した本実施形態のデータ収集処理プログラム53の構成は、上記図20の実施形態の構成と同じであるが、収集データ処理ステップ304に対応した処理が、図24で示した実施形態の処理と異なる。
The configuration of the data
図48に、本実施形態のデータ収集処理プログラム53の収集データ処理ステップ304に対応した処理の一実施形態のフォローチャートを示す。
FIG. 48 shows a follow chart of an embodiment of a process corresponding to the collected
図24の実施形態と異なる点は、ステップ3040が追加となっている点だけである。
The only difference from the embodiment of FIG. 24 is that
本実施形態のデータ収集処理プログラム53の収集データ処理ステップ304では、収集した収集対象データに対する処理を開始する前に、全収集登録情報取得ステップ302で取得した処理対象のデータ群Xの全収集登録情報112Xの各収集登録情報111Xに含まれる提供タイミング情報1115Xから、各収集対象データ120Xkが提供されるべきタイミングを知り、各収集対象データ120Xkの取得タイムアウト処理の実行や、ステップ3042での該収集対象データ120に対する処理の実行タイミングを調整する。(ステップ3040)
本実施形態のデータ収集処理プログラム53によれば、収集登録情報111より、各収集対象データ120の収集タイミングを知り、各収集対象データ120の収集タイムアウト処理や、各収集処理データ120に対する処理を自動でスケジューリングし、最適な処理を実行することができる。
In the collected
According to the data
(実施形態12)
次に、上記実施形態6のデータ収集システムにおいて、上記実施形態9のデータ収集制御装置51に対応したデータ収集処理プログラム53であって、該データ収集処理プログラムの処理結果を別のデータ収集処理プログラム53に提供するデータ収集処理プログラム53の実施形態を説明する。
Next, in the data collection system of the sixth embodiment, a data
上記実施形態9のデータ収集制御装置51に対応した本実施形態のデータ収集処理プログラム53の構成は、上記図25の実施形態の構成と同じであるが、処理結果データ送信ステップ308に対応した処理が、図29で示した実施形態の処理と異なる。
The configuration of the data
図49に、本実施形態のデータ収集処理プログラム53の処理結果データ送信ステップ308に対応した処理の一実施形態のフォローチャートを示す。
FIG. 49 shows a follow chart of one embodiment of the processing corresponding to the processing result data transmission step 308 of the data
図29の実施形態と異なる点は、ステップ3082とステップ3083の間に、ステップ30821、ステップ30822が追加されている点だけである。
The only difference from the embodiment of FIG. 29 is that
本実施形態の処理結果データ送信ステップ308では、ステップ3082の処理の後、該処理プログラム用収集登録情報取得ステップ307で取得した収集登録情報111Pkから提供タイミング情報1115Pkを取得する。(ステップ30821)
In the processing result data transmission step 308 of this embodiment, after the processing of
次に、上記処理ステップで取得した提供タイミング情報1115Pkに従い、定時の送信時刻から、続くステップ3083の送信処理の実行を、該提供タイミング情報1115Pkで指定された時間分遅延させる。(ステップ30822)
Next, in accordance with the provision timing information 1115Pk acquired in the above processing step, execution of the transmission process in the
本実施形態のデータ収集処理プログラム53によれば、データ収集制御装置51の指示に従い、同一ブローカ手段54への収集対象データ120の送付を分散化させ、同一ブローカ手段54への時間的集中による遅延を防ぐことができる。
According to the data
(実施形態13)
最後に、本発明、あるいは、本発明に関わる装置、手段の実施形態として、物理的な実現形態を説明する。
(Embodiment 13)
Finally, a physical implementation will be described as an embodiment of the present invention or an apparatus and means related to the present invention.
本発明の上記データ収集制御装置51、収集対象装置52、データ収集処理装置83、及び、本発明に関わるブローカ装置84は、例えば、一般的な情報処理装置90として実現する。
The data collection control device 51, the
また、上記データ収集制御装置51、収集対象装置52、ブローカ装置84上の各手段や、データ収集処理装置83上で動作するデータ収集処理プログラム53は、該情報処理装置90上で動作するプログラムとして実現する。
The data collection control device 51, the
図50に、本発明、あるいは、本発明に関わる、各装置、手段、収集データ処理プログラム53を実現する情報処理装置90の一実施形態の構成を示す。
FIG. 50 shows the configuration of an embodiment of the information processing apparatus 90 that realizes the present invention or each apparatus, means, and collected
情報処理装置90は、プログラムやデータを格納した記憶装置93と、プログラムやデータを格納するRAM(Random Access Memory)92と、RAM73上のプログラムを実行するプロセッサ91と、情報処理装置90間でデータの受渡しを行うための通信インタフェース95と、記憶装置72、RAM73、プロセッサ74、通信インタフェース95間でデータやプログラムの受け渡しを行うためのバス94で構成される。
The information processing device 90 includes a
本発明の上記データ収集制御装置51、収集対象装置52、データ収集処理装置83、及び、本発明に関わるブローカ装置84の各手段、及び、データ収集処理プログラム53を実現するプログラムは、最初、記憶装置93に格納されており、該情報処理装置90の起動により、バス94を介してRAM94にロードされて、プロセッサ91で実行することで、それぞれの機能を実現する。
The data collection control device 51, the
従って、データ収集処理プログラム53、ブローカ手段54、データ収集制御装置51の各手段に対応した各プログラムを、同じ情報処理装置90上で実行しても、分離した情報処理装置90上で実行してもかまわない。
Therefore, even if each program corresponding to each unit of the data
以上、本発明を実施するための各実施形態について説明してきたが、各実施形態において記述したデータ群登録要求や、収集登録要求についての処理手段及び処理ステップなどと同様の構成を用いて、データの削除も当然実現可能である。すなわち、本明細書で記述した「登録」を「削除」で読み変えた、データ群削除要求や、収集削除要求に対する処理手段及び処理ステップを本発明の実施形態に係るデータ収集制御装置、収集対象装置及びデータ収集処理プログラムに含んでもよい。 As described above, each embodiment for carrying out the present invention has been described, but the data group registration request described in each embodiment, the processing unit and the processing step for the collection registration request, etc. Naturally, it is also possible to delete. That is, the data collection control device and the collection target according to the embodiment of the present invention are the processing means and the processing steps for the data group deletion request and the collection deletion request, in which “registration” described in this specification is read as “deletion” You may include in an apparatus and a data collection process program.
本発明のデータ収集制御装置、収集対象装置、データ収集処理プログラム、データ収集システム、データ収集制御プログラム、収集対象装置プログラム、及び、記録媒体によれば、様々な収集対象装置からデータを収集し、収集したデータに対して、様々な処理や加工を施し、様々な用途に利用でき、かつ、多数の収集対象装置からのデータ収集や多数のデータ収集処理プログラムによる処理に対しても、スケーラブルに対応できるため、IoT向けのデータ収集システムとして利用できる。 According to the data collection control device, collection target device, data collection processing program, data collection system, data collection control program, collection target device program, and recording medium of the present invention, data is collected from various collection target devices, Collected data can be processed and processed in various ways, and can be used for various purposes. Also, it can be used for data collection from many collection target devices and processing by many data collection processing programs. Therefore, it can be used as a data collection system for IoT.
1……データ群登録要求受信手段
2……データ群用宛先割当て手段
3……データ群登録手段
4……データ群登録情報提供手段
5……収集登録要求受信手段
6……収集用宛先割当て手段
7……収集登録手段
8……収集登録情報提供手段
9……データ群登録情報取得手段
10……収集登録要求送信手段
11……収集登録情報取得手段
12……収集データ送信手段
21……データ群登録情報データベース
22……収集登録情報データベース
31……データ群収集単位数情報
32……データ群・ブローカ割当て管理情報
33……収集単位数情報
34……収集・ブローカ割当て管理情報
51……データ収集制御装置
52……収集対象装置
53……データ収集処理プログラム
54……ブローカ手段
83……データ収集処理装置
84……ブローカ装置
90……情報処理装置
91……プロセッサ
92……RAM
93……記憶装置
94……バス
95……通信インタフェース
100……データ群登録要求
101……データ群登録情報
102……全データ群登録情報
110……収集登録要求
111……収集登録情報
112……全収集登録情報
120……収集対象データ、処理結果データ
301……処理対象データ群登録情報取得ステップ
302……全収集登録情報取得ステップ
303……処理対象データ取得ステップ
304……収集データ処理ステップ
305……該処理プログラム用データ群登録情報取得ステップ
306……該処理プログラム用収集登録要求送信ステップ
307……該処理プログラム用収集登録情報取得ステップ
308……処理結果データ送信ステップ
400……ブローカ手段上の宛先
401……データ群登録要求宛先
402……各データ群登録情報提供宛先
403……全データ群登録情報提供宛先
410……データ群用宛先階層
411……収集登録要求宛先
412……各収集登録情報提供宛先
413……全収集登録情報提供宛先
420……収集用宛先階層
421……収集対象データ/処理結果データ送信用宛先
DESCRIPTION OF
93 ... Storage device 94 ... Bus 95 ... Communication interface 100 ... Data
Claims (19)
データ収集処理装置上で動作し、収集対象装置の収集対象データや別のデータ収集処理プログラムの処理結果データを処理対象データとして取得し処理するデータ収集処理プログラムと、
該収集対象装置と該データ収集処理プログラム間、及び、データ収集処理プログラム間の収集対象データの受渡しを制御するデータ収集制御装置と、
該収集対象装置、データ収集処理プログラム、データ収集制御装置間のデータの受渡しを中継するブローカ手段を持つブローカ装置で構成したシステムにおいて、
データ提供者は、既定、あるいは、上記データ収集制御装置が指示した該ブローカ手段上の階層化された宛先にデータを送信し、データ受信者は、該宛先を受信対象としてブローカに指定し、該宛先に送信されてきたデータを、該宛先を受信対象と指定したすべてのデータ受信者に対して該ブローカが中継するデータ収集システムのデータ収集制御装置であって、
該データ収集制御装置は、第1の既定の宛先を上記ブローカ手段に受信対象として設定し、収集対象データ群を定義するデータ群登録要求を該第1の宛先から受信する第1のデータ群登録要求受信手段と、
受信したデータ群登録要求に対応し、該データ群用として、上記ブローカ手段の第1の宛先階層を割当て、後述の第5の収集登録要求受信手段と第8の収集登録情報提供手段に該データ群用宛先階層情報を伝えて、該データ群の収集対象データの収集要求のための収集登録要求の受信と、該収集登録要求の処理結果の収集登録情報の提供を行わせる、第2のデータ群用宛先割当て手段と、
上記データ群登録要求に含まれる該収集対象データ群を識別するデータ群名称と、該収集対象データ群を構成するデータのデータ名称とデータタイプ情報を含むデータ形式情報と、該第2の手段で割当てた第1の該データ群用宛先階層情報を含む情報をデータ群登録情報として登録する第3のデータ群登録手段と、
データ群登録要求に含まれるデータ群名称に対応した第2の宛先と、既定の第3の宛先を上記ブローカ手段に送信先として設定し、該第2の宛先に対して、上記第3の手段で登録されたデータ群登録情報を送付し、該第3の宛先に対して、登録済みの全データ群登録情報を送付して、該宛先に対する受信者に、特定のデータ群登録情報、及び、登録済みの全データ群登録情報を提供する第4のデータ群登録情報提供手段とを備え、
さらに、上記第1のデータ群用宛先階層情報を上記第2の手段から受け、該第1の宛先階層下に既定の第4の宛先を上記ブローカ手段に受信対象として設定し、該第4の宛先から該データ群の収集対象データの収集登録要求を受信する第5の収集登録要求受信手段と
受信した収集登録要求に対応して、該収集対象データの送付先となる第2の収集用宛先階層の割当てを行う第6の収集用宛先割当て手段と、
上記収集登録要求に含まれる、収集対象データの提供元を識別する提供者名称と、該収集対象データを構成するデータのデータ名称一覧と、該第6の手段で割当てた第2の収集用宛先階層情報を含む情報を収集登録情報として登録をする第7の収集登録手段と、
上記第1のデータ群宛先階層情報を上記第2の手段から受け、該第1の階層下に、該データ群の収集対象データの収集登録要求に含まれる収集対象データ提供者名称に対応した第5の宛先と、既定の第6の宛先を送信先として設定し、該第5の宛先に対して、上記第7の手段で登録された収集登録情報を送付し、該第6の宛先に対して、該収集対象データ群の登録済み全収集登録情報を送付して、該宛先に対する受信者に、特定の収集登録情報、及び、登録済みの全収集登録情報を提供する第8の収集登録情報提供手段を具備することを特徴とするデータ収集制御装置。 A collection target device that provides collection target data;
A data collection processing program that operates on the data collection processing device and acquires and processes the collection target data of the collection target device and the processing result data of another data collection processing program as processing target data;
A data collection control device for controlling the collection target data between the collection target device and the data collection processing program and between the data collection processing programs;
In a system composed of broker devices having broker means for relaying data transfer between the collection target device, data collection processing program, and data collection control device,
The data provider transmits the data to a destination that is specified or hierarchized on the broker means designated by the data collection control device, and the data receiver designates the destination as a reception target to the broker, and A data collection control device of a data collection system in which the broker relays data transmitted to a destination to all data receivers that designate the destination as a reception target,
The data collection control device sets a first predetermined destination as a reception target in the broker means, and receives a data group registration request defining a collection target data group from the first destination. A request receiving means;
In response to the received data group registration request, a first destination layer of the broker means is assigned for the data group, and the data is sent to a fifth collection registration request receiving means and an eighth collection registration information providing means described later. Second data that conveys group destination tier information, and receives collection registration requests for collecting collection target data of the data group and provides collection registration information of processing results of the collection registration requests Group address assignment means;
A data group name for identifying the collection target data group included in the data group registration request, data format information including a data name and data type information of data constituting the collection target data group, and the second means Third data group registration means for registering information including the assigned first data group destination hierarchy information as data group registration information;
A second destination corresponding to the data group name included in the data group registration request and a predetermined third destination are set as transmission destinations in the broker means, and the third means is set for the second destination. The registered data group registration information is sent to the third destination, and all registered data group registration information is sent to the third destination. A fourth data group registration information providing means for providing all registered data group registration information;
Further, the first data group destination hierarchy information is received from the second means, a predetermined fourth destination is set as a reception target in the broker means below the first destination hierarchy, A fifth collection registration request receiving unit that receives a collection registration request for the collection target data of the data group from the destination, and a second collection destination that is a destination of the collection target data in response to the received collection registration request Sixth collection destination assigning means for assigning a hierarchy;
The provider name for identifying the provider of the collection target data included in the collection registration request, the data name list of the data constituting the collection target data, and the second collection destination assigned by the sixth means A seventh collection registration means for registering information including the hierarchy information as collection registration information;
The first data group destination tier information is received from the second means, and the first data group destination tier information corresponding to the collection target data provider name included in the collection registration request for the collection target data of the data group is provided below the first tier. 5 and a predetermined sixth destination are set as transmission destinations, and the collection registration information registered by the seventh means is sent to the fifth destinations. Eighth collection registration information that sends the registered all collection registration information of the collection target data group and provides the specific collection registration information and the registered all collection registration information to the recipient for the destination A data collection control device comprising a providing means.
該収集対象装置から収集対象データの提供を開始する際、該収集対象装置は、該データ群名称に対応して上記データ収集制御装置が設定した第2の宛先を上記ブローカ手段に対して受信対象として設定し、該第2の宛先から該データ群のデータ群登録情報を取得する第9のデータ群登録情報取得手段と、
該第9の手段で取得したデータ群登録情報に含まれる該データ群用宛先階層情報と既定の名称から得られる上記第1の階層下の第4の宛先に、該収集対象装置を識別する提供者名称と該収集対象装置から提供する収集対象データのデータ名称一覧を含む収集登録要求を送信する第10の収集登録要求送信手段と、
該第9の手段で取得したデータ群登録情報に含まれる該データ群用宛先階層情報と該収集対象装置を識別する上記提供者名称から得られる上記第1の階層下の第5の宛先を上記ブローカ手段に受信対象として設定し、該第5の宛先から該収集対象装置の収集登録情報を取得する第11の収集登録情報取得手段と、
該収集対象装置から収集対象データを提供する際、該第11の手段で取得した該収集対象装置の収集登録情報に含まれる収集用宛先階層情報で示された第2の宛先階層下の既定の宛先、あるいは、該収集対象装置から収集登録要求で示した収集対象データのデータ名称一覧内のデータ名称に対応した第2の宛先階層下の宛先に、該収集対象データの送信を行う第12の収集データ送信手段を具備することを特徴とする収集対象装置。 The data collection system according to claim 1, wherein the collection target device provides collection target data of a pre-registered data group to the data collection control device by the data group registration request,
When starting to provide the collection target data from the collection target device, the collection target device receives the second destination set by the data collection control device corresponding to the data group name to the broker means. A ninth data group registration information acquisition unit configured to acquire data group registration information of the data group from the second destination;
Providing the fourth group below the first hierarchy obtained from the data group destination hierarchy information and a predetermined name included in the data group registration information obtained by the ninth means for identifying the collection target device A tenth collection registration request transmitting means for transmitting a collection registration request including a name of a person and a data name list of collection target data provided from the collection target device;
The fifth destination below the first hierarchy obtained from the data group destination hierarchy information included in the data group registration information acquired by the ninth means and the provider name identifying the collection target device is An eleventh collection registration information acquisition unit configured to set the broker unit as a reception target and acquire the collection registration information of the collection target device from the fifth destination;
When the collection target data is provided from the collection target device, a predetermined destination layer below the second destination layer indicated by the collection destination layer information included in the collection registration information of the collection target device acquired by the eleventh means The twelfth transmission target data is transmitted to the destination or the destination under the second destination hierarchy corresponding to the data name in the data name list of the collection target data indicated by the collection registration request from the collection target device. A collection target apparatus comprising collection data transmission means.
上記データ収集制御装置が設定した該データ収集処理プログラムが処理対象とする収集対象データ群を識別するデータ群名称に対応した上記第2の宛先を上記ブローカ手段に受信対象として設定し、該第2の宛先から該データ群のデータ群登録情報を取得する第1の処理対象データ群登録情報取得ステップと、
該第1のステップで取得したデータ群登録情報に含まれる該データ群用宛先階層情報と既定の名称から得られる上記第1の階層下の第6の宛先を上記ブローカ手段に受信対象として設定し、該第6の宛先から該データ群の全収集登録情報を取得する第2の全収集登録情報取得ステップと、
該第2のステップで取得した全収集登録情報の各収集登録情報に含まれる各収集用宛先階層情報から得られる第2の階層下の既定の宛先名称、あるいは、該収集登録情報に含まれるデータ一覧名称内のデータ名称に対応した第2の階層下の宛先を受信対象として上記ブローカ手段に設定し、該宛先から処理対象の収集対象データを取得する第3の処理対象データ取得ステップと、
第1のステップで取得したデータ群登録情報に含まれる収集対象装置から取得する収集対象データのデータ形式情報に従って該第3のステップで取得したデータを解釈し、処理する第4の収集データ処理ステップを含むことを特徴とするデータ収集処理プログラム。 A data collection processing program for a data collection system according to claim 1,
The second destination corresponding to the data group name that identifies the collection target data group to be processed by the data collection processing program set by the data collection control device is set as the reception target in the broker means, and the second A first processing target data group registration information acquisition step of acquiring data group registration information of the data group from the destination of
The data group destination hierarchy information included in the data group registration information acquired in the first step and the sixth destination below the first hierarchy obtained from the predetermined name are set as reception targets in the broker means. A second all collection registration information obtaining step for obtaining all collection registration information of the data group from the sixth destination;
A predetermined destination name under the second hierarchy obtained from each collection destination hierarchy information included in each collection registration information of all collection registration information acquired in the second step, or data included in the collection registration information A third processing target data acquisition step of setting a destination below the second hierarchy corresponding to the data name in the list name as a reception target in the broker means, and acquiring collection target data to be processed from the destination;
A fourth collected data processing step for interpreting and processing the data acquired in the third step according to the data format information of the collection target data acquired from the collection target device included in the data group registration information acquired in the first step A data collection processing program comprising:
上記データ群登録要求により上記データ収集制御装置に対して予め登録済みのデータ群の収集対象データを該データ収集処理プログラムの処理結果として提供するデータ収集処理プログラムであって、
さらに、該データ収集処理プログラムは、該データ群を識別するデータ群名称に対応して上記データ収集制御装置が設定した第2の宛先を上記ブローカ手段に対して受信対象として設定し、該第2の宛先から該データ群のデータ群登録情報を取得する第5の該処理プログラム用データ群登録情報取得ステップと、
該第5のステップで取得したデータ群登録情報に含まれる該データ群用宛先階層情報と既定の名称から得られる上記第1の階層下の第4の宛先に、該データ収集処理プログラムを識別する提供者名称と該データ収集処理プログラムが処理結果として提供する収集対象データのデータ名称一覧を含む収集登録要求を送信する第6の該処理プログラム用収集登録要求送信ステップと、
該第5のステップで取得したデータ群登録情報に含まれる該データ群用宛先階層情報と該データ収集処理プログラムを識別する上記提供者名称から得られる上記第1の階層下の第5の宛先を上記ブローカ手段に受信対象として設定し、該第5の宛先から該データ収集処理プログラムの収集登録情報を取得する第7の該処理プログラム用収集登録情報取得ステップと、
該第7のステップで取得した該データ収集処理プログラムの収集登録情報に含まれる収集用宛先階層情報で示された第2の宛先階層下の既定の宛先、あるいは、該収集対象装置から収集登録要求で示した収集対象データのデータ名称一覧内のデータ名称に対応した第2の宛先階層下の宛先に、上記第4のステップで生成した該データ収集処理プログラムの処理結果データを送信する第8の処理結果データ送信ステップを含むことを特徴とするデータ収集処理プログラム。 A data collection processing program according to claim 3,
A data collection processing program that provides, as a processing result of the data collection processing program, data to be collected of a data group registered in advance to the data collection control device by the data group registration request,
Further, the data collection processing program sets the second destination set by the data collection control device corresponding to the data group name for identifying the data group as a reception target for the broker means, A data group registration information acquisition step for the fifth processing program for acquiring data group registration information of the data group from the destination of
The data collection processing program is identified as the fourth destination below the first hierarchy obtained from the data group destination hierarchy information and the predetermined name included in the data group registration information acquired in the fifth step. A sixth collection registration request sending step for the processing program for sending a collection registration request including a provider name and a data name list of data to be collected provided as a processing result by the data collection processing program;
The fifth destination below the first hierarchy obtained from the provider name for identifying the data group destination hierarchy information and the data collection processing program included in the data group registration information acquired in the fifth step. A seventh collection registration information acquisition step for the processing program, which is set as a reception target in the broker means and acquires the collection registration information of the data collection processing program from the fifth destination;
A collection destination request from a predetermined destination below the second destination layer indicated by the collection destination layer information included in the collection registration information of the data collection processing program acquired in the seventh step or the collection target device The processing result data of the data collection processing program generated in the fourth step is transmitted to the destination below the second destination hierarchy corresponding to the data name in the data name list of the collection target data shown in FIG. A data collection processing program comprising a processing result data transmission step.
上記第2のデータ群用宛先割当て手段、及び、第6の収集用宛先割当て手段で、割当てる第1の宛先階層、及び、第2の宛先階層は、それぞれ、上記データ群登録要求、及び、収集登録要求に含まれる、データ群名称、及び、提供者名称を、宛先階層名称として割当てることを特徴とするデータ収集制御装置。 The data collection control device according to claim 1,
The first destination layer and the second destination layer assigned by the second data group destination assigning unit and the sixth collection destination assigning unit are the data group registration request and the collection, respectively. A data collection control device, wherein a data group name and a provider name included in a registration request are assigned as a destination hierarchy name.
さらに、上記データ群登録要求に、該データ群の収集対象データを提供する提供者数を表す収集対象数情報を含み、
上記第2のデータ群用宛先割当て手段が、さらに、ブローカ手段毎の割当て済みデータ群の合計収集対象数情報をデータ群・ブローカ割当て管理情報として管理し、該データ収集制御装置に対して設定されたデータ群収集単位数情報を用いて、各ブローカ手段に割当てる合計収集対象数が該データ群収集単位数を超えないように各データ群用宛先階層割当てを行うことを特徴とするデータ収集制御装置。 A data collection control device according to claim 1, wherein data is transferred between the collection target device, the data collection processing program, and the data collection control device via the broker means distributed to one or a plurality of devices according to a destination. A data collection control device for performing
Further, the data group registration request includes collection target number information indicating the number of providers that provide the collection target data of the data group,
The second data group destination assigning means further manages the total collection target number information of the assigned data group for each broker means as data group / broker assignment management information, and is set for the data collection control device. A data collection control device for assigning each data group destination tier so that the total number of collection objects assigned to each broker means does not exceed the number of data group collection units using the data group collection unit number information .
さらに、第6の収集用宛先割当て手段が、上記ブローカ手段毎の割当て済み合計収集対象数を収集・ブローカ割当て管理情報として管理し、該データ収集制御装置に対して設定された収集単位数情報を用いて、各ブローカ手段が中継する収集対象数が該収集単位数を超えないように各収集用宛先階層割り当てを行うことを特徴とするデータ収集制御装置。 The data collection control device according to claim 1, wherein data is transferred between the collection target device, the data collection processing program, and the data collection control device via the broker means distributed to one or a plurality of devices according to a destination. A data collection control device to perform,
Further, the sixth collection destination assigning means manages the assigned total number of collection targets for each broker means as collection / broker assignment management information, and sets the collection unit number information set for the data collection control device. And a data collection control apparatus for performing each collection destination tier assignment so that the number of collection objects relayed by each broker means does not exceed the number of collection units.
上記データ群登録要求に、収集対象データの提供間隔情報を含み、
上記第3のデータ群登録手段は、該提供間隔情報も含めてデータ群登録情報に設定し、
上記第6の収集用宛先割当て手段は、さらに、登録対象の収集対象データが属するデータ群のデータ群登録情報に含まれる収集対象データの提供間隔情報を参照し、該提供間隔情報から、該データ収集制御装置に対して設定された処理余裕時間を除いた時間を、上記収集単位数で割った値を用いて、登録要求のあった収集対象データの提供者からの収集対象データの提供タイミングを均等に割当て、
上記第7の収集登録手段が、該第6の手段で割当てた収集対象データの提供タイミング情報も含めて収集登録情報に設定することを特徴とするデータ収集制御装置。 The data collection control device according to claim 7,
The data group registration request includes the provision interval information of the collection target data,
The third data group registration means sets the data group registration information including the provision interval information,
The sixth collection destination assigning means further refers to the provision interval information of the collection target data included in the data group registration information of the data group to which the collection target data to be registered belongs, and from the provision interval information, the data Using the value obtained by dividing the time excluding the processing allowance time set for the collection control device by the number of collection units, the collection target data provision timing from the provider of the collection target data requested to be registered is determined. Evenly allocated,
The data collection control device, wherein the seventh collection registration means sets the collection registration information including the provision timing information of the collection target data allocated by the sixth means.
上記第12の収集データ送信手段は、第11の収集登録情報取得手段が取得した収集登録情報に含まれる収集対象データの提供タイミング情報に従ったタイミングで収集対象データを送信することを特徴とする収集対象装置。 A data collection system according to claim 2 in a data collection system using the data collection control device according to claim 8, and a data group registration request for the collection target data provided by the collection target device is sent to the collection target data Including a provision interval information, and a data collection target device registered in a form including the provision interval information,
The twelfth collection data transmitting means transmits the collection target data at a timing according to the collection target data provision timing information included in the collection registration information acquired by the eleventh collection registration information acquisition means. Device to be collected.
上記第4の収集データ処理ステップは、上記第2のステップで取得した各収集登録情報に含まれる各収集対象データの提供タイミング情報を参照し、該提供タイミング情報に従い、各収集対象データの収集タイムアウト処理、及び、該データ収集処理プログラム内の他の処理が間に合うように収集した各収集対象データの処理のスケジューリングを行うことを特徴とするデータ収集処理プログラム。 A data collection processing program according to claim 3 or claim 4 in a data collection system using the data collection control device according to claim 8,
The fourth collection data processing step refers to the provision timing information of each collection target data included in each collection registration information acquired in the second step, and according to the provision timing information, the collection timeout of each collection target data A data collection processing program for scheduling processing and processing of each collection target data collected so that other processing in the data collection processing program is in time.
上記第8の処理結果データ送信ステップは、第7の該処理プログラム用収集登録情報取得ステップが取得した収集登録情報に含まれる収集対象データの提供タイミング情報に従ったタイミングで処理結果データを送信することを特徴とするデータ収集処理プログラム。 A data collection processing program according to claim 4 in a data collection system using the data collection control device according to claim 8, and a data group registration request for data to be collected as a processing result provided by the data collection processing program. A data collection processing program for a data group registered in a form including the provision interval information, including the provision interval information of the collection target data,
The eighth processing result data transmission step transmits the processing result data at a timing according to the provision timing information of the collection target data included in the collection registration information acquired by the seventh processing program collection registration information acquisition step. A data collection processing program characterized by that.
請求項1、または、請求項5記載のデータ収集制御装置と、
請求項2記載の複数の収集対象装置と、
請求項3、または、請求項4記載のデータ収集処理プログラムと、
該データ収集制御装置と収集対象装置とデータ収集処理プログラム間のデータの受渡し行う上記ブローカ手段で構成したことを特徴とするデータ収集システム。 The data collection system according to claim 1, wherein
The data collection control device according to claim 1 or 5, and
A plurality of collection target devices according to claim 2;
A data collection processing program according to claim 3 or claim 4,
A data collection system comprising the broker means for transferring data between the data collection control device, the collection target device, and a data collection processing program.
請求項6、または、請求項7記載のデータ収集制御装置と、
請求項2記載の複数の収集対象装置と、
請求項3、または、請求項4記載のデータ収集処理プログラムと、
該データ収集制御装置と収集対象装置とデータ収集処理プログラム間のデータの受渡しを、宛先により1つ、または、複数の装置に分散された上記ブローカ手段で構成したことを特徴とするデータ収集システム。 The data collection system according to claim 1, wherein
A data collection control device according to claim 6 or 7, and
A plurality of collection target devices according to claim 2;
A data collection processing program according to claim 3 or claim 4,
A data collection system characterized in that data transfer among the data collection control device, the collection target device, and the data collection processing program is configured by the broker means distributed to one or a plurality of devices according to a destination.
請求項8記載のデータ収集制御装置と、
請求項9記載の複数の収集対象装置と、
請求項10、または、請求項11記載のデータ収集処理プログラムと、
該データ収集制御装置と収集対象装置とデータ収集処理プログラム間のデータの受渡しを、宛先により1つ、または、複数の装置に分散された上記ブローカ手段で構成したことを特徴とするデータ収集システム。 The data collection system according to claim 1, wherein
A data collection control device according to claim 8,
A plurality of collection target devices according to claim 9;
A data collection processing program according to claim 10 or 11, and
A data collection system characterized in that data transfer among the data collection control device, the collection target device, and the data collection processing program is configured by the broker means distributed to one or a plurality of devices according to a destination.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2015224881A JP2017091454A (en) | 2015-11-17 | 2015-11-17 | Data collection control device, collection object device, data collection processing program, data collection system, data collection control program, collection object device program, and recording medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2015224881A JP2017091454A (en) | 2015-11-17 | 2015-11-17 | Data collection control device, collection object device, data collection processing program, data collection system, data collection control program, collection object device program, and recording medium |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2017091454A true JP2017091454A (en) | 2017-05-25 |
Family
ID=58768126
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2015224881A Pending JP2017091454A (en) | 2015-11-17 | 2015-11-17 | Data collection control device, collection object device, data collection processing program, data collection system, data collection control program, collection object device program, and recording medium |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2017091454A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11593176B2 (en) | 2019-03-12 | 2023-02-28 | Fujitsu Limited | Computer-readable recording medium storing transfer program, transfer method, and transferring device |
-
2015
- 2015-11-17 JP JP2015224881A patent/JP2017091454A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11593176B2 (en) | 2019-03-12 | 2023-02-28 | Fujitsu Limited | Computer-readable recording medium storing transfer program, transfer method, and transferring device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2020029388A1 (en) | File transmission method, system, computer device and storage medium | |
US10719369B1 (en) | Network interfaces for containers running on a virtual machine instance in a distributed computing environment | |
CN110896355B (en) | Network slice selection method and device | |
US10146848B2 (en) | Systems and methods for autonomous, scalable, and distributed database management | |
CN110352401B (en) | Local device coordinator with on-demand code execution capability | |
US20180349178A1 (en) | A method and system for scalable job processing | |
JP2021536642A (en) | Data processing methods and devices, and computing nodes | |
CN102333115A (en) | Method and device for transforming existing Web application into SaaS multi-tenant application | |
US9591101B2 (en) | Message batching in a distributed strict queue | |
US9843528B2 (en) | Client selection in a distributed strict queue | |
US9584593B2 (en) | Failure management in a distributed strict queue | |
CN103366022B (en) | Information handling system and disposal route thereof | |
US20150381514A1 (en) | Multi-tiered processing using a distributed strict queue | |
US9575820B2 (en) | Client control in a distributed strict queue | |
CN106941522B (en) | Lightweight distributed computing platform and data processing method thereof | |
WO2020036161A1 (en) | Communication system and communication method | |
CN110661891B (en) | Cross-network file instant transmission method and system based on unidirectional network | |
US9577878B2 (en) | Geographic awareness in a distributed strict queue | |
CN103905226B (en) | The automatic deployment method and device of a kind of business platform | |
JP2017091454A (en) | Data collection control device, collection object device, data collection processing program, data collection system, data collection control program, collection object device program, and recording medium | |
WO2018123030A1 (en) | Priority control method and data processing system | |
CN105069012B (en) | A kind of file access method and system | |
CN106598758B (en) | Centralized forwarding and calling method and system | |
CN106657195A (en) | Task processing method and relay device | |
CN105760215A (en) | Map-reduce model based job running method for distributed file system |