JP2006155135A - Data collection method and device therefor - Google Patents

Data collection method and device therefor Download PDF

Info

Publication number
JP2006155135A
JP2006155135A JP2004343535A JP2004343535A JP2006155135A JP 2006155135 A JP2006155135 A JP 2006155135A JP 2004343535 A JP2004343535 A JP 2004343535A JP 2004343535 A JP2004343535 A JP 2004343535A JP 2006155135 A JP2006155135 A JP 2006155135A
Authority
JP
Japan
Prior art keywords
data
recording
file
measurement
network
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
JP2004343535A
Other languages
Japanese (ja)
Other versions
JP4433185B2 (en
Inventor
Yinxiu Li
銀秀 李
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.)
Yokogawa Electric Corp
Original Assignee
Yokogawa 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 Yokogawa Electric Corp filed Critical Yokogawa Electric Corp
Priority to JP2004343535A priority Critical patent/JP4433185B2/en
Publication of JP2006155135A publication Critical patent/JP2006155135A/en
Application granted granted Critical
Publication of JP4433185B2 publication Critical patent/JP4433185B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To solve a problem that long hours of interruption of communication in a network connecting a computer with a measuring device results in loss of data, and measurement data are divided into a record data file in the computer and a backup file in the measuring device, thus management becomes complicated. <P>SOLUTION: A unique record identifier is set in the record data file in the computer and the backup file in the measuring device. If the communication in the network is interrupted, the measuring device side writes the measurement data into the backup file, and when the measurement is halted, the measuring device side identifies a back up file based on the record identifier, and embeds data of the backup file in a lost data portion of the record data file. Because the files in a single time series are reconfigured into one file, the data management is simplified. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、データ記録装置と測定器をネットワークを介して接続する測定データ収集装置に関し、欠損データを修復することができるデータ収集方法及びその装置に関するものである。   The present invention relates to a measurement data collection device that connects a data recording device and a measurement device via a network, and relates to a data collection method and device that can repair missing data.

図4にネットワークを用いたデータ収集装置の構成を示す。図4において、データ記録装置であるコンピュータ4と測定器6はネットワーク5で接続されている。測定器6はコンピュータの要求に応じて測定データをネットワーク5を介してコンピュータ4に送信する。コンピュータ4は受信した測定値を記録データファイルに保存する。なお、通常ネットワーク5には複数の測定器6が接続される。   FIG. 4 shows the configuration of a data collection device using a network. In FIG. 4, a computer 4 that is a data recording device and a measuring instrument 6 are connected by a network 5. The measuring device 6 transmits measurement data to the computer 4 via the network 5 in response to a request from the computer. The computer 4 stores the received measurement value in a recording data file. A plurality of measuring instruments 6 are connected to the normal network 5.

このようなデータ収集装置では、ネットワーク5に障害が発生して通信ができなくなると、その間のデータは失われてしまう。通常、測定器は所定の大きさのバッファを有しているので、通信が再開されたときにこのバッファに残っているデータは復元が可能である。しかし、バッファの容量には限りがあるので、通信できなくなる時間が長くなると、測定データがバッファからあふれ出し、復元が不可能になってしまう。   In such a data collection device, if a failure occurs in the network 5 and communication becomes impossible, data during that time is lost. Usually, since the measuring instrument has a buffer of a predetermined size, the data remaining in this buffer can be restored when communication is resumed. However, since the capacity of the buffer is limited, if the time during which communication cannot be performed becomes long, the measurement data overflows from the buffer and cannot be restored.

メモリカードやハードディスクなどのストレージ装置を内蔵した測定器では、通信ができなくなってから復帰するまでの測定データを、自動的に自身のストレージ装置にバックアップファイルとして保存することができる。しかし、測定データがコンピュータ4の記録データファイルと測定器6のバックアップファイルに分断されるので、データ管理が面倒になるという欠点がある。   A measuring instrument with a built-in storage device such as a memory card or hard disk can automatically store measurement data from when communication is lost until it returns to the storage device as a backup file. However, since the measurement data is divided into a recording data file of the computer 4 and a backup file of the measuring device 6, there is a disadvantage that data management becomes troublesome.

このことを図5を用いて説明する。図5(A)はコンピュータ4の記録データファイルに記録されている測定データの経時変化を表したものであり、横軸は時間、縦軸は測定値である。時刻t11でネットワークに障害が発生して通信ができなくなり、t14で復帰したとする。このとき、t13からt14までの測定データは測定器6のバッファに残っているので復元することができるが、t11からt13までの測定データは復元することができず、欠損データになる。   This will be described with reference to FIG. FIG. 5A shows the change over time of the measurement data recorded in the recording data file of the computer 4, with the horizontal axis representing time and the vertical axis representing measurement values. Assume that a network failure occurs at time t11 and communication cannot be performed, and the network returns at t14. At this time, the measurement data from t13 to t14 remains in the buffer of the measuring instrument 6 and can be restored. However, the measurement data from t11 to t13 cannot be restored and becomes missing data.

図5(B)は、測定器6のストレージ装置にバックアップファイルとして保存された測定データを表す。時刻t12で測定器6が通信断を検出すると、バックアップを開始する。時刻t10からt12までの測定データはバッファに残っているので、バックアップは時刻t10から開始される。このバックアップは、通信が復帰するt14まで続けられる。   FIG. 5B shows measurement data stored as a backup file in the storage device of the measuring instrument 6. When the measuring device 6 detects a disconnection at time t12, backup is started. Since the measurement data from time t10 to t12 remains in the buffer, the backup is started from time t10. This backup is continued until t14 when communication returns.

収集されたデータを2系統のロギングファイルに重複して保存しておき、一方の系統が異常停止後再起動された際、ロギングファイルの管理ファイル内の最終格納時刻に基づき、各保存データの欠損した期間を特定し、欠損期間中のデータを他方から呼び出して欠損部を復元する装置として、例えば特許文献1に記載されたものがあった。
特開平9−160845号公報
The collected data is stored in duplicate in the two logging files, and when one system is restarted after an abnormal stop, each saved data is missing based on the last storage time in the management file of the logging file For example, Patent Document 1 discloses an apparatus that identifies a period that has been deleted and calls data from the other period to restore the missing part.
JP-A-9-160845

しかし、このようなデータ収集装置には次のような課題があった。ストレージ装置を持たない測定器では、バッファからあふれ出した測定データは復元することができない。従って、通信できない時間が長くなるとほとんどの測定データはバッファに残っておらず、永久に失われてしまうという課題があった。   However, such a data collection device has the following problems. A measuring instrument that does not have a storage device cannot restore measurement data that overflows from the buffer. Therefore, when the time during which communication cannot be performed becomes long, most of the measurement data does not remain in the buffer and is permanently lost.

バッファの容量を大きくすると失われる測定データの割合は小さくなるが、そのためには大容量のメモリを搭載しなければならず、コストが増加してしまうという課題もあった。   If the capacity of the buffer is increased, the ratio of the measurement data lost is reduced. However, for this purpose, a large-capacity memory must be installed, and there is a problem that the cost increases.

ストレージ装置を内蔵した測定器では、通信できなくなる時間がかなり続いても測定データを保存しておくことができる。しかし、1つの時系列データがコンピュータ4の記録データファイルと測定器6のバックアップファイルに分断されて保存されるので、データ管理や確認に手間がかかるという課題もあった。   A measuring instrument with a built-in storage device can store measurement data even if communication is not possible for a long time. However, since one time series data is divided and stored in a recording data file of the computer 4 and a backup file of the measuring instrument 6, there is a problem that it takes time and effort to manage and check data.

従って本発明が解決しようとする課題は、測定停止後に測定器のストレージ装置に格納されたバックアップファイルを読み出し、そのデータをデータ記録装置の記録データファイルに埋め込むことにより、データ管理およびデータ確認を容易に行うことができるデータ収集方法およびその装置を提供することにある。   Therefore, the problem to be solved by the present invention is that data backup and data confirmation are facilitated by reading a backup file stored in the storage device of the measuring instrument after measurement is stopped and embedding the data in a recorded data file of the data recording device. It is an object of the present invention to provide a data collection method and apparatus capable of performing the above.

このような課題を達成するために、本発明のうち請求項1記載の発明は、
測定器で生成した測定データをネットワークを介してデータ記録装置に伝送し、このデータ記録装置に保存するデータ収集方法において、
測定開始時に、重複しない記録識別子を生成する工程と、
前記測定器から送られてきた測定データを、前記データ記録装置内に配置され、前記記録識別子が設定された記録データファイルに保存する工程と、
前記ネットワークの通信が途絶している間、前記測定器内に配置され、前記記録識別子が設定されたバックアップファイルに測定データを保存する工程と、
測定が停止したときに、前記記録データファイルに設定された記録識別子と同じ記録識別子を有する前記バックアップファイルを読み込み、このバックアップファイルのデータを前記記録データファイルの対応する位置に埋め込む工程と、
を具備したものである。1つの時系列データが1つのファイルに格納されるので、データの管理、確認が容易になる。
In order to achieve such a problem, the invention according to claim 1 of the present invention is:
In a data collection method for transmitting measurement data generated by a measuring instrument to a data recording device via a network and storing the data in the data recording device,
Generating a unique recording identifier at the start of measurement;
Storing the measurement data sent from the measuring instrument in a recording data file arranged in the data recording device and set with the recording identifier;
Storing the measurement data in a backup file placed in the measuring instrument and set with the recording identifier while communication of the network is interrupted;
When the measurement is stopped, reading the backup file having the same recording identifier as the recording identifier set in the recording data file, and embedding the data of the backup file in the corresponding position of the recording data file;
Is provided. Since one time-series data is stored in one file, data management and confirmation become easy.

請求項2記載の発明は、請求項1記載の発明において、
測定が停止したときに、前記測定器内のバックアップファイルを検索し、記録識別子とバックアップファイルのリストを作成して、このリストに基づいて前記バックアップファイルを読み込むようにしたものである。同じ記録識別子を有するバックアップファイルを容易に見つけることができる。
The invention according to claim 2 is the invention according to claim 1,
When measurement is stopped, a backup file in the measuring instrument is searched, a list of recording identifiers and backup files is created, and the backup file is read based on this list. A backup file with the same record identifier can be easily found.

請求項3記載の発明は、請求項1若しくは請求項2記載の発明において、
前記ネットワークの通信が途絶したときに、前記記録データファイルの所定の位置に、測定データが欠損していることを示す欠損データを書き込むようにしたものである。欠損部分を確実に見つけだすことができる。
The invention according to claim 3 is the invention according to claim 1 or claim 2,
When communication on the network is interrupted, missing data indicating that the measurement data is missing is written in a predetermined position of the recording data file. Defects can be found with certainty.

請求項4記載の発明は、
データ記録装置と測定器をネットワークで接続し、この測定器が測定した測定データを前記ネットワークを介して前記データ記録装置に伝送して保存する構成のデータ収集装置において、
測定開始時に重複しない記録識別子を生成する記録識別子生成部と、
前記測定器に配置され、前記記録識別子が設定されたバックアップファイルを作成し、前記ネットワークによる通信が途絶している間、このバックアップファイルに測定データを書き込むバックアップファイル作成部と、
前記記録識別子が設定された記録データファイルを生成すると共に、前記ネットワークを介して前記測定器から送られてくる測定データを前記記録データファイルに保存し、測定が停止したときに、前記記録データファイルに設定された記録識別子と同一の記録識別子が設定された前記バックアップファイルを読み出して、このバックアップファイルの測定データを前記記録データファイルの所定の位置に埋め込む測定データ記録部と、
を具備したものである。1つの時系列データが1つのファイルに格納されるので、データの管理、確認が容易になる。
The invention according to claim 4
In the data collection device configured to connect the data recording device and the measuring device via a network, and transmit the measurement data measured by the measuring device to the data recording device via the network and store the data.
A record identifier generating unit for generating a record identifier that is not duplicated at the start of measurement;
A backup file creation unit that is arranged in the measuring device and creates a backup file in which the recording identifier is set, and writes measurement data to the backup file while communication by the network is interrupted,
The recording data file in which the recording identifier is set is generated, the measurement data sent from the measuring device via the network is stored in the recording data file, and when the measurement is stopped, the recording data file is stored. A measurement data recording unit that reads the backup file in which the same recording identifier as the recording identifier set in is read and embeds the measurement data of the backup file in a predetermined position of the recording data file;
Is provided. Since one time-series data is stored in one file, data management and confirmation become easy.

請求項5記載の発明は、請求項4記載の発明において、
測定が停止したときに、前記ネットワークに接続されている前記測定器を検索し、前記記録識別子と前記バックアップファイルのリストを作成するファイルリスト作成部を具備し、
前記測定データ記録部は、このファイルリストに基づいて前記バックアップファイルを読み出すようにしたものである。同じ記録識別子を有するバックアップファイルを容易に見つけることができる。
The invention according to claim 5 is the invention according to claim 4,
When the measurement is stopped, the device connected to the network is searched for, and the recording identifier and a file list creation unit for creating a list of the backup files are provided,
The measurement data recording unit reads the backup file based on the file list. A backup file with the same record identifier can be easily found.

請求項6記載の発明は、請求項4若しくは請求項5記載の発明において、
前記測定データ記録部は、前記ネットワークの通信が途絶したときに、前記記録データファイルの所定の位置に、測定データが欠損していることを示す欠損データを書き込むようにしたものである。欠損部分を確実に見つけだすことができる。
The invention according to claim 6 is the invention according to claim 4 or claim 5,
The measurement data recording unit is configured to write missing data indicating that the measurement data is missing at a predetermined position of the recording data file when communication of the network is interrupted. Defects can be found with certainty.

以上説明したことから明らかなように、本発明によれば次のような効果がある。
請求項1,2,3,4,5及び請求項6の発明によれば、データ記録装置内の記録データファイルと測定器内のバックアップファイルに同じ記録識別子を設定し、ネットワークの通信が途絶えたときに、測定データを前記バックアップファイルに保存して、測定が停止すると、同じ記録識別子を有するバックアップファイルを読み出して、そのデータを前記記録データファイルの所定の位置に埋め込むようにした。
As is apparent from the above description, the present invention has the following effects.
According to the inventions of claims 1, 2, 3, 4, 5 and 6, the same recording identifier is set in the recording data file in the data recording device and the backup file in the measuring instrument, and network communication is interrupted. Sometimes, when the measurement data is stored in the backup file and the measurement is stopped, a backup file having the same recording identifier is read out and the data is embedded in a predetermined position of the recording data file.

ネットワークの通信が一時的に途絶えても、1つの時系列データが1つのファイルに保存されるので、データの確認および管理を容易に行えるようになるという効果がある。また、データのロスを削減することができ、かつデータの安全性を保つことができるという効果もある。   Even if the network communication is temporarily interrupted, one time-series data is stored in one file, so that it is possible to easily check and manage the data. In addition, data loss can be reduced, and data safety can be maintained.

また、記録データファイルとバックアップファイルに同一のユニークな記録識別子を設定することにより、容易かつ確実に記録データファイルとバックアップファイルの関連づけを行うことができるという効果もある。さらに、バッファの容量を増加させることなく、測定データの欠損を防止できるという効果もある。   Further, by setting the same unique recording identifier for the recording data file and the backup file, there is also an effect that the recording data file and the backup file can be easily and reliably associated with each other. Furthermore, there is an effect that loss of measurement data can be prevented without increasing the capacity of the buffer.

以下本発明を図面を用いて詳細に説明する。図1は本発明に係るデータ収集装置の一実施例を示す構成図である。図1において、1はデータ記録装置であるコンピュータであり、記録識別子生成部11,測定データ記録部12,ファイルリスト作成部13および通信インターフェイス14で構成されている。   Hereinafter, the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of a data collection apparatus according to the present invention. In FIG. 1, reference numeral 1 denotes a computer that is a data recording device, which includes a recording identifier generation unit 11, a measurement data recording unit 12, a file list creation unit 13, and a communication interface 14.

3は測定器であり、測定部31,バックアップファイル作成部32および通信インターフェイス33で構成されており、ストレージ装置が内蔵されている。また、コンピュータ1と測定器3は、通信インターフェイス14,33を介してネットワーク2で接続されている。なお、この実施例ではネットワーク2には1台の測定器3が接続されているが、通常2台以上の測定器が接続される。   Reference numeral 3 denotes a measuring instrument, which includes a measuring unit 31, a backup file creating unit 32, and a communication interface 33, and has a built-in storage device. Further, the computer 1 and the measuring instrument 3 are connected by the network 2 via the communication interfaces 14 and 33. In this embodiment, one measuring device 3 is connected to the network 2, but usually two or more measuring devices are connected.

測定開始時に、記録識別子生成部11は重複しない記録識別子(ID)を作成する。この記録識別子はネットワーク2を介して測定器3に送信され、設定される。前述したように、通常ネットワーク2には複数の測定器3が接続されており、全ての測定器に記録識別子が設定される。測定データ記録部12は記録データファイルを作成して、記録識別子をこの記録データファイルに格納する。   At the start of measurement, the recording identifier generation unit 11 creates a recording identifier (ID) that does not overlap. This record identifier is transmitted to the measuring device 3 via the network 2 and set. As described above, a plurality of measuring devices 3 are connected to the normal network 2, and record identifiers are set for all the measuring devices. The measurement data recording unit 12 creates a recording data file and stores the recording identifier in this recording data file.

測定部31で測定データが作成され、図示しないバッファに格納される。この測定データは、コンピュータ1の収集要求に応じてネットワーク2を介してコンピュータ1に伝送される。測定データ記録部12は、受信した測定データを送信元の測定器3と同じ記録識別子を有する記録データファイルに時系列的に格納する。   Measurement data is created by the measurement unit 31 and stored in a buffer (not shown). This measurement data is transmitted to the computer 1 via the network 2 in response to a collection request from the computer 1. The measurement data recording unit 12 stores the received measurement data in a recording data file having the same recording identifier as the transmission source measuring device 3 in time series.

ネットワーク2に障害が発生するなどのために通信ができなくなることを検出すると、バックアップファイル作成部32はストレージ装置内にバックアップファイルを作成し、測定データを書き込む。このバックアップファイルには、測定開始時にコンピュータ1から伝送された記録識別子も書き込まれる。通信が復帰すると、測定データをバックアップファイルに書き込むことを中止し、コンピュータ1の収集要求に応じて新たな測定データを伝送する動作を再開する。   When it is detected that communication cannot be performed due to a failure in the network 2, the backup file creation unit 32 creates a backup file in the storage device and writes measurement data. In this backup file, the record identifier transmitted from the computer 1 at the start of measurement is also written. When the communication is restored, writing of the measurement data to the backup file is stopped, and the operation of transmitting new measurement data is resumed in response to the collection request of the computer 1.

通信ができなくなると、コンピュータ1は測定データを受け取ることができなくなる。測定データ記録部12はデータが欠損していることを示す欠損データを記録データファイルに書き込む。通信が復帰すると、再び測定器3に収集要求を出力し、送られてきた測定データを記録データファイルに書き込む。   If communication becomes impossible, the computer 1 cannot receive measurement data. The measurement data recording unit 12 writes the missing data indicating that the data is missing into the recorded data file. When communication returns, a collection request is again output to the measuring instrument 3, and the transmitted measurement data is written into the recording data file.

測定が終了し、記録データファイルへの書き込みが停止すると、コンピュータ1は測定器3からバックアップファイルをコピーし、このバックアップファイル内のデータを用いて欠損データを埋め込み、記録データファイルを再構成する。   When the measurement is completed and the writing to the recording data file is stopped, the computer 1 copies the backup file from the measuring instrument 3, embeds the missing data using the data in the backup file, and reconstructs the recording data file.

次に、図2を用いて、測定停止後に実行する欠損データの埋め込み処理の詳細を説明する。図2において、まず(A−1)でファイルリスト作成部13は測定器3から記録データファイルの識別子を取得する。そして、(A−2)でネットワーク2に接続された測定器を順に検索し、測定器内に格納されているバックアップファイルのうち、同じ記録識別子が格納されているファイルのリストを作成する。   Next, details of the missing data embedding process executed after the measurement is stopped will be described with reference to FIG. In FIG. 2, first, in (A-1), the file list creation unit 13 acquires the identifier of the recording data file from the measuring device 3. Then, the measuring instrument connected to the network 2 is searched in order in (A-2), and a list of files storing the same recording identifier among the backup files stored in the measuring instrument is created.

ネットワークに接続されている全ての測定器を検索すると、リスト作成が終了する(A−3)。リスト作成が終了すると、このリストは測定データ記録部12に送られる。測定データ記録部12は、(A−4)でこのリストに基づいてバックアップファイルのデータを読み込む。(A−5)で、同じ記録識別子を有する全てのバックアップファイルのデータを読み込んだことをチェックすると、(A−6)でこのバックアップファイルのデータを欠損データの位置に埋め込む。全ての記録データファイルについて、この作業を行う。   When all the measuring instruments connected to the network are searched, the list creation is completed (A-3). When the list creation is completed, this list is sent to the measurement data recording unit 12. The measurement data recording unit 12 reads the backup file data based on this list in (A-4). When it is checked in (A-5) that all backup file data having the same recording identifier has been read, the data in this backup file is embedded in the position of missing data in (A-6). This operation is performed for all recording data files.

次に、図3に基づいて測定データの埋め込みについて説明する。図3の横軸は時間、縦軸は測定データの値である。図3(A)は埋め込み前のコンピュータ1の記録データファイルに格納された測定データを示したものである。時刻t2で通信が断絶し、時刻t5で復帰している。時刻t4とt5の間の測定データはバッファに格納されているので復元できるが、時刻t2からt4までは復元できない。この部分には、欠損データが格納される。   Next, embedding of measurement data will be described with reference to FIG. The horizontal axis in FIG. 3 is time, and the vertical axis is the value of measurement data. FIG. 3A shows measurement data stored in a recording data file of the computer 1 before embedding. Communication is interrupted at time t2 and returned at time t5. The measurement data between time t4 and t5 can be restored because it is stored in the buffer, but cannot be restored from time t2 to t4. In this part, missing data is stored.

同図(B)は測定器3内のバックアップファイルに格納されている測定データである。時刻t3で通信断絶を検出しているが、時刻t1からt3までの測定データはバッファ内に格納されているので、バックアップは時刻t1から開始される。時刻t5で通信が復帰したので、時刻t5でバックアップを終了する。   FIG. 5B shows measurement data stored in a backup file in the measuring instrument 3. Although the communication disconnection is detected at time t3, since the measurement data from time t1 to t3 is stored in the buffer, backup is started from time t1. Since communication is restored at time t5, backup is terminated at time t5.

同図(C)は記録データファイルの欠損データ部分にバックアップファイルのデータを埋め込んだときの記録データファイルの測定データである。欠損データが埋め込まれ、測定データが完全に復元されていることがわかる。   FIG. 6C shows the measurement data of the recording data file when the data of the backup file is embedded in the missing data portion of the recording data file. It can be seen that the missing data is embedded and the measurement data is completely restored.

このように、通信が断絶している間の測定データが、1つの記録データファイルに完全に復元される。そのため、データ管理や確認を簡単に行うことができる。なお、測定器3の種類は特に限定されず、ネットワークを介して接続されるあらゆる測定器に適用することができる。また、ネットワークは通信路を総称したものであり、コンピュータ1と測定器3を通信路で接続した装置であればあらゆるデータ収集装置に応用することができる。   In this way, the measurement data while communication is disconnected is completely restored to one recorded data file. Therefore, data management and confirmation can be easily performed. In addition, the kind of measuring device 3 is not specifically limited, It can apply to all the measuring devices connected via a network. The network is a general term for communication paths, and can be applied to any data collection apparatus as long as it is an apparatus in which the computer 1 and the measuring device 3 are connected via a communication path.

本発明の一実施例を示す構成図である。It is a block diagram which shows one Example of this invention. 本発明の一実施例を示すフローチャートである。It is a flowchart which shows one Example of this invention. 本発明の効果を示す特性図である。It is a characteristic view which shows the effect of this invention. 従来のデータ収集装置の構成図である。It is a block diagram of the conventional data collection device. 従来のデータ収集装置の特性図である。It is a characteristic view of the conventional data collection device.

符号の説明Explanation of symbols

1 コンピュータ
11 記録識別子生成部
12 測定データ記録部
13 ファイルリスト作成部
2 ネットワーク
3 測定器
31 測定部
32 バックアップファイル作成部
DESCRIPTION OF SYMBOLS 1 Computer 11 Recording identifier production | generation part 12 Measurement data recording part 13 File list creation part 2 Network 3 Measuring device 31 Measurement part 32 Backup file creation part

Claims (6)

測定器で生成した測定データをネットワークを介してデータ記録装置に伝送し、このデータ記録装置に保存するデータ収集方法において、
測定開始時に、重複しない記録識別子を生成する工程と、
前記測定器から送られてきた測定データを、前記データ記録装置内に配置され、前記記録識別子が設定された記録データファイルに保存する工程と、
前記ネットワークの通信が途絶している間、前記測定器内に配置され、前記記録識別子が設定されたバックアップファイルに測定データを保存する工程と、
測定が停止したときに、前記記録データファイルに設定された記録識別子と同じ記録識別子を有する前記バックアップファイルを読み込み、このバックアップファイルのデータを前記記録データファイルの対応する位置に埋め込む工程と、
を具備したことを特徴とするデータ収集方法。
In a data collection method for transmitting measurement data generated by a measuring instrument to a data recording device via a network and storing the data in the data recording device,
Generating a unique recording identifier at the start of measurement;
Storing the measurement data sent from the measuring instrument in a recording data file arranged in the data recording device and set with the recording identifier;
Storing the measurement data in a backup file placed in the measuring instrument and set with the recording identifier while communication of the network is interrupted;
When the measurement is stopped, reading the backup file having the same recording identifier as the recording identifier set in the recording data file, and embedding the data of the backup file in the corresponding position of the recording data file;
A data collection method characterized by comprising:
測定が停止したときに、前記測定器内のバックアップファイルを検索し、記録識別子とバックアップファイルのリストを作成して、このリストに基づいて前記バックアップファイルを読み込む工程を具備したことを特徴とする請求項1記載のデータ収集方法。   A step of searching for a backup file in the measuring device when measurement is stopped, creating a list of recording identifiers and backup files, and reading the backup file based on the list is provided. Item 2. The data collection method according to Item 1. 前記ネットワークの通信が途絶したときに、前記記録データファイルの所定の位置に、測定データが欠損していることを示す欠損データを書き込むようにしたことを特徴とする請求項1若しくは請求項2に記載のデータ収集方法。   3. The missing data indicating that the measurement data is missing is written in a predetermined position of the recording data file when communication of the network is interrupted. The data collection method described. データ記録装置と測定器をネットワークで接続し、この測定器が測定した測定データを前記ネットワークを介して前記データ記録装置に伝送して保存する構成のデータ収集装置において、
測定開始時に重複しない記録識別子を生成する記録識別子生成部と、
前記測定器に配置され、前記記録識別子が設定されたバックアップファイルを作成し、前記ネットワークによる通信が途絶している間、このバックアップファイルに測定データを書き込むバックアップファイル作成部と、
前記記録識別子が設定された記録データファイルを生成すると共に、前記ネットワークを介して前記測定器から送られてくる測定データを前記記録データファイルに保存し、測定が停止したときに、前記記録データファイルに設定された記録識別子と同一の記録識別子が設定された前記バックアップファイルを読み出して、このバックアップファイルの測定データを前記記録データファイルの所定の位置に埋め込む測定データ記録部と、
を具備したことを特徴とするデータ収集装置。
In the data collection device configured to connect the data recording device and the measuring device via a network, and transmit the measurement data measured by the measuring device to the data recording device via the network and store the data.
A record identifier generating unit for generating a record identifier that is not duplicated at the start of measurement;
A backup file creation unit that is arranged in the measuring device and creates a backup file in which the recording identifier is set, and writes measurement data to the backup file while communication by the network is interrupted,
The recording data file in which the recording identifier is set is generated, the measurement data sent from the measuring device via the network is stored in the recording data file, and when the measurement is stopped, the recording data file is stored. A measurement data recording unit that reads the backup file in which the same recording identifier as the recording identifier set in is read and embeds the measurement data of the backup file in a predetermined position of the recording data file;
A data collection device comprising:
測定が停止したときに、前記ネットワークに接続されている前記測定器を検索し、前記記録識別子と前記バックアップファイルのリストを作成するファイルリスト作成部を具備し、
前記測定データ記録部は、このファイルリストに基づいて前記バックアップファイルを読み出すようにしたことを特徴とする請求項4記載のデータ収集装置。
When the measurement is stopped, the device connected to the network is searched for, and the recording identifier and a file list creation unit for creating a list of the backup files are provided,
5. The data collection apparatus according to claim 4, wherein the measurement data recording unit reads the backup file based on the file list.
前記測定データ記録部は、前記ネットワークの通信が途絶したときに、前記記録データファイルの所定の位置に、測定データが欠損していることを示す欠損データを書き込むようにしたことを特徴とする請求項4若しくは請求項5記載のデータ収集装置。
The measurement data recording unit is configured to write missing data indicating that measurement data is missing at a predetermined position of the recording data file when communication of the network is interrupted. The data collection device according to claim 4 or 5.
JP2004343535A 2004-11-29 2004-11-29 Data collection method and apparatus Expired - Fee Related JP4433185B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004343535A JP4433185B2 (en) 2004-11-29 2004-11-29 Data collection method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004343535A JP4433185B2 (en) 2004-11-29 2004-11-29 Data collection method and apparatus

Publications (2)

Publication Number Publication Date
JP2006155135A true JP2006155135A (en) 2006-06-15
JP4433185B2 JP4433185B2 (en) 2010-03-17

Family

ID=36633372

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004343535A Expired - Fee Related JP4433185B2 (en) 2004-11-29 2004-11-29 Data collection method and apparatus

Country Status (1)

Country Link
JP (1) JP4433185B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019179005A (en) * 2018-03-30 2019-10-17 横河電機株式会社 Data acquisition system, input device, data acquisition device, and data synthesis device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019179005A (en) * 2018-03-30 2019-10-17 横河電機株式会社 Data acquisition system, input device, data acquisition device, and data synthesis device
US11513769B2 (en) 2018-03-30 2022-11-29 Yokosawa Electric Corporation Data acquisition system, input device, data acquisition apparatus, and data combining apparatus

Also Published As

Publication number Publication date
JP4433185B2 (en) 2010-03-17

Similar Documents

Publication Publication Date Title
CN105718570B (en) Data migration method and device for database
CN101576860B (en) Detection method and detection system of linux or windows operation system
JP2005301497A (en) Storage management system, restoration method and its program
JP2005128861A (en) Storage system of remote site and/or local site, and file reference method of remote site storage system
CN102033786A (en) Method for repairing consistency of copies in object storage system
CN107315659B (en) Metadata redundancy backup method and device
US8555012B2 (en) Data storage apparatus
US20070174353A1 (en) Method and apparatus to proactively capture and transmit dense diagnostic data of a file system
CN103838645B (en) Remote difference synthesis backup method based on Hash
CN103973727A (en) Data synchronizing method and device
US20140337301A1 (en) Big data extraction system and method
CN116501259A (en) Disk group dual-activity synchronization method and device, computer equipment and storage medium
CN117828132A (en) Database real-time log hybrid storage method and system
US20110078520A1 (en) Information processing apparatus, method of controlling information processing apparatus, and control program
US7010650B2 (en) Multiple data management method, computer and storage device therefor
JP2012014317A (en) Copying device, copying method, memory medium, and program
JP4433185B2 (en) Data collection method and apparatus
US7194675B2 (en) Backup method, backup system, disk controller and backup program
CN112530467A (en) Optical disk storage additional recording method and system
US20070271311A1 (en) Disk array device and data management method for managing master data and replication data replicated from master data
US8347051B2 (en) Storage apparatus, backup apparatus, and backup method
US8805156B2 (en) Recording control apparatus and recording control method
JP2012186787A (en) Storage medium adapter, information writing device and information writing system
US7587466B2 (en) Method and computer system for information notification
JP2005353046A (en) Recording medium, host device, and data processing method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070613

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090827

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090831

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20091021

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

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

R150 Certificate of patent or registration of utility model

Ref document number: 4433185

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

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130108

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20140108

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees