[go: up one dir, main page]

JP2014192661A - Repeating device, repeating system, and repeating method - Google Patents

Repeating device, repeating system, and repeating method Download PDF

Info

Publication number
JP2014192661A
JP2014192661A JP2013065531A JP2013065531A JP2014192661A JP 2014192661 A JP2014192661 A JP 2014192661A JP 2013065531 A JP2013065531 A JP 2013065531A JP 2013065531 A JP2013065531 A JP 2013065531A JP 2014192661 A JP2014192661 A JP 2014192661A
Authority
JP
Japan
Prior art keywords
server
accumulated
database
request
sensor data
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
JP2013065531A
Other languages
Japanese (ja)
Other versions
JP6047794B2 (en
Inventor
Naohiro Fujita
尚宏 藤田
Masayuki Nishiki
雅幸 西木
Takumi Shibata
巧 柴田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nippon Telegraph and Telephone West Corp
NTT Inc
Original Assignee
Nippon Telegraph and Telephone Corp
Nippon Telegraph and Telephone West Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp, Nippon Telegraph and Telephone West Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2013065531A priority Critical patent/JP6047794B2/en
Publication of JP2014192661A publication Critical patent/JP2014192661A/en
Application granted granted Critical
Publication of JP6047794B2 publication Critical patent/JP6047794B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)
  • Communication Control (AREA)

Abstract

【課題】センサネットワークにおけるデータ送信の際に生じる負荷を軽減すること。
【解決手段】ノードから送信された蓄積情報が付与されたパケットを送信先ごとに蓄積して記憶するデータベースと、データベースに記憶されている蓄積されたパケットをサーバに送信する間隔を管理するタイマー管理部と、間隔で蓄積されたパケットをサーバに送信する通信部と、を備える中継装置。
【選択図】図2
An object of the present invention is to reduce a load generated during data transmission in a sensor network.
A database that accumulates and stores, for each transmission destination, packets to which accumulated information transmitted from a node is added, and timer management that manages an interval at which the accumulated packets stored in the database are transmitted to a server. And a communication unit that transmits packets accumulated at intervals to the server.
[Selection] Figure 2

Description

本発明は、ネットワークにおけるデータ送信方法の技術に関する。   The present invention relates to a technique of a data transmission method in a network.

従来、センサネットワーク内に設置されている複数のセンサ機器(以下、「ノード」という。)が収集したセンサデータを、ネットワークを中継してクラウド上のサーバに送信することによって、サーバに様々な場所におけるセンサデータを集約させている。集約された各地のセンサデータを利用することで、新しいサービスの提供や業務の効率化が可能になる。しかし、複数のノードがネットワークを経由してサーバにセンサデータを送信する場合、データサイズの小さいパケットが定期的にサーバに送信される。そのため、センサデータを受信するサーバの処理負荷や、ネットワークにおけるパケットの処理負荷が大きくなってしまう。
このような問題に対して、サーバやネットワークの負荷を軽減させる技術が複数提案されている。例えば、ノードからサーバへの送信間隔を制御することにより、サーバ側の処理負荷を軽減する技術が提案されている(例えば、特許文献1参照)。また、子ノードのデータを親ノードで集約してサーバに送信することにより、ネットワークの負荷を軽減する技術が提案されている(例えば、特許文献2参照)。
Conventionally, sensor data collected by a plurality of sensor devices (hereinafter referred to as “nodes”) installed in a sensor network is transmitted to a server on the cloud via the network, so that various locations can be stored on the server. The sensor data in is integrated. By using the collected sensor data of various locations, it is possible to provide new services and improve the efficiency of operations. However, when a plurality of nodes transmit sensor data to the server via the network, packets having a small data size are periodically transmitted to the server. This increases the processing load on the server that receives the sensor data and the packet processing load on the network.
In response to such a problem, a plurality of techniques for reducing the load on the server and the network have been proposed. For example, a technique for reducing the processing load on the server side by controlling the transmission interval from the node to the server has been proposed (see, for example, Patent Document 1). In addition, a technique for reducing the load on the network by aggregating data of child nodes at the parent node and transmitting the data to the server has been proposed (see, for example, Patent Document 2).

特開2011−142439号公報JP 2011-142439 A 特開2006−287565号公報JP 2006-287565 A

しかしながら、特許文献1の技術では、パケットの送信間隔を変更することによりサーバ側の処理負荷を軽減することはできるが、ネットワークの負荷を軽減することができない。また、特許文献2の技術では、サーバ側の処理負荷やネットワークにおける負荷を軽減することはできるが、ノードがパケットを集約する必要があるため、ノードの処理が複雑化してしまう。そのため、ノードの処理負荷が大きくなってしまうという問題が生じてしまう。このように、従来の技術では、ノードからサーバに対してセンサデータを送信する際に、ネットワークあるいはノードの負荷を軽減できないという問題があった。   However, with the technique of Patent Document 1, it is possible to reduce the processing load on the server side by changing the packet transmission interval, but it is not possible to reduce the load on the network. Further, with the technique of Patent Document 2, it is possible to reduce the processing load on the server side and the load on the network, but the node processing needs to be aggregated, and the processing of the node becomes complicated. Therefore, there arises a problem that the processing load of the node becomes large. As described above, the conventional technique has a problem that the load on the network or the node cannot be reduced when the sensor data is transmitted from the node to the server.

上記事情に鑑み、本発明は、センサネットワークにおけるデータ送信の際に生じる負荷を軽減する技術の提供を目的としている。   In view of the above circumstances, an object of the present invention is to provide a technique for reducing a load generated during data transmission in a sensor network.

本発明の一態様は、ノードから送信された蓄積情報が付与されたパケットを送信先ごとに蓄積して記憶するデータベースと、前記データベースに記憶されている蓄積された前記パケットをサーバに送信する間隔を管理するタイマー管理部と、前記間隔で蓄積された前記パケットをサーバに送信する通信部と、を備える中継装置である。   One embodiment of the present invention is a database that accumulates and stores, for each transmission destination, packets to which accumulated information transmitted from a node is added, and an interval at which the accumulated packets stored in the database are transmitted to a server. A relay device comprising a timer management unit that manages the communication and a communication unit that transmits the packets accumulated at the intervals to a server.

本発明の一態様は、上記の中継装置であって、前記パケットのサイズ情報を取得する取得部と、自装置と前記サーバとの接続時に取得される前記パケットを送信可能な最大のサイズ情報と、前記パケットのサイズ情報とに基づいて、前記データベースに蓄積される前記パケットの集約可能数を算出する集約数算出部と、を更に備え、前記通信部は、前記集約可能数に基づいて、蓄積された前記パケットをサーバに送信する。   One aspect of the present invention is the relay device described above, an acquisition unit that acquires the size information of the packet, and maximum size information that can transmit the packet acquired when the device is connected to the server; And an aggregation number calculating unit that calculates the aggregable number of packets accumulated in the database based on the packet size information, and the communication unit accumulates based on the aggregable number The transmitted packet is transmitted to the server.

本発明の一態様は、複数のノードと、前記ノードから送信されるパケットをサーバに中継する中継装置とを備えたシステムであって、前記ノードは、周囲の空間情報を表すデータを収集するセンサと、前記センサによって収集された前記データを含むパケットを前記中継装置に送信する通信部と、を備え、前記中継装置は、ノードから送信された蓄積情報が付与されたパケットを送信先ごとに蓄積して記憶するデータベースと、前記データベースに記憶されている蓄積された前記パケットをサーバに送信する間隔を管理するタイマー管理部と、前記間隔で蓄積された前記パケットをサーバに送信する通信部と、を備える中継システムである。   One aspect of the present invention is a system including a plurality of nodes and a relay device that relays packets transmitted from the nodes to a server, wherein the nodes collect data representing surrounding spatial information And a communication unit that transmits the packet including the data collected by the sensor to the relay device, and the relay device stores, for each transmission destination, a packet to which storage information transmitted from a node is added. A database to be stored, a timer management unit for managing an interval for transmitting the accumulated packets stored in the database to the server, a communication unit for transmitting the packets accumulated at the interval to the server, Is a relay system.

本発明の一態様は、ノードから送信された蓄積情報が付与されたパケットを送信先ごとに蓄積してデータベースに記憶する記憶ステップと、前記データベースに記憶されている蓄積された前記パケットをサーバに送信する間隔を管理するタイマー管理ステップと、前記間隔で蓄積された前記パケットをサーバに送信する通信ステップと、を有する中継方法である。   One aspect of the present invention is a storage step of storing, for each transmission destination, a packet to which accumulated information transmitted from a node is added and storing it in a database; and storing the accumulated packet stored in the database in a server It is a relay method comprising a timer management step for managing an interval for transmission and a communication step for transmitting the packets accumulated at the interval to a server.

本発明により、センサネットワークにおけるデータ送信の際に生じる負荷を軽減することが可能となる。   According to the present invention, it is possible to reduce a load generated when data is transmitted in a sensor network.

本実施形態における中継システムのシステム構成を示す図である。It is a figure which shows the system configuration | structure of the relay system in this embodiment. GW機器20の機能構成を表す概略ブロック図である。2 is a schematic block diagram illustrating a functional configuration of a GW device 20. FIG. リクエストメッセージを蓄積する方法の具体例を表す図である。It is a figure showing the specific example of the method of accumulate | storing a request message. バッファリングオプションが記述されていないリクエストメッセージの具体例を示す図である。It is a figure which shows the specific example of the request message in which the buffering option is not described. 本実施形態における送信間隔算出処理の流れの具体例を示すフローチャートである。It is a flowchart which shows the specific example of the flow of the transmission interval calculation process in this embodiment. 本実施形態におけるセンサデータ送信処理の流れの具体例を示すフローチャートである。It is a flowchart which shows the specific example of the flow of the sensor data transmission process in this embodiment. 本実施形態におけるセンサデータ送信処理の動作の具体例を示すシーケンス図である。It is a sequence diagram which shows the specific example of operation | movement of the sensor data transmission process in this embodiment.

以下、本発明の一実施形態を、図面を参照しながら説明する。
図1は、本実施形態における中継システムのシステム構成を示す図である。本実施形態の中継システムは、複数のノード10−1〜10−3、GW(Gate Way)機器20、サーバ30及びネットワーク50を備える。なお、以下の説明では、ノード10−1〜10−3について特に区別しない場合には、ノード10と記載する。
Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
FIG. 1 is a diagram illustrating a system configuration of a relay system according to the present embodiment. The relay system of this embodiment includes a plurality of nodes 10-1 to 10-3, a GW (Gate Way) device 20, a server 30, and a network 50. In the following description, the nodes 10-1 to 10-3 are referred to as nodes 10 unless otherwise distinguished.

ノード10は、センサ付きの無線端末であり、自装置の周囲の空間情報を収集する。空間情報とは、ノード10に付与されているセンサが検知する情報であり、例えば自装置の周囲の温度や湿度などの情報である。また、ノード10は、収集した空間情報(センサデータ)を周期的にGW機器20に送信する。ノード10は、様々な場所に配置されることによって、センサネットワーク40を形成する。
GW機器20は、ノード10とネットワーク50との間で通信の中継を行う中継装置である。GW機器20は、ノード10から送信されたセンサデータを、ネットワーク50を介してサーバ30に送信する。
The node 10 is a wireless terminal with a sensor, and collects spatial information around its own device. Spatial information is information detected by a sensor attached to the node 10, for example, information such as temperature and humidity around the device itself. Further, the node 10 periodically transmits the collected spatial information (sensor data) to the GW device 20. The node 10 forms a sensor network 40 by being arranged at various locations.
The GW device 20 is a relay device that relays communication between the node 10 and the network 50. The GW device 20 transmits the sensor data transmitted from the node 10 to the server 30 via the network 50.

サーバ30は、情報処理装置を用いて構成され、GW機器20から送信されたセンサデータを収集する。
センサネットワーク40は、複数のノード10によって形成される。
ネットワーク50は、どのように構成されたネットワークでもよい。例えば、ネットワーク50はインターネットを用いて構成されてもよい。
The server 30 is configured using an information processing apparatus and collects sensor data transmitted from the GW device 20.
The sensor network 40 is formed by a plurality of nodes 10.
The network 50 may be a network configured in any way. For example, the network 50 may be configured using the Internet.

図2は、GW機器20の機能構成を表す概略ブロック図である。GW機器20は、バスで接続されたCPU(Central Processing Unit)やメモリや補助記憶装置などを備え、中継プログラムを実行する。中継プログラムの実行によって、GW機器20は、通信部201、制御部202、取得部203、集約数算出部204、受信間隔算出部205、送信間隔算出部206、解析部207、タイマー管理部208、データベース209、生成部210を備える装置として機能する。なお、GW機器20の各機能の全て又は一部は、ASIC(Application Specific Integrated Circuit)やPLD(Programmable Logic Device)やFPGA(Field Programmable Gate Array)等のハードウェアを用いて実現されても良い。また、中継プログラムは、コンピュータ読み取り可能な記録媒体に記録されても良い。コンピュータ読み取り可能な記録媒体とは、例えばフレキシブルディスク、光磁気ディスク、ROM、CD−ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置である。また、中継プログラムは、電気通信回線を介して送受信されても良い。   FIG. 2 is a schematic block diagram illustrating a functional configuration of the GW device 20. The GW device 20 includes a CPU (Central Processing Unit), a memory, an auxiliary storage device, and the like connected by a bus, and executes a relay program. By executing the relay program, the GW device 20 includes a communication unit 201, a control unit 202, an acquisition unit 203, an aggregation number calculation unit 204, a reception interval calculation unit 205, a transmission interval calculation unit 206, an analysis unit 207, a timer management unit 208, It functions as an apparatus including the database 209 and the generation unit 210. Note that all or part of the functions of the GW device 20 may be realized using hardware such as an application specific integrated circuit (ASIC), a programmable logic device (PLD), or a field programmable gate array (FPGA). The relay program may be recorded on a computer-readable recording medium. The computer-readable recording medium is, for example, a portable medium such as a flexible disk, a magneto-optical disk, a ROM, a CD-ROM, or a storage device such as a hard disk built in the computer system. Further, the relay program may be transmitted / received via a telecommunication line.

通信部201は、ノード10との間で無線通信を行う。また、通信部201は、サーバ30との間で通信を行う。例えば、通信部201は、ノード10からセンサデータが格納されているリクエストメッセージを受信し、サーバ30に送信する。また、通信部201は、サーバ30から送信されたレスポンスメッセージを受信し、ノード10に送信する。また、通信部201は、サーバ30との間で接続を確立する際に、MSS(Maximum Segment Size)の値を取得する。MSSは、一度の通信においてパケットを送信可能な最大のサイズを表す。
制御部202は、GW機器20の各機能部を制御する。
The communication unit 201 performs wireless communication with the node 10. In addition, the communication unit 201 communicates with the server 30. For example, the communication unit 201 receives a request message storing sensor data from the node 10 and transmits the request message to the server 30. In addition, the communication unit 201 receives the response message transmitted from the server 30 and transmits it to the node 10. Further, the communication unit 201 acquires a value of MSS (Maximum Segment Size) when establishing a connection with the server 30. The MSS represents the maximum size that can transmit a packet in one communication.
The control unit 202 controls each functional unit of the GW device 20.

