JP2008276373A - Data collection device and data collection method - Google Patents

Data collection device and data collection method Download PDF

Info

Publication number
JP2008276373A
JP2008276373A JP2007116907A JP2007116907A JP2008276373A JP 2008276373 A JP2008276373 A JP 2008276373A JP 2007116907 A JP2007116907 A JP 2007116907A JP 2007116907 A JP2007116907 A JP 2007116907A JP 2008276373 A JP2008276373 A JP 2008276373A
Authority
JP
Japan
Prior art keywords
data
monitored
operation state
structure definition
data structure
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.)
Granted
Application number
JP2007116907A
Other languages
Japanese (ja)
Other versions
JP4889559B2 (en
Inventor
Hideaki Fujii
英明 藤井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2007116907A priority Critical patent/JP4889559B2/en
Publication of JP2008276373A publication Critical patent/JP2008276373A/en
Application granted granted Critical
Publication of JP4889559B2 publication Critical patent/JP4889559B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a data collection device and a data collection method, allowing correct and efficient acquisition of contents of record data recording transmission data even if a data structure of the transmission data transmitted by a monitored device is changed by a change of a configuration of a system, function addition of the monitored device or the like. <P>SOLUTION: This data collection device 2 arranges operation state data11b received from the monitored device 1, data structure definition data 12c copied with data structure definition data 12b received from the monitored device 1, and reception time data when receiving the operation state data 11b into one record, and records them into the record data 14. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、システムの動作状態を監視するために、システムの動作状態データを受信、記録、および表示等するデータ収集装置およびデータ収集方法に関するものである。   The present invention relates to a data collection apparatus and a data collection method for receiving, recording, and displaying system operation state data in order to monitor the operation state of the system.

従来のデータ収集装置として、例えば、特許文献1に記載されたデータ収集装置がある。このデータ収集装置では、データ収集を行うための時間的情報またはイベントを含む収集起動条件およびデータ収集元に係る情報を予め登録しておくファイルと、該ファイルに登録してある起動条件に基づいてデータ収集の起動条件を発生させる起動条件発生部と、該起動条件発生部で発生させた起動条件またはデータ収集元から与えられた起動条件と前記ファイルに登録してある起動条件とを比較する比較部とを備え、比較の結果が一致する場合に該当データ収集元からデータを収集すべく構成されている。   As a conventional data collection device, for example, there is a data collection device described in Patent Document 1. In this data collection device, based on a file that pre-registers a collection activation condition including time information or an event for collecting data and information related to the data collection source, and an activation condition registered in the file Comparison of a start condition generating unit that generates a start condition for data collection and a start condition generated by the start condition generating unit or a start condition given from a data collection source and a start condition registered in the file And is configured to collect data from the corresponding data collection source when the comparison results match.

特開平06−019750号公報Japanese Patent Application Laid-Open No. 06-019750

しかしながら、上記従来の技術によれば、以下に示すような問題点があった。すなわち、従来のデータ収集装置は、システムの構成の変更や、データ収集元である被監視装置の機能追加などによって、被監視装置が送信する送信データのデータ構造が変更になった場合、データ収集装置は記録した被監視装置の送信データの内容がどのようなデータであるかを認識しその内容を取得するためには、送信データのデータ構造と、データ名称などデータ内容とを対応付けるための定義データを入れ替えなければならないという問題点があった。   However, according to the above conventional technique, there are the following problems. In other words, the conventional data collection device collects data when the data structure of the transmission data transmitted by the monitored device is changed due to a change in the system configuration or addition of a function of the monitored device that is the data collection source. In order for the device to recognize the content of the recorded transmission data of the monitored device and to acquire the content, a definition for associating the data structure of the transmission data with the data content such as the data name There was a problem that the data had to be replaced.

また、データ構造変更前に記録した送信データの内容を取得するためには、データ構造が変更された日時や、データ構造変更前の定義データを保持しておく必要があり、取得したいデータの指定期間がデータ構造変更日時の以前かまたは以降かのどちらであるかによって、参照する定義データを切り替える必要があるという問題点があった。   In addition, in order to acquire the contents of the transmission data recorded before the data structure change, it is necessary to retain the date and time when the data structure was changed and the definition data before the data structure change. There is a problem in that it is necessary to switch the definition data to be referenced depending on whether the period is before or after the data structure change date and time.

本発明は、上記に鑑みてなされたものであって、システムの構成の変更や、被監視装置の機能追加などによって、被監視装置が送信する送信データのデータ構造が変更になったとしても、送信データを記録した記録データの内容を正しくかつ効率的に取得することができるデータ収集装置およびデータ収集方法を提供することを目的とする。   The present invention has been made in view of the above, and even if the data structure of transmission data transmitted by the monitored device is changed due to a change in the configuration of the system or the addition of a function of the monitored device, It is an object of the present invention to provide a data collection device and a data collection method that can correctly and efficiently acquire the contents of recorded data in which transmission data is recorded.

上述した課題を解決し、目的を達成するために、本発明にかかるデータ収集装置は、監視対象である一台以上の被監視装置から送信された前記被監視装置の動作状態に関する動作状態データ、および前記被監視装置から送信され前記動作状態データのデータ構造を定義したデータ構造定義データ、を受信し記録することを特徴とする。   In order to solve the above-described problems and achieve the object, a data collection device according to the present invention includes operation state data related to an operation state of the monitored device transmitted from one or more monitored devices that are monitoring targets, And receiving and recording data structure definition data transmitted from the monitored device and defining a data structure of the operation state data.

本発明によれば、システムの構成の変更や、被監視装置の機能追加などによって、被監視装置が送信する送信データのデータ構造が変更になったとしても、データ構造変更前の送信データの構造と内容を定義したデータ構造定義データを保持する必要がないので、データ構造定義データの入れ替えの必要がない、という効果を奏する。また、データ構造が変更された日時を記憶することも不要となり、記録データを読み込むのみで、データ構造変更前の被監視装置の送信データを取得できるという効果がある。   According to the present invention, even if the data structure of the transmission data transmitted by the monitored device is changed due to a change in the configuration of the system or the addition of the function of the monitored device, the structure of the transmission data before the data structure change Since there is no need to hold data structure definition data defining the contents, there is an effect that there is no need to replace the data structure definition data. In addition, it is not necessary to store the date and time when the data structure is changed, and it is possible to acquire the transmission data of the monitored apparatus before the data structure change only by reading the recording data.

以下に、本発明にかかるデータ収集装置の実施の形態を図面に基づいて詳細に説明する。なお、この実施の形態によりこの発明が限定されるものではない。   Embodiments of a data collection device according to the present invention will be described below in detail with reference to the drawings. Note that the present invention is not limited to the embodiments.

実施の形態1.
以下、本発明にかかるデータ収集装置の実施の形態1について、図1〜図6を参照して説明する。
Embodiment 1 FIG.
Hereinafter, a first embodiment of a data collection device according to the present invention will be described with reference to FIGS.

図1は、本実施の形態にかかるデータ収集装置2と被監視装置1との接続構成を示す構成図である。図1では、1はN台の被監視装置であって、Nは1以上である。なお、以下、Nが1の場合について記述する。Nが2以上の場合は、以下に示す処理を各被監視装置に対して、それぞれ独立して実行すればよい。2は被監視装置1が送信する送信データを受信、記録、および表示等するデータ収集装置である。2aはデータ収集装置2を構成しデータ受信、記録、および表示処理を実行する本体装置、2bはデータ収集装置2を構成しデータを表示する表示装置、2cはデータ収集装置2を構成しユーザーの操作データが入力される入力装置である。3はデータ伝送路であり、被監視装置1と、データ収集装置2とは、データ伝送を行うための例えば通信ケーブルで接続される。データ収集装置2は、例えば、故障発生原因等の解析を目的として、接続された1台以上の被監視装置1が送信する送信データを受信し、必要なデータを過去にわたって記録データとして記録している。   FIG. 1 is a configuration diagram showing a connection configuration between the data collection device 2 and the monitored device 1 according to the present embodiment. In FIG. 1, 1 is N monitored devices, and N is 1 or more. Hereinafter, the case where N is 1 will be described. When N is 2 or more, the following processing may be executed independently for each monitored device. A data collection device 2 receives, records, and displays transmission data transmitted by the monitored device 1. 2a is a main device that configures the data collection device 2 and executes data reception, recording, and display processing, 2b is a display device that configures the data collection device 2 and displays data, and 2c is a data collection device 2 that configures the data collection device 2 An input device to which operation data is input. Reference numeral 3 denotes a data transmission path, and the monitored device 1 and the data collection device 2 are connected by, for example, a communication cable for performing data transmission. For example, the data collection device 2 receives transmission data transmitted from one or more connected monitored devices 1 for the purpose of analyzing the cause of failure, etc., and records necessary data as recorded data over the past. Yes.

図2は、被監視装置1が送信する動作状態データ11aおよびデータ構造定義データ12a、ならびにデータ収集装置2が記録する記録データの流れを示すデータフロー図である。11aは被監視装置1が記録する被監視装置1についての動作状態データであって、例えば、正常動作中、または故障中などの動作状態について記録したデータである。被監視装置1は、この動作状態データ11aを、伝送路3を使用してデータ収集装置2に送信する。11bはデータ収集装置2が受信した動作状態データであって、データ内容は11aと同一である。12aは動作状態データ11aおよび11bのデータの構造を定義したデータ構造定義データである。データ構造定義データ12aは、データ位置、データ名など、動作状態データの構造を定義したデータであり、動作状態データの並び順に定義してもよいし(例えば、図8参照)、データのアドレスやビット位置などを直接定義してもよい(例えば、図9参照)。図8においては、動作状態データの並び順に定義するので、アドレス、ビット位置は記述不要であり、データ名として、ボード名称、部品名称、故障データ名を、「、」で区切って順に記述している。図9においては、アドレスやビット位置などを直接定義するので、アドレス、ビット位置およびデータ名として、ボード名称、部品名称、故障データ名を、「、」で区切って順に記述している。被監視装置1は、データ構造定義データ12aを、伝送路3を使用してデータ収集装置2に送信する。12bはデータ収集装置2が受信したデータ構造定義データであって、データ内容は12aと同一である。13は動作状態データ11bを受信した時刻をデータ収集装置2の時計(図示せず)から取得した受信時刻データであり、タイムスタンプとして使用する。12cはデータ収集装置2の内部においてデータ構造定義データ12bをコピーして作成したデータである。動作状態データ11b、データ構造定義データ11c、および受信時刻データ13は1つのデータとして一体化されている。14は動作状態データ11b、受信時刻データ13、データ構造定義データ12cを1レコードにまとめて順に記録した記録データである。   FIG. 2 is a data flow diagram showing the flow of operation state data 11a and data structure definition data 12a transmitted by the monitored device 1 and recording data recorded by the data collection device 2. Reference numeral 11a denotes operation state data for the monitored device 1 recorded by the monitored device 1, for example, data recorded about an operation state such as normal operation or failure. The monitored device 1 transmits the operation state data 11 a to the data collection device 2 using the transmission path 3. 11b is the operation state data received by the data collection device 2, and the data content is the same as 11a. 12a is data structure definition data that defines the data structure of the operation state data 11a and 11b. The data structure definition data 12a is data that defines the structure of the operation state data, such as the data position and data name, and may be defined in the order of the operation state data (see, for example, FIG. 8). A bit position or the like may be directly defined (for example, see FIG. 9). In FIG. 8, since the operation state data is defined in the order of arrangement, it is not necessary to describe the address and bit position. As the data name, the board name, the part name, and the failure data name are described in order by separating them with “,”. Yes. In FIG. 9, since an address, a bit position, and the like are directly defined, a board name, a component name, and a failure data name are described in order by separating them with “,” as the address, bit position, and data name. The monitored device 1 transmits the data structure definition data 12 a to the data collection device 2 using the transmission path 3. 12b is data structure definition data received by the data collection device 2, and the data content is the same as 12a. Reference numeral 13 denotes reception time data acquired from the clock (not shown) of the data collection device 2 when the operation state data 11b is received, and is used as a time stamp. Reference numeral 12 c denotes data created by copying the data structure definition data 12 b inside the data collection device 2. The operation state data 11b, the data structure definition data 11c, and the reception time data 13 are integrated as one data. Reference numeral 14 denotes recording data in which the operation state data 11b, the reception time data 13, and the data structure definition data 12c are collectively recorded in one record.

データ構造定義データ12aを被監視装置1からデータ収集装置1へ送信し、このデータ構造定義データ12aをデータ収集装置1が受信するタイミングについては、例えば、被監視装置1の動作開始時(すなわち、起動時)、一定周期毎、または動作状態データのデータ構造の変更時などが挙げられる。以下、図3〜図5を参照して、具体的に説明する。   The data structure definition data 12a is transmitted from the monitored device 1 to the data collection device 1, and the timing at which the data collection device 1 receives the data structure definition data 12a is, for example, when the monitored device 1 starts operating (ie, Start-up), every fixed period, or when the data structure of the operation state data is changed. Hereinafter, a specific description will be given with reference to FIGS.

図3は、被監視装置1が動作開始時に送信するデータ構造定義データ12aをデータ収集装置2が受信する動作を示すタイムチャートである。図3に示すように、被監視装置1は、電源を投入するなどして動作を開始した後、データ構造定義データ12aをデータ収集装置2に送信し、データ収集装置2は受信したデータ構造定義データ12bを記憶する。記憶方法は、データ収集装置2に具備したメモリなどの主記憶エリアやハードディスクなどの補助記憶エリアを使用する。被監視装置1は、データ構造定義データ12aをデータ収集装置1に送信後、動作状態データ11aを送信開始する。   FIG. 3 is a time chart illustrating an operation in which the data collection device 2 receives the data structure definition data 12a transmitted from the monitored device 1 at the start of the operation. As shown in FIG. 3, the monitored device 1 starts its operation by turning on the power, and then transmits the data structure definition data 12a to the data collection device 2, and the data collection device 2 receives the received data structure definition. Data 12b is stored. As a storage method, a main storage area such as a memory provided in the data collection device 2 or an auxiliary storage area such as a hard disk is used. The monitored device 1 starts to transmit the operation state data 11a after transmitting the data structure definition data 12a to the data collection device 1.

図4は、被監視装置1が一定周期で送信するデータ構造定義データ12aをデータ収集装置2が受信する動作を示すタイムチャートである。データ収集装置2が被監視装置1の動作開始より後に動作開始してもデータ構造定義データ12bを受信し記憶できるように、被監視装置1は動作開始後、データ構造定義データ12aを例えば一定周期でデータ収集装置2に送信する。データ収集装置2は動作開始後、被監視装置1が送信したデータ構造定義データ12aを受信し、データ構造定義データ12bとして記憶する。またデータ構造定義データ12bを記憶する前に、被監視装置1から受信した動作状態データ11bは記録せずに破棄する。   FIG. 4 is a time chart showing an operation in which the data collection device 2 receives the data structure definition data 12a transmitted by the monitored device 1 at a constant cycle. The monitored device 1 stores the data structure definition data 12a after the operation is started, for example, at a constant cycle so that the data structure definition data 12b can be received and stored even if the data collection device 2 starts operating after the operation of the monitored device 1 starts. To the data collection device 2. After starting the operation, the data collection device 2 receives the data structure definition data 12a transmitted from the monitored device 1 and stores it as the data structure definition data 12b. Before storing the data structure definition data 12b, the operation state data 11b received from the monitored device 1 is discarded without being recorded.

図5は、被監視装置1のデータ構造変更後のデータ構造定義データ12aをデータ収集装置2が受信する動作を示すタイムチャートである。システムの構成の変更や、被監視装置1の機能追加などによって、被監視装置1が送信する動作状態データ11aの構造が変更になった場合、データ構造変更が完了したあと、動作状態データ11aを送信する前に変更後のデータ構造定義データ12aをデータ収集装置2に送信する。なお、被監視装置1のデータ構造定義データ12aの変更は、動作停止後実施されることもあれば、動作中に新しいデータ構造定義データ12aを用意しておき、無瞬断で変更されることもある。動作停止後、データ構造定義データ12aを変更し、動作開始する場合のフローチャートは図3と同じとなる。   FIG. 5 is a time chart showing an operation in which the data collection device 2 receives the data structure definition data 12a after the data structure of the monitored device 1 is changed. When the structure of the operation state data 11a transmitted by the monitored device 1 is changed due to a change in the system configuration or addition of a function of the monitored device 1, the operation state data 11a is stored after the data structure change is completed. Before the transmission, the changed data structure definition data 12a is transmitted to the data collection device 2. The data structure definition data 12a of the monitored device 1 may be changed after the operation is stopped, or a new data structure definition data 12a is prepared during the operation and changed without interruption. There is also. After the operation is stopped, the flowchart for changing the data structure definition data 12a and starting the operation is the same as FIG.

次に、本実施の形態の動作について説明する。図6は、データ収集装置2のデータ記録時の動作を示すフローチャートである。S1では、データ収集装置2は、被監視装置1が送信した送信データを受信する。S2では、送信データの種類を調べ、データ構造定義データ12bであればS3へ、データ構造定義データ12bでなければS4へ進む。送信データがデータ構造定義データ12bである場合には、S3において、受信したデータ構造定義データ12bを記憶する。一方、送信データがデータ構造定義データ12bでない場合には、S4において、送信データが動作状態データ11bであるか否かを調べ、動作状態データ11bであればS5へ進み、動作状態データ11bでなければS3の処理後のフローに進む。S5において、動作状態データ11bを受信した時刻を記憶するために受信時刻データ13を時計から取得する。続いて、S6では、S3で記憶したデータ構造定義データ12bをコピーし、記録用のデータ構造定義データ12cを作成する。なお、前述のように、データ構造定義データ12bが記憶されていない場合には、受信した動作状態データ11bを記憶せずに破棄し、データ構造定義データ12bが記憶された状態で、以下の動作を継続する。S7では、S5で取得した受信時刻データ13、S6でコピーしたデータ構造定義データ12c、および受信した動作状態データ11bを1レコードとしてまとめて記録データ14に記録する。このような動作を、送信データを受信する毎に順次実行する。なお、送受信データとして、動作状態データ11bおよびデータ構造定義データ12bのみを想定する場合には、上記のS4を設けることなく処理可能である。   Next, the operation of the present embodiment will be described. FIG. 6 is a flowchart showing the operation of the data collection device 2 during data recording. In S1, the data collection device 2 receives the transmission data transmitted by the monitored device 1. In S2, the type of transmission data is checked. If the data structure definition data 12b, the process proceeds to S3, and if not the data structure definition data 12b, the process proceeds to S4. If the transmission data is the data structure definition data 12b, the received data structure definition data 12b is stored in S3. On the other hand, if the transmission data is not the data structure definition data 12b, it is checked in S4 whether or not the transmission data is the operation state data 11b. If the transmission data is the operation state data 11b, the process proceeds to S5 and must be the operation state data 11b. For example, the process proceeds to the flow after the process of S3. In S5, the reception time data 13 is acquired from the clock in order to store the time when the operation state data 11b is received. Subsequently, in S6, the data structure definition data 12b stored in S3 is copied to create data structure definition data 12c for recording. As described above, when the data structure definition data 12b is not stored, the received operation state data 11b is discarded without being stored, and the following operation is performed with the data structure definition data 12b stored. Continue. In S7, the reception time data 13 acquired in S5, the data structure definition data 12c copied in S6, and the received operation state data 11b are collectively recorded as one record in the recording data 14. Such an operation is sequentially executed every time transmission data is received. Note that when only the operation state data 11b and the data structure definition data 12b are assumed as transmission / reception data, the processing can be performed without providing the above S4.

以上のように、本実施の形態によれば、システムの構成の変更や、被監視装置の機能追加などによって、被監視装置が送信する送信データのデータ構造が変更になったとしても、データ構造変更前の送信データの構造と内容を定義したデータ構造定義データを保持する必要がないので、データ構造定義データの入れ替えの必要がない。また、複数のデータ構造定義データを管理する必要がなく、データ構造定義データの取り違えが発生しない。さらにまた、構造が変更された日時を記憶することも不要となり、記録データを読み込むのみで、データ構造変更前の被監視装置の送信データを取得できるという効果がある。そのため、例えば、ログデータの検索・表示処理時に、システム更新日を意識することなく作業することができる。   As described above, according to the present embodiment, even if the data structure of the transmission data transmitted by the monitored device is changed due to the change in the system configuration or the addition of the function of the monitored device, the data structure Since it is not necessary to hold data structure definition data that defines the structure and contents of transmission data before the change, there is no need to replace the data structure definition data. In addition, it is not necessary to manage a plurality of data structure definition data, and the data structure definition data is not mixed up. Furthermore, there is no need to store the date and time when the structure is changed, and it is possible to acquire the transmission data of the monitored device before the data structure change only by reading the recording data. Therefore, for example, it is possible to work without being aware of the system update date at the time of log data search / display processing.

実施の形態2.
本発明にかかるデータ収集装置の実施の形態2によるデータ取得の方法、特にデータ表示時の動作について、図7から図9を参照して説明する。なお、本実施の形態にかかるデータ収集装置の構成は、図1および図2に示す実施の形態1の構成と同様である。
Embodiment 2. FIG.
A data acquisition method according to the second embodiment of the data collection apparatus according to the present invention, particularly an operation during data display will be described with reference to FIGS. The configuration of the data collection device according to the present embodiment is the same as the configuration of the first embodiment shown in FIGS.

図7は、データ収集装置2で記録した記録データ14から、必要なデータを取得、表示する時の動作を示すフローチャートである。一例として被監視装置1の故障発生時刻を特定し被監視装置1の動作状態データ11bを表示するために、入力装置2cから被監視装置名や表示したいデータのデータ名を入力し、必要なデータを表示装置2bに表示させる場合について説明する。   FIG. 7 is a flowchart showing an operation when necessary data is acquired and displayed from the recording data 14 recorded by the data collection device 2. As an example, in order to specify the failure occurrence time of the monitored device 1 and display the operation state data 11b of the monitored device 1, the name of the monitored device and the data name of the data to be displayed are input from the input device 2c, and the necessary data Will be described on the display device 2b.

まず、S21では、入力装置2cを介して、故障が発生した被監視装置名を入力する。ここで被監視装置1を識別できる一意の番号が予め被監視装置識別番号として定義されている場合は、被監視装置識別番号から被監視装置名に変換することが可能であるので、被監視装置名ではなく被監視装置識別番号を入力する構成でもよい。   First, in S21, the name of the monitored device in which a failure has occurred is input via the input device 2c. Here, when a unique number that can identify the monitored device 1 is defined in advance as the monitored device identification number, the monitored device identification number can be converted into the monitored device name. The configuration may be such that the monitored device identification number is input instead of the name.

S22では、入力装置2cを介して、表示したい被監視装置データのデータ名を入力する。   In S22, the data name of monitored device data to be displayed is input via the input device 2c.

S23では、入力装置2cを介して、表示したいデータの開始時刻、終了時刻を入力する。   In S23, the start time and end time of the data to be displayed are input via the input device 2c.

S24では、S21で取得した被監視装置名に対応する被監視装置の送信データを記録した記録データファイルをオープンする。   In S24, the recording data file which recorded the transmission data of the monitored apparatus corresponding to the monitored apparatus name acquired in S21 is opened.

S25では、記録データ読み込み位置を1に設定する。   In S25, the recording data reading position is set to 1.

S26では、S24でオープンした記録データファイルから記録データ読み込み位置における記録データを読み込む。   In S26, the recording data at the recording data reading position is read from the recording data file opened in S24.

S27では、記録データ読み込み位置を1加算する。   In S27, 1 is added to the recording data reading position.

S28では、S26で取得した記録データから受信時刻データ、動作状態データ、およびデータ構造定義データを抽出する。   In S28, reception time data, operation state data, and data structure definition data are extracted from the recording data acquired in S26.

S29では、S28で抽出した受信時刻データとS23で取得した開始時刻とを比較し、受信時刻データ≧開始時刻であれば(開始時刻を過ぎていれば)、S30を実行し、そうでなければS26を実行する。   In S29, the reception time data extracted in S28 is compared with the start time acquired in S23, and if reception time data ≧ start time (if the start time has passed), S30 is executed, otherwise S26 is executed.

S30では、S28で抽出した受信時刻データとS23で取得した終了時刻とを比較し、終了時刻≧受信時刻データであれば(終了時刻を過ぎていなければ)、S31を実行し、そうでなければS33を実行する。   In S30, the reception time data extracted in S28 is compared with the end time acquired in S23, and if end time ≧ reception time data (if the end time has not passed), S31 is executed, otherwise S33 is executed.

S31では、S28で抽出したデータ構造定義データから、S22で取得したデータ名が一致するデータを検索し、表示したいデータのデータ位置を抽出する。   In S31, data having the same data name acquired in S22 is searched from the data structure definition data extracted in S28, and the data position of the data to be displayed is extracted.

S32では、S22で取得したデータ名とS32で抽出したデータ位置の動作状態データを表示する。続いて、S26に戻り、上記の動作を繰り返して実行する。   In S32, the data name acquired in S22 and the operation state data of the data position extracted in S32 are displayed. Subsequently, returning to S26, the above operation is repeated.

一方、終了時刻<受信時刻データとなっている場合にはS33に進み、S33では、S24でオープンした記録データファイルをクローズする。   On the other hand, if the end time is less than the reception time data, the process proceeds to S33. In S33, the recording data file opened in S24 is closed.

図8は、データ構造定義データの構造の一例を示す図であり、動作状態データの並び順に定義した場合である。図8では、各行が1ビットのデータをあらわし、1行目が1バイト目の1ビット目、2行目が1バイト目の2ビット目などに相当する。データが割り付けられていないビットは、#を記述している。また、各行の構成は、データ名とその他必要な情報を適宜記述している。   FIG. 8 is a diagram illustrating an example of the structure of the data structure definition data, which is defined in the order of the operation state data. In FIG. 8, each row represents 1-bit data, and the first row corresponds to the first bit of the first byte, the second row corresponds to the second bit of the first byte, and the like. A bit to which no data is allocated describes #. The configuration of each line appropriately describes a data name and other necessary information.

図9は、データ構造定義データの構造の別の一例を示す図であり、データのアドレスやビット位置などを直接定義した場合である。図9では、各行が1ビットのデータをあらわし、1桁目がアドレス、2桁目がビット位置をあらわす。アドレスとビット位置を記述するので図8の場合のように、割り付けられていないビット位置をあらわすための#などの記述の必要がない。また、ビットを定義する記述の順序も任意である。   FIG. 9 is a diagram showing another example of the structure of the data structure definition data, in which the data address, bit position, etc. are directly defined. In FIG. 9, each row represents 1-bit data, the first digit represents an address, and the second digit represents a bit position. Since the address and the bit position are described, there is no need to describe # or the like for representing the unassigned bit position as in the case of FIG. The order of description defining bits is also arbitrary.

以上、本実施の形態によれば、システムの構成の変更や、被監視装置1の機能追加などによって、被監視装置1が送信する送信データのデータ構造が変更になったとしても、記録データ14を読み込むのみで、被監視装置1の送信データを取得し、その内容を表示させることができる。   As described above, according to the present embodiment, even if the data structure of the transmission data transmitted by the monitored device 1 is changed due to a change in the configuration of the system or the addition of a function of the monitored device 1, the recorded data 14 Can be obtained, and the transmission data of the monitored apparatus 1 can be acquired and the contents thereof can be displayed.

実施の形態3.
本実施の形態においては、被監視装置1が複数台ある場合について図10および図11を参照して説明する。被監視装置1が複数台ある場合は、記録データ14については、被監視装置毎に個別に作成してもよいし、全被監視装置のデータをまとめて作成してもよい。以下では、被監視装置1の台数を例えば2台として説明するが、3台以上の場合にも同様である。
Embodiment 3 FIG.
In the present embodiment, a case where there are a plurality of monitored devices 1 will be described with reference to FIGS. 10 and 11. When there are a plurality of monitored devices 1, the recording data 14 may be created individually for each monitored device, or the data of all monitored devices may be created collectively. In the following description, the number of monitored devices 1 is described as two, for example, but the same applies to the case of three or more.

図10は、被監視装置1が2台あり、被監視装置毎に記録データ14を個別に作成する場合であって、被監視装置1が送信する動作状態データおよびデータ構造定義データ、ならびにデータ収集装置が記録する記録データ14の流れを示すデータフロー図である。図10に示すように、記録データ14を、被監視装置1用と被監視装置2用としてそれぞれ作成し、別々に保存されている。   FIG. 10 shows a case where there are two monitored devices 1 and the recording data 14 is individually created for each monitored device, and the operation state data and data structure definition data transmitted by the monitored device 1 and data collection It is a data flow figure which shows the flow of the recording data 14 which an apparatus records. As shown in FIG. 10, the recording data 14 is created for the monitored device 1 and for the monitored device 2, respectively, and stored separately.

図11は、被監視装置1が2台あり、両被監視装置の記録データ14をまとめて作成する場合であって、被監視装置が送信する動作状態データおよびデータ構造定義データ、ならびにデータ収集装置が記録する記録データ14の流れを示すデータフロー図である。図11において、15は被監視装置を識別できる一意の番号が予め定義されている被監視装置識別番号である。全被監視装置のデータをまとめて作成する場合は、被監視装置1が送信する動作状態データ11aには被監視装置識別番号15が付与され、記録データ14に記録するデータとして被監視装置識別番号15が追加される。記録データ14から表示したい被監視装置のデータを取得する際には、この被監視装置識別番号15をもとに識別する。   FIG. 11 shows a case where there are two monitored devices 1 and the recording data 14 of both monitored devices is created together, and the operation state data and data structure definition data transmitted by the monitored devices, and the data collecting device It is a data flow figure which shows the flow of the recording data 14 to record. In FIG. 11, 15 is a monitored apparatus identification number in which a unique number that can identify the monitored apparatus is defined in advance. When the data of all monitored devices is created together, the monitored device identification number 15 is given to the operation state data 11a transmitted by the monitored device 1, and the monitored device identification number is recorded as data to be recorded in the recording data 14. 15 is added. When acquiring data of a monitored apparatus to be displayed from the recorded data 14, the identification is made based on the monitored apparatus identification number 15.

本実施の形態のその他の構成および動作は実施の形態1および2と同様であり、また、実施の形態1および2と同様の効果を奏する。   Other configurations and operations of the present embodiment are the same as those of the first and second embodiments, and the same effects as those of the first and second embodiments are obtained.

以上のように、本発明にかかるデータ収集装置は、システム内で稼動する各装置の動作状態を監視することを目的として、システムのログデータ等を効率的に検索、表示するのに適している。   As described above, the data collection device according to the present invention is suitable for efficiently searching and displaying system log data and the like for the purpose of monitoring the operating state of each device operating in the system. .

実施の形態1にかかるデータ収集装置と被監視装置との接続構成を示す構成図である。1 is a configuration diagram illustrating a connection configuration between a data collection device and a monitored device according to a first embodiment; 実施の形態1において、被監視装置が送信する動作状態データおよびデータ構造定義データ、ならびにデータ収集装置が記録する記録データの流れを示すデータフロー図である。In Embodiment 1, it is a data flow figure which shows the flow of the operation state data and data structure definition data which a to-be-monitored apparatus transmits, and the recording data which a data collection device records. 被監視装置が動作開始時に送信するデータ構造定義データをデータ収集装置が受信する動作を示すタイムチャートである。It is a time chart which shows the operation | movement which a data collection device receives the data structure definition data which a to-be-monitored apparatus transmits at the time of an operation | movement start. 被監視装置が一定周期で送信するデータ構造定義データをデータ収集装置が受信する動作を示すタイムチャートである。It is a time chart which shows the operation | movement which a data collection device receives the data structure definition data which a to-be-monitored apparatus transmits with a fixed period. 被監視装置のデータ構造変更後のデータ構造定義データをデータ収集装置が受信する動作を示すタイムチャートである。It is a time chart which shows the operation | movement which a data collection device receives the data structure definition data after the data structure change of a to-be-monitored apparatus. 実施の形態1において、データ収集装置のデータ記録時の動作を示すフローチャートである。4 is a flowchart illustrating an operation at the time of data recording of the data collection device in the first embodiment. 実施の形態2にかかるデータ収集装置で記録した記録データから、必要なデータを取得、表示する時の動作を示すフローチャートである。10 is a flowchart illustrating an operation when necessary data is acquired and displayed from recorded data recorded by the data collection device according to the second exemplary embodiment. データ構造データの構造の一例を示す図である。It is a figure which shows an example of the structure of data structure data. データ構造データの構造の別の一例を示す図である。It is a figure which shows another example of the structure of data structure data. 実施の形態3において、被監視装置が2台あり、被監視装置毎に記録データを個別に作成する場合であって、被監視装置が送信する動作状態データおよびデータ構造定義データ、ならびにデータ収集装置が記録する記録データの流れを示すデータフロー図である。In the third embodiment, there are two monitored devices, and the recording data is individually created for each monitored device, and the operation state data and the data structure definition data transmitted by the monitored device, and the data collecting device It is a data flow figure which shows the flow of the recording data which records. 実施の形態3において、被監視装置が2台あり、両被監視装置の記録データをまとめて作成する場合であって、被監視装置が送信する動作状態データおよびデータ構造定義データ、ならびにデータ収集装置が記録する記録データの流れを示すデータフロー図である。In the third embodiment, there are two monitored devices, and the recording data of both monitored devices are created together, and the operation state data and data structure definition data transmitted by the monitored devices, and the data collecting device It is a data flow figure which shows the flow of the recording data which records.

符号の説明Explanation of symbols

1 被監視装置
2 データ収集装置
2a 本体装置
2b 表示装置
2c 入力装置
3 データ伝送路
11a、11b 動作状態データ
12a、12b データ構造定義データ
13 受信時刻データ
14 記録データ
15 被監視装置識別番号
DESCRIPTION OF SYMBOLS 1 Monitored apparatus 2 Data collection apparatus 2a Main body apparatus 2b Display apparatus 2c Input apparatus 3 Data transmission path 11a, 11b Operation state data 12a, 12b Data structure definition data 13 Reception time data 14 Recorded data 15 Monitored apparatus identification number

Claims (6)

監視対象である一台以上の被監視装置から送信された前記被監視装置の動作状態に関する動作状態データ、および前記被監視装置から送信され前記動作状態データのデータ構造を定義したデータ構造定義データ、を受信し記録することを特徴とするデータ収集装置。   Operational state data relating to the operational state of the monitored device transmitted from one or more monitored devices that are to be monitored, and data structure definition data defining a data structure of the operational state data transmitted from the monitored device; The data collection device characterized by receiving and recording 前記被監視装置の動作開始時、前記動作状態データのデータ構造変更時、または定期的に、前記被監視装置が送信する前記データ構造定義データを受信することを特徴とする請求項1に記載のデータ収集装置。   The data structure definition data transmitted by the monitored device is received at the start of operation of the monitored device, when the data structure of the operation state data is changed, or periodically. Data collection device. 前記動作状態データを、前記動作状態データと前記データ構造定義データとを含む記録データとして記録することを特徴とする請求項1または2に記載のデータ収集装置。   The data collection device according to claim 1, wherein the operation state data is recorded as record data including the operation state data and the data structure definition data. 前記記録データに含まれる前記動作状態データと前記データ構造定義データとを参照して、前記動作状態データの内容を表示することを特徴とする請求項1〜3のいずれか1項に記載のデータ収集装置。   The data according to any one of claims 1 to 3, wherein contents of the operation state data are displayed with reference to the operation state data and the data structure definition data included in the recording data. Collection device. 監視対象である一台以上の被監視装置から送信された送信データを受信し記録するデータ収集装置のデータ収集方法であって、
前記被監視装置から送信された前記被監視装置の動作状態に関する動作状態データを受信するステップと、
前記受信した動作状態データと、前記被監視装置から既に受信した前記動作状態データのデータ構造を定義したデータ構造定義データとをまとめて、前記動作状態データと前記データ構造定義データとを含む記録データとして記録するステップと、
を含むことを特徴とするデータ収集方法。
A data collection method for a data collection device that receives and records transmission data transmitted from one or more monitored devices to be monitored,
Receiving operation state data relating to the operation state of the monitored device transmitted from the monitored device;
Recording data including the operation state data and the data structure definition data, the received operation state data and the data structure definition data defining the data structure of the operation state data already received from the monitored device As a step to record as
A data collection method comprising:
前記被監視装置の動作開始時、前記動作状態データのデータ構造変更時、または定期的に、前記被監視装置が送信する前記データ構造定義データを受信するステップ、をさらに含むことを特徴とする請求項5に記載のデータ収集方法。   The method further comprises receiving the data structure definition data transmitted by the monitored device at the start of operation of the monitored device, when changing the data structure of the operation state data, or periodically. Item 6. The data collection method according to Item 5.
JP2007116907A 2007-04-26 2007-04-26 Data collection apparatus and data collection method Expired - Fee Related JP4889559B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007116907A JP4889559B2 (en) 2007-04-26 2007-04-26 Data collection apparatus and data collection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007116907A JP4889559B2 (en) 2007-04-26 2007-04-26 Data collection apparatus and data collection method

Publications (2)

Publication Number Publication Date
JP2008276373A true JP2008276373A (en) 2008-11-13
JP4889559B2 JP4889559B2 (en) 2012-03-07

Family

ID=40054274

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007116907A Expired - Fee Related JP4889559B2 (en) 2007-04-26 2007-04-26 Data collection apparatus and data collection method

Country Status (1)

Country Link
JP (1) JP4889559B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014130464A (en) * 2012-12-28 2014-07-10 Mitsubishi Electric Corp Operation log storage device
JP2017068383A (en) * 2015-09-28 2017-04-06 株式会社日立製作所 Computer system and information processing method thereof
WO2020059037A1 (en) * 2018-09-19 2020-03-26 株式会社安川電機 Power conversion system, ip address transmission method for power conversion device and program

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002244870A (en) * 2001-02-19 2002-08-30 Hitachi Ltd Method and device for supporting system control
JP2006085623A (en) * 2004-09-17 2006-03-30 Toshiba Corp Web monitoring system, data processing method and monitored apparatus

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002244870A (en) * 2001-02-19 2002-08-30 Hitachi Ltd Method and device for supporting system control
JP2006085623A (en) * 2004-09-17 2006-03-30 Toshiba Corp Web monitoring system, data processing method and monitored apparatus

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014130464A (en) * 2012-12-28 2014-07-10 Mitsubishi Electric Corp Operation log storage device
JP2017068383A (en) * 2015-09-28 2017-04-06 株式会社日立製作所 Computer system and information processing method thereof
WO2020059037A1 (en) * 2018-09-19 2020-03-26 株式会社安川電機 Power conversion system, ip address transmission method for power conversion device and program
JPWO2020059037A1 (en) * 2018-09-19 2021-08-30 株式会社安川電機 Power conversion system, IP address transmission method of power conversion device, and program
JP7088294B2 (en) 2018-09-19 2022-06-21 株式会社安川電機 Power conversion system, IP address transmission method of power conversion device, and program

Also Published As

Publication number Publication date
JP4889559B2 (en) 2012-03-07

Similar Documents

Publication Publication Date Title
US20100223446A1 (en) Contextual tracing
TWI447547B (en) Apparatus and system for diagnosing abnormal of servo control device
JP2006344213A (en) System and method for implementing database application guaranteeing independence of software module
JP2008210213A (en) Process operation display device, process operation display method, and program
CN109376074A (en) Obtain method and device, the storage medium, electronic device of log
JP4889559B2 (en) Data collection apparatus and data collection method
CN111290951A (en) Test method, terminal, server, system and storage medium
CN103019697A (en) Edition plug-in unit of LUA script
JP2012136300A (en) Maintenance work support system
CN104376093B (en) A kind of video file searching method and device
CN105051701A (en) Selection of redundant storage configuration based on available memory space
JP2005056098A (en) Display device
CN107544894A (en) The method, apparatus and server of a kind of log processing
CN102597965B (en) Operation verification device, operation verification method
JP2009266031A (en) Computer system and computer
JP2010033365A (en) Server/client system and server machine
JP5444567B2 (en) Transient data collection system
JP5768964B2 (en) Failure investigation support device, method and program
US10838475B2 (en) System and method for management of data and power of a data acquisition device
JP5533510B2 (en) Content creation support apparatus and control program for content creation support apparatus
JP2009080075A (en) Measurement data recording device
JP4133438B2 (en) Network failure influence display control device, method thereof, program thereof, recording medium storing the program, and monitoring device
JP2009239581A (en) Content download receiver
JP2007018131A (en) Failure information collection/transmission method, failure information collection/transmission program and failure information collection/transmission system
TW200622729A (en) Computer communication interface transmission control codes analyzing method and system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090826

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110302

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110906

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111026

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20111115

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20111213

R150 Certificate of patent or registration of utility model

Ref document number: 4889559

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20141222

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees