JP2007193748A - Communication node, sensor network system, and task processing method - Google Patents

Communication node, sensor network system, and task processing method Download PDF

Info

Publication number
JP2007193748A
JP2007193748A JP2006013800A JP2006013800A JP2007193748A JP 2007193748 A JP2007193748 A JP 2007193748A JP 2006013800 A JP2006013800 A JP 2006013800A JP 2006013800 A JP2006013800 A JP 2006013800A JP 2007193748 A JP2007193748 A JP 2007193748A
Authority
JP
Japan
Prior art keywords
task
processing
processing method
task processing
sensor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2006013800A
Other languages
Japanese (ja)
Inventor
Tsuyoshi Kato
剛志 加藤
Norihiro Ishikawa
憲洋 石川
Hiromitsu Sumino
宏光 角野
Yoshitaka Uchida
良隆 内田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NTT Docomo Inc
Original Assignee
NTT Docomo Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NTT Docomo Inc filed Critical NTT Docomo Inc
Priority to JP2006013800A priority Critical patent/JP2007193748A/en
Publication of JP2007193748A publication Critical patent/JP2007193748A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a communication node, a sensor network system, and a task processing method for allowing reduction in a task processing cost and execution of more tasks. <P>SOLUTION: This communication node constituting the sensor network system is provided with a task determination means for determining resources necessary for task processing based on a task processing request, a processing method determination means for determining a task processing method based on the necessary resources, and a task processing means for performing task processing according to the processing method. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、複数の汎用センサノードが互いに隣接するノードとの間に確立する接続に基づいて構成されるセンサネットワークにおいて、より多くのタスクを処理するための制御を行う通信ノードおよびセンサネットワークシステム並びにタスク処理方法に関する。   The present invention relates to a communication node and a sensor network system for performing control for processing more tasks in a sensor network configured based on a connection established by a plurality of general-purpose sensor nodes with adjacent nodes. It relates to a task processing method.

一般的なセンサネットワークシステムにおいて、センサノードは、比較的処理能力の小さい機器であることが多い。そのため、タスク処理コストの削減、分散化は大きな課題である。   In a general sensor network system, a sensor node is often a device having a relatively small processing capability. Therefore, task processing cost reduction and decentralization are major issues.

例えば、あるセンシングシステムでは、サーバから、センサノードに要求精度を送信する。センサノードは、要求精度に応じた閾値を、センサに送信する。センサは、センサノードから受信した閾値に応じて閾値を変化する閾値可変手段と、所定のセンサと、自センサが出力したアナログ値と変化された閾値とを比較し、比較結果をセンサノードに送信する結果送信手段とを具備し、センサノードは、複数のセンサが出力した結果によって、デジタル情報を抽出し、この抽出したデジタル情報を上記サーバに送信する。   For example, in a certain sensing system, the required accuracy is transmitted from the server to the sensor node. The sensor node transmits a threshold value corresponding to the required accuracy to the sensor. The sensor compares the threshold variable means that changes the threshold according to the threshold received from the sensor node, the predetermined sensor, the analog value output by the sensor, and the changed threshold, and transmits the comparison result to the sensor node. The sensor node extracts the digital information according to the results output from the plurality of sensors, and transmits the extracted digital information to the server.

これにより、処理能力の低いセンサノードは、通常時はアナログデータの比較器のみを動作させ、閾値を超えた時だけセンシングデータのデジタル化という比較的重い処理を行う。このようにすることで、センサノードにおける処理コストの低減を可能としている(例えば、特許文献1参照)。   As a result, the sensor node with low processing capability normally operates only the analog data comparator, and performs a relatively heavy process of digitizing the sensing data only when the threshold value is exceeded. By doing so, it is possible to reduce the processing cost in the sensor node (see, for example, Patent Document 1).

また、例えば、あるマルチセンサ処理装置では、センサノードから得られたデータを、複数の処理装置で分散処理を行う。このようにすることで、使用すると決定されたセンサに割り当てられた処理装置の数に応じて、そのセンサの処理内容を決定することが可能となる。また、単一の処理装置が過負荷で停止してしまうことがなくなる(例えば、特許文献2参照)。
特開2005−122655号公報 特開2002−157233号公報
Further, for example, in a certain multi-sensor processing device, data obtained from sensor nodes is distributedly processed by a plurality of processing devices. By doing in this way, it becomes possible to determine the processing content of the sensor according to the number of processing devices allocated to the sensor determined to be used. In addition, a single processing device is not stopped due to overload (see, for example, Patent Document 2).
JP 2005-122655 A JP 2002-157233 A

しかしながら、上述した背景技術には以下の問題がある。   However, the background art described above has the following problems.

特許文献1により開示されたセンシングシステムでは、個々のセンサノードのデジタル処理の必要性を、検出される事象の信号の大きさの閾値で判断するため、信号の大小以外の条件を設定することができない。したがって、その信号処理コストを低減することは不可能である。   In the sensing system disclosed in Patent Document 1, in order to determine the necessity of digital processing of each sensor node based on the threshold value of the signal magnitude of the detected event, conditions other than the signal magnitude may be set. Can not. Therefore, it is impossible to reduce the signal processing cost.

特許文献2により開示されたマルチセンサ処理装置では、センシングの結果得られたデータ処理の分散化を行っており、センサノード自身のセンシング処理コストの低減は行っていない。   In the multi-sensor processing device disclosed in Patent Document 2, data processing obtained as a result of sensing is distributed, and the sensing processing cost of the sensor node itself is not reduced.

そこで、本発明の目的は、タスク処理コストを低減し、より多くのタスクを実行可能とする通信ノードおよびセンサネットワークシステム並びにタスク処理方法を提供することにある。   Therefore, an object of the present invention is to provide a communication node, a sensor network system, and a task processing method that can reduce task processing costs and execute more tasks.

上記課題を解決するため、本発明の通信ノードは、センサネットワークシステムを構成する通信ノードであって、タスク処理要求に基づいて、タスク処理に必要なリソースを判断するタスク判断手段と、前記必要なリソースに基づいて、タスクの処理方式を判断する処理方式判断手段と、前記処理方式にしたがって、タスク処理を行うタスク処理手段とを備えることを特徴の1つとする。   In order to solve the above-described problem, a communication node according to the present invention is a communication node constituting a sensor network system, and a task determination unit that determines a resource required for task processing based on a task processing request, and the necessary node One of the features is a processing method determination unit that determines a task processing method based on a resource, and a task processing unit that performs task processing according to the processing method.

このように構成することにより、各通信ノードは、要求されたタスクに必要なリソースを判断し、必要な処理方式を決定することができる。その結果、複数のセンサノードにより、協調して該当のタスクの処理を行うことが可能となる。   With this configuration, each communication node can determine a resource necessary for the requested task and determine a necessary processing method. As a result, the corresponding task can be processed in cooperation by a plurality of sensor nodes.

また、本発明のセンサネットワークシステムは、複数の通信ノードによって構成されるセンサネットワークシステムであって、前記通信ノードは、タスク処理要求に基づいて、タスク処理に必要なリソースを判断するタスク判断手段と、前記必要なリソースに基づいて、タスクの処理方式を判断する処理方式判断手段と、前記処理方式にしたがって、タスク処理を行うタスク処理手段とを備えることを特徴の1つとする。   The sensor network system of the present invention is a sensor network system including a plurality of communication nodes, and the communication node includes task determination means for determining resources necessary for task processing based on a task processing request. One of the characteristics is that it includes a processing method determination unit that determines a processing method of a task based on the necessary resource, and a task processing unit that performs task processing according to the processing method.

このように構成することにより、センサネットワークシステムを構成する各通信ノードは、要求されたタスクに必要なリソースを判断し、必要な処理方式を決定できる。その結果、複数のセンサノードにより、協調して該当のタスクの処理を行うことが可能となる。   By configuring in this way, each communication node constituting the sensor network system can determine the necessary resource for the requested task and determine the necessary processing method. As a result, the corresponding task can be processed in cooperation by a plurality of sensor nodes.

また、本発明のタスク処理方法は、センサネットワークシステムを構成する通信ノードにおけるタスク処理方法であって、他の通信ノードとの間に接続を確立する接続確立ステップと、タスク処理要求に基づいて、タスク処理に必要なリソースを判断するタスク判断ステップと、前記必要なリソースに基づいて、タスクの処理方式を判断する処理方式判断ステップと、前記処理方式にしたがって、タスク処理を行うタスク処理ステップとを有することを特徴の1つとする。   The task processing method of the present invention is a task processing method in a communication node constituting a sensor network system, based on a connection establishment step for establishing a connection with another communication node, and a task processing request, A task determination step for determining a resource required for task processing; a processing method determination step for determining a task processing method based on the required resource; and a task processing step for performing task processing according to the processing method. It has one of the characteristics.

このようにすることにより、与えられたタスクを複数のセンサノードで協調実行することが可能となる。   In this way, a given task can be executed cooperatively by a plurality of sensor nodes.

本発明の実施例によれば、タスク処理コストを低減し、より多くのタスクを実行可能とする通信ノードおよびセンサネットワークシステム並びにタスク処理方法を実現できる。   According to the embodiments of the present invention, it is possible to realize a communication node, a sensor network system, and a task processing method that can reduce task processing costs and execute more tasks.

次に、本発明を実施するための最良の形態を、以下の実施例に基づき図面を参照しつつ説明する。
なお、実施例を説明するための全図において、同一機能を有するものは同一符号を用い、繰り返しの説明は省略する。
Next, the best mode for carrying out the present invention will be described based on the following embodiments with reference to the drawings.
In all the drawings for explaining the embodiments, the same reference numerals are used for those having the same function, and repeated explanation is omitted.

本発明の実施例にかかるセンサネットワークシステムについて、図1を参照して説明する。   A sensor network system according to an embodiment of the present invention will be described with reference to FIG.

本実施例にかかるセンサネットワークシステム10は、クライアントノード100と、クライアントノード100と有線または無線により接続できる1または複数の通信ノードとしてのセンサノード200(200、200、200、・・・、200)とを備える(nは、1<nの整数)。センサノード200同士は有線または無線により接続できる。 The sensor network system 10 according to the present embodiment includes a client node 100 and sensor nodes 200 (200 1 , 200 2 , 200 3 ,... As one or a plurality of communication nodes that can be connected to the client node 100 by wire or wirelessly. , 200 n ) (where n is an integer of 1 <n). The sensor nodes 200 can be connected to each other by wire or wireless.

クライアントノード100は、センサネットワークシステムに対して、タスク要求103を送信する。例えば、クライアントノード100は、センサノード200に対してタスク要求を送信する。 The client node 100 transmits a task request 103 to the sensor network system. For example, client node 100 transmits a task request to the sensor node 200 1.

センサノード200は、互いに隣接するセンサノードとの間に接続を確立し、センサネットワークを構成する。センサノード200は、クライアントノード100からタスク要求を受けて、後述する所定の処理を行い、タスク処理要求(タスク要求処理メッセージ)104を他の同一機能を持つセンサノード、例えばセンサノード200に送信する。このようにすることにより、各センサノード200は、タスクを協調して処理することができる。クライアントノード100からタスク要求を受けたセンサノードまたはセンサノードからタスク処理要求を受けた他のセンサノードのうちの一方は、必要に応じて、クライアントノード100に応答105を返す。 The sensor node 200 establishes a connection with adjacent sensor nodes to form a sensor network. The sensor node 200 1 receives the task request from the client node 100 performs predetermined processing to be described later, the task processing request (task request process message) 104 sensor nodes with another same function, for example, the sensor node 200 2 Send. By doing in this way, each sensor node 200 can process a task in cooperation. One of the sensor node that has received the task request from the client node 100 or another sensor node that has received the task processing request from the sensor node returns a response 105 to the client node 100 as necessary.

次に、本実施例にかかるセンサネットワークシステム10におけるセンサノード200について、図2を参照して説明する。   Next, the sensor node 200 in the sensor network system 10 according to the present embodiment will be described with reference to FIG.

本実施例にかかるセンサノード200は、通信部202と、通信部202と接続されたタスク判断部203、処理方式判断部204およびタスク処理部205と、タスク処理部205と接続されたセンシング部206とを備える。   The sensor node 200 according to the present embodiment includes a communication unit 202, a task determination unit 203 connected to the communication unit 202, a processing method determination unit 204, a task processing unit 205, and a sensing unit 206 connected to the task processing unit 205. With.

通信部202は、他の通信ノード、例えばクライアントノード100、センサノード200との接続を確立し、通信を行う。   The communication unit 202 establishes connection with other communication nodes, for example, the client node 100 and the sensor node 200, and performs communication.

タスク判断部203は、クライアントノード100からのタスク要求および他のセンサノード200からのタスク処理要求のうち少なくとも一方に基づいて、要求されるタスクの内容から、必要なリソースの情報、例えばセンサの種類、処理条件および観測する事象のうち少なくとも1つを把握する。   Based on at least one of the task request from the client node 100 and the task processing request from the other sensor node 200, the task determination unit 203 determines necessary resource information, for example, the sensor type, from the requested task content. And grasping at least one of processing conditions and events to be observed.

処理方式判断部204は、タスク判断部203において把握された必要なリソースの情報と、実行している他のタスクの状況とに応じて、タスクの処理方式、例えばタスクの処理に必要なセンサノード数、各センサノードにおける実行スケジュールなどを決定する。   The processing method determination unit 204 determines a task processing method, for example, a sensor node required for task processing, according to information on necessary resources grasped by the task determination unit 203 and the status of other tasks being executed. Number, execution schedule in each sensor node, and the like.

タスク処理部205は、処理方式判断部204において判断されたタスクの処理方式にしたがって、タスク処理を実行する。   The task processing unit 205 executes task processing in accordance with the task processing method determined by the processing method determination unit 204.

センシング部206は、タスク処理部205からの命令により、必要に応じてセンシングを行うことにより、所定の事象を観測する。センシング部206は、観測結果、例えば環境のセンシング結果を通知する。   The sensing unit 206 observes a predetermined event by performing sensing as necessary according to a command from the task processing unit 205. The sensing unit 206 notifies an observation result, for example, an environmental sensing result.

次に、センサノード200の各部の動作について説明する。   Next, the operation of each part of the sensor node 200 will be described.

タスク判断部203の動作について、図3を参照して説明する。タスク判断部203は、要求されたタスク対して必要なリソースの判断を行う。   The operation of the task determination unit 203 will be described with reference to FIG. The task determination unit 203 determines a necessary resource for the requested task.

通信部202は、他のノード、例えばクライアントノード100またはセンサノード200から、タスク要求またはタスク処理要求(タスク要求処理メッセージ)を受信し、それをタスク判断部203へ通知する(ステップS302)。   The communication unit 202 receives a task request or task processing request (task request processing message) from another node, for example, the client node 100 or the sensor node 200, and notifies the task determination unit 203 of it (step S302).

次に、タスク判断部203は、通知されたタスク要求またはタスク処理要求の内容から、タスクを判断する。また、タスク判断部203は、該タスクに基づいて、タスク処理に要求されるリソース、例えばセンサの種類、処理条件および観測する事象のうち少なくとも1つを示すリソース情報を抽出する(ステップS304)。   Next, the task determination unit 203 determines a task from the content of the notified task request or task processing request. Also, the task determination unit 203 extracts resource information indicating at least one of the resources required for task processing, for example, the sensor type, the processing condition, and the observed event based on the task (step S304).

次に、タスク判断部203は、抽出したリソース情報を処理方式判断部204へ通知する(ステップS306)。また、タスク判断部203は、タスク情報をタスク処理部205に入力する。このようにすることにより、センサノードにおいて、タスクを処理するのに必要な条件を把握することができる。   Next, the task determination unit 203 notifies the processing method determination unit 204 of the extracted resource information (step S306). The task determination unit 203 inputs task information to the task processing unit 205. In this way, the sensor node can grasp the conditions necessary for processing the task.

ここで、ステップS304において、タスク判断部203が、タスクの内容から、要求されるリソース情報を抽出する方法について、図4を参照して説明する。   Here, a method in which the task determination unit 203 extracts requested resource information from the task content in step S304 will be described with reference to FIG.

例えば、タスク判断部203は、要求されたタスク(要求タスク)の情報から、要求されるリソース情報を抽出する(ステップS402)。例えば、タスク判断部203は、要求タスクの内容から、必要な情報を抽出する(ステップS404)。   For example, the task determination unit 203 extracts requested resource information from the requested task (requested task) information (step S402). For example, the task determination unit 203 extracts necessary information from the contents of the requested task (step S404).

例えば、要求タスクには、温度が40度以上になったら通知することを示す情報(検出精度10秒以内)、要求に応じて現在温度を応答することを示す情報(応答時間1秒以内)が含まれる。   For example, in the request task, there is information (notifying accuracy within 10 seconds) indicating notification when the temperature becomes 40 ° C. or more, and information (response time within 1 second) indicating response of the current temperature in response to the request. included.

タスク判断部203は、抽出した必要な情報を、例えばメタデータのような形式で記述する(ステップS406)。   The task determination unit 203 describes the extracted necessary information in a format such as metadata (step S406).

例えば、タスク判断部203は、タスク区分のメタデータとして、センサタイプ、検出精度、応答時間などを記述する。タスク判断部203は、センサタイプとして温度センサ、検出精度として10s、応答時間として1sを記述する。   For example, the task determination unit 203 describes a sensor type, detection accuracy, response time, and the like as task category metadata. The task determination unit 203 describes a temperature sensor as the sensor type, 10 s as the detection accuracy, and 1 s as the response time.

また、タスク要求に対応して、要求されるリソース情報をメタデータとして予め記憶しておくようにしてもよい。その場合、タスク判断部203は、タスク要求から該当するメタデータのみを抽出する。   In response to the task request, the requested resource information may be stored in advance as metadata. In this case, the task determination unit 203 extracts only relevant metadata from the task request.

また、要求されるリソース情報の項目については、上述したように使用するセンサタイブ、センサの検出精度、応答時間などがあるが、それ以外の項目を要求されるリソース情報の項目として利用してもよい。また、要求されるリソース情報は、メタデータ以外の方式で記述されていてもよい。   The requested resource information items include the sensor type used, sensor detection accuracy, response time, etc. as described above, but other items may be used as the requested resource information items. . Further, the requested resource information may be described by a method other than metadata.

次に、処理方式判断部204における、要求されるタスクの処理を行うのに適切なタスク処理方式を決定する手順について、図5を参照して説明する。   Next, a procedure for determining an appropriate task processing method for processing a requested task in the processing method determination unit 204 will be described with reference to FIG.

処理方式判断部204は、タスク判断部203から、タスク処理に要求されるリソース情報を受け取る(ステップS502)。   The processing method determination unit 204 receives resource information required for task processing from the task determination unit 203 (step S502).

次に、処理方式判断部204は、要求されるリソース情報に基づいて、該リソース条件に適合するセンサノードを探索するためのメッセージを生成する。例えば、処理方式判断部204は、要求されるリソース情報に基づいて、適切な条件、例えばセンサのタイプ、設置場所などに適合するセンサノードを探索するためのメッセージを生成する。処理方式判断部204は、生成したメッセージを通信部202に入力する。通信部202は、入力されたメッセージをブロードキャストする。処理方式判断部204は、該当センサノードからの応答を待つ(ステップS504)。   Next, the processing method determination unit 204 generates a message for searching for a sensor node that meets the resource condition based on the requested resource information. For example, the processing method determination unit 204 generates a message for searching for a sensor node suitable for appropriate conditions, for example, a sensor type, an installation location, and the like based on requested resource information. The processing method determination unit 204 inputs the generated message to the communication unit 202. The communication unit 202 broadcasts the input message. The processing method determination unit 204 waits for a response from the corresponding sensor node (step S504).

処理方式判断部204は、リソース条件に適合する1または複数のセンサノードからの応答が通信部202に受信されたか否かを判断する(ステップS506)。   The processing method determination unit 204 determines whether or not the communication unit 202 has received a response from one or more sensor nodes that meet the resource condition (step S506).

リソース条件に適合する少なくとも1つのセンサノードからの応答が受信されない場合(ステップS506:NO)、処理方式判断部204は、タスク要求元、すなわちタスク要求を送信したクライアントノード100またはタスク処理要求を送信したセンサノードに、実行不可能であることを示す実行不可能通知を送信する(ステップS508)。   When a response from at least one sensor node that matches the resource condition is not received (step S506: NO), the processing method determination unit 204 transmits the task request source, that is, the client node 100 that transmitted the task request or the task processing request. A non-executable notification indicating that the sensor node is not executable is transmitted to the sensor node (step S508).

一方、リソース条件に適合する少なくとも1つのセンサノードからの応答が受信された場合(ステップS506:YES)、処理方式判断部204は、自センサノードのタスク処理の実行状況、周囲のセンサノードの数、すなわち応答したセンサノード数に基づいて、タスク処理スケジュール、実行するセンサノード処理順序を決定する(ステップS510)。   On the other hand, when a response from at least one sensor node that matches the resource condition is received (step S506: YES), the processing method determination unit 204 determines the task processing execution status of the sensor node and the number of surrounding sensor nodes. That is, based on the number of responding sensor nodes, the task processing schedule and the sensor node processing order to be executed are determined (step S510).

次に、処理方式判断部204は、タスク処理スケジュール、実行するセンサノード処理順序を示す情報をタスク処理部205へ入力する(ステップS512)。   Next, the processing method determination unit 204 inputs information indicating the task processing schedule and the sensor node processing order to be executed to the task processing unit 205 (step S512).

このようにすることにより、与えられたタスクを複数のセンサノードで協調実行するための、適切な方法を得ることができる。   By doing so, it is possible to obtain an appropriate method for executing a given task in cooperation with a plurality of sensor nodes.

ここで、ステップS510における、タスク処理スケジュールを決定する場合における自センサノードのタスク処理の実行状況、周囲のセンサノードの数の検出方法について、図6Aから図6Dを参照して説明する。   Here, the execution status of the task processing of the own sensor node and the method of detecting the number of surrounding sensor nodes when determining the task processing schedule in step S510 will be described with reference to FIGS. 6A to 6D.

処理方式判断部204は、自センサノードのタスク実行スケジュールを確認する。例えば、処理方式判断部204は、図6Aに示すようなタスク実行スケジュールを確認する。図6Aにおいて横軸は時間を示し、センサノードは所定のスケジュールで1以上のタスクを実行している。例えば、センサノードは、あるタイミングではタスクAおよびB、次のタイミングではタスクA、BおよびC、次のタイミングではタスクA、BおよびDを実行している。   The processing method determination unit 204 confirms the task execution schedule of the own sensor node. For example, the processing method determination unit 204 confirms a task execution schedule as shown in FIG. 6A. In FIG. 6A, the horizontal axis indicates time, and the sensor node executes one or more tasks on a predetermined schedule. For example, the sensor node executes tasks A and B at a certain timing, tasks A, B and C at the next timing, and tasks A, B and D at the next timing.

処理方式判断部204は、要求タスクにより抽出されたリソース情報における処理条件を確認する。例えば、処理方式判断部204は、「1分毎に1回、温度を測定して40度以上であれば通知を出す」という処理条件を確認する。   The processing method determination unit 204 confirms the processing conditions in the resource information extracted by the requested task. For example, the processing method determination unit 204 confirms a processing condition of “measurement temperature once every minute and issue a notification if the temperature is 40 degrees or more”.

自センサノードだけで新たなタスクを処理する場合に、図6Aに示すような実行状況では、別のタスクが入っているため、すなわち全てのタイミングでタスクが実行されているので、新たなタスクの実行は不可能となる。   When a new task is processed only by its own sensor node, in the execution situation as shown in FIG. 6A, another task is included, that is, the task is executed at all timings. Execution becomes impossible.

しかし、図6Cおよび図6Dに示すように2台または3台のノードで、タスクを分散して実行すれば、新たなタスクの処理が可能となる。このように、自センサノードで処理可能になるように、タスクを分散して実行できる周りの他のセンサノード数を決定する。   However, if tasks are distributed and executed by two or three nodes as shown in FIGS. 6C and 6D, new tasks can be processed. In this way, the number of other sensor nodes around which the task can be distributed and executed is determined so that it can be processed by the own sensor node.

次に、タスク処理部205の処理について、図7を参照して説明する。タスク処理部205は、要求タスクを処理する。   Next, the processing of the task processing unit 205 will be described with reference to FIG. The task processing unit 205 processes the requested task.

タスク処理部205は、処理方式判断部204からタスク処理のためのタスク処理スケジュールおよびセンサノード処理順序を示す情報を受け取り、タスク判断部203からタスクの内容を示す情報を受け取る(ステップS702)。   The task processing unit 205 receives information indicating the task processing schedule for task processing and the sensor node processing order from the processing method determination unit 204, and receives information indicating the content of the task from the task determination unit 203 (step S702).

次に、タスク処理部205は、タスクの内容を示す情報に基づいて、タスク毎にユニークなIDを割り当てる。また、タスク処理部205は、センサノード処理順序にしたがって、図8Aに示すようなタスクID、タスク処理スケジュール、センサノード処理順序、タスク内容を含むタスク処理要求メッセージを、次のセンサノード、すなわち接続を確立した隣接するセンサノードに送信する(ステップS704)。   Next, the task processing unit 205 assigns a unique ID for each task based on information indicating the content of the task. Further, the task processing unit 205 sends a task processing request message including a task ID, a task processing schedule, a sensor node processing order, and task contents as shown in FIG. Is transmitted to the adjacent sensor node that has been established (step S704).

一例として、3台のセンサノードが順番に1分毎にタスクを処理する場合のタスク処理要求メッセージについて、図8Bを参照して説明する。   As an example, a task processing request message in the case where three sensor nodes sequentially process a task every minute will be described with reference to FIG. 8B.

この場合、タスク処理要求メッセージには、タスク処理スケジュールとして、1.タスク受信、2.タスク実行、3.1分停止、4.タスク送信という情報が格納され、センサノード処理順序として、A、B、C、A、・・・の順序で処理されることを示す情報が格納され、タスク内容として、温度が40度以上になったらクライアントノードへ通知することを示す情報が格納される。   In this case, the task processing request message includes a task processing schedule as follows: 1. Task reception Task execution, 3.1 minute stop, 4. Information indicating task transmission is stored, information indicating that processing is performed in the order of A, B, C, A,... Is stored as the sensor node processing order, and the temperature of the task content is 40 degrees or higher. Information indicating notification to the client node is stored.

次に、タスク処理部205は、タスク処理スケジュールにしたがって、タスクを処理する(ステップS706)。   Next, the task processing unit 205 processes the task according to the task processing schedule (step S706).

次に、タスク処理部205は、タスク処理の結果、クライアントノード100に応答105を返す必要があるか否かを判断する(ステップS708)。例えば、タスク処理部205は、タスク内容を満たすか否か、上述した例では、温度が40度以上になったか否かを判断する。   Next, the task processing unit 205 determines whether it is necessary to return the response 105 to the client node 100 as a result of the task processing (step S708). For example, the task processing unit 205 determines whether or not the task content is satisfied, and in the above-described example, whether or not the temperature is 40 degrees or higher.

クライアントノード100に応答105を返す必要があると判断した場合(ステップS708:YES)、タスク処理部205はクライアントノード100へ応答105を返す(ステップS710)。例えば、タスク処理部205は、タスク内容を満たすと判断した場合、上述した例では、温度が40度以上になった場合、クライアントノード100に応答105を返す必要があると判断する。   When it is determined that the response 105 needs to be returned to the client node 100 (step S708: YES), the task processing unit 205 returns the response 105 to the client node 100 (step S710). For example, when the task processing unit 205 determines that the task content is satisfied, in the above-described example, the task processing unit 205 determines that the response 105 needs to be returned to the client node 100 when the temperature reaches 40 degrees or more.

一方、クライアントノード100に応答する必要があると判断されない場合(ステップS708:NO)およびステップS710においてクライアントノード100へ応答を返した場合(ステップS710)、タスク処理部205は続けてタスク要求を処理する必要があるか否かを判断する(ステップS712)。例えば、タスク処理部205は、タスク内容を満たさない判断した場合、上述した例では、温度が40度以上でない場合、クライアントノード100に応答105を返す必要がないと判断する。   On the other hand, when it is not determined that it is necessary to respond to the client node 100 (step S708: NO) and when a response is returned to the client node 100 in step S710 (step S710), the task processing unit 205 continues to process the task request. It is determined whether or not it is necessary to do this (step S712). For example, when the task processing unit 205 determines that the task content is not satisfied, in the above-described example, if the temperature is not 40 degrees or higher, the task processing unit 205 determines that it is not necessary to return the response 105 to the client node 100.

続けてタスク要求を処理する必要があると判断した場合(ステップS712:YES)、タスク処理部205はセンサノード処理順序にしたがって、次のセンサノードへタスク要求メッセージを送信する(ステップS714)。次に、ステップS706に戻る。   If it is determined that it is necessary to continue processing the task request (step S712: YES), the task processing unit 205 transmits a task request message to the next sensor node according to the sensor node processing order (step S714). Next, the process returns to step S706.

一方、続けてタスク要求を処理する必要がないと判断した場合(ステップS712:NO)、終了となる。   On the other hand, if it is determined that it is not necessary to continue processing the task request (step S712: NO), the processing ends.

このようにすることにより、与えられたタスクを複数のセンサノードで協調実行することができる。   In this way, a given task can be executed cooperatively by a plurality of sensor nodes.

次に、タスクスケジュールを実行する方法について、図9を参照して説明する。   Next, a method for executing a task schedule will be described with reference to FIG.

一例として、n台(nは、n>1の整数)のセンサノードでタスク処理を実行する場合について説明する。   As an example, a case will be described in which task processing is executed by n sensor nodes (n is an integer of n> 1).

クライアントノード100から、タスク要求がセンサノード200へ送信される(ステップS902)。 From client node 100, a task request is transmitted to the sensor node 200 1 (step S902).

次に、センサノード200は、要求されたタスクから、上述した所定の処理を行い、タスク処理方式の決定を行い、該タスク処理方式にしたがってタスク処理要求メッセージを決定し(ステップS904)、タスク要求処理メッセージを他のセンサノード群200〜200のいずれか1つに送信する(ステップS906)。 Next, the sensor node 200 1, from the requested task, performs predetermined processing described above, makes decisions task processing system in accordance with the task processing system determines the task processing request message (step S904), the task The request processing message is transmitted to any one of the other sensor node groups 200 2 to 200 n (step S906).

タスク要求処理メッセージを受信したセンサノード200は、タスク要求処理メッセージにしたがって、タスク処理を行い(ステップS908)、必要に応じて、クライアントノード100へ応答を返す(ステップS910)。   The sensor node 200 that has received the task request processing message performs task processing according to the task request processing message (step S908), and returns a response to the client node 100 as necessary (step S910).

また、タスク要求処理メッセージの、センサノード処理順序、タスク内容、タスク処理スケジュールは、各センサノードでそれらのキャッシュを行えば、初回のみ送信すればよく、通信コスト削減のために、2回目以降は、タスクIDのみを通知してもよい。   Also, the sensor node processing order, task content, and task processing schedule of the task request processing message need only be transmitted for the first time if they are cached in each sensor node. Only the task ID may be notified.

本実施例によれば、各センサノードは、要求されたタスクに必要なリソースを判断し、必要な処理方式を決定する。その結果、複数のセンサノードにより、協調して該当のタスクの処理を行うことが可能となる。このため、1つのセンサノードで、より多くのタスク処理を行うことが可能となる。   According to the present embodiment, each sensor node determines a resource necessary for the requested task and determines a necessary processing method. As a result, the corresponding task can be processed in cooperation by a plurality of sensor nodes. Therefore, it is possible to perform more task processing with one sensor node.

また、本実施例によれば、各センサノードは、要求されたタスクを処理するのに必要な条件を把握することが可能となる。このため、各センサノードは、タスクを協調実行するための処理方式を決定することが可能となる。   Further, according to the present embodiment, each sensor node can grasp the conditions necessary for processing the requested task. For this reason, each sensor node can determine a processing method for executing a task in a coordinated manner.

また、本実施例によれば、各センサノードは、与えられたタスクを複数のセンサノードで協調実行するための、適切な方法を得ることが可能となる。このため、複数のセンサノードで協調してタスク処理を行うことが可能となる。   Further, according to the present embodiment, each sensor node can obtain an appropriate method for cooperatively executing a given task by a plurality of sensor nodes. For this reason, it becomes possible to perform task processing in cooperation with a plurality of sensor nodes.

また、本実施例によれば、与えられたタスクを複数のセンサノードで協調実行することが可能となる。このため、1つのセンサで実行する処理コストを削減することが可能となる。   Further, according to the present embodiment, a given task can be executed in cooperation with a plurality of sensor nodes. For this reason, it is possible to reduce the processing cost executed by one sensor.

本発明にかかる通信ノードおよびセンサネットワークシステム並びにタスク処理方法は、センサネットワークシステムに適用できる。   The communication node, sensor network system, and task processing method according to the present invention can be applied to a sensor network system.

本発明の一実施例にかかるセンサネットワークシステムを示す説明図である。It is explanatory drawing which shows the sensor network system concerning one Example of this invention. 本発明の一実施例にかかるセンサノードを示すブロック図である。It is a block diagram which shows the sensor node concerning one Example of this invention. 本発明の一実施例にかかるセンサノードの動作を示すフロー図である。It is a flowchart which shows operation | movement of the sensor node concerning one Example of this invention. タスクの区分を示す説明図である。It is explanatory drawing which shows the division of a task. 本発明の一実施例にかかるセンサノードの動作を示すフロー図である。It is a flowchart which shows operation | movement of the sensor node concerning one Example of this invention. タスクのスケジューリングの一例を示す説明図である。It is explanatory drawing which shows an example of the scheduling of a task. タスクのスケジューリングの一例を示す説明図である。It is explanatory drawing which shows an example of the scheduling of a task. タスクのスケジューリングの一例を示す説明図である。It is explanatory drawing which shows an example of the scheduling of a task. タスクのスケジューリングの一例を示す説明図である。It is explanatory drawing which shows an example of the scheduling of a task. 本発明の一実施例にかかるセンサノードの動作を示すフロー図である。It is a flowchart which shows operation | movement of the sensor node concerning one Example of this invention. タスク要求処理メッセージを示す説明図である。It is explanatory drawing which shows a task request processing message. タスク要求処理メッセージを示す説明図である。It is explanatory drawing which shows a task request processing message. 本発明の一実施例にかかるセンサネットワークシステムの動作を示すフロー図である。It is a flowchart which shows operation | movement of the sensor network system concerning one Example of this invention.

符号の説明Explanation of symbols

100 クライアントノード
200、200、200、200、200、200 センサノード
100 Client node 200 1 , 200 2 , 200 3 , 200 4 , 200 5 , 200 Sensor node

Claims (5)

センサネットワークシステムを構成する通信ノードであって:
タスク処理要求に基づいて、タスク処理に必要なリソースを判断するタスク判断手段;
前記必要なリソースに基づいて、タスクの処理方式を判断する処理方式判断手段;
前記処理方式にしたがって、タスク処理を行うタスク処理手段;
を備えることを特徴とする通信ノード。
The communication nodes that make up the sensor network system:
Task determination means for determining resources necessary for task processing based on the task processing request;
Processing method determination means for determining a processing method of a task based on the necessary resources;
Task processing means for performing task processing in accordance with the processing method;
A communication node comprising:
請求項1に記載の通信ノードにおいて:
前記タスク判断手段は、処理要求されたタスクの内容から、センサの種類、処理条件および観測する事象のうち少なくとも1つを把握することを特徴とする通信ノード。
In the communication node according to claim 1:
The communication node characterized in that the task determination means grasps at least one of a sensor type, a processing condition, and an observed event from the content of the task requested to be processed.
請求項1または2に記載の通信ノードにおいて:
前記処理方式判断手段は、自通信ノードで実行されている他のタスクに基づいて、タスクの処理に必要な通信ノード数およびタスク処理の実行スケジュールを決定することを特徴とする通信ノード。
In the communication node according to claim 1 or 2:
The processing method determining means determines the number of communication nodes required for task processing and the task processing execution schedule based on other tasks being executed in the own communication node.
複数の通信ノードによって構成されるセンサネットワークシステムであって:
前記通信ノードは、
タスク処理要求に基づいて、タスク処理に必要なリソースを判断するタスク判断手段;
前記必要なリソースに基づいて、タスクの処理方式を判断する処理方式判断手段;
前記処理方式にしたがって、タスク処理を行うタスク処理手段;
を備えることを特徴とするセンサネットワークシステム。
A sensor network system composed of multiple communication nodes:
The communication node is
Task determination means for determining resources necessary for task processing based on the task processing request;
Processing method determination means for determining a processing method of a task based on the necessary resources;
Task processing means for performing task processing in accordance with the processing method;
A sensor network system comprising:
センサネットワークシステムを構成する通信ノードにおけるタスク処理方法であって:
他の通信ノードとの間に接続を確立する接続確立ステップ;
タスク処理要求に基づいて、タスク処理に必要なリソースを判断するタスク判断ステップ;
前記必要なリソースに基づいて、タスクの処理方式を判断する処理方式判断ステップ;
前記処理方式にしたがって、タスク処理を行うタスク処理ステップ;
を有することを特徴とするタスク処理方法。
A task processing method in a communication node constituting a sensor network system, comprising:
Establishing a connection with another communication node;
A task determination step for determining a resource required for the task processing based on the task processing request;
A processing method determination step of determining a task processing method based on the necessary resources;
A task processing step for performing task processing in accordance with the processing method;
A task processing method characterized by comprising:
JP2006013800A 2006-01-23 2006-01-23 Communication node, sensor network system, and task processing method Pending JP2007193748A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006013800A JP2007193748A (en) 2006-01-23 2006-01-23 Communication node, sensor network system, and task processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006013800A JP2007193748A (en) 2006-01-23 2006-01-23 Communication node, sensor network system, and task processing method

Publications (1)

Publication Number Publication Date
JP2007193748A true JP2007193748A (en) 2007-08-02

Family

ID=38449381

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006013800A Pending JP2007193748A (en) 2006-01-23 2006-01-23 Communication node, sensor network system, and task processing method

Country Status (1)

Country Link
JP (1) JP2007193748A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017157097A (en) * 2016-03-03 2017-09-07 オムロン株式会社 Management device, management system, management method, and management program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017157097A (en) * 2016-03-03 2017-09-07 オムロン株式会社 Management device, management system, management method, and management program
WO2017150029A1 (en) * 2016-03-03 2017-09-08 オムロン株式会社 Management device, management system, management method, and management program
US11106507B2 (en) 2016-03-03 2021-08-31 Omron Corporation Management apparatus, management system, management method, and management program

Similar Documents

Publication Publication Date Title
KR101782225B1 (en) System and Method for Controlling Internet of Things
JP6370547B2 (en) Wide area management system, wide area management apparatus, building management apparatus, wide area management method, sensor information transmission method, data acquisition method, and program
JP2007334716A (en) Operation management system, monitoring device, device to be monitored, operation management method, and program
JP2018174448A (en) Communication device, data acquisition system, data acquisition control method
JP2018005431A (en) Operation monitoring server and operation monitoring system
EP2982096B1 (en) Method, apparatus and system for matching devices
JP2019128755A (en) Information processing apparatus, state monitoring system, and program
JP2017182221A (en) Automatic load distribution information processing system
JP2007193748A (en) Communication node, sensor network system, and task processing method
KR102209292B1 (en) Method and apparatus for providing data in multimedia system
JP6294741B2 (en) Control system, relay device, and control method
JP6200734B2 (en) Communication control device
JP6319084B2 (en) Load control server, information processing system, and load control method
JP5343863B2 (en) Monitoring manager, general manager and node monitoring system
JP2006262206A (en) Network system and terminal device
JP7167714B2 (en) Abnormality determination device, abnormality determination method, and abnormality determination program
JP5521560B2 (en) Context information communication system, context information processing apparatus, program, and method
JP2009258875A (en) Distributed processing device, method, and program
JP2008051599A (en) Communication control method and radar system using it
JP6742739B2 (en) Control device, control method, and program
JP6350602B2 (en) Communication network determination apparatus, communication network determination method, and communication network determination program
JP7286311B2 (en) Fire detection device, fire detection method, and program
JP2008301159A (en) Inter-network mediating device
JP2018164179A (en) Image forming device, information processing system, and program
KR102418668B1 (en) Electronic apparatus, system for internet of things environment and control method thereof