取得部203は、一定期間(例えば、30分、1時間など)の間、ノード10からサーバ30に対して周期的に送信されるセンサデータのパケットを収集する。例えば、取得部203は、WireShark(登録商標)によってノード10からサーバ30に対して送信されるセンサデータのパケットを収集する。その後、取得部203は、収集したパケットからヘッダーサイズ及びボディサイズの各値を取得する。ボディサイズ(サイズ情報)とは、パケットのペイロードに格納されているセンサデータのサイズを表す。
集約数算出部204は、MSSの値と取得されたヘッダーサイズ及びボディサイズの各値とを用いて、集約可能数を算出する。集約可能数とは、自装置(GW機器20)からサーバ30に対して送信される一つのパケットに集約できるセンサデータの数を表す。
The acquisition unit 203 collects packets of sensor data periodically transmitted from the node 10 to the server 30 for a certain period (for example, 30 minutes, 1 hour, etc.). For example, the acquisition unit 203 collects packets of sensor data that are transmitted from the node 10 to the server 30 by WireShar (registered trademark). Thereafter, the acquisition unit 203 acquires each value of the header size and the body size from the collected packets. The body size (size information) represents the size of sensor data stored in the payload of the packet.
The aggregation number calculation unit 204 calculates the aggregation possible number using the MSS value and the acquired header size and body size values. The aggregable number represents the number of sensor data that can be aggregated into one packet transmitted from the own device (GW device 20) to the server 30.

受信間隔算出部205は、取得部203によって周期的に収集されるセンサデータのパケットに基づいて、センサデータの受信間隔を算出する。例えば、受信間隔算出部205は、収集されたセンサデータのパケットの受信時刻と、当該パケットの収集後に収集されたセンサデータのパケットの受信時刻との差分に基づいて、センサデータの受信間隔を算出する。
送信間隔算出部206は、集約数算出部204によって算出された集約可能数と、受信間隔算出部205によって算出された受信間隔とに基づいて、自装置(GW機器20)からサーバ30に対してセンサデータを送信する送信間隔を算出する。例えば、送信間隔算出部206は、集約可能数の値と受信間隔の値とを乗算した値を送信間隔として算出する。送信間隔算出部206は、算出した送信間隔をタイマー管理部208に通知する。
The reception interval calculation unit 205 calculates the sensor data reception interval based on the sensor data packets periodically collected by the acquisition unit 203. For example, the reception interval calculation unit 205 calculates the reception interval of sensor data based on the difference between the reception time of the collected packet of sensor data and the reception time of the packet of sensor data collected after collecting the packet. To do.
The transmission interval calculation unit 206 transmits the number of aggregations calculated by the aggregation number calculation unit 204 and the reception interval calculated by the reception interval calculation unit 205 from the own device (GW device 20) to the server 30. A transmission interval for transmitting sensor data is calculated. For example, the transmission interval calculation unit 206 calculates, as the transmission interval, a value obtained by multiplying the value of the aggregateable number and the value of the reception interval. The transmission interval calculation unit 206 notifies the timer transmission unit 208 of the calculated transmission interval.

解析部207は、ノード10から送信されたリクエストメッセージを解析する。具体的には、まず、解析部207は、通信部201が受信したリクエストメッセージからリクエストメソッド、リクエストURL(Uniform Resource Locator)、リクエストURI(Uniform Resource Identifier)及びリクエストボディの各値を取得する。リクエストメソッドとは、リクエストメッセージを受信したリソースに対して要求する処理を表す。リクエストURLとは、リクエストメッセージを送信する宛先を識別する識別子を表す。リクエストURIとは、リクエストを適用するリソースを指定する識別子を表す。リクエストボディとは、サーバ30に対して送信されるデータ(センサデータ)を表す。   The analysis unit 207 analyzes the request message transmitted from the node 10. Specifically, first, the analysis unit 207 acquires values of a request method, a request URL (Uniform Resource Locator), a request URI (Uniform Resource Identifier), and a request body from the request message received by the communication unit 201. A request method represents a process for requesting a resource that has received a request message. The request URL represents an identifier for identifying a destination to which the request message is transmitted. The request URI represents an identifier that specifies a resource to which the request is applied. The request body represents data (sensor data) transmitted to the server 30.

次に、解析部207は、リクエストメッセージのヘッダ部分にバッファリングオプション情報(以下、単にバッファリングオプションという。)が記述されているか否かを判定する。バッファリングオプション(蓄積情報)とは、リクエストメッセージに格納されているセンサデータをまとめて送信するか否かを表す情報である。
バッファリングオプションが記述されている場合、解析部207は取得したセンサデータをデータベース209に蓄積する。この際、解析部207は、取得したセンサデータに対応するリクエストURLをインデックスとして、センサデータをデータベース209に蓄積する。
一方、バッファリングオプションが記述されていない場合、解析部207は取得したセンサデータをサーバ30に送信するためのリクエストメッセージの生成を生成部210に指示する。
Next, the analysis unit 207 determines whether or not buffering option information (hereinafter simply referred to as a buffering option) is described in the header portion of the request message. The buffering option (accumulated information) is information indicating whether to transmit the sensor data stored in the request message collectively.
When the buffering option is described, the analysis unit 207 accumulates the acquired sensor data in the database 209. At this time, the analysis unit 207 stores the sensor data in the database 209 using the request URL corresponding to the acquired sensor data as an index.
On the other hand, when the buffering option is not described, the analysis unit 207 instructs the generation unit 210 to generate a request message for transmitting the acquired sensor data to the server 30.

また、解析部207は、サーバ30から送信されたレスポンスメッセージを解析する。解析部207は、送信されたレスポンスメッセージからステータスコード及びレスポンスボディの各値を取得する。レスポンスボディとは、サーバ30から送信される応答データを表す。その後、解析部207は、生成部210にレスポンスメッセージの生成を指示する。   The analysis unit 207 analyzes the response message transmitted from the server 30. The analysis unit 207 acquires each value of the status code and the response body from the transmitted response message. The response body represents response data transmitted from the server 30. Thereafter, the analysis unit 207 instructs the generation unit 210 to generate a response message.

タイマー管理部208は、解析部207が解析した結果に基づいてタイマーの管理を行う。例えば、タイマー管理部208は、解析部207によってリクエストメッセージにバッファリングオプションが記述されていると判定された場合に、リクエストメッセージのリクエストURL毎に送信間隔算出部206から通知された送信間隔のカウントダウンを開始する。   The timer management unit 208 manages the timer based on the result analyzed by the analysis unit 207. For example, the timer management unit 208 counts down the transmission interval notified from the transmission interval calculation unit 206 for each request URL of the request message when the analysis unit 207 determines that the buffering option is described in the request message. To start.

データベース209は、磁気ハードディスク装置や半導体記憶装置などの記憶装置を用いて構成される。データベース209は、リクエストURL毎にセンサデータを記憶している。
生成部210は、取得されたリクエストメソッドとリクエストURIとリクエストボディとを用いて第一のリクエストメッセージを生成する。具体的には、生成部210は、ヘッダにリクエストメソッドとリクエストURIとを格納し、ボディ部分にリクエストボディを格納することによって第一のリクエストメッセージを生成する。第一のリクエストメッセージは、ノード10から送信された一つのセンサデータが格納されたリクエストメッセージである。
The database 209 is configured using a storage device such as a magnetic hard disk device or a semiconductor storage device. The database 209 stores sensor data for each request URL.
The generation unit 210 generates a first request message using the acquired request method, request URI, and request body. Specifically, the generation unit 210 generates a first request message by storing a request method and a request URI in a header and storing a request body in a body part. The first request message is a request message in which one sensor data transmitted from the node 10 is stored.

また、生成部210は、取得されたステータスコードとレスポンスボディとを用いてレスポンスメッセージを生成する。具体的には、生成部210は、ヘッダにステータスコードを格納し、ボディ部分にレスポンスボディを格納することによってレスポンスメッセージを生成する。
また、生成部210は、タイマー管理部208からタイマーの満了が通知されると、データベース209に記録されているセンサデータを用いて第二のリクエストメッセージを生成する。第二のリクエストメッセージは、複数のセンサデータが格納されたリクエストメッセージである。具体的には、まず、生成部210は、データベース209からタイマー満了が通知されたリクエストURLに対応するセンサデータを取得する。次に、生成部210は、取得したセンサデータを用いてリクエストボディを生成する。その後、生成部210は、リクエストメソッドとリクエストURIと生成されたリクエストボディとを用いて第二のリクエストメッセージを生成する。
In addition, the generation unit 210 generates a response message using the acquired status code and response body. Specifically, the generation unit 210 generates a response message by storing a status code in the header and storing a response body in the body part.
Further, when the expiration of the timer is notified from the timer management unit 208, the generation unit 210 generates a second request message using the sensor data recorded in the database 209. The second request message is a request message in which a plurality of sensor data is stored. Specifically, first, the generation unit 210 acquires sensor data corresponding to the request URL notified of expiration of the timer from the database 209. Next, the generation unit 210 generates a request body using the acquired sensor data. Thereafter, the generation unit 210 generates a second request message using the request method, the request URI, and the generated request body.

図3は、リクエストメッセージを蓄積する方法の具体例を表す図である。図3(A)は、ノード10から送信されたリクエストメッセージを表す図である。図3(A)の“a”は、リクエストラインとメッセージヘッダで構成されるヘッダ部分を表し、図3(A)の“b”は、リクエストメッセージのボディ部分を表す。図3(A)のヘッダ部分“a”には、リクエストメソッド、リクエストURL、リクエストURI、HTTP(Hypertext Transfer Protocol)のバージョン、送信元のアドレス、ボディ部分のサイズ、バッファリングオプション、接続状態などの各情報が記述されている。図3(A)に示す例では、ヘッダ部分“a”にバッファリングオプション「Buffering:on」が記述されている。バッファリングオプションは、ノード10がセンサデータの蓄積が必要であると判断した場合に付与される。ノード10は、蓄積が必要であるか否かを判断するためのテーブルを予め記憶しており、センサデータを取得する度にテーブルを確認することによって、リクエストメッセージにバッファリングオプションを記述する必要があるか否かを判断する。例えば、テーブルには、センサデータを蓄積する必要がある送信先やユーザIDなどが記憶されている。また、取得したセンサデータが管理プロトコルのようなPIN(Personal identification number)を送信するのみのデータである場合には、ノード10は蓄積する必要が無いと判断し、バッファリングオプションを記述しない。解析部207は、受信されたリクエストメッセージにバッファリングオプションが記述されている場合には、ヘッダ部分“a”に記述されているリクエストURLをインデックスとしてデータベース209にセンサデータを蓄積する。また、図3(A)のボディ部分“b”には、ノード10によって収集されたセンサデータが記述されている。   FIG. 3 is a diagram illustrating a specific example of a method for accumulating request messages. FIG. 3A is a diagram illustrating a request message transmitted from the node 10. “A” in FIG. 3A represents a header portion composed of a request line and a message header, and “b” in FIG. 3A represents a body portion of the request message. The header portion “a” in FIG. 3A includes a request method, a request URL, a request URI, an HTTP (Hypertext Transfer Protocol) version, a source address, a body portion size, a buffering option, a connection state, and the like. Each information is described. In the example shown in FIG. 3A, the buffering option “Buffering: on” is described in the header portion “a”. The buffering option is given when the node 10 determines that sensor data needs to be accumulated. The node 10 stores a table for determining whether or not accumulation is necessary in advance, and it is necessary to describe the buffering option in the request message by checking the table every time sensor data is acquired. Judge whether there is. For example, the table stores destinations and user IDs for which sensor data needs to be accumulated. If the acquired sensor data is data that only transmits a PIN (Personal identification number) such as a management protocol, the node 10 determines that there is no need to store the data and does not describe a buffering option. When the buffering option is described in the received request message, the analysis unit 207 stores the sensor data in the database 209 using the request URL described in the header portion “a” as an index. In addition, sensor data collected by the node 10 is described in the body part “b” in FIG.

図3(B)は、図3(A)のリクエストメッセージから一定時間(例えば、10分、1時間など)経過後にノード10から送信されたリクエストメッセージを表す図である。図3(B)に示すリクエストメッセージのヘッダ部分にもバッファリングオプション「Buffering:on」が記述されている。即ち、図3(B)に示すリクエストメッセージもリクエストURLをインデックスとしてデータベース209にセンサデータが蓄積される。図3(C)は、図3(A)のリクエストメッセージのセンサデータと図3(B)のリクエストメッセージのセンサデータとが蓄積された第二のリクエストメッセージを表す図である。   FIG. 3B is a diagram illustrating a request message transmitted from the node 10 after a predetermined time (for example, 10 minutes, 1 hour, etc.) has elapsed from the request message in FIG. The buffering option “Buffering: on” is also described in the header portion of the request message shown in FIG. That is, the request message shown in FIG. 3B also stores sensor data in the database 209 with the request URL as an index. FIG. 3C illustrates a second request message in which the sensor data of the request message of FIG. 3A and the sensor data of the request message of FIG. 3B are accumulated.

次に、図3を用いてリクエストメッセージのセンサデータを追加する方法について説明する。図3(A)のリクエストメッセージのセンサデータがデータベース209に蓄積された後に、図3(B)のリクエストメッセージが受信されると、解析部207はヘッダ部分に記述されているリクエストURLを取得する。次に、解析部207は、取得したリクエストURLをインデックスとしてデータベース209を検索する。解析部207は、検索されたリクエストURLのセンサデータの後に取得したリクエストメッセージのセンサデータを追加する。
以上で、リクエストメッセージのセンサデータを追加する方法についての説明を終了する。
Next, a method for adding request message sensor data will be described with reference to FIG. When the request message of FIG. 3B is received after the sensor data of the request message of FIG. 3A is accumulated in the database 209, the analysis unit 207 acquires the request URL described in the header portion. . Next, the analysis unit 207 searches the database 209 using the acquired request URL as an index. The analysis unit 207 adds the sensor data of the request message acquired after the sensor data of the searched request URL.
This is the end of the description of the method for adding the request message sensor data.

図4は、バッファリングオプションが記述されていないリクエストメッセージの具体例を示す図である。
図4に示すリクエストメッセージでは、リクエストメッセージのヘッダ部分“c”にバッファリングオプション「Buffering:on」が記述されていない。したがって、図4に示すリクエストメッセージのセンサデータは、データベース209に蓄積されない。この場合、図4に示すクエストメッセージは、サーバ30に送信される。
FIG. 4 is a diagram illustrating a specific example of a request message in which a buffering option is not described.
In the request message shown in FIG. 4, the buffering option “Buffering: on” is not described in the header part “c” of the request message. Therefore, the sensor data of the request message shown in FIG. 4 is not accumulated in the database 209. In this case, the quest message illustrated in FIG. 4 is transmitted to the server 30.

図5は、本実施形態における送信間隔算出処理の流れの具体例を示すフローチャートである。
まず、GW機器20の通信部201は、Synパケットをサーバ30に送信する(ステップS101)。この際、通信部201は、自装置(GW機器20)とサーバ30との通信に使用されるMSSの値をSynパケットに格納する。次に、通信部201は、サーバ30からSyn/Ackパケットを受信する(ステップS102)。この際、通信部201は、受信したSyn/Ackパケットに格納されているMSSの値を取得する。そして、通信部201は、サーバ30に対してAckパケットを送信する(ステップS103)。ステップS101〜ステップS103の処理を行うことによってGW機器20とサーバ30との接続が確立される。
FIG. 5 is a flowchart showing a specific example of the flow of transmission interval calculation processing in the present embodiment.
First, the communication unit 201 of the GW device 20 transmits a Syn packet to the server 30 (step S101). At this time, the communication unit 201 stores the MSS value used for communication between the own device (GW device 20) and the server 30 in the Syn packet. Next, the communication unit 201 receives a Syn / Ack packet from the server 30 (step S102). At this time, the communication unit 201 acquires the MSS value stored in the received Syn / Ack packet. Then, the communication unit 201 transmits an Ack packet to the server 30 (step S103). The connection between the GW device 20 and the server 30 is established by performing the processes of steps S101 to S103.

その後、通信部201は、サーバ30との通信に使用されるMSSの値を取得する(ステップS104)。具体的には、通信部201は、サーバ30に送信したMSSの値と受信したMSSの値とを比較して、小さい方のMSSをサーバ30との通信に使用するMSSの値として取得する。
次に、取得部203は、一定期間の間、ノード10からサーバ30に対して送信されているセンサデータのパケットを収集する(ステップS105)。取得部203は、収集したパケットからヘッダーサイズ及びボディサイズの各値を取得する(ステップS106)。具体的には、取得部203は、取得したパケットのHTTPヘッダのサイズとペイロードに格納されているセンサデータのサイズを取得する。
Thereafter, the communication unit 201 acquires the MSS value used for communication with the server 30 (step S104). Specifically, the communication unit 201 compares the MSS value transmitted to the server 30 with the received MSS value, and acquires the smaller MSS as the MSS value used for communication with the server 30.
Next, the acquisition unit 203 collects packets of sensor data transmitted from the node 10 to the server 30 for a certain period (step S105). The acquisition unit 203 acquires each value of the header size and the body size from the collected packet (step S106). Specifically, the acquisition unit 203 acquires the size of the HTTP header of the acquired packet and the size of the sensor data stored in the payload.

集約数算出部204は、MSSの値とヘッダーサイズ及びボディサイズの各値とを用いてセンサデータの集約可能数を算出する(ステップS107)。受信間隔算出部205は、取得部203によって一定期間の間、収集されたパケットの受信時刻の差分に基づいて、センサデータのパケットの受信間隔を算出する(ステップS108)。その後、送信間隔算出部206は、算出された受信間隔の値と集約可能数の値とを用いて送信間隔を算出する(ステップS109)。例えば、送信間隔算出部206は、受信間隔の値と集約可能数の値とを乗算することによって送信間隔を算出する。そして、送信間隔算出部206は、算出した送信間隔の値をタイマー管理部208に通知する。その後、送信間隔算出処理が終了する。   The aggregation number calculation unit 204 calculates the number of sensor data that can be aggregated using the MSS value and the header size and body size values (step S107). The reception interval calculation unit 205 calculates the reception interval of the sensor data packets based on the difference in the reception times of the packets collected for a certain period by the acquisition unit 203 (step S108). Thereafter, the transmission interval calculation unit 206 calculates the transmission interval using the calculated reception interval value and the value of the number that can be aggregated (step S109). For example, the transmission interval calculation unit 206 calculates the transmission interval by multiplying the value of the reception interval by the value of the number that can be aggregated. Then, the transmission interval calculation unit 206 notifies the timer management unit 208 of the calculated transmission interval value. Thereafter, the transmission interval calculation process ends.

図6は、本実施形態におけるセンサデータ送信処理の流れの具体例を示すフローチャートである。
GW機器20の通信部201は、ノード10から周期的に送信されるリクエストメッセージを受信する(ステップS201)。解析部207は、受信されたリクエストメッセージを解析する(ステップS202)。具体的には、解析部207は、受信されたリクエストメッセージに格納されているリクエストメソッド、リクエストURL、リクエストURI及びセンサデータの各値を取得する。その後、解析部207は、ヘッダ部分にバッファリングオプションが記述されているか否かを判定する(ステップS203)。バッファリングオプションが記述されている場合(ステップS203−YES)、解析部207は取得したリクエストURLをインデックスとしてデータベース209を検索する。そして、解析部207は、検索されたリクエストURLのセンサデータの後に、ステップS203の処理で取得したセンサデータをデータベース209に蓄積する(ステップS204)。
FIG. 6 is a flowchart showing a specific example of the flow of sensor data transmission processing in the present embodiment.
The communication unit 201 of the GW device 20 receives a request message periodically transmitted from the node 10 (step S201). The analysis unit 207 analyzes the received request message (step S202). Specifically, the analysis unit 207 acquires each value of the request method, the request URL, the request URI, and the sensor data stored in the received request message. Thereafter, the analysis unit 207 determines whether or not a buffering option is described in the header portion (step S203). When the buffering option is described (step S203—YES), the analysis unit 207 searches the database 209 using the acquired request URL as an index. Then, the analysis unit 207 accumulates the sensor data acquired in the process of step S203 in the database 209 after the sensor data of the searched request URL (step S204).

一方、バッファリングオプションが記述されていない場合(ステップS203−NO)、生成部210は受信されたリクエストメッセージに基づいて、サーバ30に送信する第一のリクエストメッセージを生成する(ステップS205)。具体的には、生成部210は、リクエストメッセージのヘッダ部分にリクエストメソッド及びリクエストメソッドURIを格納し、ボディ部分にリクエストボディを格納することによって第一のリクエストメッセージを生成する。そして、通信部201は、生成された第一のリクエストメッセージをサーバ30に送信する(ステップS214)。
また、ステップS204の処理後に、生成部210は、センサデータを蓄積したことを示す情報を含むレスポンスメッセージを生成する(ステップS206)。通信部201は、生成されたレスポンスメッセージをノード10に送信する(ステップS207)。
On the other hand, when the buffering option is not described (step S203—NO), the generation unit 210 generates a first request message to be transmitted to the server 30 based on the received request message (step S205). Specifically, the generation unit 210 generates a first request message by storing a request method and a request method URI in the header part of the request message and storing a request body in the body part. Then, the communication unit 201 transmits the generated first request message to the server 30 (step S214).
Moreover, after the process of step S204, the production | generation part 210 produces | generates the response message containing the information which shows having accumulate | stored sensor data (step S206). The communication unit 201 transmits the generated response message to the node 10 (step S207).

次に、タイマー管理部208は、ステップS201の処理で受信したリクエストメッセージのリクエストURLに対応するタイマーが起動しているか否かを判定する(ステップS208)。タイマーが起動している場合(ステップS208−YES)、タイマー管理部208はステップS201の処理で受信したリクエストメッセージのリクエストURLに対応するタイマーが満了であるか否かを判定する(ステップS209)。一方、ステップS208の処理において、タイマーが起動していない場合(ステップS208−NO)、タイマー管理部208は送信間隔算出部206によって算出された値を自装置に設定し、タイマーを開始する(ステップS210)。そして、ステップS201以降の処理が繰り返し実行される。   Next, the timer management unit 208 determines whether or not the timer corresponding to the request URL of the request message received in step S201 is activated (step S208). When the timer is activated (YES in step S208), the timer management unit 208 determines whether or not the timer corresponding to the request URL of the request message received in step S201 has expired (step S209). On the other hand, if the timer is not activated in the processing of step S208 (step S208-NO), the timer management unit 208 sets the value calculated by the transmission interval calculation unit 206 in the own device and starts the timer (step S208). S210). And the process after step S201 is repeatedly performed.

タイマーが満了である場合(ステップS209−YES)、タイマー管理部208はタイマー満了を生成部210に通知する(ステップS211)。一方、ステップS209の処理において、タイマーが満了ではない場合(ステップS209−NO)、ステップS201以降の処理が繰り返し実行される。
次に、生成部210は、タイマー満了が通知されると、データベース209を参照し、ステップS201の処理で受信したリクエストメッセージのリクエストメソッド、リクエストURIに対応するセンサデータを用いてリクエストボディを生成する。(ステップS212)。生成部210は、リクエストメソッドとリクエストURIと生成されたリクエストボディとを用いて第二のリクエストメッセージを生成する(ステップS213)。具体的には、ヘッダ部分にリクエストメソッド及びリクエストURIを格納し、ボディ部分にリクエストボディを格納することによって第二のリクエストメッセージを生成する。その後、通信部201は、生成された第二のリクエストメッセージをサーバ30に送信する(ステップS214)。
When the timer has expired (step S209—YES), the timer management unit 208 notifies the generation unit 210 of the expiration of the timer (step S211). On the other hand, in the process of step S209, when the timer is not expired (step S209—NO), the processes after step S201 are repeatedly executed.
Next, when the expiration of the timer is notified, the generation unit 210 refers to the database 209 and generates a request body using the request method of the request message received in the process of step S201 and the sensor data corresponding to the request URI. . (Step S212). The generation unit 210 generates a second request message using the request method, the request URI, and the generated request body (step S213). Specifically, the second request message is generated by storing the request method and request URI in the header portion and storing the request body in the body portion. Thereafter, the communication unit 201 transmits the generated second request message to the server 30 (step S214).

図7は、本実施形態におけるセンサデータ送信処理の動作の具体例を示すシーケンス図である。
ノード10は、センサデータを含むリクエストメッセージをGW機器20に送信する(ステップS301)。GW機器20の通信部201は、ノード10から送信されたリクエストメッセージを受信する。その後、解析部207は、受信されたリクエストメッセージを解析する(ステップS302)。リクエストメッセージにバッファリングオプションが記述されている場合、解析部207はリクエストメッセージに格納されているセンサデータをデータベース209に蓄積する(ステップS303)。一方、リクエストメッセージにバッファリングオプションが記述されていない場合、生成部210は受信されたリクエストメッセージに基づいて、第一のリクエストメッセージを生成する。その後、通信部201は、生成された第一のリクエストメッセージをサーバ30に送信する。
FIG. 7 is a sequence diagram showing a specific example of the operation of the sensor data transmission process in the present embodiment.
The node 10 transmits a request message including the sensor data to the GW device 20 (step S301). The communication unit 201 of the GW device 20 receives the request message transmitted from the node 10. Thereafter, the analysis unit 207 analyzes the received request message (step S302). When the buffering option is described in the request message, the analysis unit 207 accumulates the sensor data stored in the request message in the database 209 (step S303). On the other hand, when the buffering option is not described in the request message, the generation unit 210 generates a first request message based on the received request message. Thereafter, the communication unit 201 transmits the generated first request message to the server 30.

また、生成部210は、リクエストに対する結果を表すステータスコードとレスポンスボディとを用いてレスポンスメッセージを生成する(ステップS304)。通信部201は、生成されたレスポンスメッセージをノード10に送信する(ステップS305)。その後、タイマー管理部208は、送信間隔算出部206によって算出された送信間隔をタイマーに設定し、タイマーのカウントダウンを開始する(ステップS306)。
ノード10は、センサデータを含むリクエストメッセージをGW機器20に送信する(ステップS307)。GW機器20の通信部201は、ノード10から送信されたリクエストメッセージを受信する。その後、解析部207は、受信されたリクエストメッセージを解析する(ステップS308)。
Further, the generation unit 210 generates a response message using a status code representing a result for the request and a response body (step S304). The communication unit 201 transmits the generated response message to the node 10 (step S305). After that, the timer management unit 208 sets the transmission interval calculated by the transmission interval calculation unit 206 in the timer, and starts timer countdown (step S306).
The node 10 transmits a request message including the sensor data to the GW device 20 (step S307). The communication unit 201 of the GW device 20 receives the request message transmitted from the node 10. Thereafter, the analysis unit 207 analyzes the received request message (step S308).

リクエストメッセージにバッファリングオプションが記述されている場合、解析部207はステップS307の処理で送信されたリクエストメッセージに格納されているセンサデータを、データベース209に蓄積する(ステップS309)。また、生成部210は、リクエストに対する結果を表すステータスコードとレスポンスボディとを用いてレスポンスメッセージを生成する(ステップS310)。通信部201は、生成されたレスポンスメッセージをノード10に送信する(ステップS311)。   When the buffering option is described in the request message, the analysis unit 207 accumulates the sensor data stored in the request message transmitted in step S307 in the database 209 (step S309). Further, the generation unit 210 generates a response message using a status code representing a result for the request and a response body (step S310). The communication unit 201 transmits the generated response message to the node 10 (step S311).

ステップS307の処理で送信されたリクエストメッセージのリクエストURLに対応するタイマーが満了すると、タイマー管理部208は、タイマー満了を生成部210に通知する。生成部210は、タイマー管理部208からタイマー満了が通知されると、データベース209を参照し、ステップS307の処理で送信されたリクエストメッセージのリクエストURLに対応するセンサデータを用いてリクエストボディを生成する(ステップS312)。その後、生成部210は、リクエストメソッド、リクエストURI及びリクエストボディを用いて第二のリクエストメッセージを生成する(ステップS313)。具体的には、生成部210は、ヘッダ部分にリクエストメソッド及びリクエストURIを格納し、ボディ部分にリクエストボディを格納することによって第二のリクエストメッセージを生成する。通信部201は、生成された第二のリクエストメッセージをサーバ30に送信する(ステップS314)。   When the timer corresponding to the request URL of the request message transmitted in the process of step S307 expires, the timer management unit 208 notifies the generation unit 210 that the timer has expired. When the expiration of the timer is notified from the timer management unit 208, the generation unit 210 refers to the database 209 and generates a request body using the sensor data corresponding to the request URL of the request message transmitted in step S307. (Step S312). Thereafter, the generation unit 210 generates a second request message using the request method, the request URI, and the request body (step S313). Specifically, the generation unit 210 generates a second request message by storing the request method and the request URI in the header part and storing the request body in the body part. The communication unit 201 transmits the generated second request message to the server 30 (step S314).

サーバ30は、GW機器20から送信された第二のリクエストメッセージを受信する。次に、サーバ30は、受信した第二のリクエストメッセージに格納されているセンサデータをデータベースに記録する。そして、サーバ30は、レスポンスメッセージを生成する。その後、サーバ30は、生成したレスポンスメッセージをGW機器20に送信する(ステップS315)。
GW機器20の通信部201は、サーバ30から送信されたレスポンスメッセージを受信する。解析部207は、送信されたレスポンスメッセージを解析する(ステップS316)。生成部210は、レスポンスメッセージを生成する(ステップS317)。通信部201は、生成されたレスポンスメッセージをノード10に送信する(ステップS318)。
The server 30 receives the second request message transmitted from the GW device 20. Next, the server 30 records the sensor data stored in the received second request message in the database. Then, the server 30 generates a response message. Thereafter, the server 30 transmits the generated response message to the GW device 20 (step S315).
The communication unit 201 of the GW device 20 receives the response message transmitted from the server 30. The analysis unit 207 analyzes the transmitted response message (step S316). The generation unit 210 generates a response message (step S317). The communication unit 201 transmits the generated response message to the node 10 (step S318).

以上のように構成されたGW機器20によれば、複数のセンサデータがリクエストメッセージに付与されているリクエストURLに基づいて蓄積される。したがって、ノード10からセンサデータが送信される度に、センサデータの送信が行われないため、サーバ30に対してアクセス数が減少する。また、複数のセンサデータが一つのデータとして送信されるため、通信量も軽減することができ、サーバ30の処理負荷も軽減することができる。また、GW機器20は、フラグメンテーションが生じない最大のサイズで蓄積されたセンサデータをサーバ30に送信する。そのため、センサネットワークにおけるデータ送信の際に生じる負荷を軽減することが可能となる。   According to the GW device 20 configured as described above, a plurality of sensor data is accumulated based on the request URL given to the request message. Therefore, every time sensor data is transmitted from the node 10, sensor data is not transmitted, and the number of accesses to the server 30 decreases. In addition, since a plurality of sensor data is transmitted as one data, the amount of communication can be reduced, and the processing load on the server 30 can also be reduced. Further, the GW device 20 transmits the sensor data accumulated in the maximum size that does not cause fragmentation to the server 30. For this reason, it is possible to reduce a load generated when data is transmitted in the sensor network.

<変形例>
本実施例では、中継システムに存在するノード10の数は、三台であるが、ノード10の数が四台以上であっても良いし、ノード10の数が二台以下であっても良い。
また、本実施例では、中継システムに存在するGW機器20の数は、一台であるが、GW機器20の数は複数台で構成されても良い。
また、GW機器20がサーバ30に対して蓄積しているセンサデータを送信するタイミングは、上述のタイミングに限定される必要はない。例えば、GW機器20は、データベース209に蓄積されているセンサデータの数が、集約可能数を超過した場合にサーバ30にセンサデータを送信しても良い。また、ユーザによって送信間隔が設定されても良い。
また、本実施例では、センサデータをサーバ30に送信する中継装置としてGW機器20が使用されているが、これに限定される必要はなく、プロキシ機能を備えた中継装置であればどのような装置であっても良い。
バッファリングオプションは、リクエストメッセージのボディ部分に記述されても良い。
<Modification>
In this embodiment, the number of nodes 10 existing in the relay system is three, but the number of nodes 10 may be four or more, or the number of nodes 10 may be two or less. .
In the present embodiment, the number of GW devices 20 existing in the relay system is one, but the number of GW devices 20 may be configured by a plurality.
Further, the timing at which the GW device 20 transmits the sensor data stored in the server 30 need not be limited to the above-described timing. For example, the GW device 20 may transmit the sensor data to the server 30 when the number of sensor data stored in the database 209 exceeds the number that can be aggregated. Further, the transmission interval may be set by the user.
In the present embodiment, the GW device 20 is used as a relay device that transmits sensor data to the server 30. However, the present invention is not limited to this, and any relay device having a proxy function may be used. It may be a device.
The buffering option may be described in the body part of the request message.

以上、この発明の実施形態について図面を参照して詳述してきたが、具体的な構成はこの実施形態に限られるものではなく、この発明の要旨を逸脱しない範囲の設計等も含まれる。   The embodiment of the present invention has been described in detail with reference to the drawings. However, the specific configuration is not limited to this embodiment, and includes designs and the like that do not depart from the gist of the present invention.

10(10−1〜10−3)…ノード, 20…GW機器, 30…サーバ, 40…センサネットワーク, 50…ネットワーク, 201…通信部, 202…制御部, 203…取得部, 204…集約数算出部, 205…受信間隔算出部, 206…送信間隔算出部, 207…解析部, 208…タイマー管理部, 209…データベース, 210…生成部 10 (10-1 to 10-3) ... node, 20 ... GW device, 30 ... server, 40 ... sensor network, 50 ... network, 201 ... communication unit, 202 ... control unit, 203 ... acquisition unit, 204 ... number of aggregation Calculation unit, 205 ... Reception interval calculation unit, 206 ... Transmission interval calculation unit, 207 ... Analysis unit, 208 ... Timer management unit, 209 ... Database, 210 ... Generation unit

Claims (4)

ノードから送信された蓄積情報が付与されたパケットを送信先ごとに蓄積して記憶するデータベースと、
前記データベースに記憶されている蓄積された前記パケットをサーバに送信する間隔を管理するタイマー管理部と、
前記間隔で蓄積された前記パケットをサーバに送信する通信部と、
を備える中継装置。
A database for storing and storing packets with accumulated information transmitted from nodes for each destination;
A timer management unit for managing an interval for transmitting the accumulated packets stored in the database to a server;
A communication unit that transmits the packet accumulated at the interval to a server;
A relay device comprising:
前記パケットのサイズ情報を取得する取得部と、
自装置と前記サーバとの接続時に取得される前記パケットを送信可能な最大のサイズ情報と、前記パケットのサイズ情報とに基づいて、前記データベースに蓄積される前記パケットの集約可能数を算出する集約数算出部と、
を更に備え、
前記通信部は、前記集約可能数に基づいて、蓄積された前記パケットをサーバに送信する請求項1に記載の中継装置。
An acquisition unit for acquiring size information of the packet;
Aggregation for calculating the number of packets that can be accumulated in the database based on the maximum size information that can be transmitted when the packet is connected to the server and the size information of the packets. A number calculator,
Further comprising
The relay device according to claim 1, wherein the communication unit transmits the accumulated packets to a server based on the aggregation possible number.
複数のノードと、前記ノードから送信されるパケットをサーバに中継する中継装置とを備えたシステムであって、
前記ノードは、
周囲の空間情報を表すデータを収集するセンサと、
前記センサによって収集された前記データを含むパケットを前記中継装置に送信する通信部と、
を備え、
前記中継装置は、
ノードから送信された蓄積情報が付与されたパケットを送信先ごとに蓄積して記憶するデータベースと、
前記データベースに記憶されている蓄積された前記パケットをサーバに送信する間隔を管理するタイマー管理部と、
前記間隔で蓄積された前記パケットをサーバに送信する通信部と、
を備える中継システム。
A system comprising a plurality of nodes and a relay device that relays packets transmitted from the nodes to a server,
The node is
A sensor that collects data representing the surrounding spatial information;
A communication unit for transmitting a packet including the data collected by the sensor to the relay device;
With
The relay device is
A database for storing and storing packets with accumulated information transmitted from nodes for each destination;
A timer management unit for managing an interval for transmitting the accumulated packets stored in the database to a server;
A communication unit that transmits the packet accumulated at the interval to a server;
A relay system comprising:
ノードから送信された蓄積情報が付与されたパケットを送信先ごとに蓄積してデータベースに記憶する記憶ステップと、
前記データベースに記憶されている蓄積された前記パケットをサーバに送信する間隔を管理するタイマー管理ステップと、
前記間隔で蓄積された前記パケットをサーバに送信する通信ステップと、
を有する中継方法。
A storage step of storing, for each transmission destination, a packet to which accumulated information transmitted from a node is added and storing it in a database;
A timer management step for managing an interval for transmitting the accumulated packets stored in the database to a server;
A communication step of transmitting the packets accumulated at the intervals to a server;
A relay method.
JP2013065531A 2013-03-27 2013-03-27 Relay device, relay system, and relay method Active JP6047794B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013065531A JP6047794B2 (en) 2013-03-27 2013-03-27 Relay device, relay system, and relay method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013065531A JP6047794B2 (en) 2013-03-27 2013-03-27 Relay device, relay system, and relay method

Publications (2)

Publication Number Publication Date
JP2014192661A true JP2014192661A (en) 2014-10-06
JP6047794B2 JP6047794B2 (en) 2016-12-21

Family

ID=51838568

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013065531A Active JP6047794B2 (en) 2013-03-27 2013-03-27 Relay device, relay system, and relay method

Country Status (1)

Country Link
JP (1) JP6047794B2 (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017111568A (en) * 2015-12-15 2017-06-22 日本電信電話株式会社 Data aggregation device, method, and program
JP2017163440A (en) * 2016-03-11 2017-09-14 富士通株式会社 Data transfer program, data transfer method, and data transfer apparatus
DE102017126397A1 (en) 2016-11-17 2018-05-17 Minebea Mitsumi Inc. Communication terminal and communication system
DE102017126398A1 (en) 2016-11-25 2018-05-30 Minebea Mitsumi Inc. Transmission device and communication system
JP2018148494A (en) * 2017-03-08 2018-09-20 株式会社東芝 Packet aggregation device and transmission processing program
JP2019212987A (en) * 2018-05-31 2019-12-12 株式会社東芝 Observation data transmission system, observation data transmitter, and observation data transmission method
JPWO2019240034A1 (en) * 2018-06-15 2020-12-17 日本電信電話株式会社 Network management systems, management devices, relay devices, methods and programs
WO2022003964A1 (en) * 2020-07-03 2022-01-06 日本電信電話株式会社 Data collection system, terminal, data collection method, and program
JP7623208B2 (en) 2021-04-30 2025-01-28 矢崎総業株式会社 Relay device, communication system, data relay method, and data relay program

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011223496A (en) * 2010-04-14 2011-11-04 Nec Corp Communication apparatus for ethernet (r) oam frame, oam frame processing method and processing program

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011223496A (en) * 2010-04-14 2011-11-04 Nec Corp Communication apparatus for ethernet (r) oam frame, oam frame processing method and processing program

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
JPN6016025109; 河合佑介 他: '無線センサネットワークにおけるデータ集約方式に関する考察' 情報処理学会シンポジウム Vol.2011,No.1, 20110706, p.871-877, 一般社団法人情報処理学会 *

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017111568A (en) * 2015-12-15 2017-06-22 日本電信電話株式会社 Data aggregation device, method, and program
JP2017163440A (en) * 2016-03-11 2017-09-14 富士通株式会社 Data transfer program, data transfer method, and data transfer apparatus
DE102017126397A1 (en) 2016-11-17 2018-05-17 Minebea Mitsumi Inc. Communication terminal and communication system
US10638290B2 (en) 2016-11-17 2020-04-28 Minebea Mitsumi Inc. Communication terminal and communication system
US10523469B2 (en) 2016-11-25 2019-12-31 Minebea Mitsumi Inc. Relay device and communication system
DE102017126398A1 (en) 2016-11-25 2018-05-30 Minebea Mitsumi Inc. Transmission device and communication system
JP2018148494A (en) * 2017-03-08 2018-09-20 株式会社東芝 Packet aggregation device and transmission processing program
JP2019212987A (en) * 2018-05-31 2019-12-12 株式会社東芝 Observation data transmission system, observation data transmitter, and observation data transmission method
JP7150484B2 (en) 2018-05-31 2022-10-11 株式会社東芝 Observation data transmission system, observation data transmission device and observation data transmission method
JPWO2019240034A1 (en) * 2018-06-15 2020-12-17 日本電信電話株式会社 Network management systems, management devices, relay devices, methods and programs
US11477124B2 (en) 2018-06-15 2022-10-18 Nippon Telegraph And Telephone Corporation Network management system, management device, relay device, method, and program
WO2022003964A1 (en) * 2020-07-03 2022-01-06 日本電信電話株式会社 Data collection system, terminal, data collection method, and program
JP7623208B2 (en) 2021-04-30 2025-01-28 矢崎総業株式会社 Relay device, communication system, data relay method, and data relay program

Also Published As

Publication number Publication date
JP6047794B2 (en) 2016-12-21

Similar Documents

Publication Publication Date Title
JP6047794B2 (en) Relay device, relay system, and relay method
CN112136293B (en) Signaling Optimization in 3GPP Analysis
US20190007928A1 (en) Methods and nodes for enabling context-awareness in coap
CN103957269B (en) The system of selection of P2P network nodes and point-to-point redirection P2P Redirector servers
JP5904908B2 (en) Communication system and quality control server
CN104217019A (en) Content inquiry method and device based on multiple stages of cache modules
JP2012191440A (en) Communication quality measurement method and device
WO2019007114A1 (en) Data transmission method and device
US9400547B2 (en) Processing device and method thereof
CN106101264A (en) Content distributing network daily record method for pushing, device and system
WO2017090306A1 (en) Sensor data collection system
CN106302638B (en) Data management method, forwarding equipment and system
CN104580228A (en) System and method for blacklisting access requests from network
EP3952233A1 (en) Tcp congestion control method, apparatus, terminal, and readable storage medium
WO2014208617A1 (en) Push-type information transmission device, push-type information transmission method, and program
JP5430411B2 (en) Data collection server
CN102957580B (en) Flow statistical method and flow statistical equipment
EP3643138B1 (en) A method and network node of setting up a wireless connection
KR20140125223A (en) Method for collecting information with management interface in contents network based on information centric networking, content network management system, and node apparatus
WO2017005118A1 (en) Method, device, terminal and server for maintaining communication connection
JP6609485B2 (en) Communication device
CN104579841B (en) The system to the statistical result of certain statistical data item is generated according to the UDP messages of reception
RU2576489C2 (en) System and method for routing electronic content to recipient device
JP6407133B2 (en) Communication quality degradation detection system, communication quality degradation detection method, and program
Uslu et al. Ds+: Reliable distributed snapshot algorithm for wireless sensor networks

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150629

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160623

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160705

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160824

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20161028

R150 Certificate of patent or registration of utility model

Ref document number: 6047794

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250