JP4593483B2 - Sensor device support system and sensor device support method - Google Patents

Sensor device support system and sensor device support method Download PDF

Info

Publication number
JP4593483B2
JP4593483B2 JP2006011513A JP2006011513A JP4593483B2 JP 4593483 B2 JP4593483 B2 JP 4593483B2 JP 2006011513 A JP2006011513 A JP 2006011513A JP 2006011513 A JP2006011513 A JP 2006011513A JP 4593483 B2 JP4593483 B2 JP 4593483B2
Authority
JP
Japan
Prior art keywords
sensor
gateway
information
sensor device
program
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.)
Expired - Fee Related
Application number
JP2006011513A
Other languages
Japanese (ja)
Other versions
JP2007194942A (en
Inventor
大介 越智
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.)
NTT Docomo Inc
Original Assignee
NTT Docomo Inc
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 NTT Docomo Inc filed Critical NTT Docomo Inc
Priority to JP2006011513A priority Critical patent/JP4593483B2/en
Publication of JP2007194942A publication Critical patent/JP2007194942A/en
Application granted granted Critical
Publication of JP4593483B2 publication Critical patent/JP4593483B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、センサ装置支援システムおよびセンサ装置支援方法に関する。   The present invention relates to a sensor device support system and a sensor device support method.

近年、センサ装置で取得されたセンサデータを活用するために様々なシステムが開発されている。下記非特許文献1には、センサ装置が、センサデータの蓄積および二次加工、ならびに外部からの要求に対する応答などを行うプログラムを保持し、このプログラムをゲートウェイ装置に転送することによって、ゲートウェイ装置が、センサ装置に代わって外部にセンサ情報を公開する技術が開示されている。
P.Schramm,E.Naroska, P.Resch, J.Platte, H.Linde, G.Stromberg, T.Sturm, 「Shaman」“A Service Gateway for Networked Sensor Systems“,IEEE Pervasive Computing, Vol.3, No.1, January-March 2004, pp.66-74.
In recent years, various systems have been developed to utilize sensor data acquired by a sensor device. In Non-Patent Document 1 below, a sensor device holds a program for storing and performing secondary processing of sensor data, a response to an external request, and the like, and by transferring this program to the gateway device, A technique for disclosing sensor information to the outside instead of a sensor device is disclosed.
P. Schramm, E. Naroska, P. Resch, J. Platte, H. Linde, G. Stromberg, T. Sturm, “Shaman” “A Service Gateway for Networked Sensor Systems”, IEEE Pervasive Computing, Vol. 3, No .1, January-March 2004, pp.66-74.

ところが、上述した従来技術では、センサ装置にJavaやHTTPなどを実装する必要があるため、低機能・低性能なセンサ装置には従来技術を適用することができない。将来的には、センサ装置が至るところに配置され、これらのセンサ装置が取得したセンサデータを活用するサービス環境が多数実現されることが予想される。したがって、低機能・低性能なセンサ装置であっても従来技術を適用可能にする必要がある。   However, in the above-described conventional technology, since it is necessary to mount Java, HTTP, or the like on the sensor device, the conventional technology cannot be applied to a low-function / low-performance sensor device. In the future, it is expected that many service environments will be realized in which sensor devices are arranged everywhere and sensor data acquired by these sensor devices is utilized. Therefore, it is necessary to make it possible to apply the conventional technology even to a low-function / low-performance sensor device.

そこで、本発明は、上述した課題を解決するために、低機能・低性能なセンサ装置を支援することができるセンサ装置支援システムおよびセンサ装置支援方法を提供することを目的とする。   Accordingly, an object of the present invention is to provide a sensor device support system and a sensor device support method that can support a low-function and low-performance sensor device in order to solve the above-described problems.

本発明のセンサ装置支援システムは、一または複数のセンサ装置と通信可能な一または複数のゲートウェイ装置と、当該ゲートウェイ装置と通信可能なゲートウェイ補助装置と、を備えるセンサ装置支援システムであって、上記ゲートウェイ補助装置が、センサ装置でセンシングされたセンサデータを当該センサ装置の代わりに取り扱うための代理プログラムを、当該代理プログラムを一意に特定するプログラム識別情報に対応させて格納するプログラム格納手段を備え、上記ゲートウェイ装置が、プログラム識別情報を含む登録要求メッセージをセンサ装置から受信した場合に、当該登録要求メッセージに含まれるプログラム識別情報に対応する代理プログラムを、ゲートウェイ補助装置から取得するプログラム取得手段と、プログラム取得手段により取得された代理プログラムを実行するプログラム実行手段と、登録要求メッセージを送信してきたセンサ装置を自装置の管理下に登録する登録手段と、センサ装置の登録が解除された場合に、当該登録が解除されたセンサ装置のセンサデータに関するセンサ情報を一時的に格納するセンサ情報一時格納手段と、登録要求メッセージを送信してきたセンサ装置が前回に登録されていたゲートウェイ装置に関するゲートウェイ情報を、当該センサ装置から取得するゲートウェイ情報取得手段と、ゲートウェイ情報取得手段により取得されたゲートウェイ情報に対応するゲートウェイ装置が、自装置以外である他のゲートウェイ装置である場合に、当該他のゲートウェイ装置から、登録要求メッセージを送信してきたセンサ装置のセンサデータに関するセンサ情報を取得するセンサ情報取得手段と、を備え、上記プログラム実行手段は、センサ装置でセンシングされたセンサデータを受信した場合に、当該センサデータを処理するとともに、当該センサデータに関する問い合わせメッセージを外部から受信した場合に、当該問い合わせメッセージに対する応答を外部に送信することを特徴とする。 The sensor device support system of the present invention is a sensor device support system comprising one or more gateway devices that can communicate with one or more sensor devices, and a gateway auxiliary device that can communicate with the gateway devices, The gateway auxiliary device includes a program storage means for storing a proxy program for handling the sensor data sensed by the sensor device instead of the sensor device in association with program identification information that uniquely identifies the proxy program, When the gateway device receives a registration request message including program identification information from the sensor device, a program acquisition means for acquiring a proxy program corresponding to the program identification information included in the registration request message from the gateway auxiliary device; Program taking And program executing means for executing a proxy program acquired by means, registration means the sensor device that transmitted the registration request message to register under the control of its own apparatus, when the registration of the sensor device is released, the registration Sensor information temporary storage means for temporarily storing sensor information relating to sensor data of the sensor device whose release has been canceled, and gateway information relating to the gateway device in which the sensor device that has transmitted the registration request message was previously registered, When the gateway information acquisition unit acquired from the device and the gateway device corresponding to the gateway information acquired by the gateway information acquisition unit is another gateway device other than the own device, the registration request is issued from the other gateway device. The sensor device sensor that sent the message Comprising a sensor information acquiring unit that acquires sensor information about the data, and the program executing means, when receiving the sensor data sensed by the sensor device, as well as processing the sensor data, the inquiry message about the sensor data Is received from the outside, a response to the inquiry message is transmitted to the outside.

また、本発明のセンサ装置支援方法は、一または複数のセンサ装置と通信可能な一または複数のゲートウェイ装置と、当該ゲートウェイ装置と通信可能なゲートウェイ補助装置とでセンサ装置を支援するセンサ装置支援方法であって、上記ゲートウェイ補助装置が、センサ装置でセンシングされたセンサデータを当該センサ装置の代わりに取り扱うための代理プログラムを、当該代理プログラムを一意に特定するプログラム識別情報に対応させて格納するプログラム格納ステップを備え、上記ゲートウェイ装置が、プログラム識別情報を含む登録要求メッセージをセンサ装置から受信した場合に、当該登録要求メッセージに含まれるプログラム識別情報に対応する代理プログラムを、ゲートウェイ補助装置から取得するプログラム取得ステップと、プログラム取得ステップにおいて取得された代理プログラムを実行するプログラム実行ステップと、登録要求メッセージを送信してきたセンサ装置を自装置の管理下に登録する登録ステップと、センサ装置の登録が解除された場合に、当該登録が解除されたセンサ装置のセンサデータに関するセンサ情報を一時的に格納するセンサ情報一時格納ステップと、登録要求メッセージを送信してきたセンサ装置が前回に登録されていたゲートウェイ装置に関するゲートウェイ情報を、当該センサ装置から取得するゲートウェイ情報取得ステップと、ゲートウェイ情報取得ステップにおいて取得されたゲートウェイ情報に対応するゲートウェイ装置が、自装置以外である他のゲートウェイ装置である場合に、当該他のゲートウェイ装置から、登録要求メッセージを送信してきたセンサ装置のセンサデータに関するセンサ情報を取得するセンサ情報取得ステップと、を備え、上記プログラム実行ステップは、センサ装置でセンシングされたセンサデータを受信した場合に、当該センサデータを処理するとともに、当該センサデータに関する問い合わせメッセージを外部から受信した場合に、当該問い合わせメッセージに対する応答を外部に送信することを特徴とする。 The sensor device support method of the present invention is a sensor device support method for supporting a sensor device with one or a plurality of gateway devices capable of communicating with one or a plurality of sensor devices and a gateway auxiliary device capable of communicating with the gateway devices. The gateway auxiliary device stores a proxy program for handling the sensor data sensed by the sensor device instead of the sensor device in association with program identification information that uniquely identifies the proxy program. A storage step, and when the gateway device receives a registration request message including program identification information from the sensor device, obtains a proxy program corresponding to the program identification information included in the registration request message from the gateway auxiliary device Program acquisition step When a program execution step of executing the acquired proxy program in the program acquisition step, a registration step of the sensor device that transmitted the registration request message to register under the control of its own device, if the registration of the sensor device is released In addition, a sensor information temporary storage step for temporarily storing sensor information relating to sensor data of the sensor device whose registration has been canceled, and gateway information relating to the gateway device in which the sensor device that transmitted the registration request message was previously registered If the gateway device corresponding to the gateway information acquired in the gateway information acquisition step and the gateway information acquisition step is another gateway device other than its own device, the other gateway device From, climb Comprising a sensor information acquiring step of acquiring the sensor information on the sensor data of the sensor device that transmitted the request message, and the program execution step, when receiving the sensor data sensed by the sensor device, the sensor data In addition to processing, when an inquiry message related to the sensor data is received from the outside, a response to the inquiry message is transmitted to the outside.

これらの発明によれば、登録要求メッセージをセンサ装置から受信した場合に、プログラム取得手段によって、登録要求メッセージに含まれるプログラム識別情報に対応する代理プログラムがゲートウェイ補助装置から取得され、プログラム実行手段によって、センサ装置でセンシングされたセンサデータをセンサ装置の代わりに取り扱うための代理プログラムが実行される。この代理プログラムが実行されることによって、センサ装置でセンシングされたセンサデータを受信した場合には、このセンサデータを処理させることができ、センサデータに関する問い合わせメッセージを外部から受信した場合には、センサ装置に代わってこの問い合わせメッセージに応答し、外部に送信させることができる。したがって、センサ装置では、センシングしたセンサデータを含む情報をゲートウェイ装置に送信することができれば、このセンサデータを処理させ、さらにセンサ情報を外部に公開させることができる。それゆえに、低機能・低性能なセンサ装置の応答性向上や処理能力向上等の支援をすることができる。   According to these inventions, when the registration request message is received from the sensor device, the proxy acquisition program corresponding to the program identification information included in the registration request message is acquired from the gateway auxiliary device by the program acquisition means, and the program execution means Then, a proxy program for handling sensor data sensed by the sensor device instead of the sensor device is executed. By executing this proxy program, when sensor data sensed by the sensor device is received, the sensor data can be processed. When an inquiry message regarding sensor data is received from the outside, the sensor data is processed. In response to this inquiry message on behalf of the device, it can be transmitted to the outside. Therefore, if the sensor device can transmit information including the sensed sensor data to the gateway device, the sensor data can be processed and the sensor information can be disclosed to the outside. Therefore, it is possible to provide support for improving the responsiveness and processing capacity of the low-function / low-performance sensor device.

また、例えば、センサ装置が移動して、他のゲートウェイ装置に属することとなった場合であっても、前回のゲートウェイ装置において蓄積されていたセンサ情報を、センサ装置の能力の如何にかかわらず、移動後のゲートウェイ装置に引き渡すことができるため、センサ情報を有効に活用することができる。 In addition , for example, even if the sensor device moves and belongs to another gateway device, the sensor information accumulated in the previous gateway device can be used regardless of the capability of the sensor device. Since it can be handed over to the gateway apparatus after movement, sensor information can be used effectively.

本発明のセンサ装置支援システムにおいて、上記センサ情報取得手段は、ゲートウェイ情報取得手段により取得されたゲートウェイ情報に対応するゲートウェイ装置が、自装置である場合に、センサ情報一時格納手段により格納されたセンサ情報から、登録要求メッセージを送信してきたセンサ装置のセンサデータに関するセンサ情報を取得することが好ましい。   In the sensor device support system according to the present invention, the sensor information acquisition unit includes a sensor stored by the sensor information temporary storage unit when the gateway device corresponding to the gateway information acquired by the gateway information acquisition unit is its own device. It is preferable to acquire sensor information related to sensor data of the sensor device that has transmitted the registration request message from the information.

このようにすれば、例えば、センサ装置がサスペンド/レジュームによってゲートウェイ装置の管理下から一旦解除されてその後再登録された場合であっても、解除前に蓄積されていたセンサ情報を、センサ装置の能力の如何にかかわらず、再利用することができるため、センサ情報を有効に活用することができる。   In this way, for example, even if the sensor device is temporarily released from the management of the gateway device by suspend / resume and then re-registered, the sensor information stored before the release is stored in the sensor device. Since it can be reused regardless of the capability, sensor information can be used effectively.

本発明のセンサ装置支援システムにおいて、上記ゲートウェイ装置が、登録要求メッセージを送信してきたセンサ装置のセンサデータに関するセンサ情報を格納するセンサ情報格納手段と、センサ情報格納手段により格納されたセンサ情報に基づいて、当該センサ情報に対応するセンサ装置のスケジュールを決定するスケジュール決定手段と、スケジュール決定手段により決定されたスケジュールに関する情報をセンサ装置に送信する送信手段と、をさらに備えることが好ましい。   In the sensor device support system of the present invention, the gateway device is based on sensor information storage means for storing sensor information relating to sensor data of the sensor device that has transmitted the registration request message, and sensor information stored by the sensor information storage means. In addition, it is preferable to further include a schedule determination unit that determines a schedule of the sensor device corresponding to the sensor information, and a transmission unit that transmits information on the schedule determined by the schedule determination unit to the sensor device.

また、本発明のセンサ装置支援方法において、上記ゲートウェイ装置が、登録要求メッセージを送信してきたセンサ装置のセンサデータに関するセンサ情報を格納するセンサ情報格納ステップと、センサ情報格納ステップにおいて格納されたセンサ情報に基づいて、当該センサ情報に対応するセンサ装置のスケジュールを決定するスケジュール決定ステップと、スケジュール決定ステップにおいて決定されたスケジュールに関する情報をセンサ装置に送信する送信ステップと、をさらに備えることが好ましい。   In the sensor device support method of the present invention, the gateway device stores sensor information relating to sensor data of the sensor device that has transmitted the registration request message, and sensor information stored in the sensor information storage step. Preferably, the method further includes a schedule determination step for determining a schedule of the sensor device corresponding to the sensor information, and a transmission step for transmitting information related to the schedule determined in the schedule determination step to the sensor device.

このようにすれば、蓄積されたセンサ情報に基づいて決定されたスケジュール(例えば、センシング間隔、起動・休止間隔、送受信間隔のスケジュール)に関する情報を、センサ装置に送信することができるため、センサ装置では、例えば、センサデータのセンシング、自装置の起動や休止、およびセンサデータの送信等を、最適な間隔で行えるようになる。したがって、センサ装置の無駄なセンシング等を省くことができるため、センサ装置の省電力化を向上させることができる。   In this way, information relating to a schedule determined based on the accumulated sensor information (for example, sensing interval, activation / pause interval, transmission / reception interval schedule) can be transmitted to the sensor device. Then, for example, sensing of sensor data, activation and suspension of the device itself, transmission of sensor data, and the like can be performed at optimum intervals. Accordingly, it is possible to eliminate unnecessary sensing of the sensor device, and thus power saving of the sensor device can be improved.

本発明のセンサ装置支援システムにおいて、上記ゲートウェイ装置が、複数のプログラムをリンケージするリンケージ手段をさらに備え、プログラム取得手段は、登録要求メッセージに複数のプログラム識別情報が含まれている場合に、当該複数のプログラム識別情報のそれぞれに対応する代理プログラムを取得し、リンケージ手段は、プログラム取得手段により取得された複数の代理プログラムをリンケージすることが好ましい。   In the sensor device support system of the present invention, the gateway device further includes linkage means for linking a plurality of programs, and the program acquisition means includes a plurality of program identification information when the registration request message includes a plurality of program identification information. It is preferable that a proxy program corresponding to each of the program identification information is acquired, and the linkage means links a plurality of proxy programs acquired by the program acquisition means.

このようにすれば、センサ装置が複数の異なる機能を有するセンサを備える場合であっても、センサ装置ごとに代理プログラムをリンケージして実行することができるため、代理プログラムを処理する際の処理効率を向上させることができる。   In this way, even when the sensor device includes a plurality of sensors having different functions, the proxy program can be linked and executed for each sensor device, so the processing efficiency when processing the proxy program Can be improved.

本発明に係るセンサ装置支援システムおよびセンサ装置支援方法によれば、センサ装置で行う処理を、ゲートウェイ装置で代理することができるため、低機能・低性能なセンサ装置の応答性向上や処理能力向上等の支援をすることができる。   According to the sensor device support system and the sensor device support method according to the present invention, since the processing performed by the sensor device can be represented by the gateway device, the responsiveness of the low-function / low-performance sensor device and the processing capability are improved. Etc. can be supported.

以下、本発明に係るセンサ装置支援システムおよびセンサ装置支援方法の各実施形態を図面に基づき説明する。なお、各図において、同一要素には同一符号を付して重複する説明を省略する。   Embodiments of a sensor device support system and a sensor device support method according to the present invention will be described below with reference to the drawings. In addition, in each figure, the same code | symbol is attached | subjected to the same element and the overlapping description is abbreviate | omitted.

[第1実施形態]
まず、本発明の第1実施形態について説明する。図1は、第1実施形態におけるセンサ装置支援システム1のシステム構成を例示するための図である。図1に示すように、センサ装置支援システム1は、ゲートウェイ装置10とゲートウェイ補助装置20とを有する。ゲートウェイ装置10とゲートウェイ補助装置20は通信回線を介して接続されている。
[First embodiment]
First, a first embodiment of the present invention will be described. FIG. 1 is a diagram for illustrating a system configuration of a sensor device support system 1 according to the first embodiment. As shown in FIG. 1, the sensor device support system 1 includes a gateway device 10 and a gateway auxiliary device 20. The gateway device 10 and the gateway auxiliary device 20 are connected via a communication line.

ゲートウェイ補助装置20は、センサ装置30でセンシングされたセンサデータを当該センサ装置の代わりに取り扱うための代理プログラムをゲートウェイ装置10に提供することでゲートウェイ装置10を補助する。ゲートウェイ補助装置20は、物理的には、CPU、通信装置、メモリ等を有している。   The gateway auxiliary device 20 assists the gateway device 10 by providing the gateway device 10 with a proxy program for handling the sensor data sensed by the sensor device 30 instead of the sensor device. The gateway auxiliary device 20 physically includes a CPU, a communication device, a memory, and the like.

ゲートウェイ装置10は、周知のゲートウェイ装置の機能を備えるとともに、センサ装置30から受信したセンサデータをセンサ装置30の代わりに蓄積や加工等の処理を行い、外部装置40からセンサデータに関する問い合わせがあった場合にセンサ装置30の代わりに応答する。すなわち、ゲートウェイ装置10は、センサ装置30で行われる処理の一部を代理する機能を有する。ゲートウェイ装置10は、物理的には、CPU、通信装置、無線通信装置、メモリ等を有している。   The gateway device 10 has a function of a well-known gateway device, performs processing such as storage and processing of the sensor data received from the sensor device 30 instead of the sensor device 30, and receives an inquiry about the sensor data from the external device 40. In response to the sensor device 30 instead. That is, the gateway device 10 has a function of acting as a proxy for part of the processing performed by the sensor device 30. The gateway device 10 physically includes a CPU, a communication device, a wireless communication device, a memory, and the like.

センサ装置30は、物理的には、一または複数のセンサ、CPU、無線通信装置、メモリ等を有している。   The sensor device 30 physically includes one or more sensors, a CPU, a wireless communication device, a memory, and the like.

次に、図2を参照してゲートウェイ装置10の機能構成について説明する。図2に示すように、ゲートウェイ装置10は、代理対象管理部11(登録手段)と、代理プログラム取得部12(プログラム取得手段)と、代理プログラム実行部13(プログラム実行手段)とを有する。また、ゲートウェイ装置10は、センサ情報データベース1A(センサ情報格納手段)を備えている。   Next, the functional configuration of the gateway device 10 will be described with reference to FIG. As illustrated in FIG. 2, the gateway device 10 includes a proxy object management unit 11 (registration unit), a proxy program acquisition unit 12 (program acquisition unit), and a proxy program execution unit 13 (program execution unit). The gateway device 10 also includes a sensor information database 1A (sensor information storage means).

センサ情報データベース1Aには、ゲートウェイ装置10に登録されているセンサ装置30においてセンシングされたセンサデータに関するセンサ情報が格納される。センサ情報データベース1Aは、データ項目として、例えば、センサ装置ID、センサ部品ID、センサデータを有する。センサ装置IDには、センサ装置30を一意に特定するIDが格納される。センサ部品IDには、センサ装置30に備えられている一または複数のセンサを一意に特定するIDが格納される。センサデータには、個々のセンサデータの他に、例えば、センサデータを蓄積した後の情報や、センサデータを二次加工した後の情報、センサデータを識別するためのキーワード等も含まれる。センサ情報データベース1Aに格納されるセンサ情報は、センサ装置30がゲートウェイ装置10の管理下から解除されたときに削除される。なお、後述する第2実施形態では、センサ装置30がゲートウェイ装置10の管理下から解除された場合であっても、所定の期間はセンサ情報が保持される。この詳細については後述する。   The sensor information database 1A stores sensor information related to sensor data sensed by the sensor device 30 registered in the gateway device 10. The sensor information database 1A has, for example, a sensor device ID, a sensor component ID, and sensor data as data items. The sensor device ID stores an ID that uniquely identifies the sensor device 30. In the sensor component ID, an ID that uniquely identifies one or a plurality of sensors provided in the sensor device 30 is stored. In addition to individual sensor data, the sensor data includes, for example, information after accumulating sensor data, information after secondary processing of the sensor data, keywords for identifying the sensor data, and the like. The sensor information stored in the sensor information database 1A is deleted when the sensor device 30 is released from the management of the gateway device 10. In the second embodiment to be described later, even if the sensor device 30 is released from the management of the gateway device 10, the sensor information is held for a predetermined period. Details of this will be described later.

代理対象管理部11は、一部の処理を代理する対象となるセンサ装置30を自装置の管理下に登録する処理および自装置の管理下から解除する処理を行う。   The proxy object management unit 11 performs a process of registering the sensor device 30 that is a target of a part of the process under the management of the own apparatus and a process of releasing the sensor apparatus 30 from the management of the own apparatus.

代理プログラム取得部12は、センサ装置30から送信された登録要求メッセージを受信した場合に、この登録要求メッセージに基づいて、ゲートウェイ補助装置20から代理プログラムを取得する。この登録要求メッセージは、センサ装置30でセンシングされたセンサデータの送信先となるゲートウェイ装置10に対して、センサ装置30が登録を要求するために送信するメッセージである。この登録要求メッセージには、代理プログラムを一意に特定するプログラムID(プログラム識別情報)や、センサ装置30に関する情報が含まれている。センサ装置30に関する情報には、例えば、センサ装置ID、センサ部品IDが含まれる。センサ装置IDは、センサ装置30を一意に特定するためのIDであり、センサ部品IDは、センサ装置30に備えられている一または複数のセンサを一意に特定するためのIDである。   When receiving the registration request message transmitted from the sensor device 30, the proxy program acquisition unit 12 acquires a proxy program from the gateway auxiliary device 20 based on the registration request message. This registration request message is a message that the sensor device 30 transmits to the gateway device 10 that is a transmission destination of the sensor data sensed by the sensor device 30 in order to request registration. This registration request message includes a program ID (program identification information) that uniquely identifies the proxy program and information related to the sensor device 30. The information regarding the sensor device 30 includes, for example, a sensor device ID and a sensor component ID. The sensor device ID is an ID for uniquely identifying the sensor device 30, and the sensor component ID is an ID for uniquely identifying one or a plurality of sensors provided in the sensor device 30.

具体的に説明すると、代理プログラム取得部12は、プログラムIDを含む代理プログラム要求メッセージをゲートウェイ補助装置20に送信する。また、代理プログラム取得部12は、代理プログラム要求メッセージの応答としてゲートウェイ補助装置20から送信される代理プログラムを受信する。これにより、代理プログラム取得部12は代理プログラムを取得する。   More specifically, the proxy program acquisition unit 12 transmits a proxy program request message including a program ID to the gateway auxiliary device 20. Further, the proxy program acquisition unit 12 receives a proxy program transmitted from the gateway auxiliary device 20 as a response to the proxy program request message. Thereby, the proxy program acquisition part 12 acquires a proxy program.

代理プログラム実行部13は、代理プログラム取得部12によって取得された代理プログラムを実行することによって、以下の機能を有する。代理プログラム実行部13は、センサ装置30でセンシングされたセンサデータを受信した場合に、このセンサデータをメモリに蓄積する。また、代理プログラム実行部13は、センサデータに関する問い合わせメッセージを外部装置40から受信した場合に、この問い合わせメッセージに対する応答を外部装置40に送信する。問い合わせメッセージとしては、例えば、外部装置40が所望するセンサ装置30の探索を要求する際に配信される検索要求メッセージや、外部装置40がセンサデータの送信を要求する際に配信されるセンサ情報要求メッセージが該当する。なお、これらの問い合わせメッセージを通信する方法として、例えば、UPnP(Universal Plug and Play)を用いることができる。また、代理プログラム実行部13は、メモリに蓄積されたセンサデータを二次加工することもできる。   The proxy program execution unit 13 has the following functions by executing the proxy program acquired by the proxy program acquisition unit 12. When the proxy program execution unit 13 receives sensor data sensed by the sensor device 30, the proxy program execution unit 13 accumulates the sensor data in a memory. In addition, when the proxy program execution unit 13 receives an inquiry message about sensor data from the external device 40, the proxy program execution unit 13 transmits a response to the inquiry message to the external device 40. As an inquiry message, for example, a search request message distributed when the external device 40 requests a search for the desired sensor device 30, or a sensor information request distributed when the external device 40 requests transmission of sensor data. Corresponding message. For example, UPnP (Universal Plug and Play) can be used as a method for communicating these inquiry messages. The proxy program execution unit 13 can also secondary-process the sensor data stored in the memory.

代理プログラム実行部13は、外部装置40から配信された検索要求メッセージを受信した場合に、この検索要求メッセージに基づいて、センサ情報データベース1Aを検索し、この検索結果を外部装置40に送信する。具体的に説明すると、例えば、検索要求メッセージの要求内容が「この絶対位置から半径100m以内の温度の情報が欲しい」という内容である場合に、代理プログラム実行部13は、「絶対位置から半径100m以内」という位置情報と「温度センサ」とをセンサ情報検索用のキーワードとしてセンサ情報データベース1Aを検索する。この検索の結果、キーワードに対応するセンサ装置が検出された場合に、代理プログラム実行部13は、検出されたセンサ装置に代わり、検索に対する応答メッセージを外部装置40に送信する。この応答メッセージには、外部装置40が使用可能な情報要求方法等が含まれる。一方、キーワードに対応するセンサ装置が検出されなかった場合には、代理プログラム実行部13は、検出されなかったことを示すメッセージを外部装置40に送信するか、または何も送信しない。   When the proxy program execution unit 13 receives the search request message distributed from the external device 40, the proxy program execution unit 13 searches the sensor information database 1 </ b> A based on the search request message and transmits the search result to the external device 40. More specifically, for example, when the request content of the search request message is “I want information on temperature within a radius of 100 m from this absolute position”, the proxy program execution unit 13 reads “A radius of 100 m from the absolute position”. The sensor information database 1A is searched using the position information “inside” and “temperature sensor” as keywords for searching for sensor information. As a result of this search, when a sensor device corresponding to the keyword is detected, the proxy program execution unit 13 transmits a response message for the search to the external device 40 instead of the detected sensor device. This response message includes an information request method that can be used by the external device 40. On the other hand, when the sensor device corresponding to the keyword is not detected, the proxy program execution unit 13 transmits a message indicating that the sensor device is not detected to the external device 40 or transmits nothing.

代理プログラム実行部13は、外部装置40から配信されたセンサ情報要求メッセージを受信した場合に、このセンサ情報要求メッセージに基づいて、センサ情報データベース1Aからセンサ情報を抽出し、センサ情報要求メッセージの要求内容に応じたセンサ情報を外部装置40に送信する。具体的に説明すると、例えば、センサ情報要求メッセージの要求内容が「現在から過去3日間の平均の温度情報が欲しい」という内容である場合に、代理プログラム実行部13は、センサ情報データベース1Aから抽出したセンサ情報に含まれる温度情報に基づいて、現在から過去3日間の平均温度を算出し、算出した平均温度を含む情報を外部装置40に送信する。   When the proxy program execution unit 13 receives the sensor information request message distributed from the external device 40, the proxy program execution unit 13 extracts the sensor information from the sensor information database 1A based on the sensor information request message, and requests the sensor information request message. Sensor information corresponding to the content is transmitted to the external device 40. More specifically, for example, when the request content of the sensor information request message is “I want average temperature information for the past three days from now”, the proxy program execution unit 13 extracts from the sensor information database 1A. Based on the temperature information included in the sensor information, the average temperature for the past three days is calculated from the present, and information including the calculated average temperature is transmitted to the external device 40.

次に、図3を参照してゲートウェイ補助装置20の機能構成について説明する。図3に示すように、ゲートウェイ補助装置20は、代理プログラム抽出部21を有する。また、ゲートウェイ補助装置20は、代理プログラムデータベース2A(プログラム格納手段)を備えている。   Next, the functional configuration of the gateway auxiliary device 20 will be described with reference to FIG. As illustrated in FIG. 3, the gateway auxiliary device 20 includes a proxy program extraction unit 21. The gateway auxiliary device 20 includes a proxy program database 2A (program storage means).

ここで、図4を参照して、代理プログラムデータベース2Aのデータ構成について説明する。代理プログラムデータベース2Aは、データ項目として、例えば、プログラムID、格納先を有する。プログラムIDには、代理プログラムを一意に特定するためのIDが格納され、格納先には、代理プログラムが格納されているアドレス情報が格納される。   Here, the data structure of the proxy program database 2A will be described with reference to FIG. The proxy program database 2A has, for example, a program ID and a storage location as data items. In the program ID, an ID for uniquely identifying the proxy program is stored, and in the storage destination, address information in which the proxy program is stored is stored.

図3に示す代理プログラム抽出部21は、ゲートウェイ装置10から送信された代理プログラム要求メッセージを受信した場合に、代理プログラム要求メッセージに含まれるプログラムIDに基づいて、代理プログラムデータベース2Aを参照し、このプログラムIDに対応して記憶されている格納先を抽出する。代理プログラム抽出部21は、この格納先に格納されているプログラムを、代理プログラムとして抽出する。   When the proxy program extraction unit 21 shown in FIG. 3 receives the proxy program request message transmitted from the gateway device 10, the proxy program extraction unit 21 refers to the proxy program database 2A based on the program ID included in the proxy program request message. The storage destination stored corresponding to the program ID is extracted. The proxy program extraction unit 21 extracts the program stored in this storage destination as a proxy program.

次に、図5を参照して、第1実施形態におけるセンサ装置支援システム1の動作について説明する。   Next, the operation of the sensor device support system 1 in the first embodiment will be described with reference to FIG.

まず、ゲートウェイ装置10は、自装置10の近辺に存在するセンサ装置30が自装置10を発見することができるように、自装置10の装置ID等を含むゲートウェイ装置情報を、ブロードキャスト配信により広告する(ステップS1)。   First, the gateway device 10 advertises gateway device information including the device ID of the own device 10 by broadcast distribution so that the sensor device 30 existing in the vicinity of the own device 10 can find the own device 10. (Step S1).

次に、広告されたゲートウェイ装置情報を受信したセンサ装置30は、受信したゲートウェイ装置情報を配信したゲートウェイ装置10に対して、ゲートウェイ装置10の管理下に登録するように要求するための登録要求メッセージを送信する(ステップS2)。この登録要求メッセージがゲートウェイ装置10に受信されると、センサ装置30は、ゲートウェイ装置10の管理下に登録される。なお、この登録要求メッセージには、上述したように、プログラムID、センサ装置ID、センサ部品ID等が含まれる。   Next, the sensor device 30 that has received the advertised gateway device information requests the gateway device 10 that has received the received gateway device information to register under the management of the gateway device 10. Is transmitted (step S2). When the registration request message is received by the gateway device 10, the sensor device 30 is registered under the management of the gateway device 10. The registration request message includes a program ID, a sensor device ID, a sensor component ID, and the like as described above.

次に、ゲートウェイ装置10の代理プログラム取得部12は、プログラムIDを含む代理プログラム要求メッセージをゲートウェイ補助装置20に送信する(ステップS3)。   Next, the proxy program acquisition unit 12 of the gateway device 10 transmits a proxy program request message including the program ID to the gateway auxiliary device 20 (step S3).

次に、ゲートウェイ補助装置20の代理プログラム抽出部21は、代理プログラム要求メッセージに含まれるプログラムIDに基づいて、代理プログラムデータベース2Aから格納先を抽出し、この格納先に格納されている代理プログラムを抽出する(ステップS4)。   Next, the proxy program extraction unit 21 of the gateway auxiliary device 20 extracts the storage destination from the proxy program database 2A based on the program ID included in the proxy program request message, and stores the proxy program stored in this storage destination. Extract (step S4).

次に、ゲートウェイ補助装置20は、抽出された代理プログラムをゲートウェイ装置10に送信する(ステップS5)。これにより、ゲートウェイ装置10の代理プログラム取得部12は、代理プログラムを取得する。   Next, the gateway auxiliary device 20 transmits the extracted proxy program to the gateway device 10 (step S5). Thereby, the proxy program acquisition part 12 of the gateway apparatus 10 acquires a proxy program.

次に、ゲートウェイ装置10の代理プログラム実行部13は、代理プログラム取得部12によって取得された代理プログラムの実行を開始する(ステップS6)。ゲートウェイ装置10は、センサ装置30がゲートウェイ装置10の管理下に登録されて代理プログラムが実行されたことを示す登録完了メッセージを、センサ装置30に送信する(ステップS7)。   Next, the proxy program execution unit 13 of the gateway device 10 starts executing the proxy program acquired by the proxy program acquisition unit 12 (step S6). The gateway device 10 transmits a registration completion message indicating that the sensor device 30 is registered under the management of the gateway device 10 and the proxy program is executed to the sensor device 30 (step S7).

次に、センサ装置30が登録完了メッセージを受信すると、センサ装置30は、センシングを開始し、このセンシングにより取得されたセンサデータをゲートウェイ装置10に送信する(ステップS8)。なお、センサデータを送信する際のデータフォーマットは、センサ装置30および代理プログラムで規定された所定のフォーマットが用いられる。   Next, when the sensor device 30 receives the registration completion message, the sensor device 30 starts sensing, and transmits the sensor data acquired by the sensing to the gateway device 10 (step S8). As a data format for transmitting the sensor data, a predetermined format defined by the sensor device 30 and the proxy program is used.

次に、ゲートウェイ装置10の代理プログラム実行部13は、センサ装置30から送信されたセンサデータを受信して、センサ情報データベース1Aに蓄積する(ステップS9)。   Next, the proxy program execution unit 13 of the gateway device 10 receives the sensor data transmitted from the sensor device 30 and accumulates it in the sensor information database 1A (step S9).

外部装置40は、任意のタイミングで、所望するセンサ装置30の探索を要求するための検索要求メッセージをブロードキャスト配信する(ステップS10)。ここで、検索要求メッセージに含まれる内容としては、例えば、「この絶対位置から半径100mの温度の情報が欲しい」等が該当する。具体的な書式としては、例えば、“FINDtype:temperature; restriction:position,100m”等がある。   The external device 40 broadcasts a search request message for requesting a search for the desired sensor device 30 at an arbitrary timing (step S10). Here, the content included in the search request message corresponds to, for example, “I want information on temperature with a radius of 100 m from this absolute position”. A specific format includes, for example, “FINDtype: temperature; restriction: position, 100m”.

次に、外部装置40から配信された検索要求メッセージを受信したゲートウェイ装置10の代理プログラム実行部13は、センサ情報検索用のキーワードに基づいて、センサ情報データベース1Aを検索し(ステップS11)、この検索結果を外部装置40に送信する(ステップS12)。ここで、情報検索用のキーワードとしては、検索要求メッセージの内容が上述した内容である場合には、例えば、「絶対位置から半径100m以内」という位置情報や「温度センサ」等が該当する。   Next, the proxy program execution unit 13 of the gateway device 10 that has received the search request message distributed from the external device 40 searches the sensor information database 1A based on the sensor information search keyword (step S11). The search result is transmitted to the external device 40 (step S12). Here, as the keyword for information search, when the content of the search request message is the above-mentioned content, for example, position information such as “within a radius of 100 m from the absolute position”, “temperature sensor”, or the like is applicable.

次に、外部装置40は、任意のタイミングで、センサ装置30においてセンシングされたセンサデータに関するセンサ情報を要求するためのセンサ情報要求メッセージをゲートウェイ装置10に送信する(ステップS13)。ここで、センサ情報要求メッセージに含まれる要求内容としては、例えば、「現在から過去3日間の平均の温度情報が欲しい」、「昨日の温度情報を絶対温度で欲しい」等が該当する。具体的な書式としては、例えば、“GET type:temperature;restriction:during=3days”等がある。   Next, the external device 40 transmits a sensor information request message for requesting sensor information related to sensor data sensed by the sensor device 30 to the gateway device 10 at an arbitrary timing (step S13). Here, the request contents included in the sensor information request message include, for example, “I want average temperature information for the past three days from now”, “I want yesterday's temperature information in absolute temperature”, and the like. A specific format includes, for example, “GET type: temperature; restriction: duration = 3days”.

次に、ゲートウェイ装置10の代理プログラム実行部13は、センサ情報要求メッセージに対応するセンサ情報をセンサ情報データベース1Aから抽出し(ステップS14)、この抽出したセンサ情報をセンサ情報要求メッセージの要求内容に応じて加工し、加工後の内容を外部装置40に送信する(ステップS15)。   Next, the proxy program execution unit 13 of the gateway device 10 extracts sensor information corresponding to the sensor information request message from the sensor information database 1A (step S14), and uses the extracted sensor information as the request content of the sensor information request message. Processing is performed accordingly, and the processed content is transmitted to the external device 40 (step S15).

以上のように、第1実施形態におけるセンサ装置支援システムによって、登録要求メッセージをセンサ装置30から受信した場合に、代理プログラム取得部12によって、登録要求メッセージに含まれるプログラムIDに対応する代理プログラムがゲートウェイ補助装置から取得され、代理プログラム実行部13によって、センサ装置30でセンシングされたセンサデータをセンサ装置30の代わりに取り扱うための代理プログラムが実行される。この代理プログラムが実行されることによって、センサ装置30でセンシングされたセンサデータを受信した場合には、このセンサデータを蓄積させることができ、センサデータに関する問い合わせメッセージを外部装置40から受信した場合には、この問い合わせメッセージに対する応答を、センサ装置30に代わって外部装置40に送信させることができる。したがって、センサ装置30では、センシングしたセンサデータを含む情報をゲートウェイ装置10に送信することができれば、このセンサデータを蓄積させて2次加工し、さらにセンサ情報を外部装置40に公開させることができる。それゆえに、低機能・低性能なセンサ装置30を支援することができる。   As described above, when the registration request message is received from the sensor device 30 by the sensor device support system according to the first embodiment, the proxy program acquisition unit 12 determines the proxy program corresponding to the program ID included in the registration request message. A proxy program for handling the sensor data obtained from the gateway auxiliary device and sensed by the sensor device 30 instead of the sensor device 30 is executed by the proxy program execution unit 13. By executing this proxy program, when sensor data sensed by the sensor device 30 is received, the sensor data can be accumulated, and when an inquiry message about the sensor data is received from the external device 40 Can send a response to the inquiry message to the external device 40 instead of the sensor device 30. Therefore, if the sensor device 30 can transmit information including sensed sensor data to the gateway device 10, the sensor data can be accumulated and subjected to secondary processing, and the sensor information can be disclosed to the external device 40. . Therefore, the low-function / low-performance sensor device 30 can be supported.

[第2実施形態]
次に、本発明の第2実施形態について説明する。第2実施形態におけるセンサ装置支援システム1の第1の特徴は、例えば、センサ装置30が移動する等して、登録先のゲートウェイ装置が他のゲートウェイ装置に変更された場合に、前回の登録先となるゲートウェイ装置10に格納されているセンサ装置30のセンサ情報を、新たな登録先となるゲートウェイ装置10に引き継ぐ点にある。また、第2の特徴は、例えば、センサ装置30がサスペンド/レジューム等によって、ゲートウェイ装置の管理下から一旦解除されてその後再登録された場合に、解除される前に蓄積されていたセンサ情報を、再登録後のセンサ情報に引き継ぐ点にある。
[Second Embodiment]
Next, a second embodiment of the present invention will be described. The first feature of the sensor device support system 1 in the second embodiment is that, for example, when the registration destination gateway device is changed to another gateway device due to movement of the sensor device 30 or the like, the previous registration destination The sensor information of the sensor device 30 stored in the gateway device 10 is to be taken over by the gateway device 10 as a new registration destination. The second feature is that, for example, when the sensor device 30 is temporarily released from the management of the gateway device by suspend / resume or the like and then re-registered, the sensor information stored before the release is stored. This is in the point of taking over the sensor information after re-registration.

第2実施形態におけるセンサ装置支援システム1のシステム構成は、第1実施形態におけるセンサ装置支援システム1のシステム構成(図1参照)と同様であるため、その説明を省略する。第2実施形態におけるセンサ装置支援システム1が第1実施形態におけるセンサ装置支援システム1と異なる点は、ゲートウェイ装置10の機能構成が異なる点である。   Since the system configuration of the sensor device support system 1 in the second embodiment is the same as the system configuration (see FIG. 1) of the sensor device support system 1 in the first embodiment, the description thereof is omitted. The sensor device support system 1 in the second embodiment is different from the sensor device support system 1 in the first embodiment in that the functional configuration of the gateway device 10 is different.

具体的には、図6に示すように、第2実施形態におけるゲートウェイ装置10は、ゲートウェイ情報取得部15(ゲートウェイ情報取得手段)と、ゲートウェイ情報判定部16(センサ情報取得手段)と、センサ情報取得部17(センサ情報取得手段)とをさらに有している点で第1実施形態におけるゲートウェイ装置10の機能構成と異なる。また、センサ情報一時記憶ファイル1B(センサ情報一時格納手段)をさらに有する点でも異なる。これ以外の機能構成は、第1実施形態のセンサ装置支援システム1における各機能構成と同様であるので、各構成要素には同一の符合を付しその説明は省略するとともに、以下において第1実施形態との相違点について詳述する。   Specifically, as illustrated in FIG. 6, the gateway device 10 according to the second embodiment includes a gateway information acquisition unit 15 (gateway information acquisition unit), a gateway information determination unit 16 (sensor information acquisition unit), and sensor information. It differs from the functional configuration of the gateway device 10 in the first embodiment in that it further includes an acquisition unit 17 (sensor information acquisition means). Another difference is that it further includes a sensor information temporary storage file 1B (sensor information temporary storage means). Since other functional configurations are the same as the functional configurations in the sensor device support system 1 of the first embodiment, the same reference numerals are given to the respective components and the description thereof will be omitted, and the first implementation will be described below. Differences from the form will be described in detail.

センサ情報一時記憶ファイル1Bのデータ構成は、センサ情報データベース1Aのデータ構成と同様である。センサ情報一時記憶ファイル1Bは、センサ装置30がゲートウェイ装置10の管理下から解除されたときに、センサ情報データベース1Aに格納されている各データを、予め定められた所定の期間だけ格納する。なお、このセンサ情報一時記憶ファイル1Bは、必ずしも備える必要はない。例えば、センサ情報データベース1Aに格納されている各データを削除するタイミングを、センサ装置30がゲートウェイ装置10の管理下から解除されてから所定の期間経過した後に設定することとしてもよい。   The data configuration of the sensor information temporary storage file 1B is the same as the data configuration of the sensor information database 1A. The sensor information temporary storage file 1B stores each data stored in the sensor information database 1A only for a predetermined period when the sensor device 30 is released from the management of the gateway device 10. The sensor information temporary storage file 1B is not necessarily provided. For example, the timing for deleting each data stored in the sensor information database 1 </ b> A may be set after a predetermined period has elapsed since the sensor device 30 was released from the management of the gateway device 10.

ゲートウェイ情報取得部15は、登録要求メッセージを送信してきたセンサ装置30が前回登録されていたゲートウェイ装置10に関するゲートウェイ情報(以下、前回ゲートウェイ情報という)を、センサ装置30から取得する。この前回ゲートウェイ情報には、ゲートウェイ装置を一意に特定するゲートウェイIDが含まれている。   The gateway information acquisition unit 15 acquires, from the sensor device 30, gateway information (hereinafter referred to as “previous gateway information”) related to the gateway device 10 in which the sensor device 30 that has transmitted the registration request message has been registered last time. This previous gateway information includes a gateway ID that uniquely identifies the gateway device.

具体的に説明すると、ゲートウェイ情報取得部15は、登録要求メッセージを送信してきたセンサ装置30に対して登録完了メッセージを送信した後に、このセンサ装置30に前回ゲートウェイ情報を送信するように要求するための前回ゲートウェイ情報要求メッセージを送信する。また、ゲートウェイ情報取得部15は、前回ゲートウェイ情報要求メッセージの応答としてセンサ装置30から送信される前回ゲートウェイ情報を受信する。これにより、ゲートウェイ情報取得部15は前回ゲートウェイ情報を取得することになる。   More specifically, the gateway information acquisition unit 15 requests the sensor device 30 to transmit the gateway information last time after transmitting the registration completion message to the sensor device 30 that has transmitted the registration request message. Send the previous gateway information request message. Further, the gateway information acquisition unit 15 receives the previous gateway information transmitted from the sensor device 30 as a response to the previous gateway information request message. As a result, the gateway information acquisition unit 15 acquires the previous gateway information.

ゲートウェイ情報判定部16は、ゲートウェイ情報取得部15により取得された前回ゲートウェイ情報に対応するゲートウェイ装置10が、自装置であるか否かを判定する。具体的に説明すると、ゲートウェイ情報判定部16は、前回ゲートウェイ情報に含まれるゲートウェイIDが、自装置のゲートウェイIDと同一であるか否かを判定する。   The gateway information determination unit 16 determines whether or not the gateway device 10 corresponding to the previous gateway information acquired by the gateway information acquisition unit 15 is its own device. Specifically, the gateway information determination unit 16 determines whether or not the gateway ID included in the previous gateway information is the same as the gateway ID of the own device.

センサ情報取得部17は、ゲートウェイ情報取得部15により取得された前回ゲートウェイ情報に対応するゲートウェイ装置10が、自装置以外の他のゲートウェイ装置であると判定した場合に、他のゲートウェイ装置から、登録要求メッセージを送信してきたセンサ装置30のセンサ情報を取得する。   When it is determined that the gateway device 10 corresponding to the previous gateway information acquired by the gateway information acquisition unit 15 is a gateway device other than its own device, the sensor information acquisition unit 17 registers from another gateway device. The sensor information of the sensor device 30 that has transmitted the request message is acquired.

具体的に説明すると、センサ情報取得部17は、他のゲートウェイ装置に蓄積されているセンサ情報を送信するように要求するためのセンサ情報要求メッセージを他のゲートウェイ装置に対して送信する。このセンサ情報要求メッセージには、センサ装置IDが含まれている。他のゲートウェイ装置は、受信したセンサ情報要求メッセージに含まれるセンサ装置IDに基づいて、センサ情報一時記憶ファイル1Bから、このセンサ装置IDに対応して記憶されているセンサ情報を抽出する。他のゲートウェイ装置は、この抽出したセンサ情報を、ゲートウェイ装置10に送信する。これにより、センサ情報取得部17は、センサ装置30のセンサ情報を他のゲートウェイ装置から取得する。   More specifically, the sensor information acquisition unit 17 transmits a sensor information request message for requesting to transmit the sensor information stored in the other gateway device to the other gateway device. This sensor information request message includes the sensor device ID. The other gateway device extracts the sensor information stored corresponding to the sensor device ID from the sensor information temporary storage file 1B based on the sensor device ID included in the received sensor information request message. The other gateway device transmits the extracted sensor information to the gateway device 10. Thereby, the sensor information acquisition part 17 acquires the sensor information of the sensor apparatus 30 from another gateway apparatus.

センサ情報取得部17は、ゲートウェイ情報取得部15により取得された前回ゲートウェイ情報に対応するゲートウェイ装置10が、自装置であると判定した場合に、センサ情報一時記憶ファイル1Bに格納されたセンサ情報から、登録要求メッセージを送信してきたセンサ装置30のセンサ情報を抽出する。これにより、センサ情報を取得することになる。   When it is determined that the gateway device 10 corresponding to the previous gateway information acquired by the gateway information acquisition unit 15 is the own device, the sensor information acquisition unit 17 uses the sensor information stored in the sensor information temporary storage file 1B. Then, the sensor information of the sensor device 30 that has transmitted the registration request message is extracted. Thereby, sensor information is acquired.

なお、センサ情報一時記憶ファイル1Bに格納されるセンサ情報に有効期限を持たせることとしてもよい。この場合には、有効期限を超過したセンサ情報については抽出の対象から除外することができる。これにより、有効期限内のセンサ情報のみを他のゲートウェイ装置に引き継ぐことができる。   The sensor information stored in the sensor information temporary storage file 1B may have an expiration date. In this case, sensor information that has expired can be excluded from extraction targets. Thereby, only the sensor information within the expiration date can be taken over by another gateway device.

次に、図7を参照して、第2実施形態におけるセンサ装置支援システム1の動作について説明する。ここで、第2実施形態における動作では、第1実施形態における動作のうちステップS1〜ステップS8(図5)までの処理が同様に行われるため、これらの処理の説明については省略する。したがって、以下に説明する図7に示す各処理は、図5に示すステップS8の処理に引き続き行われることになる。   Next, the operation of the sensor device support system 1 according to the second embodiment will be described with reference to FIG. Here, in the operation in the second embodiment, the processing from step S1 to step S8 (FIG. 5) in the operation in the first embodiment is performed in the same manner, and thus description of these processing is omitted. Therefore, each process shown in FIG. 7 described below is performed following the process of step S8 shown in FIG.

まず、ゲートウェイ装置10がセンサ装置30に登録完了メッセージを送信した(図5のステップS8)後に、ゲートウェイ装置10のゲートウェイ情報取得部15は、登録完了メッセージを送信したセンサ装置30に対して、前回ゲートウェイ情報を送信するように要求するための前回ゲートウェイ情報要求メッセージを送信する(ステップS21)。   First, after the gateway apparatus 10 transmits a registration completion message to the sensor apparatus 30 (step S8 in FIG. 5), the gateway information acquisition unit 15 of the gateway apparatus 10 transmits the registration completion message to the sensor apparatus 30 that transmitted the registration completion message last time. A previous gateway information request message for requesting transmission of gateway information is transmitted (step S21).

次に、センサ装置30は、前回ゲートウェイ情報を、ゲートウェイ装置10に送信する(ステップS22)。これにより、ゲートウェイ装置10のゲートウェイ情報取得部15は、前回ゲートウェイ情報を取得する。   Next, the sensor device 30 transmits the previous gateway information to the gateway device 10 (step S22). Thereby, the gateway information acquisition part 15 of the gateway apparatus 10 acquires gateway information last time.

次に、ゲートウェイ装置10のゲートウェイ情報判定部16は、ゲートウェイ情報取得部15によって取得された前回ゲートウェイ情報に対応するゲートウェイ装置10が、自装置であるか否かを判定する(ステップS23)。すなわち、今回登録を要求されたゲートウェイ装置が、前回登録されていたゲートウェイ装置と同じ装置であるか否かを判定する。   Next, the gateway information determination unit 16 of the gateway device 10 determines whether or not the gateway device 10 corresponding to the previous gateway information acquired by the gateway information acquisition unit 15 is its own device (step S23). That is, it is determined whether or not the gateway device requested to be registered this time is the same device as the gateway device registered last time.

ステップS23における判定において、前回ゲートウェイ情報に対応するゲートウェイ装置10が、自装置以外の他のゲートウェイ装置であると判定された場合(ステップS23;NO)に、センサ情報取得部17は、他のゲートウェイ装置に蓄積されているセンサ情報を送信するように要求するためのセンサ情報要求メッセージを他のゲートウェイ装置に対して送信する(ステップS24)。   When it is determined in step S23 that the gateway device 10 corresponding to the previous gateway information is a gateway device other than the own device (step S23; NO), the sensor information acquisition unit 17 selects another gateway device. A sensor information request message for requesting to transmit the sensor information stored in the device is transmitted to another gateway device (step S24).

次に、他のゲートウェイ装置は、受信したセンサ情報要求メッセージに含まれるセンサ装置IDに基づいて、センサ情報一時記憶ファイル1Bから、このセンサ装置IDに対応して記憶されているセンサ情報を抽出し(ステップS25)、抽出したセンサ情報をゲートウェイ装置10に送信する(ステップS26)とともに、抽出したセンサ情報をセンサ情報一時記憶ファイル1Bから削除する。ゲートウェイ装置10は、受信したセンサ情報をセンサ情報データベース1Aに格納する(ステップS28)。   Next, the other gateway device extracts the sensor information stored in correspondence with the sensor device ID from the sensor information temporary storage file 1B based on the sensor device ID included in the received sensor information request message. (Step S25) The extracted sensor information is transmitted to the gateway device 10 (Step S26), and the extracted sensor information is deleted from the sensor information temporary storage file 1B. The gateway device 10 stores the received sensor information in the sensor information database 1A (step S28).

一方、ステップS23における判定において、前回ゲートウェイ情報に対応するゲートウェイ装置10が、自装置であると判定された場合(ステップS23;YES)に、センサ情報取得部17は、センサ情報一時記憶ファイル1Bに格納されたセンサ情報から、登録要求メッセージを送信してきたセンサ装置30のセンサ情報を抽出して(ステップS26)、抽出したセンサ情報をセンサ情報データベース1Aに格納する(ステップS28)とともに、抽出したセンサ情報をセンサ情報一時記憶ファイル1Bから削除する。   On the other hand, in the determination in step S23, when it is determined that the gateway device 10 corresponding to the previous gateway information is the own device (step S23; YES), the sensor information acquisition unit 17 stores the sensor information temporary storage file 1B. The sensor information of the sensor device 30 that has transmitted the registration request message is extracted from the stored sensor information (step S26), the extracted sensor information is stored in the sensor information database 1A (step S28), and the extracted sensor The information is deleted from the sensor information temporary storage file 1B.

以上のように、第2実施形態におけるセンサ装置支援システムによれば、例えば、センサ装置が移動して、他のゲートウェイ装置10に属することとなった場合であっても、前回のゲートウェイ装置10において蓄積されていたセンサ情報を、センサ装置30の能力の如何にかかわらず、移動後のゲートウェイ装置10に引き渡すことができるため、センサ情報を有効に活用することができる。また、例えば、センサ装置30がサスペンド/レジュームによってゲートウェイ装置10の管理下から一旦解除されてその後再登録された場合であっても、解除前に蓄積されていたセンサ情報を、センサ装置30の能力の如何にかかわらず、再利用することができるため、センサ情報を有効に活用することができる。   As described above, according to the sensor device support system in the second embodiment, for example, even when the sensor device moves and belongs to another gateway device 10, Since the accumulated sensor information can be transferred to the gateway apparatus 10 after movement regardless of the capability of the sensor apparatus 30, the sensor information can be used effectively. Further, for example, even when the sensor device 30 is temporarily released from the management of the gateway device 10 by suspend / resume and then re-registered, the sensor information stored before the release is used as the capability of the sensor device 30. Therefore, the sensor information can be used effectively because it can be reused.

なお、上述した第2実施形態では、ゲートウェイ装置10が前回ゲートウェイ情報を取得する方法として、ゲートウェイ装置10がセンサ装置30に登録完了メッセージを送信し、さらに前回ゲートウェイ情報要求メッセージを送信することによってセンサ装置30から前回ゲートウェイ情報を取得しているが、前回ゲートウェイ情報を取得する方法はこれに限られない。例えば、センサ装置30がゲートウェイ装置10に登録要求メッセージを送信するときに、前回ゲートウェイ情報も併せて送信することによって、ゲートウェイ装置10が前回ゲートウェイ情報を取得することとしてもよい。この場合には、ゲートウェイ装置10からセンサ装置30に対して前回ゲートウェイ情報要求メッセージを送信する処理を省くことができる。   In the above-described second embodiment, as a method for the gateway device 10 to acquire the previous gateway information, the gateway device 10 transmits a registration completion message to the sensor device 30, and further transmits a previous gateway information request message to detect the sensor. Although the previous gateway information is acquired from the device 30, the method of acquiring the previous gateway information is not limited to this. For example, when the sensor device 30 transmits a registration request message to the gateway device 10, the gateway device 10 may acquire the previous gateway information by transmitting the previous gateway information together. In this case, the process of transmitting the previous gateway information request message from the gateway device 10 to the sensor device 30 can be omitted.

[第3実施形態]
次に、本発明の第3実施形態について説明する。第3実施形態におけるセンサ装置支援システム1の特徴は、蓄積されたセンサ情報に基づいてセンサ情報に対応するセンサ装置30のセンシング間隔、センサ装置30の起動・休止間隔、センサ装置30とゲートウェイ装置10間のデータ送受信間隔等のスケジュールを決定し、センサ装置30に送信する点にある。
[Third embodiment]
Next, a third embodiment of the present invention will be described. The sensor device support system 1 according to the third embodiment is characterized by the sensing interval of the sensor device 30 corresponding to the sensor information based on the accumulated sensor information, the start / pause interval of the sensor device 30, the sensor device 30 and the gateway device 10. A schedule such as a data transmission / reception interval is determined and transmitted to the sensor device 30.

第3実施形態におけるセンサ装置支援システム1のシステム構成は、第1実施形態におけるセンサ装置支援システム1のシステム構成(図1参照)と同様であるため、その説明を省略する。第3実施形態におけるセンサ装置支援システム1が第1実施形態におけるセンサ装置支援システム1と異なる点は、ゲートウェイ装置10の機能構成が異なる点である。   Since the system configuration of the sensor device support system 1 in the third embodiment is the same as the system configuration (see FIG. 1) of the sensor device support system 1 in the first embodiment, the description thereof is omitted. The sensor device support system 1 in the third embodiment is different from the sensor device support system 1 in the first embodiment in that the functional configuration of the gateway device 10 is different.

具体的には、図8に示すように、第3実施形態におけるゲートウェイ装置10は、スケジュール決定部18(スケジュール決定手段,送信手段)をさらに有している点で第1実施形態におけるゲートウェイ装置10の機能構成と異なる。これ以外の機能構成は、第1実施形態のセンサ装置支援システム1における各機能構成と同様であるので、各構成要素には同一の符合を付しその説明は省略するとともに、以下において第1実施形態との相違点について詳述する。   Specifically, as shown in FIG. 8, the gateway device 10 in the third embodiment further includes a schedule determination unit 18 (schedule determination means, transmission means) in the first embodiment. Different from the functional configuration of. Since other functional configurations are the same as the functional configurations in the sensor device support system 1 of the first embodiment, the same reference numerals are given to the respective components and the description thereof will be omitted, and the first implementation will be described below. Differences from the form will be described in detail.

スケジュール決定部18は、センサ情報データベース1Aに蓄積されたセンサ情報に基づいて、センサ情報に対応するセンサ装置30の各スケジュールを決定する。具体的に説明すると、スケジュール決定部18は、センサ情報データベース1Aに蓄積されたセンサ情報に基づいて、センサデータの周期的な変化を解析する。スケジュール決定部18は、解析した周期的な変化の度合に応じてセンシング間隔のスケジュールを決定する。より具体的に説明すると、周期的な変化の度合が小さいほどセンシング間隔を長く設定し、周期的な変化の度合が大きいほどセンシング間隔を短く設定する。また、スケジュール決定部18は、センシング間隔に応じた電源制御をするために、センシング間隔等に基づいて、センサ装置30の起動・休止間隔のスケジュールを決定する。さらに、スケジュール決定部18は、センサ装置30の蓄積能力や、センサデータのリアルタイム性に応じて効率よくデータの送受信を行えるように、蓄積能力、センシングされるデータ量、センシング間隔等に基づいて、データの送受信間隔のスケジュールについても決定する。スケジュール決定部18は、決定した各スケジュールを、センサ装置30に送信する。   The schedule determination unit 18 determines each schedule of the sensor device 30 corresponding to the sensor information based on the sensor information stored in the sensor information database 1A. Specifically, the schedule determination unit 18 analyzes periodic changes in sensor data based on the sensor information stored in the sensor information database 1A. The schedule determination unit 18 determines a sensing interval schedule according to the analyzed degree of periodic change. More specifically, the sensing interval is set longer as the degree of periodic change is smaller, and the sensing interval is set shorter as the degree of periodic change is larger. Further, the schedule determination unit 18 determines a schedule for the activation / pause interval of the sensor device 30 based on the sensing interval or the like in order to perform power supply control according to the sensing interval. Furthermore, the schedule determination unit 18 is based on the storage capability, the amount of data to be sensed, the sensing interval, etc. so that the data can be efficiently transmitted and received according to the storage capability of the sensor device 30 and the real-time property of the sensor data. The schedule of the data transmission / reception interval is also determined. The schedule determination unit 18 transmits each determined schedule to the sensor device 30.

次に、図9を参照して、第3実施形態におけるセンサ装置支援システム1の動作について説明する。ここで、第3実施形態における動作は、第1実施形態における動作のステップS1〜ステップS8(図5)までの処理が行われた後に、任意のタイミングで開始されるものである。   Next, with reference to FIG. 9, operation | movement of the sensor apparatus assistance system 1 in 3rd Embodiment is demonstrated. Here, the operation in the third embodiment is started at an arbitrary timing after the processing from step S1 to step S8 (FIG. 5) of the operation in the first embodiment is performed.

まず、センサ装置30とゲートウェイ装置10との間でセンサデータ蓄積処理が繰り返し行われる(ステップS31)。このセンサデータ蓄積処理では、センサ装置30がゲートウェイ装置10にセンサデータを送信し、ゲートウェイ装置10がセンサ装置30から受信したセンサデータをセンサ情報データベース1Aに蓄積する処理が繰り返し行われる。   First, sensor data accumulation processing is repeatedly performed between the sensor device 30 and the gateway device 10 (step S31). In this sensor data storage process, the sensor device 30 transmits sensor data to the gateway device 10, and the gateway device 10 repeatedly stores the sensor data received from the sensor device 30 in the sensor information database 1A.

その後、センサ情報データベース1Aに所定量のセンサデータが蓄積されると、ゲートウェイ装置10のスケジュール決定部18は、センサ情報データベース1Aに蓄積されたセンサ情報に基づいて、センサデータの周期的な変化の度合を解析する(ステップS32)。   After that, when a predetermined amount of sensor data is accumulated in the sensor information database 1A, the schedule determination unit 18 of the gateway device 10 determines the periodic change of the sensor data based on the sensor information accumulated in the sensor information database 1A. The degree is analyzed (step S32).

次に、スケジュール決定部18は、解析した変化の度合に応じて、センサ装置30のセンシング間隔のスケジュールを決定する(ステップS33)。   Next, the schedule determination unit 18 determines the sensing interval schedule of the sensor device 30 according to the analyzed degree of change (step S33).

さらに、スケジュール決定部18は、センサ装置30の起動・休止間隔のスケジュールおよびデータの送受信間隔のスケジュールを決定する(ステップS34)。   Furthermore, the schedule determination unit 18 determines the schedule of the activation / pause interval of the sensor device 30 and the schedule of the data transmission / reception interval (step S34).

次に、スケジュール決定部18は、決定したセンシング間隔、起動・休止間隔およびデータの送受信間隔の各スケジュールをセンサ装置30に送信する(ステップS35)。センサ装置30は、ゲートウェイ装置10から受信した各スケジュールを保存する。   Next, the schedule determination unit 18 transmits each schedule of the determined sensing interval, activation / pause interval, and data transmission / reception interval to the sensor device 30 (step S35). The sensor device 30 stores each schedule received from the gateway device 10.

次に、センサ装置30は、保存した各スケジュールに基づいて、後述する各種のスケジュール動作を繰り返し実行する(ステップS36)。   Next, the sensor device 30 repeatedly executes various schedule operations to be described later based on the stored schedules (step S36).

次に、図10を参照して、上述したステップS36において繰り返し行われる各種のスケジュール動作について説明する。なお、このスケジュール動作は、主にセンサ装置30側の動作であるため、センサ装置30で行われる処理の流れのみを図10のフローチャートを用いて説明する。   Next, various schedule operations that are repeatedly performed in step S36 described above will be described with reference to FIG. Since this schedule operation is mainly an operation on the sensor device 30 side, only the flow of processing performed in the sensor device 30 will be described with reference to the flowchart of FIG.

まず、センサ装置30は、次回に実行するスケジュールを読み出す(ステップS36a)。次に、センサ装置30は、この読み出したスケジュールが、送受信間隔のスケジュールであるか否かを判定する(ステップS36b)。この判定がNOである場合(ステップS36b;NO)に、センサ装置30は、次回の起動タイマをセットして、部分的に給電を停止させる(ステップS36c)。次に、センサ装置30は、タイマ起動により給電が開始される(ステップS36d)と、センシングを実行し(ステップS36e)、センサデータを蓄積する(ステップS36f)。   First, the sensor device 30 reads a schedule to be executed next time (step S36a). Next, the sensor device 30 determines whether or not the read schedule is a schedule for a transmission / reception interval (step S36b). If this determination is NO (step S36b; NO), the sensor device 30 sets the next activation timer and partially stops power feeding (step S36c). Next, when power supply is started by timer activation (step S36d), the sensor device 30 performs sensing (step S36e) and accumulates sensor data (step S36f).

一方、上述したステップS36bの判定において、読み出したスケジュールが、送受信間隔のスケジュールであると判定された場合(ステップS36b;YES)に、センサ装置30は、センサデータをゲートウェイ装置10に送信する(ステップS36g)とともに、蓄積したセンサデータを削除する(ステップS36h)。ゲートウェイ装置10は、センサ装置30から送信されたセンサデータをセンサ情報データベース1Aに蓄積する。   On the other hand, if it is determined in step S36b described above that the read schedule is a schedule for a transmission / reception interval (step S36b; YES), the sensor device 30 transmits sensor data to the gateway device 10 (step S36b). The accumulated sensor data is deleted together with S36g) (step S36h). The gateway device 10 accumulates the sensor data transmitted from the sensor device 30 in the sensor information database 1A.

以上のように、第3実施形態におけるセンサ装置支援システムによれば、蓄積された過去のセンサ情報に基づいて予測されたデータ特性を用いて決定されたセンシング間隔、起動・休止間隔、送受信間隔等のスケジュールを、センサ装置30に送信することができるため、センサ装置30では、最適なセンシング間隔でセンシング、自装置の起動や休止、センサデータの送信等を実行させることができるようになる。したがって、センサ装置30の無駄なセンシング等を省くことができるため、センサ装置30の電力消費量を低減させることができる。   As described above, according to the sensor device support system in the third embodiment, the sensing interval, the activation / pause interval, the transmission / reception interval, etc. determined using the data characteristics predicted based on the accumulated past sensor information Therefore, the sensor device 30 can perform sensing, activation and suspension of the device itself, transmission of sensor data, and the like at an optimal sensing interval. Accordingly, it is possible to omit unnecessary sensing of the sensor device 30 and the power consumption of the sensor device 30 can be reduced.

[第4実施形態]
次に、本発明の第4実施形態について説明する。第4実施形態におけるセンサ装置支援システム1の特徴は、センサ装置30に備えられている複数のセンサがそれぞれ異なる代理プログラムに対応する場合に、それらの複数の代理プログラムをリンケージして実行する点に特徴がある。
[Fourth embodiment]
Next, a fourth embodiment of the present invention will be described. A feature of the sensor device support system 1 in the fourth embodiment is that, when a plurality of sensors provided in the sensor device 30 correspond to different proxy programs, the plurality of proxy programs are linked and executed. There are features.

第4実施形態におけるセンサ装置支援システム1のシステム構成は、第1実施形態におけるセンサ装置支援システム1のシステム構成(図1参照)と同様であるため、その説明を省略する。第4実施形態におけるセンサ装置支援システム1が第1実施形態におけるセンサ装置支援システム1と異なる点は、ゲートウェイ装置10の機能構成が異なる点である。   Since the system configuration of the sensor device support system 1 in the fourth embodiment is the same as the system configuration (see FIG. 1) of the sensor device support system 1 in the first embodiment, description thereof is omitted. The sensor device support system 1 in the fourth embodiment is different from the sensor device support system 1 in the first embodiment in that the functional configuration of the gateway device 10 is different.

具体的には、図11に示すように、第4実施形態におけるゲートウェイ装置10は、リンケージ部18(リンケージ手段)をさらに有している点で第1実施形態におけるゲートウェイ装置10の機能構成と異なる。したがって、それ以外の機能構成は、第1実施形態のセンサ装置支援システム1における各機能構成と同様であるので、各構成要素には同一の符合を付しその説明は省略すると共に、以下において第1実施形態との相違点について詳述する。   Specifically, as shown in FIG. 11, the gateway device 10 in the fourth embodiment is different from the functional configuration of the gateway device 10 in the first embodiment in that it further includes a linkage unit 18 (linkage means). . Accordingly, the other functional configurations are the same as the respective functional configurations in the sensor device support system 1 of the first embodiment. Therefore, the same reference numerals are given to the respective constituent elements and the description thereof will be omitted. Differences from the first embodiment will be described in detail.

リンケージ部18は、代理プログラム取得部12により取得された代理プログラムが複数である場合に、複数の代理プログラムをリンケージする。   The linkage unit 18 links a plurality of proxy programs when there are a plurality of proxy programs acquired by the proxy program acquisition unit 12.

次に、図12を参照して、第4実施形態におけるセンサ装置支援システム1の動作について説明する。   Next, the operation of the sensor device support system 1 in the fourth embodiment will be described with reference to FIG.

まず、ゲートウェイ装置10は、自装置10の近辺に存在するセンサ装置30が自装置10を発見することができるように、自装置10の装置ID等を含むゲートウェイ装置情報を、ブロードキャスト配信により広告する(ステップS41)。   First, the gateway device 10 advertises gateway device information including the device ID of the own device 10 by broadcast distribution so that the sensor device 30 existing in the vicinity of the own device 10 can find the own device 10. (Step S41).

次に、広告されたゲートウェイ装置情報を受信したセンサ装置30は、受信したゲートウェイ装置情報を配信したゲートウェイ装置10に対して、ゲートウェイ装置10の管理下に登録するように要求するための登録要求メッセージを送信する(ステップS42)。この登録要求メッセージがゲートウェイ装置10に受信されると、センサ装置30は、ゲートウェイ装置10の管理下に登録される。なお、この登録要求メッセージには、上述したように、プログラムID、センサ装置ID、センサ部品ID等が含まれる。センサ部品IDが複数ある場合には、プログラムIDもそれに応じて複数存在する。   Next, the sensor device 30 that has received the advertised gateway device information requests the gateway device 10 that has received the received gateway device information to register under the management of the gateway device 10. Is transmitted (step S42). When the registration request message is received by the gateway device 10, the sensor device 30 is registered under the management of the gateway device 10. The registration request message includes a program ID, a sensor device ID, a sensor component ID, and the like as described above. When there are a plurality of sensor component IDs, there are a plurality of program IDs accordingly.

次に、ゲートウェイ装置10の代理プログラム取得部12は、登録要求メッセージに複数のプログラムIDが含まれている場合(ステップS43;YES)に、これら複数のプログラムIDを含む代理プログラム要求メッセージをゲートウェイ補助装置20に送信する(ステップS44)。なお、登録要求メッセージに複数のプログラムIDが含まれていない場合(ステップS43;NO)には、上述した第1実施形態で説明した図5のステップS3以降の処理に移行する。   Next, when the registration request message includes a plurality of program IDs (step S43; YES), the proxy program acquisition unit 12 of the gateway apparatus 10 sends a proxy program request message including the plurality of program IDs to the gateway assistance. It transmits to the apparatus 20 (step S44). When the registration request message does not include a plurality of program IDs (step S43; NO), the process proceeds to the processing after step S3 in FIG. 5 described in the first embodiment.

次に、ゲートウェイ補助装置20の代理プログラム抽出部21は、代理プログラム要求メッセージに含まれる複数のプログラムIDに基づいて、代理プログラムデータベース2Aから複数の格納先をそれぞれ抽出し、これら複数の格納先に格納されている代理プログラムをそれぞれ抽出する(ステップS45)。   Next, the proxy program extraction unit 21 of the gateway auxiliary device 20 extracts a plurality of storage destinations from the proxy program database 2A based on a plurality of program IDs included in the proxy program request message, and stores them in the plurality of storage destinations. Each stored proxy program is extracted (step S45).

次に、ゲートウェイ補助装置20は、抽出された複数の代理プログラムをゲートウェイ装置10に送信する(ステップS46)。これにより、ゲートウェイ装置10の代理プログラム取得部12は、複数の代理プログラムを取得する。   Next, the gateway auxiliary device 20 transmits the plurality of extracted proxy programs to the gateway device 10 (step S46). Thereby, the proxy program acquisition unit 12 of the gateway device 10 acquires a plurality of proxy programs.

次に、ゲートウェイ装置10のリンケージ部18は、代理プログラム取得部12により取得された複数の代理プログラムをリンケージする(ステップS47)。   Next, the linkage unit 18 of the gateway device 10 links the plurality of proxy programs acquired by the proxy program acquisition unit 12 (step S47).

次に、ゲートウェイ装置10の代理プログラム実行部13は、リンケージ部18によってリンケージされた代理プログラムの実行を開始する(ステップS48)。ゲートウェイ装置10は、センサ装置30がゲートウェイ装置10の管理下に登録されて代理プログラムが実行されたことを示す登録完了メッセージを、センサ装置30に送信する(ステップS49)。   Next, the proxy program execution unit 13 of the gateway apparatus 10 starts executing the proxy program linked by the linkage unit 18 (step S48). The gateway device 10 transmits to the sensor device 30 a registration completion message indicating that the sensor device 30 has been registered under the management of the gateway device 10 and the proxy program has been executed (step S49).

以上のように、第4実施形態におけるセンサ装置支援システムによれば、センサ装置30が複数の異なる代理プログラムに対応するセンサを備える場合であっても、センサ装置30ごとに代理プログラムをリンケージして実行することができるため、代理プログラムを処理する際の処理効率を向上させることができる。   As described above, according to the sensor device support system in the fourth embodiment, even when the sensor device 30 includes sensors corresponding to a plurality of different proxy programs, the proxy program is linked to each sensor device 30. Since it can be executed, the processing efficiency when processing the proxy program can be improved.

なお、上述した各実施形態におけるセンサ装置支援システムは、適宜組み合わせることが可能である。すなわち、第1実施形態〜第4実施形態における各センサ装置支援システムの有する機能を全て組み合わせてもよいし、その一部のみを組み合わせてもよい。   In addition, the sensor apparatus assistance system in each embodiment mentioned above can be combined suitably. That is, all the functions of the sensor device support systems in the first to fourth embodiments may be combined, or only a part of them may be combined.

各実施形態におけるセンサ装置支援システムのシステム構成を例示するための図である。It is a figure for illustrating the system configuration of the sensor apparatus support system in each embodiment. 第1実施形態におけるゲートウェイ装置の機能構成を例示するための図である。It is a figure for illustrating functional composition of a gateway device in a 1st embodiment. 各実施形態におけるゲートウェイ補助装置の機能構成を例示するための図である。It is a figure for illustrating functional composition of a gateway auxiliary device in each embodiment. 代理プログラムデータベースのデータ構成を示す図である。It is a figure which shows the data structure of a proxy program database. 第1実施形態におけるセンサ装置支援システムの動作を示すシーケンス図である。It is a sequence diagram which shows operation | movement of the sensor apparatus assistance system in 1st Embodiment. 第2実施形態におけるゲートウェイ装置の機能構成を例示するための図である。It is a figure for demonstrating the function structure of the gateway apparatus in 2nd Embodiment. 第2実施形態におけるセンサ装置支援システムの動作を示すシーケンス図である。It is a sequence diagram which shows operation | movement of the sensor apparatus assistance system in 2nd Embodiment. 第3実施形態におけるゲートウェイ装置の機能構成を例示するための図である。It is a figure for demonstrating the function structure of the gateway apparatus in 3rd Embodiment. 第3実施形態におけるセンサ装置支援システムの動作を示すシーケンス図である。It is a sequence diagram which shows operation | movement of the sensor apparatus assistance system in 3rd Embodiment. 図9に示すスケジュール動作実行処理の流れを説明するためのフローチャートである。10 is a flowchart for explaining a flow of a schedule operation execution process shown in FIG. 9. 第4実施形態におけるゲートウェイ装置の機能構成を例示するための図である。It is a figure for demonstrating the function structure of the gateway apparatus in 4th Embodiment. 第4実施形態におけるセンサ装置支援システムの動作を示すシーケンス図である。It is a sequence diagram which shows operation | movement of the sensor apparatus assistance system in 4th Embodiment.

符号の説明Explanation of symbols

1・・・センサ装置支援システム、10・・・ゲートウェイ装置、11・・・代理対象管理部、12・・・代理プログラム取得部、13・・・代理プログラム実行部、15・・・ゲートウェイ情報取得部、16・・・ゲートウェイ情報判定部、17・・・センサ情報取得部、18・・・スケジュール決定部、19・・・リンケージ部、1A・・・センサ情報データベース、1B・・・センサ情報一時記憶ファイル、20・・・ゲートウェイ補助装置、21・・・代理プログラム抽出部、2A・・・代理プログラムデータベース、30・・・センサ装置、40・・・外部装置。   DESCRIPTION OF SYMBOLS 1 ... Sensor apparatus assistance system, 10 ... Gateway apparatus, 11 ... Proxy object management part, 12 ... Proxy program acquisition part, 13 ... Proxy program execution part, 15 ... Gateway information acquisition , 16 ... Gateway information determination unit, 17 ... Sensor information acquisition unit, 18 ... Schedule determination unit, 19 ... Linkage unit, 1A ... Sensor information database, 1B ... Temporary sensor information Storage file, 20 ... gateway auxiliary device, 21 ... proxy program extraction unit, 2A ... proxy program database, 30 ... sensor device, 40 ... external device.

Claims (6)

一または複数のセンサ装置と通信可能な一または複数のゲートウェイ装置と、当該ゲートウェイ装置と通信可能なゲートウェイ補助装置と、を備えるセンサ装置支援システムであって、
前記ゲートウェイ補助装置が、
前記センサ装置でセンシングされたセンサデータを当該センサ装置の代わりに取り扱うための代理プログラムを、当該代理プログラムを一意に特定するプログラム識別情報に対応させて格納するプログラム格納手段を備え、
前記ゲートウェイ装置が、
前記プログラム識別情報を含む登録要求メッセージを前記センサ装置から受信した場合に、当該登録要求メッセージに含まれる前記プログラム識別情報に対応する前記代理プログラムを、前記ゲートウェイ補助装置から取得するプログラム取得手段と、
前記プログラム取得手段により取得された前記代理プログラムを実行するプログラム実行手段と、
前記登録要求メッセージを送信してきた前記センサ装置を自装置の管理下に登録する登録手段と、
前記センサ装置の前記登録が解除された場合に、当該登録が解除された前記センサ装置のセンサデータに関するセンサ情報を一時的に格納するセンサ情報一時格納手段と、
前記登録要求メッセージを送信してきた前記センサ装置が前回に登録されていた前記ゲートウェイ装置に関するゲートウェイ情報を、当該センサ装置から取得するゲートウェイ情報取得手段と、
前記ゲートウェイ情報取得手段により取得された前記ゲートウェイ情報に対応する前記ゲートウェイ装置が、自装置以外である他の前記ゲートウェイ装置である場合に、当該他の前記ゲートウェイ装置から、前記登録要求メッセージを送信してきた前記センサ装置のセンサデータに関するセンサ情報を取得するセンサ情報取得手段と、を備え、
前記プログラム実行手段は、前記センサ装置でセンシングされたセンサデータを受信した場合に、当該センサデータを処理するとともに、当該センサデータに関する問い合わせメッセージを外部から受信した場合に、当該問い合わせメッセージに対する応答を外部に送信する
ことを特徴とするセンサ装置支援システム。
A sensor device support system comprising one or more gateway devices capable of communicating with one or more sensor devices, and a gateway auxiliary device capable of communicating with the gateway devices,
The gateway auxiliary device is
A program storage means for storing a proxy program for handling sensor data sensed by the sensor device instead of the sensor device in association with program identification information that uniquely identifies the proxy program,
The gateway device is
A program acquisition means for acquiring the proxy program corresponding to the program identification information included in the registration request message from the gateway auxiliary device when a registration request message including the program identification information is received from the sensor device;
Program execution means for executing the proxy program acquired by the program acquisition means;
Registration means for registering the sensor device that has transmitted the registration request message under the management of the device;
When the registration of the sensor device is canceled, sensor information temporary storage means for temporarily storing sensor information related to sensor data of the sensor device for which the registration has been canceled,
Gateway information acquisition means for acquiring, from the sensor device, gateway information related to the gateway device in which the sensor device that has transmitted the registration request message was previously registered;
When the gateway device corresponding to the gateway information acquired by the gateway information acquisition unit is another gateway device other than its own device, the registration request message is transmitted from the other gateway device. Sensor information acquisition means for acquiring sensor information relating to sensor data of the sensor device ,
The program execution means processes the sensor data when sensor data sensed by the sensor device is received, and sends an external response to the inquiry message when an inquiry message about the sensor data is received from the outside. To the sensor device support system.
前記センサ情報取得手段は、前記ゲートウェイ情報取得手段により取得された前記ゲートウェイ情報に対応する前記ゲートウェイ装置が、自装置である場合に、前記センサ情報一時格納手段により格納された前記センサ情報から、前記登録要求メッセージを送信してきた前記センサ装置のセンサデータに関するセンサ情報を取得することを特徴とする請求項記載のセンサ装置支援システム。 The sensor information acquisition means, when the gateway device corresponding to the gateway information acquired by the gateway information acquisition means is its own apparatus, from the sensor information stored by the sensor information temporary storage means, sensor device support system according to claim 1, wherein the obtaining the sensor information on the sensor data of the sensor device that transmitted the registration request message. 前記ゲートウェイ装置が、
前記登録要求メッセージを送信してきた前記センサ装置のセンサデータに関するセンサ情報を格納するセンサ情報格納手段と、
前記センサ情報格納手段により格納された前記センサ情報に基づいて、当該センサ情報に対応する前記センサ装置のスケジュールを決定するスケジュール決定手段と、
前記スケジュール決定手段により決定された前記スケジュールに関する情報を前記センサ装置に送信する送信手段と、
をさらに備えることを特徴とする請求項1記載のセンサ装置支援システム。
The gateway device is
Sensor information storage means for storing sensor information relating to sensor data of the sensor device that has transmitted the registration request message;
Schedule determination means for determining a schedule of the sensor device corresponding to the sensor information based on the sensor information stored by the sensor information storage means;
Transmitting means for transmitting information relating to the schedule determined by the schedule determining means to the sensor device;
The sensor device support system according to claim 1, further comprising:
前記ゲートウェイ装置が、
複数のプログラムをリンケージするリンケージ手段をさらに備え、
前記プログラム取得手段は、前記登録要求メッセージに複数の前記プログラム識別情報が含まれている場合に、当該複数の前記プログラム識別情報のそれぞれに対応する前記代理プログラムを取得し、
前記リンケージ手段は、前記プログラム取得手段により取得された複数の前記代理プログラムをリンケージすることを特徴とする請求項1記載のセンサ装置支援システム。
The gateway device is
A linkage means for linking a plurality of programs;
The program acquisition means acquires the proxy program corresponding to each of the plurality of program identification information when the registration request message includes a plurality of the program identification information,
The sensor device support system according to claim 1, wherein the linkage means links a plurality of the proxy programs acquired by the program acquisition means.
一または複数のセンサ装置と通信可能な一または複数のゲートウェイ装置と、当該ゲートウェイ装置と通信可能なゲートウェイ補助装置とでセンサ装置を支援するセンサ装置支援方法であって、
前記ゲートウェイ補助装置が、
前記センサ装置でセンシングされたセンサデータを当該センサ装置の代わりに取り扱うための代理プログラムを、当該代理プログラムを一意に特定するプログラム識別情報に対応させて格納するプログラム格納ステップを備え、
前記ゲートウェイ装置が、
前記プログラム識別情報を含む登録要求メッセージを前記センサ装置から受信した場合に、当該登録要求メッセージに含まれる前記プログラム識別情報に対応する前記代理プログラムを、前記ゲートウェイ補助装置から取得するプログラム取得ステップと、
前記プログラム取得ステップにおいて取得された前記代理プログラムを実行するプログラム実行ステップと、
前記登録要求メッセージを送信してきた前記センサ装置を自装置の管理下に登録する登録ステップと、
前記センサ装置の前記登録が解除された場合に、当該登録が解除された前記センサ装置のセンサデータに関するセンサ情報を一時的に格納するセンサ情報一時格納ステップと、
前記登録要求メッセージを送信してきた前記センサ装置が前回に登録されていた前記ゲートウェイ装置に関するゲートウェイ情報を、当該センサ装置から取得するゲートウェイ情報取得ステップと、
前記ゲートウェイ情報取得ステップにおいて取得された前記ゲートウェイ情報に対応する前記ゲートウェイ装置が、自装置以外である他の前記ゲートウェイ装置である場合に、当該他の前記ゲートウェイ装置から、前記登録要求メッセージを送信してきた前記センサ装置のセンサデータに関するセンサ情報を取得するセンサ情報取得ステップと、を備え、
前記プログラム実行ステップは、前記センサ装置でセンシングされたセンサデータを受信した場合に、当該センサデータを処理するとともに、当該センサデータに関する問い合わせメッセージを外部から受信した場合に、当該問い合わせメッセージに対する応答を外部に送信する
ことを特徴とするセンサ装置支援方法。
A sensor device support method for supporting a sensor device with one or more gateway devices that can communicate with one or more sensor devices and a gateway auxiliary device that can communicate with the gateway device,
The gateway auxiliary device is
A program storage step of storing a proxy program for handling sensor data sensed by the sensor device instead of the sensor device in association with program identification information that uniquely identifies the proxy program,
The gateway device is
A program acquisition step of acquiring the proxy program corresponding to the program identification information included in the registration request message from the gateway auxiliary device when a registration request message including the program identification information is received from the sensor device;
A program execution step of executing the proxy program acquired in the program acquisition step;
A registration step of registering the sensor device that has transmitted the registration request message under the management of the device;
When the registration of the sensor device is canceled, a sensor information temporary storage step for temporarily storing sensor information related to sensor data of the sensor device for which the registration is canceled;
Gateway information acquisition step of acquiring gateway information related to the gateway device that was previously registered by the sensor device that has transmitted the registration request message from the sensor device;
When the gateway device corresponding to the gateway information acquired in the gateway information acquisition step is another gateway device other than its own device, the registration request message is transmitted from the other gateway device. Sensor information acquisition step of acquiring sensor information related to sensor data of the sensor device ,
The program execution step processes the sensor data when sensor data sensed by the sensor device is received, and sends an external response to the inquiry message when an inquiry message about the sensor data is received from the outside. A sensor device support method comprising: transmitting to a sensor device.
前記ゲートウェイ装置が、
前記登録要求メッセージを送信してきた前記センサ装置のセンサデータに関するセンサ情報を格納するセンサ情報格納ステップと、
前記センサ情報格納ステップにおいて格納された前記センサ情報に基づいて、当該センサ情報に対応する前記センサ装置のスケジュールを決定するスケジュール決定ステップと、
前記スケジュール決定ステップにおいて決定された前記スケジュールに関する情報を前記センサ装置に送信する送信ステップと、
をさらに備えることを特徴とする請求項記載のセンサ装置支援方法。
The gateway device is
A sensor information storage step for storing sensor information relating to sensor data of the sensor device that has transmitted the registration request message;
A schedule determination step for determining a schedule of the sensor device corresponding to the sensor information based on the sensor information stored in the sensor information storage step;
A transmission step of transmitting information related to the schedule determined in the schedule determination step to the sensor device;
The sensor device support method according to claim 5 , further comprising:
JP2006011513A 2006-01-19 2006-01-19 Sensor device support system and sensor device support method Expired - Fee Related JP4593483B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006011513A JP4593483B2 (en) 2006-01-19 2006-01-19 Sensor device support system and sensor device support method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006011513A JP4593483B2 (en) 2006-01-19 2006-01-19 Sensor device support system and sensor device support method

Publications (2)

Publication Number Publication Date
JP2007194942A JP2007194942A (en) 2007-08-02
JP4593483B2 true JP4593483B2 (en) 2010-12-08

Family

ID=38450277

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006011513A Expired - Fee Related JP4593483B2 (en) 2006-01-19 2006-01-19 Sensor device support system and sensor device support method

Country Status (1)

Country Link
JP (1) JP4593483B2 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
ATE469500T1 (en) * 2008-03-20 2010-06-15 Alcatel Lucent METHOD FOR TRANSMITTING DATA FROM A SENSOR OVER A COMPUTER NETWORK, CORRESPONDING DEVICE AND COMPUTER PROGRAM THEREFOR
JP5560478B2 (en) * 2009-01-14 2014-07-30 独立行政法人情報通信研究機構 Sensor information system for mobile devices
JP5233770B2 (en) * 2009-03-18 2013-07-10 沖電気工業株式会社 GATEWAY DEVICE, ITS CONTROL METHOD, SYSTEM, PROGRAM FOR EXECUTING CONTROL METHOD, AND RECORDING MEDIUM CONTAINING THE PROGRAM
WO2011116591A1 (en) * 2010-03-25 2011-09-29 中兴通讯股份有限公司 Method and system for managing wireless sensor nodes
JP5737075B2 (en) * 2011-08-29 2015-06-17 富士通株式会社 Event collection method and information processing apparatus
JP6750260B2 (en) * 2016-03-15 2020-09-02 オムロン株式会社 Information processing device and agent system
JP6794273B2 (en) * 2017-01-17 2020-12-02 株式会社日立製作所 Data provision system and data provision method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000270384A (en) * 1999-03-12 2000-09-29 Omron Corp Sensor, controller and sensor system
JP2002297397A (en) * 2001-03-29 2002-10-11 Sanyo Electric Co Ltd Information processor, computer program and recording medium
JP2003141662A (en) * 2001-11-02 2003-05-16 Omron Corp Sensor controller, sensor network system, program for processing information, and computer-readable recording medium recorded with the program
JP2004362267A (en) * 2003-06-04 2004-12-24 Ntt Docomo Inc Mobile body, proxy device, and sensor information communication method
WO2005104484A1 (en) * 2004-04-20 2005-11-03 Matsushita Electric Industrial Co., Ltd. Communication network system and communication apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000270384A (en) * 1999-03-12 2000-09-29 Omron Corp Sensor, controller and sensor system
JP2002297397A (en) * 2001-03-29 2002-10-11 Sanyo Electric Co Ltd Information processor, computer program and recording medium
JP2003141662A (en) * 2001-11-02 2003-05-16 Omron Corp Sensor controller, sensor network system, program for processing information, and computer-readable recording medium recorded with the program
JP2004362267A (en) * 2003-06-04 2004-12-24 Ntt Docomo Inc Mobile body, proxy device, and sensor information communication method
WO2005104484A1 (en) * 2004-04-20 2005-11-03 Matsushita Electric Industrial Co., Ltd. Communication network system and communication apparatus

Also Published As

Publication number Publication date
JP2007194942A (en) 2007-08-02

Similar Documents

Publication Publication Date Title
JP4593483B2 (en) Sensor device support system and sensor device support method
JP4870943B2 (en) Mobile terminal, context management server, application registration server, and application execution method
JP2008131594A (en) Application control system and method
JP2012068874A5 (en)
US20150156344A1 (en) Image processing system including image processing device and information processing device which communicate with each other
JP6386254B2 (en) Search support program, search support system, and search support method
JP5541085B2 (en) Animal monitoring support device, animal monitoring support method, monitoring support server, monitoring support terminal, program
JP5471178B2 (en) Cache control device, cache control system, cache control method, and cache control program
US20090170546A1 (en) Wireless communication system, communication terminal and computer-readable storage medium storing wireless communication control program
US20200294329A1 (en) Data collecting device, data collecting system, data collecting method, and on-vehicle device
JP2003140902A (en) Host device, client device, home network system, and software updating method of client device
WO2010062114A3 (en) Device and method for sensor node management based on metadata
KR101005302B1 (en) Method of admistrating sensor networks in Ubiquitous Sensor Network Infrastructure and system using it
US10735832B2 (en) Method, apparatus, and system for data collection
JP2019168993A (en) Data structure, information processing device, control method, program, and storage medium
KR20100072978A (en) System and method for remotely managing software of sensor node in sensor network
US7839528B2 (en) Information acquiring method, information appending apparatus, information acquiring apparatus, and program
JP5217986B2 (en) Gateway device
JP2001092641A (en) Software install system
JP6376159B2 (en) Data flow control device and data flow control method
JP2007036402A (en) Method and station of radio signal relay
JP4862346B2 (en) Download system and program
JP6858411B2 (en) Relay device, control method and program of relay device
JP6649015B2 (en) Communication method and communication device
JP5965852B2 (en) Data communication system, node device, data communication method, request processing method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20081002

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100618

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100629

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100827

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100915

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130924

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4593483

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees