JP2019176221A - Data collection system - Google Patents
Data collection system Download PDFInfo
- Publication number
- JP2019176221A JP2019176221A JP2018059338A JP2018059338A JP2019176221A JP 2019176221 A JP2019176221 A JP 2019176221A JP 2018059338 A JP2018059338 A JP 2018059338A JP 2018059338 A JP2018059338 A JP 2018059338A JP 2019176221 A JP2019176221 A JP 2019176221A
- Authority
- JP
- Japan
- Prior art keywords
- data
- attribute information
- controller
- stored
- identification information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Abstract
Description
本発明は、管理対象から周期的にデータを収集してコントローラのメモリに記憶し、このコントローラのメモリに記憶されているデータを定期的に読み出して、上位装置のメモリに蓄積して行くデータ収集システムに関する。 The present invention collects data periodically from the management target, stores it in the memory of the controller, periodically reads the data stored in the memory of the controller, and accumulates the data in the memory of the host device About the system.
従来より、建物の設備監視など多種の目的のために、機器の状態の監視や制御を行うコントローラが用いられている。このコントローラは、温度や湿度などのデータを収集する機能を有しており、管理対象として定められた各種管理ポイントのデータを周期的に収集する。 Conventionally, a controller for monitoring and controlling the state of equipment has been used for various purposes such as building facility monitoring. This controller has a function of collecting data such as temperature and humidity, and periodically collects data of various management points determined as management targets.
しかし、この収集したデータを記録保管するにあたり、コントローラ自体に十分な容量のメモリを用意できないことが多い。このため、コントローラのメモリ(小容量のメモリ)に記憶されているデータを定期的に読み出して、上位装置のメモリ(大容量のメモリ)に蓄積して行くということが広く行われている(例えば、特許文献1参照)。 However, in order to record and store the collected data, it is often impossible to prepare a memory having a sufficient capacity in the controller itself. For this reason, data stored in the memory (small capacity memory) of the controller is regularly read out and stored in the memory (large capacity memory) of the host device (for example, widely used). , See Patent Document 1).
図7に、従来のデータ収集システムの概略を示す。このデータ収集システムにおいて、コントローラ1は、管理ポイントP(P1〜PN)と接続されている。コントローラ1には小容量のメモリM1が設けられている。また、コントローラ1には、大容量のメモリM2を有する専用オペレータインタフェース(以下、「専用OI」という。)2が上位装置として接続されている。
FIG. 7 shows an outline of a conventional data collection system. In this data collection system, the
コントローラ1は、管理ポイントP1〜PNから周期的(例えば、1分毎)にデータを収集し、メモリM1に記憶させる。メモリM1には、図8(a)に示すように、タイムスタンプを付して、管理ポイントP1〜PNから収集されたデータが記憶されて行く。この例では、数日分のデータが上書きされながら、メモリM1に記憶されて行く。
The
メモリM1に記憶されるデータには、図8(b)に示すように、そのデータが収集される管理ポイントPに対応づけて、そのデータの属性を表す属性情報が紐付けられている。データの属性は、そのデータの性質や特徴を表すもので、例えば、そのデータがアナログのセンサ出力を指すのか、デジタルの機器のON/OFFを指すのかなどを表す情報は属性情報となる。図8(b)中、「D」および「A」はともにデータの型を表し、「D」は、データが、例えば、デジタル機器のON/OFFを表すデジタルデータであることを示し、「A」はデータが、アナログのセンサ出力など、アナログデータであることを示す属性情報の例である。このような属性情報は、メモリM1に記憶されるデータにそのデータが収集される管理ポイントPを媒介として紐付けられる属性情報として、コントローラ1内に記憶されている。
As shown in FIG. 8B, attribute information representing the attribute of the data is associated with the data stored in the memory M1 in association with the management point P from which the data is collected. The attribute of data represents the nature and characteristics of the data. For example, information indicating whether the data indicates an analog sensor output or ON / OFF of a digital device is attribute information. In FIG. 8B, “D” and “A” both represent data types, and “D” indicates that the data is digital data representing, for example, ON / OFF of a digital device. "Is an example of attribute information indicating that the data is analog data, such as analog sensor output. Such attribute information is stored in the
専用OI2は、コントローラ1に定期的(例えば、1日毎)にアクセスし、メモリM1に記憶されている前回から今回までの差分のデータを読み出し、メモリM2に蓄積する。メモリM2には、図9(a)に示すように、前回の差分のデータ#1、今回の差分のデータ#2というように、コントローラ1から読み出した差分のデータが蓄積されて行く。この例では、少なくとも1年分のデータが、メモリM2に蓄積される。
The
一方、外部記憶装置として作用する専用OI2のメモリM2にも、図9に示すように、データ(図9(a))と属性情報(図9(b))とが管理ポイントPを媒介として互いに紐付けられて記憶されている。このようなデータとそのデータの属性情報との紐付けをコントローラ1における紐付けと整合させておくことによって、コントローラ1に記憶されている属性情報(図8(b))と同じ属性情報(図9(b)参照)が専用OI2においても設定され、記憶されている。これにより、専用OI2のメモリM2に蓄積されるデータと属性情報との紐付けと、コントローラ1に記憶されているデータと属性情報との紐付けとが同一となる。なお、データに紐付けられる属性情報の例としては、データの型を示す情報の他、デバイス番号、IO番号、データ単位(有効桁数や、単位(℃なのかF゜なのか、など))、データの名称なども挙げられる。
On the other hand, as shown in FIG. 9, data (FIG. 9 (a)) and attribute information (FIG. 9 (b)) are also transmitted to each other through the management point P, as shown in FIG. It is linked and memorized. By matching the association between such data and the attribute information of the data with the association in the
一般にこの種のデータ収集システムでは、データに紐付けられる属性情報は多岐にわたるので、処理負荷を少なくするために、コントローラ1から読み出され専用OI2に蓄積されるデータには属性情報を含めず、差分のデータのみとする。このため、属性情報の設定時に、コントローラ1と専用OI2との双方に同じ属性情報を記憶させるようにしている。
In general, in this type of data collection system, attribute information associated with data is diverse. Therefore, in order to reduce processing load, data read from the
しかしながら、上述したデータ収集システムにおいて、各ポイントP(P1〜PN)から収集されるデータの属性に変更があった場合には、コントローラ1と専用OI2との双方において属性情報を変更して、コントローラ1と専用OI2との間におけるデータと属性情報との紐付けを整合させることが必要となる。
However, in the above-described data collection system, when there is a change in the attribute of data collected from each point P (P1 to PN), the attribute information is changed in both the
この場合、1台のコントローラに接続可能な上位装置が1台だけであれば、コントローラに記憶されている属性情報の変更に際し、上位装置が記憶している属性情報を書き替えて、コントローラから読み出したデータを適切に処理することができる。例えば、コントローラに記憶されているある管理ポイントのデータの属性情報をアナログデータからデジタルデータに変更した場合、上位装置においても、その管理ポイントのデータの属性情報をアナログデータからデジタルデータに変更するようにして、コントローラから読み出したデータを適切に処理することができる。 In this case, if there is only one host device that can be connected to one controller, the attribute information stored in the host device is rewritten and read from the controller when the attribute information stored in the controller is changed. Data can be processed appropriately. For example, when the attribute information of data of a management point stored in the controller is changed from analog data to digital data, the attribute information of the data of the management point is also changed from analog data to digital data in the host device. Thus, the data read from the controller can be appropriately processed.
しかし、コントローラに記憶されている属性情報を変更可能な上位装置が2台以上存在する場合、コントローラに記憶されている属性情報を変更しなかった他方の上位装置では、コントローラから読み出したデータを適切に処理することができなくなる。例えば、コントローラに記憶されているある管理ポイントのデータの属性情報をアナログデータからデジタルデータに変更した場合、他方の上位装置では、その管理ポイントのデータの属性情報がアナログデータのままとなることから、コントローラから読み出したデータを適切に処理することができなくなる。 However, if there are two or more host devices that can change the attribute information stored in the controller, the other host device that has not changed the attribute information stored in the controller should appropriately read the data read from the controller. Can no longer be processed. For example, if the attribute information of data of a management point stored in the controller is changed from analog data to digital data, the attribute information of the data of the management point remains analog data in the other host device. The data read from the controller cannot be properly processed.
この問題について、図10を用いて具体的に説明する。この例では、ネットワーク3を介して遠隔監視装置4がもう1つの上位装置として接続され、遠隔監視装置4でも専用OI2と同様にして、コントローラ1から読み出した差分のデータのメモリM3(大容量のメモリ)への蓄積が行われているものとする。
This problem will be specifically described with reference to FIG. In this example, a
ここで、遠隔監視装置4からコントローラ1内のデータの属性情報が変更されたとする。この場合、コントローラ1内の属性情報の変更と合わせて、遠隔監視装置4でもその装置(遠隔監視装置4)内の属性情報を変更する。このため、コントローラ1内の属性情報と遠隔監視装置4内の属性情報とが同じとなり、遠隔監視装置4では、コントローラ1から読み出したデータを適切に処理することができる。
Here, it is assumed that the attribute information of the data in the
しかし、専用OI2では、遠隔監視装置4からコントローラ1内のデータの属性情報が変更されても、それを知ることができず、専用OI2内の属性情報は変更されない。このため、専用OI2では、コントローラ1内の属性情報が変更された後も、変更される前の属性情報のままとなり、コントローラ1から読み出したデータを適切に処理することができなくなる。
However, in the
本発明は、このような課題を解決するためになされたもので、その目的とするところは、上位装置が複数存在する場合であっても、上位装置において、データの属性を見誤ることなく、コントローラから読み出したデータを適切に処理することが可能なデータ収集システムを提供することにある。 The present invention was made in order to solve such a problem, and the object of the present invention is to avoid misrecognizing data attributes even in the case where there are a plurality of higher-level devices. An object of the present invention is to provide a data collection system capable of appropriately processing data read from a controller.
このような目的を達成するために本発明は、管理対象(P)から周期的にデータを収集するように構成されたデータ収集部(11)と、このデータ収集部によって収集されたデータが記憶される第1のメモリ(M1)と、この第1のメモリに記憶されるデータにそのデータが収集される管理対象を媒介として紐付けられる属性情報を記憶する第1の属性情報記憶部(12)とを備えたコントローラ(1)と、コントローラに定期的にアクセスし、第1のメモリに記憶されている前回から今回までの差分のデータを読み出すように構成された差分データ読出部(21)と、この差分データ読出部によって読み出された差分のデータが蓄積される第1のメモリよりも大容量の第2のメモリ(M2)と、この第2のメモリに蓄積されるデータにそのデータが収集される管理対象を媒介として紐付けられる属性情報を記憶する第2の属性情報記憶部(22)とを備えた複数の上位装置(2,4)とを備えたデータ収集システムであって、コントローラ(1)は、データ収集部が収集したデータを第1のメモリに記憶させる際にそのデータに第1の属性情報記憶部に記憶されている属性情報に対応する識別情報を付加するように構成された識別情報付加部(13)と、第1の属性情報記憶部に記憶されている属性情報が変更される毎に識別情報を変更するように構成された識別情報変更部(CNT)とを備え、上位装置(2,4)は、差分データ読出部がコントローラから差分のデータを読み出す毎に、その差分のデータに付加されている識別情報が変更されているか否かを確認し、識別情報が変更されていることを確認した場合、コントローラ内の第1の属性情報記憶部に記憶されている属性情報を読み出して、第2の属性情報記憶部に記憶されている属性情報を書き替えるように構成された属性情報書替部(24)を備えることを特徴とする。 In order to achieve such an object, the present invention stores a data collection unit (11) configured to periodically collect data from a management target (P), and data collected by the data collection unit. First memory (M1), and a first attribute information storage unit (12) for storing attribute information associated with data stored in the first memory through a management target from which the data is collected And a difference data reading unit (21) configured to periodically access the controller and read difference data from the previous time to the current time stored in the first memory. And the second memory (M2) having a larger capacity than the first memory in which the difference data read by the difference data reading unit is stored, and the data stored in the second memory A data collection system including a plurality of higher-level devices (2, 4) including a second attribute information storage unit (22) for storing attribute information associated with a management target from which data is collected The controller (1) adds the identification information corresponding to the attribute information stored in the first attribute information storage unit to the data collected by the data collection unit in the first memory. And an identification information changing unit (13) configured to change the identification information every time the attribute information stored in the first attribute information storage unit is changed. Each time the difference data reading unit reads the difference data from the controller, the host device (2, 4) checks whether the identification information added to the difference data has been changed. And identification information When it is confirmed that the attribute information has been changed, the attribute information stored in the first attribute information storage unit in the controller is read, and the attribute information stored in the second attribute information storage unit is rewritten. The attribute information rewriting part (24) comprised is provided.
本発明において、コントローラは、第1の属性情報記憶部に記憶されている属性情報が変更される毎に第1のメモリに記憶させるデータに付加する識別情報を変更する識別情報変更部を備えている。例えば、識別情報変更部として、第1の属性情報記憶部に記憶されている属性情報が変更される毎にそのカウント値を識別情報として変更するカウンタを設ける。この識別情報は、管理対象から収集したデータを第1のメモリに記憶させる際に、そのデータに付加される。 In the present invention, the controller includes an identification information changing unit that changes the identification information added to the data stored in the first memory every time the attribute information stored in the first attribute information storage unit is changed. Yes. For example, a counter that changes the count value as identification information every time the attribute information stored in the first attribute information storage unit is changed is provided as the identification information changing unit. This identification information is added to the data collected from the management target when the data is stored in the first memory.
本発明において、上位装置は、差分データ読出部がコントローラから差分のデータを読み出す毎に、その差分のデータに付加されている識別情報が変更されているか否かを確認する。ここで、識別情報が変更されていることを確認した場合、上位装置は、コントローラ内の第1の属性情報記憶部に記憶されている属性情報を読み出して、第2の属性情報記憶部に記憶されている属性情報を書き替える。すなわち、コントローラ内の属性情報が他の上位装置から変更されたと判断して、上位装置内の属性情報を書き替える。これにより、コントローラ内の属性情報と上位装置内の属性情報とが一致する。 In the present invention, each time the difference data reading unit reads the difference data from the controller, the higher-level device confirms whether or not the identification information added to the difference data is changed. Here, when it is confirmed that the identification information has been changed, the higher-level device reads out the attribute information stored in the first attribute information storage unit in the controller and stores it in the second attribute information storage unit. Rewrite the attribute information. That is, it is determined that the attribute information in the controller has been changed from another host device, and the attribute information in the host device is rewritten. As a result, the attribute information in the controller matches the attribute information in the host device.
なお、上記説明では、一例として、発明の構成要素に対応する図面上の構成要素を、括弧を付した参照符号によって示している。 In the above description, as an example, constituent elements on the drawing corresponding to the constituent elements of the invention are indicated by reference numerals with parentheses.
以上説明したように、本発明によれば、コントローラから差分のデータを読み出す毎に、その差分のデータに付加されている識別情報が変更されているか否かを確認し、識別情報が変更されていることを確認した場合、コントローラに記憶されている属性情報を読み出して上位装置内の属性情報を書き替えるようにしたので、上位装置が複数存在する場合であっても、コントローラ内の属性情報と上位装置内の属性情報とを一致させるようにして、上位装置において、データの属性を見誤ることなく、コントローラから読み出したデータを適切に処理することが可能となる。 As described above, according to the present invention, every time the difference data is read from the controller, it is confirmed whether or not the identification information added to the difference data is changed, and the identification information is changed. Since the attribute information stored in the controller is read and the attribute information in the host device is rewritten, the attribute information in the controller can be changed even if there are multiple host devices. By matching the attribute information in the host device, the host device can appropriately process the data read from the controller without mistaking the data attribute.
以下、本発明の実施の形態を図面に基づいて詳細に説明する。図1は本発明の実施の形態に係るデータ収集システムの概略を示す図である。同図において、図10と同一符号は図10を参照して説明した構成要素と同一或いは同等の構成要素を示し、その説明は省略する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. FIG. 1 is a diagram showing an outline of a data collection system according to an embodiment of the present invention. 10, the same reference numerals as those in FIG. 10 denote the same or equivalent components as those described with reference to FIG. 10, and the description thereof will be omitted.
このデータ収集システムにおいて、コントローラ1は、コントローラ1内に記憶されている属性情報が変更される毎にそのカウント値がアップされるカウンタCNTを備えている。
In this data collection system, the
このカウンタCNTがカウントするカウント値は、管理ポイントP1〜PNから収集したデータをメモリM1に記憶させる際に、コントローラ1内に記憶されている属性情報に対応して定められる識別情報として、そのデータに付加される。この識別情報は、コントローラ1内に記憶されている属性情報が変更されたか否かを判断するための情報として用いられる。この例において、カウンタCNTのカウント値(識別情報)は、最初は「0」とされている。以下、データに付加される識別情報をIDとも呼ぶ。
The count value counted by the counter CNT is used as identification information determined corresponding to the attribute information stored in the
このデータ収集システムにおいて、専用OI2および遠隔監視装置4には、コントローラ1に記憶されている属性情報と同じ属性情報が設定され、記憶されている。すなわち、専用OI2およびコントローラ1のそれぞれにおいて、管理ポイントPを媒介としてデータに紐付けられる属性情報(データと属性情報との対応関係)が同じとされている。このため、専用OI2のメモリM2に蓄積されるデータや遠隔監視装置4のメモリM3に蓄積されるデータにも、コントローラ1と同じ属性情報が管理ポイントPを媒介として紐付けられる。
In this data collection system, the same attribute information as the attribute information stored in the
また、専用OI2には、専用OI2に記憶されている属性情報に対応するIDが最新のIDとして記憶されている。また、遠隔監視装置4にも、遠隔監視装置4に記憶されている属性情報に対応するIDが最新のIDとして記憶されている。この例では、専用OI2および遠隔監視装置4の何れにも、最新のIDとして「0」が記憶されている。
In the dedicated OI2, an ID corresponding to the attribute information stored in the dedicated OI2 is stored as the latest ID. The
〔遠隔監視装置からのコントローラ内の属性情報の変更〕
今、遠隔監視装置4からコントローラ1内の属性情報の変更が行われるものとする(図2参照)。この場合、ユーザは、遠隔監視装置4内の属性情報を変更する。遠隔監視装置4は、このユーザからの属性情報の変更内容を読み出して(図3:ステップS101)、変更があったことを確認すると(ステップS102のYES)、コントローラ1へその属性情報の変更内容を送る(ステップS103)。
[Change of attribute information in the controller from the remote monitoring device]
Now, it is assumed that the attribute information in the
コントローラ1は、遠隔監視装置4からの属性情報の変更内容を受信すると(図4:ステップS201のYES)、遠隔監視装置4内の属性情報の変更を行う(ステップS202)。そして、カウンタCNTのカウント値をアップする(ステップS203)。この場合、カウンタCNTのカウント値は「1」となる。
When receiving the change contents of the attribute information from the remote monitoring device 4 (FIG. 4: YES in step S201), the
そして、コントローラ1は、このカウンタCNTのカウント値「1」を遠隔監視装置4へ返送する(ステップS204)。遠隔監視装置4は、コントローラ1からカウント値「1」が返送されてくると、そのカウント値「1」を最新のIDとして書き替える(図3:ステップS104)。
Then, the
コントローラ1は、データ収集タイミングとなると(ステップS205のYES)、管理ポイントP1〜PNからデータを収集し(ステップS206)、この収集したデータをメモリM1に記憶させる。この際、コントローラ1は、メモリM1に記憶させるデータにカウンタCNTのカウント値をIDとして付加する(ステップS207)。
At the data collection timing (YES in step S205), the
専用OI2は、データ読み出しタイミングとなると(図3:ステップS105のYES)、コントローラ1のメモリM1に記憶されている前回から今回までの差分のデータを読み出す(ステップS106)。そして、その差分のデータに付加されているIDと専用OI2が記憶している最新のIDとを比較し、専用OI2が記憶している最新のIDと異なるIDが付加されているデータがあるか否かを確認する(ステップS107)。
The
コントローラ1において、属性情報が変更された後は、メモリM1に記憶されるデータに付加されるIDは変更される。このため、ステップS107において、専用OI2は、専用OI2が記憶している最新のIDとは異なるIDが付加されているデータがあると判断する(IDの変更を検出する)。
In the
IDの変更を検出すると(ステップS107のYES)、専用OI2は、読み出したデータのうちID変更前のデータなどをファイルに出力し(ステップS108)、コントローラ1から最新の属性情報とカウンタCNTのカウント値を読み出し(ステップS109)、専用OI2内の属性情報と最新のIDを書き替える(ステップS110)。そして、コントローラ1のメモリM1から読み出した差分のデータをメモリM2に蓄積する(ステップS111)。
When the change of ID is detected (YES in step S107), the
専用OI2において、専用OI2内の属性情報と最新のIDを書き替えた後は、コントローラ1から読み出される差分のデータに付加されているIDと専用OI2が記憶している最新のIDとは一致する(ステップS107のNO)。このため、専用OI2は、ステップS108〜S110を経ずに、コントローラ1から読み出した差分のデータをメモリM2へ蓄積する(ステップS111)。
In the dedicated OI2, after the attribute information in the dedicated OI2 and the latest ID are rewritten, the ID added to the difference data read from the
このようにして、本実施の形態では、遠隔監視装置4からコントローラ1内の属性情報の変更が行われた場合、専用OI2内の属性情報が最新の属性情報に書き替えられるものとなり、コントローラ1内の属性情報と専用OI2内の属性情報とが一致し、専用OI2においても、データの属性を見誤ることなく、コントローラ1から読み出したデータを適切に処理することができる。
Thus, in this embodiment, when the attribute information in the
なお、上述では、遠隔監視装置4からコントローラ1内の属性情報が変更された場合を例にとって説明したが、専用OI2からコントローラ1内の属性情報が変更された場合にも同様にして、遠隔監視装置4内に記憶されている属性情報が最新の属性情報に書き替えられるものとなり、コントローラ1内の属性情報と遠隔監視装置4内の属性情報とが一致し、遠隔監視装置4においても、データの属性を見誤ることなく、コントローラ1から読み出したデータを適切に処理することができる。
In the above description, the case where the attribute information in the
図5にコントローラ1の要部の機能ブロック図を示す。コントローラ1は、プロセッサや記憶装置からなるハードウェアと、これらのハードウェアと協働して各種機能を実現させるプログラムとによって実現され、データ収集部11と、メモリM1と、属性情報記憶部12と、カウンタCNTと、識別情報付加部13と、属性情報変更内容受信部14とを備えている。
FIG. 5 shows a functional block diagram of the main part of the
コントローラ1において、データ収集部11は、管理ポイントP1〜PNから周期的にデータを収集する。メモリM1には、データ収集部11によって収集されたデータが記憶される。属性情報記憶部12には、メモリM1に記憶されるデータにそのデータが収集される管理ポイントPを媒介として紐付けられる属性情報が記憶される。属性情報変更内容受信部14は、上位装置(専用OI2、遠隔監視装置4)ら送られてくる属性情報の変更内容を受信する。
In the
カウンタCNTは、上位装置から送られてくる属性情報の変更内容を属性情報変更内容受信部14が受信する毎に、そのカウント値をアップする。識別情報付加部13は、データ収集部11が収集したデータをメモリM1に記憶させる際に、そのデータにカウンタCNTからのカウント値をIDとして付加する。
The counter CNT increases the count value every time the attribute information change
図6に上位装置(専用OI2、遠隔監視装置4)の要部の機能ブロック図を示す。図6には、上位装置を代表して、専用OI2の要部の機能ブロック図を示している。遠隔監視装置4も同様の機能を備えている。
FIG. 6 shows a functional block diagram of the main part of the host device (
専用OI2は、差分データ読出部21と、メモリM2と、属性情報記憶部22と、識別情報記憶部23と、属性情報書替部24とを備えている。専用OI2も、コントローラ1と同様、プロセッサや記憶装置からなるハードウェアと、これらのハードウェアと協働して各種機能を実現させるプログラムとによって実現される。
The
専用OI2において、差分データ読出部21は、コントローラ1に定期的にアクセスし、メモリM1に記憶されている前回から今回までの差分のデータを読み出す。メモリM2には、差分データ読出部21によって読み出された差分のデータが蓄積される。属性情報記憶部22には、メモリM2に蓄積されるデータにそのデータが収集される管理ポイントPを媒介として紐付けられる属性情報が記憶される。識別情報記憶部23には、属性情報記憶部22に記憶されている属性情報に対応する識別情報(ID)が最新のIDとして記憶される。
In the
属性情報書替部24は、差分データ読出部21がコントローラ1から差分のデータを読み出す毎に、その差分のデータに付加されているIDと識別情報記憶部23に記憶されている最新のIDとを比較し、最新のIDと異なるIDがあった場合、コントローラ1内の属性情報記憶部12に記憶されている属性情報を読み出して、属性情報記憶部22に記憶されている属性情報を書き替えるとともに、識別情報記憶部23に記憶されている最新のIDを書き替え後の属性情報に対応するIDに書き替える。
Each time the difference
本実施の形態において、属性情報書替部24は、コントローラ1内のカウンタCNTからカウント値を読み出し、この読み出したカウント値を新しい最新のIDとして識別情報記憶部23に記憶されている最新のIDを書き替えるが(図3:ステップS109,S110)、ステップS107で変更あり判断されたIDを新しい最新のIDとして識別情報記憶部23に記憶されている最新のIDを書き替えるようにしてもよい。
In the present embodiment, the attribute
また、上述した例では、上位装置を専用OI2と遠隔監視装置4の2つとしたが、上位装置は2つに限られるものでないことは言うまでもない。また、上位装置では、差分のデータに付加されているIDの変更を検出することができればよく、必ずしも最新のIDをIDの変更の検出に用いなくてもよい。例えば、差分のデータに付加されているID同士を比較することによって、IDが変更されたことを検出するようにしてもよい。
Further, in the above-described example, two upper devices, the
〔実施の形態の拡張〕
以上、実施の形態を参照して本発明を説明したが、本発明は上記の実施の形態に限定されるものではない。本発明の構成や詳細には、本発明の技術思想の範囲内で当業者が理解し得る様々な変更をすることができる。
[Extension of the embodiment]
The present invention has been described above with reference to the embodiment. However, the present invention is not limited to the above embodiment. 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 technical idea of the present invention.
1…コントローラ、2…専用OI、3…ネットワーク、4…遠隔監視装置、11…データ収集部、12…属性情報記憶部、13…識別情報付加部、14…属性情報変更内容受信部、21…差分データ読出部、22…属性情報記憶部、23…識別情報記憶部、24…属性情報書替部、CNT…カウンタ、M1〜M3…メモリ、P(P1〜PN)…管理ポイント。
DESCRIPTION OF
Claims (3)
前記コントローラに定期的にアクセスし、前記第1のメモリに記憶されている前回から今回までの差分のデータを読み出すように構成された差分データ読出部と、この差分データ読出部によって読み出された差分のデータが蓄積される前記第1のメモリよりも大容量の第2のメモリと、この第2のメモリに蓄積されるデータにそのデータが収集される前記管理対象を媒介として紐付けられる属性情報を記憶する第2の属性情報記憶部とを備えた複数の上位装置とを備えたデータ収集システムであって、
前記コントローラは、
前記データ収集部が収集したデータを前記第1のメモリに記憶させる際にそのデータに前記第1の属性情報記憶部に記憶されている属性情報に対応する識別情報を付加するように構成された識別情報付加部と、
前記第1の属性情報記憶部に記憶されている属性情報が変更される毎に前記識別情報を変更するように構成された識別情報変更部とを備え、
前記上位装置は、
前記差分データ読出部が前記コントローラから差分のデータを読み出す毎に、その差分のデータに付加されている識別情報が変更されているか否かを確認し、識別情報が変更されていることを確認した場合、前記コントローラ内の前記第1の属性情報記憶部に記憶されている属性情報を読み出して、前記第2の属性情報記憶部に記憶されている属性情報を書き替えるように構成された属性情報書替部
を備えることを特徴とするデータ収集システム。 A data collection unit configured to periodically collect data from the management target, a first memory in which data collected by the data collection unit is stored, and data stored in the first memory A controller including a first attribute information storage unit that stores attribute information associated with the management target from which the data is collected;
The difference data reading unit configured to periodically access the controller and read the difference data from the previous time to the current time stored in the first memory, and read by the difference data reading unit A second memory having a larger capacity than the first memory in which the difference data is stored, and an attribute associated with the data to be stored in the second memory via the management target from which the data is collected A data collection system comprising a plurality of higher-level devices comprising a second attribute information storage unit for storing information,
The controller is
When the data collected by the data collection unit is stored in the first memory, identification information corresponding to the attribute information stored in the first attribute information storage unit is added to the data. An identification information adding unit;
An identification information changing unit configured to change the identification information each time the attribute information stored in the first attribute information storage unit is changed,
The host device is
Each time the difference data reading unit reads the difference data from the controller, it is confirmed whether or not the identification information added to the difference data has been changed, and the identification information has been changed. Attribute information stored in the first attribute information storage unit in the controller is read, and the attribute information stored in the second attribute information storage unit is rewritten. A data collection system comprising a rewriting unit.
前記上位装置は、
前記第2の属性情報記憶部に記憶されている属性情報に対応する識別情報を最新の識別情報として記憶する識別情報記憶部を備え、
前記属性情報書替部は、
前記差分データ読出部が前記コントローラから差分のデータを読み出す毎に、その差分のデータに付加されている識別情報と前記識別情報記憶部に記憶されている最新の識別情報とを比較し、最新の識別情報と異なる識別情報があった場合、前記コントローラ内の前記第1の属性情報記憶部に記憶されている属性情報を読み出して、前記第2の属性情報記憶部に記憶されている属性情報を書き替えるとともに、前記識別情報記憶部に記憶されている最新の識別情報を書き替え後の属性情報に対応する識別情報に書き替える
ことを特徴とするデータ収集システム。 The data collection system of claim 1, wherein
The host device is
An identification information storage unit that stores identification information corresponding to the attribute information stored in the second attribute information storage unit as the latest identification information;
The attribute information rewriting unit
Each time the difference data reading unit reads the difference data from the controller, the identification information added to the difference data is compared with the latest identification information stored in the identification information storage unit. When there is identification information different from the identification information, the attribute information stored in the first attribute information storage unit in the controller is read, and the attribute information stored in the second attribute information storage unit is read out. The data collection system characterized by rewriting and rewriting the newest identification information memorize | stored in the said identification information storage part to the identification information corresponding to the attribute information after rewriting.
前記識別情報変更部は、
前記第1の属性情報記憶部に記憶されている属性情報が変更される毎にそのカウント値を前記識別情報として変更するカウンタとされている
ことを特徴とするデータ収集システム。 In the data collection system according to claim 1 or 2,
The identification information changing unit
The data collection system, wherein the attribute information stored in the first attribute information storage unit is a counter that changes the count value as the identification information each time the attribute information is changed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018059338A JP6943799B2 (en) | 2018-03-27 | 2018-03-27 | Data collection system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018059338A JP6943799B2 (en) | 2018-03-27 | 2018-03-27 | Data collection system |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2019176221A true JP2019176221A (en) | 2019-10-10 |
JP6943799B2 JP6943799B2 (en) | 2021-10-06 |
Family
ID=68169000
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2018059338A Active JP6943799B2 (en) | 2018-03-27 | 2018-03-27 | Data collection system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6943799B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7374379B1 (en) * | 2022-10-14 | 2023-11-06 | 三菱電機株式会社 | Data collection device, data collection system, database creation method and program |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11312194A (en) * | 1998-04-28 | 1999-11-09 | Ntt Power And Building Facilities Inc | Building management system |
JP2006215999A (en) * | 2005-02-07 | 2006-08-17 | Keyence Corp | Data collection system |
JP2009122820A (en) * | 2007-11-13 | 2009-06-04 | Yamatake Corp | Remote monitoring information collection system, remote monitoring information collection device, monitoring terminal, and remote monitoring information collection method |
JP2011215984A (en) * | 2010-04-01 | 2011-10-27 | Mitsubishi Electric Corp | Apparatus and method for processing data and program |
JP2013137704A (en) * | 2011-12-28 | 2013-07-11 | Azbil Corp | Equipment management device and equipment management method |
CN104915227A (en) * | 2015-05-25 | 2015-09-16 | 努比亚技术有限公司 | Multi-source and multithread software upgrading method and system |
JP2018036938A (en) * | 2016-09-01 | 2018-03-08 | アズビル株式会社 | Facility management system, facility management device, controller, and facility management method |
-
2018
- 2018-03-27 JP JP2018059338A patent/JP6943799B2/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11312194A (en) * | 1998-04-28 | 1999-11-09 | Ntt Power And Building Facilities Inc | Building management system |
JP2006215999A (en) * | 2005-02-07 | 2006-08-17 | Keyence Corp | Data collection system |
JP2009122820A (en) * | 2007-11-13 | 2009-06-04 | Yamatake Corp | Remote monitoring information collection system, remote monitoring information collection device, monitoring terminal, and remote monitoring information collection method |
JP2011215984A (en) * | 2010-04-01 | 2011-10-27 | Mitsubishi Electric Corp | Apparatus and method for processing data and program |
JP2013137704A (en) * | 2011-12-28 | 2013-07-11 | Azbil Corp | Equipment management device and equipment management method |
CN104915227A (en) * | 2015-05-25 | 2015-09-16 | 努比亚技术有限公司 | Multi-source and multithread software upgrading method and system |
JP2018036938A (en) * | 2016-09-01 | 2018-03-08 | アズビル株式会社 | Facility management system, facility management device, controller, and facility management method |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7374379B1 (en) * | 2022-10-14 | 2023-11-06 | 三菱電機株式会社 | Data collection device, data collection system, database creation method and program |
WO2024079892A1 (en) * | 2022-10-14 | 2024-04-18 | 三菱電機株式会社 | Data collecting apparatus, data collecting system, database creating method and program |
Also Published As
Publication number | Publication date |
---|---|
JP6943799B2 (en) | 2021-10-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108053863B (en) | Mass medical data storage system and data storage method suitable for large and small files | |
KR102511271B1 (en) | Method and device for storing and querying time series data, and server and storage medium therefor | |
US20120030260A1 (en) | Scalable and parallel garbage collection method and system for incremental backups with data de-duplication | |
JP5353540B2 (en) | Operation history collection device, operation history collection method, and program | |
CN108932286B (en) | Data query method and device | |
CN111177144B (en) | Table synchronization method, apparatus, device, storage medium and system | |
CN111600746A (en) | Network fault positioning method, device and equipment | |
US7734769B2 (en) | Monitoring system of apparatuses connected in a network, monitoring apparatus, monitoring method and program | |
US10681499B2 (en) | Methods and systems for evaluating applications in an application distribution platform | |
KR20160107384A (en) | File system creating and deleting apparatus and driving method thereof | |
US9658924B2 (en) | Event data merge system in an event historian | |
JP2019176221A (en) | Data collection system | |
JP2010231744A (en) | Information processing apparatus, program and image data management method | |
CN112822289A (en) | Data uploading and reading method, system, equipment and storage medium | |
CN103645967B (en) | A kind of read-only materialized view rollback method and device | |
CN110955562A (en) | Data recovery method, system, equipment and readable storage medium | |
CN110955460A (en) | Service process starting method and device, electronic equipment and storage medium | |
CN115757280A (en) | Cloud document management system based on distributed document storage | |
JP7043996B2 (en) | Equipment configuration management equipment, systems, and programs | |
JP5868766B2 (en) | Plant data storage device, plant data storage method, and plant data storage program | |
CN109582680B (en) | Business processing method based on new product development, electronic device and readable storage medium | |
CN113779426A (en) | Data storage method and device, terminal equipment and storage medium | |
JP5365251B2 (en) | File storage system | |
JP2013196561A (en) | Update device, update method, and update program | |
JPWO2020049746A1 (en) | Database equipment, programs, and data processing methods |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20200911 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20210730 |
|
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: 20210817 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20210909 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6943799 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |