JP2014138245A - Communication device autonomously controlling network management method, communication method, and communication system - Google Patents

Communication device autonomously controlling network management method, communication method, and communication system Download PDF

Info

Publication number
JP2014138245A
JP2014138245A JP2013005362A JP2013005362A JP2014138245A JP 2014138245 A JP2014138245 A JP 2014138245A JP 2013005362 A JP2013005362 A JP 2013005362A JP 2013005362 A JP2013005362 A JP 2013005362A JP 2014138245 A JP2014138245 A JP 2014138245A
Authority
JP
Japan
Prior art keywords
response
management
management information
request message
sensor device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2013005362A
Other languages
Japanese (ja)
Other versions
JP6197293B2 (en
Inventor
Takaaki Suzuki
孝明 鈴木
Takahiro Kakumaru
貴洋 角丸
Ichiro Yamaguchi
一郎 山口
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.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP2013005362A priority Critical patent/JP6197293B2/en
Publication of JP2014138245A publication Critical patent/JP2014138245A/en
Application granted granted Critical
Publication of JP6197293B2 publication Critical patent/JP6197293B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

PROBLEM TO BE SOLVED: To provide a communication device in which power consumption related to device management can be suppressed autonomously, and to provide a communication method, and a communication system.SOLUTION: A managed device comprises: a management information request message reception unit 110 for receiving a request message of management information; and a management information message transmission unit 150 for transmitting a management information response message including the management information to a part of the management information request message received by the management information request message reception unit 110. A management device comprises: an autonomous response method determination unit 228 for autonomously determining the transmission conditions of the management information response message of the managed device; a management information request message generation unit 225 for generating and transmitting a management information request message including the determination content; and a management information request message transmission unit 230.

Description

本発明に係るいくつかの態様は、通信装置、通信方法、及び通信システムに関する。   Some embodiments according to the present invention relate to a communication device, a communication method, and a communication system.

近年、例えばスマートグリッドやM2M(Machine to Machine)ネットワーク、ホームネットワーク、オフィスネットワーク等の通信ネットワークシステムが広く普及しつつある。例えば特許文献1には、ネットワークに接続される通信アダプタ装置等が開示されている。   In recent years, for example, communication network systems such as smart grids, M2M (Machine to Machine) networks, home networks, and office networks are becoming widespread. For example, Patent Literature 1 discloses a communication adapter device connected to a network.

通信ネットワークシステムは、例えば、サーバ又はPC(Personal Computer)などのコンピュータと、センサデバイスやアクチュエータデバイス(ここでは、センサデバイスを例に以下説明する)等のデバイスと、両者の通信を中継するゲートウェイ(例えば、HGW:Home Gate Way、BGW:Building Gate Way等がある)とを備えて構成される。このような通信ネットワークでは、例えば、サーバが、ゲートウェイを中継して、センサデバイス等から管理情報を取得するためのメッセージを定期的に送信することで、サーバは、各センサデバイスの状況を把握することができるようになる。   The communication network system includes, for example, a computer such as a server or a PC (Personal Computer), a device such as a sensor device or an actuator device (herein, the sensor device will be described below as an example), and a gateway that relays communication between the two ( For example, HGW: Home Gate Way, BGW: Building Gate Way, etc.) are included. In such a communication network, for example, the server relays a gateway and periodically transmits a message for acquiring management information from the sensor device or the like, so that the server grasps the status of each sensor device. Will be able to.

国際公開第2004/032425号International Publication No. 2004/032425

一方、センサデバイス等の管理対象の装置(デバイス)の中には、バッテリ駆動のものがあり、長時間安定的にシステムを運用するためには、管理対象の装置の電力消費をできるだけ抑えることが必要となる。   On the other hand, some devices (devices) to be managed, such as sensor devices, are battery-driven, and in order to operate the system stably for a long time, the power consumption of the devices to be managed can be suppressed as much as possible. Necessary.

しかしながら、サーバから定期的に送信される管理情報の要求メッセージに対して、センサデバイスが応答メッセージを送信すると、当該通信にかかる電力消費により、管理対象であるセンサデバイスの駆動時間を縮めることとなってしまうという課題がある。一方で、管理情報の通信を十分に行わないと、通信ネットワークの運用に必要な管理情報がサーバ側に十分に送信されず、サーバ側で保持している管理情報の精度が低下する課題がある。従って、管理対象の装置の電力消費の低減と管理情報の精度の向上との間には、トレードオフの関係がある。   However, when the sensor device transmits a response message to the management information request message periodically transmitted from the server, the drive time of the sensor device to be managed is shortened due to the power consumption of the communication. There is a problem that it ends up. On the other hand, if the management information is not sufficiently communicated, management information necessary for the operation of the communication network is not sufficiently transmitted to the server side, and there is a problem that the accuracy of the management information held on the server side is lowered. . Therefore, there is a trade-off between reducing the power consumption of the managed device and improving the accuracy of management information.

ここで、例えば特許文献1には、機器アクセスを許可したり禁止したりできるようにする手法が開示されている(例えば、13頁42行目乃至14頁33行目)。しかしながら、これは通信アダプタ装置への不用意な操作を禁止することのみを目的とするものであり、消費電力の消費の抑制については何ら考慮されていない。   Here, for example, Patent Document 1 discloses a technique for permitting or prohibiting device access (for example, page 13, line 42 to page 14, line 33). However, this is intended only to prohibit inadvertent operations on the communication adapter device, and no consideration is given to the suppression of power consumption.

本発明のいくつかの態様は前述の課題に鑑みてなされたものである。本発明の目的の1つは、センサデバイスの状態などを基に、電力消費と管理情報精度のトレードオフを考慮した効率的なデバイス管理方法を自律的に制御し、デバイス管理に係る電力消費を抑えることのできる通信装置、通信方法、及び通信システムを提供することである。   Some aspects of the present invention have been made in view of the above-described problems. One of the objects of the present invention is to autonomously control an efficient device management method considering the trade-off between power consumption and management information accuracy based on the state of the sensor device, etc., and to reduce the power consumption related to device management. It is to provide a communication device, a communication method, and a communication system that can be suppressed.

本発明に係る通信装置は、他の通信装置に対して、管理情報の要求メッセージを送信する送信手段と、前記要求メッセージに対する応答メッセージにより前記他の通信装置の管理情報を受信する受信手段と、前記受信した前記他の通信装置の管理情報を用いて、前記他の通信装置が前記要求メッセージに応答するか否かを定める応答条件を決定する応答条件決定手段と、前記決定した応答条件を含めて、前記決定後に所定のタイミングで前記送信手段により送信される前記要求メッセージを作成するメッセージ作成手段とを備えることを特徴とする。   The communication apparatus according to the present invention, a transmission means for transmitting a management information request message to another communication apparatus, a reception means for receiving the management information of the other communication apparatus by a response message to the request message, A response condition determining means for determining a response condition for determining whether or not the other communication device responds to the request message using the received management information of the other communication device; and including the determined response condition And message creating means for creating the request message transmitted by the transmitting means at a predetermined timing after the determination.

本発明に係る通信方法は、通信装置において実施される通信方法であって、他の通信装置に対して、管理情報の要求メッセージを送信する送信ステップと、前記要求メッセージに対する応答メッセージにより前記他の通信装置の管理情報を受信する受信ステップと、前記受信した前記他の通信装置の管理情報を用いて、前記他の通信装置が前記要求メッセージに応答するか否かを定める応答条件を決定する応答条件決定ステップと、前記決定した応答条件を含めて、前記決定後に所定のタイミングで送信される前記要求メッセージを作成するメッセージ作成ステップとを備えることを特徴とする。   A communication method according to the present invention is a communication method implemented in a communication device, wherein a transmission step of transmitting a management information request message to another communication device, and a response message to the request message, A reception step of receiving management information of the communication device and a response for determining a response condition for determining whether or not the other communication device responds to the request message using the received management information of the other communication device The method includes a condition determining step and a message creating step of creating the request message transmitted at a predetermined timing after the determination including the determined response condition.

本発明に係る通信システムは、第1の通信装置と第2の通信装置とが通信する通信システムであって、前記第1の通信装置は、前記第2の通信装置に対して、管理情報の要求メッセージを送信する手段と、前記要求メッセージに対する応答メッセージにより前記第2の通信装置の管理情報を受信する手段と、前記受信した前記第2の通信装置の管理情報を用いて、前記第2の通信装置が前記要求メッセージに応答するか否かを定める応答条件を決定する手段と、前記決定した応答条件を含めて、前記決定後に所定のタイミングで前記送信手段により送信される前記要求メッセージを作成する手段とを備え、前記第2の通信装置は、前記第1の通信装置から管理情報の要求メッセージを受信する手段と、前記受信した要求メッセージに前記応答条件が含まれる場合に、当該応答条件に基づいて、前記受信した要求メッセージに対する応答として、管理情報を含めたメッセージを送信する手段とを備えたことを特徴とする。   A communication system according to the present invention is a communication system in which a first communication device and a second communication device communicate with each other, and the first communication device transmits management information to the second communication device. Means for transmitting a request message, means for receiving management information of the second communication device by a response message to the request message, and using the received management information of the second communication device, Means for determining a response condition for determining whether or not the communication apparatus responds to the request message; and creating the request message transmitted by the transmitting means at a predetermined timing after the determination, including the determined response condition Means for receiving the management information request message from the first communication device, and the response to the received request message. When the matter is included, on the basis of the response condition, as a response to the request message thus received, and further comprising a means for transmitting a message including the management information.

尚、本発明において、「部」や「手段」とは、単に物理的手段を意味するものではなく、その「部」や「手段」が有する機能をソフトウェアによって実現する場合も含む。また、1つの「部」や「手段」が有する機能が2つ以上の物理的手段や装置により実現されても、2つ以上の「部」や「手段」の機能が1つの物理的手段や装置により実現されても良い。   In the present invention, “unit” and “means” do not simply mean physical means, but also include cases where the functions of the “part” and “means” are realized by software. In addition, even if the function of one “unit” or “means” is realized by two or more physical means or devices, the function of two or more “units” or “means” can be one physical means or It may be realized by an apparatus.

本発明によれば、自律的にデバイス管理に係る電力消費を抑えることのできる通信装置、通信方法、及び通信システムを提供することができる。   According to the present invention, it is possible to provide a communication apparatus, a communication method, and a communication system that can autonomously suppress power consumption related to device management.

本発明の実施形態1における通信システムの概略構成及び動作の具体例を説明するための図である。It is a figure for demonstrating the specific example of schematic structure and operation | movement of a communication system in Embodiment 1 of this invention. 本発明の実施形態1におけるセンサデバイスの機能構成を示すための図である。It is a figure for showing the functional composition of the sensor device in Embodiment 1 of the present invention. 本発明の実施形態1におけるゲートウェイの機能構成を示すための図である。It is a figure for showing the functional composition of the gateway in Embodiment 1 of the present invention. 図1に示した通信システムで送受信される管理情報要求メッセージのフォーマット例を説明するための図である。It is a figure for demonstrating the example of a format of the management information request message transmitted / received by the communication system shown in FIG. 図1に示した通信システムで送受信される管理情報応答メッセージのフォーマット例を説明するための図である。It is a figure for demonstrating the example of a format of the management information response message transmitted / received by the communication system shown in FIG. 図3に示したゲートウェイの管理状態情報の具体例を示す図である。It is a figure which shows the specific example of the management status information of the gateway shown in FIG. 図2に示したセンサデバイスの処理の流れを説明するためのフローチャートである。It is a flowchart for demonstrating the flow of a process of the sensor device shown in FIG. 図3に示したゲートウェイの処理の流れを説明するためのフローチャートである。It is a flowchart for demonstrating the flow of a process of the gateway shown in FIG. 本発明の実施形態2における通信システムの概略構成及び動作の具体例を説明するための図である。It is a figure for demonstrating the specific example of schematic structure and operation | movement of the communication system in Embodiment 2 of this invention. 本発明の実施形態2におけるセンサデバイスの機能構成を示すための図である。It is a figure for showing the functional composition of the sensor device in Embodiment 2 of the present invention. 図10に示したセンサデバイスの処理の流れを説明するためのフローチャートである。It is a flowchart for demonstrating the flow of a process of the sensor device shown in FIG. 本発明の実施形態3におけるゲートウェイの機能構成を示すための図である。It is a figure for demonstrating the function structure of the gateway in Embodiment 3 of this invention. 図12に示したゲートウェイの処理の流れを説明するためのフローチャートである。It is a flowchart for demonstrating the flow of a process of the gateway shown in FIG. 本発明の実施形態4におけるゲートウェイの機能構成を示すための図である。It is a figure for demonstrating the function structure of the gateway in Embodiment 4 of this invention. 図12に示したゲートウェイの処理の流れを説明するためのフローチャートである。It is a flowchart for demonstrating the flow of a process of the gateway shown in FIG. 本発明の実施形態3におけるゲートウェイの機能構成を示すための図である。It is a figure for demonstrating the function structure of the gateway in Embodiment 3 of this invention.

以下に本発明の実施形態を説明する。以下の説明及び参照する図面の記載において、同一又は類似の構成には、それぞれ同一又は類似の符号が付されている。   Embodiments of the present invention will be described below. In the following description and the description of the drawings to be referred to, the same or similar components are denoted by the same or similar reference numerals.

(1 前提)
「2」以降で説明する実施形態に共通の前提等について述べる。
以下の実施形態は、互いに通信可能なセンサネットワーク(通信には、例えばZigBeeや、Z−Wave、WiFi等の通信方式を用いることが可能である。しかし、これらの無線通信方式に限られるものではない。)を構成するセンサデバイスやアクチュエータデバイス(環境を変化させる動作を行う装置)等と、これらのセンサネットワーク内のデバイスと、センサネットワーク外の装置であるサーバやPC(Personal Computer)等との通信を中継処理するゲートウェイ(HGW:Home Gate Way、BGW:Building Gate Way等)とを含む通信ネットワークシステムに関する。そして、実施形態1及び実施形態2では、このような通信ネットワークシステムにおいて、例えばサーバがセンサデバイスを遠隔管理するために管理情報を取得する際に消費する電力の低減を図ることができる。また実施形態3では、管理情報の精度を保ちつつもセンサデバイスの遠隔管理において消費する電力の低減を図ることができる。
(1 assumption)
The premise common to the embodiments described in “2” and after will be described.
In the following embodiments, sensor networks that can communicate with each other (communication methods such as ZigBee, Z-Wave, WiFi, etc. can be used for communication. However, the present invention is not limited to these wireless communication methods. Sensor devices and actuator devices (devices that change the environment), etc., and devices in these sensor networks, and servers and PCs (Personal Computers) that are devices outside the sensor network The present invention relates to a communication network system including a gateway (HGW: Home Gate Way, BGW: Building Gate Way, etc.) that relays communication. In the first and second embodiments, in such a communication network system, for example, the power consumed when the server acquires management information for remotely managing the sensor device can be reduced. In the third embodiment, it is possible to reduce power consumed in remote management of the sensor device while maintaining the accuracy of the management information.

近年、スマートグリッドやM2M(Machine to Machine)ネットワーク、ホームネットワーク、オフィスネットワーク等の通信ネットワークシステムの分野において、センサデバイスやアクチュエータデバイス等に対して注目が集まっている。M2Mネットワークでは、オフィス、工場、家庭、自動車等のローカルエリアで刻々と変化する多量の環境情報(例えば、電力情報、温度情報、振動情報、音情報、放射線量等)を取得する為に、センサデバイスや環境情報測定装置が用いられることが多い。   In recent years, attention has been focused on sensor devices and actuator devices in the field of communication network systems such as smart grids, M2M (Machine to Machine) networks, home networks, and office networks. In the M2M network, sensors are used to acquire a large amount of environmental information (for example, power information, temperature information, vibration information, sound information, radiation dose, etc.) that changes every moment in local areas such as offices, factories, homes, and automobiles. Devices and environmental information measuring devices are often used.

これらセンサデバイスから得られた情報は、各ローカルエリア内に設置されるサーバ等の情報処理装置で扱われる他、インターネット網や3G(3rd Generation)網(あるいはLTE(Long Term Evolution)網も考えられる)、WiMAX(Worldwide Interoperability for Microwave Access)網、PHS(Personal Handy−phone System)網、PLC(Power Line Communication)通信網等を介して外部のサーバにおいて処理されることがある。   Information obtained from these sensor devices is handled by an information processing apparatus such as a server installed in each local area, and an Internet network or a 3G (3rd Generation) network (or an LTE (Long Term Evolution) network is also conceivable. ), WiMAX (World Wide Interoperability for Microwave Access) network, PHS (Personal Handy-phone System) network, PLC (Power Line Communication) communication network, etc.

例えば、各家庭にて得られた消費電力情報が、各家庭が備える情報処理装置で保存及び処理される他、電力供給を行う発電会社、送電会社、及び配電会社等が有するサーバにも送信され、サーバ内のアプリケーションで統合的に情報が処理されることが考えられる。   For example, power consumption information obtained at each home is stored and processed by an information processing device provided at each home, and is also transmitted to a server owned by a power generation company, a power transmission company, a power distribution company, etc. It is conceivable that information is processed in an integrated manner by an application in the server.

また、各ローカルエリアに設置されたアクチュエータデバイスも同様に、各ローカルエリアの情報処理装置で動作制御される他、インターネット網等を介して外部のサーバから制御される可能性もある。   Similarly, actuator devices installed in each local area may be controlled by an information processing apparatus in each local area, or may be controlled from an external server via the Internet network or the like.

特に、スマートグリッド分野では、電力スマートメータ、ガススマートメータ、及び水道スマートメータ等による自動検針や関連装置の遠隔制御や自動制御、その他の付加サービスが考えられており、これらのスマートメータがセンサデバイス及びアクチュエータデバイスとなり得る。以下、センサネットワークを構築するセンサデバイス及びアクチュエータデバイスを総称して「センサデバイス」と呼ぶことがある。   In particular, in the smart grid field, automatic meter reading using power smart meters, gas smart meters, and water smart meters, remote control and automatic control of related devices, and other additional services are considered. These smart meters are sensor devices. And an actuator device. Hereinafter, sensor devices and actuator devices that construct a sensor network may be collectively referred to as “sensor devices”.

センサネットワークを用いたサービス提供を継続的に維持するには、センサデバイスの状態を継続的に管理する必要がある。なぜなら、センサデバイスの故障や不具合、整備不良はセンサデバイスを用いたサービスの障害となり得るからである。   In order to continuously maintain the service provision using the sensor network, it is necessary to continuously manage the state of the sensor device. This is because a failure, malfunction, or poor maintenance of a sensor device can be an obstacle to service using the sensor device.

しかしながら、センサデバイスを設置(配置)するエンドユーザ(多くの場合は、一般のコンシューマがエンドユーザに相当する)が、これらのセンサデバイスの管理に関する知識を持ち合わせていることは稀であり、また、このような知識を身につけるのも困難である。よって、センサデバイスの管理は、センサデバイスの管理知識を持つ専門業者などが、サーバ等から、センサデバイスを遠隔管理するのが好ましい。また、センサデバイスの遠隔管理には、標準的な技術を用いるのが好ましい。なぜならば、標準技術を用いることで、遠隔管理に関する汎用性を確保し、結果として様々なコストの節減を図ることができるためである。   However, end users who install (place) sensor devices (in many cases, a general consumer corresponds to an end user) rarely have knowledge about managing these sensor devices, and It is also difficult to acquire such knowledge. Therefore, for sensor device management, it is preferable that a specialist or the like who has sensor device management knowledge remotely manages the sensor device from a server or the like. In addition, it is preferable to use a standard technique for remote management of the sensor device. This is because the use of standard technology ensures versatility related to remote management, resulting in various cost savings.

ここで、標準的な遠隔管理に用いられる通信方式として、ブロードバンドルータ、STB(Set Top Box)、3G通信装置等を管理対象とするTR−069(Technical Report 069)やOMA−DM(Open Mobile Alliance−Device Management)等の標準化された方式がある。これらの通信方式を用いた遠隔管理方式では、サーバが管理対象の装置と個々に通信し、サーバ側から、装置情報(管理情報)の入手や管理/制御に関する指示等を行うことにより、サーバで各端末を管理することができる。   Here, as a communication method used for standard remote management, TR-069 (Technical Report 069) or OMA-DM (Open Mobile Alliance) that manages broadband routers, STB (Set Top Box), 3G communication devices, and the like. -There is a standardized method such as Device Management. In the remote management method using these communication methods, the server communicates with each device to be managed, and the server side obtains device information (management information) and gives instructions on management / control, etc. Each terminal can be managed.

(1.1 考えうるセンサデバイスの遠隔管理に係る実施形態)
従って、このような遠隔管理方式を用いてセンサデバイスを遠隔管理する場合、以下のような形態となることが考えられる。
(1.1 Embodiments concerning remote management of possible sensor devices)
Therefore, when the sensor device is remotely managed using such a remote management method, the following forms may be considered.

まず、遠隔管理サーバ(TR−069サーバやOMA−DMサーバ等が該当し得る)が、ゲートウェイを中継して、センサネットワークを構成する1台以上のセンサデバイスを管理する通信システムのモデルを考える。ここで、遠隔管理サーバ及びゲートウェイは、定期的な間隔で各センサデバイスとユニキャスト通信することにより、遠隔管理を行う。これにより、遠隔管理サーバは、センサデバイスの状態を常時把握することが可能となる。   First, consider a communication system model in which a remote management server (which may be a TR-069 server or an OMA-DM server) relays a gateway and manages one or more sensor devices constituting a sensor network. Here, the remote management server and the gateway perform remote management by performing unicast communication with each sensor device at regular intervals. Thereby, the remote management server can always grasp the state of the sensor device.

また、遠隔管理サーバが管理するセンサデバイスのパラメータとしては、例えば、製造ベンダ情報(ベンダ名、ベンダコード)、デバイスモデル名、製造番号、利用している電源の種別情報、電力残量情報(バッテリ残量情報)、ネットワークアドレス、MACアドレス、ルーティング情報、隣接リンク品質情報、保持するソフトウェアモジュール情報等が考えられる。   The sensor device parameters managed by the remote management server include, for example, manufacturing vendor information (vendor name, vendor code), device model name, serial number, type information of the power source used, remaining power information (battery Remaining information), network address, MAC address, routing information, adjacent link quality information, retained software module information, and the like.

尚ここで、遠隔管理サーバとセンサデバイスとの間をゲートウェイが中継するのは、遠隔管理サーバとゲートウェイとの間の通信、及びゲートウェイとセンサデバイスとの間の通信とで、用いられる通信プロトコル及び通信方式が異なるためである。   Here, the gateway relays between the remote management server and the sensor device because the communication protocol used in the communication between the remote management server and the gateway and the communication between the gateway and the sensor device and This is because the communication method is different.

ゲートウェイとセンサデバイスとの間の通信は、無線センサネットワーク上のマルチホップ通信により実現される。また、遠隔管理サーバの機能の全て或いは一部が従来のゲートウェイに備わることで、遠隔管理サーバが存在しない通信システムを考えることも可能である。   Communication between the gateway and the sensor device is realized by multi-hop communication on the wireless sensor network. It is also possible to consider a communication system in which no remote management server exists by providing all or part of the functions of the remote management server in a conventional gateway.

以下、ここで述べる通信システムでの遠隔管理方法を具体的に説明する。
遠隔管理サーバは、管理要求メッセージ(以下、「管理リクエスト」ともいう。)をゲートウェイへ送信する。管理要求メッセージを受信したゲートウェイは、管理要求メッセージを元に作成した管理情報要求メッセージを、管理対象のセンサデバイスへ送信する。センサデバイスは、自装置の状態情報(管理情報)を含む管理情報応答メッセージを作成し、ゲートウェイへ送信する。ゲートウェイは、受信した管理情報応答メッセージを元に管理応答メッセージ(以下「応答情報」ともいう。)を作成し、遠隔管理サーバへと送信する。
Hereinafter, the remote management method in the communication system described here will be specifically described.
The remote management server transmits a management request message (hereinafter also referred to as “management request”) to the gateway. The gateway that has received the management request message transmits a management information request message created based on the management request message to the sensor device to be managed. The sensor device creates a management information response message including the status information (management information) of its own device, and transmits it to the gateway. The gateway creates a management response message (hereinafter also referred to as “response information”) based on the received management information response message, and transmits the management response message to the remote management server.

ここで、上述の通り、通常、ゲートウェイとセンサデバイスとの間では、管理情報要求メッセージ及び管理情報応答メッセージが、いずれもユニキャスト通信により送受信される。尚、管理情報の要求にかかるメッセージ伝播の効率化等を考慮し、管理情報要求メッセージがブロードキャスト又はマルチキャストにより送信されることもあり得る。例えば、全センサデバイスの状態管理を行うセンサデバイスの定期管理では、管理情報要求メッセージはブロードキャスト通信を用いるのが効率的である。   Here, as described above, normally, both the management information request message and the management information response message are transmitted and received by unicast communication between the gateway and the sensor device. Note that the management information request message may be transmitted by broadcast or multicast in consideration of efficiency of message propagation related to the management information request. For example, in periodic management of sensor devices for managing the status of all sensor devices, it is efficient to use broadcast communication for the management information request message.

スマートグリッドやM2Mネットワークの分野でセンサデバイスを用いたサービスを継続的に維持するには、センサデバイスの遠隔管理だけでなく、省電力化も求められる。なぜならば、一般的に、無線通信を行うセンサデバイスはバッテリ駆動により動作するものが多いため、センサデバイスの電力消費をできるだけ抑制しなければ、これらのセンサデバイスから構築されるセンサネットワークを長時間駆動させることができないからである。   In order to continuously maintain services using sensor devices in the field of smart grids and M2M networks, not only remote management of sensor devices but also power saving is required. Because, in general, many sensor devices that perform wireless communication operate by battery drive, if the power consumption of the sensor devices is not suppressed as much as possible, the sensor network constructed from these sensor devices is driven for a long time. It is because it cannot be made to do.

一方、センサデバイスの遠隔管理の際には、上述の通り定期的に管理情報要求メッセージ及びそれに対する管理情報応答メッセージの送受信が発生するため、この送受信を頻繁に行うと、過大な電力消費が発生し、センサネットワークの駆動時間を縮めかねない。特に、センサデバイスは、通信に関する電力の多くを通信に係る無線通信モジュールで消費するので、この送受信にかかる電力消費の発生は大きな課題となり得る。   On the other hand, during remote management of the sensor device, since the management information request message and the management information response message are periodically transmitted and received as described above, excessive power consumption occurs when this transmission and reception is frequently performed. However, the driving time of the sensor network may be shortened. In particular, since the sensor device consumes much of the power related to communication with the wireless communication module related to communication, the generation of power consumption related to transmission / reception can be a big problem.

よって、センサデバイスの遠隔管理を実現しつつも、センサデバイスの消費電力の抑制を図らなければならない。つまり、センサデバイスの遠隔管理に係る通信の通信トラヒックの抑制(低減)が必要である。ただし、むやみにセンサデバイスの遠隔管理に係る通信の通信トラヒックを抑制すると、センサデバイスの管理情報が不足して管理情報精度が低下するため、管理通信トラヒックの抑制は、ゲートウェイおよび遠隔管理サーバの管理情報の精度を考慮して行う必要がある。以下述べる実施形態は、この、遠隔管理に係る通信トラヒックの抑制を主たる目的の1つとしている。   Therefore, it is necessary to suppress power consumption of the sensor device while realizing remote management of the sensor device. That is, it is necessary to suppress (reduce) communication traffic of communication related to remote management of the sensor device. However, if communication traffic for communications related to remote management of sensor devices is suppressed, management information for sensor devices is insufficient and the accuracy of management information decreases. It is necessary to consider the accuracy of information. The embodiment described below has one of the main purposes to suppress communication traffic related to remote management.

(2 実施形態1)
図1乃至図9は、本発明の実施形態を説明するための図である。以下、これらの図を参照しながら、以下の流れに沿って本実施形態を説明する。まず、「2.1」で実施形態1全体の概要を示す。その上で、「2.2」で各装置の構成を、「2.3」で管理情報要求メッセージ及び管理情報応答メッセージの構成を、「2.4」では、装置管理に関する管理状態情報の構成を、それぞれ説明する。「2.5」では、処理の流れを説明する。最後に、「2.6」以降で、実施形態1に係る効果等を説明する。
(2 Embodiment 1)
1 to 9 are diagrams for explaining an embodiment of the present invention. Hereinafter, the present embodiment will be described along the following flow with reference to these drawings. First, “2.1” shows an overview of the first embodiment. Then, “2.2” is the configuration of each device, “2.3” is the configuration of the management information request message and management information response message, and “2.4” is the configuration of the management status information related to device management. Each will be described. “2.5” describes the flow of processing. Finally, the effects and the like according to the first embodiment will be described after “2.6”.

(2.1 概要)
図1は、実施形態1に係る通信装置の具体例であるセンサデバイス及びゲートウェイを含む通信システムの概略構成を示している。図1に示すように、通信システム1は、センサデバイス100(個別のセンサデバイス100A乃至センサデバイス100Fに着目しない場合には、「センサデバイス100」として説明する。)、ゲートウェイ200、及び遠隔管理サーバ300を含んでいる。
(2.1 Overview)
FIG. 1 shows a schematic configuration of a communication system including a sensor device and a gateway, which is a specific example of the communication apparatus according to the first embodiment. As shown in FIG. 1, the communication system 1 includes a sensor device 100 (in the case where attention is not paid to the individual sensor devices 100A to 100F, it will be described as “sensor device 100”), a gateway 200, and a remote management server. 300 is included.

センサデバイス100は、例えば、電力情報、温度情報、振動情報、音情報、放射線量等を含む環境情報を検出する装置であるセンサデバイス、又は環境を変化させる動作を行う装置であるアクチュエータデバイスであることが考えられる。センサデバイス100A乃至100Fは、センサネットワークN1を構成している。   The sensor device 100 is, for example, a sensor device that is an apparatus that detects environmental information including power information, temperature information, vibration information, sound information, radiation dose, or the like, or an actuator device that is an apparatus that changes the environment. It is possible. The sensor devices 100A to 100F constitute a sensor network N1.

ゲートウェイ200は、直接的又は間接的にセンサデバイス100と通信すると共に、インターネット網N2を介して遠隔管理サーバ300に接続される。尚、本実施形態では、ゲートウェイ200と遠隔管理サーバ300との間をインターネット網N2により接続される例に説明するが、接続方法はこれに限られるものではない。   The gateway 200 communicates with the sensor device 100 directly or indirectly and is connected to the remote management server 300 via the Internet network N2. In this embodiment, an example in which the gateway 200 and the remote management server 300 are connected by the Internet network N2 will be described, but the connection method is not limited to this.

遠隔管理サーバ300は、例えばサーバやPCなどであり、ゲートウェイ200を介してセンサデバイス100と遠隔管理通信することで、センサネットワークN1及びセンサデバイス100を遠隔的に管理することができる。   The remote management server 300 is, for example, a server or a PC, and can remotely manage the sensor network N1 and the sensor device 100 by performing remote management communication with the sensor device 100 via the gateway 200.

尚、実施形態1及び実施形態2を通じて、遠隔管理サーバ300とゲートウェイ200とを別装置として説明しているが、これに限られるものではない。例えば、遠隔管理サーバ300の機能の全て又は一部をゲートウェイ200が備えることで、遠隔管理サーバ300を含まないように通信システム1を構成することもできる。   Although the remote management server 300 and the gateway 200 are described as separate devices through the first and second embodiments, the present invention is not limited to this. For example, the communication system 1 can be configured not to include the remote management server 300 by providing the gateway 200 with all or part of the functions of the remote management server 300.

以下、センサデバイス100及びゲートウェイ200間において、管理情報要求メッセージ400及び管理情報応答メッセージ500が送受信されることで行われる遠隔管理に係る処理を、図1を参照しながら説明する。   Hereinafter, processing related to remote management performed by transmitting and receiving the management information request message 400 and the management information response message 500 between the sensor device 100 and the gateway 200 will be described with reference to FIG.

ゲートウェイ200は、遠隔管理サーバ300から、遠隔管理の指示(遠隔管理メッセージ/管理リクエスト)を受信すると、センサデバイス100の遠隔管理通信を開始する。この通信において、ゲートウェイ200は、各センサデバイス100A乃至100Fに対してブロードキャストにより管理情報要求メッセージ400を送信する。   Upon receiving a remote management instruction (remote management message / management request) from the remote management server 300, the gateway 200 starts remote management communication of the sensor device 100. In this communication, the gateway 200 transmits a management information request message 400 by broadcasting to the sensor devices 100A to 100F.

尚、図1の例では、管理情報要求メッセージ400の伝播にブロードキャスト通信が用いられているが、これに限られるものではない。例えば、ユニキャスト通信やマルチキャスト通信を用いることも可能である。しかしながら、管理情報要求メッセージを各センサデバイスにユニキャスト通信で送信するよりも、ブロードキャスト通信で一斉送信した方が、メッセージの伝播効率がよく、一般的には電力消費を抑制できる。   In the example of FIG. 1, broadcast communication is used for propagation of the management information request message 400, but the present invention is not limited to this. For example, it is possible to use unicast communication or multicast communication. However, it is more efficient to transmit the management information request message to the sensor devices by unicast communication than the unicast communication, so that the message propagation efficiency is higher and power consumption can be generally suppressed.

実施形態1では、センサデバイス100は、ゲートウェイ200から送信された管理情報要求メッセージ400を受信した際に、管理情報要求メッセージ400に含まれる応答方法の指示を参照し、今回又は以前に受信した応答方法の指示に基づき、管理情報応答メッセージ500を作成し、ゲートウェイ200へと返信する。また、センサデバイス100は、この管理情報要求メッセージ400に含まれた応答方法を保持し続けるので、それ以降の管理情報要求メッセージ400に対しても、当該応答方法に従って処理する(管理情報応答メッセージ500の作成及び応答をする、またはしない)ことが可能となる。   In the first embodiment, when the sensor device 100 receives the management information request message 400 transmitted from the gateway 200, the sensor device 100 refers to the response method instruction included in the management information request message 400, and receives the response received this time or before. Based on the instruction of the method, the management information response message 500 is created and returned to the gateway 200. Since the sensor device 100 continues to hold the response method included in the management information request message 400, the subsequent management information request message 400 is processed according to the response method (the management information response message 500). Can be created and responded).

図1に例を示す管理情報要求メッセージ400には、宛先としてブロードキャストアドレスである「0xFFFF」が、送信元としてゲートウェイ200のアドレスである「0x1234」が、管理命令として各センサデバイス100にパラメータのインスタンスの応答を指示する「パラメータ取得」が、命令対象のパラメータとして「電力残量情報」が、それぞれ指定されている。また、センサデバイス100に対して指示する応答方法として、「A、C,Fのセンサデバイスは、今回の管理情報要求メッセージから3回目の管理情報要求メッセージに応答すること」との内容が、管理情報要求メッセージ400内で指定されている。   In the management information request message 400 shown in FIG. 1, the broadcast address “0xFFFF” is set as the destination, the gateway 200 address “0x1234” is set as the destination, and the parameter instance is sent to each sensor device 100 as the management command. “Parameter acquisition” instructing the response to “command” and “remaining power information” as the command target parameter are specified. Also, as a response method for instructing the sensor device 100, the content “The sensor devices A, C, and F respond to the third management information request message from the current management information request message” It is specified in the information request message 400.

管理情報要求メッセージ400を受信したセンサデバイス100B、100D、及び100Eは、応答方法に自装置向けの指示がないことを確認し、管理命令(パラメータ取得)と命令対象パラメータ(電力残量情報)とを参照することで、電力残量情報(バッテリ残量情報)の値を含む管理情報応答メッセージ500をゲートウェイ200へ送信(返信)する。   The sensor devices 100B, 100D, and 100E that have received the management information request message 400 confirm that there is no instruction for the own device in the response method, and the management command (parameter acquisition), command target parameter (power remaining amount information), , The management information response message 500 including the value of the remaining power information (remaining battery information) is transmitted (returned) to the gateway 200.

センサデバイス100Aが中継する管理情報応答メッセージ500(センサデバイス100B、100D、及び100Eがそれぞれ送信するので、センサデバイス100Aは計3つ中継する)には、宛先としてゲートウェイ200のアドレス「0x1234」が、送信元として、各センサデバイス100のアドレス(センサデバイス100Eであれば「0x000E」)が、管理応答としてパラメータ取得の命令に対する応答であることを示す「パラメータ応答」が、応答対象のパラメータとして「電力残量情報」が、パラメータのインスタンス値として、各センサデバイス100の電力残量値(センサデバイス100Eであれば「17830」)が、それぞれ含まれる。   In the management information response message 500 relayed by the sensor device 100A (the sensor devices 100B, 100D, and 100E transmit each of them, the sensor device 100A relays a total of three), the address “0x1234” of the gateway 200 is set as the destination. A “parameter response” indicating that the address of each sensor device 100 (“0x000E” in the case of the sensor device 100E) is a response to a parameter acquisition command as a management response as a transmission source, and “power” as a response target parameter “Remaining amount information” includes the remaining electric power value of each sensor device 100 (“17830” for the sensor device 100E) as an instance value of the parameter.

一方、管理情報要求メッセージ400を受信したセンサデバイス100A、100C、及び100Fは、応答方法に自装置向けの指示があることを確認し、「A、C,Fのセンサデバイスは、今回の管理情報要求メッセージから3回目の管理情報要求メッセージに応答すること」との指示に従って、今回の管理情報要求メッセージ400には、応答しない。   On the other hand, the sensor devices 100A, 100C, and 100F that have received the management information request message 400 confirm that there is an instruction for the own device in the response method, and “the sensor devices of A, C, and F are the current management information. In response to the instruction “respond to the third management information request message from the request message”, the current management information request message 400 is not responded.

ゲートウェイ200は、受信したセンサデバイス100B、100D、及び100Eに関する管理情報応答メッセージ500の情報を記憶すると共に、遠隔管理サーバ300へ、応答情報を通知(管理応答メッセージを送信)する。またゲートウェイ200は、定期管理の閾値を超えた時点(次の定期管理に入る直前)、或いは遠隔管理サーバ300に次の管理を指示された時点等に、未応答であるセンサデバイス100A、100C、及び100Fの応答情報を、以前にセンサデバイス100A、100C、及び100Fから取得(受信)していた管理状態情報に基づいて作成し、遠隔管理サーバ300へと送信する。   The gateway 200 stores the information of the management information response message 500 regarding the received sensor devices 100B, 100D, and 100E, and notifies the remote management server 300 of the response information (transmits the management response message). Further, the gateway 200 does not respond to the sensor devices 100A, 100C, 100C, etc. that have not responded when the threshold for regular management is exceeded (immediately before entering the next regular management) or when the remote management server 300 is instructed to perform the next management. And 100F response information is created based on the management status information previously acquired (received) from the sensor devices 100A, 100C, and 100F, and is transmitted to the remote management server 300.

このように、センサデバイス100は、ゲートウェイ200から送信された管理情報要求メッセージ400に含まれる応答方法の指示に従い、管理情報要求メッセージ400へ応答するか否か(管理情報応答メッセージ500を送信するか否か)を判別する。   In this manner, the sensor device 100 responds to the management information request message 400 according to the response method instruction included in the management information request message 400 transmitted from the gateway 200 (whether to transmit the management information response message 500). Or not).

これにより、センサデバイス100は、管理情報要求メッセージ400の少なくとも一部に対しては応答しないことになり、結果として、遠隔管理通信における管理情報応答メッセージ500に係るトラヒックを抑制することが可能となる。   Accordingly, the sensor device 100 does not respond to at least a part of the management information request message 400, and as a result, it is possible to suppress traffic related to the management information response message 500 in the remote management communication. .

すなわち、ゲートウェイ200が、電力消費を抑制するように適切な応答方法を指定すれば、センサデバイス100の電力消費を低減し、結果として、センサネットワークN1全体の稼動寿命を延長することが可能となる。   That is, if the gateway 200 specifies an appropriate response method so as to suppress power consumption, the power consumption of the sensor device 100 can be reduced, and as a result, the operational life of the entire sensor network N1 can be extended. .

また、ゲートウェイ200は、定められた時刻までに未応答のセンサデバイス100(管理情報応答メッセージ500を送信しなかったセンサデバイス100、又はパケットロス等により管理情報応答メッセージ500がゲートウェイ200に届かなかったセンサデバイス100)の応答情報を、保持している、該当センサデバイス100の過去の情報を元に作成することで、各センサデバイス100A乃至100Fの管理情報を遠隔管理サーバ300へ送信することができる。   In addition, the gateway 200 has not received the management information response message 500 to the gateway 200 due to a sensor device 100 that has not responded by a predetermined time (the sensor device 100 that has not transmitted the management information response message 500 or a packet loss). The management information of each sensor device 100A to 100F can be transmitted to the remote management server 300 by creating the response information of the sensor device 100) based on the past information of the corresponding sensor device 100 that is held. .

従って、定期間隔でセンサデバイス100を管理する遠隔管理を実現しつつ、遠隔管理を実現する遠隔管理通信に係る通信トラヒックを抑制することで、センサネットワークN1及びセンサデバイス100の寿命を延ばすことが可能となる。   Therefore, it is possible to extend the lifetime of the sensor network N1 and the sensor device 100 by suppressing the communication traffic related to the remote management communication for realizing the remote management while realizing the remote management for managing the sensor device 100 at regular intervals. It becomes.

(2.2 各デバイスの構成)
以下、センサデバイス100の構成を「2.2.1」で説明し、ゲートウェイ200の構成を「2.2.2」で説明する。
(2.2 Configuration of each device)
Hereinafter, the configuration of the sensor device 100 will be described in “2.2.1”, and the configuration of the gateway 200 will be described in “2.2.2”.

(2.2.1 センサデバイス100の構成)
実施形態1に係るセンサデバイス100の構成について、図2を参照しながら説明する。図2において、実線の矢印は、各構成間の制御や参照、及び情報の流れを示す。
(2.2.1 Configuration of sensor device 100)
The configuration of the sensor device 100 according to the first embodiment will be described with reference to FIG. In FIG. 2, solid-line arrows indicate control and reference between components and information flow.

センサデバイス100は、管理情報要求メッセージ400を受信し、当該管理情報要求メッセージ400内で指示された応答方法に従って、以降の管理情報要求メッセージ400に対する管理情報応答メッセージ500を作成及び送信する。   The sensor device 100 receives the management information request message 400 and creates and transmits a management information response message 500 for the subsequent management information request message 400 according to the response method instructed in the management information request message 400.

センサデバイス100は、管理情報要求メッセージ400を受信する管理情報要求メッセージ受信部110、受信した管理情報要求メッセージ400の受理及び転送の要否を判別するパケット処理決定部120、管理情報要求メッセージ400内の応答方法の処理及び管理情報応答メッセージ500の作成を行う応答処理部130、センサデバイス100の状態情報であるセンサ情報141を記憶する記憶媒体である記憶部140、管理情報応答メッセージ500の送信及び管理情報要求メッセージ400の転送を行う管理情報メッセージ送信部150、及び他のセンサデバイス100と直接に通信するためのセンサデバイスインタフェース160とを含む。   The sensor device 100 includes a management information request message receiving unit 110 that receives the management information request message 400, a packet processing determining unit 120 that determines whether the received management information request message 400 is received and transferred, and the management information request message 400 A response processing unit 130 for processing the response method and generating a management information response message 500, a storage unit 140 that is a storage medium for storing sensor information 141 that is the state information of the sensor device 100, transmission of the management information response message 500, and A management information message transmission unit 150 for transferring the management information request message 400 and a sensor device interface 160 for directly communicating with other sensor devices 100 are included.

管理情報要求メッセージ受信部110は、他のセンサデバイス100或いはセンサモジュールを搭載したゲートウェイ200から、自装置宛の管理情報要求メッセージ400を受信し、受信処理を行ったうえで、パケット処理決定部120へ、受信した管理情報要求メッセージ400に係るデータを渡す。尚、管理情報要求メッセージ400は、ユニキャストパケット、ブロードキャストパケット、マルチキャストパケットの何れでもよく、管理情報要求メッセージ受信部110は、自装置宛と判断できるものを全て受信する。
尚、管理情報要求メッセージ受信部110が受信する管理情報要求メッセージ400のフォーマットについては、図4を参照しながら後述する。
The management information request message receiving unit 110 receives the management information request message 400 addressed to itself from the gateway 200 on which another sensor device 100 or sensor module is mounted, performs the reception process, and then performs the packet processing determination unit 120. To the received management information request message 400. The management information request message 400 may be a unicast packet, a broadcast packet, or a multicast packet, and the management information request message receiving unit 110 receives all messages that can be determined to be addressed to the own device.
The format of the management information request message 400 received by the management information request message receiving unit 110 will be described later with reference to FIG.

パケット処理決定部120は、管理情報要求メッセージ受信部110から、管理情報要求メッセージ400のデータを受取り、次の2つの処理を行う。
まず、パケット処理決定部120は、受け取ったデータを参照し、管理情報要求メッセージ400を転送するか否かを判断する。パケット処理決定部120は、受け取ったデータの情報に基づき、転送すべき管理情報要求メッセージ400であると判断した場合には、他のセンサデバイス100へ管理情報要求メッセージ400を送信(転送)すべく管理情報要求メッセージ400のデータを、管理情報メッセージ送信部150へ渡す。
The packet processing determining unit 120 receives the data of the management information request message 400 from the management information request message receiving unit 110 and performs the following two processes.
First, the packet processing determining unit 120 refers to the received data and determines whether or not to transfer the management information request message 400. If the packet processing determination unit 120 determines that the management information request message 400 is to be transferred based on the received data information, the packet processing determination unit 120 should transmit (transfer) the management information request message 400 to another sensor device 100. Data of the management information request message 400 is passed to the management information message transmission unit 150.

尚、パケット処理決定部120は、転送するか否かの判断を、一般的なセンサネットワークのルーティングと同様のルールに従って行えばよい。すなわち、ユニキャストパケット及びマルチキャストパケットに対しては、自装置宛でなければ、定められた転送先に転送し、また、ブロードキャストパケットについては、定められたブロードキャスト方式に従って、隣接のセンサデバイス100へと転送すべく、パケット処理決定部120は判断すれば良い。   Note that the packet processing determining unit 120 may determine whether or not to transfer according to the same rules as general sensor network routing. In other words, unicast packets and multicast packets are forwarded to a predetermined transfer destination if they are not addressed to the own device, and broadcast packets are transferred to adjacent sensor devices 100 according to a predetermined broadcast method. The packet processing determining unit 120 may determine to transfer the packet.

2番目の処理として、パケット処理決定部120は、受け取った管理情報要求メッセージ400に係るデータを、自装置で処理するか否か(受理するか否か)を判別する。パケット処理決定部120は、データを受理する場合(データを処理すべきと判断した場合)、受信した管理情報要求メッセージ400に係るデータを応答処理部130の応答決定部131へ渡す。一方、データを受理しない(自装置で処理しない)場合には、パケット処理決定部120は当該データを破棄する。   As the second processing, the packet processing determination unit 120 determines whether or not the data related to the received management information request message 400 is processed (accepted). When receiving the data (when it is determined that the data should be processed), the packet processing determining unit 120 passes the received data relating to the management information request message 400 to the response determining unit 131 of the response processing unit 130. On the other hand, when the data is not received (not processed by the own device), the packet processing determining unit 120 discards the data.

例えば、管理情報要求メッセージ400をユニキャストパケットとして受信した場合、宛先が自装置宛ではなければ、パケット処理決定部120は自装置で処理すべきでない(受理すべきでない)と判断することができる。一方、例えば管理情報要求メッセージ400をブロードキャストパケットとして受信した場合には、以前受信した管理情報要求メッセージ400と同一でなければ、パケット処理決定部120は自装置で処理すべき(受理すべき)と判断することができる。   For example, when the management information request message 400 is received as a unicast packet, if the destination is not addressed to the own device, the packet processing determining unit 120 can determine that it should not be processed (not accepted) by the own device. . On the other hand, for example, when the management information request message 400 is received as a broadcast packet, if it is not the same as the management information request message 400 received before, the packet processing determination unit 120 should process (accept it) by itself. Judgment can be made.

その他、管理情報要求メッセージ400の受理処理に関する上位レイヤの判断として、特定のセンサデバイス100が中継した管理情報要求メッセージ400であれば受理或いは破棄する、送信したゲートウェイ200のアドレスを参照して受理或いは破棄する、または、管理情報要求メッセージ400のセキュリティ情報を参照して受理或いは破棄する、等の判断基準を考えることもできる。   In addition, as a judgment of the upper layer regarding the reception processing of the management information request message 400, if the management information request message 400 relayed by a specific sensor device 100 is accepted or discarded, it is accepted with reference to the address of the transmitted gateway 200 or Judgment criteria such as discarding or accepting or discarding with reference to the security information of the management information request message 400 may be considered.

応答処理部130は、パケット処理決定部120から受け取った管理情報要求メッセージ400のデータ内にある応答方法を参照し、応答方法の指示に従った応答方法を決定して記憶(保持)する。また、応答処理部130は、保持(記憶)した応答方法を参照し、今回受け取った管理情報要求メッセージ400に対して管理情報応答メッセージ500を送信するか否かを判断し、管理情報応答メッセージ500を送信すると判断した場合には、自装置のセンサ情報141を元に、管理情報応答メッセージ500を作成する。   The response processing unit 130 refers to the response method in the data of the management information request message 400 received from the packet processing determination unit 120, determines the response method according to the response method instruction, and stores (holds) the response method. Further, the response processing unit 130 refers to the stored (stored) response method, determines whether or not to transmit the management information response message 500 to the management information request message 400 received this time, and determines the management information response message 500. Is determined to be transmitted, the management information response message 500 is created based on the sensor information 141 of the device itself.

応答処理部130は、応答方法を決定し、応答するべきか否かを判別する応答決定部131、応答方法を応答方法情報136として記憶(保持)すると共に、管理情報要求メッセージ400の受信回数等にかかるパラメータである応答方法計算情報137を記憶する記憶部135、管理情報応答メッセージ500を作成する管理情報応答メッセージ作成部133を含む。   The response processing unit 130 determines a response method, determines whether or not to respond, stores (holds) the response method as response method information 136, and receives the management information request message 400, etc. A storage unit 135 that stores response method calculation information 137 that is a parameter related to the management information response message 500, and a management information response message creation unit 133 that creates a management information response message 500.

応答決定部131は、パケット処理決定部120から受け取った管理情報要求メッセージ400のデータ内にある応答方法を参照し、当該応答方法の指示に従った応答方法を決定して、記憶部135内の応答方法情報136として記憶する。管理情報要求メッセージ400内に応答方法が指示されていない場合には、応答方法の決定及び応答方法情報136への記憶は行わない。   The response determination unit 131 refers to the response method in the data of the management information request message 400 received from the packet processing determination unit 120, determines the response method according to the response method instruction, and stores the response method in the storage unit 135. Stored as response method information 136. When the response method is not instructed in the management information request message 400, the response method is not determined and stored in the response method information 136.

尚、応答決定部131は、記憶部135に複数の応答方法情報136を記憶することができるが、応答方法情報136として記憶された応答方法と矛盾する応答方法での対応を受信した場合には、優先度の高い応答方法を応答方法情報136として記憶し、優先度の低い応答方法は、応答方法情報136から削除する。ここで、優先度は、センサネットワークN1の運用ポリシーに基づき、運用者等が自由に設定することができるが、一般的には、新たに決定された応答方法の方が優先度が高い。   The response determination unit 131 can store a plurality of response method information 136 in the storage unit 135. However, when the response determination unit 131 receives a response in a response method that contradicts the response method stored as the response method information 136, The response method having a high priority is stored as the response method information 136, and the response method having a low priority is deleted from the response method information 136. Here, the priority can be freely set by an operator or the like based on the operation policy of the sensor network N1, but in general, the newly determined response method has a higher priority.

また、応答決定部131は、今回自装置が受信した管理情報要求メッセージ400に対して、今回及び以前に応答方法情報136として保持した応答方法、及び応答方法計算情報137に基づき、管理情報応答メッセージ500を送信するか否か、すなわち、管理情報要求メッセージ400に対して応答するか否かを判断する。応答決定部131は、今回自装置が受信した管理情報要求メッセージ400に対して管理情報応答メッセージ500を送信すると判断した場合、管理情報応答メッセージ作成部133に、管理情報応答メッセージ500の作成を指示する。   In addition, the response determination unit 131 responds to the management information request message 400 received by the device itself this time based on the response method and response method calculation information 137 held as response method information 136 this time and before. It is determined whether or not 500 is transmitted, that is, whether or not to respond to the management information request message 400. When the response determination unit 131 determines to transmit the management information response message 500 in response to the management information request message 400 received by the device itself this time, the response determination unit 131 instructs the management information response message creation unit 133 to create the management information response message 500. To do.

また、応答決定部131は、管理情報要求メッセージ400を受信したことにより、応答方法計算情報137を更新する。例えば、応答方法情報136として、「管理情報要求メッセージを2回受信してから管理情報応答メッセージを1回送信しろ」との応答方法を応答方法情報136として保持していた場合には、応答決定部131は、今回の管理情報要求メッセージ400の受信が何回目なのかを、応答方法計算情報137として記憶し、更新する。   Further, the response determination unit 131 updates the response method calculation information 137 by receiving the management information request message 400. For example, as the response method information 136, if the response method "Receive management information response message after receiving the management information request message twice and send the management information response message once" is held as the response method information 136, the response determination The unit 131 stores the number of times this management information request message 400 has been received as response method calculation information 137 and updates it.

尚、応答決定部131は、センサ情報(自装置の状態情報)の内容を応答条件に含む応答方法を受け取っている場合には、記憶部140のセンサ情報141を参照する。そして、応答決定部131は、参照したセンサ情報141の内容に応じて、記憶部135の応答方法計算情報137を更新する。   In addition, the response determination part 131 refers to the sensor information 141 of the memory | storage part 140, when the response method which contains the content of sensor information (status information of an own apparatus) as a response condition is received. Then, the response determination unit 131 updates the response method calculation information 137 in the storage unit 135 according to the content of the referenced sensor information 141.

記憶部135が記憶する応答方法情報136は、応答決定部131から受け取った応答方法の内容を記憶するものである。また、応答方法計算情報137は、応答方法情報136と対応付けて管理されるパラメータである。応答方法計算情報137は、上述の通り、管理情報要求メッセージ400の受信に伴い、パラメータとして更新される。応答決定部131が採用する応答方法で定める閾値や適合値を応答方法計算情報137のパラメータが充足した場合、応答決定部131にて、管理情報要求メッセージ400に対して応答する旨の判断がなされる。尚、上述の通り、記憶部135は、応答方法情報136及びそれに関連する応答方法計算情報137の組を、1つ以上保持することができる。   The response method information 136 stored in the storage unit 135 stores the content of the response method received from the response determination unit 131. The response method calculation information 137 is a parameter managed in association with the response method information 136. The response method calculation information 137 is updated as a parameter with the reception of the management information request message 400 as described above. When the parameters of the response method calculation information 137 satisfy the threshold value and the adaptive value determined by the response method adopted by the response determination unit 131, the response determination unit 131 determines that the response to the management information request message 400 is to be made. The As described above, the storage unit 135 can hold one or more sets of response method information 136 and response method calculation information 137 related thereto.

管理情報応答メッセージ作成部133は、応答決定部131からの指示に従い、管理情報応答メッセージ500を作成する。管理情報応答メッセージ内の管理情報は、記憶部140が記憶するセンサ情報141(自装置の状態情報)を参照して作成する。尚、管理情報応答メッセージ500の最終宛先は、管理情報要求メッセージ400の送信元(例えば、ゲートウェイ200)である。管理情報応答メッセージ作成部133は、作成した管理情報応答メッセージ500を、管理情報メッセージ送信部150へと渡す。尚、管理情報応答メッセージ作成部133が作成する管理情報応答メッセージ500のフォーマットについては、図5を参照しながら後述する。   The management information response message creation unit 133 creates the management information response message 500 in accordance with the instruction from the response determination unit 131. The management information in the management information response message is created with reference to sensor information 141 (status information of the own device) stored in the storage unit 140. The final destination of the management information response message 500 is the transmission source (for example, the gateway 200) of the management information request message 400. The management information response message creation unit 133 passes the created management information response message 500 to the management information message transmission unit 150. The format of the management information response message 500 created by the management information response message creation unit 133 will be described later with reference to FIG.

記憶部140が記憶するセンサ情報141は、上述の通り、自装置の状態情報である。センサ情報141に含まれる情報は、自装置に関するあらゆる情報であり、一例として、製造ベンダ情報(ベンダ名、ベンダコード)、デバイスモデル名、製造番号、利用している電源の種別情報、電力残量情報(バッテリ残量情報)、ネットワークアドレス、MACアドレス、ルーティング情報、隣接リンク品質情報、保持するソフトウェアモジュール等がある。   The sensor information 141 stored in the storage unit 140 is the state information of the own device as described above. The information included in the sensor information 141 is all information related to the device itself. As an example, manufacturing vendor information (vendor name, vendor code), device model name, serial number, type information of the power source used, remaining power level Information (remaining battery information), network address, MAC address, routing information, adjacent link quality information, software module to be held, and the like.

管理情報メッセージ送信部150は、パケット処理決定部120から転送を指示された管理情報要求メッセージ400、及び応答処理部130の管理情報応答メッセージ作成部133が作成した管理情報応答メッセージ500を、指定の宛先へと送信する。   The management information message transmission unit 150 designates the management information request message 400 instructed to be transferred from the packet processing determination unit 120 and the management information response message 500 created by the management information response message creation unit 133 of the response processing unit 130. Send to destination.

センサデバイスインタフェース160は、他のセンサデバイス100、及びセンサモジュールを搭載した(センサデバイス用のインタフェースを備えた)ゲートウェイ200と、管理情報要求メッセージ400及び管理情報応答メッセージ500の送受信を行うためのインタフェースである。   The sensor device interface 160 is an interface for transmitting / receiving a management information request message 400 and a management information response message 500 to / from a gateway 200 (with a sensor device interface) on which another sensor device 100 and a sensor module are mounted. It is.

なお、センサデバイス100は、一般的なデバイス(又は通信装置)が有する任意のハードウェア構成を備えることができ、例えば、制御部、記憶部(例えば、ハードウェアディスク)、メモリ(例えば、RAM(Random Access Memory)、ROM(Read Only Memory))などを備えることができる。この場合、センサデバイス100が有する上記の各機能構成は、例えば、制御部が、記憶部又はメモリからプログラムを展開して実行することで実現することができる。もしくは、センサデバイス100は、上記の各機能構成を実現するための回路を備えても良い。以降で説明する実施形態についても同様である。   The sensor device 100 can have any hardware configuration that a general device (or communication device) has, for example, a control unit, a storage unit (for example, a hardware disk), a memory (for example, a RAM (for example, RAM ( Random Access Memory), ROM (Read Only Memory)), and the like. In this case, each functional configuration of the sensor device 100 can be realized by, for example, the control unit developing and executing a program from the storage unit or the memory. Alternatively, the sensor device 100 may include a circuit for realizing each functional configuration described above. The same applies to the embodiments described below.

(2.2.2 ゲートウェイ200の構成)
実施形態1に係るゲートウェイ200の構成について、図3を参照しながら説明する。図3において、実線の矢印は、各構成間の制御や参照、及び情報の流れを示す。
(2.2.2 Configuration of gateway 200)
The configuration of the gateway 200 according to the first embodiment will be described with reference to FIG. In FIG. 3, solid arrows indicate control and reference between components and information flow.

ゲートウェイ200は、遠隔管理サーバ300から遠隔管理のリクエスト(管理要求メッセージ/管理リクエスト)を受信した際に、現在の各センサデバイス100に係る管理状態情報等から各センサデバイス100に指示する応答方法を決定し、当該応答方法を含んだ管理情報要求メッセージ400を作成及び送信する。   When the gateway 200 receives a remote management request (management request message / management request) from the remote management server 300, the gateway 200 provides a response method for instructing each sensor device 100 from the current management state information related to each sensor device 100. The management information request message 400 including the response method is generated and transmitted.

ゲートウェイ200は、遠隔管理サーバ300から指示を受け、遠隔管理の処理を行うデバイス管理部210、センサデバイス100の省電力遠隔処理を行う遠隔管理メッセージ処理部220、管理情報要求メッセージ400の送信処理を行う管理情報要求メッセージ送信部230、管理情報応答メッセージ500の受信処理を行う管理情報応答メッセージ受信部240、遠隔管理サーバ300等の外部サーバと通信するための外部接続インタフェース250、センサデバイス100と通信するためのセンサデバイスインタフェース260を含む。   The gateway 200 receives an instruction from the remote management server 300 and performs a process of transmitting a device management unit 210 that performs remote management processing, a remote management message processing unit 220 that performs power-saving remote processing of the sensor device 100, and a management information request message 400. Management information request message transmission unit 230 to perform, management information response message reception unit 240 that performs reception processing of management information response message 500, external connection interface 250 for communication with an external server such as remote management server 300, and communication with sensor device 100 Including a sensor device interface 260.

デバイス管理部210は、遠隔管理サーバ300から遠隔管理の要求を受信し、当該要求が、センサデバイス100の遠隔管理を必要とする内容であれば、遠隔管理メッセージ処理部220の応答方法指示決定部221へ、センサデバイス100の遠隔管理を指示する。応答方法指示決定部221への指示には、どのセンサデバイス100に対する指示であり(特定のセンサデバイス100A乃至100Fに対する指示か、全てのセンサデバイス100に対する指示か、等)、どのような管理命令であり、かつどのようなパラメータを扱うか、等の内容が含まれる。   The device management unit 210 receives a remote management request from the remote management server 300. If the request is a content that requires remote management of the sensor device 100, the response management instruction determination unit of the remote management message processing unit 220 221 instructs remote management of the sensor device 100. The instruction to the response method instruction determination unit 221 is an instruction to which sensor device 100 (an instruction to a specific sensor device 100A to 100F, an instruction to all the sensor devices 100, etc.) Yes, and what parameters are handled.

また、デバイス管理部210は、遠隔管理メッセージ処理部220の応答メッセージ処理部227から、センサデバイス100の遠隔管理の応答情報を受け取り、その応答情報を、遠隔管理サーバ300への応答として送信する。   The device management unit 210 receives remote management response information of the sensor device 100 from the response message processing unit 227 of the remote management message processing unit 220 and transmits the response information as a response to the remote management server 300.

遠隔管理メッセージ処理部220は、デバイス管理部210からセンサデバイス100の遠隔管理の指示を受け取り、電力消費を抑制しつつ好適な遠隔管理を行うための応答方法を決定して管理情報要求メッセージ400を作成すると共に、センサデバイス100から受信した管理情報応答メッセージ500に含まれる応答情報、及び受信しなかった未応答のセンサデバイス分の応答情報を適宜管理、作成、及び加工等し、デバイス管理部210へと当該応答情報を出力する。   The remote management message processing unit 220 receives an instruction for remote management of the sensor device 100 from the device management unit 210, determines a response method for performing suitable remote management while suppressing power consumption, and sends a management information request message 400. The device management unit 210 appropriately manages, creates, and processes response information included in the management information response message 500 received from the sensor device 100 and response information for unanswered sensor devices that have not been received. The response information is output.

遠隔管理メッセージ処理部220は、応答方法指示決定部221、管理状態情報224を記憶する記憶部223、管理情報要求メッセージ作成部225、及び応答メッセージ処理部227を含む。   The remote management message processing unit 220 includes a response method instruction determination unit 221, a storage unit 223 that stores management state information 224, a management information request message creation unit 225, and a response message processing unit 227.

応答方法指示決定部221は、デバイス管理部210からセンサデバイス100の遠隔管理の指示を受け取り、各センサデバイス100の応答方法を決定する。応答方法は、管理状態情報224として保持されている各センサデバイス100の管理状態や、センサネットワークN1の構成及び状態等を参照して、センサネットワークN1全体の電力消費を抑制しつつ、適切な遠隔管理をおこなえる方法を判断して、センサデバイス100毎に決定される。   The response method instruction determination unit 221 receives an instruction for remote management of the sensor device 100 from the device management unit 210 and determines the response method of each sensor device 100. The response method refers to the management status of each sensor device 100 held as the management status information 224, the configuration and status of the sensor network N1, and the like, while suppressing power consumption of the entire sensor network N1 and performing appropriate remote control. It is determined for each sensor device 100 by determining how to perform management.

応答方法指示決定部221は、決定した応答方法を含む管理情報要求メッセージ400を作成するように、管理情報要求メッセージ作成部225へ指示する。尚、応答方法の決定にあたり、応答方法指示決定部221がいずれのセンサデバイス100にも応答方法を指示しない場合もある。この場合には、応答方法指示決定部221は、管理情報要求メッセージ400による応答方法の指定を行わない。   The response method instruction determination unit 221 instructs the management information request message creation unit 225 to create the management information request message 400 including the determined response method. In determining the response method, the response method instruction determining unit 221 may not instruct any of the sensor devices 100 about the response method. In this case, the response method instruction determination unit 221 does not specify a response method using the management information request message 400.

また、応答方法指示決定部221は、決定した応答方法(センサデバイス100に指示する応答方法)を、応答メッセージ処理部227へ通知する。   In addition, the response method instruction determination unit 221 notifies the response message processing unit 227 of the determined response method (response method for instructing the sensor device 100).

記憶部223は、応答メッセージ処理部227から受け取った、各センサデバイス100に関する管理状態情報224を記憶(保持)する。各センサデバイス100の管理状態情報224には、今回新たに入手した最新の情報に加えて、以前、各センサデバイス100から取得(受信)した過去の情報も併せて含まれる。管理状態情報224の具体例については、図6を参照しながら後述する。   The storage unit 223 stores (holds) the management status information 224 regarding each sensor device 100 received from the response message processing unit 227. The management status information 224 of each sensor device 100 includes past information previously acquired (received) from each sensor device 100 in addition to the latest information newly acquired this time. A specific example of the management status information 224 will be described later with reference to FIG.

管理情報要求メッセージ作成部225は、応答方法指示決定部221が決定した各センサデバイス100へ指示する応答方法を含む管理情報要求メッセージ400を作成し、管理情報要求メッセージ送信部230へと渡す。尚、応答方法指示決定部221から、特に応答方法が指示されない場合には、管理情報要求メッセージ作成部225は、特に応答方法を記述しない。尚、管理情報要求メッセージ作成部225が作成する管理情報要求メッセージ400の具体的内容については、図4を参照しながら後述する。   The management information request message creation unit 225 creates a management information request message 400 including a response method for instructing each sensor device 100 determined by the response method instruction determination unit 221 and passes the management information request message 400 to the management information request message transmission unit 230. When the response method is not particularly instructed from the response method instruction determination unit 221, the management information request message creation unit 225 does not particularly describe the response method. The specific contents of the management information request message 400 created by the management information request message creation unit 225 will be described later with reference to FIG.

応答メッセージ処理部227は、管理情報応答メッセージ受信部240から管理情報応答メッセージ500を受取り、この中に含まれるセンサデバイス100の管理情報(各センサデバイス100の管理状態情報224)を、記憶部223に管理状態情報224として記録する。また、応答メッセージ処理部227は、受け取った管理情報応答メッセージ500のフォーマットを変換する等、情報を整理した上で、デバイス管理部210へ出力する。もし、受け取った管理情報応答メッセージ500の中の管理パラメータに一部欠損等があれば、応答メッセージ処理部227は、該当するセンサデバイス100に対応する管理状態情報224を記憶部223から読込むと共に応答方法指示決定部221が決定した応答方法を参照して、欠損した情報を補う(加工する)。   The response message processing unit 227 receives the management information response message 500 from the management information response message receiving unit 240, and stores the management information of the sensor device 100 (management state information 224 of each sensor device 100) included therein in the storage unit 223. Is recorded as management status information 224. Further, the response message processing unit 227 organizes the information, such as converting the format of the received management information response message 500, and outputs the information to the device management unit 210. If the management parameter in the received management information response message 500 is partially missing, the response message processing unit 227 reads the management status information 224 corresponding to the corresponding sensor device 100 from the storage unit 223 and With reference to the response method determined by the response method instruction determination unit 221, the missing information is compensated (processed).

また、定められた時刻(或いは定められた時間)までに管理情報応答メッセージ500を送信してこなかったセンサデバイス100が存在する場合には、応答メッセージ処理部227は、当該センサデバイス100に対応する管理状態情報224、及び応答方法指示決定部221から受け取った応答方法を参照して、管理情報応答メッセージ500に対応するデータを作成し、デバイス管理部210へ出力する。尚、定められた時刻(閾値時刻)としては、例えば、ゲートウェイ200内で独自に定めた時刻、遠隔管理サーバ300から与えられた時刻、遠隔管理サーバ300から次のサイクルの遠隔管理指示を受信した時刻等、色々と考えうるが、何れであっても良い。   When there is a sensor device 100 that has not transmitted the management information response message 500 by a predetermined time (or a predetermined time), the response message processing unit 227 corresponds to the sensor device 100. With reference to the management status information 224 and the response method received from the response method instruction determination unit 221, data corresponding to the management information response message 500 is created and output to the device management unit 210. The predetermined time (threshold time) is, for example, a time uniquely determined in the gateway 200, a time given from the remote management server 300, or a remote management instruction for the next cycle received from the remote management server 300. Various times such as time can be considered, but any of them may be used.

管理情報要求メッセージ送信部230は、遠隔管理メッセージ処理部220の管理情報要求メッセージ作成部225から受取った管理情報要求メッセージ400の送信処理を行い、センサデバイス100へ送信する。   The management information request message transmission unit 230 performs transmission processing of the management information request message 400 received from the management information request message creation unit 225 of the remote management message processing unit 220 and transmits it to the sensor device 100.

管理情報応答メッセージ受信部240は、センサデバイス100から管理情報応答メッセージ500を受信して受信処理をした後、管理情報応答メッセージ500のデータを応答メッセージ処理部227へ渡す。   The management information response message receiving unit 240 receives the management information response message 500 from the sensor device 100 and performs reception processing, and then passes the data of the management information response message 500 to the response message processing unit 227.

外部接続インタフェース250は、ゲートウェイ200が遠隔管理サーバ300等の外部サーバと通信するためのインタフェースである。   The external connection interface 250 is an interface for the gateway 200 to communicate with an external server such as the remote management server 300.

センサデバイスインタフェース260は、ゲートウェイ200がセンサデバイス100と通信するためのインタフェースである。   The sensor device interface 260 is an interface for the gateway 200 to communicate with the sensor device 100.

なお、ゲートウェイ200は、一般的なデバイス(又は通信装置)が有する任意のハードウェア構成を備えることができ、例えば、制御部、記憶部(例えば、ハードウェアディスク)、メモリ(例えば、RAM、ROM)などを備えることができる。この場合、ゲートウェイ200が有する上記の各機能構成は、例えば、制御部が、記憶部又はメモリに記憶されたプログラムを展開して実行することで実現することができる。もしくは、ゲートウェイ200は、上記の各機能構成を実現するための回路を備えても良い。以降で説明する実施形態についても同様である。   The gateway 200 can have any hardware configuration that a general device (or communication device) has, for example, a control unit, a storage unit (for example, a hardware disk), a memory (for example, a RAM, a ROM). ) And the like. In this case, each functional configuration of the gateway 200 can be realized by, for example, the control unit expanding and executing a program stored in the storage unit or the memory. Alternatively, the gateway 200 may include a circuit for realizing each functional configuration described above. The same applies to the embodiments described below.

(2.3 メッセージの構成)
次に、センサデバイス100が、ゲートウェイ200及び他のセンサデバイス100と送受信する管理情報要求メッセージ400及び管理情報応答メッセージ500のフォーマットについて、図4及び図5を用いて説明する。
(2.3 Message structure)
Next, the format of the management information request message 400 and the management information response message 500 that the sensor device 100 transmits / receives to / from the gateway 200 and other sensor devices 100 will be described with reference to FIGS. 4 and 5.

(2.3.1 管理情報要求メッセージ400)
図4は、管理情報要求メッセージ400のフォーマットの一例を示す。管理情報要求メッセージ400は、宛先アドレス410、送信元アドレス430、管理内容450を含む。
(2.3.1 Management information request message 400)
FIG. 4 shows an exemplary format of the management information request message 400. The management information request message 400 includes a destination address 410, a transmission source address 430, and management contents 450.

宛先アドレス410は、管理情報要求メッセージ400の最終的な宛先となるセンサデバイス100のネットワークアドレスを示す。宛先アドレス410には、ユニキャストアドレス、マルチキャストアドレス、ブロードキャストアドレス、エニキャストアドレスのいずれも指定することができる。   The destination address 410 indicates the network address of the sensor device 100 that is the final destination of the management information request message 400. As the destination address 410, any of a unicast address, a multicast address, a broadcast address, and an anycast address can be designated.

送信元アドレス430は、管理情報要求メッセージ400の送信元センサデバイス、あるいは送信元のゲートウェイ200のセンサモジュールのネットワークアドレスを示す。   The transmission source address 430 indicates the network address of the transmission source sensor device of the management information request message 400 or the sensor module of the transmission source gateway 200.

管理内容450は、センサデバイス100の遠隔管理に関するデータ群であり、遠隔管理の内容を示す管理命令451、遠隔管理の対象パラメータを示す管理パラメータ453、応答方法459を含む。   The management content 450 is a data group related to remote management of the sensor device 100, and includes a management command 451 indicating the content of remote management, a management parameter 453 indicating a target parameter for remote management, and a response method 459.

管理命令451は、管理情報要求メッセージ400が、宛先のセンサデバイス100に対して、どのような管理を行うかの命令が含まれる。管理命令451の内容としては、例えば、以下のようなものが挙げられる。
・センサデバイス100へ指定の管理パラメータに対するインスタンスの応答を指示。
・センサデバイス100へ指定の管理パラメータのインスタンスの設定を指示。
・センサデバイス100へ再起動を指示。
・センサデバイス100へ単純応答を指示(死活の管理のため)。
・センサデバイス100へ、デバイス内のソフトウェアモジュールのインストール、アンインストール、起動、又は停止を指示。
・センサデバイス100へ任意のソフトウェアモジュールのダウンロードを指示。
The management instruction 451 includes an instruction on how the management information request message 400 performs management for the destination sensor device 100. Examples of the contents of the management command 451 include the following.
Instructs the sensor device 100 to respond to an instance for a specified management parameter.
Instructs the sensor device 100 to set the specified management parameter instance.
Instructs the sensor device 100 to restart.
A simple response is instructed to the sensor device 100 (for life and death management).
Instruct the sensor device 100 to install, uninstall, start or stop the software module in the device.
Instructs the sensor device 100 to download an arbitrary software module.

本実施形態1及び実施形態2での説明では、説明の簡単のため、主に管理命令451に「センサデバイス100へ指定の管理パラメータに対するインスタンスの応答を指示」が設定されている管理情報要求メッセージ400が送受信されている場合を例に説明している。すなわち、管理情報要求メッセージ400が、センサデバイス100に対して、センサデバイスの状態情報を要求する場合を例に説明している。しかしながら、他の命令が管理命令451に設定されていてもかまわない。つまり、どのような管理命令451が設定されていたとしても、センサデバイス100が、応答方法459で指示された応答方法に基づいて決定された応答方法に従って、管理情報応答メッセージ500を作成して応答する(若しくは応答しない)。   In the description of the first and second embodiments, for the sake of simplicity, the management information request message in which “instruct the sensor device 100 to give an instance response to a specified management parameter” is mainly set in the management command 451. A case where 400 is transmitted and received is described as an example. That is, a case where the management information request message 400 requests the sensor device 100 for sensor device status information is described as an example. However, another command may be set in the management command 451. That is, no matter what management instruction 451 is set, the sensor device 100 creates a management information response message 500 according to the response method determined based on the response method instructed by the response method 459, and responds. Yes (or no response).

管理パラメータ453は、管理情報要求メッセージ400が扱うセンサデバイス100の状態情報に関するデータ群である。尚、管理パラメータ453は、管理命令451の種類によっては、存在しない場合がある。管理パラメータ453には、パラメータ455及びインスタンス457が含まれる。   The management parameter 453 is a data group regarding the state information of the sensor device 100 handled by the management information request message 400. The management parameter 453 may not exist depending on the type of the management command 451. The management parameter 453 includes a parameter 455 and an instance 457.

パラメータ455は、センサデバイス100から取得する状態情報のパラメータ、あるいはセンサデバイス100へ設定する状態情報のパラメータを指定するためのものである。すなわち、製造ベンダ情報(ベンダ名、ベンダコード)、デバイスモデル名、製造番号、利用している電源の種別情報、電力残量情報(バッテリ残量情報)、ネットワークアドレス、MACアドレス、ルーティング情報、隣接リンク品質情報、保持するソフトウェアモジュール等の、センサデバイス100から取得したいパラメータ種別が、パラメータ455で指定される。   The parameter 455 is used to specify a state information parameter acquired from the sensor device 100 or a state information parameter set in the sensor device 100. That is, manufacturing vendor information (vendor name, vendor code), device model name, manufacturing number, type information of power source used, remaining power information (remaining battery information), network address, MAC address, routing information, adjacent A parameter type to be acquired from the sensor device 100 such as link quality information and a software module to be held is designated by a parameter 455.

インスタンス457には、パラメータ455で指定されたパラメータ種別のインスタンス(実体、実体値)が記述される。例えば、パラメータ455にネットワークアドレスが指定されている場合、ネットワークアドレスの値が、インスタンス457に記述される。尚、インスタンス457は、管理命令451の種類や、パラメータ455の種類によっては、記述されない場合がある。   In the instance 457, an instance (entity, entity value) of the parameter type designated by the parameter 455 is described. For example, when a network address is specified in the parameter 455, the value of the network address is described in the instance 457. Note that the instance 457 may not be described depending on the type of the management instruction 451 and the type of the parameter 455.

応答方法459は、センサデバイス100に対して、今回の管理情報要求メッセージ400の受信以降、どのように管理情報要求メッセージ400に対して応答すべきかの方法を指定するためのものである。応答方法459に記述される応答方法の一例としては、例えば以下のようなものが考えられる。尚、応答方法459には、以下の例を複数設定することも可能である。   The response method 459 is for designating how to respond to the management information request message 400 after the reception of the management information request message 400 this time to the sensor device 100. As an example of the response method described in the response method 459, for example, the following can be considered. Note that a plurality of the following examples can be set as the response method 459.

また、応答方法459には、どのセンサデバイス100がどの応答方法を受理すべきかを指示する。(特に、図1に示すように、宛先アドレス410がブロードキャストアドレスである場合、下記する応答方法を受理すべきセンサデバイス100を指示する。)   Also, the response method 459 is instructed which sensor device 100 should accept which response method. (In particular, as shown in FIG. 1, when the destination address 410 is a broadcast address, the sensor device 100 that should accept the response method described below is indicated.)

・X回の管理情報要求メッセージ400に対して、Y回の管理情報応答メッセージ500を送信すること(但し、YはX以下の整数値。X=Yとすると、毎回応答する指示となる)。 In response to X management information request messages 400, Y management information response messages 500 are transmitted (where Y is an integer value less than or equal to X. If X = Y, an instruction to respond each time is sent).

・X回の管理情報要求メッセージ400の中で、N回目に管理情報応答メッセージ500を送信すること(但し、NはX以下の整数値。Nは複数回を指定可能であり、例えば1、3、5回目の応答を指示しても良い)。 In the management information request message 400 of X times, the management information response message 500 is transmitted at the Nth time (where N is an integer value less than or equal to X. N can be specified multiple times, for example, 1, 3 5th response may be indicated).

・今回の管理情報要求メッセージ400の受信を起点に、Z回目の管理情報要求メッセージ400に対して管理情報応答メッセージ500を送信すること(Z回目の送信処理後に、本命例を繰り返して次のZ回目に応答するようにしても良い。例えば、Z回目の応答の後、起点となる受信からZ+Z回目の管理情報要求メッセージ400に対して応答しても良い)。 The management information response message 500 is transmitted in response to the Zth management information request message 400 from the reception of the current management information request message 400 (after the Zth transmission process, this example is repeated and the next Z For example, after the Z-th response, a response may be made to the management information request message 400 from the Z + Z-th reception from the starting reception).

・今回以降の管理情報要求メッセージ400の中で、ある特定の管理パラメータ453、パラメータ455、又はインスタンス457を含む管理情報要求メッセージ400に対しては、管理情報応答メッセージ500を送信すること、或いは送信しないこと。 The management information response message 500 is transmitted or transmitted to the management information request message 400 including a specific management parameter 453, parameter 455, or instance 457 among the management information request messages 400 after this time. Don't do it.

・今回の管理情報要求メッセージ400の受信を起点に、Z回目までの全ての管理情報要求メッセージ400に対して管理情報応答メッセージ500を送信すること(すなわち、Z回目以降の管理情報要求メッセージ400に対しては応答しなくて良い)。 The management information response message 500 is transmitted to all the management information request messages 400 up to the Zth time from the reception of the management information request message 400 this time (that is, to the management information request messages 400 after the Zth time). You don't have to respond).

・指定したセンサデバイス100のみ管理情報応答メッセージ500を送信すること、或いは送信しないこと(このとき、センサデバイス100の指定方法としては、ネットワークアドレスやMACアドレス、その他センサデバイス100の識別子による指定のほか、ゲートウェイ200からのホップ数による指定(Mホップ目まで、Mホップ目のみ、またはMホップ目以降等)、センサデバイス100の保持するアプリケーションによる指定、センサデバイス100の地理的位置情報による指定、等が考えられる)。
・管理情報要求メッセージ400に対して、Pの確率で管理情報応答メッセージ500を送信すること。
The management information response message 500 is transmitted or not transmitted only to the designated sensor device 100 (At this time, the designation method of the sensor device 100 includes not only designation by a network address, a MAC address, and other identifiers of the sensor device 100) , Designation by the number of hops from the gateway 200 (up to the M hop, only the M hop, or after the M hop, etc.), designation by an application held by the sensor device 100, designation by the geographical position information of the sensor device 100, etc. Can be considered).
A management information response message 500 is transmitted with a probability of P in response to the management information request message 400.

・管理情報要求メッセージ400の受信時、あるいはそれ以前の任意のタイミングにおいて、センサデバイス100における、管理情報要求メッセージ400で指定された管理パラメータ453の実測値(インスタンス)が、前回計測時と比べてW以上(又は以下)の変化である場合に、管理情報応答メッセージ500を送信すること。 The measured value (instance) of the management parameter 453 specified in the management information request message 400 in the sensor device 100 at the time of receiving the management information request message 400 or at an arbitrary timing before that is compared with the previous measurement time. When the change is greater than or equal to W (or less), the management information response message 500 is transmitted.

・管理情報要求メッセージ400の受信時、あるいはそれ以前の任意のタイミングにおいて、センサデバイス100における、管理情報要求メッセージ400で指定された管理パラメータ453の実測値(インスタンス)が、閾値Vを上回っている(又は下回っていた)場合に、管理情報応答メッセージ500を送信すること。 The measured value (instance) of the management parameter 453 specified in the management information request message 400 in the sensor device 100 exceeds the threshold value V at the time of receiving the management information request message 400 or at an arbitrary timing before that. If it is (or below), send the management information response message 500.

・管理情報要求メッセージ400の受信時、あるいはそれ以前の任意のタイミングにおいて、センサデバイス100における、管理情報要求メッセージ400で指定された管理パラメータ453の実測値(インスタンス)に、新たな値(又は古い値)が設定されていた場合に、管理情報応答メッセージ500を送信すること。
・センサデバイス100における、管理情報要求メッセージ400で指定された管理パラメータ453に係る条件が、過去数回の計測においてU回以上(又は以下)成立した場合に、管理情報応答メッセージ500を送信すること。
A new value (or an old value) is added to the actual value (instance) of the management parameter 453 specified by the management information request message 400 in the sensor device 100 at the time of receiving the management information request message 400 or at an arbitrary timing before that. Value) is set, the management information response message 500 is transmitted.
When the condition related to the management parameter 453 specified in the management information request message 400 in the sensor device 100 is satisfied U times or more (or below) in the past several measurements, the management information response message 500 is transmitted. .

尚、管理内容450の応答方法459にのみ情報が入り、他方の管理命令451、管理パラメータ453、パラメータ455、インスタンス457が空情報の管理情報要求メッセージ400もある。この場合、実質的に、管理情報要求メッセージ400は、センサデバイス100に対して管理情報を要求するのではなく、応答方法459を指示するためのメッセージとなる。   There is also a management information request message 400 in which information is entered only in the response method 459 of the management content 450 and the other management command 451, management parameter 453, parameter 455, and instance 457 are empty information. In this case, the management information request message 400 is actually a message for instructing the response method 459 rather than requesting the sensor device 100 for management information.

上記のような応答方法459情報のみの管理情報要求メッセージ400は、他の管理情報要求メッセージ400と同じように、ゲートウェイ200のデバイス管理部210、応答方法指示決定部221、及び管理情報要求メッセージ作成部225にて作成され、管理情報要求メッセージ送信部230にてセンサネットワークN1に送信処理される。
また、センサデバイス100において、上記のような応答方法459情報のみの管理情報要求メッセージ400は、他の管理情報要求メッセージ400と同じように、管理情報要求メッセージ受信部110にて受信処理され、パケット処理決定部120および応答決定部131の処理を経て、記憶部135に、応答方法情報136および応答方法計算情報137として保持される。
The management information request message 400 with only the response method 459 information as described above is the same as the other management information request message 400, the device management unit 210 of the gateway 200, the response method instruction determination unit 221, and the management information request message creation. The data is created by the unit 225 and transmitted to the sensor network N1 by the management information request message transmission unit 230.
Further, in the sensor device 100, the management information request message 400 having only the response method 459 information as described above is received and processed by the management information request message receiving unit 110 in the same manner as the other management information request messages 400, and the packet Through the processing of the processing determination unit 120 and the response determination unit 131, the storage unit 135 holds the response method information 136 and the response method calculation information 137.

(2.3.2 管理情報応答メッセージ500)
続いて、図5を参照しながら、管理情報応答メッセージ500について説明する。図5は、管理情報応答メッセージ500のフォーマットの例を示す図である。
管理情報応答メッセージ500は、宛先アドレス510、送信元アドレス520、管理内容530を含む。
(2.3.2 Management information response message 500)
Next, the management information response message 500 will be described with reference to FIG. FIG. 5 is a diagram illustrating an example of the format of the management information response message 500.
The management information response message 500 includes a destination address 510, a transmission source address 520, and management contents 530.

宛先アドレス510は、管理情報応答メッセージ500の最終的な宛先となるセンサデバイス100、或いはゲートウェイ200(のセンサモジュール)のネットワークアドレスである。   The destination address 510 is a network address of the sensor device 100 or gateway 200 (the sensor module) that is the final destination of the management information response message 500.

送信元アドレス520は、管理情報応答メッセージ500の送信元となるセンサデバイス100のネットワークアドレスである。   The transmission source address 520 is a network address of the sensor device 100 that is a transmission source of the management information response message 500.

管理内容530は、センサデバイス100の遠隔管理に関するデータ群であり、遠隔管理の内容を示す管理応答531、遠隔管理の対象パラメータ種別を示す管理パラメータ533を含む。   The management content 530 is a data group related to remote management of the sensor device 100, and includes a management response 531 indicating the content of remote management and a management parameter 533 indicating the target parameter type of remote management.

管理応答531は、管理情報要求メッセージ400により自センサデバイス100に対して指示された管理の命令内容に対する応答内容が記述される。すなわち、どのような管理命令451に対して応答しているのか、が管理応答531に記述される。   The management response 531 describes the response content to the management command content instructed to the sensor device 100 by the management information request message 400. That is, the management response 531 describes what management command 451 is responding to.

管理パラメータ533は、管理情報応答メッセージ500が扱うセンサデバイス100の状態情報に関するデータ群である。管理パラメータ533には、パラメータ535、インスタンス537が含まれる。尚、管理パラメータ533は、管理応答531の種類によっては、存在しない場合がある。   The management parameter 533 is a data group regarding the state information of the sensor device 100 handled by the management information response message 500. The management parameter 533 includes a parameter 535 and an instance 537. Note that the management parameter 533 may not exist depending on the type of the management response 531.

パラメータ535は、センサデバイス100の状態情報のパラメータ種別を指定するためのものである。すなわち、製造ベンダ情報(ベンダ名、ベンダコード)、デバイスモデル名、製造番号、利用している電源の種別情報、電力残量情報(バッテリ残量情報)、ネットワークアドレス、MACアドレス、ルーティング情報、隣接リンク品質情報、保持するソフトウェアモジュール、等の種別が、パラメータ535により指定される。   The parameter 535 is for designating the parameter type of the state information of the sensor device 100. That is, manufacturing vendor information (vendor name, vendor code), device model name, manufacturing number, type information of power source used, remaining power information (remaining battery information), network address, MAC address, routing information, adjacent Types such as link quality information, software modules to be held, and the like are designated by the parameter 535.

インスタンス537には、パラメータ535で指定されたパラメータ種別のインスタンス(実体、実体値)が記述される。例えば、パラメータ535で、種別としてデバイスモデル名が指定されている場合、インスタンス537には、デバイスモデルの名前の文字列あるいは文字列コードが記述される。尚、インスタンス537は、管理応答531の種類や、パラメータ535の種類によっては、存在しない(記述されない)場合もある。   In the instance 537, an instance (entity, entity value) of the parameter type designated by the parameter 535 is described. For example, when a device model name is specified as a type in the parameter 535, a character string or a character string code of the name of the device model is described in the instance 537. Note that the instance 537 may not exist (not described) depending on the type of the management response 531 and the type of the parameter 535.

(2.4 管理状態情報224)
次に、ゲートウェイ200の記憶部223が記憶する管理状態情報224について、図6を参照しながら説明する。図6は、実施形態1に係るゲートウェイ200の記憶部223に記録される管理状態情報224の例である。
(2.4 Management status information 224)
Next, the management status information 224 stored in the storage unit 223 of the gateway 200 will be described with reference to FIG. FIG. 6 is an example of the management status information 224 recorded in the storage unit 223 of the gateway 200 according to the first embodiment.

管理状態情報224は、ゲートウェイ200の応答方法指示決定部221が応答方法を決定する際や、応答メッセージ処理部227が欠損データの加工や未応答センサデバイスの応答情報を作成する際等に参照される情報である。   The management status information 224 is referred to when the response method instruction determination unit 221 of the gateway 200 determines a response method, or when the response message processing unit 227 processes missing data or creates response information of an unresponsive sensor device. Information.

ここで、管理状態情報224は、センサデバイス100の管理状態を、例えば図6に例を示す表のような形で保持する。但し、管理状態情報224の管理形式は表に限られるものではなく、同様の機能を実現できる形であれば、リスト構造やツリー構造、リング構造等、どのような形式であっても良い。   Here, the management status information 224 holds the management status of the sensor device 100 in the form of a table shown in FIG. 6 as an example. However, the management format of the management status information 224 is not limited to a table, and any format such as a list structure, a tree structure, or a ring structure may be used as long as a similar function can be realized.

管理状態情報224は、センサデバイスID224A、時刻224B、及び製造番号や電力残量情報等の管理パラメータ224Cを含む。管理状態情報224は、情報検索や情報挿入及び修正、削除において、センサデバイスID224A、時刻224B、管理パラメータ224Cのいずれの情報も、他の情報の鍵(キー)として使用することができる。例えば、センサデバイスID224Aをキーとして、新たな任意の時刻224B及び管理パラメータ224Cのデータを追加することができる。   The management status information 224 includes a sensor device ID 224A, a time 224B, and a management parameter 224C such as a manufacturing number and remaining power information. The management status information 224 can use any information of the sensor device ID 224A, the time 224B, and the management parameter 224C as a key of other information in information retrieval, information insertion, correction, and deletion. For example, new arbitrary time 224B and management parameter 224C data can be added using the sensor device ID 224A as a key.

センサデバイスID224Aは、センサデバイス100を固有に識別可能な識別子である。例えば、センサデバイスID224Aに用いられる情報の例としては、各センサデバイス100の通信モジュールに固有に割り当てられるMACアドレスや、或いはこれに相当する、装置固有の識別情報を使うことが考えられる。   The sensor device ID 224A is an identifier that can uniquely identify the sensor device 100. For example, as an example of information used for the sensor device ID 224A, it is conceivable to use a MAC address uniquely assigned to the communication module of each sensor device 100, or a device-specific identification information corresponding to this.

時刻224Bは、各センサデバイス100から管理情報応答メッセージ500を受信した時刻(或いは、管理情報応答メッセージ500を受信して、管理状態情報224にその情報を登録する時刻)である。時刻224Bは、絶対時刻(年月日、及び時、分、秒、ミリ秒)で示しても良いし、ゲートウェイ200の起動時刻を基準とした相対時刻で示しても良い。図6の例では、絶対時刻で時刻224Bが表現されている。また、時刻224Bでの記述粒度(何ミリ秒まで記述するか、或いは何マイクロ秒まで記述するか等)は、自由に設定することが可能である。   Time 224B is the time when the management information response message 500 is received from each sensor device 100 (or the time when the management information response message 500 is received and the information is registered in the management status information 224). The time 224B may be indicated by an absolute time (year, month, day, hour, minute, second, millisecond) or may be indicated by a relative time based on the activation time of the gateway 200. In the example of FIG. 6, the time 224B is expressed in absolute time. The granularity of description at time 224B (how many milliseconds or how many microseconds, etc.) can be freely set.

管理パラメータ224Cは、各センサデバイス100から、時刻224に記載の時刻に取得した各センサデバイス100の状態情報である。状態情報としては、例えば、製造ベンダ情報(ベンダ名、ベンダコード)、デバイスモデル名、製造番号、利用している電源の種類情報、電力残量情報(バッテリ残量情報)、ネットワークアドレス、MACアドレス、ルーティン偽情報、隣接リンク品質情報、保持するソフトウェアモジュール、等が挙げられる。   The management parameter 224 </ b> C is status information of each sensor device 100 acquired from each sensor device 100 at the time described in the time 224. The status information includes, for example, manufacturing vendor information (vendor name, vendor code), device model name, manufacturing number, power source type information used, remaining power information (remaining battery information), network address, MAC address. , Routine false information, adjacent link quality information, retained software modules, and the like.

(2.5 処理の流れ)
センサデバイス100及びゲートウェイ200の処理の流れを、図7及び図8をそれぞれ参照しながら説明する。
(2.5 Process flow)
The processing flow of the sensor device 100 and the gateway 200 will be described with reference to FIGS. 7 and 8 respectively.

(2.5.1 センサデバイス100の処理の流れ)
センサデバイス100の処理の流れを、図7を用いて説明する。図7は、実施形態1に係るセンサデバイス100の処理の流れを示すフローチャートである。尚、センサデバイス100は、図7に係るフローチャートの終了後、再度この処理を実行しても良い。
(2.5.1 Process flow of sensor device 100)
A processing flow of the sensor device 100 will be described with reference to FIG. FIG. 7 is a flowchart illustrating a process flow of the sensor device 100 according to the first embodiment. The sensor device 100 may execute this process again after the flowchart according to FIG.

管理情報要求メッセージ受信部110が管理情報要求メッセージ400を受信すると(S701)、パケット処理決定部120は、受信した管理情報要求メッセージ400が、転送する必要があるか否かを判別する(S703)。もし、受信した管理情報要求メッセージ400を転送する必要がある場合には(S703のYes)、管理情報メッセージ送信部150は、当該管理情報要求メッセージ400の転送処理を行う(S705)。   When the management information request message receiving unit 110 receives the management information request message 400 (S701), the packet processing determining unit 120 determines whether or not the received management information request message 400 needs to be transferred (S703). . If it is necessary to transfer the received management information request message 400 (Yes in S703), the management information message transmission unit 150 performs a transfer process of the management information request message 400 (S705).

ここで、パケット処理決定部120による転送処理を行うか否かの判断は、一般的なセンサネットワークのルーティングと同様に行うことができる。たとえば、ユニキャストパケット及びマルチキャストパケットに対しては、自装置宛でなければ、パケット処理決定部120は、定められた転送先にパケットを転送すべく判断する。また、ブロードキャストパケットについては、パケット処理決定部120は定められたブロードキャスト方式に従い、隣接のセンサデバイス100に送信すべく判断する。   Here, the determination of whether or not to perform the transfer process by the packet processing determination unit 120 can be performed in the same manner as the general sensor network routing. For example, if the unicast packet and the multicast packet are not addressed to the own device, the packet processing determination unit 120 determines to transfer the packet to a predetermined transfer destination. For the broadcast packet, the packet processing determining unit 120 determines to transmit to the adjacent sensor device 100 in accordance with the determined broadcast method.

受信した管理情報要求メッセージ400が転送する必要がない場合(S703のNo)、若しくは転送処理が完了した場合(S705)には、パケット処理決定部120は、当該管理情報要求メッセージ400が、自装置で処理すべき要求メッセージであるか否かを判別する(S707)。例えば、管理情報要求メッセージ400をユニキャストパケットとして受信した場合は、パケット処理決定部120は、宛先が自装置宛でなければ処理すべきでないパケットであると判断することができる。一方で、例えば管理情報要求メッセージ400をブロードキャストパケットとして受信した場合は、パケット処理決定部120は、自装置で処理すべきパケットだと判断することができる。その他、前述の通り、管理情報要求メッセージ400の受理処理に関する上位レイヤの判断に基づく受理及び破棄の判断もあり得る。   When the received management information request message 400 does not need to be transferred (No in S703), or when the transfer process is completed (S705), the packet processing determination unit 120 indicates that the management information request message 400 indicates In step S707, it is determined whether the request message is to be processed. For example, when the management information request message 400 is received as a unicast packet, the packet processing determining unit 120 can determine that the packet should not be processed unless the destination is the own device. On the other hand, for example, when the management information request message 400 is received as a broadcast packet, the packet processing determination unit 120 can determine that the packet is to be processed by the own device. In addition, as described above, there may be a determination of acceptance and discard based on the determination of the upper layer regarding the reception processing of the management information request message 400.

受信した管理情報要求メッセージ400を、自装置で処理すべきでない(受理すべきでない)と判断された場合には、S701に戻り、センサデバイス100は次の管理情報要求メッセージ400の受信を待つ。   If it is determined that the received management information request message 400 should not be processed (not to be accepted) by the own device, the process returns to S701, and the sensor device 100 waits for reception of the next management information request message 400.

受信した管理情報要求メッセージ400を、自装置で処理すべき(受理すべき)と判断された場合には、応答決定部131にて、管理情報要求メッセージ400内に、応答方法の指示が含まれているか否かを判別する(S709)。   When it is determined that the received management information request message 400 should be processed (accepted) by the own apparatus, the response determination unit 131 includes an instruction of a response method in the management information request message 400. It is determined whether or not (S709).

もし、受信した管理情報要求メッセージ400内に応答方法がある場合には(S709のYes)、当該応答方法と、記憶部135の応答方法情報136として記憶している、以前登録された応答方法とが、矛盾する内容であるか否かを応答決定部131は判断する(S711)。   If there is a response method in the received management information request message 400 (Yes in S709), the response method and the previously registered response method stored as the response method information 136 in the storage unit 135, However, the response determination unit 131 determines whether or not the content is inconsistent (S711).

もし、今回新たに指示された応答方法と、登録された応答方法とが矛盾する場合には、応答決定部131は、どちらの優先度が高いかを判断し(S713)、今回受信した管理情報要求メッセージ400により指示された応答方法の方が優先度が高い場合には(S713のYes)、応答決定部131は、当該応答方法を記憶部135に応答方法情報136として登録する(S715)。S713において、記憶部135に登録された応答方法の方が優先度が高い場合には、応答決定部131は、受信した管理情報要求メッセージ400により今回指示された応答方法を無視して、S717の処理に進む。   If the response method newly instructed this time is inconsistent with the registered response method, the response determination unit 131 determines which priority is higher (S713), and the management information received this time When the priority of the response method indicated by the request message 400 is higher (Yes in S713), the response determination unit 131 registers the response method in the storage unit 135 as response method information 136 (S715). If the response method registered in the storage unit 135 has a higher priority in S713, the response determination unit 131 ignores the response method instructed this time by the received management information request message 400, and in S717 Proceed to processing.

S711で、今回受信した管理情報要求メッセージ400で指示された応答方法と、応答方法情報136として登録済みの応答方法とが矛盾しない場合には(S711のNo)、応答決定部131は、今回の管理情報要求メッセージ400で指示された応答方法を、応答方法情報136に新たに記録(登録/更新)する(S715)。   If the response method specified in the management information request message 400 received this time and the response method registered as response method information 136 are not inconsistent in S711 (No in S711), the response determination unit 131 The response method specified by the management information request message 400 is newly recorded (registered / updated) in the response method information 136 (S715).

S715で応答方法を新たに記録した後、S709で応答方法の指示がなかった場合(S709のNo)、又はS713で受信した管理情報要求メッセージ400の優先度が低かった場合には(S713のNo)、応答決定部131は、記憶部135に記録された応答方法情報136及び応答方法計算情報137に基づいて(S717)、今回の管理情報要求メッセージ400に対して応答すべきか否かを判断する(S719)。   After a new response method is recorded in S715, if there is no response method instruction in S709 (No in S709), or if the priority of the management information request message 400 received in S713 is low (No in S713) The response determining unit 131 determines whether or not to respond to the current management information request message 400 based on the response method information 136 and the response method calculation information 137 recorded in the storage unit 135 (S717). (S719).

S719において、例えば、今回を含めて、これまでに応答方法情報136として登録された応答方法が何も存在しない場合には、応答決定部131は、今回の管理情報要求メッセージ400に応答すべきであると判断することができる。また、応答方法情報136として登録された応答方法が存在し、当該応答方法に対応する応答方法計算情報137で管理されるパラメータが定められた閾値や適合値を満たしている場合には、管理情報要求メッセージ400に対して応答すべきであると、満たしていない場合には応答すべきでないと、応答決定部131は判断することができる。応答すべきでないと判断する場合には、センサデバイス100は、図7に係る一連の処理を終了する。   In S719, for example, when there is no response method registered as response method information 136 so far including the current time, the response determination unit 131 should respond to the current management information request message 400. It can be judged that there is. If there is a response method registered as the response method information 136 and the parameters managed by the response method calculation information 137 corresponding to the response method satisfy a predetermined threshold value or conformity value, the management information The response determination unit 131 can determine that it should respond to the request message 400 and not respond if it does not satisfy the request message 400. If it is determined that the response should not be made, the sensor device 100 ends the series of processes according to FIG.

応答決定部131が、今回の管理情報要求メッセージ400に対して応答すると判断した場合には(S719のYes)、管理情報応答メッセージ作成部133は、記憶部140内の自装置の状態情報にかかるセンサ情報141を元に、管理情報応答メッセージ500を作成し、管理情報メッセージ送信部150はこれを送信する(S721)。   When the response determination unit 131 determines that the response to the current management information request message 400 is to be made (Yes in S719), the management information response message creation unit 133 applies the status information of the own device in the storage unit 140. A management information response message 500 is created based on the sensor information 141, and the management information message transmission unit 150 transmits this (S721).

(2.5.2 ゲートウェイ200の処理の流れ)
続いて、ゲートウェイ200の処理の流れを、図8を用いて説明する。図8は、実施例2に係るゲートウェイ200の処理の流れを示すフローチャートである。尚、ゲートウェイ200は、図8に係るフローチャートの終了後、再度この処理を実行しても良い。
(2.5.2 Processing flow of gateway 200)
Next, the processing flow of the gateway 200 will be described with reference to FIG. FIG. 8 is a flowchart illustrating a process flow of the gateway 200 according to the second embodiment. The gateway 200 may execute this process again after the flowchart according to FIG. 8 ends.

デバイス管理部210は、遠隔管理サーバ300から管理リクエストを受信したか否かを判別し(S801)、受信していない場合には(S801のNo)後述するS811の処理へ進む。   The device management unit 210 determines whether or not a management request has been received from the remote management server 300 (S801). If not received (No in S801), the device management unit 210 proceeds to processing in S811 described later.

遠隔管理サーバ300から管理リクエストを受信した場合には(S801のYes)、デバイス管理部210は、受信した管理リクエストの内容を解析し、どのような管理情報要求メッセージ400を送信すべきかを判断すると共に、管理情報要求メッセージ400の作成に必要な情報を抽出する(S803)。   When a management request is received from the remote management server 300 (Yes in S801), the device management unit 210 analyzes the content of the received management request and determines what management information request message 400 should be transmitted. At the same time, information necessary for creating the management information request message 400 is extracted (S803).

そして、応答方法指示決定部221は、作成するべき管理情報要求メッセージ400の内容(遠隔管理サーバ300からのリクエスト内容)と、センサデバイス100及びセンサネットワークN1の管理状態情報224とを元に、各センサデバイス100の応答方法(各センサデバイス100に指示する応答方法)を決定する(S805)。   Then, the response method instruction determination unit 221 uses the contents of the management information request message 400 to be created (request contents from the remote management server 300) and the management status information 224 of the sensor device 100 and sensor network N1 to A response method of the sensor device 100 (response method instructing each sensor device 100) is determined (S805).

決定したセンサデバイス100の応答方法(各センサデバイス100A乃至100Fにどのように応答すべきと指示したのか)は、ゲートウェイ200内で保持(記憶)しておくと共に(S807)、管理情報要求メッセージ作成部225は、決定した応答方法を元に管理情報要求メッセージ400を作成し、管理情報要求メッセージ送信部230はこれを送信する(S809)。   The determined response method of the sensor device 100 (how to instruct each sensor device 100A to 100F to respond) is held (stored) in the gateway 200 (S807), and a management information request message is created. The unit 225 creates the management information request message 400 based on the determined response method, and the management information request message transmission unit 230 transmits this (S809).

ステップ801で、遠隔管理サーバ300から管理リクエストを受信していない場合には(S801のNo)、管理情報応答メッセージ受信部240は、センサデバイス100から管理情報応答メッセージ500を受信したか否かを判別する(S811)。管理情報応答メッセージ500を受信していなかった場合には、後述のS819の処理へ移る。   If the management request is not received from the remote management server 300 in step 801 (No in S801), the management information response message receiving unit 240 determines whether the management information response message 500 is received from the sensor device 100 or not. It is determined (S811). If the management information response message 500 has not been received, the process proceeds to S819 described later.

もし、管理情報応答メッセージ500を受信した場合には(S811のYes)、応答メッセージ処理部227は、当該管理情報応答メッセージ500に欠損があるか否かを調べる(S813)。もし、一部にでも欠損があった場合には(S813のYes)、応答メッセージ処理部227は、該当するセンサデバイス100に関する管理状態情報224、及びセンサネットワークN1の管理状態情報、及びステップS807で記憶(保持)した応答方法を参照して、欠損データを補填(加工)する(S815)。   If the management information response message 500 is received (Yes in S811), the response message processing unit 227 checks whether or not the management information response message 500 is missing (S813). If any part is missing (Yes in S813), the response message processing unit 227 sends the management status information 224 regarding the corresponding sensor device 100, the management status information of the sensor network N1, and step S807. With reference to the stored (retained) response method, the missing data is compensated (processed) (S815).

ステップS815の終了後、又はステップ813でNoであった場合、受信した管理情報応答メッセージ500のデータ(欠損があった場合には、欠損データが補填された後の管理情報応答メッセージ500のデータ)を元に(S813のNo、815)、応答メッセージ処理部227は応答情報を作成し、デバイス管理部210は当該応答情報を遠隔管理サーバ300へ送信する(S817)。   After the completion of step S815, or in the case of No in step 813, the received management information response message 500 data (if there is a missing data, the management information response message 500 data after the missing data is compensated) Based on the above (No in S813, 815), the response message processing unit 227 creates response information, and the device management unit 210 transmits the response information to the remote management server 300 (S817).

応答メッセージ処理部227は、定期間隔で行う遠隔管理の期間内において、定められた閾値時刻(管理情報応答メッセージ500の受信を受け付ける限界時刻)を途過したか否かを調べる。もし、閾値時刻を途過していなければ(S819のNo)、S801へ戻って、ゲートウェイ200は管理リクエストの新たな受信を判別する。   The response message processing unit 227 checks whether or not a predetermined threshold time (limit time for accepting reception of the management information response message 500) has been missed within the remote management period performed at regular intervals. If the threshold time has not passed (No in S819), the process returns to S801, and the gateway 200 determines that a new management request has been received.

尚、閾値時刻は、ゲートウェイ200内で独自に定めた時刻、遠隔管理サーバ300から与えられた時刻、遠隔管理サーバ300から次のサイクルの遠隔管理指示を受信した時刻等の、いずれであっても良い。   The threshold time is any one of a time uniquely determined in the gateway 200, a time given from the remote management server 300, a time when a remote management instruction for the next cycle is received from the remote management server 300, and the like. good.

もし、閾値時刻を経過して(S819のYes)、まだ未応答のセンサデバイス100が存在する場合には(管理情報応答メッセージ500を送信してこなかったセンサデバイス100、若しくはパケットロス等により管理情報応答メッセージ500をゲートウェイ200が受信することができなかったセンサデバイス100が存在する場合)、応答メッセージ処理部227は、該当するセンサデバイス100に対応する管理状態情報224、及びステップ807で記憶した応答方法を参照して、遠隔管理サーバ300へ応答する応答情報を作成(加工)する(S821)。
そして、デバイス管理部210は、応答メッセージ処理部227が作成した応答情報を、遠隔管理サーバ300へと送信する(S823)。
If the threshold time has passed (Yes in S819) and there is still a sensor device 100 that has not yet responded (management information due to a sensor device 100 that has not transmitted the management information response message 500 or packet loss). When there is a sensor device 100 in which the gateway 200 could not receive the response message 500), the response message processing unit 227 includes the management status information 224 corresponding to the corresponding sensor device 100 and the response stored in step 807. Referring to the method, response information that responds to the remote management server 300 is created (processed) (S821).
The device management unit 210 transmits the response information created by the response message processing unit 227 to the remote management server 300 (S823).

(2.6 本実施形態に係る効果)
以上説明したように、本実施形態1では、センサデバイス100が、ゲートウェイ200により送信された管理情報要求メッセージ400の応答方法の指示に従い、管理情報要求メッセージ400へ応答するか否か(管理情報応答メッセージ500を送信するか否か)を判別する。これにより、少なくとも一部の管理情報要求メッセージ400に対しては応答する必要がなくなり、結果として、遠隔管理通信における管理情報応答メッセージ500に係るトラヒックを抑制することが可能となる。
(2.6 Effects of this embodiment)
As described above, in the first embodiment, whether the sensor device 100 responds to the management information request message 400 according to the instruction of the response method of the management information request message 400 transmitted by the gateway 200 (management information response). Whether or not to send the message 500). Accordingly, it is not necessary to respond to at least a part of the management information request message 400, and as a result, it is possible to suppress traffic related to the management information response message 500 in the remote management communication.

すなわち、ゲートウェイ200が、電力消費を抑制するように適切な応答方法を指定すれば、センサデバイス100の電力消費を低減し、結果として、センサネットワークN1全体の稼動寿命を延長することが可能となる。   That is, if the gateway 200 specifies an appropriate response method so as to suppress power consumption, the power consumption of the sensor device 100 can be reduced, and as a result, the operational life of the entire sensor network N1 can be extended. .

また、ゲートウェイ200は、定められた時刻までに未応答のセンサデバイス100(管理情報応答メッセージ500を送信しなかったセンサデバイス100、又はパケットロス等により管理情報応答メッセージ500がゲートウェイ200に届かなかったセンサデバイス100)の応答情報を、該当センサデバイス100の過去の情報を元に作成することで、各センサデバイス100A乃至100Fの管理情報を遠隔管理サーバ300へ送信することができる。   In addition, the gateway 200 has not received the management information response message 500 to the gateway 200 due to a sensor device 100 that has not responded by a predetermined time (the sensor device 100 that has not transmitted the management information response message 500 or a packet loss). By creating the response information of the sensor device 100) based on the past information of the corresponding sensor device 100, the management information of each sensor device 100A to 100F can be transmitted to the remote management server 300.

従って、定期間隔でセンサデバイス100を管理する遠隔管理を実現しつつ、遠隔管理を実現する遠隔管理通信に係る通信トラヒックに係る電力消費を抑制できるため、センサネットワークN1及びセンサデバイス100の寿命を延ばすことが可能となる。   Accordingly, it is possible to suppress power consumption related to communication traffic related to remote management communication for realizing remote management while realizing remote management for managing the sensor device 100 at regular intervals, thereby extending the lifetime of the sensor network N1 and the sensor device 100. It becomes possible.

(3 実施形態2)
以下、実施形態2について説明する。尚、実施形態1と同一若しくは対応する構成については、実施形態1と同様の符号を付すと共に、説明を省略している場合がある。構成以外でも、作用、効果、及び処理内容等について、実施形態1と共通する部分については、説明を省略している。以下、実施形態1との相違点を中心に、説明を行う。
(3 Embodiment 2)
The second embodiment will be described below. In addition, about the structure which is the same as that of Embodiment 1, or corresponds, the code | symbol similar to Embodiment 1 is attached | subjected, and description may be abbreviate | omitted. In addition to the configuration, the description of operations, effects, processing contents, and the like that are the same as those in the first embodiment is omitted. Hereinafter, the description will be focused on differences from the first embodiment.

図9乃至図11は、本発明の実施形態2を説明するための図である。以下、これらの図を参照しながら、以下の流れに沿って本実施形態を説明する。まず、「3.1」で実施形態2全体の概要を示す。その上で、「3.2」でセンサデバイス100の構成を、「3.3」で処理の流れを説明する。最後に、「3.4」で実施形態2に係る効果等を説明する。   9 to 11 are diagrams for explaining the second embodiment of the present invention. Hereinafter, the present embodiment will be described along the following flow with reference to these drawings. First, “3.1” gives an overview of the entire second embodiment. Then, the configuration of the sensor device 100 will be described with “3.2”, and the process flow will be described with “3.3”. Finally, “3.4” describes effects and the like according to the second embodiment.

(3.1 概要)
実施形態2に係るセンサデバイス100は、管理情報要求メッセージ400を受信した際に、今回又は以前管理情報要求メッセージ400により指示された応答方法、又はセンサデバイス100の内部で独自に設定された応答方法に基づいて、管理情報応答メッセージ500を作成、送信する。
(3.1 Overview)
When the sensor device 100 according to the second embodiment receives the management information request message 400, the response method instructed by the current or previous management information request message 400 or a response method uniquely set in the sensor device 100 The management information response message 500 is created and transmitted based on the above.

つまり、センサデバイス100が、応答方法の指示を含む管理情報要求メッセージ400を受信した際に、指示された応答方法を参照して保持することに加えて、任意のタイミングでセンサデバイス100の内部で独自に定めた応答方法を保持する点が、実施形態1との大きな違いである。   That is, when the sensor device 100 receives the management information request message 400 including the response method instruction, the sensor device 100 refers to and holds the instructed response method. A significant difference from the first embodiment is that a uniquely defined response method is maintained.

以下、図9を参照しながら実施形態2の概要(具体例)を説明する。
図9は、実施形態2に係る通信装置であるセンサデバイス100及びゲートウェイ200が含まれる、具体例に係る通信システム1の概略構成を示す図である。図9に示すように、本実施形態に係る通信システム1も、実施形態1と同様に、センサデバイス100、ゲートウェイ200、及び遠隔管理サーバ300を含む。各装置の大まかな機能等については、実施形態1とほぼ同様であるので、説明を省略する。
The outline (specific example) of the second embodiment will be described below with reference to FIG.
FIG. 9 is a diagram illustrating a schematic configuration of a communication system 1 according to a specific example including the sensor device 100 and the gateway 200 which are communication apparatuses according to the second embodiment. As illustrated in FIG. 9, the communication system 1 according to the present embodiment also includes the sensor device 100, the gateway 200, and the remote management server 300 as in the first embodiment. The general functions and the like of each device are substantially the same as those in the first embodiment, and thus description thereof is omitted.

尚、図9の例では、通信システム1に遠隔管理サーバ300が含まれるが、実施形態1と同様に、遠隔管理サーバ300の機能の全て或いは一部がゲートウェイ200に備わることで、遠隔管理サーバ300が存在しない構成とすることも可能である。   In the example of FIG. 9, the remote management server 300 is included in the communication system 1. However, as in the first embodiment, all or part of the functions of the remote management server 300 are provided in the gateway 200, so that the remote management server 300 It is also possible to adopt a configuration in which 300 does not exist.

任意のタイミングにおいて、センサデバイス100Cは、新たにローカルに自装置の応答方法(「管理情報要求メッセージ400に対して、毎回応答する」)を策定する。この応答方法は、以前から応答方法情報136として記憶している応答方法と矛盾しているため、センサデバイス100Cは、この以前から記憶している応答方法と、自装置で策定した応答方法との優先度を比較する。ここでは、センサデバイス100Cは、新たに策定した応答方法の方が優先度が高いものと判断し、新規に保持するものとする。以降の動作説明は、この処理が完了した後のものである。   At an arbitrary timing, the sensor device 100C newly formulates its own response method (“responds to the management information request message 400 every time”) locally. Since this response method is inconsistent with the response method previously stored as the response method information 136, the sensor device 100C determines that the response method stored previously and the response method established by the device itself are the same. Compare priorities. Here, the sensor device 100C determines that the newly established response method has a higher priority, and newly holds it. The subsequent operation description is after this processing is completed.

ゲートウェイ200は、遠隔管理サーバ300から、遠隔管理の指示を受信し、センサデバイス100との遠隔管理通信を開始する。より具体的には、ゲートウェイ200は、各センサデバイス100A乃至100Fに対して、ブロードキャストによって管理情報要求メッセージ400を送信する。   The gateway 200 receives a remote management instruction from the remote management server 300 and starts remote management communication with the sensor device 100. More specifically, the gateway 200 transmits a management information request message 400 by broadcast to each of the sensor devices 100A to 100F.

尚、図9の例では、管理情報要求メッセージ400の伝播にブロードキャスト通信が用いられているが、これに限られるものではない。例えば、ユニキャスト通信やマルチキャスト通信を用いることも可能である。   In the example of FIG. 9, broadcast communication is used for propagation of the management information request message 400, but the present invention is not limited to this. For example, it is possible to use unicast communication or multicast communication.

図9に例を示す管理情報要求メッセージ400には、宛先としてブロードキャストアドレスである「0xFFFF」が、送信元としてゲートウェイ200のアドレスである「0x1234」が、管理命令として各センサデバイス100にパラメータのインスタンスの応答を指示する「パラメータ取得」が、命令対象のパラメータとして「電力残量情報」が、それぞれ指定されている。また、センサデバイス100に対する応答方法として、「A、C、Fのセンサデバイスは、今回の管理情報要求メッセージから3回目の管理情報要求メッセージに応答すること」との内容が、管理情報要求メッセージ400内で指定されている。   In the management information request message 400 shown in FIG. 9, the broadcast address “0xFFFF” is the destination, the gateway 200 address “0x1234” is the destination, and the parameter instance is sent to each sensor device 100 as the management command. “Parameter acquisition” instructing the response to “command” and “remaining power information” as the command target parameter are specified. Further, as a response method to the sensor device 100, the content that “the sensor devices of A, C, and F respond to the third management information request message from the current management information request message” is the management information request message 400. It is specified in.

管理情報要求メッセージ400を受信したセンサデバイス100A及び100Fは、応答方法に自装置向けの指示があることを確認し、「A、C、Fのセンサデバイスは、今回の管理情報要求メッセージから3回目の管理情報要求メッセージに応答すること」との指示に従い、今回の管理情報要求メッセージ400に対して応答しない。   The sensor devices 100A and 100F that have received the management information request message 400 confirm that there is an instruction for the device in their response method, and “A, C, F sensor devices are the third time from the current management information request message. In response to the instruction “Respond to management information request message”, the management information request message 400 of this time is not responded.

一方で、管理情報要求メッセージ400を受信したセンサデバイス100Cは、管理情報要求メッセージ400に含まれる応答方法(「今回から3回目の管理情報要求メッセージに応答すること」)と、自装置が保持する応答方法(ローカルで策定した応答方法であり、「管理情報要求メッセージには毎回応答すること」)とが矛盾することを判断する。センサデバイス100Cは、両応答方法の優先度を比較し、もし自装置が保持する応答方法の優先度が高いと判断した場合には、管理情報要求メッセージ400内で指示された応答方法を破棄する。そして、センサデバイス100Cは、管理命令451と命令対象のパラメータ455とを参照することで、電力残量情報(バッテリ残量情報)の値を含む管理情報応答メッセージ500を作成して送信する。   On the other hand, the sensor device 100C that has received the management information request message 400 holds the response method included in the management information request message 400 (“responding to the third management information request message from this time”) and the device itself. It is determined that there is a contradiction with the response method (a response method established locally, “response to the management information request message every time”). The sensor device 100C compares the priorities of the two response methods, and discards the response method indicated in the management information request message 400 if it is determined that the priority of the response method held by itself is high. . Then, the sensor device 100C creates and transmits a management information response message 500 including the value of the remaining power information (remaining battery information) by referring to the management command 451 and the command target parameter 455.

また、管理情報要求メッセージ400を受信したセンサデバイス100B、100E、及び100Dは、応答方法に自分向けの指示がないことを確認し、管理命令451と命令対象のパラメータ455とを参照することで、電力残量情報(バッテリ残量情報)の値を含めた管理情報応答メッセージ500を、ゲートウェイ200へ送信する。   The sensor devices 100B, 100E, and 100D that have received the management information request message 400 confirm that there is no instruction for themselves in the response method, and refer to the management command 451 and the command target parameter 455, A management information response message 500 including the value of the remaining power information (remaining battery information) is transmitted to the gateway 200.

センサデバイス100C、100B、100E、100Dが送信する管理情報応答メッセージ500には、宛先としてゲートウェイ200のアドレス「0x1234」、送信元として各センサデバイス100のアドレス(図9のセンサデバイス100Cの場合、「0x000C」)、管理応答としてパラメータ取得の命令に対する応答であることを示す「パラメータ応答」、応答対象のパラメータ種別として「電力残量情報」、パラメータのインスタンス値として、各デバイスの電力残量値(図9のセンサデバイス100Cの場合、「18188」)が、それぞれ含まれる。   The management information response message 500 transmitted by the sensor devices 100C, 100B, 100E, and 100D includes an address “0x1234” of the gateway 200 as a destination and an address of each sensor device 100 as a transmission source (in the case of the sensor device 100C in FIG. 0x000C ”),“ parameter response ”indicating a response to the parameter acquisition command as a management response,“ remaining power information ”as the response target parameter type, and the remaining power value of each device as the parameter instance value ( In the case of the sensor device 100C of FIG. 9, “18188”) is included.

ゲートウェイ200は、受信した管理情報応答メッセージ500の情報を保持すると共に、遠隔管理サーバ300へ応答情報を通知する。また、定期管理の閾値を超えた時点(次の定期管理に入る直前)、或いは遠隔管理サーバ300に次の管理を指示された時点等に、ゲートウェイ200は、未応答のセンサデバイス100A及び100Fの応答情報を、以前にセンサデバイス100A及び100Fから取得していた管理状態情報224に基づいて作成し、作成した応答情報を遠隔管理サーバ300へ通知する。   The gateway 200 holds the information of the received management information response message 500 and notifies the remote management server 300 of the response information. Further, at the time when the threshold for regular management is exceeded (immediately before entering the next regular management), or when the remote management server 300 is instructed to perform the next management, the gateway 200 receives the unresponsive sensor devices 100A and 100F. Response information is created based on the management status information 224 previously acquired from the sensor devices 100A and 100F, and the created response information is notified to the remote management server 300.

上述の通り、センサデバイス100は、ゲートウェイ200により送信された管理情報要求メッセージ400の応答方法、或いは任意のタイミングにおいてセンサデバイス100がローカルに策定した応答方法の指示に従って、管理情報要求メッセージ400への応答として管理情報応答メッセージ500を送信するか否かを判定する。   As described above, the sensor device 100 sends the management information request message 400 to the management information request message 400 according to an instruction of a response method of the management information request message 400 transmitted by the gateway 200 or a response method established locally by the sensor device 100 at an arbitrary timing. It is determined whether or not the management information response message 500 is transmitted as a response.

これにより、センサデバイス100は少なくとも一部の管理情報要求メッセージ400に対しては応答する必要がなくなるため、結果として、遠隔管理通信における、管理情報応答メッセージ500に係るトラヒックを抑制することが可能となる。   This eliminates the need for the sensor device 100 to respond to at least some of the management information request messages 400. As a result, it is possible to suppress traffic related to the management information response message 500 in remote management communication. Become.

すなわち、ゲートウェイ200又はセンサデバイス100が、適切な応答方法を指定(選択)することで、センサデバイス100の電力消費を低減し、結果として、センサネットワークN1全体の稼動寿命を延ばすことが可能となる。   That is, the gateway 200 or the sensor device 100 designates (selects) an appropriate response method, thereby reducing the power consumption of the sensor device 100 and, as a result, extending the operational life of the entire sensor network N1. .

また、任意のタイミングにおいて、センサデバイス100内で応答方法をローカルに策定することによって、センサデバイス100の製造者や設置者、及び利用者のポリシーを反映した消費電力の抑制を実現することが可能となる。   In addition, by formulating a response method locally in the sensor device 100 at an arbitrary timing, it is possible to reduce power consumption reflecting the policy of the manufacturer, installer, and user of the sensor device 100. It becomes.

また、ゲートウェイ200は、定められた時刻までに未応答のセンサデバイス100(管理情報応答メッセージ500を送信しなかったセンサデバイス100、又はパケットロス等により管理情報応答メッセージ500がゲートウェイ200に届かなかったセンサデバイス100)の応答情報を、保持している、当該センサデバイス100の過去の情報を元に作成することで、センサデバイス100A乃至100F全ての管理情報を、遠隔管理サーバ300へ送信することができる。   In addition, the gateway 200 has not received the management information response message 500 to the gateway 200 due to a sensor device 100 that has not responded by a predetermined time (the sensor device 100 that has not transmitted the management information response message 500 or a packet loss). By generating response information of the sensor device 100) based on the past information of the sensor device 100 that is held, all management information of the sensor devices 100A to 100F can be transmitted to the remote management server 300. it can.

従って、定期間隔でセンサデバイス100を管理する遠隔管理を実現しつつ、センサデバイス100の製造者や設置者、及び利用者のポリシーを反映する形で、遠隔管理を実現する遠隔管理通信に係る通信トラヒックを抑えて、センサネットワークN1及びセンサデバイス100の寿命を延ばすことが可能となる。   Therefore, communication related to remote management communication that realizes remote management while reflecting the policies of the manufacturer, installer, and user of the sensor device 100 while realizing remote management for managing the sensor device 100 at regular intervals. It is possible to extend the lifetime of the sensor network N1 and the sensor device 100 by suppressing traffic.

(3.2 デバイスの構成)
本実施形態に係るセンサデバイス100の構成について、図10を参照しながら説明する。尚、図10において、実線の矢印は、各構成間の制御や参照、情報の流れを示す。
(3.2 Device configuration)
The configuration of the sensor device 100 according to the present embodiment will be described with reference to FIG. In FIG. 10, solid arrows indicate control, reference, and information flow between components.

先述した通り、実施形態2に係るセンサデバイス100は、管理情報要求メッセージ400を受信し、当該管理情報要求メッセージ400内で指示された応答方法、及び、任意のタイミングに、センサデバイス100内で独自に定めた応答方法に従って、それ以降の管理情報要求メッセージ400に対する管理情報応答メッセージ500を作成及び送信する。   As described above, the sensor device 100 according to the second embodiment receives the management information request message 400 and uses the response method instructed in the management information request message 400 and an arbitrary timing in the sensor device 100. The management information response message 500 for the subsequent management information request message 400 is created and transmitted in accordance with the response method defined in (1).

センサデバイス100は、管理情報要求メッセージ400を受信する管理情報要求メッセージ受信部110、受信した管理情報要求メッセージ400の受理及び転送を判別するパケット処理決定部120、管理情報要求メッセージ400内の応答方法の処理並びに管理情報応答メッセージ500の作成を行う応答処理部130、センサデバイス100の状態情報であるセンサ情報141を記憶する記憶媒体である記憶部140、管理情報応答メッセージ500の送信及び管理情報要求メッセージ400の転送を行う管理情報メッセージ送信部150、他のセンサデバイス100と直接に通信するためのセンサデバイスインタフェース160、及び、任意のタイミングで応答方法を設定する応答方法指示部170を含む。   The sensor device 100 includes a management information request message receiving unit 110 that receives the management information request message 400, a packet processing determination unit 120 that determines acceptance and transfer of the received management information request message 400, and a response method in the management information request message 400 And a response processing unit 130 that creates a management information response message 500, a storage unit 140 that is a storage medium that stores sensor information 141 that is state information of the sensor device 100, a transmission of a management information response message 500, and a management information request It includes a management information message transmitter 150 for transferring the message 400, a sensor device interface 160 for directly communicating with other sensor devices 100, and a response method instruction unit 170 for setting a response method at an arbitrary timing.

管理情報要求メッセージ受信部110、及びパケット処理決定部120の機能及び他の機能との連携については、実施形態1と同様であるので説明を省略する。また、管理情報要求メッセージ受信部110で受信する管理情報要求メッセージ400のフォーマット等についても、実施形態1と同様であるので、ここでは説明を省略する。   Since the functions of the management information request message receiving unit 110 and the packet processing determining unit 120 and the cooperation with other functions are the same as those in the first embodiment, the description thereof is omitted. Further, the format of the management information request message 400 received by the management information request message receiving unit 110 is the same as that in the first embodiment, and thus the description thereof is omitted here.

応答処理部130は、パケット処理決定部120から受取った管理情報要求メッセージ400のデータ内にある応答方法を参照し、当該応答方法と、応答方法指示部170に指示された応答方法とから、応答方法を決定して記憶(保持)する。また、応答処理部130は、保持した応答方法を参照し、今回受取った管理情報要求メッセージ400に対して管理情報応答メッセージ500を送信するか否かを判断し、管理情報応答メッセージ500を送信すると判断した場合には、自装置のセンサ情報141を元に、管理情報応答メッセージ500を作成する。   The response processing unit 130 refers to the response method in the data of the management information request message 400 received from the packet processing determination unit 120, and from the response method and the response method instructed by the response method instruction unit 170, the response processing unit 130 The method is determined and stored (held). The response processing unit 130 refers to the stored response method, determines whether to transmit the management information response message 500 to the management information request message 400 received this time, and transmits the management information response message 500. If it is determined, the management information response message 500 is created based on the sensor information 141 of the own device.

応答処理部130は、応答方法を決定し、応答するべきか否かを判別する応答決定部131、応答方法を応答方法情報136として記憶(保持)すると共に、管理情報要求メッセージ400の受信回数等のパラメータである応答方法計算情報137を記憶する記憶部135、管理情報応答メッセージ500を作成する管理情報応答メッセージ作成部133を含む。   The response processing unit 130 determines a response method, determines whether or not to respond, stores (holds) the response method as response method information 136, and receives the management information request message 400, etc. A storage unit 135 that stores response method calculation information 137 that is a parameter of the management information, and a management information response message creating unit 133 that creates a management information response message 500

応答決定部131は、パケット処理決定部120から受取った管理情報要求メッセージ400のデータ内にある応答方法、或いは応答方法指示部170から指示された応答方法を参照し、最終的に選択する応答方法を決定して、記憶部135に応答方法情報136として記録する。   The response determination unit 131 refers to the response method in the data of the management information request message 400 received from the packet processing determination unit 120 or the response method instructed from the response method instruction unit 170 and finally selects the response method. Is recorded as response method information 136 in the storage unit 135.

尚、応答決定部131は、記憶部135に複数の応答方法情報136を記憶させることができるが、応答方法情報136として記憶された応答方法と矛盾する応答方法での対応を決定した場合には、優先度の高い応答方法を応答方法情報136として記憶し、優先度の低い応答方法は、応答方法情報136から削除する。   The response determination unit 131 can store a plurality of response method information 136 in the storage unit 135. However, when the response determination unit 131 determines a response with a response method that is inconsistent with the response method stored as the response method information 136. The response method having a high priority is stored as the response method information 136, and the response method having a low priority is deleted from the response method information 136.

ここで、優先度は、パケット処理決定部120から受取った管理情報要求メッセージ400のデータ内にある応答方法、及び応答方法指示部170から指示された応答方法のいずれに対しても、共通のものを用いる。優先度は、センサネットワークN1の運用ポリシーに基づき、運用者やセンサデバイス100の製造者及び設置者等が自由に設定できるが、一般的には、新たに決定された応答方法の方が優先度が高い。   Here, the priority is common to both the response method in the data of the management information request message 400 received from the packet processing determination unit 120 and the response method instructed from the response method instruction unit 170. Is used. The priority can be freely set by the operator, the manufacturer and the installer of the sensor device 100 based on the operation policy of the sensor network N1, but in general, the newly determined response method has a higher priority. Is expensive.

また、応答決定部131は、今回自装置が受信した管理情報要求メッセージ400に対して、今回及び以前に応答方法情報136として保持した応答方法、及び応答方法計算情報137に基づき、管理情報応答メッセージ500を送信するか否か、すなわち、管理情報要求メッセージ400に対して応答するか否かを判断する。応答決定部131は、今回自装置が受信した管理情報要求メッセージ400に対して管理情報応答メッセージ500を送信すると判断した場合、管理情報応答メッセージ作成部133に、管理情報応答メッセージ500の作成を指示する。   In addition, the response determination unit 131 responds to the management information request message 400 received by the device itself this time based on the response method and response method calculation information 137 held as response method information 136 this time and before. It is determined whether or not 500 is transmitted, that is, whether or not to respond to the management information request message 400. When the response determination unit 131 determines to transmit the management information response message 500 in response to the management information request message 400 received by the device itself this time, the response determination unit 131 instructs the management information response message creation unit 133 to create the management information response message 500. To do.

また、応答決定部131は、管理情報要求メッセージ400を受信したことにより、応答方法計算情報137を更新する。例えば、応答方法情報136として、「管理情報要求メッセージを2回受信してから管理情報応答メッセージを1回送信しろ」との応答方法を保持していた場合には、応答決定部131は、今回の管理情報要求メッセージ400の受信が何回目なのかというパラメータを、応答方法計算情報137として記憶し、更新する。   Further, the response determination unit 131 updates the response method calculation information 137 by receiving the management information request message 400. For example, if the response method information 136 holds a response method of “transmit the management information response message once after receiving the management information request message twice”, the response determining unit 131 A parameter indicating how many times the management information request message 400 is received is stored as response method calculation information 137 and updated.

尚、応答決定部131は、センサ情報(自装置の状態情報)の内容を応答条件に含む応答方法を受け取っている場合には、記憶部140のセンサ情報141を参照する。そして、応答決定部131は、参照したセンサ情報141の内容に応じて、記憶部135の応答方法計算情報137を更新する。   In addition, the response determination part 131 refers to the sensor information 141 of the memory | storage part 140, when the response method which contains the content of sensor information (status information of an own apparatus) as a response condition is received. Then, the response determination unit 131 updates the response method calculation information 137 in the storage unit 135 according to the content of the referenced sensor information 141.

記憶部135が記憶する応答方法情報136及び応答方法計算情報137、並びに記憶部140が記憶するセンサ情報141の内容等は、実施形態1と同様であるので、説明を省略する。   Since the response method information 136 and response method calculation information 137 stored in the storage unit 135 and the contents of the sensor information 141 stored in the storage unit 140 are the same as those in the first embodiment, description thereof will be omitted.

また、管理情報応答メッセージ作成部133、管理情報メッセージ送信部150、及び管理情報メッセージ送信部150の機能及び他の機能との連携については、実施形態1と同様であるので説明を省略する。   Further, the functions of the management information response message creation unit 133, the management information message transmission unit 150, and the management information message transmission unit 150 and the cooperation with other functions are the same as those in the first embodiment, and thus the description thereof is omitted.

応答方法指示部170は、任意のタイミングにおいて、自装置の応答方法を作成し、応答決定部131に、作成した応答方法を指示する。応答方法指示部170による応答方法の策定は、例えば、センサデバイス100の外部から直接に指示される場合や、センサデバイス100に予め設定されたアルゴリズム(応答方法の決定アルゴリズム)に基づき決定される場合等が考えられる。応答方法決定アルゴリズムの例としては、例えば、以下のようなものが考えられる。   The response method instruction unit 170 creates a response method of the own device at an arbitrary timing, and instructs the response determination unit 131 of the created response method. The response method formulation by the response method instructing unit 170 is determined, for example, when instructed directly from the outside of the sensor device 100 or when determined based on an algorithm preset in the sensor device 100 (response method determining algorithm). Etc. are considered. As an example of the response method determination algorithm, for example, the following can be considered.

・センサデバイス100のバッテリ残量が、定められた閾値を超えた場合に、何らかの応答方法を策定する。
・センサデバイス100のセンサ情報141の任意のパラメータが、定めた変動値内であれば、何らかの応答方法を策定する。
・センサデバイス100の製造者、設置者、及び利用者の定めた任意パラメータの応答限界回数ポリシーに従い、何らかの応答方法を策定する。
・センサデバイス100のゲートウェイ200までのホップ数によって、何らかの応答方法を策定する。
・センサデバイス100の備えるモジュール(アプリケーション)、或いは、アクティブになったモジュールに応じて、何らかの応答方法を策定する。
・センサデバイス100がゲートウェイ200までの中継処理を行うセンサデバイス100の数に応じて、何らかの応答方法を策定する。
・センサデバイス100が、ゲートウェイ200から受信した管理情報要求メッセージ400の応答方法を参照して、何らかの応答方法を策定する。
A certain response method is formulated when the remaining battery level of the sensor device 100 exceeds a predetermined threshold.
If any parameter of the sensor information 141 of the sensor device 100 is within the determined fluctuation value, some response method is formulated.
A certain response method is formulated according to the response limit frequency policy of an arbitrary parameter determined by the manufacturer, installer, and user of the sensor device 100.
Depending on the number of hops to the gateway 200 of the sensor device 100, some response method is formulated.
A certain response method is formulated according to a module (application) included in the sensor device 100 or an activated module.
A certain response method is formulated according to the number of sensor devices 100 that perform relay processing to the gateway 200 by the sensor device 100.
The sensor device 100 formulates some response method with reference to the response method of the management information request message 400 received from the gateway 200.

尚、応答方法指示部170が策定する応答方法は、実施形態1のゲートウェイ200が策定しうる応答方法と同様であるので、ここでは説明を省略する。   Note that the response method formulated by the response method instruction unit 170 is the same as the response method that can be formulated by the gateway 200 of the first embodiment, and thus description thereof is omitted here.

尚、実施形態1に係るセンサデバイス100と実施形態2にかかるセンサデバイス100とは、相互に通信することが可能である。   The sensor device 100 according to the first embodiment and the sensor device 100 according to the second embodiment can communicate with each other.

(3.3 処理の流れ)
次に、実施形態2に係るセンサデバイス100の、応答方法の策定に係る処理の流れを、図11を参照しながら説明する。図11は、センサデバイス100の動作を示すフローチャートである。尚、管理情報要求メッセージ400及び管理情報応答メッセージ500の送受信に関する一連の動作は、第1実施形態とほぼ同様であるので、ここでは説明を省略する。尚、センサデバイス100は、図11に係るフローチャートの終了後、再度この処理を実行しても良い。
(3.3 Process flow)
Next, the flow of processing related to the formulation of the response method of the sensor device 100 according to the second embodiment will be described with reference to FIG. FIG. 11 is a flowchart showing the operation of the sensor device 100. Note that a series of operations related to transmission / reception of the management information request message 400 and the management information response message 500 are substantially the same as those in the first embodiment, and thus description thereof is omitted here. The sensor device 100 may execute this process again after the flowchart according to FIG. 11 ends.

応答方法指示部170は、任意のタイミングにおいて、応答方法を策定する(S1101)。応答方法の策定は、センサデバイス100の外部から直接指示される場合や、センサデバイス100が備えるアルゴリズム(応答方法決定アルゴリズム)により決定する場合等がある。   The response method instruction unit 170 formulates a response method at an arbitrary timing (S1101). The response method may be formulated directly from the outside of the sensor device 100 or may be determined by an algorithm (response method determination algorithm) included in the sensor device 100.

次に、応答決定部131は、応答方法指示部170が新たに策定した応答方法が、記憶部135に応答方法情報136として以前から保持する応答方法と矛盾する内容でないかを調べる(S1103)。両応答方法に矛盾がある場合には(S1103のYes)、応答決定部131は、どちらの優先度が高いかを判別する(S1105)。   Next, the response determination unit 131 checks whether or not the response method newly established by the response method instruction unit 170 is inconsistent with the response method previously stored in the storage unit 135 as the response method information 136 (S1103). If there is a contradiction between the two response methods (Yes in S1103), the response determination unit 131 determines which priority is higher (S1105).

この判別の結果、もし、応答方法指示部170が策定した応答方法の方が優先度が高ければ(S1105のYes)、当該応答方法を応答方法情報136として記憶部135に記録し、更新する。また、S1103で、応答方法指示部170が指示した応答方法と、応答方法情報136として記憶されている応答方法とが矛盾しない場合にも(S1103のNo)、応答決定部131は、当該応答方法を応答方法情報136として記憶部135に記録する(S1107)。   As a result of the determination, if the response method formulated by the response method instruction unit 170 has a higher priority (Yes in S1105), the response method is recorded in the storage unit 135 as response method information 136 and updated. Even when the response method instructed by the response method instruction unit 170 in S1103 and the response method stored as the response method information 136 are consistent (No in S1103), the response determination unit 131 Is recorded in the storage unit 135 as response method information 136 (S1107).

もし、記憶している応答方法よりも応答方法指示部170が策定した応答方法の方が優先度が低ければ(S1105のNo)、当該応答方法を破棄して一連の処理を終了する。   If the priority of the response method formulated by the response method instruction unit 170 is lower than the stored response method (No in S1105), the response method is discarded and the series of processing ends.

(3.4 本実施形態に係る効果)
上述の通り、センサデバイス100は、ゲートウェイ200により送信された管理情報要求メッセージ400の応答方法、或いは任意のタイミングにおいてセンサデバイス100がローカルに策定した応答方法の指示に従って、管理情報要求メッセージ400への応答として管理情報応答メッセージ500を送信するか否かを判定する。
(3.4 Effects According to this Embodiment)
As described above, the sensor device 100 sends the management information request message 400 to the management information request message 400 according to an instruction of a response method of the management information request message 400 transmitted by the gateway 200 or a response method established locally by the sensor device 100 at an arbitrary timing. It is determined whether or not the management information response message 500 is transmitted as a response.

これにより、センサデバイス100は少なくとも一部の管理情報要求メッセージ400に対しては応答する必要がなくなるため、結果として、遠隔管理通信における、管理情報応答メッセージ500に係るトラヒックを抑制することが可能となる。   This eliminates the need for the sensor device 100 to respond to at least some of the management information request messages 400. As a result, it is possible to suppress traffic related to the management information response message 500 in remote management communication. Become.

すなわち、ゲートウェイ200又はセンサデバイス100が、適切な応答方法を指定(選択)することで、センサデバイス100の電力消費を低減し、結果として、センサネットワークN1全体の稼動寿命を延ばすことが可能となる。   That is, the gateway 200 or the sensor device 100 designates (selects) an appropriate response method, thereby reducing the power consumption of the sensor device 100 and, as a result, extending the operational life of the entire sensor network N1. .

また、任意のタイミングにおいて、センサデバイス100内で応答方法をローカルに策定することによって、センサデバイス100の製造者や設置者、及び利用者のポリシーを反映した消費電力の抑制を実現することが可能となる。   In addition, by formulating a response method locally in the sensor device 100 at an arbitrary timing, it is possible to reduce power consumption reflecting the policy of the manufacturer, installer, and user of the sensor device 100. It becomes.

また、ゲートウェイ200は、定められた時刻までに未応答のセンサデバイス100(管理情報応答メッセージ500を送信しなかったセンサデバイス100、又はパケットロス等により管理情報応答メッセージ500がゲートウェイ200に届かなかったセンサデバイス100)の応答情報を、保持している、当該センサデバイス100の過去の情報を元に作成することで、センサデバイス100A乃至100F全ての管理情報を、遠隔管理サーバ300へ送信することができる。   In addition, the gateway 200 has not received the management information response message 500 to the gateway 200 due to a sensor device 100 that has not responded by a predetermined time (the sensor device 100 that has not transmitted the management information response message 500 or a packet loss). By generating response information of the sensor device 100) based on the past information of the sensor device 100 that is held, all management information of the sensor devices 100A to 100F can be transmitted to the remote management server 300. it can.

従って、定期間隔でセンサデバイス100を管理する遠隔管理を実現しつつ、センサデバイス100の製造者や設置者、及び利用者のポリシーを反映する形で、遠隔管理を実現する遠隔管理通信に係る通信トラヒックを抑えて、センサネットワークN1及びセンサデバイス100の寿命を延ばすことが可能となる。   Therefore, communication related to remote management communication that realizes remote management while reflecting the policies of the manufacturer, installer, and user of the sensor device 100 while realizing remote management for managing the sensor device 100 at regular intervals. It is possible to extend the lifetime of the sensor network N1 and the sensor device 100 by suppressing traffic.

(4 実施形態3)
以下、実施形態3について説明する。尚、実施形態1、2と同一若しくは対応する構成については、実施形態1、2と同様の符号を付すと共に、説明を省略している場合がある。構成以外でも、作用、効果、及び処理内容等について、実施形態1、2と共通する部分については、説明を省略している。以下、実施形態1、2との相違点を中心に、説明を行う。
(4 Embodiment 3)
The third embodiment will be described below. In addition, about the structure which is the same as that of Embodiment 1, 2, or corresponding | compatible, the code | symbol similar to Embodiment 1, 2 may be attached | subjected and description may be abbreviate | omitted. In addition to the configuration, the description of operations, effects, processing contents, and the like that are common to the first and second embodiments is omitted. Hereinafter, description will be made focusing on differences from the first and second embodiments.

図12乃至図13及び図16は、本発明の実施形態3を説明するための図である。以下、これらの図を参照しながら、以下の流れに沿って本実施形態を説明する。まず、「4.1」で実施形態3全体の概要を示す。その上で、「4.2」でゲートウェイ200の構成を、「4.3」で処理の流れを説明する。最後に、「4.4」で実施形態3に係る効果等を説明する。   12 to 13 and 16 are diagrams for explaining the third embodiment of the present invention. Hereinafter, the present embodiment will be described along the following flow with reference to these drawings. First, “4.1” gives an overview of the entire third embodiment. Then, the configuration of the gateway 200 will be described with “4.2”, and the process flow will be described with “4.3”. Finally, “4.4” describes effects according to the third embodiment.

(4.1 概要)
実施形態3のゲートウェイ200は、自律的に適切な遠隔管理を行うべく、現在までの各センサデバイス100の管理状態情報224やセンサネットワークN1の構成及び状態等を参照し、各センサデバイス100に対して、管理状態情報の精度を高める必要があるか否かを判断する。ゲートウェイ200は、管理状態情報の精度を高める必要のあるセンサデバイス100に対しては応答の頻度を上げるような応答方法(すなわち、電力消費を犠牲にしてでも管理状態情報を取得するような応答方法)を決定し、一方で管理状態情報の精度を高める必要のないセンサデバイス100に対しては応答の頻度を下げるような応答方法(すなわち、電力消費を抑制するような応答方法)を決定する。なお、管理状態情報の精度を高めるか否かの決定後、センサデバイス100に指示している現状の応答方法が適切であると判断した場合、該センサデバイス100に対して何も応答方法を設定しないことを決定することもある。なお、応答方法の決定は任意のタイミングで行われる。例えば、現在の管理サイクルの終了時刻、ゲートウェイ200内で独自に定めた時刻、遠隔管理サーバ300から与えられた時刻、管理サイクル遠隔管理サーバ300より次のサイクルの遠隔管理指示を受信した時刻等のうち、いずれかのタイミングで応答方法を決定することができる。
(4.1 Overview)
The gateway 200 according to the third embodiment refers to the management state information 224 of each sensor device 100 up to the present, the configuration and state of the sensor network N1, and the like for each sensor device 100 to autonomously perform appropriate remote management. Thus, it is determined whether or not it is necessary to improve the accuracy of the management status information. The gateway 200 is a response method that increases the frequency of responses to the sensor device 100 that needs to improve the accuracy of the management status information (that is, a response method that acquires the management status information even at the expense of power consumption). On the other hand, for the sensor device 100 that does not need to increase the accuracy of the management state information, a response method that reduces the frequency of response (that is, a response method that suppresses power consumption) is determined. If it is determined that the current response method instructed to the sensor device 100 is appropriate after determining whether or not to improve the accuracy of the management status information, no response method is set for the sensor device 100. You may decide not to. The response method is determined at an arbitrary timing. For example, the end time of the current management cycle, a time uniquely determined in the gateway 200, a time given from the remote management server 300, a time when a remote management instruction for the next cycle is received from the management cycle remote management server 300, etc. Among them, the response method can be determined at any timing.

例えば、応答メッセージ処理部227により、不足する応答情報(=管理状態情報)(すなわち、定められた時刻、或いは定められた時間までに管理情報応答メッセージ500を送信してこなかったセンサデバイス100の管理状態情報)が作成された場合、ゲートウェイ200は、この応答情報が作成された方法に応じて、不足する管理状態情報を現在適切に作成できているか否かをセンサデバイス100毎に確認する。ゲートウェイ200は、不適切と判断されたセンサデバイス100に対しては、応答の頻度を上げる応答方法を決定し、適切と判断されたセンサデバイス100に対しては、応答の頻度を下げる応答方法を決定する。   For example, the response message processing unit 227 manages insufficient sensor information (= management state information) (that is, management of the sensor device 100 that has not transmitted the management information response message 500 by a predetermined time or a predetermined time). When the status information is created, the gateway 200 confirms for each sensor device 100 whether or not the management status information that is lacking can be created appropriately according to the method in which the response information is created. The gateway 200 determines a response method for increasing the response frequency for the sensor device 100 determined to be inappropriate, and determines a response method for decreasing the response frequency for the sensor device 100 determined to be appropriate. decide.

なお、先述のとおり、何も応答方法を設定しないことを決定することもある。なお、不足する管理状態情報を作成する方法としては、各センサデバイス100の過去の管理状態情報224を用いて、最小二乗法を用いた回帰分析による推定、平均値による推定、単純に過去の値を採用する推定、カルマンフィルタを用いた推定など、様々なものを用いることができる。   As described above, it may be determined that no response method is set. In addition, as a method of creating the management state information that is insufficient, the past management state information 224 of each sensor device 100 is used, the estimation by regression analysis using the least square method, the estimation by the average value, or simply the past value Various types of estimation, such as estimation using a Kalman filter and estimation using a Kalman filter, can be used.

より詳細な例を述べると、例えば、管理情報として隣接リンク品質情報を管理している場合において、ゲートウェイ200は、まず、あるセンサデバイス100からの応答で取得した隣接リンク品質情報と、同センサデバイス100が応答を返さなかったとした場合に応答メッセージ処理部227により作成される隣接リンク品質情報とを比較する。比較した結果、実際に取得した隣接リンク品質情報と応答メッセージ処理部227が作成する隣接リンク品質情報との間の差異が、許容できない乖離であることを示す所定の閾値以上である場合には(すなわち、応答の抑制の結果、該センサデバイス100が応答を返さない管理サイクルにおいても、応答メッセージ処理部227が作成した最終的な遠隔管理の結果となる管理状態情報の精度が十分でないだろうと判断できる場合には)、ゲートウェイ200は、該センサデバイス100に応答の頻度を上げる応答方法を決定する。そうでない場合には(すなわち、応答の抑制の結果、該センサデバイス100が応答を返さない管理サイクルにおいても、応答メッセージ処理部227が作成した最終的な遠隔管理の結果となる管理状態情報の精度が十分だろうと判断できる場合には)、ゲートウェイ200は、該センサデバイス100に応答の頻度を下げる応答方法を決定する。   To describe a more detailed example, for example, when adjacent link quality information is managed as management information, the gateway 200 first acquires the adjacent link quality information acquired by a response from a certain sensor device 100, and the sensor device. When 100 does not return a response, the adjacent message quality information created by the response message processing unit 227 is compared. As a result of the comparison, if the difference between the actually acquired adjacent link quality information and the adjacent link quality information created by the response message processing unit 227 is equal to or greater than a predetermined threshold value indicating that it is an unacceptable deviation ( That is, as a result of suppressing the response, it is determined that the accuracy of the management state information that is the result of the final remote management created by the response message processing unit 227 is not sufficient even in the management cycle in which the sensor device 100 does not return a response. If possible, the gateway 200 determines a response method that increases the frequency of responses to the sensor device 100. Otherwise (that is, as a result of response suppression, even in the management cycle in which the sensor device 100 does not return a response, the accuracy of the management state information that is the final remote management result created by the response message processing unit 227) Gateway 200 determines a response method that reduces the frequency of responses to the sensor device 100.

すなわち言い換えると、センサデバイス100およびセンサネットワークN1の遠隔管理に用いている、電力消費を抑制するために各センサデバイス100に指示した応答方法と、同応答方法により不足する管理状態情報を作成する作成方法とが、遠隔管理において適切に作用しているか否かを判断し、不適切であれば電力消費を犠牲にしてでも管理状態情報を取得するような応答方法を決定し、適切であれば電力消費を抑制するような応答方法を決定する。   That is, in other words, the response method used for remote management of the sensor device 100 and the sensor network N1, instructing each sensor device 100 to suppress power consumption, and creating the management state information that is insufficient due to the response method Determine whether the method is operating properly in remote management, and if it is not appropriate, determine a response method that obtains management status information even at the expense of power consumption. Decide how to respond to consumption.

上述のとおり、ゲートウェイ200は、自律的に、現在までの各センサデバイス100の管理状態情報224やセンサネットワークN1の構成及び状態、および応答方法指示決定部221で決定され各センサデバイスに指示された応答方法等を参照し、適切な遠隔管理を行うべく、管理状態情報の精度を高める必要のあるセンサデバイス100に対しては応答の頻度を上げるような応答方法を決定し、一方で管理状態情報の精度を高める必要のないセンサデバイス100に対しては応答の頻度を下げるような応答方法を決定する。さらに、ゲートウェイ200は、決定した各センサデバイス100に対する応答方法を、次回の管理サイクル(遠隔管理サーバ300から遠隔管理のリクエストを受信した際などに開始する管理サイクル)等(次回に限らない)において、管理情報要求メッセージ400により各センサデバイス100に指示する。   As described above, the gateway 200 autonomously determines the management state information 224 of each sensor device 100 up to now, the configuration and state of the sensor network N1, and the response method instruction determination unit 221 and is instructed to each sensor device. For the sensor device 100 that needs to improve the accuracy of the management status information in order to perform appropriate remote management with reference to the response method or the like, a response method that increases the frequency of response is determined, while the management status information For the sensor device 100 that does not need to increase the accuracy of the response, a response method that reduces the frequency of response is determined. Further, the gateway 200 sets the determined response method for each sensor device 100 in the next management cycle (a management cycle started when a remote management request is received from the remote management server 300) or the like (not limited to the next time). Then, each sensor device 100 is instructed by the management information request message 400.

これにより、電力消費を抑制するために応答を抑制する応答方法を用いた遠隔管理の結果、最終的に遠隔管理の結果となる管理状態情報の精度が低下することを避けることができる。さらに、同管理状態情報の精度を十分に保ちつつも、できる限り電力消費を抑制するような遠隔管理が可能となる。   As a result, it is possible to avoid a decrease in the accuracy of the management status information that finally becomes the result of the remote management as a result of the remote management using the response method for suppressing the response in order to suppress the power consumption. Furthermore, it is possible to perform remote management that suppresses power consumption as much as possible while maintaining sufficient accuracy of the management status information.

(4.2 デバイスの構成)
本実施形態に係るゲートウェイ200の構成について、図12及び図16を参照しながら説明する。図12及び図16において、実線の矢印は、各構成間の制御や参照、情報の流れを示す。尚、図12は、ゲートウェイ200と他の通信装置であるセンサデバイス100及び遠隔管理サーバ300との接続関係を示しており、図16は、ゲートウェイ200単体での構成を示している。
(4.2 Device configuration)
The configuration of the gateway 200 according to the present embodiment will be described with reference to FIGS. 12 and 16, solid arrows indicate control, reference, and information flow between the components. 12 shows a connection relationship between the gateway 200 and the sensor device 100, which is another communication device, and the remote management server 300, and FIG. 16 shows a configuration of the gateway 200 alone.

先述したとおり、実施例3に係るゲートウェイ200は、自律的に、任意のタイミングにおいて、各センサデバイス100に対して応答頻度を上げる応答をするか、あるいは応答頻度を下げる応答をするかを決定し、決定後のいずれかの管理サイクル(遠隔管理サーバ300から遠隔管理のリクエストを受信した際などに開始する管理サイクル)において、各センサデバイス100に指示する応答方法として採用し、当該応答方法を含んだ管理情報要求メッセージ400を作成及び送信する。   As described above, the gateway 200 according to the third embodiment autonomously determines whether to respond to each sensor device 100 to increase the response frequency or to decrease the response frequency at an arbitrary timing. In any of the management cycles after the determination (a management cycle started when a remote management request is received from the remote management server 300), it is adopted as a response method for instructing each sensor device 100, and includes the response method A management information request message 400 is created and transmitted.

ゲートウェイ200は、遠隔管理サーバ300から指示を受け、遠隔管理の処理を行うデバイス管理部210、センサデバイス100の省電力遠隔処理を行う遠隔管理メッセージ処理部220、管理情報要求メッセージ400の送信処理を行う管理情報要求メッセージ送信部230、管理情報応答メッセージ500の受信処理を行う管理情報応答メッセージ受信部240、遠隔管理サーバ300等の外部サーバと通信するための外部接続インタフェース250、センサデバイス100と通信するためのセンサデバイスインタフェース260を含む。   The gateway 200 receives an instruction from the remote management server 300 and performs a process of transmitting a device management unit 210 that performs remote management processing, a remote management message processing unit 220 that performs power-saving remote processing of the sensor device 100, and a management information request message 400. Management information request message transmission unit 230 to perform, management information response message reception unit 240 that performs reception processing of management information response message 500, external connection interface 250 for communication with an external server such as remote management server 300, and communication with sensor device 100 Including a sensor device interface 260.

デバイス管理部210、管理情報要求メッセージ送信部230、管理情報応答メッセージ受信部240、外部接続インタフェース250、センサデバイスインタフェース260は、実施例1と同様であるので説明を省略する。なお、センサデバイス100は、実施例1または実施例2のいずれかを用いることができるため、ここでは説明を省略する。また、管理情報要求メッセージ400、管理情報応答メッセージ500のフォーマット等についても、実施形態1と同様であるので、ここでは説明を省略する。   Since the device management unit 210, the management information request message transmission unit 230, the management information response message reception unit 240, the external connection interface 250, and the sensor device interface 260 are the same as those in the first embodiment, description thereof is omitted. Since the sensor device 100 can use either the first embodiment or the second embodiment, the description thereof is omitted here. Further, the formats of the management information request message 400 and the management information response message 500 are the same as those in the first embodiment, and thus the description thereof is omitted here.

遠隔管理メッセージ処理部220は、任意のタイミングにおいて、各センサデバイス100に対して応答頻度を上げる応答方法を設定するか、あるいは応答頻度を下げる応答方法を設定するかを決定し、デバイス管理部210からセンサデバイス100の遠隔管理の指示を受け取った際に、上記決定した応答方法を含む管理情報要求メッセージ400を作成する。なお、ゲートウェイ200は、決定した応答方法をどのタイミングで送信される管理情報要求メッセージ400に含めて送信するかを決定する送信タイミング決定部を備えても良い。この場合、遠隔管理メッセージ処理部220は、送信タイミング決定部が決定したタイミングに従って、応答方法を決定し、決定した応答方法を含む管理情報要求メッセージ400を作成する。   The remote management message processing unit 220 determines whether to set a response method for increasing the response frequency or to set a response method for decreasing the response frequency for each sensor device 100 at an arbitrary timing. When a remote management instruction for the sensor device 100 is received from the management device 100, a management information request message 400 including the determined response method is created. Note that the gateway 200 may include a transmission timing determination unit that determines at which timing the determined response method is included in the management information request message 400 to be transmitted. In this case, the remote management message processing unit 220 determines a response method according to the timing determined by the transmission timing determination unit, and creates a management information request message 400 including the determined response method.

さらに、遠隔管理メッセージ処理部220は、センサデバイス100から受信した管理情報応答メッセージ500に含まれる応答情報、及び受信しなかった未応答のセンサデバイス分の応答情報を適宜管理、作成、及び加工等して管理状態情報とすると共に、デバイス管理部210へと当該応答情報(=管理状態情報)を出力する。   Further, the remote management message processing unit 220 appropriately manages, creates, processes, etc. response information included in the management information response message 500 received from the sensor device 100 and response information corresponding to unanswered sensor devices that have not been received. Then, the management status information is output, and the response information (= management status information) is output to the device management unit 210.

遠隔管理メッセージ処理部220は、応答方法指示決定部221、管理状態情報224を記憶する記憶部223、管理情報要求メッセージ作成部225、応答メッセージ処理部227、及び自律応答方法決定部228を含む。   The remote management message processing unit 220 includes a response method instruction determination unit 221, a storage unit 223 that stores management state information 224, a management information request message creation unit 225, a response message processing unit 227, and an autonomous response method determination unit 228.

応答方法指示決定部221は、デバイス管理部210からセンサデバイス100の遠隔管理の指示を受け取った際に、自律応答方法決定部228に各センサデバイスに指示すべき応答方法を確認し、自律応答方法決定部228にて決定された各センサデバイスに指示する応答方法を採用する。   When the response method instruction determination unit 221 receives an instruction for remote management of the sensor device 100 from the device management unit 210, the response method instruction determination unit 221 confirms the response method to be instructed to each sensor device to the autonomous response method determination unit 228, and the autonomous response method A response method for instructing each sensor device determined by the determination unit 228 is adopted.

応答方法指示決定部221は、採用した応答方法を含む管理情報要求メッセージ400を作成するように、管理情報要求メッセージ作成部225へ指示する。尚、応答方法の採用にあたり、応答方法指示決定部221がいずれのセンサデバイス100にも応答方法を指示しない場合もある。この場合には、応答方法指示決定部221は、管理情報要求メッセージ400による応答方法の指定を行わない。   The response method instruction determination unit 221 instructs the management information request message creation unit 225 to create the management information request message 400 including the adopted response method. In adopting the response method, the response method instruction determining unit 221 may not instruct any of the sensor devices 100 about the response method. In this case, the response method instruction determination unit 221 does not specify a response method using the management information request message 400.

また、応答方法指示決定部221は、決定した応答方法(センサデバイス100に指示する応答方法)を、応答メッセージ処理部227へ通知する。   In addition, the response method instruction determination unit 221 notifies the response message processing unit 227 of the determined response method (response method for instructing the sensor device 100).

管理状態情報224を記憶する記憶部223、管理状態情報224、管理情報要求メッセージ作成部225については、実施例1と同様であるので説明を省略する。   Since the storage unit 223 for storing the management status information 224, the management status information 224, and the management information request message creation unit 225 are the same as those in the first embodiment, description thereof will be omitted.

応答メッセージ処理部227は、管理情報応答メッセージ受信部240から管理情報応答メッセージ500を受取り、この中に含まれるセンサデバイス100の管理情報(各センサデバイス100の管理状態情報224)を、記憶部223に管理状態情報224として記録する。また、応答メッセージ処理部227は、受け取った管理情報応答メッセージ500のフォーマットを変換する等、情報を整理した上で、デバイス管理部210へ出力する。もし、受け取った管理情報応答メッセージ500の中の管理パラメータに一部欠損等があれば、応答メッセージ処理部227は、該当するセンサデバイス100に対応する管理状態情報224を記憶部223から読込むと共に応答方法指示決定部221が決定した応答方法を参照して、欠損した情報を補う(加工する)(すなわち、不足している情報を補填する)。当該情報が補われた管理パラメータは、デバイス管理部210へ出力されると共に、記憶部223に記録される。   The response message processing unit 227 receives the management information response message 500 from the management information response message receiving unit 240, and stores the management information of the sensor device 100 (management state information 224 of each sensor device 100) included therein in the storage unit 223. Is recorded as management status information 224. Further, the response message processing unit 227 organizes the information, such as converting the format of the received management information response message 500, and outputs the information to the device management unit 210. If the management parameter in the received management information response message 500 is partially missing, the response message processing unit 227 reads the management status information 224 corresponding to the corresponding sensor device 100 from the storage unit 223 and With reference to the response method determined by the response method instruction determination unit 221, the missing information is compensated (processed) (that is, the missing information is compensated). The management parameter supplemented with the information is output to the device management unit 210 and recorded in the storage unit 223.

また、応答メッセージ処理部227は、定められた時刻(或いは定められた時間)に、当該センサデバイス100に対応する管理状態情報224、及び応答方法指示決定部221から受け取った応答方法を参照して、管理情報応答メッセージ500に対応するデータ(管理状態情報)を作成する。応答メッセージ処理部227は、定められた時刻(或いは定められた時間)までに管理情報応答メッセージ500を送信してこなかった(もしくは、管理情報応答メッセージ500を送信したがゲートウェイ200により受信されなかった)センサデバイス100に関して(すなわち、現在の管理サイクルにおいて最新の管理状態情報が不足するセンサデバイス100に関して)、作成したデータを最終的な管理状態情報として(すなわち、不足している情報を補填して)デバイス管理部210へ出力すると共に、記憶部223に記録する。一方、応答メッセージ処理部227は、各センサデバイスが応答を返してきたか否かに関わらず、自律応答方法決定部228に、作成した各センサデバイスの管理状態情報を出力する。尚、定められた時刻(閾値時刻)としては、例えば、ゲートウェイ200内で独自に定めた時刻、遠隔管理サーバ300から与えられた時刻、遠隔管理サーバ300から次のサイクルの遠隔管理指示を受信した時刻、管理サイクルの終了時刻等、色々と考えうるが、何れであっても良い。   In addition, the response message processing unit 227 refers to the management state information 224 corresponding to the sensor device 100 and the response method received from the response method instruction determination unit 221 at a predetermined time (or a predetermined time). Data corresponding to the management information response message 500 (management status information) is created. The response message processing unit 227 has not transmitted the management information response message 500 by a predetermined time (or a predetermined time) (or has transmitted the management information response message 500 but was not received by the gateway 200) ) Regarding the sensor device 100 (that is, regarding the sensor device 100 that lacks the latest management state information in the current management cycle), the created data is used as final management state information (that is, the missing information is compensated) ) Output to the device management unit 210 and record in the storage unit 223. On the other hand, the response message processing unit 227 outputs the created management state information of each sensor device to the autonomous response method determination unit 228 regardless of whether or not each sensor device has returned a response. The predetermined time (threshold time) is, for example, a time uniquely determined in the gateway 200, a time given from the remote management server 300, or a remote management instruction for the next cycle received from the remote management server 300. Various times such as the time and the end time of the management cycle can be considered.

なお、不足する管理状態情報の作成方法は、先述のとおり、各センサデバイス100の過去の管理状態情報224を用いた最小二乗法を用いた回帰分析による推定、平均値による推定、単純に過去の値を採用する推定、カルマンフィルタを用いた推定など、様々なものを用いることができる。   Note that, as described above, the management state information to be deficient is created by regression analysis using the least square method using the past management state information 224 of each sensor device 100, estimation by average value, simply past Various things, such as estimation using a value and estimation using a Kalman filter, can be used.

自律応答方法決定部228は、記憶部223の管理状態情報224に保持する各センサデバイス100の管理状態情報およびセンサネットワークN1の構成及び状態と、応答メッセージ処理部227が作成した各センサデバイス100の管理状態情報から、自律的に各センサデバイス100の次回の管理サイクルの応答方法を決定する。先述のとおり、応答方法は、現在の各センサデバイス100の管理状態情報の精度が十分であるか否かから判断し、管理状態情報の精度を高める必要のあるセンサデバイス100に対しては応答の頻度を上げるような応答方法を決定し、一方で管理状態情報の精度を高める必要のないセンサデバイス100に対しては応答の頻度を下げるような応答方法を決定する。なお、管理状態情報の精度を高めるか否かの決定後、センサデバイス100に指示している現状の応答方法が適切であると判断した場合、該センサデバイス100に対して何も応答方法を設定しないことを決定することもある。   The autonomous response method determination unit 228 includes the management state information of each sensor device 100 and the configuration and state of the sensor network N1 held in the management state information 224 of the storage unit 223, and the sensor device 100 created by the response message processing unit 227. From the management state information, a response method for the next management cycle of each sensor device 100 is autonomously determined. As described above, the response method determines whether or not the accuracy of the management state information of each current sensor device 100 is sufficient, and responds to the sensor device 100 that needs to improve the accuracy of the management state information. A response method that increases the frequency is determined, while a response method that decreases the response frequency is determined for the sensor device 100 that does not need to increase the accuracy of the management state information. If it is determined that the current response method instructed to the sensor device 100 is appropriate after determining whether or not to improve the accuracy of the management status information, no response method is set for the sensor device 100. You may decide not to.

具体的な応答方法の決定の仕方の例を以下に記す。ただし、本実施の形態は以下の例に限るものではない。   An example of how to determine a specific response method will be described below. However, the present embodiment is not limited to the following example.

あるセンサデバイス100からの応答で取得した応答情報(=管理状態情報)(以下、実管理情報と呼ぶ)と、応答メッセージ処理部227が管理状態情報224及び応答方法指示決定部221から受け取った応答方法を参照して作成した管理状態情報(以下、作成管理情報と呼ぶ)を用いて、下記のいずれかの処理を行う。なお、下記の処理は、1つ以上の複数を併せて実行することも可能である。   Response information (= management status information) (hereinafter referred to as actual management information) acquired as a response from a certain sensor device 100, and a response received by the response message processing unit 227 from the management status information 224 and the response method instruction determination unit 221 One of the following processes is performed using management state information created by referring to the method (hereinafter referred to as creation management information). Note that the following processing can be executed in combination of one or more.

・任意の過去X回分(Xは1以上の整数)の実管理情報が、任意に定めた閾値Tより小さい(あるいは、T以下の)センサデバイス100には応答の頻度を上げる応答方法を、逆に閾値T以上である(あるいは、Tより大きい)センサデバイス100には応答の頻度を下げる応答方法を決定する。なお、閾値Tは、全センサデバイス100に対して、あるいはセンサデバイス100毎に設定可能とする。 -Reverse the response method that increases the frequency of response for the sensor device 100 whose actual management information for any past X times (X is an integer equal to or greater than 1) is smaller than (or less than or equal to) the threshold T that is arbitrarily determined. For the sensor device 100 that is greater than or equal to the threshold value T (or greater than T), a response method for decreasing the response frequency is determined. The threshold T can be set for all sensor devices 100 or for each sensor device 100.

・任意の過去X回分(Xは1以上の整数)の実管理情報と作成管理情報との差分の絶対値(あるいは比率の絶対値)が、任意に定める閾値Tより小さい(あるいは、T以下である)センサデバイス100には応答の頻度を下げる応答方法を、逆に閾値T以上である(あるいは、Tより大きい)センサデバイス100には応答の頻度を上げる応答方法を決定する。なお、閾値Tは、全センサデバイス100に対して、あるいはセンサデバイス100毎に設定可能とする。 -The absolute value (or absolute value of the ratio) of the difference between the actual management information and the creation management information for any past X times (X is an integer equal to or greater than 1) is smaller than an arbitrarily determined threshold T (or less than T A response method for reducing the response frequency is determined for the sensor device 100, and a response method for increasing the response frequency is determined for the sensor device 100 that is equal to or greater than the threshold T (or greater than T). The threshold T can be set for all sensor devices 100 or for each sensor device 100.

・センサデバイス100に関して、最新の実管理情報と任意のN回前(Nは1以上の整数)の実管理情報との差分の絶対値(あるいは比率の絶対値)が、現在までにおいて任意に定めるY回(Yは1以上の整数)だけ(あるいはY回連続して)、任意に定める閾値Tより小さい(あるいは、T以下である)場合には応答の頻度を下げる応答方法を、逆に閾値T以上である(あるいは、Tより大きい)場合には応答の頻度を上げる応答方法を決定する。なお、閾値Tは、全センサデバイス100に対して、あるいはセンサデバイス100毎に設定可能とする。(すなわち、あるセンサデバイス100の、最新とN回前の実管理情報が閾値Tを下回ったか上回ったかをカウントし、カウント回数がY回になった場合に応答の頻度の上げ下げを決定する。) Regarding the sensor device 100, the absolute value (or the absolute value of the ratio) of the difference between the latest actual management information and the actual management information of any N times before (N is an integer of 1 or more) is arbitrarily determined up to now. When Y times (Y is an integer equal to or greater than 1) (or continuously Y times), the response method for lowering the response frequency when the value is smaller than the arbitrarily defined threshold value T (or less than T), the threshold value is reversed. If it is equal to or greater than T (or greater than T), a response method for increasing the response frequency is determined. The threshold T can be set for all sensor devices 100 or for each sensor device 100. (That is, it counts whether the latest management information of a certain sensor device 100 and the N-th previous actual management information has fallen below or exceeded the threshold T, and when the number of counts becomes Y times, the response frequency is decided to be raised or lowered.)

・任意の過去X回分(Xは1以上の整数)の実管理情報が、本来その管理状態情報が取るはずのない値(すなわち異常値やバグ値など)であるセンサデバイス100には応答の頻度を上げる応答方法を、逆に正常値であるセンサデバイス100には応答の頻度を下げる応答方法を決定する。 The frequency of response to the sensor device 100 in which the actual management information of any past X times (X is an integer equal to or greater than 1) is a value (that is, an abnormal value, a bug value, etc.) that the management status information should not originally take On the contrary, for the sensor device 100 having a normal value, a response method for decreasing the response frequency is determined.

・センサネットワークN1のトポロジを把握した上で、特にゲートウェイを頂点とするマルチホップツリートポロジにおいて、すべての子および孫センサデバイス100から実管理情報の応答がないセンサデバイス100に対しては応答の頻度を上げる応答方法を決定し、逆にいずれかの子および孫センサデバイス100から実管理情報の応答があるセンサデバイス100に対しては応答の頻度を下げる応答方法を決定する。
上記のいずれの処理方法においても、先述したとおり、管理状態情報の精度を高める応答方法とするか否かの決定後(あるいは決定の最中に)、センサデバイス100に指示している現状の応答方法が適切であると判断した場合、該センサデバイス100に対して何も応答方法を設定しないことを決定することもある。
・ Following the topology of the sensor network N1, in particular in the multi-hop tree topology with the gateway at the top, the frequency of responses to the sensor devices 100 that do not respond to actual management information from all the child and grandchild sensor devices 100 The response method for increasing the response frequency is determined, and conversely, the response method for decreasing the response frequency is determined for the sensor device 100 having a response of the actual management information from any of the child and grandchild sensor devices 100.
In any of the above processing methods, as described above, the current response instructed to the sensor device 100 after (or during the determination) whether or not the response method is to increase the accuracy of the management state information. If it is determined that the method is appropriate, it may be determined that no response method is set for the sensor device 100.

また、応答の頻度を上げる応答方法はどのような方法を用いてもかまわない。具体例としては、実施例1に記載の応答方法459の例において、次のような方法を用いることができる。
・X回の管理情報要求メッセージ400に対して、Y回の管理情報応答メッセージ500を送信すること(但し、YはX以下の整数値。X=Yとすると、毎回応答する指示となる)、という応答方法の、YとXの差(や比)を小さくする(あるいはX=Yとする)。
Further, any response method for increasing the response frequency may be used. As a specific example, the following method can be used in the example of the response method 459 described in the first embodiment.
In response to X management information request messages 400, Y management information response messages 500 are transmitted (where Y is an integer value less than or equal to X. If X = Y, an instruction to respond each time). In the response method, the difference (or ratio) between Y and X is reduced (or X = Y).

・X回の管理情報要求メッセージ400の中で、N回目に管理情報応答メッセージ500を送信すること(但し、NはX以下の整数値。Nは複数回を指定可能であり、例えば1、3、5回目の応答を指示しても良い)、という応答方法の、Nの指定する回数を増やすか、あるいはXを小さくする。 In the management information request message 400 of X times, the management information response message 500 is transmitted at the Nth time (where N is an integer value less than or equal to X. N can be specified multiple times, for example, 1, 3 In the response method, “the fifth response may be instructed”, the number of times designated by N is increased or X is decreased.

・指定したセンサデバイス100のみ管理情報応答メッセージ500を送信すること、或いは送信しないこと(このとき、センサデバイス100の指定方法としては、ネットワークアドレスやMACアドレス、その他センサデバイス100の識別子による指定のほか、ゲートウェイ200からのホップ数による指定(Mホップ目まで、Mホップ目のみ、またはMホップ目以降等)、センサデバイス100の保持するアプリケーションによる指定、センサデバイス100の地理的位置情報による指定、等が考えられる)、という応答方法を設定することで、送信するべきセンサデバイスとして指定する。 The management information response message 500 is transmitted or not transmitted only to the designated sensor device 100 (At this time, the designation method of the sensor device 100 includes not only designation by a network address, a MAC address, and other identifiers of the sensor device 100) , Designation by the number of hops from the gateway 200 (up to the M hop, only the M hop, or after the M hop, etc.), designation by an application held by the sensor device 100, designation by the geographical position information of the sensor device 100, etc. Is designated as a sensor device to be transmitted.

・管理情報要求メッセージ400の受信時、あるいはそれ以前の任意のタイミングにおいて、センサデバイス100における、管理情報要求メッセージ400で指定された管理パラメータ453の実測値(インスタンス)が、閾値Vを上回っている(又は下回っていた)場合に、管理情報応答メッセージ500を送信すること、という応答方法の、Vの値を大きくあるいは小さくする。 The measured value (instance) of the management parameter 453 specified in the management information request message 400 in the sensor device 100 exceeds the threshold value V at the time of receiving the management information request message 400 or at an arbitrary timing before that. In the case of (or below), the value of V of the response method of transmitting the management information response message 500 is increased or decreased.

また、応答の頻度を下げる応答方法もどのような応答方法を用いてもかまわず、具体的には、上記の応答頻度を上げる具体例と逆の設定をすればよい。   Also, any response method may be used as the response method for reducing the response frequency. Specifically, the setting may be reversed to the specific example for increasing the response frequency.

自律応答方法決定部228は、決定した各センサデバイス100の応答方法を保持し、応答方法指示決定部221からの確認(問い合わせ)に対して、保持する応答方法を返す。   The autonomous response method determination unit 228 holds the determined response method of each sensor device 100 and returns the held response method in response to the confirmation (inquiry) from the response method instruction determination unit 221.

(4.3 処理の流れ)
次に、実施形態3に係るゲートウェイ200の、応答方法の決定に係る処理の流れを、図13を参照しながら説明する。図13は、ゲートウェイ200の動作を示すフローチャートである。尚、図13は、第1実施形態の図8におけるS805に相当する部分の動作に関する。一方、実施形態3に係るゲートウェイ200の一連の動作において、図8のS805以外の動作は、第1実施形態の図8とほぼ同様であるので、ここでは説明を省略する。
(4.3 Process flow)
Next, a flow of processing related to determination of a response method in the gateway 200 according to the third embodiment will be described with reference to FIG. FIG. 13 is a flowchart showing the operation of the gateway 200. FIG. 13 relates to the operation of the portion corresponding to S805 in FIG. 8 of the first embodiment. On the other hand, in the series of operations of the gateway 200 according to the third embodiment, the operations other than S805 in FIG. 8 are almost the same as those in FIG. 8 of the first embodiment, and thus description thereof is omitted here.

自律応答方法決定部228は、任意のタイミングにおいて応答方法の決定処理を開始し、すべての管理対象のセンサデバイス100の決定処理を試みるべく、処理済センサデバイス100のチェックを初期化する。(S1201)   The autonomous response method determination unit 228 starts a response method determination process at an arbitrary timing, and initializes the check of the processed sensor devices 100 in order to attempt the determination process of all the sensor devices 100 to be managed. (S1201)

全ての管理対象のセンサデバイス100に対して応答方法の決定処理をした場合は(S1202のYes)、決定した各センサデバイス100の応答方法を保持し、外部の機能へ同応答方法を公開する(S1207)。一方、決定処理すべきセンサデバイス100が残っている場合は(S1202のNo)、次のセンサデバイス100の応答方法の決定処理に進む。   When the response method determination processing is performed for all the sensor devices 100 to be managed (Yes in S1202), the determined response method of each sensor device 100 is held and the response method is disclosed to an external function ( S1207). On the other hand, when the sensor device 100 to be determined remains (No in S1202), the process proceeds to the determination process of the response method of the next sensor device 100.

センサデバイス100に関して、管理状態情報の精度を高める必要があるか否かを確認し、管理状態情報の精度を高める必要があると判断した場合には(S1203のYes)、応答の頻度を上げるような応答方法を決定し(S1204)、一方で管理状態情報の精度を高める必要がないと判断した場合には(S1203のNo)、応答の頻度を下げるような応答方法を決定する(S1205)。なお、S1204、S1205のいずれにおいても、応答方法の決定の結果(あるいは決定の最中に)、センサデバイス100に指示している現状の応答方法が適切であると判断した場合、該センサデバイス100に対して何も応答方法を設定しないことを決定してもよい。S1203、S1204、S1205の一連の応答方法決定処理に関して、具体的な処理例を以下に記す。ただし、本実施の形態は以下の例に限るものではない。   Regarding the sensor device 100, it is confirmed whether or not it is necessary to increase the accuracy of the management status information. If it is determined that the accuracy of the management status information needs to be increased (Yes in S1203), the response frequency is increased. On the other hand, if it is determined that there is no need to increase the accuracy of the management status information (No in S1203), a response method that reduces the response frequency is determined (S1205). In either of S1204 and S1205, when it is determined that the current response method instructed to the sensor device 100 is appropriate as a result of determination of the response method (or during the determination), the sensor device 100 It may be determined that no response method is set. A specific processing example regarding the series of response method determination processing of S1203, S1204, and S1205 will be described below. However, the present embodiment is not limited to the following example.

あるセンサデバイス100からの応答で取得した応答情報(=管理状態情報)(以下、実管理情報と呼ぶ)と、応答メッセージ処理部227が管理状態情報224及び応答方法指示決定部221から受け取った応答方法を参照して作成した管理状態情報(以下、作成管理情報と呼ぶ)を用いて、下記のいずれかの処理を行う。なお、下記の処理は、1つ以上の複数を併せて実行することも可能である。   Response information (= management status information) (hereinafter referred to as actual management information) acquired as a response from a certain sensor device 100, and a response received by the response message processing unit 227 from the management status information 224 and the response method instruction determination unit 221 One of the following processes is performed using management state information created by referring to the method (hereinafter referred to as creation management information). Note that the following processing can be executed in combination of one or more.

・任意の過去X回分(Xは1以上の整数)の実管理情報が、任意に定めた閾値Tより小さい(あるいは、T以下の)センサデバイス100には応答の頻度を上げる応答方法を、逆に閾値T以上である(あるいは、Tより大きい)センサデバイス100には応答の頻度を下げる応答方法を決定する。なお、閾値Tは、全センサデバイス100に対して、あるいはセンサデバイス100毎に設定可能とする。 -Reverse the response method that increases the frequency of response for the sensor device 100 whose actual management information for any past X times (X is an integer equal to or greater than 1) is smaller than (or less than or equal to) the threshold T that is arbitrarily determined. For the sensor device 100 that is greater than or equal to the threshold value T (or greater than T), a response method for decreasing the response frequency is determined. The threshold T can be set for all sensor devices 100 or for each sensor device 100.

・任意の過去X回分(Xは1以上の整数)の実管理情報と作成管理情報との差分の絶対値(あるいは比率の絶対値)が、任意に定める閾値Tより小さい(あるいは、T以下である)センサデバイス100には応答の頻度を下げる応答方法を、逆に閾値T以上である(あるいは、Tより大きい)センサデバイス100には応答の頻度を上げる応答方法を決定する。なお、閾値Tは、全センサデバイス100に対して、あるいはセンサデバイス100毎に設定可能とする。 -The absolute value (or absolute value of the ratio) of the difference between the actual management information and the creation management information for any past X times (X is an integer equal to or greater than 1) is smaller than an arbitrarily determined threshold T (or less than T A response method for reducing the response frequency is determined for the sensor device 100, and a response method for increasing the response frequency is determined for the sensor device 100 that is equal to or greater than the threshold T (or greater than T). The threshold T can be set for all sensor devices 100 or for each sensor device 100.

・センサデバイス100に関して、最新の実管理情報と任意のN回前(Nは1以上の整数)の実管理情報との差分の絶対値(あるいは比率の絶対値)が、現在までにおいて任意に定めるY回(Yは1以上の整数)だけ(あるいはY回連続して)、任意に定める閾値Tより小さい(あるいは、T以下である)場合には応答の頻度を下げる応答方法を、逆に閾値T以上である(あるいは、Tより大きい)場合には応答の頻度を上げる応答方法を決定する。なお、閾値Tは、全センサデバイス100に対して、あるいはセンサデバイス100毎に設定可能とする。(すなわち、あるセンサデバイス100の、最新とN回前の実管理情報が閾値Tを下回ったか上回ったかをカウントし、カウント回数がY回になった場合に応答の頻度の上げ下げを決定する。) Regarding the sensor device 100, the absolute value (or the absolute value of the ratio) of the difference between the latest actual management information and the actual management information of any N times before (N is an integer of 1 or more) is arbitrarily determined up to now. When Y times (Y is an integer equal to or greater than 1) (or continuously Y times), the response method for lowering the response frequency when the value is smaller than the arbitrarily defined threshold value T (or less than T), the threshold value is reversed. If it is equal to or greater than T (or greater than T), a response method for increasing the response frequency is determined. The threshold T can be set for all sensor devices 100 or for each sensor device 100. (That is, it counts whether the latest management information of a certain sensor device 100 and the N-th previous actual management information has fallen below or exceeded the threshold T, and when the number of counts becomes Y times, the response frequency is decided to be raised or lowered.)

・任意の過去X回分(Xは1以上の整数)の実管理情報が、本来その管理状態情報が取るはずのない値(すなわち異常値やバグ値など)であるセンサデバイス100には応答の頻度を上げる応答方法を、逆に正常値であるセンサデバイス100には応答の頻度を下げる応答方法を決定する。 The frequency of response to the sensor device 100 in which the actual management information of any past X times (X is an integer equal to or greater than 1) is a value (that is, an abnormal value, a bug value, etc.) that the management status information should not originally take On the contrary, for the sensor device 100 having a normal value, a response method for decreasing the response frequency is determined.

・センサネットワークN1のトポロジを把握した上で、特にゲートウェイを頂点とするマルチホップツリートポロジにおいて、すべての子および孫センサデバイス100から実管理情報の応答がないセンサデバイス100に対しては応答の頻度を上げる応答方法を決定し、逆にいずれかの子および孫センサデバイス100から実管理情報の応答があるセンサデバイス100に対しては応答の頻度を下げる応答方法を決定する。 ・ Following the topology of the sensor network N1, in particular in the multi-hop tree topology with the gateway at the top, the frequency of responses to the sensor devices 100 that do not respond to actual management information from all the child and grandchild sensor devices 100 The response method for increasing the response frequency is determined, and conversely, the response method for decreasing the response frequency is determined for the sensor device 100 having a response of the actual management information from any of the child and grandchild sensor devices 100.

上記のいずれの処理方法においても、先述したとおり、管理状態情報の精度を高める応答方法とするか否かの決定後(あるいは決定の最中に)、センサデバイス100に指示している現状の応答方法が適切であると判断した場合、該センサデバイス100に対して何も応答方法を設定しないことを決定することもある。   In any of the above processing methods, as described above, the current response instructed to the sensor device 100 after (or during the determination) whether or not the response method is to increase the accuracy of the management state information. If it is determined that the method is appropriate, it may be determined that no response method is set for the sensor device 100.

また、応答の頻度を上げる応答方法は、実施例1に記載の応答方法459を用いるなど、どのような方法を用いてもかまわない。具体例としては、実施例1に記載の応答方法459の例において、次のような方法を用いても良い。   As a response method for increasing the response frequency, any method such as the response method 459 described in the first embodiment may be used. As a specific example, in the example of the response method 459 described in the first embodiment, the following method may be used.

・X回の管理情報要求メッセージ400に対して、Y回の管理情報応答メッセージ500を送信すること(但し、YはX以下の整数値。X=Yとすると、毎回応答する指示となる)という応答方法の、YとXの差(や比)を小さくする(あるいはX=Yとする)。 In response to X management information request messages 400, Y management information response messages 500 are transmitted (where Y is an integer value less than or equal to X. If X = Y, an instruction to respond each time is given). The difference (or ratio) between Y and X in the response method is reduced (or X = Y).

・X回の管理情報要求メッセージ400の中で、N回目に管理情報応答メッセージ500を送信すること(但し、NはX以下の整数値。Nは複数回を指定可能であり、例えば1、3、5回目の応答を指示しても良い)という応答方法の、Nの指定する回数を増やすか、あるいはXを小さくする。 In the management information request message 400 of X times, the management information response message 500 is transmitted at the Nth time (where N is an integer value less than or equal to X. N can be specified multiple times, for example, 1, 3 The number of times designated by N is increased or X is made smaller in the response method that the fifth response may be instructed).

・指定したセンサデバイス100のみ管理情報応答メッセージ500を送信すること、或いは送信しないこと(このとき、センサデバイス100の指定方法としては、ネットワークアドレスやMACアドレス、その他センサデバイス100の識別子による指定のほか、ゲートウェイ200からのホップ数による指定(Mホップ目まで、Mホップ目のみ、またはMホップ目以降等)、センサデバイス100の保持するアプリケーションによる指定、センサデバイス100の地理的位置情報による指定、等が考えられる)という応答方法を設定することで、送信するべきセンサデバイスとして指定する。 The management information response message 500 is transmitted or not transmitted only to the designated sensor device 100 (At this time, the designation method of the sensor device 100 includes not only designation by a network address, a MAC address, and other identifiers of the sensor device 100) , Designation by the number of hops from the gateway 200 (up to the M hop, only the M hop, or after the M hop, etc.), designation by an application held by the sensor device 100, designation by the geographical position information of the sensor device 100, etc. Is specified as a sensor device to be transmitted.

・管理情報要求メッセージ400の受信時、あるいはそれ以前の任意のタイミングにおいて、センサデバイス100における、管理情報要求メッセージ400で指定された管理パラメータ453の実測値(インスタンス)が、閾値Vを上回っている(又は下回っていた)場合に、管理情報応答メッセージ500を送信すること、という応答方法の、Vの値を大きく、あるいは小さくする。 The measured value (instance) of the management parameter 453 specified in the management information request message 400 in the sensor device 100 exceeds the threshold value V at the time of receiving the management information request message 400 or at an arbitrary timing before that. In the case of (or below), the value of V of the response method of transmitting the management information response message 500 is increased or decreased.

また、応答の頻度を下げる応答方法もどのような応答方法を用いてもかまわず、具体的には、上記の応答頻度を上げる具体例と逆の設定をすればよい。   Also, any response method may be used as the response method for reducing the response frequency. Specifically, the setting may be reversed to the specific example for increasing the response frequency.

その後、次のセンサデバイス100にチェックをして(S1206)、すべての管理対象のセンサデバイス100の決定処理を試みるべくS1202へ進む。   Thereafter, the next sensor device 100 is checked (S1206), and the process proceeds to S1202 in order to try to determine all the sensor devices 100 to be managed.

(4.4 本実施形態に係る効果)
上述の通り、センサデバイス100は、ゲートウェイ200により送信された管理情報要求メッセージ400の応答方法、或いは任意のタイミングにおいてセンサデバイス100がローカルに策定した応答方法の指示に従って、管理情報要求メッセージ400への応答として管理情報応答メッセージ500を送信するか否かを判定する。
(4.4 Effects According to the Present Embodiment)
As described above, the sensor device 100 sends the management information request message 400 to the management information request message 400 according to an instruction of a response method of the management information request message 400 transmitted by the gateway 200 or a response method established locally by the sensor device 100 at an arbitrary timing. It is determined whether or not the management information response message 500 is transmitted as a response.

これにより、センサデバイス100は少なくとも一部の管理情報要求メッセージ400に対しては応答する必要がなくなるため、結果として、遠隔管理通信における、管理情報応答メッセージ500に係るトラヒックを抑制することが可能となる。   This eliminates the need for the sensor device 100 to respond to at least some of the management information request messages 400. As a result, it is possible to suppress traffic related to the management information response message 500 in remote management communication. Become.

すなわち、ゲートウェイ200又はセンサデバイス100が、適切な応答方法を指定(選択)することで、センサデバイス100の電力消費を低減し、結果として、センサネットワークN1全体の稼動寿命を延ばすことが可能となる。   That is, the gateway 200 or the sensor device 100 designates (selects) an appropriate response method, thereby reducing the power consumption of the sensor device 100 and, as a result, extending the operational life of the entire sensor network N1. .

また、ゲートウェイ200は、定められた時刻までに未応答のセンサデバイス100(管理情報応答メッセージ500を送信しなかったセンサデバイス100、又はパケットロス等により管理情報応答メッセージ500がゲートウェイ200に届かなかったセンサデバイス100)の応答情報を、保持している、当該センサデバイス100の過去の情報を元に作成することで、センサデバイス100A乃至100F全ての管理情報を、遠隔管理サーバ300へ送信することができる。   In addition, the gateway 200 has not received the management information response message 500 to the gateway 200 due to a sensor device 100 that has not responded by a predetermined time (the sensor device 100 that has not transmitted the management information response message 500 or a packet loss). By generating response information of the sensor device 100) based on the past information of the sensor device 100 that is held, all management information of the sensor devices 100A to 100F can be transmitted to the remote management server 300. it can.

さらに、ゲートウェイ200が自律的に、管理状態情報の精度を高める必要のあるセンサデバイス100に対しては応答の頻度を上げるような応答方法を指示し、一方で管理状態情報の精度を高める必要のないセンサデバイス100に対しては応答の頻度を下げるような応答方法を指示するため、遠隔管理を継続する上で、管理状態情報の精度を保つことが可能となる。   Further, the gateway 200 autonomously instructs the sensor device 100 that needs to increase the accuracy of the management status information to a response method that increases the response frequency, while the accuracy of the management status information needs to be increased. Since a response method that lowers the frequency of response is instructed to the sensor device 100 that does not exist, it is possible to maintain the accuracy of the management status information when continuing remote management.

従って、センサネットワークの運用において十分な管理状態情報の精度を保つことにより定期間隔でセンサデバイス100を管理する適切な遠隔管理を実現しつつ、遠隔管理を実現する遠隔管理通信に係る通信トラヒックを抑えて、センサネットワークN1及びセンサデバイス100の寿命を延ばすことが可能となる。   Therefore, it is possible to suppress communication traffic related to remote management communication for realizing remote management while realizing appropriate remote management for managing the sensor device 100 at regular intervals by maintaining sufficient management state information accuracy in the operation of the sensor network. Thus, the lifetime of the sensor network N1 and the sensor device 100 can be extended.

(5 実施形態4)
以下、実施形態4について説明する。尚、実施形態1、2、3と同一若しくは対応する構成については、実施形態1、2、3と同様の符号を付すと共に、説明を省略している場合がある。構成以外でも、作用、効果、及び処理内容等について、実施形態1、2、3と共通する部分については、説明を省略している。以下、実施形態1、2、3との相違点を中心に、説明を行う。
(5 Embodiment 4)
The fourth embodiment will be described below. In addition, about the structure which is the same as that of Embodiment 1, 2, 3, or respond | corresponds, it may attach | subject the code | symbol similar to Embodiment 1, 2, 3, and may abbreviate | omit description. In addition to the configuration, the description of operations, effects, processing contents, and the like that are common to the first, second, and third embodiments is omitted. Hereinafter, description will be made focusing on differences from the first, second, and third embodiments.

図14乃至図15は、本発明の実施形態4を説明するための図である。以下、これらの図を参照しながら、以下の流れに沿って本実施形態を説明する。まず、「5.1」で実施形態4全体の概要を示す。その上で、「5.2」でゲートウェイ200の構成を、「5.3」で処理の流れを説明する。最後に、「5.4」で実施形態4に係る効果等を説明する。   14 to 15 are diagrams for explaining the fourth embodiment of the present invention. Hereinafter, the present embodiment will be described along the following flow with reference to these drawings. First, “5.1” gives an overview of the entire embodiment 4. Then, the configuration of the gateway 200 will be described with “5.2”, and the processing flow will be described with “5.3”. Finally, “5.4” describes effects and the like according to the fourth embodiment.

(5.1 概要)
実施形態4のゲートウェイ200は、自律的に、現在までの各センサデバイス100の管理状態情報224やセンサネットワークN1の構成及び状態等を参照し、適切な遠隔管理を行うべく、管理状態情報の精度を高める必要のあるセンサデバイス100に対しては応答の頻度を上げるような応答方法を決定し、一方で管理状態情報の精度を高める必要のないセンサデバイス100に対しては応答の頻度を下げるような応答方法を決定する。そして、決定した応答方法をいずれの管理サイクルでセンサネットワークN1に通知するかを決定する。一例としては、決定した応答方法を直近の管理サイクルでセンサネットワークN1に通知できるか否かを判断し、通知できる場合は、決定した応答方法と対象のセンサデバイス100を直近の管理サイクルの送信内容として保持し、通知できない場合は、決定した応答方法と対象のセンサデバイス100を次回以降の送信可能な管理サイクルの送信内容として保持する。なお、管理状態情報の精度を高めるか否かの決定後、センサデバイス100に指示している現状の応答方法が適切であると判断した場合、該センサデバイス100に対して何も応答方法を設定しないことを決定することもある。なお、応答方法の決定は任意のタイミングで良く、現在の管理サイクルの終了時刻、ゲートウェイ200内で独自に定めた時刻、遠隔管理サーバ300から与えられた時刻、管理サイクル遠隔管理サーバ300より次のサイクルの遠隔管理指示を受信した時刻等いずれでもよい。
(5.1 Overview)
The gateway 200 according to the fourth embodiment autonomously refers to the management status information 224 of each sensor device 100 up to the present, the configuration and status of the sensor network N1, and the like, so as to perform appropriate remote management. For the sensor device 100 that needs to increase the response, a response method that increases the response frequency is determined, while for the sensor device 100 that does not need to increase the accuracy of the management status information, the response frequency is decreased. The correct response method. Then, in which management cycle the determined response method is to be notified to the sensor network N1 is determined. As an example, it is determined whether or not the determined response method can be notified to the sensor network N1 in the most recent management cycle. If it can be notified, the determined response method and the target sensor device 100 are transmitted in the most recent management cycle. If the notification method cannot be notified, the determined response method and the target sensor device 100 are held as transmission contents of a management cycle that can be transmitted next time. If it is determined that the current response method instructed to the sensor device 100 is appropriate after determining whether or not to improve the accuracy of the management status information, no response method is set for the sensor device 100. You may decide not to. The response method may be determined at an arbitrary timing. The end time of the current management cycle, the time uniquely determined in the gateway 200, the time given from the remote management server 300, the next from the management cycle remote management server 300 Any time etc. which received the remote management instruction | indication of a cycle may be sufficient.

例えば、管理サイクルNにおいて管理状態情報の精度を確認した結果、センサデバイス100Aには応答の頻度を上げる応答方法が、センサデバイス100Bには応答の頻度を下げる応答方法が決定されたとする。管理サイクルN+1においては応答の頻度を上げる応答方法のみセンサネットワークN1に通知できる場合、ゲートウェイ200は、管理サイクルN+1において、センサデバイス100Aに対して応答の頻度を上げる応答方法を送信するような内容を保持し、一方で管理サイクルN+2以降(例えば管理サイクルN+2や管理サイクルN+3)において、センサデバイス100Bに対して応答の頻度を下げる応答方法を送信するような内容を保持する。ゲートウェイ200は、管理サイクルN+1において、保持した該内容を参照し、センサデバイス100Aに関して応答の頻度を上げる応答方法を付加した管理情報要求メッセージ400をセンサネットワークN1に送信し、管理サイクルN+2以降(例えば管理サイクルN+2)において、保持した内容を参照し、センサデバイス100Bに関して応答の頻度を下げる応答方法を付加した管理情報要求メッセージ400をセンサネットワークN1に送信する。   For example, as a result of checking the accuracy of the management state information in the management cycle N, it is assumed that a response method for increasing the response frequency is determined for the sensor device 100A and a response method for decreasing the response frequency is determined for the sensor device 100B. If only the response method for increasing the response frequency in the management cycle N + 1 can be notified to the sensor network N1, the gateway 200 transmits a response method for transmitting the response method for increasing the response frequency to the sensor device 100A in the management cycle N + 1. On the other hand, in the management cycle N + 2 or later (for example, the management cycle N + 2 or the management cycle N + 3), the contents for transmitting a response method for reducing the response frequency to the sensor device 100B are held. The gateway 200 refers to the stored contents in the management cycle N + 1, and transmits a management information request message 400 to which a response method for increasing the response frequency with respect to the sensor device 100A is added to the sensor network N1, and after the management cycle N + 2 (for example, In the management cycle N + 2), the held information is referred to, and a management information request message 400 to which a response method for reducing the response frequency with respect to the sensor device 100B is added is transmitted to the sensor network N1.

これにより、管理情報要求メッセージ400や管理情報応答メッセージ500のパケットサイズの限界や通信環境の影響(遅延、帯域、ロス率など)、及び運用ポリシなどにより、決定したものの1つの管理サイクルでセンサネットワークN1に通知できない分の、センサデバイス100と応答方法のセットを他の管理サイクルで通知できるようになるために、管理状態情報の精度を確認した結果、複数のセンサデバイス100に異なる応答方法が決定された場合にも、最終的に、決定した全ての応答方法をセンサネットワークN1に通知することができる。   As a result, the sensor network is determined in one management cycle as determined by the packet size limit of the management information request message 400 and the management information response message 500, the influence of the communication environment (delay, bandwidth, loss rate, etc.), and the operation policy. In order to be able to notify the sensor device 100 and the set of response methods in the other management cycle for the amount that cannot be notified to N1, as a result of checking the accuracy of the management state information, different response methods are determined for the plurality of sensor devices 100. Even in the case where it is done, all the determined response methods can be finally notified to the sensor network N1.

なお、1つの管理サイクルでセンサネットワークN1に通知できる決定したセンサデバイス100と応答方法のセットは、1つ以上の複数である。また、センサデバイス100と応答方法はN対Nの関係であり、例えば1つの応答方法に複数のセンサデバイス100が関連付けられることがある。   Note that there are one or more sets of determined sensor devices 100 and response methods that can be notified to the sensor network N1 in one management cycle. The sensor device 100 and the response method have an N-to-N relationship. For example, a plurality of sensor devices 100 may be associated with one response method.

(5.2 デバイスの構成)
本実施形態に係るゲートウェイ200の構成について、図14を参照しながら説明する。尚、図14において、実線の矢印は、各構成間の制御や参照、情報の流れを示す。
(5.2 Device configuration)
The configuration of the gateway 200 according to the present embodiment will be described with reference to FIG. In FIG. 14, solid arrows indicate control, reference, and information flow between components.

先述したとおり、実施例4に係るゲートウェイ200は、自律的に、任意のタイミングにおいて、各センサデバイス100に対して応答頻度を上げる応答をするか、あるいは応答頻度を下げる応答をするかを決定し、決定後の管理サイクル(遠隔管理サーバ300から遠隔管理のリクエストを受信した際などに開始する管理サイクル)において、各センサデバイス100に指示する応答方法として採用し、当該応答方法を含んだ管理情報要求メッセージ400を作成及び送信する。このとき、一例として、決定した応答方法を直近の管理サイクルでセンサネットワークN1に通知できるか否かを判断し、通知できる場合は、決定した応答方法と対象のセンサデバイス100を直近の管理サイクルの送信内容として保持し、通知できない場合は、決定した応答方法と対象のセンサデバイス100を次回以降の送信可能な管理サイクルの送信内容として保持し、その結果に従って、管理情報要求メッセージ400を作成及び送信を行う。   As described above, the gateway 200 according to the fourth embodiment autonomously determines whether to respond to each sensor device 100 to increase the response frequency or to decrease the response frequency at any timing. In the management cycle after the determination (management cycle started when a remote management request is received from the remote management server 300), it is adopted as a response method for instructing each sensor device 100, and management information including the response method Create and send a request message 400. At this time, as an example, it is determined whether or not the determined response method can be notified to the sensor network N1 in the most recent management cycle, and if it can be notified, the determined response method and the target sensor device 100 are notified of the most recent management cycle. If it is held as transmission content and notification is not possible, the determined response method and the target sensor device 100 are held as transmission content of a management cycle that can be transmitted next time, and a management information request message 400 is created and transmitted according to the result I do.

ゲートウェイ200は、遠隔管理サーバ300から指示を受け、遠隔管理の処理を行うデバイス管理部210、センサデバイス100の省電力遠隔処理を行う遠隔管理メッセージ処理部220、管理情報要求メッセージ400の送信処理を行う管理情報要求メッセージ送信部230、管理情報応答メッセージ500の受信処理を行う管理情報応答メッセージ受信部240、遠隔管理サーバ300等の外部サーバと通信するための外部接続インタフェース250、センサデバイス100と通信するためのセンサデバイスインタフェース260を含む。   The gateway 200 receives an instruction from the remote management server 300 and performs a process of transmitting a device management unit 210 that performs remote management processing, a remote management message processing unit 220 that performs power-saving remote processing of the sensor device 100, and a management information request message 400. Management information request message transmission unit 230 to perform, management information response message reception unit 240 that performs reception processing of management information response message 500, external connection interface 250 for communication with an external server such as remote management server 300, and communication with sensor device 100 Including a sensor device interface 260.

管理情報要求メッセージ送信部230、管理情報応答メッセージ受信部240、外部接続インタフェース250、センサデバイスインタフェース260は、実施例1、3と同様であるので説明を省略する。なお、センサデバイス100は、実施例1あるいは実施例2のいずれかを用いることができるため、ここでは説明を省略する。また、管理情報要求メッセージ400、管理情報応答メッセージ500のフォーマット等についても、実施形態1と同様であるので、ここでは説明を省略する。   Since the management information request message transmission unit 230, the management information response message reception unit 240, the external connection interface 250, and the sensor device interface 260 are the same as those in the first and third embodiments, description thereof is omitted. Since the sensor device 100 can use either the first embodiment or the second embodiment, the description thereof is omitted here. Further, the formats of the management information request message 400 and the management information response message 500 are the same as those in the first embodiment, and thus the description thereof is omitted here.

デバイス管理部210は、遠隔管理サーバ300から遠隔管理の要求を受信し、当該要求が、センサデバイス100の遠隔管理を必要とする内容であれば、遠隔管理メッセージ処理部220の応答方法指示決定部221へ、センサデバイス100の遠隔管理を指示する。応答方法指示決定部221への指示には、どのセンサデバイス100に対する指示であり(特定のセンサデバイス100A乃至100Fに対する指示か、全てのセンサデバイス100に対する指示か、等)、どのような管理命令であり、かつどのようなパラメータを扱うか、等の内容が含まれる。   The device management unit 210 receives a remote management request from the remote management server 300. If the request is a content that requires remote management of the sensor device 100, the response management instruction determination unit of the remote management message processing unit 220 221 instructs remote management of the sensor device 100. The instruction to the response method instruction determination unit 221 is an instruction to which sensor device 100 (an instruction to a specific sensor device 100A to 100F, an instruction to all the sensor devices 100, etc.) Yes, and what parameters are handled.

また、デバイス管理部210は、遠隔管理メッセージ処理部220の自律応答方法決定部228の管理サイクル対応部229へ、デバイス管理部210として意識する管理サイクルがどのような間隔であるか、という情報を通知する。   In addition, the device management unit 210 informs the management cycle handling unit 229 of the autonomous response method determination unit 228 of the remote management message processing unit 220 what interval the management cycle that the device management unit 210 is aware of. Notice.

また、デバイス管理部210は、遠隔管理メッセージ処理部220の応答メッセージ処理部227から、センサデバイス100の遠隔管理の応答情報を受け取り、その応答情報を、遠隔管理サーバ300への応答として送信する。   The device management unit 210 receives remote management response information of the sensor device 100 from the response message processing unit 227 of the remote management message processing unit 220 and transmits the response information as a response to the remote management server 300.

遠隔管理メッセージ処理部220は、任意のタイミングにおいて、各センサデバイス100に対して応答頻度を上げる応答方法を設定するか、あるいは応答頻度を下げる応答方法を設定するかを決定し、該決定内容をいずれの管理サイクルでセンサネットワークN1に通知するかを決定した上で保持する。さらに、遠隔管理メッセージ処理部220は、デバイス管理部210からセンサデバイス100の遠隔管理の指示を受け取った際に、上記決定した応答方法を含む管理情報要求メッセージ400を作成すると共に、センサデバイス100から受信した管理情報応答メッセージ500に含まれる応答情報、及び受信しなかった未応答のセンサデバイス分の応答情報を適宜管理、作成、及び加工等して管理状態情報とすると共に、デバイス管理部210へと当該応答情報(=管理状態情報)を出力する。   The remote management message processing unit 220 determines whether to set a response method for increasing the response frequency or to set a response method for decreasing the response frequency for each sensor device 100 at an arbitrary timing. It is determined and held in which management cycle to notify the sensor network N1. Further, the remote management message processing unit 220 creates a management information request message 400 including the determined response method when receiving an instruction for remote management of the sensor device 100 from the device management unit 210, and from the sensor device 100. The response information included in the received management information response message 500 and the response information for the unacknowledged sensor devices that have not been received are appropriately managed, created, processed, etc., to obtain management status information, and to the device management unit 210 And the response information (= management state information).

遠隔管理メッセージ処理部220は、応答方法指示決定部221、管理状態情報224を記憶する記憶部223、管理情報要求メッセージ作成部225、応答メッセージ処理部227、自律応答方法決定部228、及び管理サイクル対応部229を含む。   The remote management message processing unit 220 includes a response method instruction determination unit 221, a storage unit 223 for storing management state information 224, a management information request message creation unit 225, a response message processing unit 227, an autonomous response method determination unit 228, and a management cycle. A corresponding portion 229 is included.

応答方法指示決定部221は、デバイス管理部210からセンサデバイス100の遠隔管理の指示を受け取った際に、自律応答方法決定部228の管理サイクル対応部229に直近の管理サイクルで送信するべき各センサデバイスの応答方法を確認し、自律応答方法決定部228にて決定された直近の管理サイクルで送信するべき各センサデバイスに指示する応答方法を採用する。   When receiving a remote management instruction for the sensor device 100 from the device management unit 210, the response method instruction determination unit 221 transmits each sensor to be transmitted to the management cycle corresponding unit 229 of the autonomous response method determination unit 228 in the latest management cycle. A response method for confirming the device response method and instructing each sensor device to transmit in the most recent management cycle determined by the autonomous response method determination unit 228 is adopted.

応答方法指示決定部221は、採用した応答方法を含む管理情報要求メッセージ400を作成するように、管理情報要求メッセージ作成部225へ指示する。尚、応答方法の採用にあたり、応答方法指示決定部221がいずれのセンサデバイス100にも応答方法を指示しない場合もある。この場合には、応答方法指示決定部221は、管理情報要求メッセージ400による応答方法の指定を行わない。   The response method instruction determination unit 221 instructs the management information request message creation unit 225 to create the management information request message 400 including the adopted response method. In adopting the response method, the response method instruction determining unit 221 may not instruct any of the sensor devices 100 about the response method. In this case, the response method instruction determination unit 221 does not specify a response method using the management information request message 400.

また、応答方法指示決定部221は、決定した応答方法(センサデバイス100に指示する応答方法)を、応答メッセージ処理部227へ通知する。   In addition, the response method instruction determination unit 221 notifies the response message processing unit 227 of the determined response method (response method for instructing the sensor device 100).

管理状態情報224を記憶する記憶部223、管理状態情報224、管理情報要求メッセージ作成部225、応答メッセージ処理部227については、実施例1、3と同様であるので説明を省略する。   Since the storage unit 223 for storing the management status information 224, the management status information 224, the management information request message creation unit 225, and the response message processing unit 227 are the same as those in the first and third embodiments, description thereof will be omitted.

自律応答方法決定部228は、記憶部223の管理状態情報224に保持する各センサデバイス100の管理状態情報およびセンサネットワークN1の構成及び状態と、応答メッセージ処理部227が作成した各センサデバイス100の管理状態情報から、自律的に各センサデバイス100の次回の管理サイクルの応答方法を決定する。先述のとおり、応答方法は、現在の各センサデバイス100の管理状態情報の精度が十分であるか否かから判断し、管理状態情報の精度を高める必要のあるセンサデバイス100に対しては応答の頻度を上げるような応答方法を決定し、一方で管理状態情報の精度を高める必要のないセンサデバイス100に対しては応答の頻度を下げるような応答方法を決定する。なお、管理状態情報の精度を高めるか否かの決定後、センサデバイス100に指示している現状の応答方法が適切であると判断した場合、該センサデバイス100に対して何も応答方法を設定しないことを決定することもある。   The autonomous response method determination unit 228 includes the management state information of each sensor device 100 and the configuration and state of the sensor network N1 held in the management state information 224 of the storage unit 223, and the sensor device 100 created by the response message processing unit 227. From the management state information, a response method for the next management cycle of each sensor device 100 is autonomously determined. As described above, the response method determines whether or not the accuracy of the management state information of each current sensor device 100 is sufficient, and responds to the sensor device 100 that needs to improve the accuracy of the management state information. A response method that increases the frequency is determined, while a response method that decreases the response frequency is determined for the sensor device 100 that does not need to increase the accuracy of the management state information. If it is determined that the current response method instructed to the sensor device 100 is appropriate after determining whether or not to improve the accuracy of the management status information, no response method is set for the sensor device 100. You may decide not to.

具体的な応答方法の決定の仕方の例を以下に記す。ただし、本実施の形態は以下の例に限るものではない。   An example of how to determine a specific response method will be described below. However, the present embodiment is not limited to the following example.

あるセンサデバイス100からの応答で取得した応答情報(=管理状態情報)(以下、実管理情報と呼ぶ)と、応答メッセージ処理部227が管理状態情報224及び応答方法指示決定部221から受け取った応答方法を参照して作成した管理状態情報(以下、作成管理情報と呼ぶ)とを用いて、下記のいずれかの処理を行う。なお、下記の処理は、1つ以上の複数を併せて実行することも可能である。
・任意の過去X回分(Xは1以上の整数)の実管理情報が、任意に定めた閾値Tより小さい(あるいは、T以下の)センサデバイス100には応答の頻度を上げる応答方法を、逆に閾値T以上である(あるいは、Tより大きい)センサデバイス100には応答の頻度を下げる応答方法を決定する。なお、閾値Tは、全センサデバイス100に対して、あるいはセンサデバイス100毎に設定可能とする。
Response information (= management status information) (hereinafter referred to as actual management information) acquired as a response from a certain sensor device 100, and a response received by the response message processing unit 227 from the management status information 224 and the response method instruction determination unit 221 One of the following processes is performed using management status information (referred to as creation management information hereinafter) created by referring to the method. Note that the following processing can be executed in combination of one or more.
-Reverse the response method that increases the frequency of response for the sensor device 100 whose actual management information for any past X times (X is an integer equal to or greater than 1) is smaller than (or less than or equal to) the threshold T that is arbitrarily determined. For the sensor device 100 that is greater than or equal to the threshold value T (or greater than T), a response method for decreasing the response frequency is determined. The threshold T can be set for all sensor devices 100 or for each sensor device 100.

・任意の過去X回分(Xは1以上の整数)の実管理情報と作成管理情報との差分の絶対値(あるいは比率の絶対値)が、任意に定める閾値Tより小さい(あるいは、T以下である)センサデバイス100には応答の頻度を下げる応答方法を、逆に閾値T以上である(あるいは、Tより大きい)センサデバイス100には応答の頻度を上げる応答方法を決定する。なお、閾値Tは、全センサデバイス100に対して、あるいはセンサデバイス100毎に設定可能とする。 -The absolute value (or absolute value of the ratio) of the difference between the actual management information and the creation management information for any past X times (X is an integer equal to or greater than 1) is smaller than an arbitrarily determined threshold T (or less than T A response method for reducing the response frequency is determined for the sensor device 100, and a response method for increasing the response frequency is determined for the sensor device 100 that is equal to or greater than the threshold T (or greater than T). The threshold T can be set for all sensor devices 100 or for each sensor device 100.

・センサデバイス100に関して、最新の実管理情報と任意のN回前(Nは1以上の整数)の実管理情報との差分の絶対値(あるいは比率の絶対値)が、現在までにおいて任意に定めるY回(Yは1以上の整数)だけ(あるいはY回連続して)、任意に定める閾値Tより小さい(あるいは、T以下である)場合には応答の頻度を下げる応答方法を、逆に閾値T以上である(あるいは、Tより大きい)場合には応答の頻度を上げる応答方法を決定する。なお、閾値Tは、全センサデバイス100に対して、あるいはセンサデバイス100毎に設定可能とする。(すなわち、あるセンサデバイス100の、最新とN回前の実管理情報が閾値Tを下回ったか上回ったかをカウントし、カウント回数がY回になった場合に応答の頻度の上げ下げを決定する。) Regarding the sensor device 100, the absolute value (or the absolute value of the ratio) of the difference between the latest actual management information and the actual management information of any N times before (N is an integer of 1 or more) is arbitrarily determined up to now. When Y times (Y is an integer equal to or greater than 1) (or continuously Y times), the response method for lowering the response frequency when the value is smaller than the arbitrarily defined threshold value T (or less than T), the threshold value is reversed. If it is equal to or greater than T (or greater than T), a response method for increasing the response frequency is determined. The threshold T can be set for all sensor devices 100 or for each sensor device 100. (That is, it counts whether the latest management information of a certain sensor device 100 and the N-th previous actual management information has fallen below or exceeded the threshold T, and when the number of counts becomes Y times, the response frequency is decided to be raised or lowered.)

・任意の過去X回分(Xは1以上の整数)の実管理情報が、本来その管理状態情報が取るはずのない値(すなわち異常値やバグ値など)であるセンサデバイス100には応答の頻度を上げる応答方法を、逆に正常値であるセンサデバイス100には応答の頻度を下げる応答方法を決定する。 The frequency of response to the sensor device 100 in which the actual management information of any past X times (X is an integer equal to or greater than 1) is a value (that is, an abnormal value, a bug value, etc.) that the management status information should not originally take On the contrary, for the sensor device 100 having a normal value, a response method for decreasing the response frequency is determined.

・センサネットワークN1のトポロジを把握した上で、特にゲートウェイを頂点とするマルチホップツリートポロジにおいて、すべての子および孫センサデバイス100から実管理情報の応答がないセンサデバイス100に対しては応答の頻度を上げる応答方法を決定し、逆にいずれかの子および孫センサデバイス100から実管理情報の応答があるセンサデバイス100に対しては応答の頻度を下げる応答方法を決定する。
上記のいずれの処理方法においても、先述したとおり、管理状態情報の精度を高める応答方法とするか否かの決定後(あるいは決定の最中に)、センサデバイス100に指示している現状の応答方法が適切であると判断した場合、該センサデバイス100に対して何も応答方法を設定しないことを決定することもある。
・ Following the topology of the sensor network N1, in particular in the multi-hop tree topology with the gateway at the top, the frequency of responses to the sensor devices 100 that do not respond to actual management information from all the child and grandchild sensor devices 100 The response method for increasing the response frequency is determined, and conversely, the response method for decreasing the response frequency is determined for the sensor device 100 having a response of the actual management information from any of the child and grandchild sensor devices 100.
In any of the above processing methods, as described above, the current response instructed to the sensor device 100 after (or during the determination) whether or not the response method is to increase the accuracy of the management state information. If it is determined that the method is appropriate, it may be determined that no response method is set for the sensor device 100.

また、応答の頻度を上げる応答方法は、実施例1に記載の応答方法459を用いるなど、どのような方法を用いてもかまわない。具体例としては、実施例1に記載の応答方法459の例において、次のような方法を用いることができる。   As a response method for increasing the response frequency, any method such as the response method 459 described in the first embodiment may be used. As a specific example, the following method can be used in the example of the response method 459 described in the first embodiment.

・X回の管理情報要求メッセージ400に対して、Y回の管理情報応答メッセージ500を送信すること(但し、YはX以下の整数値。X=Yとすると、毎回応答する指示となる)、という応答方法の、YとXの差(や比)を小さくする(あるいはX=Yとする)。 In response to X management information request messages 400, Y management information response messages 500 are transmitted (where Y is an integer value less than or equal to X. If X = Y, an instruction to respond each time). In the response method, the difference (or ratio) between Y and X is reduced (or X = Y).

・X回の管理情報要求メッセージ400の中で、N回目に管理情報応答メッセージ500を送信すること(但し、NはX以下の整数値。Nは複数回を指定可能であり、例えば1、3、5回目の応答を指示しても良い)、という応答方法の、Nの指定する回数を増やすか、あるいはXを小さくする。 In the management information request message 400 of X times, the management information response message 500 is transmitted at the Nth time (where N is an integer value less than or equal to X. N can be specified multiple times, for example, 1, 3 In the response method, “the fifth response may be instructed”, the number of times designated by N is increased or X is decreased.

・指定したセンサデバイス100のみ管理情報応答メッセージ500を送信すること、或いは送信しないこと(このとき、センサデバイス100の指定方法としては、ネットワークアドレスやMACアドレス、その他センサデバイス100の識別子による指定のほか、ゲートウェイ200からのホップ数による指定(Mホップ目まで、Mホップ目のみ、またはMホップ目以降等)、センサデバイス100の保持するアプリケーションによる指定、センサデバイス100の地理的位置情報による指定、等が考えられる)、という応答方法を設定することで、送信するべきセンサデバイスとして指定する。 The management information response message 500 is transmitted or not transmitted only to the designated sensor device 100 (At this time, the designation method of the sensor device 100 includes not only designation by a network address, a MAC address, and other identifiers of the sensor device 100) , Designation by the number of hops from the gateway 200 (up to the M hop, only the M hop, or after the M hop, etc.), designation by an application held by the sensor device 100, designation by the geographical position information of the sensor device 100, etc. Is designated as a sensor device to be transmitted.

・管理情報要求メッセージ400の受信時、あるいはそれ以前の任意のタイミングにおいて、センサデバイス100における、管理情報要求メッセージ400で指定された管理パラメータ453の実測値(インスタンス)が、閾値Vを上回っている(又は下回っていた)場合に、管理情報応答メッセージ500を送信すること、という応答方法の、Vの値を大きく、あるいは小さくする。 The measured value (instance) of the management parameter 453 specified in the management information request message 400 in the sensor device 100 exceeds the threshold value V at the time of receiving the management information request message 400 or at an arbitrary timing before that. In the case of (or below), the value of V of the response method of transmitting the management information response message 500 is increased or decreased.

また、応答の頻度を下げる応答方法もどのような応答方法を用いてもかまわず、具体的には、上記の応答頻度を上げる具体例と逆の設定をすればよい。   Also, any response method may be used as the response method for reducing the response frequency. Specifically, the setting may be reversed to the specific example for increasing the response frequency.

自律応答方法決定部228は、決定した各センサデバイス100の応答方法を管理サイクル対応部229に通知する。   The autonomous response method determination unit 228 notifies the management cycle response unit 229 of the determined response method of each sensor device 100.

管理サイクル対応部229は、自律応答方法決定部228から取得した各センサデバイス100の応答方法をいずれの管理サイクルでセンサネットワークN1に通知するかを決定し、決定した内容でセンサネットワークN1に通知できるように各センサデバイス100の応答方法の情報を保持する。決定と保持の一例としては、自律応答方法決定部228から取得したセンサデバイス100と応答方法のセットを直近の管理サイクルでセンサネットワークN1に通知できるか否かを判断し、通知できる場合は、該応答方法と対象のセンサデバイス100を直近の管理サイクルの送信内容として保持し、通知できない場合は、該応答方法と対象のセンサデバイス100を次回以降の送信可能な管理サイクルの送信内容として保持する。   The management cycle handling unit 229 can determine in which management cycle the response method of each sensor device 100 acquired from the autonomous response method determination unit 228 is to be notified to the sensor network N1, and can notify the sensor network N1 with the determined content. As described above, information on the response method of each sensor device 100 is held. As an example of determination and holding, it is determined whether or not the sensor device 100 and the response method set acquired from the autonomous response method determination unit 228 can be notified to the sensor network N1 in the most recent management cycle. If the response method and the target sensor device 100 are held as the transmission contents of the most recent management cycle and cannot be notified, the response method and the target sensor device 100 are held as the transmission contents of the management cycle that can be sent next time.

なお、管理サイクル対応部229は、上記の決定において、デバイス管理部210から取得した管理サイクルの間隔や、その他の運用ポリシに基づく情報(管理サイクルの間隔、いずれの管理サイクルでどのような応答方法を指示するべきか、あるいは可能か、いずれの管理サイクルでどのセンサデバイス100に指示するべきか、あるいは可能か、1つの管理サイクルで通知可能な応答方法とセンサデバイス100のセット数、1つの管理サイクルで送信可能な管理情報要求メッセージ400の数など)を参考する。   Note that the management cycle handling unit 229 determines whether the management cycle interval acquired from the device management unit 210 or other information based on the operation policy (management cycle interval, any response method in any management cycle) in the above determination. Which sensor device 100 should be instructed or possible in which management cycle, which response method can be notified in one management cycle, the number of sets of sensor devices 100, and one management The number of management information request messages 400 that can be transmitted in a cycle is referred to.

また、管理サイクル対応部229は、上記保持した応答方法と対象のセンサデバイス100の情報を他の機能に公開し、例えば、応答方法指示決定部221からの直近の管理サイクルにて送信するべき応答方法と対象のセンサデバイス100のセットの問い合わせに対して、対象となる一覧を回答する。なお、公開する情報は、直近の管理サイクルにて送信するべき応答方法と対象のセンサデバイス100の情報に限らず、他の管理サイクルにて送信するべき内容も確認可能である。   In addition, the management cycle response unit 229 discloses the held response method and the information of the target sensor device 100 to other functions, for example, a response to be transmitted in the most recent management cycle from the response method instruction determination unit 221. In response to an inquiry of a set of methods and target sensor devices 100, a target list is returned. Note that the information to be disclosed is not limited to the response method to be transmitted in the most recent management cycle and the information on the target sensor device 100, but the contents to be transmitted in other management cycles can also be confirmed.

(5.3 処理の流れ)
次に、実施形態4に係るゲートウェイ200の、応答方法の決定と保持に係る処理の流れを、図15を参照しながら説明する。図15は、ゲートウェイ200の動作を示すフローチャートである。尚、図15は、第3の実施形態と同様に、第1実施形態の図8におけるS805に相当する部分の動作に関する。したがって、実施形態4に係るゲートウェイ200の一連の動作において、図8のS805以外の動作は、第1実施形態の図8と同様であるので、ここでは説明を省略する。また、図15において、S1201からS1206までは第3の実施形態の図13と同様であるため、ここでは説明を省略する。
(5.3 Process flow)
Next, a flow of processing related to determination and holding of a response method in the gateway 200 according to the fourth embodiment will be described with reference to FIG. FIG. 15 is a flowchart showing the operation of the gateway 200. FIG. 15 relates to the operation of the portion corresponding to S805 in FIG. 8 of the first embodiment, as in the third embodiment. Therefore, in the series of operations of the gateway 200 according to the fourth embodiment, the operations other than S805 in FIG. 8 are the same as those in FIG. 8 of the first embodiment, and thus description thereof is omitted here. In FIG. 15, steps S1201 to S1206 are the same as those in FIG. 13 of the third embodiment, and a description thereof will be omitted here.

管理サイクル対応部229は、取得した応答方法と対象のセンサデバイス100をいずれの管理サイクルでセンサネットワークN1に通知するべきかを判断する。例えば、取得したセンサデバイス100と応答方法のセットを直近の管理サイクルでセンサネットワークN1に通知できるか否かを判断し(S1207)、通知できる場合は(S1207のYes)、該応答方法と対象のセンサデバイス100を直近の管理サイクルの送信内容として保持し(S1208)、通知できない場合は(S1207のYes)、該応答方法と対象のセンサデバイス100を次回以降の送信可能な管理サイクルの送信内容として保持する(S1209)。   The management cycle handling unit 229 determines in which management cycle the acquired response method and the target sensor device 100 should be notified to the sensor network N1. For example, it is determined whether or not the acquired sensor device 100 and the set of response methods can be notified to the sensor network N1 in the most recent management cycle (S1207). If the notification can be notified (Yes in S1207), the response method and the target method are determined. The sensor device 100 is held as the transmission content of the most recent management cycle (S1208), and when the notification cannot be made (Yes in S1207), the response method and the target sensor device 100 are transmitted as the transmission content of the management cycle that can be transmitted next time. Hold (S1209).

なお、管理サイクル対応部229は、S1207の判断において、デバイス管理部210から取得した管理サイクルの間隔や、その他の運用ポリシに基づく情報(管理サイクルの間隔、いずれの管理サイクルでどのような応答方法を指示するべきか、あるいは可能か、いずれの管理サイクルでどのセンサデバイス100に指示するべきか、あるいは可能か、1つの管理サイクルで通知可能な応答方法とセンサデバイス100のセット数、1つの管理サイクルで送信可能な管理情報要求メッセージ400の数など)を参考する。   Note that the management cycle handling unit 229 determines in S1207 the interval between management cycles acquired from the device management unit 210 and information based on other operation policies (the interval between management cycles, which response method is used in any management cycle). Which sensor device 100 should be instructed or possible in which management cycle, which response method can be notified in one management cycle, the number of sets of sensor devices 100, and one management The number of management information request messages 400 that can be transmitted in a cycle is referred to.

管理サイクル対応部229は、S1208およびS1209で整理して保持した、応答方法と対象のセンサデバイス100をいずれの管理サイクルでセンサネットワークN1に通知するかの情報を、外部機能に公開する(S1210)。   The management cycle handling unit 229 discloses, to the external function, information indicating in which management cycle the response method and the target sensor device 100 are notified to the sensor network N1 that are organized and held in S1208 and S1209 (S1210). .

(5.4 本実施形態に係る効果)
上述の通り、センサデバイス100は、ゲートウェイ200により送信された管理情報要求メッセージ400の応答方法、或いは任意のタイミングにおいてセンサデバイス100がローカルに策定した応答方法の指示に従って、管理情報要求メッセージ400への応答として管理情報応答メッセージ500を送信するか否かを判定する。
(5.4 Effects of the present embodiment)
As described above, the sensor device 100 sends the management information request message 400 to the management information request message 400 according to an instruction of a response method of the management information request message 400 transmitted by the gateway 200 or a response method established locally by the sensor device 100 at an arbitrary timing. It is determined whether or not the management information response message 500 is transmitted as a response.

これにより、センサデバイス100は少なくとも一部の管理情報要求メッセージ400に対しては応答する必要がなくなるため、結果として、遠隔管理通信における、管理情報応答メッセージ500に係るトラヒックを抑制することが可能となる。   This eliminates the need for the sensor device 100 to respond to at least some of the management information request messages 400. As a result, it is possible to suppress traffic related to the management information response message 500 in remote management communication. Become.

すなわち、ゲートウェイ200又はセンサデバイス100が、適切な応答方法を指定(選択)することで、センサデバイス100の電力消費を低減し、結果として、センサネットワークN1全体の稼動寿命を延ばすことが可能となる。   That is, the gateway 200 or the sensor device 100 designates (selects) an appropriate response method, thereby reducing the power consumption of the sensor device 100 and, as a result, extending the operational life of the entire sensor network N1. .

また、ゲートウェイ200は、定められた時刻までに未応答のセンサデバイス100(管理情報応答メッセージ500を送信しなかったセンサデバイス100、又はパケットロス等により管理情報応答メッセージ500がゲートウェイ200に届かなかったセンサデバイス100)の応答情報を、保持している、当該センサデバイス100の過去の情報を元に作成することで、センサデバイス100A乃至100F全ての管理情報を、遠隔管理サーバ300へ送信することができる。   In addition, the gateway 200 has not received the management information response message 500 to the gateway 200 due to a sensor device 100 that has not responded by a predetermined time (the sensor device 100 that has not transmitted the management information response message 500 or a packet loss). By generating response information of the sensor device 100) based on the past information of the sensor device 100 that is held, all management information of the sensor devices 100A to 100F can be transmitted to the remote management server 300. it can.

さらに、ゲートウェイ200が自律的に、管理状態情報の精度を高める必要のあるセンサデバイス100に対しては応答の頻度を上げるような応答方法を指示し、一方で管理状態情報の精度を高める必要のないセンサデバイス100に対しては応答の頻度を下げるような応答方法を指示するため、遠隔管理を継続する上で、管理状態情報の精度を保つことが可能となる。   Further, the gateway 200 autonomously instructs the sensor device 100 that needs to increase the accuracy of the management status information to a response method that increases the response frequency, while the accuracy of the management status information needs to be increased. Since a response method that lowers the frequency of response is instructed to the sensor device 100 that does not exist, it is possible to maintain the accuracy of the management status information when continuing remote management.

さらに加えて、ゲートウェイ200が決定された応答方法と対象のセンサデバイス100をいずれの管理サイクルでセンサネットワークN1に通知するかを判断して、同情報を保持および公開することで、管理情報要求メッセージ400や管理情報応答メッセージ500のパケットサイズの限界や通信環境の影響(遅延、帯域、ロス率など)、及び運用ポリシなどにより、1つの管理サイクルでセンサネットワークN1に通知できない分の決定したセンサデバイス100と応答方法のセットを他の管理サイクルで通知できるようになるために、管理状態情報の精度を確認した結果、複数のセンサデバイス100に異なる応答方法が決定された場合にも、最終的に、決定した全ての応答方法をセンサネットワークN1に通知することができる。   In addition, the management information request message is obtained by determining whether the gateway 200 determines the response method determined and in which management cycle the sensor network N1 is to be notified to the sensor network N1, and holding and releasing the information. 400 and the management information response message 500 are determined based on the limit of the packet size, the influence of the communication environment (delay, bandwidth, loss rate, etc.), the operation policy, etc., and the determined sensor device that cannot be notified to the sensor network N1 in one management cycle 100 and a set of response methods can be notified in another management cycle. As a result of checking the accuracy of the management status information, even when different response methods are determined for a plurality of sensor devices 100, finally All the determined response methods can be notified to the sensor network N1.

従って、センサネットワークの運用において、各センサデバイス100にそれぞれ異なる適切な応答方法を指示することが可能となるため、十分な管理状態情報の精度を保つことにより定期間隔でセンサデバイス100を管理する適切な遠隔管理を実現しつつ、遠隔管理を実現する遠隔管理通信に係る通信トラヒックを抑えて、センサネットワークN1及びセンサデバイス100の寿命を延ばすことが可能となる。   Accordingly, in the operation of the sensor network, it is possible to instruct each sensor device 100 with a different appropriate response method. Therefore, it is possible to manage the sensor device 100 at regular intervals by maintaining sufficient management state information accuracy. It is possible to extend the lifetimes of the sensor network N1 and the sensor device 100 by suppressing communication traffic related to remote management communication for realizing remote management while realizing remote management.

(4 付記事項)
尚、前述の各実施形態の構成は、組み合わせたり或いは一部の構成部分を入れ替えたりしてもよい。また、本発明の構成は前述の実施形態のみに限定されるものではなく、本発明の要旨を逸脱しない範囲内において種々変更を加えてもよい。
尚、前述の各実施形態の一部又は全部は、以下の付記のようにも記載されうるが、以下には限られない。
(4 Appendix)
Note that the configurations of the above-described embodiments may be combined or some of the components may be replaced. The configuration of the present invention is not limited to the above-described embodiment, and various modifications may be made without departing from the scope of the present invention.
A part or all of each of the above-described embodiments can be described as in the following supplementary notes, but is not limited thereto.

(付記1)
他の通信装置に対して、管理情報の要求メッセージを送信する送信手段と、
前記要求メッセージに対する応答メッセージにより前記他の通信装置の管理情報を受信する受信手段と、
前記受信した前記他の通信装置の管理情報を用いて、前記他の通信装置が前記要求メッセージに応答するか否かを定める応答条件を決定する応答条件決定手段と、
前記決定した応答条件を含めて、前記決定後に所定のタイミングで前記送信手段により送信される前記要求メッセージを作成するメッセージ作成手段と
を備える通信装置。
(付記2)
前記受信した前記他の通信装置の管理情報を記憶する記憶手段と、
前記受信した前記他の通信装置の管理情報を用いて、前記記憶された管理情報の精度が低いか否かを判断する精度判断手段と
を備え、
前記応答条件決定手段は、前記精度判断手段による判断結果に応じて、前記応答条件を決定する付記1に記載の通信装置。
(付記3)
前記応答条件決定手段は、前記精度判断手段により精度が低いと判断された場合に、前記他の通信装置の応答の頻度を上げるように前記応答条件を決定する付記2に記載の通信装置。
(付記4)
前記応答条件決定手段は、前記精度判断手段により精度が高いと判断された場合に、前記他の通信装置の応答の頻度を下げるように前記応答条件を決定する付記2又は3に記載の通信装置。
(付記5)
前記応答条件決定手段により決定した前記応答条件を、どのタイミングで送信される前記要求メッセージに含めるかを決定する送信タイミング決定手段を備え、
前記メッセージ作成手段は、前記送信タイミング決定手段により決定したタイミングに従って、前記決定した応答条件を含めて前記要求メッセージを作成する付記1から4のいずれか1つに記載の通信装置。
(付記6)
通信装置において実施される通信方法であって、
他の通信装置に対して、管理情報の要求メッセージを送信する送信ステップと、
前記要求メッセージに対する応答メッセージにより前記他の通信装置の管理情報を受信する受信ステップと、
前記受信した前記他の通信装置の管理情報を用いて、前記他の通信装置が前記要求メッセージに応答するか否かを定める応答条件を決定する応答条件決定ステップと、
前記決定した応答条件を含めて、前記決定後に所定のタイミングで送信される前記要求メッセージを作成するメッセージ作成ステップと
を備える通信方法。
(付記7)
前記受信した前記他の通信装置の管理情報を記憶する記憶ステップと、
前記受信した前記他の通信装置の管理情報を用いて、前記記憶された管理情報の精度が低いか否かを判断する精度判断ステップと
を備え、
前記応答条件決定ステップは、前記精度判断ステップによる判断結果に応じて、前記応答条件を決定する付記6に記載の通信方法。
(付記8)
前記応答条件決定ステップは、前記精度判断ステップにより精度が低いと判断された場合に、前記他の通信装置の応答の頻度を上げるように前記応答条件を決定する付記7に記載の通信方法。
(付記9)
前記応答条件決定ステップは、前記精度判断ステップにより精度が高いと判断された場合に、前記他の通信装置の応答の頻度を下げるように前記応答条件を決定する付記7又は8に記載の通信方法。
(付記10)
前記応答条件決定ステップにより決定した前記応答条件を、どのタイミングで送信される前記要求メッセージに含めるかを決定する送信タイミング決定ステップを備える付記6から9のいずれか1つに記載の通信方法。
(付記11)
前記メッセージ作成ステップは、前記送信タイミング決定ステップにより決定したタイミングに従って、前記決定した応答条件を含めて前記要求メッセージを作成する付記10に記載の通信方法。
(付記12)
第1の通信装置と第2の通信装置とが通信する通信システムであって、
前記第1の通信装置は、
前記第2の通信装置に対して、管理情報の要求メッセージを送信する手段と、
前記要求メッセージに対する応答メッセージにより前記第2の通信装置の管理情報を受信する手段と、
前記受信した前記第2の通信装置の管理情報を用いて、前記第2の通信装置が前記要求メッセージに応答するか否かを定める応答条件を決定する手段と、
前記決定した応答条件を含めて、前記決定後に所定のタイミングで前記送信手段により送信される前記要求メッセージを作成する手段と
を備え、
前記第2の通信装置は、
前記第1の通信装置から管理情報の要求メッセージを受信する手段と、
前記受信した要求メッセージに前記応答条件が含まれる場合に、当該応答条件に基づいて、前記受信した要求メッセージに対する応答として、管理情報を含めたメッセージを送信する手段と
を備えた通信システム。
(Appendix 1)
A transmission means for transmitting a management information request message to another communication device;
Receiving means for receiving management information of the other communication device by a response message to the request message;
Response condition determination means for determining a response condition for determining whether or not the other communication device responds to the request message using the received management information of the other communication device;
A message creation unit that creates the request message transmitted by the transmission unit at a predetermined timing after the determination including the determined response condition.
(Appendix 2)
Storage means for storing the received management information of the other communication device;
Accuracy judgment means for judging whether or not the accuracy of the stored management information is low, using the received management information of the other communication device;
The communication apparatus according to appendix 1, wherein the response condition determination unit determines the response condition according to a determination result by the accuracy determination unit.
(Appendix 3)
The communication apparatus according to appendix 2, wherein the response condition determination unit determines the response condition so as to increase a response frequency of the other communication apparatus when the accuracy determination unit determines that the accuracy is low.
(Appendix 4)
The communication apparatus according to appendix 2 or 3, wherein the response condition determining unit determines the response condition so as to reduce a response frequency of the other communication apparatus when the accuracy determining unit determines that the accuracy is high. .
(Appendix 5)
Transmission timing determination means for determining at which timing the response condition determined by the response condition determination means is included in the request message transmitted;
The communication apparatus according to any one of appendices 1 to 4, wherein the message creating unit creates the request message including the determined response condition according to the timing determined by the transmission timing determining unit.
(Appendix 6)
A communication method implemented in a communication device,
A transmission step of transmitting a management information request message to another communication device;
A receiving step of receiving management information of the other communication device by a response message to the request message;
A response condition determination step for determining a response condition for determining whether or not the other communication device responds to the request message using the received management information of the other communication device;
A message creating step of creating the request message that is transmitted at a predetermined timing after the decision including the decided response condition.
(Appendix 7)
A storage step of storing the received management information of the other communication device;
An accuracy determining step of determining whether or not the accuracy of the stored management information is low using the received management information of the other communication device;
The communication method according to appendix 6, wherein the response condition determining step determines the response condition according to a determination result obtained by the accuracy determining step.
(Appendix 8)
The communication method according to appendix 7, wherein the response condition determining step determines the response condition so as to increase a response frequency of the other communication device when the accuracy determining step determines that the accuracy is low.
(Appendix 9)
The communication method according to appendix 7 or 8, wherein the response condition determining step determines the response condition so as to reduce a response frequency of the other communication device when the accuracy determining step determines that the accuracy is high. .
(Appendix 10)
The communication method according to any one of appendices 6 to 9, further comprising a transmission timing determination step for determining at which timing the response condition determined in the response condition determination step is included in the request message transmitted.
(Appendix 11)
The communication method according to appendix 10, wherein the message creating step creates the request message including the determined response condition according to the timing determined by the transmission timing determining step.
(Appendix 12)
A communication system in which a first communication device and a second communication device communicate with each other,
The first communication device is:
Means for transmitting a management information request message to the second communication device;
Means for receiving management information of the second communication device by a response message to the request message;
Means for determining a response condition for determining whether or not the second communication device responds to the request message using the received management information of the second communication device;
Means for creating the request message transmitted by the transmission means at a predetermined timing after the determination, including the determined response condition;
The second communication device is:
Means for receiving a management information request message from the first communication device;
A communication system comprising: means for transmitting a message including management information as a response to the received request message based on the response condition when the received request message includes the response condition.

1・・・通信システム、100・・・センサデバイス、110・・・管理情報要求メッセージ受信部、120・・・パケット処理決定部、130・・・応答処理部、131・・・応答決定部、133・・・管理情報応答メッセージ作成部、135・・・記憶部、136・・・応答方法情報、137・・・応答方法計算情報、140・・・記憶部、141・・・センサ情報、150・・・管理情報メッセージ送信部、160・・・センサデバイスインタフェース、200・・・ゲートウェイ、210・・・デバイス管理部、220・・・遠隔管理メッセージ処理部、221・・・応答方法指示決定部、223・・・記憶部、224・・・管理状態情報、225・・・管理情報要求メッセージ作成部、227・・・応答メッセージ処理部、228・・・自律応答方法決定部、229・・・管理サイクル対応部、230・・・管理情報要求メッセージ送信部、240・・・管理情報応答メッセージ受信部、250・・・外部接続インターフェース、260・・・センサデバイスインターフェース、300・・・遠隔管理サーバ、400・・・管理情報要求メッセージ、500・・・管理情報応答メッセージ   DESCRIPTION OF SYMBOLS 1 ... Communication system, 100 ... Sensor device, 110 ... Management information request message receiving part, 120 ... Packet processing determination part, 130 ... Response processing part, 131 ... Response determination part, 133: Management information response message creation unit, 135 ... Storage unit, 136 ... Response method information, 137 ... Response method calculation information, 140 ... Storage unit, 141 ... Sensor information, 150 ... Management information message transmission unit, 160 ... Sensor device interface, 200 ... Gateway, 210 ... Device management unit, 220 ... Remote management message processing unit, 221 ... Response method instruction determination unit 223, storage unit, 224, management status information, 225, management information request message creation unit, 227, response message processing unit, 228 ··· Autonomous response method decision unit, 229 ··· Management cycle response unit, ··· 230 ··· Management information request message transmission unit, ······································· Sensor device interface, 300 ... remote management server, 400 ... management information request message, 500 ... management information response message

Claims (12)

他の通信装置に対して、管理情報の要求メッセージを送信する送信手段と、
前記要求メッセージに対する応答メッセージにより前記他の通信装置の管理情報を受信する受信手段と、
前記受信した前記他の通信装置の管理情報を用いて、前記他の通信装置が前記要求メッセージに応答するか否かを定める応答条件を決定する応答条件決定手段と、
前記決定した応答条件を含めて、前記決定後に所定のタイミングで前記送信手段により送信される前記要求メッセージを作成するメッセージ作成手段と
を備える通信装置。
A transmission means for transmitting a management information request message to another communication device;
Receiving means for receiving management information of the other communication device by a response message to the request message;
Response condition determination means for determining a response condition for determining whether or not the other communication device responds to the request message using the received management information of the other communication device;
A message creation unit that creates the request message transmitted by the transmission unit at a predetermined timing after the determination including the determined response condition.
前記受信した前記他の通信装置の管理情報を記憶する記憶手段と、
前記受信した前記他の通信装置の管理情報を用いて、前記記憶された管理情報の精度が低いか否かを判断する精度判断手段と
を備え、
前記応答条件決定手段は、前記精度判断手段による判断結果に応じて、前記応答条件を決定する請求項1に記載の通信装置。
Storage means for storing the received management information of the other communication device;
Accuracy judgment means for judging whether or not the accuracy of the stored management information is low, using the received management information of the other communication device;
The communication apparatus according to claim 1, wherein the response condition determining unit determines the response condition according to a determination result by the accuracy determining unit.
前記応答条件決定手段は、前記精度判断手段により精度が低いと判断された場合に、前記他の通信装置の応答の頻度を上げるように前記応答条件を決定する請求項2に記載の通信装置。   The communication device according to claim 2, wherein the response condition determining unit determines the response condition so as to increase a response frequency of the other communication device when the accuracy determining unit determines that the accuracy is low. 前記応答条件決定手段は、前記精度判断手段により精度が高いと判断された場合に、前記他の通信装置の応答の頻度を下げるように前記応答条件を決定する請求項2又は3に記載の通信装置。   The communication according to claim 2 or 3, wherein the response condition determining unit determines the response condition so as to reduce a response frequency of the other communication device when the accuracy determining unit determines that the accuracy is high. apparatus. 前記応答条件決定手段により決定した前記応答条件を、どのタイミングで送信される前記要求メッセージに含めるかを決定する送信タイミング決定手段を備え、
前記メッセージ作成手段は、前記送信タイミング決定手段により決定したタイミングに従って、前記決定した応答条件を含めて前記要求メッセージを作成する請求項1から4のいずれか1つに記載の通信装置。
Transmission timing determination means for determining at which timing the response condition determined by the response condition determination means is included in the request message transmitted;
5. The communication apparatus according to claim 1, wherein the message creation unit creates the request message including the determined response condition according to the timing determined by the transmission timing determination unit.
通信装置において実施される通信方法であって、
他の通信装置に対して、管理情報の要求メッセージを送信する送信ステップと、
前記要求メッセージに対する応答メッセージにより前記他の通信装置の管理情報を受信する受信ステップと、
前記受信した前記他の通信装置の管理情報を用いて、前記他の通信装置が前記要求メッセージに応答するか否かを定める応答条件を決定する応答条件決定ステップと、
前記決定した応答条件を含めて、前記決定後に所定のタイミングで送信される前記要求メッセージを作成するメッセージ作成ステップと
を備える通信方法。
A communication method implemented in a communication device,
A transmission step of transmitting a management information request message to another communication device;
A receiving step of receiving management information of the other communication device by a response message to the request message;
A response condition determination step for determining a response condition for determining whether or not the other communication device responds to the request message using the received management information of the other communication device;
A message creating step of creating the request message that is transmitted at a predetermined timing after the decision including the decided response condition.
前記受信した前記他の通信装置の管理情報を記憶する記憶ステップと、
前記受信した前記他の通信装置の管理情報を用いて、前記記憶された管理情報の精度が低いか否かを判断する精度判断ステップと
を備え、
前記応答条件決定ステップは、前記精度判断ステップによる判断結果に応じて、前記応答条件を決定する請求項6に記載の通信方法。
A storage step of storing the received management information of the other communication device;
An accuracy determining step of determining whether or not the accuracy of the stored management information is low using the received management information of the other communication device;
The communication method according to claim 6, wherein the response condition determination step determines the response condition according to a determination result obtained by the accuracy determination step.
前記応答条件決定ステップは、前記精度判断ステップにより精度が低いと判断された場合に、前記他の通信装置の応答の頻度を上げるように前記応答条件を決定する請求項7に記載の通信方法。   The communication method according to claim 7, wherein the response condition determining step determines the response condition so as to increase a response frequency of the other communication device when the accuracy is determined to be low by the accuracy determining step. 前記応答条件決定ステップは、前記精度判断ステップにより精度が高いと判断された場合に、前記他の通信装置の応答の頻度を下げるように前記応答条件を決定する請求項7又は8に記載の通信方法。   The communication according to claim 7 or 8, wherein the response condition determining step determines the response condition so as to reduce a response frequency of the other communication device when it is determined that the accuracy is high by the accuracy determining step. Method. 前記応答条件決定ステップにより決定した前記応答条件を、どのタイミングで送信される前記要求メッセージに含めるかを決定する送信タイミング決定ステップを備える請求項6から9のいずれか1つに記載の通信方法。   The communication method according to any one of claims 6 to 9, further comprising a transmission timing determination step of determining at which timing the response condition determined in the response condition determination step is included in the request message transmitted. 前記メッセージ作成ステップは、前記送信タイミング決定ステップにより決定したタイミングに従って、前記決定した応答条件を含めて前記要求メッセージを作成する請求項10に記載の通信方法。   The communication method according to claim 10, wherein the message creation step creates the request message including the determined response condition according to the timing determined by the transmission timing determination step. 第1の通信装置と第2の通信装置とが通信する通信システムであって、
前記第1の通信装置は、
前記第2の通信装置に対して、管理情報の要求メッセージを送信する手段と、
前記要求メッセージに対する応答メッセージにより前記第2の通信装置の管理情報を受信する手段と、
前記受信した前記第2の通信装置の管理情報を用いて、前記第2の通信装置が前記要求メッセージに応答するか否かを定める応答条件を決定する手段と、
前記決定した応答条件を含めて、前記決定後に所定のタイミングで前記送信手段により送信される前記要求メッセージを作成する手段と
を備え、
前記第2の通信装置は、
前記第1の通信装置から管理情報の要求メッセージを受信する手段と、
前記受信した要求メッセージに前記応答条件が含まれる場合に、当該応答条件に基づいて、前記受信した要求メッセージに対する応答として、管理情報を含めたメッセージを送信する手段と
を備えた通信システム。
A communication system in which a first communication device and a second communication device communicate with each other,
The first communication device is:
Means for transmitting a management information request message to the second communication device;
Means for receiving management information of the second communication device by a response message to the request message;
Means for determining a response condition for determining whether or not the second communication device responds to the request message using the received management information of the second communication device;
Means for creating the request message transmitted by the transmission means at a predetermined timing after the determination, including the determined response condition;
The second communication device is:
Means for receiving a management information request message from the first communication device;
A communication system comprising: means for transmitting a message including management information as a response to the received request message based on the response condition when the received request message includes the response condition.
JP2013005362A 2013-01-16 2013-01-16 Communication apparatus, communication method, and communication system for autonomously controlling network management method Active JP6197293B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013005362A JP6197293B2 (en) 2013-01-16 2013-01-16 Communication apparatus, communication method, and communication system for autonomously controlling network management method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013005362A JP6197293B2 (en) 2013-01-16 2013-01-16 Communication apparatus, communication method, and communication system for autonomously controlling network management method

Publications (2)

Publication Number Publication Date
JP2014138245A true JP2014138245A (en) 2014-07-28
JP6197293B2 JP6197293B2 (en) 2017-09-20

Family

ID=51415550

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013005362A Active JP6197293B2 (en) 2013-01-16 2013-01-16 Communication apparatus, communication method, and communication system for autonomously controlling network management method

Country Status (1)

Country Link
JP (1) JP6197293B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016115289A (en) * 2014-12-17 2016-06-23 富士通株式会社 Sensor controller, sensor control program and sensor control method
JP2018526706A (en) * 2015-06-26 2018-09-13 インテル コーポレイション Method and apparatus for adaptively managing data collection devices in a distributed computing system
JP2020191566A (en) * 2019-05-22 2020-11-26 富士通株式会社 Information processing system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008071157A (en) * 2006-09-14 2008-03-27 Hitachi Ltd Sensor network system for managing latest data and history data
JP2010232815A (en) * 2009-03-26 2010-10-14 Sumitomo Precision Prod Co Ltd Host device
WO2012175933A1 (en) * 2011-06-24 2012-12-27 Gassecure As Wireless sensor networks

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008071157A (en) * 2006-09-14 2008-03-27 Hitachi Ltd Sensor network system for managing latest data and history data
JP2010232815A (en) * 2009-03-26 2010-10-14 Sumitomo Precision Prod Co Ltd Host device
WO2012175933A1 (en) * 2011-06-24 2012-12-27 Gassecure As Wireless sensor networks

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
鈴木孝明 他: "無線センサネットワークにおけるセンサデバイスの状態管理通信の効率化による省電力管理通信方式の提案", 電子情報通信学会技術研究報告,AN2011−58,VOL.111,NO.385, JPN6016043534, January 2012 (2012-01-01), pages 19 - 24, ISSN: 0003438569 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016115289A (en) * 2014-12-17 2016-06-23 富士通株式会社 Sensor controller, sensor control program and sensor control method
JP2018526706A (en) * 2015-06-26 2018-09-13 インテル コーポレイション Method and apparatus for adaptively managing data collection devices in a distributed computing system
US11044316B2 (en) 2015-06-26 2021-06-22 Intel Corporation Methods and apparatus to adaptively manage data collection devices in distributed computing systems
US11483389B2 (en) 2015-06-26 2022-10-25 Intel Corporation Methods and apparatus to adaptively manage data collection devices in distributed computing systems
JP2020191566A (en) * 2019-05-22 2020-11-26 富士通株式会社 Information processing system
JP7196764B2 (en) 2019-05-22 2022-12-27 富士通株式会社 Information processing system

Also Published As

Publication number Publication date
JP6197293B2 (en) 2017-09-20

Similar Documents

Publication Publication Date Title
JP5776161B2 (en) COMMUNICATION DEVICE, COMMUNICATION CONTROL METHOD, AND COMMUNICATION SYSTEM
JP5682208B2 (en) COMMUNICATION DEVICE, COMMUNICATION CONTROL METHOD, AND COMMUNICATION SYSTEM
JP2018137794A (en) Method for managing proxy table in wireless network by using proxy device
JP4805646B2 (en) Sensor terminal and sensor terminal control method
JP6045580B2 (en) How to configure a node
US9565267B2 (en) Efficient proxy table management in communication networks
EP3192214B1 (en) Automatic device configuration
JP6841368B2 (en) Wireless sensor system, wireless terminal device, communication control method and communication control program
KR20130129767A (en) Wireless sensor network system and communication method based on a profile
JP6197293B2 (en) Communication apparatus, communication method, and communication system for autonomously controlling network management method
US20150085726A1 (en) Communication device, power management system having communication device and control method of communication device
JP2014155133A (en) Network system and communication method therefor
JPWO2015052867A1 (en) Terminal device, terminal device control method, and terminal device control program
JP5877495B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, AND COMMUNICATION SYSTEM
JP2015109493A (en) Communication device, communication method and communication system
JP5372303B1 (en) Wireless terminal device, wireless mesh network, and communication method
JP6374266B2 (en) Power failure detection system, communication device, power failure detection method, and power failure detection program
JP6254840B2 (en) Aggregation apparatus, distribution method, distribution program, and network system
CN114553958A (en) Data migration processing method and device, electronic equipment and storage medium
JP6259622B2 (en) COMMUNICATION DEVICE, RADIO NETWORK SYSTEM, RADIO NETWORK CONTROL METHOD, AND RADIO NETWORK CONTROL PROGRAM
JP5980821B2 (en) Control device and communication control method
US10932195B1 (en) Parent device shadow execution for a sleeping low power and lossy network child network device
JP2014150478A (en) Wireless sensor network system, wireless terminal, and data collection method using wireless sensor network

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20151207

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20161028

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20161111

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20161228

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170418

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170614

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170807

R150 Certificate of patent or registration of utility model

Ref document number: 6197293

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150