JP6371651B2 - Data recording system and method - Google Patents
Data recording system and method Download PDFInfo
- 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
Links
- 238000000034 method Methods 0.000 title claims description 12
- 238000005259 measurement Methods 0.000 claims description 239
- 238000013480 data collection Methods 0.000 claims description 89
- 230000005540 biological transmission Effects 0.000 claims description 62
- 230000000295 complement effect Effects 0.000 claims description 40
- 230000004044 response Effects 0.000 claims description 33
- 239000013589 supplement Substances 0.000 claims description 8
- 230000001502 supplementing effect Effects 0.000 claims 1
- 238000013500 data storage Methods 0.000 description 41
- 238000013523 data management Methods 0.000 description 36
- 230000006870 function Effects 0.000 description 33
- 238000007726 management method Methods 0.000 description 31
- 238000004891 communication Methods 0.000 description 21
- 238000012545 processing Methods 0.000 description 13
- 238000011084 recovery Methods 0.000 description 12
- 238000010586 diagram Methods 0.000 description 8
- 238000012544 monitoring process Methods 0.000 description 5
- 239000004065 semiconductor Substances 0.000 description 4
- 238000012790 confirmation Methods 0.000 description 3
- 238000012423 maintenance Methods 0.000 description 3
- 230000002093 peripheral effect Effects 0.000 description 3
- 230000005856 abnormality Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 230000007257 malfunction Effects 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
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.
このようなデータ記録システムでは、長期にわたり計測データを継続して記録することが求められる。このため、信頼性の観点から、データ記録システム内で障害が発生して測定データの記録が停止しないよう、データ記録機能を冗長化する構成が考えられる。
この際、例えばデータ記録機能を担うデータ記録装置を複数設けて冗長化し、施設管理システムからデータ収集装置で収集した計測データをこれらデータ記録装置へ並列的に配信し、各データ記録装置で受信した計測データをそれぞれの記憶部へ記録する構成が一般的である。
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.
次に、本発明の一実施の形態について図面を参照して説明する。
[データ記録システム]
まず、図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
施設管理システム5は、工場、プラント、ビルなどの施設において、産業用コントローラなどの制御装置51を用いて、その配下に接続されている各種のフィールド機器52を遠隔制御することにより、施設の自動運転や監視を行うシステムである。
データ収集装置53は、下位通信回線L5を介して各制御装置51とデータ通信を行うことにより、制御装置51がフィールド機器52から取得した計測データを収集する機能を有している。
The
The
ゲートウェイ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
[本実施の形態の構成]
次に、図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
本発明は、データ収集装置30により施設管理システム5から計測データを順次収集し、主データ記録装置10がデータ収集装置30から送信された計測データを自装置で記録し、副データ記録装置20が主データ記録装置10から送信された計測データを自装置で記録することにより、データ収集装置30から主データ記録装置10へ、主データ記録装置10から副データ記録装置20へと、直列的に計測データを転送してそれぞれ記録するようにしたものである。
In the present invention, measurement data is sequentially collected from the
また、主データ記録装置10で障害が発生した場合には、データ収集装置30から送信された計測データを副データ記録装置20が自装置で記録しておき、主データ記録装置10での障害復旧に応じて、障害発生期間に副データ記録装置20で記録しておいた計測データを主データ記録装置10が受け取って補完するようにしたものである。
Further, when a failure occurs in the main
この際、データ収集装置30は、主データ記録装置10または副データ記録装置20からの送信要求に応じて、要求元である主データ記録装置10または副データ記録装置20のいずれか一方へ、新たに収集した計測データの送信を開始するものとし、副データ記録装置20は、主データ記録装置10で障害が発生した際、送信要求をデータ収集装置30へ送信して当該データ収集装置30から送信されてくる計測データの記録を開始するようにしたものである。
At this time, in response to a transmission request from the main
また、副データ記録装置20は、主データ記録装置10からの補完要求に応じて主データ記録装置10での障害発生後に自装置で記録した計測データを主データ記録装置10へ返送し、主データ記録装置10は、自装置での障害が復旧した際、補完要求を副データ記録装置20へ送信し、これに応じて副データ記録装置20から返送された計測データを自装置で記録することにより当該障害で未記録となった計測データを補完し、送信要求をデータ収集装置30へ送信してそれ以降にデータ収集装置30から送信されてくる計測データの記録を再開するようにしたものである。
Further, the sub
[主データ記録装置]
主データ記録装置10には、主な機能部として、データ管理部(主データ管理部)11、データ記憶部(主データ記憶部)12、およびログ記憶部(主ログ記憶部)13が設けられている。これら機能部のうち、データ管理部11は、CPUおよびその周辺回路を有し、CPUでプログラムを実行することにより各種処理を行う演算処理部から構成されている。また、データ記憶部12およびログ記憶部13は、ハードディスクや半導体メモリなどの記憶装置から構成されている。
[Main data recording device]
The main
データ管理部11は、データ収集装置30から計測データを受信する機能と、受信した計測データをデータ系列ごとにデータ記憶部12へ記録する機能と、記録したこれら計測データとこれら計測データの主データ記録装置10に対する送信順に応じたデータ番号とを含むログデータを生成し、このログデータに当該ログデータの記録順に応じたログ番号を付与してログ記憶部13へ記録する機能と、記録したログデータを副データ記録装置20へ送信する機能と、管理端末40からの閲覧要求に応じて、指定されたデータ系列の計測データをデータ記憶部12から読み出して管理端末40へ配信することにより、時系列のグラフや表を管理端末40で画面表示する機能とを有している。
The
また、データ管理部11は、自装置で発生した障害の復旧時に関する機能として、ログ記憶部13に最後に記録したログデータに付与されているログ番号を記録済みログ番号として指定した、当該障害の発生期間に収集された未記録計測データの補完を要求する補完要求を副データ記録装置20へ送信する機能と、この補完要求に応じて副データ記録装置20から返送されたログデータを受信してログ記憶部13に記録する機能と、受信したログデータに含まれている計測データをデータ記憶部12に記録することにより、障害発生期間に記録できなかった計測データを補完する機能とを有している。
In addition, the
さらに、データ管理部11は、補完したこれら計測データのうちデータ記憶部12に対して最後に記録した計測データに付与されていたデータ番号を記録済みデータ番号として指定した送信要求をデータ収集装置30へ送信する機能と、この送信要求に応じてデータ収集装置30から返送された計測データを受信してデータ記憶部12に記録する機能と、これら計測データから生成したログデータにログ番号を付与してログ記憶部13へ記録する機能と、記録したログデータを副データ記録装置20へ送信する機能とを有している。
Further, the
データ記憶部12は、データ管理部11から入力された計測データをデータ系列ごとに記憶する機能を有している。
図2は、計測データの構成例である。計測データは、データ系列を識別するためのデータ系列ID、計測データを計測した日時を示すタイムスタンプ、および計測値が含まれており、主データ記録装置10に対する送信順に応じたデータ番号がデータ収集装置30により付与されている。このデータ番号は、主データ記録装置10や副データ記録装置20がデータ収集装置30に対して、記録できなかった計測データの送信を要求する際に、記録済みの計測データを示す記録済みデータ番号として用いられる。
The
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
図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
In the present invention, the data series refers to a measurement data string related to the same measurement object measured by the
ログ記憶部13は、ハードディスクや半導体メモリなどの記憶装置からなり、データ管理部11から入力されたログデータを記憶する機能を有している。
図4は、ログデータの構成例である。ここでは、データ管理部11がデータ記憶部12に一括して記録した複数の計測データとそれぞれのデータ番号とが、1つのログデータとして記録されるとともに、ログデータに対して当該ログデータの記録順に応じた各ログデータに固有のログ番号がデータ管理部11により付与されている。
The
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
データ収集装置30では、一定の収集間隔で施設管理システム5から各種計測データを収集しているため、その収集間隔の間に計測された複数の計測データが一括して収集されて主データ記録装置10に送信される。したがって、データ管理部11は、これら複数の計測データを1つのログデータにまとめて計測データの記録処理を示す履歴としてログ記憶部13へ記録する。
Since the
この際、データ管理部11では、個々のログデータに対して、ログデータの記録順に応じた各ログデータに固有のログ番号を付与してログ記憶部13へ記録する。このログ番号は、主データ記録装置10または副データ記録装置20が、副データ記録装置20または主データ記録装置10に対して、記録できなかったログデータの送信を要求する際に、記録済みのログデータを示す記録済みログ番号として用いられる。
At this time, the
[副データ記録装置]
副データ記録装置20には、主な機能部として、データ管理部(副データ管理部)21、データ記憶部(副データ記憶部)22、およびログ記憶部(副ログ記憶部)23が設けられている。これら機能部のうち、データ管理部21は、CPUおよびその周辺回路を有し、CPUでプログラムを実行することにより各種処理を行う演算処理部から構成されている。また、データ記憶部22およびログ記憶部23は、ハードディスクや半導体メモリなどの記憶装置から構成されている。なお、データ記憶部22およびログ記憶部23については、データ記憶部12およびログ記憶部13と同様であり、ここでの詳細な説明は省略する。
[Sub data recording device]
The sub
データ管理部21は、主データ記録装置10からログデータを受信する機能と、受信したログデータを、当該ログデータに付与されているログ番号とともにログ記憶部23へ記録する機能と、受信したログデータに含まれる計測データをデータ系列ごとにデータ記憶部22へ記録する機能とを有している。
The
また、データ管理部21は、主データ記録装置10で障害が発生した際、データ記憶部22に対して最後に記録した計測データに付与されていたデータ番号を記録済みデータ番号として指定した送信要求をデータ収集装置30へ送信する機能と、これに応じてデータ収集装置30から送信される計測データを受信してデータ記憶部22へ記録する処理を開始する機能と、主データ記録装置10から送信された補完要求に応じて、当該補完要求で指定された記録済みログ番号以降のログ番号が付与されているログデータをログ記憶部23から読み出して主データ記録装置10へ返送する機能とを有している。
In addition, when a failure occurs in the main
また、データ管理部21は、自装置で発生した障害の復旧時に関する機能として、ログ記憶部23に最後に記録したログデータに付与されているログ番号を記録済みログ番号として指定した、当該障害の発生期間に収集された未記録計測データの補完を要求する補完要求を主データ記録装置10へ送信する機能と、この補完要求に応じて主データ記録装置10から返送されたログデータを受信してログ記憶部23に記録する機能と、受信したログデータに含まれている計測データをデータ記憶部22に記録することにより、障害発生期間に記録できなかった計測データを補完する機能とを有している。
In addition, the
[データ収集装置]
データ収集装置30には、主な機能部として、データ収集部31および一時記憶部32が設けられている。これら機能部のうち、データ収集部31は、CPUおよびその周辺回路を有し、CPUでプログラムを実行することにより各種処理を行う演算処理部から構成されている。また、一時記憶部32は、ハードディスクや半導体メモリなどの記憶装置から構成されている。
[Data collection device]
The
データ収集部31は、施設管理システム5で計測された各種計測データを、ゲートウェイGWおよび上位通信回線L1を介して収集する機能と、収集した計測データに当該計測データの送信順(収集順)に応じたデータ番号を付与して主データ記録装置10に送信する機能と、収集した計測データをデータ番号とともに一時記憶部32へ記録する機能と、主データ記録装置10または副データ記録装置20から送信された送信要求に応じて、要求した主データ記録装置10または副データ記録装置20へ計測データの送信先を切り替える機能と、当該送信要求で指定された記録済みデータ番号以降のデータ番号が付与されている計測データを一時記憶部32から読み出して返送する機能とを有している。
The
一時記憶部32は、データ収集部31から入力された計測データをデータ番号とともに一時記憶する機能と、計測データが記憶容量を超えた場合、最も過去に記録した計測データに対して新たに収集した計測データを上書きする機能とを有している。なお、一時記憶部32における計測データの記憶例については、前述した図2と同様であり、各計測データに対して、それぞれの送信順に応じたデータ番号が付与されて記憶されている。
The
[本実施の形態の動作]
次に、図面を参照して、本実施の形態にかかるデータ記録システム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
まず、データ収集装置30のデータ収集部31は、施設管理システム5で計測された各種計測データを、ゲートウェイGWおよび上位通信回線L1を介して収集し(ステップ100)、送信順に応じたデータ番号を付与して一時記憶部32に記録するとともに(ステップ101)、上位通信回線L1を介して主データ記録装置10へ送信する(ステップ102)。
First, the
主データ記録装置10のデータ管理部11は、データ収集装置30から受信した計測データを、データ系列ごとにデータ記憶部12へ記録し(ステップ103)、記録した計測データとデータ番号とを含むログデータを生成し、このログデータに当該ログデータの記録順に応じたログ番号を付与してログ記憶部13へ記録する(ステップ104)。
この後、データ管理部11は、記録したログデータをログ番号とともに上位通信回線L1を介して副データ記録装置20へ送信する(ステップ105)。
The
Thereafter, the
副データ記録装置20のデータ管理部21は、主データ記録装置10から受信したログデータを、当該ログ番号とともにログ記憶部23へ記録するとともに(ステップ106)、当該ログデータに含まれている計測データをデータ系列ごとにデータ記憶部22へ記録する(ステップ107)。
The
これにより、主データ記録装置10および副データ記録装置20が正常動作している場合、データ収集装置30により施設管理システム5から計測データが順次収集されて、データ収集装置30から送信された計測データが主データ記録装置10で記録され、主データ記録装置10から送信された計測データが副データ記録装置20で記録される。したがって、データ収集装置30で収集された計測データが、データ収集装置30から主データ記録装置10へ、主データ記録装置10から副データ記録装置20へと、直列的に計測データが転送されてそれぞれ記録される。
Thereby, when the main
[障害発生時]
次に、図6を参照して、主データ記録装置10での障害発生時における記録切替動作について説明する。図6は、障害発生時における記録切替動作を示すシーケンス図である。
[When an error occurs]
Next, a recording switching operation when a failure occurs in the main
まず、主データ記録装置10で障害が発生した場合(ステップ110)、副データ記録装置20のデータ管理部21は、故障発生確認に応じて(ステップ111)、データ記憶部22に対して最後に記録した計測データに付与されていたデータ番号を記録済みデータ番号として指定した送信要求を、上位通信回線L1を介してデータ収集装置30へ送信する(ステップ112)。
First, when a failure occurs in the main data recording device 10 (step 110), the
この際、故障発生確認については、管理端末40からの指示や副データ記録装置20での操作入力に応じて、データ管理部21が主データ記録装置10での故障発生を確認すればよい。なお、データ管理部21が、主データ記録装置10から送信されるログデータやメッセージの間隔を監視し、一定時間以上届かなかった時点で、主データ記録装置10での故障発生を確認するようにしてもよい。
At this time, regarding the failure occurrence confirmation, the
データ収集装置30のデータ収集部31は、副データ記録装置20から送信された送信要求に応じて、当該送信要求で指定された記録済みデータ番号以降のデータ番号が付与されている計測データの有無を一時記憶部32で確認し(ステップ113)、該当する計測データが存在する場合には、これら計測データを補完計測データとして副データ記録装置20へ返送する(ステップ114)。また、データ収集部31は、副データ記録装置20からの送信要求に応じて、以降に収集した計測データの送信先を主データ記録装置10から副データ記録装置20へ切り替える(ステップ115)。
In response to the transmission request transmitted from the sub
副データ記録装置20のデータ管理部21は、送信要求に応じてデータ収集装置30から補完計測データを、データ系列ごとにデータ記憶部22へ記録し(ステップ116)、記録した補完計測データとデータ番号とを含むログデータを生成し、このログデータに当該ログデータの記録順に応じたログ番号を付与してログ記憶部23へ記録する(ステップ117)。
In response to the transmission request, the
したがって、この後、データ収集装置30のデータ収集部31は、施設管理システム5で計測された各種計測データを、ゲートウェイGWおよび上位通信回線L1を介して収集し(ステップ120)、送信順に応じたデータ番号を付与して一時記憶部32に記録するとともに(ステップ121)、上位通信回線L1を介して副データ記録装置20へ送信する(ステップ122)。
Therefore, thereafter, the
副データ記録装置20のデータ管理部21は、データ収集装置30から受信した計測データを、データ系列ごとにデータ記憶部22へ記録し(ステップ123)、記録した計測データとデータ番号とを含むログデータを生成し、このログデータに当該ログデータの記録順に応じたログ番号を付与してログ記憶部23へ記録する(ステップ124)。
The
これにより、主データ記録装置10で障害が発生した場合には、副データ記録装置20からの送信要求に応じて、データ収集装置30から送信する計測データの送信先が、主データ記録装置10から副データ記録装置20へ切り替えられ、障害発生期間中にデータ収集装置30で収集された計測データについては、副データ記録装置20に送信されて記録されることになる。
Thereby, when a failure occurs in the main
[障害復旧時]
次に、図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
主データ記録装置10のデータ管理部11は、自装置での障害復旧に応じて(ステップ130)、ログ記憶部13に最後に記録したログデータに付与されているログ番号を記録済みログ番号として指定した補完要求を、上位通信回線L1を介して副データ記録装置20へ送信する(ステップ131)。
The
副データ記録装置20のデータ管理部21は、主データ記録装置10からの補完要求に応じて、当該補完要求で指定された記録済みログ番号以降のログ番号が付与されているログデータの有無をログ記憶部23で確認し(ステップ132)、該当するログデータが存在する場合には、これらログデータを補完ログデータとして主データ記録装置10へ返送する(ステップ133)。
In response to a complement request from the main
主データ記録装置10のデータ管理部11は、副データ記録装置20から返送された補完ログデータをログ記憶部13に記録するとともに(ステップ134)、これら補完ログデータに含まれている計測データを、データ系列ごとにデータ記憶部12へ記録する(ステップ135)。
The
この後、データ管理部11は、データ記憶部12に対して最後に記録した計測データに付与されているデータ番号を記録済みデータ番号として指定した送信要求を、上位通信回線L1を介してデータ収集装置30へ送信する(ステップ140)。
Thereafter, the
データ収集装置30のデータ収集部31は、主データ記録装置10から送信された送信要求に応じて、当該送信要求で指定された記録済みデータ番号以降のデータ番号が付与されている計測データの有無を一時記憶部32で確認し(ステップ141)、該当する計測データが存在する場合には、これら計測データを補完計測データとして主データ記録装置10へ返送する(ステップ142)。また、データ収集部31は、主データ記録装置10からの送信要求に応じて、以降に収集した計測データの送信先をデータ記録装置20から副主データ記録装置10へ切り替える(ステップ143)。
In response to the transmission request transmitted from the main
主データ記録装置10のデータ管理部11は、送信要求に応じてデータ収集装置30から返送された補完計測データを、データ系列ごとにデータ記憶部22へ記録し(ステップ144)、記録した補完計測データとデータ番号とを含むログデータを生成し、このログデータに当該ログデータの記録順に応じたログ番号を付与してログ記憶部23へ記録する(ステップ145)。
この後、データ管理部11は、記録したログデータをログ番号とともに上位通信回線L1を介して副データ記録装置20へ送信する(ステップ146)。
The
Thereafter, the
副データ記録装置20のデータ管理部21は、主データ記録装置10から受信したログデータを、当該ログ番号とともにログ記憶部23へ記録するとともに(ステップ147)、当該ログデータに含まれている計測データをデータ系列ごとにデータ記憶部22へ記録する(ステップ148)。
The
これにより、主データ記録装置10で障害が復旧した場合には、主データ記録装置10からの補完要求に応じて、障害発生期間に副データ記録装置20で記録しておいた計測データが主データ記録装置10に送信されて、主データ記録装置10が障害時に未記録となっていた計測データが補完されることになる。また、主データ記録装置10からの送信要求に応じて、データ収集装置30から送信する計測データの送信先が、副データ記録装置20から主データ記録装置10へ切り替えられ、障害復旧後にデータ収集装置30で収集された計測データは、主データ記録装置10に送信されて記録されることになる。
Thereby, when the failure is recovered in the main
[本実施の形態の動作例]
次に、図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
ここで、主データ記録装置10に障害が発生した場合、副データ記録装置20で最後に記録された計数データのデータ番号D1を記録済みデータ番号とする送信要求が、副データ記録装置20からデータ収集装置30へ送信される。これに応じて、データ収集装置30で収集されて一時記憶部32に一時記憶されている計測データのうちから、送信要求で指定された記録済みデータ番号D1以降の計測データ(データ番号D2,D3)が読み出され、これら計測データ(データ番号D2,D3)からなる補完計測データが、データ収集装置30から副データ記録装置20へ送信される。
Here, when a failure occurs in the main
この補完計測データは、副データ記録装置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
Further, since the transmission destination of the measurement data transmitted from the
次に、図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
この補完ログデータは、主データ記録装置10で受信されてログデータ(ログ番号L2,L3)としてログ記憶部13へ記録されるとともに、これらログデータ(ログ番号L2,L3)に含まれている計測データ(データ番号D4)が記録データとしてデータ記憶部12へ記録され、未記録の計測データが補完される。
The complementary log data is received by the main
この後、ログ記憶部13に対して最後に記録した計測データのデータ番号D4を記録済みデータ番号とする送信要求が主データ記録装置10からデータ収集装置30へ送信される。これに応じて、データ収集装置30で収集されて一時記憶部32に一時記憶されている計測データのうちから、送信要求で指定された記録済みデータ番号D4以降の計測データ(データ番号D5)が読み出され、この計測データ(データ番号D5)からなる補完計測データが、データ収集装置30から主データ記録装置10へ送信される。
Thereafter, a transmission request is sent from the main
この補完計測データは、主データ記録装置10で受信されて記録データとしてデータ記憶部12へ記録されるとともに、そのログデータ(ログ番号L4)が生成されてログ記憶部23へ記録される。この後、このログデータ(ログ番号L4)は、副データ記録装置20へ送信され、ログ記憶部23へ記録されるとともに、ログデータ(ログ番号L4)に含まれる計測データ(データ番号D5)がデータ記憶部22へ記録される。
また、上記送信要求により、データ収集装置30から送信する計測データの送信先が主データ記録装置10に切り替えられ、それ以降にデータ収集装置30で収集された計測データは主データ記録装置10に送信される。
The complementary measurement data is received by the main
Further, the transmission destination of the measurement data transmitted from the
[本実施の形態の効果]
このように、本実施の形態は、データ収集装置30が、施設管理システム5で計測された各種計測データを収集し、主データ記録装置10が、データ収集装置30から送信された計測データを自装置で記録し、副データ記録装置20が、主データ記録装置10から送信された計測データを自装置で記録するようにしたものである。
[Effects of the present embodiment]
Thus, in the present embodiment, the
これにより、施設管理システム5で計測された各種計測データは、データ収集装置30から主データ記録装置10へ、主データ記録装置10から副データ記録装置20へと、直列的に転送されてそれぞれで記録されることになる。したがって、副データ記録装置20は、主データ記録装置10に記録された計測データを受け取って自装置で記録するため、副データ記録装置20で記録した内容は主データ記録装置10の記録内容と一致していることになる。
As a result, various measurement data measured by the
このため、計測データを記録した後、主データ記録装置10と副データ記録装置20との間で、別途、照合用データをやり取りして記録内容を照合する必要はない。これにより、結果として、記録内容を照合に起因した、各データ記録装置の処理負担増大や、データ記録装置間を接続する通信回線上のトラヒック増大を回避でき、本来の計測データの記録処理をスムーズに実行することが可能となり、信頼性および品質を向上させることができる。
For this reason, after recording measurement data, it is not necessary to separately exchange collation data between the main
また、本実施の形態は、副データ記録装置20が、主データ記録装置10で障害が発生した場合、データ収集装置30から送信された計測データを自装置で記録し、主データ記録装置10が、自装置での障害復旧に応じて、障害発生期間に副データ記録装置20で記録しておいた計測データを受け取って、自装置で記録している計測データを補完するようにしたものである。
これにより、正常時にデータ収集装置30から計測データを最初に受信する主データ記録装置10で障害が発生した場合でも、各計測データを欠損させることなくデータ系列として記録することができる。したがって、施設の監視やメンテナンスを行う際に必要となる計測データの時系列変化を正確に確認することが可能となる。
Further, in the present embodiment, when a failure occurs in the main
Thus, even when a failure occurs in the main
また、本実施の形態では、主データ記録装置10と副データ記録装置20との間で、計測データをやり取りする際、計測データごとではなく1つ以上の計測データが含まれるログデータを単位としてやり取りするようにしたので、受信したログデータをそのままログデータとして記録できるとともに、補完要求された計測データを一括して検索できる。したがって、個々の計測データを単位として取りする場合と比較して、処理負担を軽減することが可能となる。
In the present embodiment, when measurement data is exchanged between the main
また、本実施の形態では、データ収集装置30に一時記憶部32を設けて、収集した計測データを一時記憶しておくようにしたので、主データ記録装置10での障害発生から副データ記録装置20での計測データの記録開始までのタイムラグや、主データ記録装置10での障害復旧から計測データの記録再開までのタイムラグが、データ収集間隔より大きい場合でも、これらタイムラグの期間に収集した計測データを、欠損させることなく主データ記録装置10や副データ記録装置20で記録することが可能となる。
Further, in the present embodiment, the
なお、本実施の形態において、副データ記録装置20で障害が発生した場合には、主データ記録装置10での計測データの記録が継続される。このため、その後、副データ記録装置20での障害復旧時に、最後に記録したログデータのログ番号を記録済みログ番号とした補完要求を、副データ記録装置20が主データ記録装置10へ送信し、これに応じて主データ記録装置10から返送された補完ログデータをログ記憶部23へ記録するとともに、その補完ログデータに含まれている計測データをデータ記憶部22に記録することにより、計測データを補完すればよい。
In the present embodiment, when a failure occurs in the sub
[実施の形態の拡張]
以上、実施形態を参照して本発明を説明したが、本発明は上記実施形態に限定されるものではない。本発明の構成や詳細には、本発明のスコープ内で当業者が理解しうる様々な変更をすることができる。また、各実施形態については、矛盾しない範囲で任意に組み合わせて実施することができる。
[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
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.
前記データ収集装置は、前記計測データを前記主データ記録装置または前記副データ記録装置へ送信する際、当該計測データの送信順に応じたデータ番号を当該計測データに付与して送信するとともに、当該計測データを自装置で一時記憶しておき、前記主データ記録装置または前記副データ記録装置から送信要求を受信した場合、一時記憶している計測データのうちから、当該送信要求で指定された記録済みデータ番号以降のデータ番号が付与されている計測データを読み出して返送し、
前記副データ記録装置は、前記主データ記録装置で障害が発生した際、自装置で最後に記録した前記計測データのデータ番号を記録済みデータ番号として指定した前記送信要求を前記データ収集装置へ送信し、
前記主データ記録装置は、自装置での障害が復旧した際、自装置で最後に記録した前記計測データのデータ番号を記録済みデータ番号として指定した前記送信要求を前記データ収集装置へ送信する
ことを特徴とするデータ記録システム。 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.
前記データ収集装置が、前記計測データを前記主データ記録装置または前記副データ記録装置へ送信する際、当該計測データの送信順に応じたデータ番号を当該計測データに付与して送信するとともに、当該計測データを自装置で一時記憶しておき、前記主データ記録装置または前記副データ記録装置から送信要求を受信した場合、一時記憶している計測データのうちから、当該送信要求で指定された記録済みデータ番号以降のデータ番号が付与されている計測データを読み出して返送するステップと、 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:
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)
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 |
-
2014
- 2014-09-18 JP JP2014189778A patent/JP6371651B2/en active Active
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 |