JP5123129B2 - History information management system - Google Patents
History information management system Download PDFInfo
- Publication number
- JP5123129B2 JP5123129B2 JP2008255429A JP2008255429A JP5123129B2 JP 5123129 B2 JP5123129 B2 JP 5123129B2 JP 2008255429 A JP2008255429 A JP 2008255429A JP 2008255429 A JP2008255429 A JP 2008255429A JP 5123129 B2 JP5123129 B2 JP 5123129B2
- Authority
- JP
- Japan
- Prior art keywords
- history
- history information
- start time
- received
- 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.)
- Active
Links
Images
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Description
本発明は、機器に設けられたセンサにより監視した情報を、広域網のようなネットワークを通して管理装置が蓄積することにより、センサにより監視した情報の履歴を管理装置において管理する履歴情報管理システムに関するものである。 The present invention relates to a history information management system in which information monitored by a sensor provided in a device is accumulated by a management device through a network such as a wide area network, whereby the history of information monitored by the sensor is managed by the management device. It is.
従来から、住宅や店舗のような建物に設置された機器について、機器にセンサを設けるとともに、センサにより監視した情報をインターネットのような広域網を通して管理装置となるセンターサーバに蓄積し、センターサーバにおいて情報の履歴を管理する技術が種々提案されている。センサにより監視する情報は、たとえば、機器の運転状態(消費電力や累積運転時間など)や機器の異常の有無であり、あるいはまた、防災機器あるいは防犯機器における発報の有無である。 Conventionally, for devices installed in buildings such as houses and stores, sensors are provided on the devices, and information monitored by the sensors is stored in a center server serving as a management device through a wide area network such as the Internet. Various techniques for managing the history of information have been proposed. The information monitored by the sensor is, for example, the operation state of the device (power consumption, accumulated operation time, etc.), the presence / absence of an abnormality of the device, or the presence / absence of a report in the disaster prevention device or the security device.
特許文献1には、電力量を監視するセンサを備えた機器である電力量計での計測結果(電力使用量)や他のセンサでの検知結果を、広域網を利用したVPN(バーチャルプライベートネットワーク)や専用線などのネットワークを通して、管理装置(センターサーバ)である個人情報管理システムに送信し、個人情報管理システムに設けた利用者個人情報データベースに蓄積する技術が開示されている。
また、センサでの計測結果や検知結果をメモリに書き込んだ後、ある周期でメモリから読み出してネットワークに送出している。すなわち、機器は、センサを備えるとともに、センサによる検出結果を一時的に記憶する履歴一時記憶部(メモリ)を備えている。この履歴一時記憶部には、センサでの計測結果や検知結果が一定の時間間隔で検出時刻とともに格納される。さらに、履歴一時記憶部には、センサの種類を区別するためにデータ種別も格納される。 In addition, after the sensor measurement results and detection results are written to the memory, they are read from the memory at a certain period and sent to the network. That is, the device includes a sensor and a history temporary storage unit (memory) that temporarily stores a detection result of the sensor. In the history temporary storage unit, the measurement results and detection results of the sensors are stored together with the detection times at regular time intervals. Further, the data type is also stored in the history temporary storage unit in order to distinguish the sensor type.
履歴一時記憶部に蓄積された複数個の計測結果(以下では、検出結果を含めて計測結果という)は、ネットワークを通して個人情報管理システムに送信されるから、個人情報管理システムでは利用者個人情報データベースにすでに格納されている計測結果と結合して格納することになる。 Since a plurality of measurement results (hereinafter referred to as measurement results including detection results) accumulated in the history temporary storage unit are transmitted to the personal information management system through the network, the personal information management system uses a user personal information database. Will be stored in combination with the measurement results already stored in.
以上のことから、特許文献1に記載の技術では、利用者宅に1台設けたサービス利用者宅ゲートウェイにユニークな番号であるサービス利用者宅GWIDおよびデータ種別を用いて蓄積の可否を判断していると言える。以下では、センサによる複数回の計測結果の集合を履歴情報と呼び、センサを備える機器で蓄積した履歴情報と、管理装置であるセンターサーバに以前に蓄積されている履歴情報とを結合する処理について考察する。
From the above, in the technology described in
履歴一時記憶部へのセンサでの計測結果の蓄積は、図4(a)に示すように、機器の初回起動時の起動処理完了などをトリガとして開始される。すなわち、初回起動時のトリガが発生すると、トリガの発生時刻が履歴開始時刻T0として履歴一時記憶部とは別に設けた開始時刻記憶部に格納される。 Accumulation of the measurement result by the sensor in the history temporary storage unit is started by using, for example, the completion of the activation process at the first activation of the device as a trigger, as shown in FIG. That is, when a trigger at the first activation occurs, the trigger generation time is stored as a history start time T0 in a start time storage unit provided separately from the history temporary storage unit.
図示例では、履歴開始時刻T0の後に一定の時間Pが経過して最初の取得時刻T1になった時点で、センサの計測結果(センサ情報V1)を取り込み、図4(b)のように、センサ情報V1を取得時刻T1と関係付けて履歴一時記憶部に格納している。以後は同様の処理であって、一定の時間Pが経過するたびに、センサ情報V2,V3,……を取得時刻T2,T3,……に関係付けて履歴一時記憶部に格納する。図4(b)は、開始時刻記憶部と履歴一時記憶部とを含む機器側記憶部における記憶内容の推移を示しており、「センサ情報」の上段の「時刻」は取得時刻を意味する。上述のようにして機器側記憶部には、センサ情報V1,V2,V3,……が取得時刻T1,T2,T3,……とともに履歴情報として蓄積される。 In the illustrated example, when a certain time P elapses after the history start time T0 and the first acquisition time T1 is reached, the sensor measurement result (sensor information V1) is taken in, as shown in FIG. The sensor information V1 is stored in the history temporary storage unit in association with the acquisition time T1. Thereafter, the same processing is performed, and each time a predetermined time P elapses, the sensor information V2, V3,... Is associated with the acquisition times T2, T3,. FIG. 4B shows the transition of the storage contents in the device-side storage unit including the start time storage unit and the history temporary storage unit, and “time” in the upper part of “sensor information” means acquisition time. As described above, the sensor information V1, V2, V3,... Is stored as history information together with the acquisition times T1, T2, T3,.
ところで、機器はインターネットなどの広域網のようなネットワークを通して管理装置であるセンターサーバと通信可能であって、機器に蓄積された履歴情報をセンターサーバに通知することが可能になっている。機器には利用者が操作するインターフェイスとして押釦スイッチのような通知操作部が設けられており、機器側記憶部に記憶された履歴情報をセンターサーバに通知する際には通知操作部を操作する。 By the way, the device can communicate with a center server which is a management apparatus through a network such as a wide area network such as the Internet, and the history information stored in the device can be notified to the center server. The device is provided with a notification operation unit such as a push button switch as an interface operated by the user, and operates the notification operation unit when notifying the center server of the history information stored in the device-side storage unit.
センターサーバでは、複数の機器からの履歴情報を受信するから、履歴情報を受信するたびにセンサ別に履歴情報を対応付ける必要がある。たとえば、センターサーバが、1個のセンサに関して蓄積している履歴情報が図5(a)の内容であるときに、同じセンサについて図5(b)のような履歴情報を受信したとする。センサの区別にはセンサの設置場所などについて固有(ユニーク)であるセンサ識別情報を用いる。 Since the center server receives history information from a plurality of devices, it is necessary to associate the history information with each sensor every time the history information is received. For example, suppose that the center server receives history information as shown in FIG. 5B for the same sensor when the history information stored for one sensor has the contents shown in FIG. For sensor discrimination, sensor identification information that is unique (unique) about the installation location of the sensor and the like is used.
センサ識別情報は、機器ごとに固有(ユニーク)である機器識別情報とは異なり、機器の故障などにより機器を交換したとしてもセンサ識別情報は同じ情報が付与される。たとえば、機器を設置した建物や機器の利用者に付与される識別情報(アドレスなど)と、建物内で各機器を区別するために付与した識別情報との組み合わせとしてセンサ識別情報を設定する。 Unlike the device identification information that is unique (unique) for each device, the sensor identification information is given the same information even if the device is replaced due to a failure of the device. For example, sensor identification information is set as a combination of identification information (such as an address) given to a building where the device is installed or a user of the device, and identification information given to distinguish each device in the building.
すなわち、機器から履歴情報を送信する際に、センサ識別情報を履歴情報と併せて送信することにより、センターサーバにおいてセンサを特定する。ただし、機器から履歴情報をセンターサーバに送信する際には、後述する理由によって、センサ識別情報だけではなく、機器識別情報も併せて送信する。さらに、履歴情報の送信毎に、履歴開始時刻T0もセンターサーバに通知され、センターサーバにおいて履歴開始時刻T0′として記憶される。 That is, when the history information is transmitted from the device, the sensor is specified in the center server by transmitting the sensor identification information together with the history information. However, when the history information is transmitted from the device to the center server, not only the sensor identification information but also the device identification information is transmitted together for the reason described later. Further, each time history information is transmitted, the history start time T0 is also notified to the center server and stored as the history start time T0 ′ in the center server.
図示例では、1個のセンサに関してすでに蓄積している履歴情報(「以前の履歴情報」という)と新たに受信した履歴情報とにおいて、取得時刻T3におけるセンサ情報V3が重複している場合を示している。このような場合には、新たに受信した履歴情報を優先し、取得時刻T3におけるセンサ情報V3を上書きして履歴情報として採用する。 In the illustrated example, there is shown a case where the sensor information V3 at the acquisition time T3 is duplicated between the history information already accumulated for one sensor (referred to as “previous history information”) and the newly received history information. ing. In such a case, the newly received history information is prioritized, and the sensor information V3 at the acquisition time T3 is overwritten and used as history information.
また、重複していない履歴情報については、新たに受信した履歴情報の取得時刻(T3,T4,T5)が履歴開始時刻T0より新しく、かつ新たに受信した履歴情報の取得時刻(T3,T4,T5)の最初の取得時刻T3が、以前の履歴情報の取得時刻(T1,T2,T3)のうちの最後の取得時刻T3以後(最後の取得時刻T3を含む)であれば、正しい履歴情報と判断し、図5(c)のように、新たな履歴情報を以前の履歴情報と結合して蓄積する。 For the history information that is not duplicated, the newly received history information acquisition time (T3, T4, T5) is newer than the history start time T0, and the newly received history information acquisition time (T3, T4, T4). If the first acquisition time T3 of T5) is after the last acquisition time T3 (including the last acquisition time T3) of the acquisition times (T1, T2, T3) of the previous history information, the correct history information and As shown in FIG. 5C, the new history information is combined with the previous history information and accumulated.
以上の処理により、センターサーバでは、機器から履歴情報を受信するたびに各センサごとの履歴情報を連結して蓄積することができる。つまり、履歴情報を受信するたびに、以前の履歴情報に対して新しい履歴情報を追加し、以前の履歴情報を更新するのである。 Through the above processing, the history information for each sensor can be linked and accumulated in the center server every time history information is received from the device. That is, every time history information is received, new history information is added to the previous history information, and the previous history information is updated.
ただし、機器から受信した履歴情報がセンターサーバに蓄積されている履歴情報に連結することを必要としない場合(たとえば、機器から受信した履歴情報の取得時刻(T3,T4,T5)が機器から受信した履歴開始時刻T0よりも前である場合)には、履歴情報について矛盾が生じていると判断し、履歴開始時刻T0よりも前の取得時刻である履歴情報をセンターサーバから削除する。これは、最新の履歴情報を正しいものとするというルールによる。 However, the history information received from the device does not need to be linked to the history information stored in the center server (for example, the acquisition time (T3, T4, T5) of the history information received from the device is received from the device). If it is before the history start time T0), it is determined that there is a contradiction in the history information, and the history information that is the acquisition time before the history start time T0 is deleted from the center server. This is based on the rule that the latest history information is correct.
ところで、機器が電力量計であるとすると、機器の故障や寿命などによって機器の交換を行ったときに、交換後の機器による履歴情報と交換前の機器による履歴情報との結合が要求される。交換前の機器に関する履歴情報はセンターサーバに蓄積されているから、交換後の機器からセンターサーバに送信した履歴情報を、センターサーバに蓄積されている複数の履歴情報のいずれに結合するかを決めなければならない。 By the way, if the device is a watt-hour meter, when the device is replaced due to the failure or the life of the device, it is required to combine the history information from the replaced device with the history information from the device before the replacement. . Since history information related to the device before replacement is stored in the center server, it is determined which of the history information transmitted from the replaced device to the center server is combined with the history information stored in the center server. There must be.
履歴情報を単純に結合するだけであれば、センターサーバに蓄積されている履歴情報のセンサ識別情報と、機器から受信したセンサ識別情報とを照合するだけでもよいと考えられるが、センターサーバが機器から受信した履歴情報を機器の交換か否かにかかわらず同様に扱うと、センターサーバに蓄積されている履歴情報が交換後の機器の履歴開始時刻T0よりも古いことによって履歴情報に矛盾が生じ、交換後の機器による履歴情報をセンターサーバに蓄積されている履歴情報と結合することができず、しかも、履歴開始時刻T0よりも古い履歴情報は上述のように削除されるから、センターサーバに蓄積されている履歴情報が削除されることになる。 If the history information is simply combined, the sensor identification information of the history information stored in the center server may be compared with the sensor identification information received from the device. If the history information received from the device is handled in the same manner regardless of whether or not the device is exchanged, the history information stored in the center server is older than the history start time T0 of the device after the exchange, resulting in inconsistency in the history information. The history information from the replaced device cannot be combined with the history information stored in the center server, and history information older than the history start time T0 is deleted as described above. The accumulated history information is deleted.
そこで、機器識別情報も併せて用いることにより、機器の交換により生じた矛盾であることをセンターサーバに認識させ、履歴情報における取得時刻が履歴開始時刻T0よりも前であっても履歴情報の結合が可能になるようにしている。すなわち、センターサーバに機器識別情報を保存しておき、機器から受信した機器識別情報と照合することによって、両者が不一致であるときには機器が交換されたものと判断し、矛盾発生時の処理を無効化するのである。
ところで、上述した技術では、機器を交換したか否かをセンターサーバが受信する機器識別情報の変化により検出しているから、機器の交換を認識することができ、交換前の機器に関する履歴情報と交換後の機器に関する履歴情報とを結合して一連の履歴情報として扱うことができる。 By the way, in the above-described technique, whether or not a device has been replaced is detected based on a change in device identification information received by the center server. It can be combined with history information about the device after replacement and handled as a series of history information.
一方、機器の交換ではなく機器を工場出荷時の状態で起動するコールドスタートを行う場合がある。 コールドスタートは、主として機器への動作設定値の不良による問題を解消するために行われる。したがって、コールドスタートを行うと、機器においては蓄積されていた過去の履歴情報が消去され、履歴情報の蓄積が新たに開始される。 On the other hand, instead of replacing the device, there may be a cold start in which the device is activated in a factory default state. The cold start is mainly performed in order to solve the problem due to the failure of the operation setting value for the device. Therefore, when a cold start is performed, the past history information accumulated in the device is deleted, and accumulation of history information is newly started.
このことから、履歴開始時刻T0も更新されることになり、コールドスタート後の履歴情報を受信したセンターサーバでは、同じセンサ識別情報を持つ履歴情報に矛盾が生じるために、以前に蓄積した履歴情報を破棄することになる。すなわち、コールドスタート後の履歴情報をセンターサーバが受信すると、センターサーバにおいてコールドスタート前の履歴情報が失われてしまうという問題が生じる。 As a result, the history start time T0 is also updated, and in the center server that has received the history information after the cold start, the history information having the same sensor identification information is inconsistent. Will be discarded. That is, when the center server receives the history information after the cold start, there arises a problem that the history information before the cold start is lost in the center server.
本発明は上記事由に鑑みて為されたものであり、その目的は、管理装置において機器の交換を認識可能とすることにより履歴情報を結合するのはもちろんのこと、機器においてコールドスタートを行った場合も管理装置において履歴情報の結合を可能にした履歴情報管理システムを提供することにある。 The present invention has been made in view of the above-mentioned reasons, and its purpose is to perform a cold start in the device as well as to combine history information by enabling the management device to recognize the replacement of the device. In some cases, the present invention also provides a history information management system in which history information can be combined in a management apparatus.
本発明は、建物内に配置されセンサで検出されるセンサ情報とセンサ情報を取得した取得時刻とを関係付けて履歴情報として記憶する機器と、機器とは通信ネットワークを介して通信可能であって履歴情報を蓄積する管理装置とを有し、機器は、履歴情報を蓄積するとともに初回起動とコールドスタートとの一方が行われた時刻を履歴情報の取得を開始する時刻である履歴開始時刻として記憶する機器側記憶部と、機器側記憶部に蓄積した履歴情報および機器側記憶部に記憶した履歴開始時刻を管理装置に送信させる機器処理部とを有し、管理装置は、機器から受信した履歴情報を蓄積するとともに機器から受信した履歴開始時刻を記憶する履歴情報管理データベースと、機器から履歴情報を受信するたびに当該機器に関する履歴情報の連結の要否を判断し連結可能な履歴情報を履歴情報管理データベースに蓄積させる管理処理部とを有し、管理処理部は、同じセンサ情報に関係付けた履歴情報について、機器から履歴情報および履歴開始時刻を受信するたびに履歴情報管理データベースに格納されている履歴開始時刻と機器から受信した履歴開始時刻とを比較し、両方の履歴開始時刻が一致しているときは、履歴開始時刻よりも前の履歴情報を履歴情報管理データベースから削除した後に、機器から受信した履歴情報を履歴情報管理データベースに蓄積し、機器から受信した履歴開始時刻が履歴情報管理データベースに格納されている履歴開始時刻よりも後の時刻であるときには、履歴開始時刻よりも前の履歴情報を履歴情報管理データベースから削除せずに、機器から受信した履歴情報を履歴情報管理データベースに蓄積することを特徴とする。 The present invention relates to a device that stores sensor information, which is arranged in a building and detected by a sensor, and the acquisition time when the sensor information is acquired and stores it as history information, and the device can communicate via a communication network. The device stores the history information, and stores the history information as a history start time that is a time at which one of the initial activation and the cold start is started. And a device processing unit that causes the management device to transmit the history information stored in the device-side storage unit and the history start time stored in the device-side storage unit. A history information management database that stores information and stores the history start time received from the device, and links history information related to the device each time history information is received from the device. A management processing unit that determines whether it is necessary and accumulates connectable history information in a history information management database, and the management processing unit receives history information and history start time from the device for history information related to the same sensor information. The history start time stored in the history information management database is compared with the history start time received from the device each time the history start time is received. After deleting history information from the history information management database, the history information received from the device is accumulated in the history information management database, and the history start time received from the device is later than the history start time stored in the history information management database. If it is the time, the history information before the history start time is received from the device without being deleted from the history information management database. And wherein the accumulating gravel information in the history information management database.
また、前記管理処理部は、前記機器から受信した履歴開始時刻が前記履歴情報管理データベースに格納されている履歴開始時刻よりも前の時刻であるときには、履歴情報管理データベースの履歴開始時刻を機器から受信した履歴開始時刻に更新してもよい。 In addition, when the history start time received from the device is earlier than the history start time stored in the history information management database, the management processing unit determines the history start time of the history information management database from the device. You may update to the received history start time.
本発明の構成によれば、機器から受信した履歴開始時刻が履歴情報管理データベースに記憶された履歴開始時刻に一致しているときには、履歴開始時刻よりも前の履歴情報を履歴情報管理データベースから削除した後に、機器から受信した履歴情報を履歴情報管理データベースに蓄積し、機器から受信した履歴開始時刻が履歴情報管理データベースに格納されている履歴開始時刻よりも後の時刻であるときには、機器から受信した履歴情報を履歴情報管理データベースに蓄積するから、管理装置において機器の交換とコールドスタートとを認識し、これらの場合には受信した履歴開始時刻よりも前の取得時刻を持つ履歴情報が履歴情報管理データベースに存在していても削除せずに機器から受信した履歴情報と結合することが可能になる。なお、この構成を採用することにより、従来は必要であった機器識別情報の伝送が不要になる。 According to the configuration of the present invention, when the history start time received from the device matches the history start time stored in the history information management database, the history information before the history start time is deleted from the history information management database. After that, the history information received from the device is accumulated in the history information management database. When the history start time received from the device is later than the history start time stored in the history information management database, the history information is received from the device. The history information is stored in the history information management database, so the management device recognizes device replacement and cold start, and in these cases, history information having an acquisition time before the received history start time is the history information. Even if it exists in the management database, it can be combined with the history information received from the device without being deleted. By adopting this configuration, transmission of device identification information, which has been necessary in the past, becomes unnecessary.
また、機器から受信した履歴開始時刻が履歴情報管理データベースに格納されている履歴開始時刻よりも前の時刻であるときには、履歴情報管理データベースの履歴開始時刻を機器から受信した履歴開始時刻に更新するから、機器が一旦交換された後に元の機器に戻された場合でも、履歴情報を維持して用いることができる。 When the history start time received from the device is earlier than the history start time stored in the history information management database, the history start time in the history information management database is updated to the history start time received from the device. Thus, even when the device is replaced once and then returned to the original device, the history information can be maintained and used.
本実施形態は、図1(a)に示すように、住宅Mに設けられセンサ21を備える機器2と、センサ21による計測結果(検出結果を含む)の履歴を蓄積する管理装置としてのセンターサーバ1とがインターネットのような通信ネットワークNTを介して通信可能である構成を想定している。機器2は住宅M以外の店舗などの建物に設けてもよい。また、機器2は建物内に複数台設けられていてもよい。
In this embodiment, as shown in FIG. 1A, a center server as a management device that accumulates a history of measurement results (including detection results) by a
機器2に設けたセンサ21には、センサ21の種類あるいは用途や設置場所ごとに固有であるセンサ識別情報SIDが設定される。センサ識別情報SIDは、たとえば、建物を特定するアドレスと建物内でユニークに設定される番号との組み合わせとして設定される。したがって、機器2の故障や寿命により機器2を交換した場合には、交換後の機器2のセンサ識別情報SIDは交換前の機器2のセンサ識別情報と同じになる。
The
機器2へのセンサ識別情報SIDの登録は、機器2に設けたディップスイッチの操作、あるいは半導体メモリへの書込によって行う。すなわち、図2に示すように、機器2はセンサ識別情報SIDを設定するためのディップスイッチあるいは半導体メモリからなる識別情報設定部21aを備える。識別情報設定部21aへのセンサ識別情報SIDの設定作業は、機器2を設置する施工業者などが行う。
Registration of the sensor identification information SID in the
機器2は、センサ21による計測結果を履歴情報として格納する履歴一時記憶部22aと、機器2の初回起動時におけるトリガの発生時刻である履歴開始時刻を格納する開始時刻記憶部22bとを備える機器側記憶部22を備える。また、機器2には現在時刻を計時する時計部23および通信ネットワークNTを通してセンターサーバ1と通信するための通信部24が設けられる。上述した機器2の構成のうちセンサ21を除く構成は、マイクロコンピュータを主たる構成とし、マイクロコンピュータにより適宜のプログラムを実行することで実現される。また、機器2の各構成は機器処理部20により統括して制御される。
The
履歴一時記憶部22aには、背景技術として説明したように、センサ21での計測結果と時計部23で計時されている時刻とが関係付けて登録される(図4参照)。すなわち、機器処理部20は、時計部23により計時されている現在時刻を参照し、一定の時間が経過するたびに、センサ21の計測結果をセンサ情報として取得するとともに、時計部23で計時している現在時刻を取得時刻とし、センサ情報と取得時刻とを関係付けて履歴一時記憶部22aに格納する。すなわち、履歴一時記憶部22aには、1個のセンサ21について、取得時刻とセンサ情報との対が履歴情報として複数対記憶される。履歴情報を記憶する時間間隔は、センサ21の種類に応じて適宜に定められるが、たとえば、センサ21が電力量計であれば30分などとし、センサ21が機器の寿命管理などに用いるものであれば1日などとしてもよい。
In the history
履歴一時記憶部22aへのセンサ情報および取得時刻の格納は、背景技術として説明したように、機器2の初回起動時の起動処理完了などをトリガとして開始される。また、機器処理部20では、機器2の初回起動時のトリガが発生した時刻を履歴開始時刻とし、履歴開始時刻を開始時刻記憶部22bに書き込む。
The storage of the sensor information and the acquisition time in the history
機器処理部20は、機器側記憶部22に記憶した内容を定期的ないし不定期に読み出し、通信部24を通してセンターサーバ1に送信する。たとえば、センサ21が電力量計である場合では、定められたスケジュールに従ってセンターサーバ1に履歴情報を送信するから、定期的ないしほぼ定期的にセンターサーバ1への送信を行うことになる。また、機器2に押釦スイッチのような操作部(図示せず)を設けておき、機器2の利用者が適宜のタイミングで操作部を操作したときに履歴情報を送信するようにしてもよい。この場合には、履歴情報の送信は不定期になる。
The
一方、管理装置であるセンターサーバ1は、主として履歴情報の蓄積を行う装置であって、図3に示すように、履歴情報を蓄積する履歴情報管理データベース11を備え、履歴情報管理データベース11には、履歴情報がセンサ21ごとに分類して蓄積される。すなわち、履歴情報管理データベース11は、センサ識別情報SIDにより区分される複数個のファイルF1,F2,……が設けられ、各ファイルF1,F2,……には、センサ識別情報SIDを登録するセンサ登録部11cと、履歴情報を格納する履歴記憶部11aと、機器2から受信した履歴開始時刻を書き込む開始時刻記憶部11bとが設けられる。
On the other hand, the
履歴記憶部11aは、機器側記憶部22に設けた履歴一時記憶部22aと同様に、センサ情報と取得時刻とを関係付けた対を履歴情報として複数対記憶する。ただし、履歴一時記憶部22aに対して履歴記憶部11aは十分に大きい記憶容量を有している。すなわち、履歴一時記憶部22aは1日、1月のような比較的短期間の履歴情報を蓄積すればよいのに対して、履歴記憶部11aは1年(場合によっては数年)のような比較的長期間の履歴情報を蓄積する必要があるから、履歴記憶部11aには十分に大きい記憶容量が必要である。
Similarly to the history
センターサーバ1には、機器2との間で通信ネットワークNTを通して通信するための通信部12と、機器2から通信部12を通して受信した履歴情報などを履歴情報管理データベース11に書き込むための制御を行う管理処理部10とが設けられる。センターサーバ1は、コンピュータに適宜のプログラムを実行させることにより実現される。
The
本実施形態の特徴は、センターサーバ1における管理処理部10の動作にあるから、以下では管理処理部10の動作について説明する。背景技術として説明した処理では、センターサーバ1において、センサ21を特定するためのセンサ識別情報と、機器2に固有である機器識別情報とを併せて用いることにより、センターサーバ1が機器2から受信した履歴情報を、センターサーバ1にすでに蓄積されている履歴情報と連結してよいか否かを判断している。
Since the feature of this embodiment is the operation of the
これに対して本実施形態では、機器識別情報は用いずに履歴開始時刻を用いている。すなわち、センターサーバ1の管理処理部10では、背景技術として説明したように、機器2から履歴情報を受信する際に履歴開始時刻も受信しているから、本実施形態では、管理処理部10において、機器識別情報ではなく履歴開始時刻を比較することにより、機器2の交換やコールドスタートに対応する処理を行っている。
On the other hand, in the present embodiment, the history start time is used without using the device identification information. That is, as described in the background art, the
すなわち、機器2を交換して機器2の電源を投入した場合や機器2のコールドスタートを行った場合には、機器2における履歴開始時刻は電源投入やコールドスタートの処理を行った時刻になるから、センターサーバ1において同じセンサ識別情報SIDに対応付けて登録されている履歴開始時刻とは異なる時刻になる。このことを利用して、センターサーバ1において機器2の交換およびコールドスタートを判別し、交換およびコールドスタートに際しては、矛盾として扱わずに履歴情報を連結する処理を行うようにしている。
That is, when the
具体的には、図1(b)に示すように、まず機器2から履歴情報を受信したときに、機器2から受信したセンサ識別情報SIDとセンターサーバ1に登録されているセンサ識別情報SIDとを比較し、センサ識別情報SIDの一致するファイルF1,F2,……を抽出する(S1)。
Specifically, as shown in FIG. 1B, when the history information is first received from the
次に、受信した履歴情報の履歴開始時刻(開始時刻記憶部22bに記憶している履歴開始時刻)と、センターサーバ1に格納されている履歴開始時刻(開始時刻記憶部11bに記憶している履歴開始時刻)とを比較する(S2)。以下では、機器2から受信した履歴開始時刻をT0とし、センターサーバ1の該当ファイルF1,F2,……に登録されている履歴開始時刻をT0′とする。
Next, the history start time of the received history information (history start time stored in the start
ステップS2において、両方の履歴開始時刻T0,T0′が一致(T0=T0′)している場合には(S2:yes)、履歴記憶部11aに格納されている履歴情報のうち無効である履歴情報を削除する(S3)。このとき無効と判断される履歴情報は、履歴開始時刻T0′(=T0)よりも前の取得時刻を持つ履歴情報であり、履歴開始時刻T0′よりも前の履歴情報は矛盾があるか、役立たない古い履歴情報であると判断して履歴記憶部11aから削除する。無効である履歴情報の削除後には、機器2から受信した履歴情報をセンターサーバ1における履歴記憶部11aに蓄積する(S4)。すなわち、機器2から受信した履歴情報とセンターサーバ1に格納されている履歴情報とを結合する。
In step S2, if both the history start times T0 and T0 ′ match (T0 = T0 ′) (S2: yes), the history information stored in the
一方、ステップS2において履歴開始時刻T0,T0′が不一致(T0≠T0′)である場合には(S2:no)、機器2から受信した履歴開始時刻T0がセンターサーバ1に格納されている履歴開始時刻T0′よりも前の時刻か後の時刻かを判定する(S5)。ステップS5において、機器2から受信した履歴開始時刻T0のほうがセンターサーバ1の記憶している履歴開始時刻T0′よりも後の時刻(T0>T0′)であり、かつ機器2から受信した履歴開始時刻T0よりも取得時刻が前である履歴情報がセンターサーバ1の履歴記憶部11aに登録されているときには(S5:yes)、機器2の交換あるいはコールドスタートがなされたと判断し、ステップS4に移行し受信した履歴情報を履歴記憶部11aに蓄積する(S4)。
On the other hand, if the history start times T0 and T0 ′ do not match (T0 ≠ T0 ′) in step S2 (S2: no), the history start time T0 received from the
ステップS5において機器2から受信した履歴開始時刻T0のほうがセンターサーバ1の記憶している履歴開始時刻T0′よりも前の時刻(T0<T0′)であるときには(S5:no)、たとえば、機器2を一旦交換した後に前の機器2に戻したような場合が考えられる。このような場合は、開始時刻記憶部11bに記憶されている履歴開始時刻T0′を機器2から受信した履歴開始時刻T0に更新する(S6)。その後、ステップS4に移行して機器2から受信した履歴情報を履歴記憶部11aに蓄積する。なお、この処理の場合、履歴記憶部11aにすでに蓄積されている履歴情報と機器2から受信した履歴情報との重複が多いと考えられるから、機器2から受信した履歴情報のうちセンターサーバ1に登録されていた履歴開始時刻T0′以後の履歴情報のみを履歴記憶部11aに格納してもよい。
When the history start time T0 received from the
以上説明したように、本実施形態のように履歴開始時刻T0,T0′を比較することにより、機器2のコールドスタートを機器2の交換と同様に扱うことができ、いずれの場合もセンターサーバ1にすでに蓄積されている履歴情報を削除することなく、機器2から新たに受信した履歴情報と結合することができる。
As described above, by comparing the history start times T0 and T0 ′ as in the present embodiment, the cold start of the
なお、上述した構成例では、センサ識別情報SIDを、建物を特定するアドレスと建物内でユニークに設定される番号との組み合わせとして設定しているが、機器2が建物内に1台だけ存在する場合であれば、建物を特定するアドレスのみを用いるようにしてもよい。また、センサ21としては電力量計のようにセンサ情報を一定時間ごとに定期的に記憶する場合を例としたが、防災センサや防犯センサのようにイベント発生時にのみセンサ情報を記憶する構成であっても本発明の技術思想は適用可能である。
In the configuration example described above, the sensor identification information SID is set as a combination of an address for specifying a building and a number uniquely set in the building, but only one
1 センターサーバ(管理装置)
2 機器
10 管理処理部
11 履歴情報管理データベース
20 機器処理部
21 センサ
22a 履歴一時記憶部
22b 開始時刻記憶部
M 住宅(建物)
NT 通信ネットワーク
1 Center server (management device)
2
NT communication network
Claims (2)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008255429A JP5123129B2 (en) | 2008-09-30 | 2008-09-30 | History information management system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008255429A JP5123129B2 (en) | 2008-09-30 | 2008-09-30 | History information management system |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2010086330A JP2010086330A (en) | 2010-04-15 |
JP5123129B2 true JP5123129B2 (en) | 2013-01-16 |
Family
ID=42250219
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008255429A Active JP5123129B2 (en) | 2008-09-30 | 2008-09-30 | History information management system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5123129B2 (en) |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2547831B2 (en) * | 1988-12-08 | 1996-10-23 | 株式会社東芝 | Plant analysis equipment |
JP2001344016A (en) * | 2000-06-01 | 2001-12-14 | Nec Eng Ltd | History information management system |
JP4141769B2 (en) * | 2002-02-05 | 2008-08-27 | 東京瓦斯株式会社 | Equipment management system, equipment management server, equipment management method, controller, program, recording medium |
JP3847195B2 (en) * | 2002-03-27 | 2006-11-15 | 大阪瓦斯株式会社 | External server and communication system |
-
2008
- 2008-09-30 JP JP2008255429A patent/JP5123129B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2010086330A (en) | 2010-04-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109643254B (en) | Vehicle-mounted updating system, vehicle-mounted updating device and updating method of communication device | |
US20220179644A1 (en) | Vehicle electronic control system, vehicle master device, and rewrite instruction program product under specific mode | |
RU2446610C2 (en) | Stream-oriented setup for working in amr/ami-service networks | |
US11960875B2 (en) | Vehicle master device, vehicle electronic control system, configuration setting information rewrite instruction method, and configuration setting information rewrite instruction program product | |
JP5069884B2 (en) | Sensor network system for managing the latest data and history data | |
US11999360B2 (en) | Vehicle master device, control method for executing rollback, computer program product for executing rollback and data structure of specification data | |
EP2752723B1 (en) | Field apparatus | |
US20210155173A1 (en) | Vehicle master device, vehicle electronic control system, activation request instruction method and computer program product | |
US11604637B2 (en) | Electronic control unit, vehicle electronic control system, difference data consistency determination method and computer program product | |
JP6848426B2 (en) | Communication devices, communication systems, programs and communication control methods | |
CA2753286C (en) | Hazard detection subsystem for use in a home security surveillance system | |
US11941384B2 (en) | Vehicle master device, rewrite target group administration method, computer program product and data structure of specification data | |
US20220179643A1 (en) | Vehicle master device, vehicle electronic control system, configuration setting information rewrite instruction method, and configuration setting information rewrite instruction program product | |
US20230145708A1 (en) | Method and apparatus for performing timed functions in a wireless electronic device | |
JP4487007B2 (en) | In-vehicle program rewrite control system | |
CN105823168A (en) | Protection method for communication module and air conditioner | |
JP5937726B1 (en) | Sensor management system | |
JP5123129B2 (en) | History information management system | |
CN104081299A (en) | Programmable controller, programmable controller system, and provision system for programmable controller | |
US10237131B2 (en) | Communication adapter and program update method for communication adapter | |
JP2004210183A (en) | In-vehicle program rewrite control device | |
JP5059465B2 (en) | Alarm and fire alarm | |
JP3978059B2 (en) | Communication system and communication terminal | |
CN110427280B (en) | Cache management method, system, computer equipment and storage medium | |
JP6838568B2 (en) | Information processing system and information processing method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20100716 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20110519 |
|
A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A712 Effective date: 20120112 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20120920 |
|
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: 20121002 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20121025 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20151102 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 Ref document number: 5123129 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |