JP2019152925A - Apparatus management system, gateway, server, and operation method and program thereof - Google Patents

Apparatus management system, gateway, server, and operation method and program thereof Download PDF

Info

Publication number
JP2019152925A
JP2019152925A JP2018035723A JP2018035723A JP2019152925A JP 2019152925 A JP2019152925 A JP 2019152925A JP 2018035723 A JP2018035723 A JP 2018035723A JP 2018035723 A JP2018035723 A JP 2018035723A JP 2019152925 A JP2019152925 A JP 2019152925A
Authority
JP
Japan
Prior art keywords
data
gateway
server
property data
memory
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.)
Pending
Application number
JP2018035723A
Other languages
Japanese (ja)
Inventor
直晃 荻野
Naoaki Ogino
直晃 荻野
内田 丈
Jo Uchida
丈 内田
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.)
Maxell Ltd
Original Assignee
Maxell Holdings Ltd
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 Maxell Holdings Ltd filed Critical Maxell Holdings Ltd
Priority to JP2018035723A priority Critical patent/JP2019152925A/en
Publication of JP2019152925A publication Critical patent/JP2019152925A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Computer And Data Communications (AREA)
  • Remote Monitoring And Control Of Power-Distribution Networks (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

To provide a server with information on an apparatus, without updating a program of a gateway, when a position of the information recorded on a memory of the apparatus is changed.SOLUTION: An apparatus management system 1 comprises a server 2 and a gateway 3. Apparatuses 4a-4c have a memory 41 including a previously determined service data area. The server 2 records request property data which specifies a position of data required for the apparatuses 4a-4c. The gateway 3 includes: a request property data acquisition unit 31; an acquisition property data acquisition unit 32 which acquires acquisition property data including information specifying the position of the data provided by the apparatuses 4a-4c; a data acquisition unit 33 which acquires the data recorded on the position indicated by the request property data and the acquisition property data from the memory 41 of the apparatuses 4a-4c; and a data transmission unit 34.SELECTED DRAWING: Figure 1

Description

本発明は、サーバがゲートウェイを介して機器から情報を取得する機器管理システムにおけるデータ取得技術に関する。   The present invention relates to a data acquisition technique in a device management system in which a server acquires information from a device via a gateway.

従来、住宅等の施設における複数の機器をサーバで監視する機器管理システムが提案されている。例えば、特許文献1では、住宅に設けられる複数の電気機器に通信ネットワークを介して接続され、これら複数の電気機器を制御する表示装置を備えるホームエネルギーマネージメントシステム(HEMS:Home energy management system)が開示されている。   Conventionally, a device management system for monitoring a plurality of devices in a facility such as a house with a server has been proposed. For example, Patent Document 1 discloses a home energy management system (HEMS) that includes a display device that is connected to a plurality of electrical devices provided in a house via a communication network and controls the plurality of electrical devices. Has been.

特開2014−165998号公報JP 2014-165998 A

例えば、HEMSのようなシステムでは、サーバと機器との通信経路の間にゲートウェイが設けられる。すなわち、サーバは、ゲートウェイを介して機器と通信する。ゲートウェイと機器との通信は、予め決められた規格に基づいて行われる。規格では、機器のメモリのどの位置にどのような情報を記録するかが決められることがある。この場合、ゲートウェイは、規格で決められたメモリの位置にアクセスして、機器の情報を取得する。ゲートウェイは、機器から取得した情報をサーバに送信する。   For example, in a system such as HEMS, a gateway is provided between communication paths between a server and a device. That is, the server communicates with the device via the gateway. Communication between the gateway and the device is performed based on a predetermined standard. The standard may determine what information is recorded in which location in the device memory. In this case, the gateway accesses the memory location determined by the standard, and acquires device information. The gateway transmits information acquired from the device to the server.

上記の規格は、変更されることが想定される。例えば、機器のメモリに記録される情報の項目を新たに追加する必要がある場合に、規格変更され得る。この場合、ゲートウェイを動作させるプログラムを、規格の変更に合わせて更新する必要が生じる。   The above standards are expected to change. For example, the standard can be changed when an item of information recorded in the memory of the device needs to be newly added. In this case, it is necessary to update the program for operating the gateway in accordance with the change of the standard.

そこで、本願は、機器のメモリ上に記録される情報の位置が変更された場合に、ゲートウェイのプログラムを更新しなくても、サーバへ機器の情報を提供するための技術を開示する。   Therefore, the present application discloses a technique for providing device information to a server without updating the gateway program when the position of information recorded on the device memory is changed.

本発明の1つの実施形態における機器管理システムは、サーバと、前記サーバと、機器の双方と通信可能なゲートウェイとを備える。前記機器は、外部に提供するデータを記録するための予め決められた提供データ領域を含むメモリを有する。前記サーバは、前記機器に対して要求するデータの前記提供データ領域における位置を特定する情報を含む要求プロパティデータを記録するメモリを含む。前記ゲートウェイは、前記サーバから前記要求プロパティデータを取得する要求プロパティデータ取得部と、前記機器から、前記機器が提供するデータの前記提供データ領域における位置を特定する情報を含む取得プロパティデータを取得する取得プロパティデータ取得部と、前記要求プロパティデータが示す位置であって、且つ、前記取得プロパティデータが示す位置に記録されたデータを、前記機器の前記メモリから取得するデータ取得部と、前記データ取得部が取得したデータを、前記サーバに送信するデータ送信部と、を含む。   The device management system in one embodiment of the present invention includes a server, a gateway that can communicate with both the server and the device. The device includes a memory including a predetermined provision data area for recording data to be provided to the outside. The server includes a memory that records request property data including information for specifying a position in the provided data area of data requested to the device. The gateway acquires, from the server, a request property data acquisition unit that acquires the request property data from the server, and acquires acquisition property data including information that specifies a position of the data provided by the device in the provided data area An acquisition property data acquisition unit; a data acquisition unit that acquires the data recorded at the position indicated by the request property data and indicated by the acquisition property data from the memory of the device; and the data acquisition A data transmission unit that transmits data acquired by the unit to the server.

本願の開示によれば、機器管理システムにおいて、機器のメモリ上に記録される情報の位置が変更された場合に、ゲートウェイのプログラムを更新しなくても、サーバへ機器の情報を提供することが可能になる。   According to the disclosure of the present application, in the device management system, when the position of information recorded on the device memory is changed, the device information can be provided to the server without updating the gateway program. It becomes possible.

実施形態1における機器管理システムの構成例を示す図である。It is a figure which shows the structural example of the apparatus management system in Embodiment 1. FIG. 図1に示す機器管理システムの変形例を示す図である。It is a figure which shows the modification of the apparatus management system shown in FIG. 提供データ領域に記録されるプロパティの一例を示す表である。It is a table | surface which shows an example of the property recorded on a provision data area. 提供データ領域における位置とビットマップにおけるビットとの対応関係を示す表である。It is a table | surface which shows the correspondence of the position in a provision data area | region, and the bit in a bitmap. 機器管理システムの動作例を示すシーケンス図である。It is a sequence diagram which shows the operation example of an apparatus management system. 図1又は図2に示す機器管理システムの適用例を示す図である。It is a figure which shows the example of application of the apparatus management system shown in FIG.

本発明の1つの実施形態における機器管理システムは、サーバと、前記サーバと、機器の双方と通信可能なゲートウェイとを備える。前記機器は、外部に提供するデータを記録するための予め決められた提供データ領域を含むメモリを有する。前記サーバは、前記機器に対して要求するデータの前記提供データ領域における位置を特定する情報を含む要求プロパティデータを記録するメモリを含む。前記ゲートウェイは、前記サーバから前記要求プロパティデータを取得する要求プロパティデータ取得部と、前記機器から、前記機器が提供するデータの前記提供データ領域における位置を特定する情報を含む取得プロパティデータを取得する取得プロパティデータ取得部と、前記要求プロパティデータが示す位置であって、且つ、前記取得プロパティデータが示す位置に記録されたデータを、前記機器の前記メモリから取得するデータ取得部と、前記データ取得部が取得したデータを、前記サーバに送信するデータ送信部と、を含む。   The device management system in one embodiment of the present invention includes a server, a gateway that can communicate with both the server and the device. The device includes a memory including a predetermined provision data area for recording data to be provided to the outside. The server includes a memory that records request property data including information for specifying a position in the provided data area of data requested to the device. The gateway acquires, from the server, a request property data acquisition unit that acquires the request property data from the server, and acquires acquisition property data including information that specifies a position of the data provided by the device in the provided data area An acquisition property data acquisition unit; a data acquisition unit that acquires the data recorded at the position indicated by the request property data and indicated by the acquisition property data from the memory of the device; and the data acquisition A data transmission unit that transmits data acquired by the unit to the server.

機器管理システムでは、機器のメモリの予め決められた提供データ領域に、機器の情報が記録される。ゲートウェイは、この提供データ領域からデータを取得してサーバに送信する。この構成において、機器のメモリの提供データ領域において、どの位置にどのような情報が記録されるかは、規格によって予め決められる場合がある。この場合、ゲートウェイは、機器のメモリの提供データ領域の規格で定められた位置のデータを読み出すことで、必要な情報を取得し、サーバに提供することができる。   In the device management system, device information is recorded in a predetermined provided data area of the device memory. The gateway acquires data from the provided data area and transmits it to the server. In this configuration, what information is recorded at which position in the provided data area of the memory of the device may be determined in advance by a standard. In this case, the gateway can acquire necessary information by reading out data at a position defined by the standard of the provided data area of the device memory, and can provide the information to the server.

従来のゲートウェイは、提供データ領域における規格で定められた位置のデータを読み出すようプログラムされる。ここで、例えば、機器が提供する情報を増やす必要がある場合は、規格が改正されて、提供データ領域の新たな位置に新たな情報のデータが追加されることがある。このように、提供データ領域に記録される情報の位置を示す規格が変更されることがある。従来のゲートウェイでは、このような規格の変更に伴って、プログラムを書き換える必要が生じていた。   A conventional gateway is programmed to read data at a location defined by the standard in the provided data area. Here, for example, when it is necessary to increase the information provided by the device, the standard may be revised and new information data may be added to a new position in the provided data area. As described above, the standard indicating the position of information recorded in the provided data area may be changed. In the conventional gateway, it is necessary to rewrite the program in accordance with such a change in the standard.

上記構成の機器管理システムにおいて、ゲートウェイの要求プロパティデータ取得部は、サーバから、要求プロパティデータを取得する。要求プロパティデータは、サーバが機器に対して要求するデータが、機器のメモリの提供データ領域のどの位置にあるかを特定するための情報を含む。また、ゲートウェイの取得プロパティデータ取得部は、機器から、取得プロパティデータを取得する。取得プロパティデータは、機器が提供するデータが提供データ領域のどの位置にあるかを特定するための情報を含む。ゲートウェイのデータ取得部は、要求プロパティデータが示す位置であって、且つ、取得プロパティデータが示す位置に記録されたデータを、機器のメモリから取得する。この構成では、ゲートウェイが機器のメモリから取得してサーバに送信するデータは、要求プロパティデータと取得プロパティデータによって決められる。例えば、規格が変更されて、機器のメモリの提供データ領域における情報の配置が変わった場合、取得プロパティデータ及び/又は要求プロパティデータの更新によって対応できる。そのため、ゲートウェイを動作させるプログラムを変更しなくて済む。すなわち、機器のメモリ上に記録される情報の位置を示す規格が変更された場合に、ゲートウェイのプログラムを更新しなくても、サーバへ機器の情報を提供することが可能になる。   In the device management system configured as described above, the request property data acquisition unit of the gateway acquires the request property data from the server. The request property data includes information for specifying the position of the data requested by the server for the device in the data area provided in the memory of the device. The acquisition property data acquisition unit of the gateway acquires acquisition property data from the device. The acquired property data includes information for specifying in which position in the provided data area the data provided by the device is located. The data acquisition unit of the gateway acquires the data recorded at the position indicated by the requested property data and at the position indicated by the acquired property data from the memory of the device. In this configuration, the data that the gateway acquires from the device memory and transmits to the server is determined by the requested property data and the acquired property data. For example, when the standard is changed and the arrangement of information in the provided data area of the device memory is changed, it can be dealt with by updating the acquired property data and / or the requested property data. Therefore, it is not necessary to change the program that operates the gateway. That is, when the standard indicating the position of information recorded on the memory of the device is changed, the device information can be provided to the server without updating the gateway program.

なお、機器のメモリの提供データ領域における情報の配置が変わるのは、規格の変更による場合に限られない。例えば、機器を提供するメーカーと、ゲートウェイを提供するメーカーとは、異なる場合がある。機器のメーカーが、ゲートウェイのメーカーには知らせずに、機器のメモリの提供データ領域における情報の配置を変更した場合でも、ゲートウェイのプログラムを更新しなくても、対応することが可能になる。同じカテゴリの機器であっても、メーカー毎に、機器のメモリの提供データ領域における情報の配置が異なる場合がある。この場合にも、ゲートウェイのプログラムを更新しなくても、対応することが可能になる。   Note that the change in the arrangement of information in the provided data area of the device memory is not limited to a change in standard. For example, the manufacturer that provides the device may be different from the manufacturer that provides the gateway. Even if the manufacturer of the device changes the information arrangement in the data area provided in the memory of the device without notifying the manufacturer of the gateway, it is possible to cope without changing the program of the gateway. Even in the same category of equipment, the arrangement of information in the provided data area of the memory of the equipment may differ for each manufacturer. This case can also be handled without updating the gateway program.

上記機器管理システムにおいて、前記ゲートウェイの前記データ取得部は、前記取得プロパティデータが示す位置に記録されたデータを取得し、取得したデータのうち、前記要求プロパティデータが示す位置のデータをさらに抽出するように構成されてもよい。この場合、前記データ送信部は、前記データ取得部が抽出したデータを前記サーバに送信する。   In the device management system, the data acquisition unit of the gateway acquires data recorded at a position indicated by the acquired property data, and further extracts data at a position indicated by the request property data from the acquired data. It may be configured as follows. In this case, the data transmission unit transmits the data extracted by the data acquisition unit to the server.

上記機器管理システムにおいて、前記ゲートウェイの前記データ取得部は、前記機器の前記メモリにアクセスして、前記取得プロパティデータと前記取得プロパティデータの両方が示す位置のデータを取得するように構成されてもよい。この場合、前記データ送信部は、前記データ取得部が取得したデータを前記サーバに送信する。   In the device management system, the data acquisition unit of the gateway may be configured to access the memory of the device and acquire data at a position indicated by both the acquisition property data and the acquisition property data. Good. In this case, the data transmission unit transmits the data acquired by the data acquisition unit to the server.

上記機器管理システムにおいて、前記ゲートウェイは、前記サーバから取得した前記要求プロパティデータを記録するメモリを有してもよい。この場合、前記ゲートウェイは、前記ゲートウェイの前記メモリに記録された前記要求プロパティデータが示す位置であって、且つ、前記取得プロパティデータが示す位置に記録されたデータを、前記機器の前記メモリから取得することができる。これにより、ゲートウェイは、機器からデータを取得する度に毎回サーバから要求プロパティデータを取得しなくてもよくなる。サーバからゲートウェイへの要求プロパティデータの送信処理を少なくすることができる。   In the device management system, the gateway may include a memory that records the requested property data acquired from the server. In this case, the gateway acquires the data recorded at the position indicated by the request property data recorded in the memory of the gateway and at the position indicated by the acquired property data from the memory of the device. can do. This eliminates the need for the gateway to acquire the requested property data from the server every time data is acquired from the device. Request property data transmission processing from the server to the gateway can be reduced.

上記機器管理システムにおいて、前記ゲートウェイは、前記サーバから前記要求プロパティデータの更新情報を受信し、受信した前記更新情報に基づいて前記ゲートウェイの前記メモリに記録された前記要求プロパティデータを更新するよう構成されてもよい。これにより、サーバからの更新情報の受信を契機として、ゲートウェイが保持する要求プロパティデータを更新することができる。サーバは、所望のタイミングで、ゲートウェイで保持された要求プロパティデータを更新することができる。   In the device management system, the gateway receives update information of the request property data from the server and updates the request property data recorded in the memory of the gateway based on the received update information. May be. As a result, the request property data held by the gateway can be updated in response to reception of update information from the server. The server can update the request property data held in the gateway at a desired timing.

上記機器管理システムにおいて、前記ゲートウェイは、前記サーバに対して、前記要求プロパティデータの更新情報を要求し、要求に対して前記サーバが送信した更新情報に基づいて前記ゲートウェイの前記メモリに記録された前記要求プロパティデータを更新するよう構成されてもよい。これにより、ゲートウェイからサーバへの要求を契機として、ゲートウェイが保持する要求プロパティデータを更新することができる。ゲートウェイは、所望のタイミングで、ゲートウェイで保持された要求プロパティデータを更新することができる。   In the device management system, the gateway requests update information of the request property data from the server, and is recorded in the memory of the gateway based on the update information transmitted by the server in response to the request. The request property data may be updated. Thereby, the request property data held by the gateway can be updated in response to a request from the gateway to the server. The gateway can update the request property data held by the gateway at a desired timing.

上記機器管理システムにおいて、前記更新情報は、更新の時期を示す時期情報を含んでもよい。前記ゲートウェイは、前記時期情報が示す時期に、前記前記ゲートウェイの前記メモリに記録された前記要求プロパティデータを更新することができる。すなわち、ゲートウェイは、時期情報を示す時期が来た場合に、更新された要求プロパティデータを用いて、機器からのデータ取得の処理を実行することができる。   In the device management system, the update information may include time information indicating an update time. The gateway can update the request property data recorded in the memory of the gateway at a time indicated by the time information. That is, the gateway can execute a process of acquiring data from the device using the updated request property data when the time indicating the time information comes.

これにより、ゲートウェイは、更新情報の時期情報が示す時期が到来したタイミングで、メモリの要求プロパティデータを更新することができる。時期情報は、例えば、更新の日時を示す情報であってもよい。この場合、ゲートウェイは、時期情報が示す日時が到来した時点で、要求プロパティデータを更新する。これにより、ゲートウェイにおける要求プロパティデータの更新時期が制御できる。例えば、何日から規格が変更になるといった場合に、各ゲートウェイにおいて、規格が変更になる日から一斉に対応することが可能となる。又は、規格が変更になる前に、事前に各ゲートウェイの要求プロパティを更新することもできる。   Thereby, the gateway can update the requested property data in the memory at the timing when the time indicated by the time information of the update information has arrived. The time information may be information indicating the date and time of update, for example. In this case, the gateway updates the requested property data when the date and time indicated by the time information arrives. Thereby, the update timing of the request property data in the gateway can be controlled. For example, when the standard is changed from what date, it is possible to simultaneously cope with each gateway from the date when the standard is changed. Alternatively, the request property of each gateway can be updated in advance before the standard is changed.

なお、時期情報は、日時に加えて、又は代えて、時分を示す情報であってもよい。また、更新情報に含まれる情報は、時期情報に限られない。例えば、サーバにおいて要求プロパティデータが更新されたことを示す情報、又は、要求プロパティデータの更新の内容を示す情報等が、更新情報に含まれてもよい。この場合、ゲートウェイは、更新情報の示す内容で、メモリの要求プロパティデータを更新することができる。また、更新情報は、更新された要求プロパティデータであってもよい。   The time information may be information indicating the hour and minute in addition to or instead of the date and time. Further, the information included in the update information is not limited to the time information. For example, information indicating that the requested property data has been updated in the server, information indicating an update content of the requested property data, or the like may be included in the update information. In this case, the gateway can update the requested property data in the memory with the content indicated by the update information. The update information may be updated request property data.

上記機器管理システムにおいて、前記ゲートウェイは、前記サーバから、前記機器に対する制御指示を受信し、前記制御指示に基づいて、前記機器の前記メモリのデータを更新することで、前記機器を制御する機器制御部をさらに備えるよう構成されてもよい。これにより、サーバは、ゲートウェイを介して、機器を制御することができる。   In the device management system, the gateway receives a control instruction for the device from the server, and updates the data in the memory of the device based on the control instruction, thereby controlling the device. A part may be further provided. Thus, the server can control the device via the gateway.

例えば、前記ゲートウェイは、前記機器の前記メモリの前記提供データ領域の予め決められた位置のデータを更新することで、機器の状態又は動作を制御することができる。この場合、前記ゲートウェイは、サーバから制御指示として、提供データ領域において対象とする位置を示すデータと、その対象とする位置に書き込むデータの内容を示す制御プロパティデータを受信することができる。   For example, the gateway can control the state or operation of the device by updating data at a predetermined position in the provided data area of the memory of the device. In this case, the gateway can receive, as a control instruction from the server, data indicating a target position in the provided data area and control property data indicating the content of data to be written in the target position.

上記機器管理システムにおけるゲートウェイも、本発明の実施形態に含まれる。また、ゲートウェイに上記の機能を実現するための処理を実行させるゲートウェイプログラム、及び、上記の機能を実現するためのゲートウェイの動作方法も、本発明の実施形態に含まれる。   The gateway in the device management system is also included in the embodiment of the present invention. Also included in the embodiments of the present invention are a gateway program for causing the gateway to execute processing for realizing the above functions, and a gateway operating method for realizing the above functions.

上記機器管理システムにおけるサーバも、本発明の実施形態に含まれる。また、サーバに上記の機能を実現するための処理を実行させるサーバプログラム、及び、上記の機能を実現するためのサーバの動作方法も、本発明の実施形態に含まれる。   A server in the device management system is also included in the embodiment of the present invention. In addition, a server program for causing a server to execute processing for realizing the above function and a server operation method for realizing the above function are also included in the embodiments of the present invention.

以下、図面を参照し、本発明の実施の形態を詳しく説明する。図中同一または相当部分には同一符号を付してその説明は繰り返さない。なお、説明を分かりやすくするために、以下で参照する図面においては、構成が簡略化または模式化して示されたり、一部の構成部材が省略されたりしている。また、各図に示された構成部材間の寸法比は、必ずしも実際の寸法比を示すものではない。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. In the drawings, the same or corresponding parts are denoted by the same reference numerals and description thereof will not be repeated. In addition, in order to make the explanation easy to understand, in the drawings referred to below, the configuration is shown in a simplified or schematic manner, or some components are omitted. Further, the dimensional ratio between the constituent members shown in each drawing does not necessarily indicate an actual dimensional ratio.

[実施形態]
(システムの構成例)
図1は、実施形態1における機器管理システムの構成例を示す図である。機器管理システム1は、サーバ2とゲートウェイ3を備える。サーバ2とゲートウェイ3は、ネットワークNを介して通信可能である。ゲートウェイ3は、複数の機器4a〜4cと通信可能である。サーバ2は、ゲートウェイ3を通じて機器4a〜4cから情報を取得する。これにより、サーバ2は、機器4a〜4cを管理するための情報を、機器4a〜4cから取得することができる。以下では、機器4a〜4fを特に区別しないときは、機器4と総称する。
[Embodiment]
(System configuration example)
FIG. 1 is a diagram illustrating a configuration example of a device management system according to the first embodiment. The device management system 1 includes a server 2 and a gateway 3. The server 2 and the gateway 3 can communicate with each other via the network N. The gateway 3 can communicate with a plurality of devices 4a to 4c. The server 2 acquires information from the devices 4 a to 4 c through the gateway 3. Thereby, the server 2 can acquire information for managing the devices 4a to 4c from the devices 4a to 4c. Hereinafter, when the devices 4a to 4f are not particularly distinguished, they are collectively referred to as a device 4.

ゲートウェイ3と機器4は、予め決められた通信規格(通信方式)に基づいて通信が行われる。ゲートウェイ3と機器4a〜4cの間の通信方式と、ゲートウェイ3とサーバ2の間の通信方式は、異なっていてもよい。   The gateway 3 and the device 4 communicate with each other based on a predetermined communication standard (communication method). The communication method between the gateway 3 and the devices 4a to 4c and the communication method between the gateway 3 and the server 2 may be different.

機器4は、メモリ41を有する。メモリ41は、外部に提供するデータを記録するための予め決められた提供データ領域を含む。メモリ41は、予め決められた提供データ領域を含む。この提供データ領域は、外部に提供するデータを記録するための領域である。ゲートウェイ3は、機器4のメモリ41の提供データ領域にアクセス可能である。これにより、提供データ領域に記録されたデータの情報は、ゲートウェイ3及びサーバ2等の外部機器と共有される。提供データ領域において、どの位置にどのような情報のデータを記録するかは、規格によって決められる。この規格は、例えば、ゲートウェイ3と機器4との間の通信規格であってもよい。   The device 4 has a memory 41. The memory 41 includes a predetermined provision data area for recording data to be provided to the outside. The memory 41 includes a predetermined provision data area. This provided data area is an area for recording data to be provided to the outside. The gateway 3 can access the provided data area of the memory 41 of the device 4. Thereby, the information of the data recorded in the provided data area is shared with the external devices such as the gateway 3 and the server 2. In the provided data area, what information data is recorded at which position is determined by the standard. This standard may be a communication standard between the gateway 3 and the device 4, for example.

ゲートウェイ3は、提供データ領域における位置を指定し、指定した位置のデータを機器4に対して要求する。これにより、ゲートウェイ3は、機器4のメモリ41の提供データ領域から指定した位置のデータを取得することができる。ゲートウェイ3は、機器4から取得したデータをサーバ2へ送信する。ゲートウェイ3は、サーバ2から機器4のデータの要求を受信したことを契機として、機器4からデータを取得してサーバ2へ送信することができる。或いは、ゲートウェイ3は、定期的に機器4からデータを取得してサーバ2に送信することができる。   The gateway 3 designates a position in the provided data area, and requests the device 4 for data at the designated position. Thereby, the gateway 3 can acquire the data at the designated position from the provided data area of the memory 41 of the device 4. The gateway 3 transmits data acquired from the device 4 to the server 2. The gateway 3 can acquire data from the device 4 and transmit it to the server 2 when the request for the data of the device 4 is received from the server 2. Alternatively, the gateway 3 can periodically acquire data from the device 4 and transmit it to the server 2.

図1に示す例では、ゲートウェイ3は、要求プロパティデータ取得部31、取得プロパティデータ取得部32、データ取得部33、データ送信部34、及びメモリ35を備える。   In the example illustrated in FIG. 1, the gateway 3 includes a request property data acquisition unit 31, an acquisition property data acquisition unit 32, a data acquisition unit 33, a data transmission unit 34, and a memory 35.

要求プロパティデータ取得部31は、サーバ2から、要求プロパティデータを取得する。サーバ2のメモリ21には、要求プロパティデータが記録される。要求プロパティデータは、サーバ2が機器4に対して要求するデータを特定するためのデータである。具体的は、要求プロパティデータは、機器4のメモリ41の提供データ領域において、サーバ2が要求するデータがどの位置にあるかを示す情報を含む。例えば、要求プロパティデータは、提供データ領域における1又は複数のアドレスを直接的又は間接的に示す情報を含む。この場合、例えば、要求プロパティデータが示す1又は複数のアドレスのデータが、提供データ領域から読み出されて、ゲートウェイ3を経てサーバ2に送信されることになる。   The request property data acquisition unit 31 acquires request property data from the server 2. The requested property data is recorded in the memory 21 of the server 2. The request property data is data for specifying data that the server 2 requests from the device 4. Specifically, the requested property data includes information indicating where the data requested by the server 2 is located in the provided data area of the memory 41 of the device 4. For example, the request property data includes information that directly or indirectly indicates one or more addresses in the provided data area. In this case, for example, data of one or a plurality of addresses indicated by the request property data is read from the provided data area and transmitted to the server 2 via the gateway 3.

取得プロパティデータ取得部32は、機器4から、取得プロパティデータを取得する。機器4のメモリ41には、取得プロパティデータが記録される。取得プロパティデータは、機器4がサーバ2等の外部機器に対して提供可能なデータを特定するためのデータである。具体的は、取得プロパティデータは、機器4のメモリ41の提供データ領域において、外部機器に提供可能なデータがどの位置にあるかを示す情報を含む。例えば、取得プロパティデータは、提供データ領域における1又は複数のアドレスを直接的又は間接的に示す情報を含む。この場合、例えば、ゲートウェイ3は、取得プロパティデータが示す1又は複数のアドレスのデータを、機器4から取得することができる。   The acquired property data acquisition unit 32 acquires acquired property data from the device 4. Acquired property data is recorded in the memory 41 of the device 4. The acquired property data is data for specifying data that the device 4 can provide to an external device such as the server 2. Specifically, the acquired property data includes information indicating where the data that can be provided to the external device is located in the provided data area of the memory 41 of the device 4. For example, the acquired property data includes information that directly or indirectly indicates one or more addresses in the provided data area. In this case, for example, the gateway 3 can acquire the data of one or more addresses indicated by the acquired property data from the device 4.

データ取得部33は、要求プロパティデータと取得プロパティデータに基づいて、機器4のメモリ41の提供データ領域からデータを取得する。具体的には、要求プロパティデータが示す提供データ領域における位置であって、且つ、提供プロパティデータが示す提供データ領域における位置に記録されたデータを取得する。ゲートウェイ3は、要求プロパティデータと取得プロパティデータの双方が示す位置に記録されたデータを、機器4から取得する。   The data acquisition unit 33 acquires data from the provided data area of the memory 41 of the device 4 based on the requested property data and the acquired property data. Specifically, the data recorded at the position in the provided data area indicated by the requested property data and at the position in the provided data area indicated by the provided property data is acquired. The gateway 3 acquires the data recorded at the position indicated by both the requested property data and the acquired property data from the device 4.

図1の例では、説明をわかりやすくするために、提供データ領域を簡略化して、4行4列のマトリクスで表現している。また、要求プロパティデータ及び取得プロパティデータは、このマトリクスにおける位置を、それぞれ、丸印及び三角印で示している。すなわち、図1の要求プロパティデータにおける丸印、及び取得プロパティデータにおける三角印は、それぞれ、提供データ領域における位置を示している。これは、図2でも同様である。   In the example of FIG. 1, for easy understanding, the provided data area is simplified and expressed in a matrix of 4 rows and 4 columns. Further, the request property data and the acquired property data indicate the positions in this matrix by circles and triangles, respectively. That is, the circles in the requested property data and the triangles in the acquired property data in FIG. 1 indicate the positions in the provided data area, respectively. The same applies to FIG.

図1に示す例では、ゲートウェイ3のデータ取得部33は、機器4aから取得した取得プロパティデータが示す位置のデータを機器4aのメモリ41の提供データ領域から取得する。例えば、例えば、データ取得部33は、取得プロパティデータが示す位置のデータを機器4aに要求する。データ取得部33は、提供データ領域から取得したデータのうち、要求プロパティデータが示す位置のデータを、サーバ2に送信するデータとして抽出する。例えば、データ取得部33は、要求プロパティデータと取得プロパティデータを比較することで、要求プロパティデータが示す位置で、且つ、取得プロパティデータが示す位置を決定する。データ取得部33は、決定した位置のデータを、提供データ領域から取得したデータから抽出する。   In the example illustrated in FIG. 1, the data acquisition unit 33 of the gateway 3 acquires the data at the position indicated by the acquisition property data acquired from the device 4a from the provided data area of the memory 41 of the device 4a. For example, for example, the data acquisition unit 33 requests the device 4a for data at a position indicated by the acquisition property data. The data acquisition unit 33 extracts the data at the position indicated by the requested property data from the data acquired from the provided data area as data to be transmitted to the server 2. For example, the data acquisition unit 33 compares the requested property data with the acquired property data to determine the position indicated by the requested property data and the position indicated by the acquired property data. The data acquisition unit 33 extracts the data at the determined position from the data acquired from the provided data area.

図1のメモリ35の中において要求プロパティデータ及び取得プロパティデータの双方が示す位置すなわち丸印と三角印が重なる位置にあるデータが抽出される。データ送信部34は、抽出されたデータをサーバ2に送信する。このように、図1に示す例では、機器4aからゲートウェイ3へ、取得プロパティデータが示す位置のデータの全てが送信される。ゲートウェイ3に送信されたデータのうち、要求プロパティデータが示す位置のデータが、サーバ2に送信される。   In the memory 35 of FIG. 1, the data indicated by the position indicated by both the requested property data and the acquired property data, that is, the position where the circle mark and the triangle mark overlap is extracted. The data transmission unit 34 transmits the extracted data to the server 2. As described above, in the example illustrated in FIG. 1, all of the data at the position indicated by the acquired property data is transmitted from the device 4 a to the gateway 3. Of the data transmitted to the gateway 3, the data at the position indicated by the request property data is transmitted to the server 2.

図2は、図1に示すデータ取得部33の変形例を示す図である。図2に示す例では、データ取得部33は、機器4aのメモリ41にアクセスして、提供データ領域から、要求プロパティデータ及び取得プロパティデータの双方が示す位置すなわち丸印と三角印が重なる位置にあるデータを取得する。具体例として、データ取得部33は、機器4aに対して、要求プロパティデータ及び取得プロパティデータの双方が示す位置にあるデータを要求する。例えば、データ取得部33は、要求プロパティデータと取得プロパティデータを比較することで、要求プロパティデータが示す位置で、且つ、取得プロパティデータが示す位置を決定する。データ取得部33は、決定した位置のデータを、機器4aに要求する。例えば、データ取得部33は、この決定した提供データ領域における位置を特定する情報を含む要求データを機器4aに送信する。   FIG. 2 is a diagram illustrating a modification of the data acquisition unit 33 illustrated in FIG. In the example illustrated in FIG. 2, the data acquisition unit 33 accesses the memory 41 of the device 4 a and moves from the provided data area to the position indicated by both the requested property data and the acquired property data, that is, the position where the circle mark and the triangle mark overlap. Get some data. As a specific example, the data acquisition unit 33 requests the device 4a for data at a position indicated by both the requested property data and the acquired property data. For example, the data acquisition unit 33 compares the requested property data with the acquired property data to determine the position indicated by the requested property data and the position indicated by the acquired property data. The data acquisition unit 33 requests the data of the determined position from the device 4a. For example, the data acquisition unit 33 transmits request data including information specifying the determined position in the provided data area to the device 4a.

機器4は、メモリ41の提供データ領域において要求プロパティデータ及び取得プロパティデータを示す位置にあるデータを読み出して、ゲートウェイ3に送信する。ゲートウェイ3のデータ送信部34は、ゲートウェイ3が機器4aから受信したデータを、サーバ2に送信する。このように、図2に示す例では、機器4aからゲートウェイ3へ、取得プロパティデータ及び要求プロパティデータの双方が示す位置のデータが送信される。ゲートウェイ3に送信されたデータは、サーバ2に送信される。   The device 4 reads the data at the position indicating the requested property data and the acquired property data in the provided data area of the memory 41 and transmits the data to the gateway 3. The data transmission unit 34 of the gateway 3 transmits the data received by the gateway 3 from the device 4 a to the server 2. As described above, in the example illustrated in FIG. 2, the data at the position indicated by both the acquired property data and the requested property data is transmitted from the device 4 a to the gateway 3. The data transmitted to the gateway 3 is transmitted to the server 2.

なお、機器4aからゲートウェイ3へ送信される提供データ領域のデータの形式と、ゲートウェイ3からサーバ2へ送信される提供データ領域のデータの形式は、異なっていてもよい。例えば、これらのデータの形式は、機器4aとゲートウェイ3の間の通信規格及び、ゲートウェイ3とサーバ2との間の通信規格のそれぞれに応じた形式とすることができる。この場合、ゲートウェイ3は、機器4aのメモリ41の提供データ領域から取得したデータを、サーバ2とゲートウェイ3の間の通信規格に応じた形式に変換して、サーバ2に送信することができる。   The data format of the provided data area transmitted from the device 4a to the gateway 3 and the data format of the provided data area transmitted from the gateway 3 to the server 2 may be different. For example, the format of these data can be a format according to the communication standard between the device 4a and the gateway 3 and the communication standard between the gateway 3 and the server 2. In this case, the gateway 3 can convert the data acquired from the provided data area of the memory 41 of the device 4 a into a format according to the communication standard between the server 2 and the gateway 3 and transmit the data to the server 2.

(データ形式の例)
次に、図3及び図4を用いて、要求プロパティデータ及び取得プロパティデータの表現形式の一例を説明する。図3は、機器4aのメモリ41の提供データ領域に記録されるデータの項目、データの項目それぞれの提供データ領域における位置(アドレス)、及びプロパティマップにおけるビットの位置を示す表である。本例では、要求プロパティデータ及び取得プロパティデータは、プロパティマップと呼ばれるビットマップで表現される。図4は、機器4aのメモリ41の提供データ領域における位置(アドレス)とビットマップにおけるビットとの対応関係を示す表である。以下では、図3に示すデータの項目をプロパティと称する。
(Example of data format)
Next, an example of the expression format of the requested property data and the acquired property data will be described with reference to FIGS. 3 and 4. FIG. 3 is a table showing data items recorded in the provision data area of the memory 41 of the device 4a, the positions (addresses) of the data items in the provision data area, and the bit positions in the property map. In this example, the requested property data and the acquired property data are represented by a bitmap called a property map. FIG. 4 is a table showing the correspondence between the position (address) in the provided data area of the memory 41 of the device 4a and the bit in the bitmap. Hereinafter, the data items shown in FIG. 3 are referred to as properties.

図3のデータの項目のそれぞれは、図4に示すプロパティマップの丸印に対応する。図3に示すプロパティのリストは、機器4aが外部に提供するデータの項目のリストである。これらのプロパティのそれぞれに、提供データ領域の位置(アドレス)が対応付けられる。例えば、図3の表のNo.1のプロパティは、機器4aの「動作状態」を示すデータであり、提供データ領域におけるアドレス「0x50」で示される位置に記録される。アドレス「0x50」にプロパティがあることは、図4に示すプロパティマップにおいて、2バイト目のビット3を「1」とすることで表現される。このように、プロパティマップにおいて、「1」はプロパティあり、「0」はプロパティなしを表す。例えば、取得プロパティのプロパティマップにおいて、2バイト目のビット3が「1」であれば、提供データ領域のアドレス「0x50」において、機器4aが外部に提供する情報を含むデータが記録されることを示している。要求プロパティマップにおいて、2バイト目のビット3が「1」であれば、提供データ領域のアドレス「0x50」のデータをサーバ2が要求していることを示している。   Each of the data items in FIG. 3 corresponds to a circle in the property map shown in FIG. The property list shown in FIG. 3 is a list of data items provided externally by the device 4a. Each of these properties is associated with the position (address) of the provided data area. For example, in the table of FIG. Property 1 is data indicating the “operation state” of the device 4a, and is recorded at a position indicated by an address “0x50” in the provided data area. The presence of a property at the address “0x50” is expressed by setting bit 3 of the second byte to “1” in the property map shown in FIG. Thus, in the property map, “1” indicates that there is a property and “0” indicates that there is no property. For example, in the property map of the acquired property, if bit 3 of the second byte is “1”, data including information provided to the outside by the device 4a is recorded at the address “0x50” of the provided data area. Show. In the request property map, if bit 3 of the second byte is “1”, this indicates that the server 2 is requesting data at the address “0x50” in the provided data area.

図4の2バイト目のビット列は、2進数で表すと「00001011」であり、16進数だと「0B」となる。そこで、図4の2バイト目のビット列は、要求プロパティデータ及び取得プロパティデータの記述形式は、例えば、「0x0B」とできる。この場合、図4に示す例では、プロパティマップの記述形式は、「0x16、0x0B、0x01、0x09、0x00、0x01、0x01、0x03、0x03」となる。ここで、図4で省略している1バイト目を「0x16」としている。このように、要求プロパティデータ及び取得プロパティデータは、プロパティマップを示すビットの例で表現することができる。   The bit string of the second byte in FIG. 4 is “00001011” in binary number, and “0B” in hexadecimal number. Therefore, in the bit string of the second byte in FIG. 4, the description format of the request property data and the acquired property data can be, for example, “0x0B”. In this case, in the example shown in FIG. 4, the description format of the property map is “0x16, 0x0B, 0x01, 0x09, 0x00, 0x01, 0x01, 0x03, 0x03”. Here, the first byte omitted in FIG. 4 is set to “0x16”. As described above, the requested property data and the acquired property data can be expressed by an example of bits indicating the property map.

上記例のように、要求プロパティデータのデータ形式と、取得プロパティデータのデータ形式を同じにすることができる。これにより、ゲートウェイ3における要求プロパティデータと取得プロパティデータの比較処理を簡素にすることができる。   As in the above example, the data format of the requested property data and the data format of the acquired property data can be made the same. Thereby, the comparison process between the requested property data and the acquired property data in the gateway 3 can be simplified.

上記の例では、提供データ領域における各位置のアドレスに対応するビットが1か0かによって、各位置における情報すなわちプロパティの有無を表すデータをプロパティデータとしている。なお、要求プロパティデータ及び取得プロパティデータのデータ形式は、特定のものに限定されない。例えば、図4に示す例では、プロパティマップは8バイトのビット列で表されるが、プロパティマップのバイト数8バイトに限られず、16バイト又はそれ以外のバイト数であってもよい。また、プロパティデータは、プロパティマップの他、プロパティの数や、プロパティマップの更新に関する更新情報等の他の情報を含んでもよい。   In the above example, the property data is the information at each position, that is, the data indicating the presence or absence of the property, depending on whether the bit corresponding to the address of each position in the provided data area is 1 or 0. Note that the data formats of the requested property data and the acquired property data are not limited to specific ones. For example, in the example shown in FIG. 4, the property map is represented by an 8-byte bit string. However, the property map is not limited to 8 bytes, and may be 16 bytes or any other number of bytes. In addition to the property map, the property data may include other information such as the number of properties and update information related to property map updates.

(動作例)
図5は、機器管理システムの動作例を示すシーケンス図である。図5は、ゲートウェイ3が、機器4aから収集したデータを、サーバ2に送信する例を示す。ゲートウェイ3は、予め、サーバ2から要求プロパティデータをダウンロードする(S1)。このS1のダウンロードは、サーバ2からの更新要求を契機として実行されてもよいし、ゲートウェイ3からの問合せを契機として実行されてもよい。
(Operation example)
FIG. 5 is a sequence diagram illustrating an operation example of the device management system. FIG. 5 shows an example in which the gateway 3 transmits data collected from the device 4 a to the server 2. The gateway 3 downloads the requested property data from the server 2 in advance (S1). This download of S1 may be executed in response to an update request from the server 2, or may be executed in response to an inquiry from the gateway 3.

また、ゲートウェイ3は、サーバ2から更新の時期を示す時期情報を含む更新情報を受信してもよい。この場合、ゲートウェイ3は、時期情報が示す時期が到来した時点で、サーバ2から要求プロパティデータをダウンロードする。なお、ゲートウェイ3は、要求プロパティデータのうち更新部分を示すデータを、更新情報として、サーバ2からダウンロードしてもよい。また、ゲートウェイ3は、更新された要求プロパティデータと時期情報を対応付けてメモリに記録していてもよい。この場合、ゲートウェイ3は、時期情報が示す時期が到来した場合に、更新された要求プロパティデータを使って動作することができる。これにより、ゲートウェイ3で処理に使われる要求プロパティデータの更新時期が、サーバ2から提供される更新情報を用いて制御される。   Further, the gateway 3 may receive update information including time information indicating the time of update from the server 2. In this case, the gateway 3 downloads the requested property data from the server 2 when the time indicated by the time information has arrived. Note that the gateway 3 may download data indicating the updated portion of the requested property data from the server 2 as update information. Further, the gateway 3 may record the updated request property data and the time information in association with each other. In this case, when the time indicated by the time information has arrived, the gateway 3 can operate using the updated request property data. Thereby, the update time of the request property data used for processing in the gateway 3 is controlled using the update information provided from the server 2.

ゲートウェイ3は、機器4aから提供プロパティデータを取得する(S2)。このS2の取得処理は、機器4aからの更新要求を契機として実行されてもよいし、ゲートウェイ3からの取得要求を契機として実行されてもよい。   The gateway 3 acquires provided property data from the device 4a (S2). The acquisition process of S2 may be executed in response to an update request from the device 4a, or may be executed in response to an acquisition request from the gateway 3.

ゲートウェイ3は、S2で取得した提供プロパティデータが示す位置のデータを、機器4aの提供データ領域から読み出す、すなわちリードする(S3)。S3のリードのタイミングは、例えば、パラメータ等により予め設定することができる。一例として、ゲートウェイ3は、所定の周期で定期的に、機器4aの提供データ領域から提供プロパティデータに基づくデータを取得することができる。或いは、ゲートウェイ3は、サーバ2からのデータの要求を契機として、機器4aの提供データ領域からデータを取得することもできる。   The gateway 3 reads out the data at the position indicated by the provided property data acquired in S2 from the provided data area of the device 4a, that is, reads (S3). The read timing of S3 can be set in advance by a parameter or the like, for example. As an example, the gateway 3 can acquire data based on the provided property data from the provided data area of the device 4a periodically at a predetermined cycle. Alternatively, the gateway 3 can also acquire data from the data area provided by the device 4a in response to a request for data from the server 2.

ゲートウェイ3は、S1で取得した要求プロパティデータを参照し(S4)、S3で取得したデータのうち、サーバ2に送信するデータを決定する(S5)。例えば、ゲートウェイ3は、S3で取得したデータのうち、要求プロパティデータが示す位置に対応するデータを、サーバに送信するデータとして抽出することができる。サーバに送信するデータは、例えば、comma-separated values(CSV)の形式をデータとすることができるが、特定の形式のものに限られない。   The gateway 3 refers to the request property data acquired in S1 (S4), and determines data to be transmitted to the server 2 among the data acquired in S3 (S5). For example, the gateway 3 can extract data corresponding to the position indicated by the request property data from the data acquired in S3 as data to be transmitted to the server. The data to be transmitted to the server can be in the form of comma-separated values (CSV), for example, but is not limited to a specific format.

ゲートウェイ3は、S5で決定したデータをサーバ2へ送信する(S6)。サーバ2へのデータの送信のタイミングは、例えば、パラメータ等により予め設定することができる。一例として、ゲートウェイ3は、所定の周期で定期的に、サーバ2へ機器4aから取得したデータを送信することができる。また、ゲートウェイ3は、予め設定された周期より短い周期で、データを分散してサーバ2に送信してもよい。これにより、サーバ2の負荷を分散することができる。   The gateway 3 transmits the data determined in S5 to the server 2 (S6). The timing of transmission of data to the server 2 can be set in advance by, for example, parameters. As an example, the gateway 3 can transmit the data acquired from the device 4a to the server 2 periodically at a predetermined cycle. Further, the gateway 3 may distribute data to the server 2 in a cycle shorter than a preset cycle. Thereby, the load of the server 2 can be distributed.

図5に示す動作により、サーバ2は、ゲートウェイ3を介して、機器4aからデータを収集することができる。これにより、例えば、機器4aの動作、状態、異常、及び環境に関する情報を、サーバ2に提供することができる。ここで、サーバが必要とする情報が変わった場合や、機器4aが提供するデータの提供データ領域における位置が変更、追加された場合等は、要求プロパティデータ及び提供プロパティデータの更新により、対応することができる。そのため、ゲートウェイ3のプログラム(ソフトウエア)の更新をしなくても、これらの変更に対応することが可能になる。   With the operation illustrated in FIG. 5, the server 2 can collect data from the device 4 a via the gateway 3. Thereby, for example, information regarding the operation, state, abnormality, and environment of the device 4a can be provided to the server 2. Here, when the information required by the server changes, or when the position of the data provided by the device 4a in the provided data area is changed or added, the request property data and the provided property data are updated. be able to. Therefore, it is possible to cope with these changes without updating the program (software) of the gateway 3.

図5に示す例において、要求プロパティデータ取得(S1)、取得プロパティデータ取得(S2)、及びデータ取得からデータ送信までの処理(S3〜S6)のタイミングは、それぞれ、独立していてもよい。例えば、機器4aからのデータ取得及びサーバ2へのデータ送信の処理は、要求プロパティデータ及び取得プロパティデータの取得処理とは、必ずしも同期していなくてもよい。   In the example illustrated in FIG. 5, the timings of request property data acquisition (S1), acquisition property data acquisition (S2), and processing from data acquisition to data transmission (S3 to S6) may be independent of each other. For example, the process of acquiring data from the device 4a and transmitting data to the server 2 is not necessarily synchronized with the process of acquiring requested property data and acquired property data.

ゲートウェイ3は、予めS1、S2を実行して、要求プロパティデータと取得プロパティデータを取得してメモリ35に保存しておくことができる。この場合、サーバ2で要求プロパティデータが更新されると、これに同期して、ゲートウェイ3のメモリ35の要求プロパティデータを更新する構成にしてもよい。また、機器4aで取得プロパティデータが更新されると、これに同期して、ゲートウェイ3のメモリ35の取得プロパティデータを更新する構成にしてもよい。   The gateway 3 can execute S1 and S2 in advance to acquire the requested property data and the acquired property data and store them in the memory 35. In this case, when the request property data is updated in the server 2, the request property data in the memory 35 of the gateway 3 may be updated in synchronization therewith. Further, when the acquired property data is updated in the device 4a, the acquired property data in the memory 35 of the gateway 3 may be updated in synchronization therewith.

図5に示す例では、S3において、ゲートウェイ3は、機器4aの提供データ領域から、取得プロパティデータが示す位置のデータを全て取得する。変形例として、S3において、ゲートウェイ3は、機器4aの提供データ領域から、取得プロパティデータが示す位置のうち要求プロパティデータも示す位置のデータを取得してもよい。この場合、S4の処理は省略される。ゲートウェイ3は、S3で取得したデータの形式を、S5において、必要に応じて変換し、S6においてサーバに送信する。   In the example shown in FIG. 5, in S3, the gateway 3 acquires all data at the position indicated by the acquired property data from the provided data area of the device 4a. As a modified example, in S3, the gateway 3 may acquire data at a position that also indicates the requested property data among the positions indicated by the acquired property data from the provided data area of the device 4a. In this case, the process of S4 is omitted. The gateway 3 converts the data format acquired in S3 as necessary in S5, and transmits it to the server in S6.

なお、上記例では、機器4aとゲートウェイ3及びサーバ2との通信を説明したが、他の複数の機器4b、4cそれぞれにおいても、同様に通信することができる。この場合、機器4b、4cそれぞれのメモリに、提供データ領域が設けられる。ゲートウェイ3は、機器4a、4b、4cそれぞれから取得プロパティデータを、取得する。さらに、ゲートウェイ3は、機器4a、4b、4cそれぞれに対応する要求プロパティデータを、サーバ2から取得する。ゲートウェイ3は、複数の機器4a、4b、4cに、個別の識別子(例えば、番号)を割り当て、通信対象の機器4a、4b、4cを管理することができる。   In the above example, the communication between the device 4a, the gateway 3, and the server 2 has been described. However, similar communication can be performed in each of the other devices 4b and 4c. In this case, provided data areas are provided in the memories of the devices 4b and 4c. The gateway 3 acquires acquired property data from each of the devices 4a, 4b, and 4c. Further, the gateway 3 acquires request property data corresponding to each of the devices 4a, 4b, and 4c from the server 2. The gateway 3 can manage individual devices 4a, 4b, and 4c to be communicated by assigning individual identifiers (for example, numbers) to the plurality of devices 4a, 4b, and 4c.

ゲートウェイ3は、サーバ2から、要求するデータの位置を示す情報の他に、データを要求する対象の機器4に関する情報を示すデータを取得してもよい。例えば、機器4の設置場所、機器4が対応している規格のバージョン、機器4の識別情報、メーカー情報、商品情報、製造番号、製造年月日等の機器4に関する情報を、サーバ2から取得してもよい。この機器4に関する情報は、要求プロパティデータに含まれてもよいし、要求プロパティデータとは異なる別のデータに含まれてもよい。また、ゲートウェイ3がサーバ2から受信する要求プロパティデータの更新情報は、要求プロパティデータに含まれてもよいし、要求プロパティデータとは異なる別のデータに含まれてもよい。   The gateway 3 may acquire, from the server 2, data indicating information on the target device 4 for which data is requested, in addition to the information indicating the position of the requested data. For example, information regarding the device 4 such as the installation location of the device 4, the version of the standard supported by the device 4, identification information of the device 4, manufacturer information, product information, serial number, and manufacturing date is acquired from the server 2. May be. The information regarding the device 4 may be included in the request property data, or may be included in another data different from the request property data. Further, the update information of the request property data received by the gateway 3 from the server 2 may be included in the request property data, or may be included in another data different from the request property data.

ゲートウェイ3は、機器4から、要求するデータの位置を示す情報の他に、機器4に関する情報を示すデータを取得してもよい。例えば、機器4の設置場所、機器4が対応している規格のバージョン、機器4の識別情報、メーカー情報、商品情報、製造番号、製造年月日等の機器4に関する情報を、機器4から取得してもよい。この機器4に関する情報は、取得プロパティデータに含まれてもよいし、取得プロパティデータとは異なる別のデータに含まれてもよい。   The gateway 3 may acquire data indicating information on the device 4 from the device 4 in addition to the information indicating the position of the requested data. For example, information regarding the device 4 such as the installation location of the device 4, the version of the standard supported by the device 4, identification information of the device 4, manufacturer information, product information, serial number, date of manufacture, etc. is acquired from the device 4. May be. The information regarding the device 4 may be included in the acquired property data, or may be included in another data different from the acquired property data.

上記の構成において、ゲートウェイ3は、サーバ2からの制御指示に基づいて、機器4を制御することができる。この場合、ゲートウェイ3は、サーバ2から機器4に対する制御指示を受信する。制御指示には、例えば、機器4のメモリ41の提供データ領域における位置を特定するための情報と、制御の内容を示す情報が含まれる。この場合、ゲートウェイ3は、機器4のメモリ41の提供データ領域における制御指示で示される位置のデータを、制御指示に基づいて更新する。ゲートウェイ3は、サーバ2からの制御指示に基づいて、機器4のメモリ41のデータを更新する機器制御部を備えてもよい。   In the above configuration, the gateway 3 can control the device 4 based on a control instruction from the server 2. In this case, the gateway 3 receives a control instruction for the device 4 from the server 2. The control instruction includes, for example, information for specifying a position in the provided data area of the memory 41 of the device 4 and information indicating the content of control. In this case, the gateway 3 updates the data at the position indicated by the control instruction in the provided data area of the memory 41 of the device 4 based on the control instruction. The gateway 3 may include a device control unit that updates data in the memory 41 of the device 4 based on a control instruction from the server 2.

ゲートウェイ3は、機器4から、提供データ領域において更新可能なデータの位置を特定する設定プロパティデータを取得してもよい。この場合、ゲートウェイ3は、例えば、機器4のメモリ41の提供データ領域において、サーバ2から受信する制御情報が示す位置であって、且つ、設定プロパティが示す位置のデータを更新することで、機器4を制御することができる。すなわち、ゲートウェイ3は、設定プロパティデータ及び制御指示の双方が示す位置の提供データ領域におけるデータを更新することで、機器4を制御してもよい。なお、機器4のメモリ41において、機器4の制御のためのデータが記録される領域は、提供データ領域とは異なる領域であってもよい。   The gateway 3 may acquire setting property data specifying the location of data that can be updated in the provided data area from the device 4. In this case, for example, the gateway 3 updates the data at the position indicated by the control information received from the server 2 and the position indicated by the setting property in the provided data area of the memory 41 of the device 4. 4 can be controlled. That is, the gateway 3 may control the device 4 by updating the data in the provided data area at the position indicated by both the setting property data and the control instruction. Note that, in the memory 41 of the device 4, an area in which data for controlling the device 4 is recorded may be an area different from the provided data area.

(システム構成例)
図6は、図1又は図2に示す機器管理システム1の適用例を示す図である。図6に示す例では、ゲートウェイ3は、ルータ5を介してインターネットN1に接続される。インターネットN1には、サーバ2が接続される。サーバ2とゲートウェイ3は、インターネットN1及びルータ5を介して通信可能となっている。ルータ5とゲートウェイ3は、例えば、Local Area Network(LAN)を介して接続される。LANには、太陽光パネル7に接続されたパワーコンディショナ6やユーザ端末8等の機器が接続される。例えば、ルータ5とゲートウェイ3とパワーコンディショナ6は有線で接続される。ルータ5とユーザ端末8は無線で接続される。LANにおける有線通信には、例えば、Ethernet等の通信規格を用いることができる。LANにおける無線通信には、例えば、WiFi等の通信規格を用いることができる。
(System configuration example)
FIG. 6 is a diagram illustrating an application example of the device management system 1 illustrated in FIG. 1 or 2. In the example shown in FIG. 6, the gateway 3 is connected to the Internet N <b> 1 via the router 5. A server 2 is connected to the Internet N1. The server 2 and the gateway 3 can communicate with each other via the Internet N1 and the router 5. The router 5 and the gateway 3 are connected via, for example, a local area network (LAN). Devices such as the power conditioner 6 and the user terminal 8 connected to the solar panel 7 are connected to the LAN. For example, the router 5, the gateway 3, and the power conditioner 6 are connected by wire. The router 5 and the user terminal 8 are connected wirelessly. For wired communication in the LAN, for example, a communication standard such as Ethernet can be used. For wireless communication in the LAN, for example, a communication standard such as WiFi can be used.

図6に示す例では、ゲートウェイ3は、スマートメータ4d、マルチセンサ4eなどの機器と通信可能である。ゲートウェイ3とこれらの機器4d、4eは、例えば、無線で接続される。ゲートウェイ3とこれらの機器4d、4eとの通信は、例えば、Wireless Smart Utility Network(Wi−SUN)等の通信規格を用いることができる。このWi−SUNの上位層の通信規格として、例えば、ECHONET Lite等を用いることができる。なお、ゲートウェイ3と機器4との間の通信の通信規格としては、上記例に限られず、例えば、SEP2.0(Smart Energy Profile 2.0)、KNX等が用いられてもよい。   In the example shown in FIG. 6, the gateway 3 can communicate with devices such as the smart meter 4d and the multi-sensor 4e. The gateway 3 and these devices 4d and 4e are connected by radio, for example. For communication between the gateway 3 and these devices 4d and 4e, for example, a communication standard such as Wireless Smart Utility Network (Wi-SUN) can be used. For example, ECHONET Lite or the like can be used as a communication standard for the upper layer of the Wi-SUN. In addition, as a communication standard of communication between the gateway 3 and the apparatus 4, it is not restricted to the said example, For example, SEP2.0 (Smart Energy Profile2.0), KNX etc. may be used.

図6に示すように、サーバ2及びゲートウェイ3を用いて複数の機器を管理するHEMSを構築することができる。すなわち、図6は、機器管理システム1をHEMSに適用した例と言える。HEMSの形態は、図6に示す例に限られない。例えば、HEMSは、住宅において、系統電力網、太陽電池及び蓄電システムから電力の供給を受ける複数の機器の電力供給量を監視し、これらの機器を制御するシステムであってもよい。また、図1に示す機器管理システム1は、HEMS以外にも、例えば、BEMS(Building Energy Management System)、FEMS(Factory Energy Management System)等その他のエネルギー管理システムに適用することができる。   As shown in FIG. 6, a HEMS that manages a plurality of devices can be constructed using the server 2 and the gateway 3. That is, FIG. 6 can be said to be an example in which the device management system 1 is applied to HEMS. The form of HEMS is not limited to the example shown in FIG. For example, the HEMS may be a system that monitors the power supply amounts of a plurality of devices that receive power supply from the grid power grid, solar cells, and power storage system in a house, and controls these devices. In addition to HEMS, the device management system 1 shown in FIG. 1 can be applied to other energy management systems such as BEMS (Building Energy Management System) and FEMS (Factory Energy Management System).

1 機器管理システム
2 サーバ
3 ゲートウェイ
1 Device management system 2 Server 3 Gateway

Claims (14)

サーバと、
前記サーバと、機器の双方と通信可能なゲートウェイとを備え、
前記機器は、外部に提供するデータを記録するための予め決められた提供データ領域を含むメモリを有し、
前記サーバは、前記機器に対して要求するデータの前記提供データ領域における位置を特定する情報を含む要求プロパティデータを記録するメモリを含み、
前記ゲートウェイは、
前記サーバから前記要求プロパティデータを取得する要求プロパティデータ取得部と、
前記機器から、前記機器が提供するデータの前記提供データ領域における位置を特定する情報を含む取得プロパティデータを取得する取得プロパティデータ取得部と、
前記要求プロパティデータが示す位置であって、且つ、前記取得プロパティデータが示す位置に記録されたデータを、前記機器の前記メモリから取得するデータ取得部と、
前記データ取得部が取得したデータを、前記サーバに送信するデータ送信部と、を含む、機器管理システム。
Server,
The server and a gateway capable of communicating with both devices,
The device has a memory including a predetermined provision data area for recording data to be provided to the outside,
The server includes a memory for recording request property data including information for specifying a position in the provided data area of data requested to the device,
The gateway is
A request property data acquisition unit for acquiring the request property data from the server;
An acquisition property data acquisition unit that acquires acquisition property data including information for specifying a position in the provided data area of data provided by the device from the device;
A data acquisition unit that acquires the data recorded at the position indicated by the requested property data and at the position indicated by the acquired property data from the memory of the device;
A device management system comprising: a data transmission unit that transmits data acquired by the data acquisition unit to the server.
請求項1に記載の機器管理システムであって、
前記ゲートウェイの前記データ取得部は、前記取得プロパティデータが示す位置に記録されたデータを取得し、取得したデータのうち、前記要求プロパティデータが示す位置のデータをさらに抽出する、機器管理システム。
The device management system according to claim 1,
The device management system, wherein the data acquisition unit of the gateway acquires data recorded at a position indicated by the acquisition property data, and further extracts data at a position indicated by the request property data from the acquired data.
請求項1に記載の機器管理システムであって、
前記ゲートウェイの前記データ取得部は、前記機器の前記メモリにアクセスして、前記取得プロパティデータと前記取得プロパティデータの両方が示す位置のデータを取得する、機器管理システム。
The device management system according to claim 1,
The device management system, wherein the data acquisition unit of the gateway accesses the memory of the device and acquires data at a position indicated by both the acquired property data and the acquired property data.
請求項1〜3のいずれか1項に記載の機器管理システムであって、
前記ゲートウェイは、前記サーバから取得した前記要求プロパティデータを記録するメモリを有し、
前記ゲートウェイは、前記ゲートウェイの前記メモリに記録された前記要求プロパティデータが示す位置であって、且つ、前記取得プロパティデータが示す位置に記録されたデータを、前記機器の前記メモリから取得する、機器管理システム。
The device management system according to any one of claims 1 to 3,
The gateway has a memory for recording the request property data acquired from the server,
The gateway acquires the data recorded at the position indicated by the request property data recorded in the memory of the gateway and at the position indicated by the acquired property data from the memory of the device. Management system.
請求項4に記載の機器管理システムであって、
前記ゲートウェイは、前記サーバから前記要求プロパティデータの更新情報を受信し、受信した前記更新情報に基づいて前記ゲートウェイの前記メモリに記録された前記要求プロパティデータを更新する、機器管理システム。
The device management system according to claim 4,
The gateway receives the update information of the request property data from the server, and updates the request property data recorded in the memory of the gateway based on the received update information.
請求項4又は5に記載の機器管理システムであって、
前記ゲートウェイは、前記サーバに対して、前記要求プロパティデータの更新情報を要求し、要求に対して前記サーバが送信した更新情報に基づいて前記ゲートウェイの前記メモリに記録された前記要求プロパティデータを更新する、機器管理システム。
The device management system according to claim 4 or 5,
The gateway requests update information of the request property data from the server, and updates the request property data recorded in the memory of the gateway based on the update information transmitted by the server in response to the request. A device management system.
請求項4〜6のいずれか1項に記載の機器管理システムであって、
前記更新情報は、更新の時期を示す時期情報を含み、
前記ゲートウェイは、前記時期情報が示す時期に、前記前記ゲートウェイの前記メモリに記録された前記要求プロパティデータを更新する、機器管理システム。
It is an equipment management system given in any 1 paragraph of Claims 4-6,
The update information includes time information indicating the time of update,
The gateway updates the request property data recorded in the memory of the gateway at a time indicated by the time information.
請求項1〜7のいずれか1項に記載の機器管理システムであって、
前記ゲートウェイは、前記サーバから、前記機器に対する制御指示を受信し、前記制御指示に基づいて、前記機器の前記メモリのデータを更新することで、前記機器を制御する、機器管理システム。
The device management system according to any one of claims 1 to 7,
The gateway is a device management system that receives a control instruction for the device from the server and controls the device by updating data in the memory of the device based on the control instruction.
外部に提供するデータを記録するための予め決められた提供データ領域を含むメモリを有する機器、及び、サーバの双方と通信可能なゲートウェイであって、
前記サーバから、前記機器に対して要求するデータの前記提供データ領域における位置を特定する情報を含む要求プロパティデータを取得する要求プロパティデータ取得部と、
前記機器から、前記機器が提供するデータの前記提供データ領域における位置を特定する情報を含む取得プロパティデータを取得する取得プロパティデータ取得部と、
前記要求プロパティデータが示す位置であって、且つ、前記取得プロパティデータが示す位置に記録されたデータを、前記機器の前記メモリから取得するデータ取得部と、
前記データ取得部が取得したデータを、前記サーバに送信するデータ送信部と、を備える、ゲートウェイ。
A gateway having a memory including a predetermined provision data area for recording data to be provided to the outside, and a gateway capable of communicating with both of the servers,
A request property data acquisition unit that acquires request property data including information for specifying a position in the provided data area of data requested to the device from the server;
An acquisition property data acquisition unit that acquires acquisition property data including information for specifying a position in the provided data area of data provided by the device from the device;
A data acquisition unit that acquires the data recorded at the position indicated by the requested property data and at the position indicated by the acquired property data from the memory of the device;
A data transmission unit that transmits data acquired by the data acquisition unit to the server.
外部に提供するデータを記録するための予め決められた提供データ領域を含むメモリを有する機器、及び、サーバの双方と通信可能なコンピュータに処理を実行させるゲートウェイプログラムであって、
前記サーバから、前記機器に対して要求するデータの前記提供データ領域における位置を特定する情報を含む要求プロパティデータを取得する要求プロパティデータ取得処理と、
前記機器から、前記機器が提供するデータの前記提供データ領域における位置を特定する情報を含む取得プロパティデータを取得する取得プロパティデータ取得処理と、
前記要求プロパティデータが示す位置であって、且つ、前記取得プロパティデータが示す位置に記録されたデータを、前記機器の前記メモリから取得するデータ取得処理と、
前記データ取得処理で取得したデータを、前記サーバに送信するデータ送信処理と、をコンピュータに実行させる、ゲートウェイプログラム。
A gateway program that causes a computer that can communicate with both a device including a memory including a predetermined provision data area for recording data to be provided to the outside, and a server,
Request property data acquisition processing for acquiring request property data including information for specifying a position in the provided data area of data requested to the device from the server;
Acquisition property data acquisition processing for acquiring acquisition property data including information for specifying a position in the provided data area of data provided by the device from the device;
Data acquisition processing for acquiring the data recorded at the position indicated by the requested property data and at the position indicated by the acquisition property data from the memory of the device;
A gateway program that causes a computer to execute data transmission processing for transmitting data acquired in the data acquisition processing to the server.
請求項10に記載のゲートウェイプログラムであって、
前記サーバから受信した前記要求プロパティデータの更新情報に基づいて前記ゲートウェイの前記メモリに記録された前記要求プロパティデータを更新する処理を、さらに、コンピュータに実行させる、ゲートウェイプログラム。
The gateway program according to claim 10,
The gateway program which makes a computer perform further the process which updates the said request property data recorded on the said memory of the said gateway based on the update information of the said request property data received from the said server.
外部に提供するデータを記録するための予め決められた提供データ領域を含むメモリを有する機器、及び、サーバの双方と通信可能なゲートウェイの動作方法であって、
前記ゲートウェイが、前記サーバから、前記機器に対して要求するデータの前記提供データ領域における位置を特定する情報を含む要求プロパティデータを取得する要求プロパティデータ取得工程と、
前記ゲートウェイが、前記機器から、前記機器が提供するデータの前記提供データ領域における位置を特定する情報を含む取得プロパティデータを取得する取得プロパティデータ取得工程と、
前記ゲートウェイが、前記要求プロパティデータが示す位置であって、且つ、前記取得プロパティデータが示す位置に記録されたデータを、前記機器の前記メモリから取得するデータ取得工程と、
前記ゲートウェイが、前記データ取得処理で取得したデータを、前記サーバに送信するデータ送信工程と、を含む、ゲートウェイの動作方法。
A device having a memory including a predetermined provision data area for recording data to be provided to the outside, and a gateway operating method capable of communicating with both the server,
The gateway acquires request property data from the server to acquire request property data including information for specifying a position in the provided data area of data requested to the device; and
An acquisition property data acquisition step in which the gateway acquires, from the device, acquisition property data including information for specifying a position in the provided data area of data provided by the device;
A data acquisition step in which the gateway acquires the data recorded at the position indicated by the request property data and at the position indicated by the acquisition property data from the memory of the device;
A data transmission step in which the gateway transmits the data acquired in the data acquisition process to the server.
請求項12に記載のゲートウェイの動作方法であって、
前記サーバから前記要求プロパティデータの更新情報を受信する工程と、
受信した前記更新情報に基づいて前記ゲートウェイの前記メモリに記録された前記要求プロパティデータを更新する工程とをさらに備える、ゲートウェイの動作方法。
A method for operating a gateway according to claim 12, comprising:
Receiving update information of the requested property data from the server;
Updating the requested property data recorded in the memory of the gateway based on the received update information.
外部に提供するデータを記録するための予め決められた提供データ領域を含むメモリを有する機器と、ゲートウェイを介して、通信可能なサーバであって、
前記機器の前記メモリは、前記提供データ領域において、前記機器が提供するデータが記録された位置を特定する情報を含む取得プロパティデータをさらに記録し、
前記サーバは、
前記機器に対して要求するデータの前記提供データ領域における位置を特定する情報を含む要求プロパティデータを記録するメモリと、
前記ゲートウェイに対して、前記要求プロパティデータを供給する要求プロパティデータ供給部と、
前記ゲートウェイが、前記機器から、前記要求プロパティデータが示す位置であって、且つ、前記取得プロパティデータが示す位置に記録されたデータを、前記機器の前記メモリから取得したデータを、前記ゲートウェイから受信するデータ受信部と、を備える、サーバ。
A server capable of communicating with a device having a memory including a predetermined provision data area for recording data to be provided to the outside via a gateway,
The memory of the device further records acquisition property data including information for specifying a position where data provided by the device is recorded in the provided data area,
The server
A memory for recording requested property data including information for specifying a position in the provided data area of data requested to the device;
A request property data supply unit for supplying the request property data to the gateway;
The gateway receives, from the gateway, data acquired from the memory of the device at the position indicated by the requested property data and the data recorded at the position indicated by the acquired property data from the device. A data receiving unit.
JP2018035723A 2018-02-28 2018-02-28 Apparatus management system, gateway, server, and operation method and program thereof Pending JP2019152925A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018035723A JP2019152925A (en) 2018-02-28 2018-02-28 Apparatus management system, gateway, server, and operation method and program thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018035723A JP2019152925A (en) 2018-02-28 2018-02-28 Apparatus management system, gateway, server, and operation method and program thereof

Publications (1)

Publication Number Publication Date
JP2019152925A true JP2019152925A (en) 2019-09-12

Family

ID=67948938

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018035723A Pending JP2019152925A (en) 2018-02-28 2018-02-28 Apparatus management system, gateway, server, and operation method and program thereof

Country Status (1)

Country Link
JP (1) JP2019152925A (en)

Similar Documents

Publication Publication Date Title
US11409514B2 (en) Building management system with plug and play device registration and configuration
US20220269256A1 (en) Building management system with alarm generation, cloud storage, and visualization
US12063124B2 (en) Building management system with adapting IoT hub
CN108886482B (en) Method for configuring, controlling or monitoring a home automation installation
US11262741B2 (en) Building management system with automatic binding of equipment data
US10271381B2 (en) Legacy Modbus communication devices
US8502640B2 (en) System and method for transmitting and receiving information on a neighborhood area network
US8670875B2 (en) PLC function block for automated demand response integration
US11700138B2 (en) Method for configuring, monitoring or supervising a home automation installation
KR20040104345A (en) Home network system
US20190107831A1 (en) Building management system with gateway device status messaging and display
KR101957771B1 (en) Method for web service by apparatus for managing factories in internet of things
WO2019071238A2 (en) Building management system with cloud-based data platform
US11095471B2 (en) Home-automation system and method for constituting the topology of a home-automation system
US20090024726A1 (en) Device for network system and method of transmitting profile
US11956095B2 (en) Method for configuring a home automation device belonging to a home automation installation
US20220376946A1 (en) Building management system with multi-interface gateway
JP2006526305A (en) Home network system
US20200252269A1 (en) Method for configuring a central control unit belonging to a home automation system
JP2019152925A (en) Apparatus management system, gateway, server, and operation method and program thereof
JP6212306B2 (en) Device management apparatus and device management system
US20220377132A1 (en) Building management system with exchangeable communication interfaces
US20220373983A1 (en) Systems and methods for data control in a building management system
US12063125B2 (en) Method of configuring a central control unit belonging to a home-automation installation
CN1938988A (en) Home network system