JP2015207089A - Device management device - Google Patents

Device management device Download PDF

Info

Publication number
JP2015207089A
JP2015207089A JP2014086287A JP2014086287A JP2015207089A JP 2015207089 A JP2015207089 A JP 2015207089A JP 2014086287 A JP2014086287 A JP 2014086287A JP 2014086287 A JP2014086287 A JP 2014086287A JP 2015207089 A JP2015207089 A JP 2015207089A
Authority
JP
Japan
Prior art keywords
information
new
power
exchange
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2014086287A
Other languages
Japanese (ja)
Other versions
JP6225065B2 (en
Inventor
卓弥 村山
Takuya Murayama
卓弥 村山
靖浩 富田
Yasuhiro Tomita
靖浩 富田
和夫 北村
Kazuo Kitamura
和夫 北村
博昭 河田
Hiroaki Kawada
博昭 河田
幸生 小池
Yukio Koike
幸生 小池
中西 徹
Toru Nakanishi
徹 中西
猛 松本
Takeshi Matsumoto
猛 松本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2014086287A priority Critical patent/JP6225065B2/en
Publication of JP2015207089A publication Critical patent/JP2015207089A/en
Application granted granted Critical
Publication of JP6225065B2 publication Critical patent/JP6225065B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a device management device capable of automatically determining whether or not a new device is for replacement with an existing device.SOLUTION: The device management device (gateway device) is provided with: an information storage unit 2 that stores, for each device, device information including on/off information which is either of an on value indicating that power supply of the device is on or an off value indicating that the power supply is off; and an information management unit 3 that determines, when the new device is connected to a gateway device (1), whether or not the new device is connected to be replaced with another device already connected, on the basis of the on/off information of the device information stored in the information storage device 2 and reads-out, when it is determined that the new device is for replacement, at least a part of information other than the on/off information from the device information of the other device in the information storage unit 2 to write the at least a part of information in the device information of the new device.

Description

本発明は、新たなデバイスが既存のデバイスとの交換のためのものか否かを自動的に判定できるデバイス管理装置に関するものである。   The present invention relates to a device management apparatus that can automatically determine whether a new device is for replacement with an existing device.

複数宅にまたがるデバイスを連携させた複数サービス提供を実現するシステムを構築するうえで、各サービスサーバでデバイス情報を管理すると手間がかかるという問題がある。
そこで、コミュニティ管理サーバを用いて宅内をまたいだグループ単位で機器登録することにより、サービスサーバでの端末のアドレス管理を不要とし、サービスサーバでのデバイス情報管理の手間を削減することが可能となる。ここで、コミュニティ管理サーバは、ユーザ宅内にあるゲートウェイ(GW)を識別するためのGWIDと各デバイスを識別するためのローカルIDを結合したエイリアスIDを用いてコミュニティを管理している(図16参照)。
There is a problem that it takes time and effort to manage device information on each service server in constructing a system that realizes provision of a plurality of services by linking devices across multiple homes.
Therefore, by registering devices by group using the community management server, it becomes unnecessary to manage the address of the terminal in the service server, and it is possible to reduce the labor of device information management in the service server. . Here, the community management server manages the community using an alias ID obtained by combining a GWID for identifying a gateway (GW) in the user's home and a local ID for identifying each device (see FIG. 16). ).

特開2013−125448号公報JP2013-125448A

しかし、デバイスを交換してしまうとローカルIDが変わってしまうためコミュニティ管理サーバに登録されているエイリアスIDは使えなくなってしまう。サービスを継続利用していくためには、コミュニティ管理サーバで管理するエイリアスIDを再度登録し直す必要があった(図17参照)。つまり、デバイス所有者がデバイスの交換の度に旧デバイスのIDの登録を削除し、新デバイスのIDを登録するという手間が生じていた。   However, if the device is replaced, the local ID changes, and the alias ID registered in the community management server cannot be used. In order to continue using the service, it was necessary to re-register the alias ID managed by the community management server (see FIG. 17). That is, the device owner has to delete the registration of the old device ID and register the new device ID each time the device is replaced.

本発明は、上記の課題に鑑みてなされたものであり、その目的とするところは、新たなデバイスが既存のデバイスとの交換のためのものか否かを自動的に判定できるデバイス管理装置を提供することにある。   The present invention has been made in view of the above problems, and the object of the present invention is to provide a device management apparatus that can automatically determine whether a new device is for replacement with an existing device. It is to provide.

上記の課題を解決するために、本発明に係るデバイス管理装置は、ゲートウェイ装置に接続されるデバイスを管理するデバイス管理装置であって、デバイスの電源がオンであることを示すオン値またはオフであることを示すオフ値のいずれかであるオンオフ情報を含むデバイス情報がデバイスごとに記憶される情報記憶部と、新たなデバイスが前記ゲートウェイ装置に接続されたなら、前記情報記憶部に記憶されたデバイス情報のオンオフ情報を用いて、接続済みの他のデバイスとの交換のために前記新たなデバイスが接続されたか否かを判定する交換判定手段と、交換のためと判定されたなら、前記情報記憶部における前記他のデバイスのデバイス情報からオンオフ情報以外の少なくとも一部の情報を読み出し、前記新たなデバイスのデバイス情報に書き込む情報書き込み手段とを備えることを特徴とする。   In order to solve the above problems, a device management apparatus according to the present invention is a device management apparatus that manages a device connected to a gateway apparatus, and has an on value or an off value indicating that the power of the device is on. An information storage unit that stores device information including on / off information that is one of off values indicating that there is a device, and if a new device is connected to the gateway device, the information is stored in the information storage unit. Using the on / off information of the device information, exchange determination means for determining whether or not the new device is connected for exchange with another connected device, and if the information is determined to be exchanged, the information Read at least a part of the information other than the on / off information from the device information of the other device in the storage unit, and Characterized in that it comprises an information writing means for writing the scan information.

本発明によれば、新たなデバイスが既存のデバイスとの交換のためのものか否かを自動的に判定できる。   According to the present invention, it is possible to automatically determine whether a new device is for replacement with an existing device.

本実施の形態に係るデバイス管理装置の構成を示す図である。It is a figure which shows the structure of the device management apparatus which concerns on this Embodiment. デバイス情報の一例を示す図である。It is a figure which shows an example of device information. 新たなデバイスが接続済みの他のデバイスとの交換のためでなく接続された際のシーケンスを示す図である。It is a figure which shows the sequence at the time of a new device being connected not for exchange with other connected devices. 新たなデバイスが接続済みの他のデバイスとの交換のために接続された際のシーケンスの前半を示す図である。It is a figure which shows the first half of the sequence at the time of a new device being connected for exchange with other connected devices. 新たなデバイスが接続済みの他のデバイスとの交換のために接続された際のシーケンスの後半を示す図である。It is a figure which shows the second half of the sequence at the time of a new device being connected for exchange with other connected devices. サービスサーバからデバイスを制御する際のシーケンスを示す図である。It is a figure which shows the sequence at the time of controlling a device from a service server. 新たなデバイスが接続済みの他のデバイスとの交換のために接続され、新たなデバイスが制御される際のデバイス管理装置内の動きを模式化した図である。It is the figure which modeled the motion in the device management apparatus when a new device is connected for exchange with other connected devices, and a new device is controlled. ステップS21で行う判定の詳細なフローチャートである。It is a detailed flowchart of the determination performed by step S21. ステップS2107で行う判定に係る第1実施例の説明図である。It is explanatory drawing of 1st Example which concerns on determination performed by step S2107. ステップS2107で行う判定に係る第2実施例の説明図である。It is explanatory drawing of 2nd Example which concerns on determination performed by step S2107. ステップS2107で行う判定に係る第3実施例の説明図である。It is explanatory drawing of 3rd Example which concerns on determination performed by step S2107. ステップS2107で行う判定に係る第4実施例の説明図である。It is explanatory drawing of 4th Example which concerns on determination performed by step S2107. ステップS2119で行う判定に係る実施例の説明図である。It is explanatory drawing of the Example which concerns on determination performed by step S2119. 本実施の形態の変形例における判定のフローチャートである。It is a flowchart of the determination in the modification of this Embodiment. ステップS101で行う判定方法選択の詳細なフローチャートである。It is a detailed flowchart of the determination method selection performed by step S101. 従来技術を説明するための第1の図である。It is a 1st figure for demonstrating a prior art. 従来技術を説明するための第2の図である。It is a 2nd figure for demonstrating a prior art.

以下、本発明の実施の形態について図面を参照して説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

図1は、本実施の形態に係るデバイス管理装置の構成を示す図である。
デバイス管理装置は、例えば、ゲートウェイ装置などの中に構成され、ゲートウェイ装置は、サービスサーバA、Bなどに接続され、また、デバイス01、02などに接続される。
FIG. 1 is a diagram illustrating a configuration of a device management apparatus according to the present embodiment.
The device management apparatus is configured in, for example, a gateway apparatus, etc., and the gateway apparatus is connected to service servers A, B, etc., and is connected to devices 01, 02, etc.

デバイス管理装置は、新たに接続されたデバイスが、接続済みの他のデバイスとの交換のために接続されたなら、記憶済みである他のデバイスの情報を新たなデバイスの情報として用いる装置である。   The device management apparatus is an apparatus that uses, as new device information, information on another device that has been stored when the newly connected device is connected for exchange with another connected device. .

デバイス管理装置は、サービスサーバと通信するサービス通信部1、デバイスの情報(デバイス情報という)とデバイスの電源のオンオフについての履歴情報(オンオフ履歴情報という)が記憶される情報記憶部2、情報記憶部2の情報を管理する情報管理部3、デバイスと通信するデバイス通信部4を備える。   The device management apparatus includes a service communication unit 1 that communicates with a service server, an information storage unit 2 that stores device information (referred to as device information) and history information about power on / off of the device (referred to as on / off history information), information storage The information management part 3 which manages the information of the part 2, and the device communication part 4 which communicates with a device are provided.

なお、デバイス管理装置は、サービスサーバやサービスサーバとゲートウェイ装置を仲介するプラットフォームサーバの中に構成してもよい。   The device management apparatus may be configured in a service server or a platform server that mediates between the service server and the gateway apparatus.

以下、デバイス管理装置はゲートウェイ装置などの中に構成されることとして説明を行う。   Hereinafter, the device management apparatus will be described as being configured in a gateway apparatus or the like.

図2は、デバイス情報の一例を示す図である。
情報記憶部2には、デバイスごとにデバイス情報が記憶される。図は、3つのデバイス情報を示す。
FIG. 2 is a diagram illustrating an example of device information.
The information storage unit 2 stores device information for each device. The figure shows three pieces of device information.

デバイス情報は、該当のデバイスを示すデバイスID、デバイスが行う通信の通信種別(通信プロトコル)、デバイス固有のID(MACアドレスなど)、デバイスのIPアドレス、デバイスの種別(デバイス種別)、デバイスの電源がオンであることを示すオン値またはオフであることを示すオフ値のいずれかであるオンオフ情報、デバイスを設定するための設定情報(設定値や設定ファイル名)を含む。   The device information includes a device ID indicating the corresponding device, a communication type (communication protocol) of communication performed by the device, a device-specific ID (such as a MAC address), a device IP address, a device type (device type), and a device power supply. ON / OFF information, which is either an ON value indicating that is ON or an OFF value indicating OFF, and setting information (setting value and setting file name) for setting the device.

図3は、新たなデバイスが接続済みの他のデバイスとの交換のためでなく接続された際のシーケンスを示す図である。   FIG. 3 is a diagram showing a sequence when a new device is connected not for exchanging with another connected device.

S1:新たなデバイスがゲートウェイ装置(デバイス管理装置)に接続され、起動される。
S2:デバイス通信部4は、各デバイスに対し、定期的に状態確認(ポーリング)を行う。
S3:デバイス通信部4は、新たなデバイスから、状態確認に対する応答を受信し、さらにデバイスからデバイス固有ID、IPアドレス、デバイス種別、オンオフ情報(オン値)、設定情報を取得する。
S1: A new device is connected to the gateway device (device management device) and activated.
S2: The device communication unit 4 periodically checks (polls) the status of each device.
S3: The device communication unit 4 receives a response to the status confirmation from the new device, and further acquires the device unique ID, IP address, device type, on / off information (on value), and setting information from the device.

S5:デバイス通信部4は、取得した情報からなるデバイス情報を情報管理部3に送信し、デバイス情報の更新要求を行う。
S7:情報管理部3は、取得したデバイス情報を情報管理部3に送信し、デバイス情報の更新要求を行う。
S9:情報記憶部2は、受信したデバイス情報内のデバイス固有IDと同じデバイス固有IDを含むデバイス情報を記憶していないので、該当のデバイス固有IDがないことを情報管理部3に応答する。
S5: The device communication unit 4 transmits device information including the acquired information to the information management unit 3, and makes a request for updating the device information.
S7: The information management unit 3 transmits the acquired device information to the information management unit 3 and makes a device information update request.
S9: Since the information storage unit 2 does not store device information including the same device unique ID as the device unique ID in the received device information, the information storage unit 2 responds to the information management unit 3 that there is no corresponding device unique ID.

S11:情報管理部3は、取得したデバイス情報に新たなデバイスIDを含ませ、デバイス情報を情報管理部3に送信し、デバイス情報の更新要求を行う。
S13:情報記憶部2は、新たなデバイスIDを含むデバイス情報を記憶し、情報管理部3に完了を通知する。
S21:情報管理部3は、新たなデバイスが接続済みの他のデバイスとの交換のために接続されたか否かを判定する。ここでは、交換のためでないと判定されたこととする。
S23:情報管理部3は、デバイス通信部4を介して、新たなデバイスに判定結果を送信する。
S11: The information management unit 3 includes a new device ID in the acquired device information, transmits the device information to the information management unit 3, and makes a device information update request.
S13: The information storage unit 2 stores device information including a new device ID, and notifies the information management unit 3 of completion.
S21: The information management unit 3 determines whether a new device is connected for exchange with another connected device. Here, it is determined that it is not for replacement.
S23: The information management unit 3 transmits the determination result to the new device via the device communication unit 4.

S31:図1では省略したが、操作端末は、例えば、デバイスを使用するユーザに操作されるものであり、ユーザの操作により、情報管理部3に対し、新たなデバイスのデバイスID、ゲートウェイ装置のIDおよびアドレスの確認要求を送信する。
S33、S35:情報管理部3は、情報記憶部2から新たなデバイスのデバイスIDを取得し、このデバイスID、ゲートウェイ装置のIDおよびアドレスを操作端末に通知する。
S31: Although omitted in FIG. 1, the operation terminal is operated by, for example, a user who uses the device, and the user's operation causes the information management unit 3 to send the device ID of the new device, the gateway device An ID and address confirmation request is transmitted.
S33, S35: The information management unit 3 acquires the device ID of the new device from the information storage unit 2, and notifies the operation terminal of the device ID, the gateway device ID, and the address.

S37:操作端末は、取得したデバイスID、ゲートウェイ装置のIDおよびアドレスをサービスサーバに送信し、登録要求を行う。
S41、S43:サービスサーバは、取得したデバイスID、ゲートウェイ装置のIDおよびアドレスを記憶し、操作端末に完了を通知する。
S37: The operating terminal sends the acquired device ID, gateway device ID and address to the service server, and makes a registration request.
S41, S43: The service server stores the acquired device ID, gateway device ID and address, and notifies the operation terminal of completion.

図4、図5は、新たなデバイスが接続済みの他のデバイスとの交換のために接続された際のシーケンスのそれぞれ前半、後半を示す図である。   4 and 5 are diagrams showing the first half and the second half of a sequence when a new device is connected for exchange with another connected device, respectively.

デバイス01については、デバイス情報が情報記憶部2に記憶され、サービスサーバへの登録も終了していることとする。
S101:新たなデバイス02がゲートウェイ装置に接続され、起動される。
S103:他のデバイスであるデバイス01は動作を停止する。
S111:デバイス通信部4は、各デバイスに対し、定期的に状態確認(ポーリング)を行う。
As for the device 01, it is assumed that device information is stored in the information storage unit 2 and registration in the service server is also completed.
S101: A new device 02 is connected to the gateway device and activated.
S103: The device 01, which is another device, stops operating.
S111: The device communication unit 4 periodically checks (polls) the status of each device.

S113:デバイス通信部4は、停止したデバイス01からは、状態確認に対する応答を受信できない。
S115:デバイス通信部4は、情報管理部3に対し、応答を受信できなかったデバイス01のデバイス情報の更新要求を行う。
S117:情報管理部3は、情報記憶部2に対し、応答を受信できなかったデバイス01のデバイス情報の更新要求を行う。
S113: The device communication unit 4 cannot receive a response to the status confirmation from the stopped device 01.
S115: The device communication unit 4 requests the information management unit 3 to update the device information of the device 01 that has not received a response.
S117: The information management unit 3 requests the information storage unit 2 to update the device information of the device 01 that has not received a response.

S119:情報記憶部2は、応答を受信できなかったデバイス01のデバイス情報において、オン値をオフ値に変更する。
S121:情報記憶部2は情報管理部3に、情報管理部3はデバイス通信部4に更新完了を通知する。
S3:図3の説明と同様に、デバイス通信部4は、新たなデバイス02から、状態確認に対する応答を受信し、さらにデバイス02からデバイス固有ID、IPアドレス、デバイス種別、オンオフ情報(オン値)、設定情報を取得する。以降、S5〜S13については重複説明を省略する。
S119: The information storage unit 2 changes the on value to the off value in the device information of the device 01 that has not received a response.
S121: The information storage unit 2 notifies the information management unit 3 and the information management unit 3 notifies the device communication unit 4 of the update completion.
S3: Similar to the description of FIG. 3, the device communication unit 4 receives a response to the status confirmation from the new device 02, and further receives a device unique ID, IP address, device type, on / off information (on value) from the device 02. Get setting information. Henceforth, duplication description is abbreviate | omitted about S5-S13.

S21:情報管理部3は、新たなデバイス02が接続済みの他のデバイスとの交換のために接続されたか否かを判定する。ここでは、他のデバイス01との交換のためであると判定されたこととする。
S51:情報管理部3は、情報記憶部2に対し、新たなデバイス02が接続済みの他のデバイス01との交換のために接続されたことを通知し、デバイス情報の更新要求を行う。
S21: The information management unit 3 determines whether or not the new device 02 is connected for exchange with another connected device. Here, it is assumed that it is determined to be for exchange with another device 01.
S51: The information management unit 3 notifies the information storage unit 2 that the new device 02 has been connected for exchange with another device 01 that has already been connected, and makes a device information update request.

S53:情報記憶部2は、他のデバイス01のデバイス情報からデバイスIDと設定情報を読み出し、新たなデバイス02のデバイス情報に新たなデバイス02のデバイスIDと設定情報として書き込み、情報管理部3に完了を送信する。新たなデバイス02のデバイス情報に既にデバイスIDと設定情報が含まれる場合は上書きされる。
S53:また、情報記憶部2は、情報管理部3に当該設定情報を送信し、更新完了を通知する。
S53: The information storage unit 2 reads the device ID and setting information from the device information of the other device 01, writes the device ID and setting information of the new device 02 as the device ID and setting information of the new device 02, and stores them in the information management unit 3. Send completion. When the device ID and setting information are already included in the device information of the new device 02, it is overwritten.
S53: Also, the information storage unit 2 transmits the setting information to the information management unit 3, and notifies the update completion.

S55:情報管理部3は、取得した設定情報をデバイス通信部4に送信し、新たなデバイス02への設定を要求する。
S57:デバイス通信部4は、取得した設定情報の設定値や設定ファイル名のファイルを新たなデバイス02に送信し、設定への反映を要求する。
S59、S61:新たなデバイス02は、取得した設定値やファイルにより、自身に設定を反映させ、デバイス通信部4を介して、情報管理部3に設定反映完了を通知する。
S55: The information management unit 3 transmits the acquired setting information to the device communication unit 4 and requests a setting for a new device 02.
S57: The device communication unit 4 transmits the setting value and setting file name file of the acquired setting information to the new device 02, and requests reflection to the setting.
S59, S61: The new device 02 reflects the setting in itself by using the acquired setting value and file, and notifies the information management unit 3 of the completion of the setting reflection via the device communication unit 4.

S63:情報管理部3は、設定反映完了により、情報記憶部2に対し、接続済みの他のデバイス01のデバイス情報の削除要求を送信する。
S65:情報記憶部2は、削除要求により、他のデバイス01のデバイス情報を削除する。
S63: Upon completion of the setting reflection, the information management unit 3 transmits a request for deleting the device information of the other connected devices 01 to the information storage unit 2.
S65: The information storage unit 2 deletes the device information of the other device 01 in response to the deletion request.

図6は、サービスサーバからデバイスを制御する際のシーケンスを示す図である。
S201:サービスサーバは、デバイス管理装置が構成されるゲートウェイ装置のIDおよびアドレスを指定して、デバイス管理装置のサービス通信部1に対し、新たなデバイスと交換されて停止したデバイスのデバイスIDと制御命令を送信する。
S203:サービス通信部1は、情報管理部3を介して情報記憶部2にデバイスIDを送信し、デバイス固有IDおよびIPアドレスを要求する。
FIG. 6 is a diagram showing a sequence when a device is controlled from the service server.
S201: The service server designates the ID and address of the gateway device in which the device management apparatus is configured, and controls the service communication unit 1 of the device management apparatus and the device ID and control of the device that has been replaced with a new device and stopped. Send instructions.
S203: The service communication unit 1 transmits a device ID to the information storage unit 2 via the information management unit 3, and requests a device unique ID and an IP address.

S205、S207:情報記憶部2は、デバイスIDを取得し、デバイスIDを含むデバイス情報を検索し、デバイス情報すなわち新たなデバイスのデバイス情報からデバイス固有IDおよびIPアドレスを読み出し、情報管理部3を介してサービス通信部1に送信する。
S209:サービス通信部1は、デバイス固有IDおよびIPアドレスを取得し、デバイス通信部4に対し、制御命令、デバイス固有IDおよびIPアドレスを送信する。
S211:デバイス通信部4は、制御命令、デバイス固有IDおよびIPアドレスを取得し、デバイス固有IDおよびIPアドレスを指定して、新たなデバイスに対し、制御命令を送信する。
S205, S207: The information storage unit 2 acquires the device ID, searches for device information including the device ID, reads the device unique ID and the IP address from the device information, that is, the device information of the new device, and sets the information management unit 3 To the service communication unit 1.
S209: The service communication unit 1 acquires a device unique ID and an IP address, and transmits a control command, a device unique ID, and an IP address to the device communication unit 4.
S211: The device communication unit 4 acquires a control command, a device unique ID and an IP address, designates the device unique ID and the IP address, and transmits the control command to the new device.

S213、S215:新たなデバイスは、制御命令に基づく動作を行い、動作完了をデバイス通信部4、サービス通信部1を介して、サービスサーバに通知する。   S213, S215: The new device performs an operation based on the control command, and notifies the service server of the operation completion via the device communication unit 4 and the service communication unit 1.

図7は、新たなデバイスが接続済みの他のデバイスとの交換のために接続され、新たなデバイスが制御される際のデバイス管理装置内の動きを模式化した図である。
デバイスを使用するユーザは、デバイスID「dev01」のデバイス01をゲートウェイ装置(デバイス管理装置)に接続し、デバイスID「dev02」のデバイス02をゲートウェイ装置(デバイス管理装置)から取り外す。
情報管理部3は、このように新たなデバイスが接続済みの他のデバイスとの交換のために接続されたかを判定する。
FIG. 7 is a diagram schematically illustrating the movement in the device management apparatus when a new device is connected for exchange with another connected device and the new device is controlled.
The user who uses the device connects the device 01 with the device ID “dev01” to the gateway device (device management device), and removes the device 02 with the device ID “dev02” from the gateway device (device management device).
In this way, the information management unit 3 determines whether the new device is connected for exchange with another connected device.

S51:情報管理部3は、デバイス02がデバイス01との交換のために接続されたと判定したなら、情報記憶部2に対し、デバイス情報の更新要求を行う。
S53:情報記憶部2は、デバイス01のデバイス情報からデバイスID「dev01」を読み出し、デバイス02のデバイス情報に含まれるデバイスID「dev02」をデバイスID「dev01」で書き換える。
S201:サービスサーバBは、デバイス管理装置のサービス通信部1に対し、取り外されたデバイス01のデバイスID「dev01」と制御命令を送信する。
S51: If the information management unit 3 determines that the device 02 is connected for exchange with the device 01, the information management unit 3 issues a device information update request to the information storage unit 2.
S53: The information storage unit 2 reads the device ID “dev01” from the device information of the device 01, and rewrites the device ID “dev02” included in the device information of the device 02 with the device ID “dev01”.
S201: The service server B transmits the device ID “dev01” of the removed device 01 and a control command to the service communication unit 1 of the device management apparatus.

S203:サービス通信部1は、情報記憶部2にデバイスID「dev01」を送信する。
S205:情報記憶部2は、デバイスID「dev01」を含むデバイス情報からデバイス固有IDおよびIPアドレスを読み出す。
S211:デバイス通信部4は、デバイス固有IDおよびIPアドレスを指定して、新たなデバイス02に対し、制御命令を送信する。
S203: The service communication unit 1 transmits the device ID “dev01” to the information storage unit 2.
S205: The information storage unit 2 reads the device unique ID and the IP address from the device information including the device ID “dev01”.
S211: The device communication unit 4 specifies a device unique ID and an IP address, and transmits a control command to the new device 02.

よって、サービスサーバが、デバイスの交換を認識していなくても、新たなデバイスを制御することができる。   Therefore, a new device can be controlled even if the service server does not recognize the replacement of the device.

図8は、ステップS21で行う判定の詳細なフローチャートである。
S2101:情報管理部3は、まず、新たなデバイスのデバイス情報からデバイス種別を読み出し、同じデバイス種別とオフ値を含む他のデバイス情報があるか否かを判定する。
S2103:情報管理部3は、該当のデバイス情報があると判定されたなら(S2101:YES)、該当のデバイス情報に連番(0、1、2、…)を付与する。
FIG. 8 is a detailed flowchart of the determination performed in step S21.
S2101: The information management unit 3 first reads a device type from device information of a new device, and determines whether there is other device information including the same device type and an off value.
S2103: If it is determined that there is corresponding device information (S2101: YES), the information management unit 3 assigns a serial number (0, 1, 2,...) To the corresponding device information.

S2105:次に、情報管理部3は、連番に対応する変数iを0に初期化し、変数Nに該当のデバイス情報の総数を書き込む。
S2107:次に、情報管理部3は、新たなデバイスが、変数iと同じ連番を付与されたデバイス情報に対応するデバイス(他のデバイス)との交換のために接続されたか否かを判定する。詳しい判定方法は後述する。
S2109、S2111:次に、情報管理部3は、変数iに1を加え、変数iが変数Nに一致するか否かを判定し、一致しないなら(S2111:NO)、ステップS2107に戻る。
S2105: Next, the information management unit 3 initializes the variable i corresponding to the serial number to 0, and writes the total number of corresponding device information in the variable N.
S2107: Next, the information management unit 3 determines whether or not the new device is connected for exchange with a device (other device) corresponding to the device information assigned the same serial number as the variable i. To do. A detailed determination method will be described later.
S2109, S2111: Next, the information management unit 3 adds 1 to the variable i, determines whether or not the variable i matches the variable N, and if not (S2111: NO), returns to step S2107.

S2113:情報管理部3は、一致するなら(S2111:YES)、ステップS2107で交換のために接続されたと判定された他のデバイスがあるか否かを判定する。
S2115:情報管理部3は、交換のために接続されたと判定された他のデバイスがないと判定されたなら(S2113:NO)または新たなデバイスのデバイス種別と同じデバイス種別とオフ値を含む他のデバイス情報がないと判定されたなら(S2101:NO)、新たなデバイスは他のデバイスとの交換のためでなく接続されたと判定し、ステップS21の処理を終える。
S2113: If the information management unit 3 matches (S2111: YES), the information management unit 3 determines whether there is another device determined to be connected for replacement in step S2107.
S2115: The information management unit 3 determines that there is no other device determined to be connected for replacement (S2113: NO), or includes the same device type and off value as the device type of the new device. If it is determined that there is no device information (S2101: NO), it is determined that the new device is connected, not for exchange with another device, and the process of step S21 is completed.

S2117:情報管理部3は、交換のために接続されたと判定された他のデバイスがあると判定されたなら(S2113:YES)、該当のデバイスの数が1か2以上かを判定する。
S2119:情報管理部3は、該当のデバイスの数が2以上と判定されたなら、新たなデバイスと該当のデバイスの電源のオンとオフに関する特徴量を用いてデバイスを1つに絞り込む。
S2117: If it is determined that there is another device determined to be connected for replacement (S2113: YES), the information management unit 3 determines whether the number of corresponding devices is 1 or 2 or more.
S2119: If it is determined that the number of corresponding devices is 2 or more, the information management unit 3 narrows down the number of devices to one using the new device and the feature quantities relating to power on / off of the corresponding device.

S2119:情報管理部3は、該当のデバイスの数が1と判定されたなら、または、デバイスが1つに絞りこまれたなら、新たなデバイスは該当のデバイスとの交換のために接続されたと判定し、ステップS21の処理を終える。   S2119: The information management unit 3 determines that the new device is connected for replacement with the corresponding device when the number of the corresponding devices is determined to be 1 or when the number of devices is narrowed down to one. Determination is made, and the process of step S21 is completed.

図9は、ステップS2107で行う判定に係る第1実施例の説明図である。
情報記憶部2には、オンオフ情報の履歴情報であるオンオフ履歴情報がデバイスごとに記憶される。オンオフ履歴情報は、例えば、一日を構成する各時間区間t1、t2、…、tnについてのオンオフ情報からなる。各時間区間の時間長は例えば10分である。オンオフ情報は、該当の時間区間で電源が常にオンならオン値(ON)に設定され、常にオンでないならオフ値(OFF)に設定される。
FIG. 9 is an explanatory diagram of the first embodiment relating to the determination performed in step S2107.
The information storage unit 2 stores on / off history information, which is history information of on / off information, for each device. The on / off history information includes, for example, on / off information for each time interval t1, t2,. The time length of each time section is, for example, 10 minutes. The on / off information is set to an on value (ON) if the power supply is always on during the corresponding time interval, and is set to an off value (OFF) if the power is not always on.

例えば、デバイス01のオンオフ履歴情報内のオンオフ情報は全てオン値であり、つまり、デバイス01は終日利用されるデバイスであることがわかる。
一方、デバイス02のオンオフ履歴情報にはオン値とオフ値が含まれ、つまり、デバイス02は終日利用されるデバイスでないことがわかる。
For example, all the on / off information in the on / off history information of the device 01 is an on value, that is, the device 01 is a device that is used all day.
On the other hand, the ON / OFF history information of the device 02 includes an ON value and an OFF value, that is, it can be understood that the device 02 is not used all day.

よって、情報管理部3は、例えば、対象のデバイスがデバイス01なら、そのオンオフ履歴情報からデバイス01電源がオンである電源オン時間長(24時間)を求める。
一方、情報管理部3は、例えば、対象のデバイスがデバイス02なら、そのオンオフ履歴情報からデバイス02の電源がオンである電源オン時間長(例えば12時間)を求める。
Therefore, for example, if the target device is the device 01, the information management unit 3 obtains the power-on time length (24 hours) during which the device 01 is powered from the on-off history information.
On the other hand, for example, if the target device is the device 02, the information management unit 3 obtains the power-on time length (for example, 12 hours) during which the power of the device 02 is on from the on-off history information.

情報管理部3は、電源オン時間長が予め設定された閾値(例えば、23時間)より長いか否かを判定し、長いなら、そのようなデバイスのデバイス情報にオフ値であるオンオフ情報が含まれるか否かを判定する。
例えば、図のデバイス01のデバイス情報にはオフ値が含まれるので、対象のデバイスがデバイス01なら、情報管理部3は、ステップS2107で、新たなデバイスがデバイス01との交換のために接続されたと判定する。
The information management unit 3 determines whether or not the power-on time length is longer than a preset threshold (for example, 23 hours). If the power-on time length is longer, the device information of such a device includes on-off information that is an off value. It is determined whether or not.
For example, since the device information of the device 01 in the figure includes an off value, if the target device is the device 01, the information management unit 3 connects a new device for replacement with the device 01 in step S2107. It is determined that

図10は、ステップS2107で行う判定に係る第2実施例の説明図である。
例えば、図9に示すようなオンオフ履歴情報に基づいて、デバイスごとに電源がオフである電源オフ時間長の最長値が情報記憶部2に記録され、更新された場合は、更新後の最長値が記録される。
FIG. 10 is an explanatory diagram of the second embodiment relating to the determination made in step S2107.
For example, based on the on / off history information as shown in FIG. 9, the longest value of the power-off time length during which the power is turned off for each device is recorded in the information storage unit 2 and updated. Is recorded.

情報管理部3は、ステップS2017のタイミングでは、つまり、新たなデバイスが接続された後、他のデバイスの最長値が更新されたなら、新たなデバイスが当該他のデバイスとの交換のために接続されたと判定する。   The information management unit 3 connects the new device for exchange with the other device at the timing of step S2017, that is, when the longest value of the other device is updated after the new device is connected. It is determined that

図では、接続済みのデバイス01、02につき、デバイス情報から図9に示すようなオンオフ履歴情報を経て、電源オフ時間長の最長値がそれぞれ記録される。
デバイス03の接続前では、デバイス01の最長値は12時間、デバイス02の最長値は8時間であったとする。
デバイス03の接続後では、デバイス01の最長値は12時間のまま、デバイス02の最長値は8時間1分に更新されたとする。
この場合、情報管理部3は、新たなデバイス03が他のデバイス02との交換のために接続されたと判定する。
In the figure, for the connected devices 01 and 02, the longest value of the power-off time length is recorded from the device information through the on / off history information as shown in FIG.
Before the connection of the device 03, it is assumed that the longest value of the device 01 is 12 hours and the longest value of the device 02 is 8 hours.
After the connection of the device 03, it is assumed that the longest value of the device 01 remains 12 hours and the longest value of the device 02 is updated to 8 hours and 1 minute.
In this case, the information management unit 3 determines that the new device 03 has been connected for exchange with another device 02.

図11は、ステップS2107で行う判定に係る第3実施例の説明図である。
情報記憶部2には、図9に示すようなオンオフ履歴情報が過去複数日にわたり記憶される。各時間区間の時間長は例えば1時間である。
FIG. 11 is an explanatory diagram of the third embodiment relating to the determination performed in step S2107.
The information storage unit 2 stores on / off history information as shown in FIG. 9 over the past plural days. The time length of each time section is, for example, 1 hour.

情報管理部3は、各時間区間につき、当該時間区間で他のデバイスの電源がオンであった日数とオフであった日数の合計に対するオンであった日数の割合Ponを当該デバイスのオンオフ履歴情報に基づいて求める。
次に、情報管理部3は、連続する時間区間の各割合Ponが所定の閾値THonより高いなら、当該連続する各時間区間について、当該時間区間で当該他のデバイスの電源がオンであった日数とオフであった日数の合計に対するオフであった日数の割合Poffを求める。
For each time section, the information management unit 3 sets the ratio Pon of the number of days that is on to the total number of days that the power of other devices is turned on and the number of days that are off in the time section. Ask based on.
Next, if the ratio Pon of the continuous time intervals is higher than the predetermined threshold value THon, the information management unit 3 determines the number of days when the power of the other device is turned on for the continuous time intervals. And the ratio Poff of the number of days off with respect to the total number of days off.

次に、情報管理部3は、全ての割合Poffの積が所定の閾値THoff以下なら、新たなデバイスが当該他のデバイスとの交換のために接続されたと判定する。   Next, if the product of all the ratios Poff is equal to or less than the predetermined threshold value THoff, the information management unit 3 determines that a new device is connected for exchange with the other device.

図では、15時の前後の1時間の時間区間での割合Pon(15)、16時の前後の1時間の時間区間での割合Pon(16)、17時の前後の1時間の時間区間での割合Pon(17)、18時の前後の1時間の時間区間での割合Pon(18)、19時の前後の1時間の時間区間での割合Pon(19)が閾値THonより高い。   In the figure, the ratio Pon (15) in the 1-hour time interval before and after 15:00, the ratio Pon (16) in the 1-hour time interval before and after 16:00, and the 1-hour time interval before and after 17:00 The ratio Pon (17), the ratio Pon (18) in the one-hour time period before and after 18:00, and the ratio Pon (19) in the one-hour time period before and after 19:00 are higher than the threshold THon.

よって、情報管理部3は、15時の前後の1時間の時間区間での割合Poff(15)、すなわち(1−Pon(15))、16時の前後の1時間の時間区間での割合Poff(16)、すなわち(1−Pon(16))、17時の前後の1時間の時間区間での割合Poff(17)、すなわち(1−Pon(17))、18時の前後の1時間の時間区間での割合Poff(18)、すなわち(1−Pon(18))、19時の前後の1時間の時間区間での割合Poff(19)、すなわち(1−Pon(19))を求める。   Therefore, the information management unit 3 determines the ratio Poff (15) in the time interval of 1 hour before and after 15:00, that is, (1-Pon (15)), the ratio Poff in the time interval of 1 hour before and after 16:00. (16), that is, (1-Pon (16)), the ratio Poff (17) in the time interval of 1 hour before and after 17:00, that is, (1-Pon (17)), 1 hour before and after 18:00 The ratio Poff (18) in the time interval, that is, (1-Pon (18)), and the ratio Poff (19) in the time interval of 1 hour before and after 19:00, that is, (1-Pon (19)) are obtained.

次に、情報管理部3は、全ての割合Poffの積Poff(15−19)、すなわち(1−Pon(15))(1−Pon(16))(1−Pon(17))(1−Pon(18))(1−Pon(19))を求め、Poff(15−19)が閾値THoff(例えば、0.003)以下なら、新たなデバイスが当該他のデバイスとの交換のために接続されたと判定する。   Next, the information management unit 3 calculates the product Poff (15-19) of all the ratios Poff, that is, (1-Pon (15)) (1-Pon (16)) (1-Pon (17)) (1- Pon (18)) (1-Pon (19)) is obtained, and if Poff (15-19) is less than or equal to a threshold THoff (for example, 0.003), it is determined that a new device has been connected for exchange with the other device. judge.

図12は、ステップS2107で行う判定に係る第4実施例の説明図である。
情報記憶部2には、図に示すようなオンオフ履歴情報が過去複数日にわたり記憶される。各時間区間の時間長は例えば1時間である。
FIG. 12 is an explanatory diagram of the fourth embodiment relating to the determination made in step S2107.
The information storage unit 2 stores on / off history information as shown in the figure over the past plural days. The time length of each time section is, for example, 1 hour.

情報管理部3は、各時間区間につき、当該時間区間で変数iと同じ連番を付与されたデバイス情報に対応するデバイス(以下、第1の他のデバイスという)の電源がオンであった日数に対する当該時間区間で第1の他のデバイスの電源がオンでありかつ第1の他のデバイスでない第2の他のデバイスの電源がオンであった日数の合計の割合Pを当該各デバイスのオンオフ履歴情報に基づいて求める。   For each time interval, the information management unit 3 is the number of days that the device corresponding to the device information assigned the same serial number as the variable i in the time interval (hereinafter referred to as the first other device) is turned on. The ratio P of the total number of days in which the power of the first other device is on and the power of the second other device that is not the first other device is on in the time interval for Determine based on historical information.

次に、情報管理部3は、いずれかの時間区間の割合Pが1であり、かつ、オン値であるオンオフ情報が当該第2の他のデバイスのデバイス情報に含まれ、かつ、オフ値であるオンオフ情報が当該第1の他のデバイスのデバイス情報に含まれるか否かを判定する。
情報管理部3は、割合Pが1であり、かつ、オン値であるオンオフ情報が当該第2の他のデバイスのデバイス情報に含まれ、かつ、オフ値であるオンオフ情報が当該第1の他のデバイスのデバイス情報に含まれるなら、新たなデバイスが当該第1の他のデバイスとの交換のために接続されたと判定する。
Next, the information management unit 3 has the ratio P of one of the time intervals as 1 and the ON / OFF information that is an ON value is included in the device information of the second other device, and the OFF value It is determined whether or not certain on / off information is included in the device information of the first other device.
The information management unit 3 includes the ratio P of 1, the on / off information that is an on value is included in the device information of the second other device, and the on / off information that is an off value is the first other If it is included in the device information of the first device, it is determined that the new device is connected for exchange with the first other device.

なお、情報管理部3は、別の第2の他のデバイスについても同じ処理を行い、いずれかの第2の他のデバイスの処理で、交換のために接続されたと判定されたなら、新たなデバイスは第1の他のデバイスとの交換のために接続されたと判定する。   Note that the information management unit 3 performs the same process for another second other device, and if it is determined that one of the second other devices is connected for replacement in the process of any second other device, a new one is created. It is determined that the device is connected for exchange with the first other device.

情報管理部3は、例えば、第1の他のデバイスをデバイス02、第2の他のデバイスをデバイス01とし、任意の時間区間tkについての割合Pを図中の式により求める。
次に、情報管理部3は、割合Pが1であり、かつ、オン値であるオンオフ情報がデバイス01のデバイス情報に含まれ、かつ、オフ値であるオンオフ情報がデバイス02のデバイス情報に含まれるなら、新たなデバイスがデバイス02との交換のために接続されたと判定する。
For example, the information management unit 3 sets the first other device as the device 02 and the second other device as the device 01, and obtains the ratio P with respect to an arbitrary time interval tk using the formula in the figure.
Next, the information management unit 3 includes the ratio P of 1, ON / OFF information that is an ON value is included in the device information of the device 01, and ON / OFF information that is an OFF value is included in the device information of the device 02. If so, it is determined that a new device is connected for exchange with the device 02.

図13は、ステップS2119で行う判定に係る実施例の説明図である。
情報管理部3は、新たなデバイスならびに複数の他のデバイス(ステップS2107で新たなデバイスとの交換対象と判定されたデバイス)のそれぞれにつき、電源のオンとオフに関する特徴量を当該各デバイスのオンオフ履歴情報に基づいて求める。
次に、情報管理部3は、他のデバイスの各特徴量につき、新たなデバイスの特徴量との差分を求め、差分の最小値を求める。
FIG. 13 is an explanatory diagram of an example according to the determination performed in step S2119.
For each new device and a plurality of other devices (devices determined to be exchanged with the new device in step S2107), the information management unit 3 sets the feature amount related to power on / off of each device. Determine based on historical information.
Next, the information management unit 3 obtains the difference between the feature amount of the other device and the feature amount of the new device, and obtains the minimum value of the difference.

次に、情報管理部3は、新たなデバイスが最小値に対応する他のデバイスとの交換のために接続されたと判定する。つまり、複数の他のデバイスが最小値に対応する1つの他のデバイスに絞りこまれる。
オンオフ履歴情報は、例えば、デバイス情報が更新されるごとに更新前のデバイス情報を蓄積したものである。
Next, the information management unit 3 determines that the new device is connected for exchange with another device corresponding to the minimum value. That is, a plurality of other devices are narrowed down to one other device corresponding to the minimum value.
The on / off history information is, for example, accumulated device information before update every time the device information is updated.

図では、新たなデバイスをデバイス03、複数の他のデバイスをデバイス01、02とする。
情報管理部3は、第1の特徴量として、一日のうち最初に電源がオンになる時刻をデバイス01、02、03について求める。
また、情報管理部3は、第2の特徴量として、一日のうち最後に電源がオフになる時刻をデバイス01、02、03について求める。
また、情報管理部3は、第3の特徴量として、一日のうちオン、オフが切り替わる頻度をデバイス01、02、03について求める。
また、情報管理部3は、第4の特徴量として、一日のうち電源がオンである時間長をデバイス01、02、03について求める。
In the figure, a new device is a device 03, and a plurality of other devices are devices 01 and 02.
The information management unit 3 obtains, for the devices 01, 02, 03, the time when the power is first turned on in the day as the first feature amount.
In addition, the information management unit 3 obtains the time when the power is turned off at the end of the day for the devices 01, 02, and 03 as the second feature amount.
In addition, the information management unit 3 obtains the frequency of switching between on and off in the day for the devices 01, 02, and 03 as the third feature amount.
In addition, the information management unit 3 obtains, for the devices 01, 02, 03, the length of time during which the power is on during the day as the fourth feature amount.

次に、情報管理部3は、第1の特徴量のそれぞれにつき、第1の特徴量の最大値で該当特徴量を除す、すなわち、正規化する。
また、情報管理部3は、第2、第3、第4の特徴量についても正規化を行う。
Next, the information management unit 3 divides the corresponding feature amount by the maximum value of the first feature amount, that is, normalizes, for each first feature amount.
The information management unit 3 also normalizes the second, third, and fourth feature amounts.

次に、情報管理部3は、デバイス01、02の第1の特徴量のそれぞれにつき、デバイス03の第1の特徴量との差分を求める。また、情報管理部3は、第2、第3、第4の特徴量についても差分を求める。   Next, the information management unit 3 obtains a difference from the first feature value of the device 03 for each of the first feature values of the devices 01 and 02. The information management unit 3 also obtains differences for the second, third, and fourth feature amounts.

次に、情報管理部3は、デバイス01について求めた差分の合計値を求める。また、情報管理部3は、デバイス02についても差分の合計値を求める。
情報管理部3は、デバイス02について求めた合計値がデバイス01について求めた合計値より小さいなら、新たなデバイス03がデバイス02との交換のために接続されたと判定する。
Next, the information management unit 3 obtains the total value of the differences obtained for the device 01. The information management unit 3 also obtains a total difference value for the device 02.
If the total value obtained for the device 02 is smaller than the total value obtained for the device 01, the information management unit 3 determines that a new device 03 is connected for exchange with the device 02.

以上のように、本実施の形態に係るデバイス管理装置によれば、デバイスの電源がオンであることを示すオン値またはオフであることを示すオフ値のいずれかであるオンオフ情報を含むデバイス情報がデバイスごとに記憶される情報記憶部2と、新たなデバイスがデバイス管理装置(例えば、ゲートウェイ装置)に接続されたなら、情報記憶部2に記憶されたデバイス情報のオンオフ情報を用いて、接続済みの他のデバイスとの交換のために新たなデバイスが接続されたか否かを判定する交換判定手段(S21)と、交換のためと判定されたなら、情報記憶部2における他のデバイスのデバイス情報からオンオフ情報以外の少なくとも一部の情報を読み出し、新たなデバイスのデバイス情報に書き込む情報書き込み手段(S53)とを備えるので、新たなデバイスが既存のデバイス(他のデバイス)との交換のためのものか否かを自動的に判定でき、他のデバイスのデバイス情報の情報を新たなデバイスのデバイス情報に書き込むことができる。   As described above, according to the device management apparatus according to the present embodiment, device information including on / off information that is either an on value indicating that the power of the device is on or an off value indicating that the device is off. Is stored for each device, and if a new device is connected to a device management apparatus (for example, a gateway apparatus), connection is made using on / off information of the device information stored in the information storage section 2 A replacement determination unit (S21) for determining whether or not a new device is connected for replacement with another device that has already been completed; and if it is determined for replacement, the device of the other device in the information storage unit 2 Information writing means (S53) for reading at least a part of information other than the on / off information from the information and writing it in the device information of the new device Thus, it is possible to automatically determine whether the new device is for replacement with an existing device (another device), and writing the device information information of the other device into the device information of the new device it can.

具体的には、情報記憶部2は、オンオフ情報の履歴情報であるオンオフ履歴情報をデバイスごとに記憶し、交換判定手段は、オンオフ履歴情報に基づいて判定を行う。   Specifically, the information storage unit 2 stores on / off history information that is history information of on / off information for each device, and the exchange determination unit performs determination based on the on / off history information.

さらに具体的には、例えば第1実施例のように、交換判定手段は、他のデバイスの電源がオンである電源オン時間長を当該他のデバイスのオンオフ履歴情報に基づいて求め、当該電源オン時間長が所定の閾値より長く、かつ、オフ値であるオンオフ情報が当該他のデバイスのデバイス情報に含まれるなら、新たなデバイスが当該他のデバイスとの交換のために接続されたと判定する。   More specifically, as in the first embodiment, for example, the replacement determination unit obtains the power on time length during which the power of the other device is on based on the on / off history information of the other device, and If the time length is longer than a predetermined threshold and the on / off information, which is an off value, is included in the device information of the other device, it is determined that a new device is connected for exchange with the other device.

または、例えば第2実施例のように、デバイスごとに当該デバイスのオンオフ履歴情報に基づいて当該デバイスの電源がオフである電源オフ時間長の最長値が記録されるように構成され、交換判定手段は、新たなデバイスが接続された後、他のデバイスの最長値が更新されたなら、新たなデバイスが当該他のデバイスとの交換のために接続されたと判定する。   Alternatively, as in the second embodiment, for example, the longest value of the power-off time length during which the power of the device is off is recorded for each device based on the on-off history information of the device. If the longest value of the other device is updated after the new device is connected, it is determined that the new device is connected for exchange with the other device.

または、例えば第3実施例のように、交換判定手段は、一日を構成する各時間区間につき、当該時間区間で他のデバイスの電源がオンであった日数とオフであった日数の合計に対するオンであった日数の割合(Pon)を当該デバイスのオンオフ履歴情報に基づいて求め、連続する時間区間の各割合(Pon)が所定の閾値(THon)より高いなら、当該連続する各時間区間について、当該時間区間で当該他のデバイスの電源がオンであった日数とオフであった日数の合計に対するオフであった日数の割合(Poff)を求め、全ての割合(Poff)の積が所定の閾値(THoff)以下なら、新たなデバイスが当該他のデバイスとの交換のために接続されたと判定する。   Or, for example, as in the third embodiment, the replacement determination means, for each time interval constituting one day, for the total of the number of days that the power of other devices was turned on and the number of days that were off in the time interval. The ratio (Pon) of the number of days that have been turned on is obtained based on the on / off history information of the device, and if each ratio (Pon) of consecutive time intervals is higher than a predetermined threshold (THon), for each consecutive time interval The ratio of the number of days off (Poff) to the total number of days the other device was turned on and the number of days off was calculated for the time interval, and the product of all the ratios (Poff) If it is equal to or less than the threshold (THoff), it is determined that a new device is connected for exchange with the other device.

または、例えば第4実施例のように、交換判定手段は、一日を構成する各時間区間につき、当該時間区間で第1の他のデバイスの電源がオンであった日数に対する当該時間区間で第1の他のデバイスの電源がオンでありかつ第2の他のデバイスの電源がオンであった日数の割合(P)を当該各デバイスのオンオフ履歴情報に基づいて求め、割合(P)が1であり、かつ、オン値であるオンオフ情報が当該第2の他のデバイスのデバイス情報に含まれ、かつ、オフ値であるオンオフ情報が当該第1の他のデバイスのデバイス情報に含まれるなら、新たなデバイスが当該第1の他のデバイスとの交換のために接続されたと判定する。   Alternatively, for example, as in the fourth embodiment, the replacement determination unit performs, for each time interval constituting one day, the first time in the time interval corresponding to the number of days during which the power of the first other device is on. The ratio (P) of the number of days when the power of one other device is on and the power of the second other device is on is obtained based on the on / off history information of each device, and the ratio (P) is 1 And ON / OFF information that is an ON value is included in the device information of the second other device, and ON / OFF information that is an OFF value is included in the device information of the first other device, It is determined that a new device has been connected for exchange with the first other device.

また、交換判定手段は、図13で説明のように、新たなデバイスならびに複数の他のデバイスのそれぞれにつき、電源のオンとオフに関する特徴量を当該各デバイスのオンオフ履歴情報に基づいて求め、他のデバイスの各特徴量につき、新たなデバイスの特徴量との差分を求め、差分の最小値を求め、新たなデバイスが最小値に対応する他のデバイスとの交換のために接続されたと判定する。   Further, as described with reference to FIG. 13, the replacement determination unit obtains a feature amount related to power on / off for each of the new device and a plurality of other devices based on the on / off history information of each device. For each feature quantity of the device, a difference from the feature quantity of the new device is obtained, a minimum value of the difference is obtained, and it is determined that the new device is connected for exchange with another device corresponding to the minimum value. .

(本実施の形態の変形例)
次に、本実施の形態の変形例について説明する。これまでの説明では、複数の判定方法を用い、交換対象と判定されたデバイスが複数ある場合は、それを1つに絞りこんだが、以下のような判定を行ってもよい。その他の処理については、これまでの説明と同様なので、重複説明を省略する。
(Modification of this embodiment)
Next, a modification of the present embodiment will be described. In the description so far, when a plurality of determination methods are used and there are a plurality of devices determined as replacement targets, the number of devices is narrowed down to one, but the following determination may be performed. Since other processes are the same as those described so far, the duplicate description is omitted.

図14は、本実施の形態の変形例における判定のフローチャートである。
S101:情報管理部3は、ステップS2107の第1、第3、第4実施例の判定方法から1つ以上を選択する。詳細は後述する。
S103:情報管理部3は、ステップS101で選択された判定方法とステップS2107の第2実施例の判定方法を並列で実行する。
S105:情報管理部3は、いずれかの判定方法による判定で判定結果が得られたか否かを判定する。
FIG. 14 is a flowchart of determination in a modification of the present embodiment.
S101: The information management unit 3 selects one or more from the determination methods of the first, third, and fourth examples in step S2107. Details will be described later.
S103: The information management unit 3 executes the determination method selected in step S101 and the determination method of the second example in step S2107 in parallel.
S105: The information management unit 3 determines whether or not a determination result is obtained by determination by any determination method.

S107:情報管理部3は、いずれかの判定方法で判定結果が得られたなら(S105:YES)、最も早く得られた判定結果を採用し、処理を終える。
S109:一方、情報管理部3は、いずれの判定方法でも判定結果が得られなかったなら(S105:NO)、デバイス情報やオンオフ履歴情報の更新が必要な旨を画面などに出力し、処理を終える。
S107: If the determination result is obtained by any one of the determination methods (S105: YES), the information management unit 3 adopts the determination result obtained earliest and ends the process.
S109: On the other hand, if the determination result is not obtained by any of the determination methods (S105: NO), the information management unit 3 outputs to the screen or the like that device information or on / off history information needs to be updated, and performs processing. Finish.

図15は、ステップS101で行う判定方法選択の詳細なフローチャートである。
S1011:情報管理部3は、判定対象である他のデバイスのオンオフ履歴情報内のオンオフ情報は全てオン値か否かを判定する。
S1012:情報管理部3は、判定対象である他のデバイスのオンオフ履歴情報内のオンオフ情報は全てオン値なら(S1011:YES)、第1実施例の判定方法を選択する。
FIG. 15 is a detailed flowchart of the determination method selection performed in step S101.
S1011: The information management unit 3 determines whether or not all on / off information in the on / off history information of other devices to be determined is an on value.
S1012: The information management unit 3 selects the determination method of the first embodiment if all the on / off information in the on / off history information of other devices to be determined are on values (S1011: YES).

S1013:情報管理部3は、判定対象である他のデバイスのオンオフ履歴情報内のオンオフ情報は全てオン値でないなら(S1011:NO)またはステップS1012の後、いずれかの連続する時間区間において、判定対象である他のデバイスの割合Ponが全て閾値THonより高いか否かを判定する。
S1014:情報管理部3は、割合Ponが全て閾値THonより高いなら(S1013:YES)、これまで選択した判定方法に加え、第3実施例の判定方法を選択する。
S1013: The information management unit 3 determines whether the on / off information in the on / off history information of other devices to be determined is not all on values (S1011: NO) or after any step S1012 in any continuous time interval. It is determined whether or not the ratio Pon of other target devices is higher than the threshold value THon.
S1014: If the ratios Pon are all higher than the threshold THon (S1013: YES), the information management unit 3 selects the determination method of the third embodiment in addition to the determination methods selected so far.

S1015:情報管理部3は、いずれか割合Ponが閾値THon以下なら(S1013:NO)またはステップS1014の後、判定対象である他のデバイスのオンオフ履歴情報内のいずれかの時間区間のオンオフ情報がオン値でありかつ新たなデバイスのオンオフ履歴情報内の同じ時間区間のオンオフ情報がオン値であるか否かを判定する。   S1015: The information management unit 3 determines that if any ratio Pon is equal to or less than the threshold value THon (S1013: NO) or after step S1014, the on / off information of any time section in the on / off history information of another device to be determined is It is determined whether or not the on / off information of the same time interval in the on / off history information of the new device is the on value.

S1016:情報管理部3は、判定対象である他のデバイスのオンオフ履歴情報内のいずれかの時間区間のオンオフ情報がオン値でありかつ新たなデバイスのオンオフ履歴情報内の同じ時間区間のオンオフ情報がオン値であるなら(S1015:YES)、これまで選択した判定方法に加え、第4実施例の判定方法を選択し、処理を終える。
情報管理部3は、ステップS1015でNOと判定されたなら、処理を終える。
S1016: The information management unit 3 sets the on / off information of any time section in the on / off history information of another device to be determined to be an on value, and the on / off information of the same time section in the on / off history information of the new device. Is an ON value (S1015: YES), in addition to the determination method selected so far, the determination method of the fourth embodiment is selected, and the process ends.
If the information management unit 3 determines NO in step S1015, the information management unit 3 ends the process.

以上のように、変形例に係るデバイス管理装置によれば、交換判定手段は、第1、第2、第3、第4実施例の判定方法のうちの少なくとも2つを用いて交換判定を行い、最も早く得られた判定結果を採用する。   As described above, according to the device management apparatus according to the modification, the replacement determination unit performs replacement determination using at least two of the determination methods of the first, second, third, and fourth embodiments. The determination result obtained earliest is adopted.

なお、本実施の形態または変形例に係るデバイス管理装置としてコンピュータを機能させるためのコンピュータプログラムは、半導体メモリ、磁気ディスク、光ディスク、光磁気ディスク、磁気テープなどのコンピュータ読み取り可能な記録媒体に記録でき、また、インターネットなどの通信網を介して伝送させて、広く流通させることができる。   A computer program for causing a computer to function as the device management apparatus according to the present embodiment or the modification can be recorded on a computer-readable recording medium such as a semiconductor memory, a magnetic disk, an optical disk, a magneto-optical disk, or a magnetic tape. Further, it can be widely distributed by being transmitted through a communication network such as the Internet.

1 サービス通信部
2 情報記憶部
3 情報管理部
4 デバイス通信部
A、B、サービスサーバ
01、02、03 デバイス
DESCRIPTION OF SYMBOLS 1 Service communication part 2 Information storage part 3 Information management part 4 Device communication part A, B, Service server 01, 02, 03 Device

Claims (8)

ゲートウェイ装置に接続されるデバイスを管理するデバイス管理装置であって、
デバイスの電源がオンであることを示すオン値またはオフであることを示すオフ値のいずれかであるオンオフ情報を含むデバイス情報がデバイスごとに記憶される情報記憶部と、
新たなデバイスが前記ゲートウェイ装置に接続されたなら、前記情報記憶部に記憶されたデバイス情報のオンオフ情報を用いて、接続済みの他のデバイスとの交換のために前記新たなデバイスが接続されたか否かを判定する交換判定手段と、
交換のためと判定されたなら、前記情報記憶部における前記他のデバイスのデバイス情報からオンオフ情報以外の少なくとも一部の情報を読み出し、前記新たなデバイスのデバイス情報に書き込む情報書き込み手段と
を備えることを特徴とするデバイス管理装置。
A device management device that manages devices connected to the gateway device,
An information storage unit that stores device information including on / off information that is either an on value indicating that the power of the device is on or an off value indicating that the device is off;
If a new device is connected to the gateway device, whether the new device is connected for exchange with another connected device using the on / off information of the device information stored in the information storage unit. Exchange determination means for determining whether or not,
If it is determined to be exchanged, the information storage unit includes information writing means for reading at least a part of information other than the on / off information from the device information of the other device in the information storage unit and writing the information into the device information of the new device. A device management apparatus.
請求項1記載のデバイス管理装置であって、
前記情報記憶部は、
前記オンオフ情報の履歴情報であるオンオフ履歴情報をデバイスごとに記憶し、
前記交換判定手段は、前記オンオフ履歴情報に基づいて判定を行う
ことを特徴とするデバイス管理装置。
The device management apparatus according to claim 1,
The information storage unit
On-off history information that is history information of the on-off information is stored for each device,
The device management apparatus, wherein the replacement determination unit performs determination based on the on / off history information.
請求項2記載のデバイス管理装置であって、
前記交換判定手段は、
他のデバイスの電源がオンである電源オン時間長を当該他のデバイスのオンオフ履歴情報に基づいて求め、
当該電源オン時間長が所定の閾値より長く、かつ、オフ値であるオンオフ情報が当該他のデバイスのデバイス情報に含まれるなら、
前記新たなデバイスが当該他のデバイスとの交換のために接続されたと判定する
ことを特徴とするデバイス管理装置。
The device management apparatus according to claim 2,
The replacement determination means includes
Based on the on / off history information of the other device, the power on time length during which the power of the other device is on is obtained.
If the power-on time length is longer than a predetermined threshold and the on / off information that is an off value is included in the device information of the other device,
It is determined that the new device is connected for exchange with the other device.
請求項2記載のデバイス管理装置であって、
デバイスごとに当該デバイスのオンオフ履歴情報に基づいて当該デバイスの電源がオフである電源オフ時間長の最長値が記録されるように構成され、
前記交換判定手段は、
前記新たなデバイスが接続された後、他のデバイスの前記最長値が更新されたなら、
前記新たなデバイスが当該他のデバイスとの交換のために接続されたと判定する
ことを特徴とするデバイス管理装置。
The device management apparatus according to claim 2,
Each device is configured to record the longest power off time length during which the power of the device is off based on the on / off history information of the device,
The replacement determination means includes
If the longest value of another device is updated after the new device is connected,
It is determined that the new device is connected for exchange with the other device.
請求項2記載のデバイス管理装置であって、
前記交換判定手段は、
一日を構成する各時間区間につき、当該時間区間で他のデバイスの電源がオンであった日数とオフであった日数の合計に対するオンであった日数の割合(Pon)を当該デバイスのオンオフ履歴情報に基づいて求め、連続する時間区間の各割合(Pon)が所定の閾値(THon)より高いなら、
当該連続する各時間区間について、当該時間区間で当該他のデバイスの電源がオンであった日数とオフであった日数の合計に対するオフであった日数の割合(Poff)を求め、全ての割合(Poff)の積が所定の閾値(THoff)以下なら、
前記新たなデバイスが当該他のデバイスとの交換のために接続されたと判定する
ことを特徴とするデバイス管理装置。
The device management apparatus according to claim 2,
The replacement determination means includes
For each time interval constituting one day, the ratio of the number of days that were turned on (Pon) to the total number of days that the other device was turned on and the number of days that were turned off in that time interval was the on / off history of the device. Based on information, if each ratio (Pon) of consecutive time intervals is higher than a predetermined threshold (THon),
For each successive time interval, the ratio of the number of days off (Poff) to the total number of days that the other device was turned on and the number of days off in the time interval was obtained, and all the ratios ( Poff) is less than or equal to a predetermined threshold (THoff)
It is determined that the new device is connected for exchange with the other device.
請求項2記載のデバイス管理装置であって、
前記交換判定手段は、
一日を構成する各時間区間につき、当該時間区間で第1の他のデバイスの電源がオンであった日数に対する当該時間区間で第1の他のデバイスの電源がオンでありかつ第2の他のデバイスの電源がオンであった日数の割合(P)を当該各デバイスのオンオフ履歴情報に基づいて求め、
前記割合(P)が1であり、かつ、オン値であるオンオフ情報が当該第2の他のデバイスのデバイス情報に含まれ、かつ、オフ値であるオンオフ情報が当該第1の他のデバイスのデバイス情報に含まれるなら、
前記新たなデバイスが当該第1の他のデバイスとの交換のために接続されたと判定する ことを特徴とするデバイス管理装置。
The device management apparatus according to claim 2,
The replacement determination means includes
For each time interval constituting one day, the power of the first other device is on and the second other time in the time interval corresponding to the number of days that the power of the first other device is on in the time interval. Based on the on / off history information of each device, the ratio (P) of days when the power of the device was turned on
The ratio (P) is 1, the on / off information that is an on value is included in the device information of the second other device, and the on / off information that is an off value is the information of the first other device. If included in the device information,
It is determined that the new device is connected for exchange with the first other device.
請求項2記載のデバイス管理装置であって、
前記交換判定手段は、
前記新たなデバイスならびに複数の他のデバイスのそれぞれにつき、電源のオンとオフに関する特徴量を当該各デバイスのオンオフ履歴情報に基づいて求め、
前記他のデバイスの各特徴量につき、前記新たなデバイスの特徴量との差分を求め、
前記差分の最小値を求め、
前記新たなデバイスが前記最小値に対応する他のデバイスとの交換のために接続されたと判定する
ことを特徴とするデバイス管理装置。
The device management apparatus according to claim 2,
The replacement determination means includes
For each of the new device and a plurality of other devices, a feature amount related to power on / off is obtained based on on / off history information of each device,
For each feature quantity of the other device, obtain a difference from the feature quantity of the new device,
Find the minimum value of the difference,
It is determined that the new device is connected for exchange with another device corresponding to the minimum value.
請求項1記載のデバイス管理装置であって、
前記交換判定手段は、
請求項3、4、5および6の判定方法のうちの少なくとも2つを用いて交換判定を行い、最も早く得られた判定結果を採用する
ことを特徴とするデバイス管理装置。
The device management apparatus according to claim 1,
The replacement determination means includes
A device management apparatus characterized in that an exchange determination is performed using at least two of the determination methods according to claim 3, 4, 5, and 6, and a determination result obtained earliest is adopted.
JP2014086287A 2014-04-18 2014-04-18 Device management device Active JP6225065B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014086287A JP6225065B2 (en) 2014-04-18 2014-04-18 Device management device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014086287A JP6225065B2 (en) 2014-04-18 2014-04-18 Device management device

Publications (2)

Publication Number Publication Date
JP2015207089A true JP2015207089A (en) 2015-11-19
JP6225065B2 JP6225065B2 (en) 2017-11-01

Family

ID=54603868

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014086287A Active JP6225065B2 (en) 2014-04-18 2014-04-18 Device management device

Country Status (1)

Country Link
JP (1) JP6225065B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113518951A (en) * 2019-03-14 2021-10-19 欧姆龙株式会社 Control system, control method, and control device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002108734A (en) * 2000-10-03 2002-04-12 Canon Inc Peripheral equipment managing device, network system, peripheral equipment managing method, and medium providing processing program
JP2004246670A (en) * 2003-02-14 2004-09-02 Seiko Epson Corp System and method for device authentication and point of sale information control system
WO2012081270A1 (en) * 2010-12-14 2012-06-21 株式会社日立製作所 Computer system and management server

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002108734A (en) * 2000-10-03 2002-04-12 Canon Inc Peripheral equipment managing device, network system, peripheral equipment managing method, and medium providing processing program
JP2004246670A (en) * 2003-02-14 2004-09-02 Seiko Epson Corp System and method for device authentication and point of sale information control system
WO2012081270A1 (en) * 2010-12-14 2012-06-21 株式会社日立製作所 Computer system and management server

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113518951A (en) * 2019-03-14 2021-10-19 欧姆龙株式会社 Control system, control method, and control device

Also Published As

Publication number Publication date
JP6225065B2 (en) 2017-11-01

Similar Documents

Publication Publication Date Title
US10725707B2 (en) Storage tier-based volume placement
US6801920B1 (en) System for remote management of applications of an industrial control system
US9436571B2 (en) Estimating data storage device lifespan
CN102841915B (en) Document management apparatus and control method thereof
JP2007072988A (en) Disc array device and data moving method and program
US9424156B2 (en) Identifying a potential failure event for a data storage device
TW200532472A (en) Apparatus, system, and method for on-demand control of grid system resources
JP2010003099A (en) Storage device performing power consumption estimation and power estimation method for storage device
CN109391647B (en) Storage resource recovery method, device and system
CN104919428A (en) Environmental setting server, computer system, and environmental setting method
JP5385458B2 (en) Computer system and renewal method thereof
US9436524B2 (en) Managing archival storage
US20190260820A1 (en) Small disk support for large cloud-based storage systems
JP6225065B2 (en) Device management device
CN107220248A (en) A kind of method and apparatus for data storage
CN104205730A (en) Network element data access method, device and network management system
JP2011048679A (en) Storage system, management method and program
CN104270294A (en) Household appliance control system and method on basis of public cloud
KR102509256B1 (en) Techniques for Scheduled Anti-Entropy Recovery Design
CN106105095B (en) The device and method of the energy consumption of interconnection equipment can be reduced
JP5543653B2 (en) Management computer
JP3816552B2 (en) Image file device
JP2024040875A (en) Information home appliances and home appliance cooperation methods
JP5942014B2 (en) Management computer and renewal method
JP5239411B2 (en) Content distribution device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160913

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170801

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170731

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170915

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20171006

R150 Certificate of patent or registration of utility model

Ref document number: 6225065

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150