JP6371651B2 - Data recording system and method - Google Patents

Data recording system and method Download PDF

Info

Publication number
JP6371651B2
JP6371651B2 JP2014189778A JP2014189778A JP6371651B2 JP 6371651 B2 JP6371651 B2 JP 6371651B2 JP 2014189778 A JP2014189778 A JP 2014189778A JP 2014189778 A JP2014189778 A JP 2014189778A JP 6371651 B2 JP6371651 B2 JP 6371651B2
Authority
JP
Japan
Prior art keywords
data
log
recording device
recorded
measurement
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2014189778A
Other languages
Japanese (ja)
Other versions
JP2016062298A (en
Inventor
武志 楜澤
武志 楜澤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Azbil Corp
Original Assignee
Azbil 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 Azbil Corp filed Critical Azbil Corp
Priority to JP2014189778A priority Critical patent/JP6371651B2/en
Publication of JP2016062298A publication Critical patent/JP2016062298A/en
Application granted granted Critical
Publication of JP6371651B2 publication Critical patent/JP6371651B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Safety Devices In Control Systems (AREA)

Description

本発明は、データ管理技術に関し、特に収集した計測データを、当該計測データの計測対象ごとに一連のデータ系列として記録するデータ記録技術に関する。   The present invention relates to a data management technique, and more particularly to a data recording technique for recording collected measurement data as a series of data series for each measurement target of the measurement data.

工場、プラント、ビルなどの施設では、産業用のコントローラなどの制御装置を用いて各種のフィールド機器を遠隔制御する施設管理システムを導入することにより、施設の自動運転や監視を実現している。
このような施設管理システムでは、施設の監視やメンテナンスを行う際、各フィールド機器で計測された計測データの時系列変化を確認することが極めて有用であり、各種設備の動作不良や異常を早期に効率よく発見することができる。
In facilities such as factories, plants, and buildings, automatic operation and monitoring of facilities are realized by introducing a facility management system that remotely controls various field devices using a controller such as an industrial controller.
In such a facility management system, it is extremely useful to check the time-series changes of the measurement data measured by each field device when monitoring and maintaining the facility, and malfunctions and abnormalities of various facilities can be detected early. It can be discovered efficiently.

したがって、施設管理システムでは、施設の監視やメンテナンスのため、各フィールド機器で計測された計測データを制御装置やゲートウェイを介してデータ記録システムで逐次収集し、それぞれの計測対象ごとに一連のデータ系列として記録するものとなっている(例えば、特許文献1など参照)。これにより、管理端末からの閲覧要求に応じて、指定されたデータ系列の計測データを読み出して配信することにより、時系列のグラフや表を管理端末で画面表示することができる。   Therefore, in the facility management system, for the monitoring and maintenance of the facility, the measurement data measured by each field device is sequentially collected by the data recording system via the control device or gateway, and a series of data series for each measurement target. (See, for example, Patent Document 1). Thereby, in response to a browsing request from the management terminal, the measurement data of the designated data series is read and distributed, so that a time series graph or table can be displayed on the screen of the management terminal.

特開2003−067049号公報JP 2003-067049 A

このようなデータ記録システムでは、長期にわたり計測データを継続して記録することが求められる。このため、信頼性の観点から、データ記録システム内で障害が発生して測定データの記録が停止しないよう、データ記録機能を冗長化する構成が考えられる。
この際、例えばデータ記録機能を担うデータ記録装置を複数設けて冗長化し、施設管理システムからデータ収集装置で収集した計測データをこれらデータ記録装置へ並列的に配信し、各データ記録装置で受信した計測データをそれぞれの記憶部へ記録する構成が一般的である。
Such a data recording system is required to continuously record measurement data over a long period of time. For this reason, from the viewpoint of reliability, a configuration is considered in which the data recording function is made redundant so that the recording of measurement data does not stop due to a failure occurring in the data recording system.
At this time, for example, a plurality of data recording devices responsible for the data recording function are provided and made redundant, and the measurement data collected by the data collection device from the facility management system is distributed to these data recording devices in parallel and received by each data recording device. A configuration in which measurement data is recorded in each storage unit is common.

しかしながら、このような構成では、各データ記録装置が、それぞれデータ収集装置から受信した計測データを別個に記録することになるため、通信エラーなどの要因で記録内容が異なる可能性がある。したがって、互いの記録内容を照合するため、収集した計測データと並行して、これらデータ記録装置間で照合用データをやり取りする必要がある。このため、各データ記録装置の処理負担が増大するとともに、データ記録装置間を接続する通信回線上のトラヒックが増大し、本来の計測データの記録処理の遅延や障害の要因となるという問題点があった。   However, in such a configuration, each data recording device separately records the measurement data received from the data collection device, so that the recording contents may differ due to factors such as a communication error. Therefore, in order to collate the recorded contents with each other, it is necessary to exchange collation data between these data recording devices in parallel with the collected measurement data. For this reason, the processing load of each data recording device increases, and the traffic on the communication line connecting the data recording devices increases, which causes a delay or failure of the original measurement data recording processing. there were.

本発明はこのような課題を解決するためのものであり、各データ記録装置における記録内容を照合するため処理負担を削減できるデータ記録技術を提供することを目的としている。   An object of the present invention is to solve such a problem, and an object of the present invention is to provide a data recording technique capable of reducing a processing burden for collating recorded contents in each data recording apparatus.

このような目的を達成するために、本発明にかかるデータ記録システムは、施設管理システムで計測された各種計測データを収集するデータ収集装置と、前記データ収集装置から送信された前記計測データを自装置で記録する主データ記録装置と、前記主データ記録装置から送信された前記計測データを自装置で記録する副データ記録装置とを備え、前記主データ記録装置は、前記データ収集装置から送信された前記計測データを含む、当該計測データに関するログデータを生成し、当該ログデータの記録順に応じた新たなログ番号を当該ログデータに付与して自装置で記録するとともに、当該ログデータを前記副データ記録装置へ送信し、前記副データ記録装置は、前記主データ記録装置から送信された前記ログデータを自装置で記録するとともに、当該ログデータに含まれる計測データを自装置で記録し、前記主データ記録装置で障害が発生した際、前記データ収集装置から送信された前記計測データを含む、当該計測データに関するログデータを生成し、当該ログデータの記録順に応じた新たなログ番号を当該ログデータに付与して自装置で記録し、前記主データ記録装置からの補完要求に応じて当該補完要求で指定された記録済みログ番号以降のログ番号が付与されている前記ログデータを前記主データ記録装置へ返送し、前記主データ記録装置は、自装置での障害が復旧した際、当該障害以前に自装置で最後に記録したログデータのログ番号を前記記録済みログ番号として指定した前記補完要求を送信し、これに応じて当該副データ記録装置から返送された前記ログデータを自装置で記録するとともに、当該ログデータに含まれる計測データを記録することにより当該障害で未記録となった計測データを補完するようにしたものである。 In order to achieve such an object, a data recording system according to the present invention includes a data collection device that collects various measurement data measured by a facility management system, and the measurement data transmitted from the data collection device. A main data recording device for recording by the device, and a sub data recording device for recording the measurement data transmitted from the main data recording device by the own device , wherein the main data recording device is transmitted from the data collecting device. Log data related to the measurement data including the measurement data is generated, and a new log number corresponding to the recording order of the log data is assigned to the log data and recorded by the own device. The sub data recording device records the log data transmitted from the main data recording device by itself. Both log data related to the measurement data including the measurement data transmitted from the data collection device when a failure occurs in the main data recording device when the measurement data included in the log data is recorded by the own device. Generate and record a new log number corresponding to the recording order of the log data to the log data and record it by the own device, and recorded in the supplement request according to the supplement request from the main data recording device The log data to which the log number after the log number is assigned is returned to the main data recording device, and when the failure in the own device is recovered, the main data recording device is the last in the own device before the failure. The supplement request specifying the log number of the recorded log data as the recorded log number is transmitted, and the log data returned from the sub data recording device in response to the request is transmitted. The addition to recording by the own device, in which so as to complement the measurement data becomes unrecorded in the failure by recording the measurement data included in the log data.

また、本発明にかかる上記データ記録システムの一構成例は、前記データ収集装置が、前記計測データを前記主データ記録装置または前記副データ記録装置へ送信する際、当該計測データの送信順に応じたデータ番号を当該計測データに付与して送信するとともに、当該計測データを自装置で一時記憶しておき、前記主データ記録装置または前記副データ記録装置から送信要求を受信した場合、一時記憶している計測データのうちから、当該送信要求で指定された記録済みデータ番号以降のデータ番号が付与されている計測データを読み出して返送し、前記副データ記録装置は、前記主データ記録装置で障害が発生した際、自装置で最後に記録した前記計測データのデータ番号を記録済みデータ番号として指定した前記送信要求を前記データ収集装置へ送信し、前記主データ記録装置は、自装置での障害が復旧した際、自装置で最後に記録した前記計測データのデータ番号を記録済みデータ番号として指定した前記送信要求を前記データ収集装置へ送信するようにしたものである。 In addition, one configuration example of the data recording system according to the present invention corresponds to the transmission order of the measurement data when the data collection device transmits the measurement data to the main data recording device or the sub data recording device. The data number is assigned to the measurement data and transmitted, and the measurement data is temporarily stored in its own device. If a transmission request is received from the main data recording device or the sub data recording device, the data is temporarily stored. Among the measurement data, the measurement data to which the data number after the recorded data number specified in the transmission request is assigned is read and returned, and the sub data recording device has a failure in the main data recording device. When it occurs, the transmission request specifying the data number of the measurement data recorded last by the device as the recorded data number is sent to the data The main data recording device transmits the transmission request specifying the data number of the measurement data recorded last by the own device as a recorded data number when the failure of the own device is recovered. The data is transmitted to the collection device.

また、本発明にかかるデータ記録方法は、データ収集装置が、施設管理システムで計測された各種計測データを収集するデータ収集ステップと、主データ記録装置が、前記データ収集ステップで送信された前記計測データを自装置で記録する主データ記録ステップと、副データ記録装置が、前記主データ記録ステップで送信された前記計測データを自装置で記録する副データ記録ステップと、前記主データ記録装置が、前記データ収集装置から送信された前記計測データを含む、当該計測データに関するログデータを生成し、当該ログデータの記録順に応じた新たなログ番号を当該ログデータに付与して自装置で記録するとともに、当該ログデータを前記副データ記録装置へ送信するステップと、前記副データ記録装置が、前記主データ記録装置から送信された前記ログデータを自装置で記録するとともに、当該ログデータに含まれる計測データを自装置で記録するステップと、前記副データ記録装置が、前記主データ記録装置で障害が発生した際、前記データ収集装置から送信された前記計測データを含む、当該計測データに関するログデータを生成し、当該ログデータの記録順に応じた新たなログ番号を当該ログデータに付与して自装置で記録し、前記主データ記録装置からの補完要求に応じて当該補完要求で指定された記録済みログ番号以降のログ番号が付与されている前記ログデータを前記主データ記録装置へ返送するステップと、前記主データ記録装置が、自装置での障害が復旧した際、当該障害以前に自装置で最後に記録したログデータのログ番号を前記記録済みログ番号として指定した前記補完要求を送信し、これに応じて当該副データ記録装置から返送された前記ログデータを自装置で記録するとともに、当該ログデータに含まれる計測データを記録することにより当該障害で未記録となった計測データを補完するステップとを備えている。
また、本発明にかかる上記データ記録方法の一構成例は、前記データ収集装置が、前記計測データを前記主データ記録装置または前記副データ記録装置へ送信する際、当該計測データの送信順に応じたデータ番号を当該計測データに付与して送信するとともに、当該計測データを自装置で一時記憶しておき、前記主データ記録装置または前記副データ記録装置から送信要求を受信した場合、一時記憶している計測データのうちから、当該送信要求で指定された記録済みデータ番号以降のデータ番号が付与されている計測データを読み出して返送するステップと、前記副データ記録装置が、前記主データ記録装置で障害が発生した際、自装置で最後に記録した前記計測データのデータ番号を記録済みデータ番号として指定した前記送信要求を前記データ収集装置へ送信するステップと、前記主データ記録装置が、自装置での障害が復旧した際、自装置で最後に記録した前記計測データのデータ番号を記録済みデータ番号として指定した前記送信要求を前記データ収集装置へ送信するステップとをさらに備えるものである。
The data recording method according to the present invention includes a data collection step in which the data collection device collects various measurement data measured by the facility management system, and the main data recording device in the measurement collected in the data collection step. A main data recording step for recording data by the own device, a sub data recording device for recording the measurement data transmitted in the main data recording step by the own device, and the main data recording device, Generates log data related to the measurement data including the measurement data transmitted from the data collection device, assigns a new log number corresponding to the recording order of the log data to the log data, and records it on the own device Transmitting the log data to the sub data recording device, and the sub data recording device The log data transmitted from the device is recorded by the own device, the measurement data included in the log data is recorded by the own device, and the sub data recording device has a failure in the main data recording device. At this time, log data related to the measurement data including the measurement data transmitted from the data collection device is generated, and a new log number corresponding to the recording order of the log data is assigned to the log data and recorded by the own device. And returning the log data to which the log number after the recorded log number specified in the complement request is given in response to the complement request from the main data recording device to the main data recording device; When the main data recording device recovers from a failure in its own device, the log number of the log data last recorded in its own device before the failure is recorded in the recorded log. The failure request is made by recording the log data returned from the sub-data recording device in response to the supplement request specified as a signal and recording the measurement data included in the log data. And a step of complementing the measurement data that has not been recorded in step (b).
In addition, one configuration example of the data recording method according to the present invention corresponds to the transmission order of the measurement data when the data collection device transmits the measurement data to the main data recording device or the sub data recording device. The data number is assigned to the measurement data and transmitted, and the measurement data is temporarily stored in its own device. If a transmission request is received from the main data recording device or the sub data recording device, the data is temporarily stored. Reading out and returning the measurement data to which the data number after the recorded data number specified in the transmission request is given, and the sub data recording device is the main data recording device When a failure occurs, the transmission request specifying the data number of the measurement data last recorded by the own device as the recorded data number Transmitting to the data collection device, and when the main data recording device recovers from the failure in the own device, the transmission request specifying the data number of the measurement data recorded last in the own device as the recorded data number Transmitting to the data collection device.

本発明によれば、施設管理システムで計測された各種計測データは、データ収集装置から主データ記録装置へ、主データ記録装置から副データ記録装置へと、直列的に転送されてそれぞれで記録されることになる。したがって、副データ記録装置は、主データ記録装置に記録された計測データを受け取って自装置で記録するため、副データ記録装置で記録した内容は主データ記録装置の記録内容と一致していることになる。   According to the present invention, various measurement data measured by the facility management system are serially transferred from the data collection device to the main data recording device, and from the main data recording device to the sub data recording device, and recorded respectively. Will be. Therefore, since the sub data recording device receives the measurement data recorded in the main data recording device and records it in its own device, the content recorded by the sub data recording device must match the recording content of the main data recording device. become.

このため、計測データを記録した後、主データ記録装置と副データ記録装置との間で、別途、照合用データをやり取りして記録内容を照合する必要はない。これにより、結果として、記録内容を照合に起因した、各データ記録装置の処理負担増大や、データ記録装置間を接続する通信回線上のトラヒック増大を回避でき、本来の計測データの記録処理をスムーズに実行することが可能となり、信頼性および品質を向上させることができる。   For this reason, after recording measurement data, there is no need to separately exchange verification data between the main data recording device and the sub data recording device to verify the recorded contents. As a result, it is possible to avoid an increase in processing load on each data recording device and an increase in traffic on the communication line connecting the data recording devices due to collation of the recorded contents, and smooth the recording processing of the original measurement data. The reliability and quality can be improved.

データ記録システムの構成を示すブロック図である。It is a block diagram which shows the structure of a data recording system. 計測データの構成例である。It is a structural example of measurement data. データ記憶部における計測データの記憶例である。It is a memory | storage example of the measurement data in a data storage part. ログデータの構成例である。It is a structural example of log data. 正常時における計測データの記録動作を示すシーケンス図である。It is a sequence diagram which shows the recording operation | movement of the measurement data at the time of normal. 障害発生時における記録切替動作を示すシーケンス図である。FIG. 10 is a sequence diagram showing a recording switching operation when a failure occurs. 障害復旧時における記録切替動作を示すシーケンス図である。It is a sequence diagram which shows the recording switching operation at the time of failure recovery. データ記録システムの動作例(正常時−障害発生時)である。It is an example of operation | movement of a data recording system (at the time of normal-failure occurrence). データ記録システムの動作例(障害復旧時)である。It is an example of operation | movement (at the time of failure recovery) of a data recording system.

次に、本発明の一実施の形態について図面を参照して説明する。
[データ記録システム]
まず、図1を参照して、本発明の一実施の形態にかかるデータ記録システム1について説明する。図1は、データ記録システムの構成を示すブロック図である。
Next, an embodiment of the present invention will be described with reference to the drawings.
[Data recording system]
First, a data recording system 1 according to an embodiment of the present invention will be described with reference to FIG. FIG. 1 is a block diagram showing the configuration of the data recording system.

このデータ記録システム1は、全体としてサーバ装置などの情報処理装置を複数備え、施設管理システム5から各種計測データを収集し、計測対象ごとに一連のデータ系列として記録する機能と、管理端末40からの閲覧要求に応じて、指定されたデータ系列計測データを配信することにより、時系列のグラフや表を管理端末40で画面表示する機能とを有している。   The data recording system 1 includes a plurality of information processing devices such as a server device as a whole, collects various measurement data from the facility management system 5 and records them as a series of data series for each measurement target. In response to the browsing request, the designated data series measurement data is distributed to display a time series graph or table on the management terminal 40 on the screen.

施設管理システム5は、工場、プラント、ビルなどの施設において、産業用コントローラなどの制御装置51を用いて、その配下に接続されている各種のフィールド機器52を遠隔制御することにより、施設の自動運転や監視を行うシステムである。
データ収集装置53は、下位通信回線L5を介して各制御装置51とデータ通信を行うことにより、制御装置51がフィールド機器52から取得した計測データを収集する機能を有している。
The facility management system 5 uses a control device 51 such as an industrial controller in a facility such as a factory, plant, or building to remotely control various field devices 52 connected to the facility, thereby automatically controlling the facility. It is a system that operates and monitors.
The data collection device 53 has a function of collecting measurement data acquired from the field device 52 by the control device 51 by performing data communication with each control device 51 via the lower communication line L5.

ゲートウェイGWは、データ記録システム1や管理端末40が接続されている上位通信回線L1と下位通信回線L5とを相互に中継接続する機能を有している。データ記録システム1は、このゲートウェイGWを介して施設管理システム5のデータ収集装置53や制御装置51から各種計測データを収集する。   The gateway GW has a function of relaying and connecting the upper communication line L1 and the lower communication line L5 to which the data recording system 1 and the management terminal 40 are connected. The data recording system 1 collects various measurement data from the data collection device 53 and the control device 51 of the facility management system 5 via the gateway GW.

[本実施の形態の構成]
次に、図1を参照して、本実施の形態にかかるデータ記録システム1の構成について詳細に説明する。
データ記録システム1には、主な装置として、主データ記録装置10、副データ記録装置20、およびデータ収集装置30が設けられている。これらは上位通信回線L1に接続されており、各種のデータやメッセージを相互にやり取りすることができる。
[Configuration of the embodiment]
Next, the configuration of the data recording system 1 according to the present embodiment will be described in detail with reference to FIG.
The data recording system 1 includes a main data recording device 10, a sub data recording device 20, and a data collection device 30 as main devices. These are connected to the upper communication line L1 and can exchange various data and messages with each other.

本発明は、データ収集装置30により施設管理システム5から計測データを順次収集し、主データ記録装置10がデータ収集装置30から送信された計測データを自装置で記録し、副データ記録装置20が主データ記録装置10から送信された計測データを自装置で記録することにより、データ収集装置30から主データ記録装置10へ、主データ記録装置10から副データ記録装置20へと、直列的に計測データを転送してそれぞれ記録するようにしたものである。   In the present invention, measurement data is sequentially collected from the facility management system 5 by the data collection device 30, the main data recording device 10 records the measurement data transmitted from the data collection device 30, and the sub data recording device 20 By recording the measurement data transmitted from the main data recording device 10 by itself, the measurement is performed in series from the data collecting device 30 to the main data recording device 10 and from the main data recording device 10 to the sub data recording device 20. Data is transferred and recorded respectively.

また、主データ記録装置10で障害が発生した場合には、データ収集装置30から送信された計測データを副データ記録装置20が自装置で記録しておき、主データ記録装置10での障害復旧に応じて、障害発生期間に副データ記録装置20で記録しておいた計測データを主データ記録装置10が受け取って補完するようにしたものである。   Further, when a failure occurs in the main data recording device 10, the sub data recording device 20 records the measurement data transmitted from the data collecting device 30 by itself, and the failure recovery in the main data recording device 10 is performed. Accordingly, the main data recording device 10 receives and supplements the measurement data recorded by the sub data recording device 20 during the failure occurrence period.

この際、データ収集装置30は、主データ記録装置10または副データ記録装置20からの送信要求に応じて、要求元である主データ記録装置10または副データ記録装置20のいずれか一方へ、新たに収集した計測データの送信を開始するものとし、副データ記録装置20は、主データ記録装置10で障害が発生した際、送信要求をデータ収集装置30へ送信して当該データ収集装置30から送信されてくる計測データの記録を開始するようにしたものである。   At this time, in response to a transmission request from the main data recording device 10 or the sub data recording device 20, the data collection device 30 newly adds to either the main data recording device 10 or the sub data recording device 20 that is the request source. The sub data recording device 20 transmits a transmission request to the data collecting device 30 and transmits it from the data collecting device 30 when a failure occurs in the main data recording device 10. Recording of incoming measurement data is started.

また、副データ記録装置20は、主データ記録装置10からの補完要求に応じて主データ記録装置10での障害発生後に自装置で記録した計測データを主データ記録装置10へ返送し、主データ記録装置10は、自装置での障害が復旧した際、補完要求を副データ記録装置20へ送信し、これに応じて副データ記録装置20から返送された計測データを自装置で記録することにより当該障害で未記録となった計測データを補完し、送信要求をデータ収集装置30へ送信してそれ以降にデータ収集装置30から送信されてくる計測データの記録を再開するようにしたものである。   Further, the sub data recording device 20 returns the measurement data recorded by the own device after the occurrence of the failure in the main data recording device 10 in response to the complement request from the main data recording device 10 to the main data recording device 10. When the failure of the own device is recovered, the recording device 10 transmits a complement request to the secondary data recording device 20, and records the measurement data returned from the secondary data recording device 20 in response to the request. The measurement data that has not been recorded due to the failure is complemented, a transmission request is transmitted to the data collection device 30, and recording of measurement data transmitted from the data collection device 30 thereafter is resumed. .

[主データ記録装置]
主データ記録装置10には、主な機能部として、データ管理部(主データ管理部)11、データ記憶部(主データ記憶部)12、およびログ記憶部(主ログ記憶部)13が設けられている。これら機能部のうち、データ管理部11は、CPUおよびその周辺回路を有し、CPUでプログラムを実行することにより各種処理を行う演算処理部から構成されている。また、データ記憶部12およびログ記憶部13は、ハードディスクや半導体メモリなどの記憶装置から構成されている。
[Main data recording device]
The main data recording device 10 includes a data management unit (main data management unit) 11, a data storage unit (main data storage unit) 12, and a log storage unit (main log storage unit) 13 as main functional units. ing. Among these functional units, the data management unit 11 includes a CPU and its peripheral circuits, and includes an arithmetic processing unit that performs various processes by executing programs on the CPU. Further, the data storage unit 12 and the log storage unit 13 are configured by a storage device such as a hard disk or a semiconductor memory.

データ管理部11は、データ収集装置30から計測データを受信する機能と、受信した計測データをデータ系列ごとにデータ記憶部12へ記録する機能と、記録したこれら計測データとこれら計測データの主データ記録装置10に対する送信順に応じたデータ番号とを含むログデータを生成し、このログデータに当該ログデータの記録順に応じたログ番号を付与してログ記憶部13へ記録する機能と、記録したログデータを副データ記録装置20へ送信する機能と、管理端末40からの閲覧要求に応じて、指定されたデータ系列の計測データをデータ記憶部12から読み出して管理端末40へ配信することにより、時系列のグラフや表を管理端末40で画面表示する機能とを有している。   The data management unit 11 has a function of receiving measurement data from the data collection device 30, a function of recording the received measurement data in the data storage unit 12 for each data series, these recorded measurement data, and main data of these measurement data A function of generating log data including data numbers corresponding to the order of transmission to the recording device 10, assigning log numbers corresponding to the recording order of the log data to the log data, and recording the log data in the log storage unit 13; In response to the function of transmitting data to the sub data recording device 20 and the browsing request from the management terminal 40, the measurement data of the designated data series is read from the data storage unit 12 and distributed to the management terminal 40, so that It has a function of displaying a series graph or table on the management terminal 40.

また、データ管理部11は、自装置で発生した障害の復旧時に関する機能として、ログ記憶部13に最後に記録したログデータに付与されているログ番号を記録済みログ番号として指定した、当該障害の発生期間に収集された未記録計測データの補完を要求する補完要求を副データ記録装置20へ送信する機能と、この補完要求に応じて副データ記録装置20から返送されたログデータを受信してログ記憶部13に記録する機能と、受信したログデータに含まれている計測データをデータ記憶部12に記録することにより、障害発生期間に記録できなかった計測データを補完する機能とを有している。   In addition, the data management unit 11 designates the log number assigned to the log data last recorded in the log storage unit 13 as the recorded log number as a function related to the recovery of the failure that occurred in the own device. The function of transmitting a complement request for requesting complement of unrecorded measurement data collected during the occurrence period to the secondary data recording device 20 and the log data returned from the secondary data recording device 20 in response to the complement request are received. A function for recording in the log storage unit 13 and a function for complementing the measurement data that could not be recorded during the failure occurrence period by recording the measurement data included in the received log data in the data storage unit 12. doing.

さらに、データ管理部11は、補完したこれら計測データのうちデータ記憶部12に対して最後に記録した計測データに付与されていたデータ番号を記録済みデータ番号として指定した送信要求をデータ収集装置30へ送信する機能と、この送信要求に応じてデータ収集装置30から返送された計測データを受信してデータ記憶部12に記録する機能と、これら計測データから生成したログデータにログ番号を付与してログ記憶部13へ記録する機能と、記録したログデータを副データ記録装置20へ送信する機能とを有している。   Further, the data management unit 11 sends a transmission request specifying the data number assigned to the measurement data last recorded in the data storage unit 12 among the supplemented measurement data as the recorded data number. A function of transmitting to the data storage unit 12, a function of receiving the measurement data returned from the data collection device 30 in response to the transmission request and recording it in the data storage unit 12, and assigning a log number to the log data generated from the measurement data A log recording unit 13 and a function of transmitting the recorded log data to the sub data recording device 20.

データ記憶部12は、データ管理部11から入力された計測データをデータ系列ごとに記憶する機能を有している。
図2は、計測データの構成例である。計測データは、データ系列を識別するためのデータ系列ID、計測データを計測した日時を示すタイムスタンプ、および計測値が含まれており、主データ記録装置10に対する送信順に応じたデータ番号がデータ収集装置30により付与されている。このデータ番号は、主データ記録装置10や副データ記録装置20がデータ収集装置30に対して、記録できなかった計測データの送信を要求する際に、記録済みの計測データを示す記録済みデータ番号として用いられる。
The data storage unit 12 has a function of storing the measurement data input from the data management unit 11 for each data series.
FIG. 2 is a configuration example of measurement data. The measurement data includes a data series ID for identifying the data series, a time stamp indicating the date and time when the measurement data was measured, and a measurement value. The data number corresponding to the order of transmission to the main data recording device 10 is data collection. Provided by the device 30. This data number is a recorded data number indicating recorded measurement data when the main data recording device 10 or the sub data recording device 20 requests the data collection device 30 to transmit measurement data that could not be recorded. Used as

図3は、データ記憶部における計測データの記憶例である。各計測データは、データ記憶部12内において、データ系列ごとに時系列で記憶されている。
本発明において、データ系列とは、同一のフィールド機器52で計測された同一計測対象に関する計測データ列を指し、このデータ系列ごとに計測データが記録される。施設管理システム5では、一般に、制御装置51がフィールド機器52を制御・管理するための対象となる個々のインターフェースに、それぞれ固有のポイントアドレスを有する管理ポイントを割り当てており、施設の監視やメンテナンスを行う際には、管理ポイントごとに計測データを時系列で確認することになる。したがって、データ系列IDとして、ポイントアドレスを用いてもよい。
FIG. 3 is a storage example of measurement data in the data storage unit. Each measurement data is stored in time series for each data series in the data storage unit 12.
In the present invention, the data series refers to a measurement data string related to the same measurement object measured by the same field device 52, and measurement data is recorded for each data series. In the facility management system 5, in general, a management point having a unique point address is assigned to each interface to which the control device 51 controls and manages the field device 52, and monitoring and maintenance of the facility is performed. When performing, the measurement data is confirmed in time series for each management point. Therefore, a point address may be used as the data series ID.

ログ記憶部13は、ハードディスクや半導体メモリなどの記憶装置からなり、データ管理部11から入力されたログデータを記憶する機能を有している。
図4は、ログデータの構成例である。ここでは、データ管理部11がデータ記憶部12に一括して記録した複数の計測データとそれぞれのデータ番号とが、1つのログデータとして記録されるとともに、ログデータに対して当該ログデータの記録順に応じた各ログデータに固有のログ番号がデータ管理部11により付与されている。
The log storage unit 13 includes a storage device such as a hard disk or a semiconductor memory, and has a function of storing log data input from the data management unit 11.
FIG. 4 is a configuration example of log data. Here, a plurality of measurement data and the respective data numbers that are collectively recorded in the data storage unit 12 by the data management unit 11 are recorded as one log data, and the log data is recorded with respect to the log data. A log number unique to each log data according to the order is given by the data management unit 11.

データ収集装置30では、一定の収集間隔で施設管理システム5から各種計測データを収集しているため、その収集間隔の間に計測された複数の計測データが一括して収集されて主データ記録装置10に送信される。したがって、データ管理部11は、これら複数の計測データを1つのログデータにまとめて計測データの記録処理を示す履歴としてログ記憶部13へ記録する。   Since the data collection device 30 collects various measurement data from the facility management system 5 at a fixed collection interval, a plurality of measurement data measured during the collection interval is collected in a lump and the main data recording device 10 is transmitted. Therefore, the data management unit 11 collects the plurality of measurement data into one log data and records it in the log storage unit 13 as a history indicating measurement data recording processing.

この際、データ管理部11では、個々のログデータに対して、ログデータの記録順に応じた各ログデータに固有のログ番号を付与してログ記憶部13へ記録する。このログ番号は、主データ記録装置10または副データ記録装置20が、副データ記録装置20または主データ記録装置10に対して、記録できなかったログデータの送信を要求する際に、記録済みのログデータを示す記録済みログ番号として用いられる。   At this time, the data management unit 11 assigns a unique log number to each log data corresponding to the log data recording order and records the log data in the log storage unit 13. This log number is recorded when the main data recording device 10 or the sub data recording device 20 requests the sub data recording device 20 or the main data recording device 10 to transmit log data that could not be recorded. Used as a recorded log number indicating log data.

[副データ記録装置]
副データ記録装置20には、主な機能部として、データ管理部(副データ管理部)21、データ記憶部(副データ記憶部)22、およびログ記憶部(副ログ記憶部)23が設けられている。これら機能部のうち、データ管理部21は、CPUおよびその周辺回路を有し、CPUでプログラムを実行することにより各種処理を行う演算処理部から構成されている。また、データ記憶部22およびログ記憶部23は、ハードディスクや半導体メモリなどの記憶装置から構成されている。なお、データ記憶部22およびログ記憶部23については、データ記憶部12およびログ記憶部13と同様であり、ここでの詳細な説明は省略する。
[Sub data recording device]
The sub data recording device 20 includes a data management unit (sub data management unit) 21, a data storage unit (sub data storage unit) 22, and a log storage unit (sub log storage unit) 23 as main functional units. ing. Among these functional units, the data management unit 21 includes a CPU and its peripheral circuits, and includes an arithmetic processing unit that performs various processes by executing programs on the CPU. Further, the data storage unit 22 and the log storage unit 23 are constituted by a storage device such as a hard disk or a semiconductor memory. Note that the data storage unit 22 and the log storage unit 23 are the same as the data storage unit 12 and the log storage unit 13, and a detailed description thereof is omitted here.

データ管理部21は、主データ記録装置10からログデータを受信する機能と、受信したログデータを、当該ログデータに付与されているログ番号とともにログ記憶部23へ記録する機能と、受信したログデータに含まれる計測データをデータ系列ごとにデータ記憶部22へ記録する機能とを有している。   The data management unit 21 has a function of receiving log data from the main data recording device 10, a function of recording the received log data in the log storage unit 23 together with a log number assigned to the log data, and a received log It has a function of recording measurement data included in the data into the data storage unit 22 for each data series.

また、データ管理部21は、主データ記録装置10で障害が発生した際、データ記憶部22に対して最後に記録した計測データに付与されていたデータ番号を記録済みデータ番号として指定した送信要求をデータ収集装置30へ送信する機能と、これに応じてデータ収集装置30から送信される計測データを受信してデータ記憶部22へ記録する処理を開始する機能と、主データ記録装置10から送信された補完要求に応じて、当該補完要求で指定された記録済みログ番号以降のログ番号が付与されているログデータをログ記憶部23から読み出して主データ記録装置10へ返送する機能とを有している。   In addition, when a failure occurs in the main data recording device 10, the data management unit 21 sends a transmission request that designates the data number assigned to the measurement data last recorded in the data storage unit 22 as the recorded data number. Is transmitted to the data collection device 30, a function for starting measurement processing received from the data collection device 30 and recording it in the data storage unit 22, and transmission from the main data recording device 10. In response to the completion request, the log data having a log number after the recorded log number specified in the completion request is read from the log storage unit 23 and returned to the main data recording device 10. doing.

また、データ管理部21は、自装置で発生した障害の復旧時に関する機能として、ログ記憶部23に最後に記録したログデータに付与されているログ番号を記録済みログ番号として指定した、当該障害の発生期間に収集された未記録計測データの補完を要求する補完要求を主データ記録装置10へ送信する機能と、この補完要求に応じて主データ記録装置10から返送されたログデータを受信してログ記憶部23に記録する機能と、受信したログデータに含まれている計測データをデータ記憶部22に記録することにより、障害発生期間に記録できなかった計測データを補完する機能とを有している。   In addition, the data management unit 21 designates the log number assigned to the log data last recorded in the log storage unit 23 as the recorded log number as a function related to the recovery of the failure that occurred in its own device. The function of transmitting a complement request for requesting complement of unrecorded measurement data collected during the occurrence period to the main data recording device 10 and the log data returned from the main data recording device 10 in response to the complement request are received. A function for recording in the log storage unit 23 and a function for complementing the measurement data that could not be recorded during the failure occurrence period by recording the measurement data included in the received log data in the data storage unit 22. doing.

[データ収集装置]
データ収集装置30には、主な機能部として、データ収集部31および一時記憶部32が設けられている。これら機能部のうち、データ収集部31は、CPUおよびその周辺回路を有し、CPUでプログラムを実行することにより各種処理を行う演算処理部から構成されている。また、一時記憶部32は、ハードディスクや半導体メモリなどの記憶装置から構成されている。
[Data collection device]
The data collection device 30 is provided with a data collection unit 31 and a temporary storage unit 32 as main functional units. Among these functional units, the data collection unit 31 includes a CPU and its peripheral circuits, and is configured from an arithmetic processing unit that performs various processes by executing programs on the CPU. The temporary storage unit 32 includes a storage device such as a hard disk or a semiconductor memory.

データ収集部31は、施設管理システム5で計測された各種計測データを、ゲートウェイGWおよび上位通信回線L1を介して収集する機能と、収集した計測データに当該計測データの送信順(収集順)に応じたデータ番号を付与して主データ記録装置10に送信する機能と、収集した計測データをデータ番号とともに一時記憶部32へ記録する機能と、主データ記録装置10または副データ記録装置20から送信された送信要求に応じて、要求した主データ記録装置10または副データ記録装置20へ計測データの送信先を切り替える機能と、当該送信要求で指定された記録済みデータ番号以降のデータ番号が付与されている計測データを一時記憶部32から読み出して返送する機能とを有している。   The data collection unit 31 has a function of collecting various measurement data measured by the facility management system 5 via the gateway GW and the upper communication line L1, and the collected measurement data in the order of transmission of the measurement data (collection order). A function of assigning a corresponding data number and transmitting it to the main data recording device 10, a function of recording the collected measurement data together with the data number in the temporary storage unit 32, and transmission from the main data recording device 10 or the sub data recording device 20 In response to the requested transmission, a function for switching the transmission destination of the measurement data to the requested main data recording device 10 or sub data recording device 20 and a data number after the recorded data number specified in the transmission request are given. A function of reading out the measured data from the temporary storage unit 32 and returning it.

一時記憶部32は、データ収集部31から入力された計測データをデータ番号とともに一時記憶する機能と、計測データが記憶容量を超えた場合、最も過去に記録した計測データに対して新たに収集した計測データを上書きする機能とを有している。なお、一時記憶部32における計測データの記憶例については、前述した図2と同様であり、各計測データに対して、それぞれの送信順に応じたデータ番号が付与されて記憶されている。   The temporary storage unit 32 has a function of temporarily storing the measurement data input from the data collection unit 31 together with the data number, and when the measurement data exceeds the storage capacity, the temporary storage unit 32 newly collects the most recently recorded measurement data. It has a function to overwrite measurement data. The storage example of the measurement data in the temporary storage unit 32 is the same as in FIG. 2 described above, and each measurement data is stored with a data number according to the transmission order.

[本実施の形態の動作]
次に、図面を参照して、本実施の形態にかかるデータ記録システム1の動作について説明する。
[Operation of this embodiment]
Next, the operation of the data recording system 1 according to the present embodiment will be described with reference to the drawings.

[正常動作時]
まず、図5を参照して、正常時における計測データの記録動作について説明する。図5は、正常時における計測データの記録動作を示すシーケンス図である。ここでは、主データ記録装置10および副データ記録装置20がともに正常に動作しており、データ収集装置30からの計測データの送信先は主データ記録装置10に切り替えられているものとする。
[Normal operation]
First, with reference to FIG. 5, the measurement data recording operation in the normal state will be described. FIG. 5 is a sequence diagram showing a recording operation of measurement data at a normal time. Here, it is assumed that both the main data recording device 10 and the sub data recording device 20 are operating normally, and the transmission destination of the measurement data from the data collection device 30 is switched to the main data recording device 10.

まず、データ収集装置30のデータ収集部31は、施設管理システム5で計測された各種計測データを、ゲートウェイGWおよび上位通信回線L1を介して収集し(ステップ100)、送信順に応じたデータ番号を付与して一時記憶部32に記録するとともに(ステップ101)、上位通信回線L1を介して主データ記録装置10へ送信する(ステップ102)。   First, the data collection unit 31 of the data collection device 30 collects various measurement data measured by the facility management system 5 via the gateway GW and the upper communication line L1 (step 100), and sets the data numbers according to the transmission order. The data is assigned and recorded in the temporary storage unit 32 (step 101), and is transmitted to the main data recording device 10 via the host communication line L1 (step 102).

主データ記録装置10のデータ管理部11は、データ収集装置30から受信した計測データを、データ系列ごとにデータ記憶部12へ記録し(ステップ103)、記録した計測データとデータ番号とを含むログデータを生成し、このログデータに当該ログデータの記録順に応じたログ番号を付与してログ記憶部13へ記録する(ステップ104)。
この後、データ管理部11は、記録したログデータをログ番号とともに上位通信回線L1を介して副データ記録装置20へ送信する(ステップ105)。
The data management unit 11 of the main data recording device 10 records the measurement data received from the data collection device 30 in the data storage unit 12 for each data series (step 103), and includes a log including the recorded measurement data and data number Data is generated, and a log number corresponding to the recording order of the log data is assigned to the log data and recorded in the log storage unit 13 (step 104).
Thereafter, the data management unit 11 transmits the recorded log data together with the log number to the sub data recording device 20 via the upper communication line L1 (step 105).

副データ記録装置20のデータ管理部21は、主データ記録装置10から受信したログデータを、当該ログ番号とともにログ記憶部23へ記録するとともに(ステップ106)、当該ログデータに含まれている計測データをデータ系列ごとにデータ記憶部22へ記録する(ステップ107)。   The data management unit 21 of the sub data recording device 20 records the log data received from the main data recording device 10 together with the log number in the log storage unit 23 (step 106), and the measurement included in the log data. Data is recorded in the data storage unit 22 for each data series (step 107).

これにより、主データ記録装置10および副データ記録装置20が正常動作している場合、データ収集装置30により施設管理システム5から計測データが順次収集されて、データ収集装置30から送信された計測データが主データ記録装置10で記録され、主データ記録装置10から送信された計測データが副データ記録装置20で記録される。したがって、データ収集装置30で収集された計測データが、データ収集装置30から主データ記録装置10へ、主データ記録装置10から副データ記録装置20へと、直列的に計測データが転送されてそれぞれ記録される。   Thereby, when the main data recording device 10 and the sub data recording device 20 are operating normally, the measurement data is sequentially collected from the facility management system 5 by the data collection device 30 and transmitted from the data collection device 30. Is recorded by the main data recording device 10 and the measurement data transmitted from the main data recording device 10 is recorded by the sub data recording device 20. Therefore, the measurement data collected by the data collection device 30 is transferred in series from the data collection device 30 to the main data recording device 10 and from the main data recording device 10 to the sub data recording device 20, respectively. To be recorded.

[障害発生時]
次に、図6を参照して、主データ記録装置10での障害発生時における記録切替動作について説明する。図6は、障害発生時における記録切替動作を示すシーケンス図である。
[When an error occurs]
Next, a recording switching operation when a failure occurs in the main data recording apparatus 10 will be described with reference to FIG. FIG. 6 is a sequence diagram showing a recording switching operation when a failure occurs.

まず、主データ記録装置10で障害が発生した場合(ステップ110)、副データ記録装置20のデータ管理部21は、故障発生確認に応じて(ステップ111)、データ記憶部22に対して最後に記録した計測データに付与されていたデータ番号を記録済みデータ番号として指定した送信要求を、上位通信回線L1を介してデータ収集装置30へ送信する(ステップ112)。   First, when a failure occurs in the main data recording device 10 (step 110), the data management unit 21 of the sub data recording device 20 finally checks the data storage unit 22 in response to the failure occurrence confirmation (step 111). A transmission request in which the data number assigned to the recorded measurement data is designated as the recorded data number is transmitted to the data collection device 30 via the upper communication line L1 (step 112).

この際、故障発生確認については、管理端末40からの指示や副データ記録装置20での操作入力に応じて、データ管理部21が主データ記録装置10での故障発生を確認すればよい。なお、データ管理部21が、主データ記録装置10から送信されるログデータやメッセージの間隔を監視し、一定時間以上届かなかった時点で、主データ記録装置10での故障発生を確認するようにしてもよい。   At this time, regarding the failure occurrence confirmation, the data management unit 21 may confirm the failure occurrence in the main data recording device 10 in accordance with an instruction from the management terminal 40 or an operation input in the sub data recording device 20. The data management unit 21 monitors the interval between log data and messages transmitted from the main data recording device 10 and confirms that a failure has occurred in the main data recording device 10 when it has not arrived for a certain time. May be.

データ収集装置30のデータ収集部31は、副データ記録装置20から送信された送信要求に応じて、当該送信要求で指定された記録済みデータ番号以降のデータ番号が付与されている計測データの有無を一時記憶部32で確認し(ステップ113)、該当する計測データが存在する場合には、これら計測データを補完計測データとして副データ記録装置20へ返送する(ステップ114)。また、データ収集部31は、副データ記録装置20からの送信要求に応じて、以降に収集した計測データの送信先を主データ記録装置10から副データ記録装置20へ切り替える(ステップ115)。   In response to the transmission request transmitted from the sub data recording device 20, the data collection unit 31 of the data collection device 30 determines whether there is measurement data to which a data number after the recorded data number specified in the transmission request is assigned. Is confirmed in the temporary storage unit 32 (step 113), and when the corresponding measurement data exists, these measurement data are returned to the sub data recording device 20 as complementary measurement data (step 114). Further, the data collection unit 31 switches the transmission destination of the measurement data collected thereafter from the main data recording device 10 to the sub data recording device 20 in response to a transmission request from the sub data recording device 20 (step 115).

副データ記録装置20のデータ管理部21は、送信要求に応じてデータ収集装置30から補完計測データを、データ系列ごとにデータ記憶部22へ記録し(ステップ116)、記録した補完計測データとデータ番号とを含むログデータを生成し、このログデータに当該ログデータの記録順に応じたログ番号を付与してログ記憶部23へ記録する(ステップ117)。   In response to the transmission request, the data management unit 21 of the sub data recording device 20 records the complementary measurement data from the data collection device 30 to the data storage unit 22 for each data series (step 116), and the recorded complementary measurement data and data Log data including a number is generated, and a log number corresponding to the recording order of the log data is assigned to the log data and recorded in the log storage unit 23 (step 117).

したがって、この後、データ収集装置30のデータ収集部31は、施設管理システム5で計測された各種計測データを、ゲートウェイGWおよび上位通信回線L1を介して収集し(ステップ120)、送信順に応じたデータ番号を付与して一時記憶部32に記録するとともに(ステップ121)、上位通信回線L1を介して副データ記録装置20へ送信する(ステップ122)。   Therefore, thereafter, the data collection unit 31 of the data collection device 30 collects various measurement data measured by the facility management system 5 via the gateway GW and the upper communication line L1 (step 120), and corresponds to the transmission order. The data number is assigned and recorded in the temporary storage unit 32 (step 121), and transmitted to the sub data recording device 20 via the upper communication line L1 (step 122).

副データ記録装置20のデータ管理部21は、データ収集装置30から受信した計測データを、データ系列ごとにデータ記憶部22へ記録し(ステップ123)、記録した計測データとデータ番号とを含むログデータを生成し、このログデータに当該ログデータの記録順に応じたログ番号を付与してログ記憶部23へ記録する(ステップ124)。   The data management unit 21 of the sub data recording device 20 records the measurement data received from the data collection device 30 in the data storage unit 22 for each data series (step 123), and includes a log including the recorded measurement data and data number. Data is generated, and a log number corresponding to the recording order of the log data is assigned to the log data and recorded in the log storage unit 23 (step 124).

これにより、主データ記録装置10で障害が発生した場合には、副データ記録装置20からの送信要求に応じて、データ収集装置30から送信する計測データの送信先が、主データ記録装置10から副データ記録装置20へ切り替えられ、障害発生期間中にデータ収集装置30で収集された計測データについては、副データ記録装置20に送信されて記録されることになる。   Thereby, when a failure occurs in the main data recording apparatus 10, the transmission destination of the measurement data transmitted from the data collection apparatus 30 is sent from the main data recording apparatus 10 in response to the transmission request from the sub data recording apparatus 20. The measurement data collected by the data collection device 30 during the failure occurrence period is switched to the secondary data recording device 20 and transmitted to the secondary data recording device 20 for recording.

[障害復旧時]
次に、図7を参照して、主データ記録装置10での障害復旧時における記録切替動作について説明する。図7は、障害復旧時における記録切替動作を示すシーケンス図である。
[When recovering from a failure]
Next, with reference to FIG. 7, the recording switching operation at the time of failure recovery in the main data recording apparatus 10 will be described. FIG. 7 is a sequence diagram showing a recording switching operation at the time of failure recovery.

主データ記録装置10のデータ管理部11は、自装置での障害復旧に応じて(ステップ130)、ログ記憶部13に最後に記録したログデータに付与されているログ番号を記録済みログ番号として指定した補完要求を、上位通信回線L1を介して副データ記録装置20へ送信する(ステップ131)。   The data management unit 11 of the main data recording device 10 uses the log number assigned to the log data last recorded in the log storage unit 13 as the recorded log number in response to the failure recovery in the own device (step 130). The designated complement request is transmitted to the sub data recording device 20 via the higher-order communication line L1 (step 131).

副データ記録装置20のデータ管理部21は、主データ記録装置10からの補完要求に応じて、当該補完要求で指定された記録済みログ番号以降のログ番号が付与されているログデータの有無をログ記憶部23で確認し(ステップ132)、該当するログデータが存在する場合には、これらログデータを補完ログデータとして主データ記録装置10へ返送する(ステップ133)。   In response to a complement request from the main data recording device 10, the data management unit 21 of the secondary data recording device 20 determines whether there is log data to which a log number after the recorded log number specified in the complement request is assigned. Confirmation is made in the log storage unit 23 (step 132). If the corresponding log data exists, these log data are returned to the main data recording apparatus 10 as complementary log data (step 133).

主データ記録装置10のデータ管理部11は、副データ記録装置20から返送された補完ログデータをログ記憶部13に記録するとともに(ステップ134)、これら補完ログデータに含まれている計測データを、データ系列ごとにデータ記憶部12へ記録する(ステップ135)。   The data management unit 11 of the main data recording device 10 records the complementary log data returned from the sub data recording device 20 in the log storage unit 13 (step 134), and the measurement data included in these complementary log data. Each data series is recorded in the data storage unit 12 (step 135).

この後、データ管理部11は、データ記憶部12に対して最後に記録した計測データに付与されているデータ番号を記録済みデータ番号として指定した送信要求を、上位通信回線L1を介してデータ収集装置30へ送信する(ステップ140)。   Thereafter, the data management unit 11 collects the transmission request specifying the data number assigned to the measurement data recorded last in the data storage unit 12 as the recorded data number via the upper communication line L1. It transmits to the apparatus 30 (step 140).

データ収集装置30のデータ収集部31は、主データ記録装置10から送信された送信要求に応じて、当該送信要求で指定された記録済みデータ番号以降のデータ番号が付与されている計測データの有無を一時記憶部32で確認し(ステップ141)、該当する計測データが存在する場合には、これら計測データを補完計測データとして主データ記録装置10へ返送する(ステップ142)。また、データ収集部31は、主データ記録装置10からの送信要求に応じて、以降に収集した計測データの送信先をデータ記録装置20から副主データ記録装置10へ切り替える(ステップ143)。   In response to the transmission request transmitted from the main data recording device 10, the data collection unit 31 of the data collection device 30 has the presence or absence of measurement data to which a data number after the recorded data number specified in the transmission request is assigned. Is confirmed in the temporary storage unit 32 (step 141), and if the corresponding measurement data exists, these measurement data are returned to the main data recording apparatus 10 as complementary measurement data (step 142). Further, in response to a transmission request from the main data recording device 10, the data collection unit 31 switches the transmission destination of the measurement data collected thereafter from the data recording device 20 to the sub main data recording device 10 (step 143).

主データ記録装置10のデータ管理部11は、送信要求に応じてデータ収集装置30から返送された補完計測データを、データ系列ごとにデータ記憶部22へ記録し(ステップ144)、記録した補完計測データとデータ番号とを含むログデータを生成し、このログデータに当該ログデータの記録順に応じたログ番号を付与してログ記憶部23へ記録する(ステップ145)。
この後、データ管理部11は、記録したログデータをログ番号とともに上位通信回線L1を介して副データ記録装置20へ送信する(ステップ146)。
The data management unit 11 of the main data recording device 10 records the complementary measurement data returned from the data collection device 30 in response to the transmission request in the data storage unit 22 for each data series (step 144), and the recorded complementary measurement. Log data including the data and the data number is generated, and a log number corresponding to the recording order of the log data is assigned to the log data and recorded in the log storage unit 23 (step 145).
Thereafter, the data management unit 11 transmits the recorded log data together with the log number to the sub data recording device 20 via the upper communication line L1 (step 146).

副データ記録装置20のデータ管理部21は、主データ記録装置10から受信したログデータを、当該ログ番号とともにログ記憶部23へ記録するとともに(ステップ147)、当該ログデータに含まれている計測データをデータ系列ごとにデータ記憶部22へ記録する(ステップ148)。   The data management unit 21 of the sub data recording device 20 records the log data received from the main data recording device 10 together with the log number in the log storage unit 23 (step 147), and the measurement included in the log data. Data is recorded in the data storage unit 22 for each data series (step 148).

これにより、主データ記録装置10で障害が復旧した場合には、主データ記録装置10からの補完要求に応じて、障害発生期間に副データ記録装置20で記録しておいた計測データが主データ記録装置10に送信されて、主データ記録装置10が障害時に未記録となっていた計測データが補完されることになる。また、主データ記録装置10からの送信要求に応じて、データ収集装置30から送信する計測データの送信先が、副データ記録装置20から主データ記録装置10へ切り替えられ、障害復旧後にデータ収集装置30で収集された計測データは、主データ記録装置10に送信されて記録されることになる。   Thereby, when the failure is recovered in the main data recording device 10, the measurement data recorded in the sub data recording device 20 in the failure occurrence period is the main data in response to the supplement request from the main data recording device 10. The measurement data that has been transmitted to the recording device 10 and has not been recorded when the main data recording device 10 has failed is supplemented. Further, in response to a transmission request from the main data recording device 10, the transmission destination of the measurement data transmitted from the data collecting device 30 is switched from the sub data recording device 20 to the main data recording device 10, and the data collecting device after failure recovery The measurement data collected at 30 is transmitted to the main data recording device 10 and recorded.

[本実施の形態の動作例]
次に、図8および図9を参照して、本実施の形態にかかるデータ記録システム1の動作例について説明する。図8は、データ記録システムの動作例(正常時−障害発生時)である。図9は、データ記録システムの動作例(障害復旧時)である。
[Operation example of this embodiment]
Next, an operation example of the data recording system 1 according to the present embodiment will be described with reference to FIGS. FIG. 8 shows an operation example of the data recording system (normal time—when a failure occurs). FIG. 9 is an operation example of the data recording system (at the time of failure recovery).

まず、図8に示すように、主データ記録装置10および副データ記録装置20がともに正常に動作している場合、データ収集装置30で収集された計測データ(データ番号D1)は、主データ記録装置10へ送信されて、記録データとしてデータ記憶部12へ記録されるとともに、そのログデータ(ログ番号L1)が生成されてログ記憶部13へ記録される。また、このログデータ(ログ番号L1)は、副データ記録装置20へ送信され、ログ記憶部23へ記録されるとともに、ログデータ(ログ番号L1)に含まれる計測データ(データ番号D1)がデータ記憶部22へ記録される。   First, as shown in FIG. 8, when both the main data recording device 10 and the sub data recording device 20 are operating normally, the measurement data (data number D1) collected by the data collecting device 30 is the main data recording device. The data is transmitted to the apparatus 10 and recorded as record data in the data storage unit 12, and the log data (log number L 1) is generated and recorded in the log storage unit 13. The log data (log number L1) is transmitted to the sub-data recording device 20 and recorded in the log storage unit 23, and the measurement data (data number D1) included in the log data (log number L1) is data. It is recorded in the storage unit 22.

ここで、主データ記録装置10に障害が発生した場合、副データ記録装置20で最後に記録された計数データのデータ番号D1を記録済みデータ番号とする送信要求が、副データ記録装置20からデータ収集装置30へ送信される。これに応じて、データ収集装置30で収集されて一時記憶部32に一時記憶されている計測データのうちから、送信要求で指定された記録済みデータ番号D1以降の計測データ(データ番号D2,D3)が読み出され、これら計測データ(データ番号D2,D3)からなる補完計測データが、データ収集装置30から副データ記録装置20へ送信される。   Here, when a failure occurs in the main data recording device 10, a transmission request is sent from the sub data recording device 20 with the data number D 1 of the count data recorded last in the sub data recording device 20 as the recorded data number. It is transmitted to the collection device 30. In response to this, from the measurement data collected by the data collection device 30 and temporarily stored in the temporary storage unit 32, the measurement data after the recorded data number D1 specified by the transmission request (data numbers D2, D3) ) Is read, and the complementary measurement data including these measurement data (data numbers D2 and D3) is transmitted from the data collection device 30 to the sub data recording device 20.

この補完計測データは、副データ記録装置20で受信されて記録データとしてデータ記憶部22へ記録されるとともに、そのログデータ(ログ番号L2)が生成されてログ記憶部23へ記録される。この際、同一補完計測データに含まれていた2つの計測データ(データ番号D2,D3)が、1つのログデータとして記録される。
また、上記送信要求により、データ収集装置30から送信する計測データの送信先が副データ記録装置20に切り替えられるため、それ以降にデータ収集装置30で収集された新たな計測データ(データ番号D4)は、副データ記録装置20へ送信されて、記録データとしてデータ記憶部22へ記録されるとともに、そのログデータ(ログ番号L3)が生成されてログ記憶部23へ記録される。
The supplementary measurement data is received by the sub data recording device 20 and recorded in the data storage unit 22 as recording data, and the log data (log number L2) is generated and recorded in the log storage unit 23. At this time, two pieces of measurement data (data numbers D2 and D3) included in the same complementary measurement data are recorded as one log data.
Further, since the transmission destination of the measurement data transmitted from the data collection device 30 is switched to the sub data recording device 20 by the transmission request, new measurement data (data number D4) collected by the data collection device 30 thereafter Is transmitted to the sub data recording device 20 and recorded in the data storage unit 22 as recording data, and the log data (log number L3) is generated and recorded in the log storage unit 23.

次に、図9に示すように、主データ記録装置10での障害が復旧した場合、主データ記録装置10から副データ記録装置20へ、最後に記録したログデータのログ番号L1を記録済みログ番号として指定した補完要求が送信される。これに応じて、副データ記録装置20のログ記憶部23に記録されているログデータのうちから、補完要求で指定された記録済みログ番号D1以降のログデータ(ログ番号L2,L3)が読み出され、これら計測データ(ログ番号L2,L3)からなる補完ログデータが、データ収集装置30から副データ記録装置20へ送信される。   Next, as shown in FIG. 9, when the failure in the main data recording device 10 is recovered, the log number L1 of the last recorded log data is recorded from the main data recording device 10 to the sub data recording device 20. A complement request specified as a number is sent. In response to this, the log data (log numbers L2, L3) after the recorded log number D1 designated by the complement request is read from the log data recorded in the log storage unit 23 of the sub data recording device 20. Complementary log data including these measurement data (log numbers L2 and L3) is transmitted from the data collection device 30 to the sub data recording device 20.

この補完ログデータは、主データ記録装置10で受信されてログデータ(ログ番号L2,L3)としてログ記憶部13へ記録されるとともに、これらログデータ(ログ番号L2,L3)に含まれている計測データ(データ番号D4)が記録データとしてデータ記憶部12へ記録され、未記録の計測データが補完される。   The complementary log data is received by the main data recording device 10 and recorded in the log storage unit 13 as log data (log numbers L2, L3), and is included in these log data (log numbers L2, L3). Measurement data (data number D4) is recorded in the data storage unit 12 as recorded data, and unrecorded measurement data is complemented.

この後、ログ記憶部13に対して最後に記録した計測データのデータ番号D4を記録済みデータ番号とする送信要求が主データ記録装置10からデータ収集装置30へ送信される。これに応じて、データ収集装置30で収集されて一時記憶部32に一時記憶されている計測データのうちから、送信要求で指定された記録済みデータ番号D4以降の計測データ(データ番号D5)が読み出され、この計測データ(データ番号D5)からなる補完計測データが、データ収集装置30から主データ記録装置10へ送信される。   Thereafter, a transmission request is sent from the main data recording device 10 to the data collecting device 30 with the data number D4 of the measurement data recorded last as the recorded data number to the log storage unit 13. In response to this, measurement data (data number D5) after the recorded data number D4 designated by the transmission request is selected from the measurement data collected by the data collection device 30 and temporarily stored in the temporary storage unit 32. The read measurement data and the complementary measurement data including the measurement data (data number D5) are transmitted from the data collection device 30 to the main data recording device 10.

この補完計測データは、主データ記録装置10で受信されて記録データとしてデータ記憶部12へ記録されるとともに、そのログデータ(ログ番号L4)が生成されてログ記憶部23へ記録される。この後、このログデータ(ログ番号L4)は、副データ記録装置20へ送信され、ログ記憶部23へ記録されるとともに、ログデータ(ログ番号L4)に含まれる計測データ(データ番号D5)がデータ記憶部22へ記録される。
また、上記送信要求により、データ収集装置30から送信する計測データの送信先が主データ記録装置10に切り替えられ、それ以降にデータ収集装置30で収集された計測データは主データ記録装置10に送信される。
The complementary measurement data is received by the main data recording device 10 and recorded as recorded data in the data storage unit 12, and the log data (log number L4) is generated and recorded in the log storage unit 23. Thereafter, the log data (log number L4) is transmitted to the sub data recording device 20, recorded in the log storage unit 23, and measured data (data number D5) included in the log data (log number L4). It is recorded in the data storage unit 22.
Further, the transmission destination of the measurement data transmitted from the data collection device 30 is switched to the main data recording device 10 by the above transmission request, and the measurement data collected by the data collection device 30 thereafter is transmitted to the main data recording device 10. Is done.

[本実施の形態の効果]
このように、本実施の形態は、データ収集装置30が、施設管理システム5で計測された各種計測データを収集し、主データ記録装置10が、データ収集装置30から送信された計測データを自装置で記録し、副データ記録装置20が、主データ記録装置10から送信された計測データを自装置で記録するようにしたものである。
[Effects of the present embodiment]
Thus, in the present embodiment, the data collection device 30 collects various measurement data measured by the facility management system 5, and the main data recording device 10 automatically collects the measurement data transmitted from the data collection device 30. The sub data recording device 20 records the measurement data transmitted from the main data recording device 10 on its own device.

これにより、施設管理システム5で計測された各種計測データは、データ収集装置30から主データ記録装置10へ、主データ記録装置10から副データ記録装置20へと、直列的に転送されてそれぞれで記録されることになる。したがって、副データ記録装置20は、主データ記録装置10に記録された計測データを受け取って自装置で記録するため、副データ記録装置20で記録した内容は主データ記録装置10の記録内容と一致していることになる。   As a result, various measurement data measured by the facility management system 5 are transferred in series from the data collection device 30 to the main data recording device 10 and from the main data recording device 10 to the sub data recording device 20, respectively. Will be recorded. Therefore, since the sub data recording device 20 receives the measurement data recorded in the main data recording device 10 and records it in its own device, the content recorded by the sub data recording device 20 is the same as the recording content of the main data recording device 10. I will do it.

このため、計測データを記録した後、主データ記録装置10と副データ記録装置20との間で、別途、照合用データをやり取りして記録内容を照合する必要はない。これにより、結果として、記録内容を照合に起因した、各データ記録装置の処理負担増大や、データ記録装置間を接続する通信回線上のトラヒック増大を回避でき、本来の計測データの記録処理をスムーズに実行することが可能となり、信頼性および品質を向上させることができる。   For this reason, after recording measurement data, it is not necessary to separately exchange collation data between the main data recording device 10 and the sub data recording device 20 to collate recorded contents. As a result, it is possible to avoid an increase in processing load on each data recording device and an increase in traffic on the communication line connecting the data recording devices due to collation of the recorded contents, and smooth the recording processing of the original measurement data. The reliability and quality can be improved.

また、本実施の形態は、副データ記録装置20が、主データ記録装置10で障害が発生した場合、データ収集装置30から送信された計測データを自装置で記録し、主データ記録装置10が、自装置での障害復旧に応じて、障害発生期間に副データ記録装置20で記録しておいた計測データを受け取って、自装置で記録している計測データを補完するようにしたものである。
これにより、正常時にデータ収集装置30から計測データを最初に受信する主データ記録装置10で障害が発生した場合でも、各計測データを欠損させることなくデータ系列として記録することができる。したがって、施設の監視やメンテナンスを行う際に必要となる計測データの時系列変化を正確に確認することが可能となる。
Further, in the present embodiment, when a failure occurs in the main data recording device 10, the sub data recording device 20 records the measurement data transmitted from the data collection device 30 by itself, and the main data recording device 10 In response to the failure recovery in the own device, the measurement data recorded in the secondary data recording device 20 during the failure occurrence period is received and the measurement data recorded in the own device is complemented. .
Thus, even when a failure occurs in the main data recording device 10 that first receives measurement data from the data collection device 30 during normal operation, each measurement data can be recorded as a data series without loss. Therefore, it is possible to accurately confirm the time series change of measurement data required when performing facility monitoring and maintenance.

また、本実施の形態では、主データ記録装置10と副データ記録装置20との間で、計測データをやり取りする際、計測データごとではなく1つ以上の計測データが含まれるログデータを単位としてやり取りするようにしたので、受信したログデータをそのままログデータとして記録できるとともに、補完要求された計測データを一括して検索できる。したがって、個々の計測データを単位として取りする場合と比較して、処理負担を軽減することが可能となる。   In the present embodiment, when measurement data is exchanged between the main data recording device 10 and the sub data recording device 20, log data including one or more measurement data is used as a unit instead of each measurement data. Since the data is exchanged, the received log data can be recorded as log data as it is, and the measurement data requested to be complemented can be collectively searched. Therefore, the processing load can be reduced as compared with the case where individual measurement data is taken as a unit.

また、本実施の形態では、データ収集装置30に一時記憶部32を設けて、収集した計測データを一時記憶しておくようにしたので、主データ記録装置10での障害発生から副データ記録装置20での計測データの記録開始までのタイムラグや、主データ記録装置10での障害復旧から計測データの記録再開までのタイムラグが、データ収集間隔より大きい場合でも、これらタイムラグの期間に収集した計測データを、欠損させることなく主データ記録装置10や副データ記録装置20で記録することが可能となる。   Further, in the present embodiment, the data collection device 30 is provided with the temporary storage unit 32 so that the collected measurement data is temporarily stored. Even if the time lag from the start of recording of measurement data at 20 or the time lag from the failure recovery in the main data recording device 10 to the restart of recording of measurement data is larger than the data collection interval, the measurement data collected during these time lags Can be recorded by the main data recording device 10 and the sub data recording device 20 without loss.

なお、本実施の形態において、副データ記録装置20で障害が発生した場合には、主データ記録装置10での計測データの記録が継続される。このため、その後、副データ記録装置20での障害復旧時に、最後に記録したログデータのログ番号を記録済みログ番号とした補完要求を、副データ記録装置20が主データ記録装置10へ送信し、これに応じて主データ記録装置10から返送された補完ログデータをログ記憶部23へ記録するとともに、その補完ログデータに含まれている計測データをデータ記憶部22に記録することにより、計測データを補完すればよい。   In the present embodiment, when a failure occurs in the sub data recording device 20, recording of measurement data in the main data recording device 10 is continued. For this reason, after that, when the secondary data recording device 20 recovers from a failure, the secondary data recording device 20 transmits a complement request with the log number of the last recorded log data as the recorded log number to the main data recording device 10. In response to this, the complementary log data returned from the main data recording device 10 is recorded in the log storage unit 23, and the measurement data included in the complementary log data is recorded in the data storage unit 22, thereby measuring the data. You just need to supplement the data.

[実施の形態の拡張]
以上、実施形態を参照して本発明を説明したが、本発明は上記実施形態に限定されるものではない。本発明の構成や詳細には、本発明のスコープ内で当業者が理解しうる様々な変更をすることができる。また、各実施形態については、矛盾しない範囲で任意に組み合わせて実施することができる。
[Extended embodiment]
The present invention has been described above with reference to the embodiments, but the present invention is not limited to the above embodiments. Various changes that can be understood by those skilled in the art can be made to the configuration and details of the present invention within the scope of the present invention. In addition, each embodiment can be implemented in any combination within a consistent range.

1…データ記録システム、10…主データ記録装置、11…データ管理部、12…データ記憶部、13…ログ記憶部、20…副データ記録装置、21…データ管理部、22…データ記憶部、23…ログ記憶部、30…データ収集装置、31…データ収集部、32…一時記憶部、40…管理端末、5…施設管理システム、51…制御装置、52…フィールド機器、53…データ収集装置、GW…ゲートウェイ、L1…上位通信回線、L5…下位通信回線。   DESCRIPTION OF SYMBOLS 1 ... Data recording system, 10 ... Main data recording device, 11 ... Data management part, 12 ... Data storage part, 13 ... Log storage part, 20 ... Sub data recording device, 21 ... Data management part, 22 ... Data storage part, DESCRIPTION OF SYMBOLS 23 ... Log storage part, 30 ... Data collection apparatus, 31 ... Data collection part, 32 ... Temporary storage part, 40 ... Management terminal, 5 ... Facility management system, 51 ... Control apparatus, 52 ... Field apparatus, 53 ... Data collection apparatus GW ... Gateway, L1 ... Upper communication line, L5 ... Lower communication line.

Claims (4)

施設管理システムで計測された各種計測データを収集するデータ収集装置と、
前記データ収集装置から送信された前記計測データを自装置で記録する主データ記録装置と、
前記主データ記録装置から送信された前記計測データを自装置で記録する副データ記録装置とを備え
前記主データ記録装置は、前記データ収集装置から送信された前記計測データを含む、当該計測データに関するログデータを生成し、当該ログデータの記録順に応じた新たなログ番号を当該ログデータに付与して自装置で記録するとともに、当該ログデータを前記副データ記録装置へ送信し、
前記副データ記録装置は、前記主データ記録装置から送信された前記ログデータを自装置で記録するとともに、当該ログデータに含まれる計測データを自装置で記録し、前記主データ記録装置で障害が発生した際、前記データ収集装置から送信された前記計測データを含む、当該計測データに関するログデータを生成し、当該ログデータの記録順に応じた新たなログ番号を当該ログデータに付与して自装置で記録し、前記主データ記録装置からの補完要求に応じて当該補完要求で指定された記録済みログ番号以降のログ番号が付与されている前記ログデータを前記主データ記録装置へ返送し、
前記主データ記録装置は、自装置での障害が復旧した際、当該障害以前に自装置で最後に記録したログデータのログ番号を前記記録済みログ番号として指定した前記補完要求を送信し、これに応じて当該副データ記録装置から返送された前記ログデータを自装置で記録するとともに、当該ログデータに含まれる計測データを記録することにより当該障害で未記録となった計測データを補完する
ことを特徴とするデータ記録システム。
A data collection device for collecting various measurement data measured by the facility management system;
A main data recording device for recording the measurement data transmitted from the data collection device by itself;
A sub data recording device that records the measurement data transmitted from the main data recording device by itself ;
The main data recording device generates log data related to the measurement data including the measurement data transmitted from the data collection device, and assigns a new log number corresponding to the recording order of the log data to the log data. And recording the log data on its own device, and sending the log data to the secondary data recording device,
The sub data recording device records the log data transmitted from the main data recording device by the own device, records measurement data included in the log data by the own device, and the main data recording device has a failure. When it occurs, it generates log data related to the measurement data including the measurement data transmitted from the data collection device, and assigns a new log number corresponding to the recording order of the log data to the log data. In response to the complement request from the main data recording device, the log data to which the log number after the recorded log number specified in the complement request is given is returned to the main data recording device,
When the main data recording device recovers from a failure in the own device, the main data recording device transmits the complement request specifying the log number of the log data last recorded in the own device before the failure as the recorded log number. The log data returned from the sub data recording device according to the recording is recorded by the own device, and the measurement data included in the log data is recorded to supplement the measurement data that has not been recorded due to the failure. A data recording system characterized by this.
請求項1に記載のデータ記録システムにおいて、
前記データ収集装置は、前記計測データを前記主データ記録装置または前記副データ記録装置へ送信する際、当該計測データの送信順に応じたデータ番号を当該計測データに付与して送信するとともに、当該計測データを自装置で一時記憶しておき、前記主データ記録装置または前記副データ記録装置から送信要求を受信した場合、一時記憶している計測データのうちから、当該送信要求で指定された記録済みデータ番号以降のデータ番号が付与されている計測データを読み出して返送し、
前記副データ記録装置は、前記主データ記録装置で障害が発生した際、自装置で最後に記録した前記計測データのデータ番号を記録済みデータ番号として指定した前記送信要求を前記データ収集装置へ送信し、
前記主データ記録装置は、自装置での障害が復旧した際、自装置で最後に記録した前記計測データのデータ番号を記録済みデータ番号として指定した前記送信要求を前記データ収集装置へ送信する
ことを特徴とするデータ記録システム。
The data recording system according to claim 1, wherein
When transmitting the measurement data to the main data recording device or the sub data recording device, the data collection device assigns a data number corresponding to the transmission order of the measurement data to the measurement data and transmits the measurement data. When data is temporarily stored in the device itself and a transmission request is received from the main data recording device or the sub data recording device, the recorded data specified by the transmission request is recorded from the temporarily stored measurement data. Read and return the measurement data with the data number after the data number,
When a failure occurs in the main data recording device, the sub data recording device transmits the transmission request specifying the data number of the measurement data last recorded by the device as a recorded data number to the data collecting device. And
The main data recording device transmits the transmission request specifying the data number of the measurement data recorded last by the own device as a recorded data number to the data collecting device when a failure in the own device is recovered. A data recording system characterized by this.
データ収集装置が、施設管理システムで計測された各種計測データを収集するデータ収集ステップと、
主データ記録装置が、前記データ収集ステップで送信された前記計測データを自装置で記録する主データ記録ステップと、
副データ記録装置が、前記主データ記録ステップで送信された前記計測データを自装置で記録する副データ記録ステップと、
前記主データ記録装置が、前記データ収集装置から送信された前記計測データを含む、当該計測データに関するログデータを生成し、当該ログデータの記録順に応じた新たなログ番号を当該ログデータに付与して自装置で記録するとともに、当該ログデータを前記副データ記録装置へ送信するステップと、
前記副データ記録装置が、前記主データ記録装置から送信された前記ログデータを自装置で記録するとともに、当該ログデータに含まれる計測データを自装置で記録するステップと、
前記副データ記録装置が、前記主データ記録装置で障害が発生した際、前記データ収集装置から送信された前記計測データを含む、当該計測データに関するログデータを生成し、当該ログデータの記録順に応じた新たなログ番号を当該ログデータに付与して自装置で記録し、前記主データ記録装置からの補完要求に応じて当該補完要求で指定された記録済みログ番号以降のログ番号が付与されている前記ログデータを前記主データ記録装置へ返送するステップと、
前記主データ記録装置が、自装置での障害が復旧した際、当該障害以前に自装置で最後に記録したログデータのログ番号を前記記録済みログ番号として指定した前記補完要求を送信し、これに応じて当該副データ記録装置から返送された前記ログデータを自装置で記録するとともに、当該ログデータに含まれる計測データを記録することにより当該障害で未記録となった計測データを補完するステップと
を備えることを特徴とするデータ記録方法。
A data collection step in which the data collection device collects various measurement data measured by the facility management system;
A main data recording device for recording the measurement data transmitted in the data collection step by the main device;
A sub data recording device, the sub data recording step of recording the measurement data transmitted in the main data recording step by the own device;
The main data recording device generates log data relating to the measurement data including the measurement data transmitted from the data collection device, and assigns a new log number corresponding to the recording order of the log data to the log data. Recording with the device itself, and transmitting the log data to the sub data recording device,
The sub data recording device records the log data transmitted from the main data recording device on its own device, and records measurement data included in the log data on its own device;
When the sub data recording device fails in the main data recording device, the sub data recording device generates log data related to the measurement data including the measurement data transmitted from the data collection device, and corresponds to the recording order of the log data. A new log number is assigned to the log data and recorded by the own device, and a log number after the recorded log number specified in the complement request is assigned according to the complement request from the main data recording device. Returning the log data to the main data recording device;
When the main data recording device recovers from a failure in the own device, the main data recording device transmits the complement request specifying the log number of the log data last recorded in the own device before the failure as the recorded log number. Recording the log data returned from the sub data recording device in response to the self data, and supplementing the measurement data that has not been recorded due to the failure by recording the measurement data included in the log data data recording method characterized in that it comprises and.
請求項3に記載のデータ記録方法において、  The data recording method according to claim 3, wherein
前記データ収集装置が、前記計測データを前記主データ記録装置または前記副データ記録装置へ送信する際、当該計測データの送信順に応じたデータ番号を当該計測データに付与して送信するとともに、当該計測データを自装置で一時記憶しておき、前記主データ記録装置または前記副データ記録装置から送信要求を受信した場合、一時記憶している計測データのうちから、当該送信要求で指定された記録済みデータ番号以降のデータ番号が付与されている計測データを読み出して返送するステップと、  When the data collection device transmits the measurement data to the main data recording device or the sub data recording device, the data collection device assigns a data number corresponding to the transmission order of the measurement data to the measurement data and transmits the measurement data. When data is temporarily stored in the device itself and a transmission request is received from the main data recording device or the sub data recording device, the recorded data specified by the transmission request is recorded from the temporarily stored measurement data. A step of reading and returning measurement data to which a data number after the data number is assigned;
前記副データ記録装置が、前記主データ記録装置で障害が発生した際、自装置で最後に記録した前記計測データのデータ番号を記録済みデータ番号として指定した前記送信要求を前記データ収集装置へ送信するステップと、  When a failure occurs in the main data recording device, the sub data recording device transmits the transmission request designating the data number of the measurement data recorded last by the own device as a recorded data number to the data collecting device. And steps to
前記主データ記録装置が、自装置での障害が復旧した際、自装置で最後に記録した前記計測データのデータ番号を記録済みデータ番号として指定した前記送信要求を前記データ収集装置へ送信するステップと  When the main data recording device recovers from a failure in the own device, the main data recording device transmits the transmission request specifying the data number of the measurement data recorded last in the own device as a recorded data number to the data collecting device. When
をさらに備えることを特徴とするデータ記録方法。  A data recording method, further comprising:
JP2014189778A 2014-09-18 2014-09-18 Data recording system and method Active JP6371651B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014189778A JP6371651B2 (en) 2014-09-18 2014-09-18 Data recording system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014189778A JP6371651B2 (en) 2014-09-18 2014-09-18 Data recording system and method

Publications (2)

Publication Number Publication Date
JP2016062298A JP2016062298A (en) 2016-04-25
JP6371651B2 true JP6371651B2 (en) 2018-08-08

Family

ID=55797972

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014189778A Active JP6371651B2 (en) 2014-09-18 2014-09-18 Data recording system and method

Country Status (1)

Country Link
JP (1) JP6371651B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09160845A (en) * 1995-12-07 1997-06-20 Fuji Facom Corp Process data logging device
JP2006309637A (en) * 2005-05-02 2006-11-09 Mitsubishi Electric Corp Monitoring control system

Also Published As

Publication number Publication date
JP2016062298A (en) 2016-04-25

Similar Documents

Publication Publication Date Title
EP3346381B1 (en) Cloud service control device, cloud service control system, cloud service control method, program and storage medium
KR20150070280A (en) Data collection and transfer device
JP2008234617A (en) Facility monitoring system and monitoring device
CN103246242A (en) Plant monitoring and control system and plant monitoring and control method
JP5366184B2 (en) Data storage system and data storage method
JP6371651B2 (en) Data recording system and method
CN102325171B (en) Data storage method in monitoring system and system
WO2015045004A1 (en) Programmable controller and control method for programmable controller
CN106027313B (en) Network link disaster tolerance system and method
JP5503508B2 (en) Plant control system, equalized data selection device, and equalized data selection method
KR101207944B1 (en) Lossless method of sequence of event for plant
JP6070040B2 (en) Database system, database device, database failure recovery method and program
JP2009025971A (en) Information processor and log data collection system
CN105426273B (en) Restore the method and server of physical memory cell data
US11177828B2 (en) Data collection apparatus, method, and program
JP6317974B2 (en) Data collection system
CN105306256B (en) A kind of two-node cluster hot backup implementation method based on VxWorks equipment
KR20170110097A (en) Redundant heating, ventilation, and air conditioning control systems
JP2015057685A (en) Monitoring system
JP2005018152A (en) Control/monitoring system
JP7065686B2 (en) Information processing systems, information processing equipment and programs
JP2009211279A (en) Handling data management server system
JP4459185B2 (en) Computer system
JP2018074508A (en) Remote monitoring system, central data collection device, site data collection device, remote monitoring method, and program
JP5861518B2 (en) Information processing system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170327

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180116

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180207

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180713

R150 Certificate of patent or registration of utility model

Ref document number: 6371651

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250