Path selection apparatus, path selection method and program
11510128 · 2022-11-22
Assignee
Inventors
Cpc classification
H04W88/04
ELECTRICITY
H04W40/22
ELECTRICITY
Y02D30/70
GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
H04W40/02
ELECTRICITY
International classification
H04W40/02
ELECTRICITY
H04W88/04
ELECTRICITY
Abstract
A path selection apparatus in a sensor tree includes a node moving unit that selects a first node in the sensor tree, and moves a second node to under a third node in the sensor tree if the total number of packets transmitted and received in the sensor tree is reduced as a result of the second node being moved to under the third node, the first node having a child node under the first node, the second node being located under a subtree of which a vertex is the first node, the third node not belonging to the subtree. If nodes under the subtree of which the vertex is the first node do not include anode that reduces the total number of packets as a result of being moved, the node moving unit moves a node that is included in the nodes under the subtree and does not change the total number of packets, to under the third node.
Claims
1. A path selection apparatus for selecting a path along which sensor reports stored in packets are transmitted from lower nodes to upper nodes in a sensor tree that is constituted by a plurality of nodes including a plurality of sensor nodes, the path selection apparatus comprising: a processor; a memory device storing a program that causes the processor to select a first node in the sensor tree, move a second node to under a third node in the sensor tree if a total number of packets transmitted and received in the sensor tree is reduced as a result of the second node being moved to under the third node, the first node having a child node under the first node, the second node being located under a subtree of which a vertex is the first node, the third node not belonging to the subtree, and if nodes under the subtree of which the vertex is the first node do not include a node that reduces the total number of packets as a result of being moved, determine whether the nodes under the subtree includes a node that meets a condition, said condition including moving the node does not change the total number of packets, and move the node to under the third node upon determining that the node meets the condition.
2. The path selection apparatus according to claim 1, wherein the processor determines a change in the total number of packets as a result of movement of a node, with respect to each node under the subtree of which the vertex is the first node, and moves a node that most reduces the total number of packets.
3. The path selection apparatus according to claim 1, wherein if nodes are repeatedly moved in the sensor tree, the processor sets an upper limit of the number of times each node is selected as a vertex node of a subtree.
4. The path selection apparatus according to claim 3, wherein if nodes are repeatedly moved in the sensor tree, the processor sets an upper limit of the number of times each node is moved and an upper limit of the number of times a node that does not change the total number of packets is moved.
5. The path selection apparatus according to claim 1, wherein if nodes are repeatedly moved in the sensor tree, the processor sets an upper limit of the number of times each node is moved.
6. The path selection apparatus according to claim 1, wherein if nodes are repeatedly moved in the sensor tree, the processor sets an upper limit of the number of times a node that does not change the total number of packets is moved.
7. A non-transitory computer-readable recording medium storing a program for causing a computer to function as the path selection apparatus according to claim 1.
8. The path selection apparatus according to claim 1, wherein the processor examines all of the nodes under the subtree of which the vertex is the first node and determines whether any one of the nodes under the subtree reduces the total number of packets as a result of being moved before determining whether the nodes under the subtree includes the node that meets the condition.
9. A path selection method performed in a path selection apparatus for selecting a path along which sensor reports stored in packets are transmitted from lower nodes to upper nodes in a sensor tree that is constituted by a plurality of nodes including a plurality of sensor nodes, the path selection method comprising: selecting a first node in the sensor tree; moving a second node to under a third node in the sensor tree if a total number of packets transmitted and received in the sensor tree is reduced as a result of the second node being moved to under the third node, the first node having a child node under the first node, the second node being located under a subtree of which a vertex is the first node, the third node not belonging to the subtree; and if nodes under the subtree of which the vertex is the first node do not include a node that reduces the total number of packets as a result of being moved, determining whether the nodes under the subtree includes a node that meets a condition, said condition including moving the node does not change the total number of packets, and moving the node to under the third node upon determining that the node meets the condition.
Description
BRIEF DESCRIPTION OF DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
(15)
(16)
DESCRIPTION OF EMBODIMENTS
(17) The following describes an embodiment of the present invention based on Figures.
(18) In the present embodiment, a manner of use of a network is assumed in which data collection cycles are repeated in a sensor tree that is constituted by a plurality of nodes (sensor nodes/relay nodes) by transmitting sensor reports stored in packets from lower nodes to upper nodes. The present embodiment can be applied to both a WSN that does not include relay nodes and a WSN that includes relay nodes.
(19) As can be understood from the example shown in
(20) As shown in
(21) The node information acquisition unit 110 acquires information regarding nodes that are adjacent to the root node, and acquires information regarding nodes that are adjacent to those nodes. Acquisition of information regarding nodes is repeated in a similar manner, and as a result, adjacency relationships between all nodes that belong to a WSN to which the root node belongs can be acquired.
(22) The WSN recognition unit 131 in the route determination unit 130 can recognize the configuration of the WSN based on the adjacency relationships between the nodes, and as a result, stores the configuration of the WSN in the WSN storing unit 140.
(23) The initial tree creation unit 132 creates an initial tree. In order to create the initial tree, it is possible to consider using a shortest path tree in the MECAT problem and the (3, 2)—LAST algorithm in the MECAT-RN problem, for example. The thus created initial tree is stored in the tree storing unit 150.
(24) The sensor report number calculation unit 133 sets the number d(i) of sensor reports for each node i on the initial tree, and determines the total number d(below_i) of sensor reports from lower nodes that the node i transfers.
(25) The node moving unit 134 repeatedly moves nodes on the sensor tree so that the total number of packets transmitted and received on the sensor tree will be finally reduced. The node moving unit 134 stores a tree that is obtained by moving nodes, in the tree storing unit 150.
(26) The configuration of a finally created tree is reflected to a tree on the actual WSN as a result of the routing requesting unit 120 performing setting of routing with respect to each node.
(27) Next, a flowchart shown in
(28) STEP 101 is initially a step in which the initial tree creation unit 132 creates an initial tree. The initial tree is created using an existing method, such as the shortest path tree in the MECAT problem or the (3, 2)—LAST in the MECAT-RN. Thereafter, if it is determined to move one node from a subtree to another subtree in STEP 104 and STEP 105, which will be described below, STEP 101 is a step in which the node moving unit 134 creates a tree that is obtained by moving the node. With respect to each node i on the initial tree, the sensor report number calculation unit 133 sets the number d(i) of reports created by the node i and the total number d(below_i) of sensor reports from lower nodes that the node i transfers. Also, if there is a change in the total number d (below_i) of sensor reports from lower nodes that the node i transfers in a tree obtained by moving a node, the sensor report number calculation unit again sets d(below_i).
(29) The following STEP 102 to STEP 105 are steps that are executed by the node moving unit 134.
(30) In STEP 102, a vertex node of a movement target subtree is determined in the tree created in STEP 101. Conditions for the determination are that the vertex node is not a leaf node on the tree and has at least one child node. Also, a node that has not yet been selected in a loop between STEP 102 and STEP 105 after an interim tree has been created in STEP 101 is selected. However, if the number of times a node has already been selected as a vertex node of a subtree has reached the maximum number of times the node can be selected as a vertex node of a subtree, the node will not be selected as a vertex node of a subtree more than the maximum number of times.
(31) In STEP 103, whether or not a vertex node of a subtree can be selected in STEP 102 is determined. If a vertex node cannot be selected (No), a tree that has been created by that point in time is taken to be a final output tree, and the processing ends. If a vertex node of a subtree can be selected, the routine proceeds to processing in STEP 4.
(32) In STEP 104, it is determined whether or not nodes (except the vertex node) under the vertex node of the subtree include a node that reduces the total number of packets transmitted and received on the tree, as a result of the node being moved. A condition for the determination is that a parent node of the destination of the movement does not belong to the subtree. Here, a node that most reduces the number of packets as a result of being moved is moved to under a node other than the subtree, to increase an effect of reducing the energy consumption. However, if examination of all nodes under the subtree revealed that the number of packets cannot be reduced by moving any of the nodes under the subtree, a node that does not change the number of packets even if the node is moved is moved. However, a node that has already been moved the maximum number of times will not be moved.
(33) If it is determined in STEP 104 that there is a node that can be moved (Yes), the routine proceeds from STEP 105 to processing in STEP 101, and the node is moved to under a movement destination node to create a post-movement tree. If it is determined that there is no node that can be moved under the subtree (No), the routine proceeds to STEP 102 and a vertex node of another subtree is searched for.
(34) Note that the upper limit of the number of times of movement referred to in STEP 104 may be the upper limit of the number of times of movement for a node that does not change the total number of packets even if the node is moved. Either of the upper limit of the number of times of movement referred to in STEP 104 and the upper limit of the number of times each node can be selected as a vertex node of a subtree, which is referred to in STEP 102, is necessary in the present embodiment. This is because unless either of these restrictions is imposed, movement of a node that does not change the total number of packets may be looped (movement of the node between two parent nodes may be infinitely repeated), and in such a case, the flowchart shown in
(35) <Example of Application to MECAT Problem>
(36)
(37) On the shortest path tree of this example shown in (1) in
(38) If N11 is selected as a vertex of a subtree, moving N21 to under N31 is considered in STEP 104 in
(39) If N12 or N22 is selected as a vertex of a subtree, N31 and N32 under these nodes are considered as targets of movement. This is because N31 has an adjacency relationship with N21 and N32 has an adjacency relationship with N23. Although the number of packets does not change as a result of either of N31 and N32 being moved, it is determined that N31 and N32 can be moved, in STEP 104 in
(40) Here, a vertex node of a subtree in the post-movement tree shown in (2) in
(41) The tree shown in (3) in
(42) <Example of Application to MECAT-RN Problem>
(43)
(44) (1) in
(45) In the tree shown in (2) in
(46) In (2) in
(47) The tree shown in (3) in
(48) <Effects of Embodiment of the Invention>
(49) As described above, according to the present embodiment, even in cases such as those described with reference to
(50) For example, in
(51)
(52) Thousand sensor nodes were randomly arranged on a 400 m×400 m plane in a computer simulation environment, while setting the shortest distance between two different sensors to 10 m, and then adjacency relationships were created between sensor nodes located within a transmission distance of sensor signals, which was 25 m. As a result, adjacency relationships with an average of about 11.3 nodes were created per sensor node. Results obtained by creating a shortest path tree (initial tree) through breath first search and then applying the present embodiment to the initial tree in this environment are shown.
(53) Evaluation was performed under conditions where uniform random numbers from 1 to 5 were set as the numbers of sensor reports of respective sensors.
(54)
(55) On the other hand, in the proposed method, even if the number of packets is not reduced as a result of a node being moved once, the node is moved up to the upper limit of the number of times of movement, and therefore nodes are moved many times until the flow shown in
(56) Usually, a tree need not be created in real time and the frequency of creation of trees is not high, and therefore the overhead of about 5 seconds will not be a big problem.
(57) <Example of Hardware Configuration>
(58)
(59) <Supplementary Notes>
(60) The path selection apparatus according to an embodiment of the present invention is described using a functional block diagram for the sake of convenience of description, but the path selection apparatus according to an embodiment of the present invention may also be realized by hardware, software, or a combination of hardware and software. For example, an embodiment of the present invention may also be realized by a program that causes a computer to realize functions of the path selection apparatus according to an embodiment of the present invention, a program that causes a computer to execute each step of a method according to an embodiment of the present invention, and the like. Also, functional units may also be used in combination as necessary. Also, a method according to an embodiment of the present invention may also be performed in order differing from that described in the embodiment.
(61) Although a method for reducing the energy consumption of nodes on a sensor tree has been described, the present invention is not limited to the above-described embodiment, and various changes and applications can be made within the scope of the claims.
REFERENCE SIGNS LIST
(62) 100 Path selection apparatus 110 Node information acquisition unit 120 Routing requesting unit 130 Route determination unit 131 WSN recognition unit 132 Initial tree creation unit 133 Sensor report number calculation unit 134 Node moving unit 140 WSN Storing unit 150 Tree storing unit 201 CPU 202 Memory device 203 Storage device 204 Input/output interface device