CN101610505B - System for realizing routing of full IP mobile wireless sensor network of next generation - Google Patents

System for realizing routing of full IP mobile wireless sensor network of next generation Download PDF

Info

Publication number
CN101610505B
CN101610505B CN2009100318418A CN200910031841A CN101610505B CN 101610505 B CN101610505 B CN 101610505B CN 2009100318418 A CN2009100318418 A CN 2009100318418A CN 200910031841 A CN200910031841 A CN 200910031841A CN 101610505 B CN101610505 B CN 101610505B
Authority
CN
China
Prior art keywords
node
bunch
address
interior nodes
tree
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN2009100318418A
Other languages
Chinese (zh)
Other versions
CN101610505A (en
Inventor
王晓喃
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jiangsu Trigiant Sensing Technology Co ltd
Original Assignee
Changshu Institute of Technology
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 Changshu Institute of Technology filed Critical Changshu Institute of Technology
Priority to CN2009100318418A priority Critical patent/CN101610505B/en
Publication of CN101610505A publication Critical patent/CN101610505A/en
Application granted granted Critical
Publication of CN101610505B publication Critical patent/CN101610505B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a system for realizing the routing of a full IP mobile wireless sensor network of a next generation, comprising three classes of nodes including a gateway node, a cluster head node and cluster interior nodes, wherein the gateway node and the cluster head node are full function nodes, the topology structures of the gateway node and the cluster head node are dendritic structures, the dendritic structures form a routing system of the wireless sensor network, the cluster interior nodes are partial function nodes and are mainly used for data collection and data processing, and the gateway node is a fixed node and is connected with the wireless network and an IPv6 network. The wireless sensor network comprises a plurality of clusters, wherein each cluster comprises one cluster head node and a plurality of cluster interior nodes, the cluster interior nodes are in the one-jump range of the cluster head node, the topology structure is in a star shape, the clusters are the movable units of the full IP wireless sensor network of the next generation, but the node relationship of the cluster head node and the cluster interior nodes in the clusters is not changed. The cluster interior nodes directly transmit the collected data to the cluster head node, and the cluster head node realizes the routing of the data by the dendritic structure.

Description

The realization system of full IP mobile wireless sensor network of next generation route
Technical field
The present invention relates to a kind of realization system of network route, the realization system of in particular a kind of full IP mobile wireless sensor network of next generation (hereinafter to be referred as wireless sensor network) route promptly realizes the realization system of the mobile wireless sensor network route that all-IP is communicated by letter interconnected with the IPv6 network.
Background technology
Along with continuous maturation and the development of Next Generation Internet (IPv6 Internet), wireless sensor network and Next Generation Internet are realized the all-IP interconnected inexorable trend that has become future development of communicating by letter.The all-IP mutual contact mode has following advantage:
(1) IPv6 is the consensus standard of Next Generation Internet, and the realization of wireless sensor network employing IPv6 agreement is communicated by letter with the all-IP of Next Generation Internet and helped to promote the standardization of network communication of wireless sensor agreement;
(2) many technical characterstics of IPv6 (as the address dispose automatically, mobility support, fail safe etc.) provide good support to the self-organizing management of massive wireless sensor;
(3) networking mode of the Internet can fully be used for reference for wireless sensor network, makes it become a kind of reasonable expansion of wireless sensor network.
But realize communicating by letter interconnected key technology with the all-IP of Next Generation Internet by wireless sensor network at present is that all right ripe, main performance in the following areas:
(1) address disposes automatically: address configuration automatically is the important technology characteristic of IPv6, can be the corresponding IPv6 of each interface configuration address under unmanned situation of intervening.The design object of this point and wireless sensor network self-organizing, self-configuring is very identical.But, also there are some problems in existing IPv6 address auto configuration mode in wireless sensor network, for example there is the state address configuration can bring a large amount of control messages expenses, the routing addressing between sensor node not brought any convenience, therefore need sets up a kind of new automatic configuration mechanism in IPv6 address at next generation all-IP wireless sensor network according to the stateless address configuration of MAC Address generation IPv6 address;
(2) routing plan: wireless sensor network is different with the IPv6 network, in the IPv6 network, there is data link layer to be connected between router and the ordinary node, can jump to by one and reach, and wireless sensor node has router and ordinary node dual identity, do not have data link layer to connect between the node, therefore in wireless sensor network, need to set up a kind of new routing mode and realize communicating by letter between IPv6 node and the sensor node.
(3) mobile scheme: at the movable wireless sensor network, because its IPv6 address can constantly change along with the variation of position, this can interrupt ongoing communication, therefore needs to introduce a kind of new communication mechanism to guarantee communication continuity and stability.
Summary of the invention
Goal of the invention: technical problem to be solved by this invention is at the deficiencies in the prior art, and a kind of route implementing system of full IP mobile wireless sensor network of next generation is provided.
Technical scheme: the route implementing system that the invention discloses a kind of full IP mobile wireless sensor network of next generation, in the described system, wireless sensor network is the interconnected wireless sensor network of communicating by letter with IPv6 network realization all-IP, it exists as the terminal network of Internet of future generation, each sensor node in the wireless sensor network has globally unique IPv6 address.The IPv6 network node realizes that by the IPv6 address of IPv6 Internet and wireless sensor node all-IP communication each other is interconnected, sensor node can arbitrarily move, the IPv6 address of external network node by Internet and sensor node sensor node therewith communicates, and guarantees the correctness and the continuity of communicating by letter.
Divide from functional perspective, this system comprises two category nodes: node (being called the global function node) and the node (being called the partial function node) that does not have route forwarding function with route forwarding function;
Divide from system configuration, this system is provided with three category nodes: gateway node, bunch first node and bunch interior nodes; Gateway node is the global function node with a bunch first node, and their topological structure is a tree, and this tree is built into the route system of wireless sensor network; Bunch interior nodes is the partial function node, is mainly used in data acquisition and data processing; Gateway node is used to connect wireless sensor network and IPv6 network;
Wireless sensor network is formed by a plurality of bunches, and each bunch comprises a bunch of first node and a plurality of bunches of interior nodes, and bunch interior nodes is in a jumping scope of bunch first node, and topological structure is a star;
The gateway node of this system is a stationary nodes;
The mobile unit of this system is bunch, promptly bunch can arbitrarily move as a unit, and bunch in bunch first node stable with the relation of bunch interior nodes, promptly its corresponding relation does not change.
In the system of the present invention, described wireless sensor network is realized communicating by letter interconnected with IPv6 network all-IP by the individual gateway node of n (n 〉=1); When n 〉=2, carry out multi-casting communication by the IPv6 network between the gateway node.
In the system of the present invention, whole wireless sensor network is divided into the individual tree of n (n 〉=1) by the individual gateway node of n (n 〉=1), having and have only a gateway node and gateway node in each tree is the root node of tree, each gateway node has an ID, it uniquely the marked net artis be the tree of root node with this gateway node.
In the system of the present invention, bunch first node realizes that by the tree that adds the own nearest gateway node place of distance (distance metric unit is a jumping figure) the IPv6 address disposes automatically, notes the father node of place tree simultaneously.After obtaining the IPv6 address, the partial function node that bunch first node and one are jumped in the scope is that bunch interior nodes is built into one bunch jointly.Bunch interior nodes directly is sent to data a bunch first node, and bunch first node is realized route to data by the tree at place.
In the system of the present invention, the IPv6 address of gateway node, bunch first node and bunch interior nodes is made up of two parts, and first is overall route prefix, and the overall route prefix of the IPv6 address of all the sensors node is all identical in sensor network; Second portion is a sensor node ID, be divided into gateway node ID, bunch first ID and three parts of bunch interior nodes ID again, wherein to identify uniquely with this gateway node be the tree of root node to gateway node ID, and the first node of all bunches is all identical with bunch gateway node ID of interior nodes IPv6 address in the tree; Bunch first ID identifies one bunch uniquely, and bunch first ID of all bunches interior nodes in bunch is identical; Bunch interior nodes ID identifies a bunch of interior nodes uniquely.Gateway node is 0 with bunch interior nodes ID of bunch first node IP v6 address.Gateway node ID, bunch first ID and bunch interior nodes ID number are made up of the sensor node primary ID, and in a wireless sensor network, the primary ID of sensor node number has uniqueness.
In the system of the present invention, adopt link layer to carry out route, link layer address is set to the sensor node ID of sensor node IPv6 address.Node in the tree (comprising gateway node and bunch first node) is preserved an interim route table items, and route table items comprises three territories, destination node territory, next jumping territory and life span territory.The sensor node ID of destination node territory record destination node, next jumps the sensor node ID that the territory record arrives next jumping of destination node, the life span of this interim route table items is write down in the life span territory, this time decays automatically according to machine clock, when life span is 0, bunch first node is deleted this list item from route table items, the set point of life span is determined according to the memory space of sensor node and the quantity of sensor node.Because the huge and resource-constrained of sensor node number, and bunch frequently move the frequent variations that can cause route, so this system adopts the strategy of route as required, the life span of route table items only is used for routing operations one time.
In the system of the present invention, gateway node is preserved two record sheets, a record sheet is used for being recorded in bunch first nodal information that obtains home address in this tree, comprises the gateway node address of home address, Care-of Address place tree and the distance parameter value that home address arrives gateway node; Another record sheet is used for being recorded in bunch first nodal information that this tree obtains Care-of Address, comprises that the home address of bunch first node, the Care-of Address that obtains in this tree and Care-of Address arrive the distance parameter value of gateway node.
In the system of the present invention, when bunch first node obtains home address or because other reasons after (for example the father node position is moved or lost efficacy or the moving etc. of self-position) comes back in the tree that obtains home address at first, its can carry out home address registration operation to the gateway node of place tree.If bunch first node is owing to self move and come back to the tree that obtains home address, gateway node also will be nullified operation to the gateway node that bunch first node obtains Care-of Address place tree at last so.If a bunch first node obtains new Care-of Address, it can carry out the Care-of Address registration to the gateway node of current place tree so.
In the system of the present invention, gateway node is set up the routed path that arrives purpose bunch interior nodes by routing inquiry message, after a bunch first node in routing inquiry message coverage is received this message, bunch first node judges that by the source address of checking routing inquiry message whether this routing inquiry message sent by the father node of bunch first node, if not, then abandon this message, otherwise bunch first node continues to judge oneself whether to equal the distance value of purpose bunch first node current address distance webs artis apart from the distance value of the gateway node of current place tree, if greater than, then abandon this message, if less than, then continue this message of broadcasting, if equal, bunch first node continues to judge whether the gateway node ID of its home address is identical with bunch first ID with the gateway node ID of purpose bunch interior nodes address with bunch first ID, if it is inequality, then abandon this message, if it is identical, bunch first node then bunch in bunch interior nodes ID of broadcasting bunch interior nodes, if it is identical with bunch interior nodes ID of bunch interior nodes that bunch interior nodes detects bunch interior nodes ID of oneself, illustrate that promptly this member is bunch interior nodes, this bunch interior nodes is returned a route response message to gateway node G clean culture so.The return path of bunch route response message that interior nodes is returned is: bunch interior nodes at first sends to route response message bunch first node at its place bunch, bunch first node receives after this message, this message is sent to bunch father node F of first node place bunch tree, the father node F of bunch first node at first checks the route table items that whether has had bunch interior nodes in the interim route table items, be the sensor node ID of destination node ID for bunch interior nodes, next-hop node is the sensor node ID of bunch first node, if exist, then reset life span, if there is no, then set up an interim route table items, destination node ID is the sensor node ID of bunch interior nodes, next-hop node ID is the sensor node ID of bunch first node, and life span is set, continue this message is sent the father node F ' of the father node F of bunch first node then, after the father node F ' of the father node F of bunch first node receives this message, repeat aforesaid operations (next-hop node ID is the sensor node ID of F), the final route response message arrives gateway node, so far, the routed path of gateway node arrival purpose bunch interior nodes is set up and is finished.Bunch tree is made up of a bunch first node among the present invention, bunch is made up of a bunch head and a bunch interior nodes.
In the system of the present invention, bunch operating state that first node is regularly inquired about father node, if bunch first node does not receive the response message of father node at the appointed time, it can think that father node is in abnormal operating state and (exhausts or be less than certain threshold value as electric weight so, perhaps be moved each other and cause to communicate by letter etc.), bunch first node can be set to 0 by its Care-of Address, and add a tree again and obtain the IPv6 address, if the IPv6 address that newly obtains is a home address, the overall route prefix and the gateway node ID that are original home address are identical with the overall route prefix and the gateway node ID of the IPv6 address that newly obtains, a bunch first node carries out home address registration operation so, otherwise the IPv6 address that bunch first node will newly obtain is as Care-of Address and carry out Care-of Address registration operation.
Beneficial effect: the realization system that the invention provides the full IP mobile wireless sensor network of next generation route, in described system, wireless sensor network is the interconnected wireless sensor network of communicating by letter with IPv6 network realization all-IP, it exists as the terminal network of Internet of future generation, each sensor node in the wireless sensor network has globally unique IPv6 address, the IPv6 network node realizes that by the IPv6 address of IPv6 Internet and wireless sensor node all-IP communication each other is interconnected, sensor node can arbitrarily move, the IPv6 address of external network node by Internet and sensor node sensor node therewith communicates, and guarantees the correctness and the continuity of communicating by letter.
Description of drawings
Below in conjunction with the drawings and specific embodiments the present invention is done further to specify, above-mentioned and/or otherwise advantage of the present invention will become apparent.
Fig. 1 is the removable sensor node network topological structure of a next-generation full-IP of the present invention schematic diagram.
Fig. 2 is the removable sensor node IPv6 of a next-generation full-IP of the present invention address schematic diagram.
Fig. 3 is the schematic flow sheet that gateway node of the present invention and bunch first node form tree.
Fig. 4 obtains the schematic flow sheet of IPv6 address for of the present invention bunch of interior nodes.
Fig. 5 is an of the present invention bunch of first node register flow path schematic diagram.
Fig. 6 is a route table items form schematic diagram of the present invention.
Fig. 7 a and Fig. 7 b are the removable sensor node route of next-generation full-IP of the present invention schematic flow sheet.
Fig. 8 moves the testing process schematic diagram for the removable sensor network of next-generation full-IP of the present invention.
Embodiment:
The invention provides the realization system of full IP mobile wireless sensor network of next generation route, in described system, wireless sensor network is the interconnected wireless sensor network of communicating by letter with IPv6 network realization all-IP, it exists as the terminal network of Internet of future generation, each sensor node in the wireless sensor network has globally unique IPv6 address, the IPv6 network node realizes that by the IPv6 address of IPv6 Internet and wireless sensor node all-IP communication each other is interconnected, sensor node can arbitrarily move, the IPv6 address of external network node by Internet and sensor node sensor node therewith communicates, and guarantees the correctness and the continuity of communicating by letter.
Shown in Figure 1 is the removable sensor node network topological structure of next-generation full-IP schematic diagram, divide from functional perspective, the present invention comprises two category nodes: node (being called the global function node) and the node (being called the partial function node) that does not have route forwarding function with route forwarding function.Divide from system configuration, the present invention is provided with three category nodes: gateway node 1, bunch first node 2 and bunch interior nodes node 3, wherein, gateway node 1 is the global function node with a bunch first node 2, and their topological structure is a tree, and this tree is built into the route system of wireless sensor network, bunch interior nodes 2 nodes are the partial function node, be mainly used in data acquisition and data processing, gateway node 1 is a stationary nodes, connects wireless network and IPv6 network.Wireless sensor network is formed by a plurality of bunches, each bunch comprises a bunch of first node 1 and a plurality of bunches of interior nodes 2, bunch interior nodes is in a jumping scope of bunch first node, topological structure is a star, bunch be the mobile unit of next generation all-IP wireless sensor network, promptly bunch can arbitrarily move as a unit, but bunch in bunch first node do not change with a bunch interior nodes node relationships.Bunch interior nodes directly is sent to a bunch first node with the data of gathering, and bunch first node is realized route to data by the tree at place.
Shown in Figure 2 is the removable sensor node IPv6 of next-generation full-IP address schematic diagram, the IPv6 address of gateway node, bunch first node and bunch interior nodes is made up of two parts, first is the overall route prefix of 80 bits, and the overall route prefix of the IPv6 address of all the sensors node is all identical in next generation all-IP wireless sensor network; Second portion is the sensor node ID of 48 bits, it is divided into the gateway node ID of 16 bits, bunch first ID of 16 bits and three parts of bunch interior nodes ID of 16 bits again, wherein to identify uniquely with this gateway node be the tree of root node to gateway node ID, and the gateway node ID of the first node of all bunches (comprising a bunch interior nodes) is identical in tree; Bunch first ID identifies one bunch uniquely, and bunch first ID of all bunches interior nodes node of one bunch is identical; Bunch interior nodes ID identifies a bunch of interior nodes uniquely.Bunch interior nodes ID of the sensor node ID in gateway node and bunch first node IP v6 address is 0.Gateway node ID, bunch first ID and bunch interior nodes ID number are made up of the sensor node primary ID, and in a wireless sensor network, the primary ID of sensor node number has uniqueness.
Shown in Figure 3 is the schematic flow sheet that gateway node and bunch first node form tree, a gateway node and a bunch first node are preserved a record, and it arrives distance (parasang the is a jumping figure) parameter of gateway node in the tree of place, the distance parameter value of gateway node is 0, in addition, because cocooning tool has mobility, therefore a bunch first node also needs to write down home address and Care-of Address, and under the initial condition, the value of home address and Care-of Address is 0.The flow process that bunch first node adds tree and obtains the IPv6 address is described below:
Step 301: bunch first node H broadcasting adds the message of tree, sets a clock simultaneously;
Step 302: after the neighbours' bunch first node in the information broadcast coverage is received message, return a response message to a bunch first node H, the content of message is the distance value of bunch first node of the neighbours gateway node that arrives the place tree and current IPv6 address value;
Step 303: after clock expires, bunch first node that bunch first node H selects to return response message middle distance parameter value minimum is as father node F and note the current sensor node ID of father node F and bunch first node H arrives the distance value of place tree gateway node, the distance value that is father node F adds 1, from the IPv6 address of father node F, extract overall route prefix simultaneously and gateway node ID combines with the primary ID of self, form the IPv6 address;
Step 304: bunch first node H judge the IPv6 address that obtains whether be home address (promptly judge original home address whether be 0 or original home address be not 0 but the gateway node ID of the IPv6 address that newly obtains is identical with the gateway node ID of original home address), if home address forwards step 306 to;
Step 305: bunch first node H carries out the Care-of Address registration to the gateway node of place tree to the IPv6 address that newly obtains, and forwards step 307 to;
Step 306: bunch first node H carries out the home address registration to the gateway node of place tree to the IPv6 address that newly obtains;
Step 307: a bunch first node H successfully adds tree, and has obtained the IPv6 address, and process finishes.
Shown in Figure 4 is the schematic flow sheet that bunch interior nodes is obtained the IPv6 address, and it is as follows that the partial function sensor node obtains the process prescription of bunch interior nodes identity and IPv6 address:
Step 401: after a bunch first node H obtained the IPv6 home address, the home address of its meeting periodic broadcasting oneself was to show existing of oneself;
Step 402: judge whether oneself is the global function node after the sensor node in the information broadcast coverage is received message, if global function node (being the global function sensor node) carry out step 404; If not the global function node, be partial function node (being the partial function sensor node), carry out step 403;
(I have added some descriptions in epimere, whether would you please see suitable! )
Step 403: if the partial function node has been designated a bunch interior nodes, carry out step 404 so, otherwise carry out step 405;
Step 404: abandon this message, forward step 407 to;
Step 405: the partial function node will oneself be labeled as bunch interior nodes and note the IPv6 address, local of bunch first node H, the overall route prefix, gateway node ID and bunch first ID that extract the home address of bunch first node H combine with the primary ID of self, obtain the IPv6 address of sensor node;
Step 406: so far, the partial function node has obtained the IPv6 address and has added bunch;
Step 407: process finishes.
Shown in Figure 5 is a bunch first node register flow path schematic diagram, gateway node is preserved two record sheets, a record sheet is used for being recorded in bunch first nodal information that obtains home address in this tree, and every record comprises the gateway node address of home address, Care-of Address place tree and the distance parameter value that home address arrives gateway node; Another record sheet is used for being recorded in bunch first nodal information that this tree obtains Care-of Address, and every record comprises that the home address of bunch first node, the Care-of Address that obtains and Care-of Address arrive the distance parameter value of gateway node in this tree.The process of carrying out new address registration to place tree gateway node when bunch first node obtains new IPv6 address is:
Step 501: a bunch first node H has obtained new IPv6 address;
Step 502: a bunch first node H judges whether the IPv6 address that newly obtains is home address, if not home address, carry out step 503, otherwise carry out step 511;
Step 503: bunch first node H sends the Care-of Address registration message to place tree gateway node G ', the Care-of Address that message comprises bunch home address of first node H, newly obtain with and the distance value of distance webs artis G ';
Step 504: after gateway node G ' receives the Care-of Address registration message, check whether be recorded in a bunch first nodes records table that obtains Care-of Address in this tree exists bunch record of first node H,, carry out step 506, otherwise carry out step 505 if exist;
Step 505: gateway node G ' increases a record, the Care-of Address that recorded information comprises bunch home address of first node H, newly obtain with and the distance value of distance webs artis, while is transmitted this registration message to the gateway node G that bunch first node H obtains the tree of home address, forwards step 507 to;
Step 506: gateway node G ' forwards step 518 to the relative recording of the renewal of the distance value in the message bunch first node H;
Step 507: the gateway node G that bunch first node H obtains the tree of home address checks and is recorded in the record that this tree obtains bunch first node H correspondence in bunch first nodes records table of home address, whether the gateway node IPv6 address field of judging Care-of Address place tree is 0, if be 0, forward step 510 to, otherwise carry out step 508;
Step 508: bunch first node H obtains gateway node G gateway node G of Care-of Address place tree in record of the tree of home address " send a logout message, this message comprises bunch home address of first node H;
Step 509: the gateway node G that delivers address field place tree in the record " receive logout message after, it obtains the record of bunch first node H bunch first nodes records table of Care-of Address and deletes from being recorded in this tree;
Step 510: the gateway node G that bunch first node H obtains the tree of home address obtain with bunch first node H current Care-of Address tree gateway node G ' the IPv6 address more the new record transfer hand over the value of the gateway node address field of place, address tree, the value of home address distance webs artis is set to 0 simultaneously, forwards step 518 to;
Step 511: bunch first node H sends the home address registration message to the gateway node G of place tree, message comprise bunch home address that first node H newly obtains with and the distance value of distance webs artis;
Step 512: after gateway node G receives registration message, check whether be recorded in a bunch first nodes records table that obtains home address in this tree exists bunch record of first node H,, carry out step 513, otherwise carry out step 514 if exist;
Step 513: gateway node G forwards step 515 to the record of the renewal of the distance value in the message bunch first node H;
Step 514: gateway node G increases a record and notes bunch home address of first node H and distance parameter value thereof, and the gateway node address field of Care-of Address place tree is set to 0, forwards step 518 to;
Step 515: whether the gateway node IPv6 address field that gateway node G detects Care-of Address place tree in this record is 0, if be not 0, forwards step 516 to, otherwise forwards step 518 to;
Step 516: the gateway node G ' of gateway node G Care-of Address place tree in record sends a logout message, and message comprises bunch home address of first node H, and this address field is set to 0 simultaneously;
Step 517: after the gateway node G ' of Care-of Address place tree receives logout message in the record, obtain the record of deletion bunch first node H bunch first nodes records table of Care-of Address from being recorded in this tree;
Step 518: registration process finishes.
Shown in Figure 6 is route table items form schematic diagram, and the present invention adopts link layer to carry out route, and link layer address is set to the sensor node ID of sensor node IPv6 address.Node in the tree (comprising gateway node and bunch first node) is preserved an interim route table items, route table items comprises three territories, the destination node territory, next jumps territory and life span territory, wherein, the sensor node ID of destination node territory record destination node, next jumps the sensor node ID that the territory record arrives next jumping of destination node, the life span of this interim route table items is write down in the life span territory, this time decays automatically according to machine clock, when life span is 0, bunch first node is deleted this list item from route table items, the set point of life span is determined according to the memory space of sensor node and the quantity of sensor node.Because the huge and resource-constrained of sensor node number, and bunch frequently move the frequent variations that can cause route, so the present invention adopts the strategy of route as required, the life span of route table items only is used for routing operations one time.
Shown in Fig. 7 a and Fig. 7 b is the removable sensor node route of next-generation full-IP schematic flow sheet, and the IPv6 network node obtains bunch flow process of interior nodes X image data and is described below:
Step 701:IPv6 network node N sends one and obtains bunch requests of packets of data of interior nodes X image data, and the destination address of this message is Addr;
Step 702: this packet is route in the IPv6 network, arrive and bunch gateway node that interior nodes X place wireless sensor network is connected at last, it judges that by the gateway node ID that checks Addr bunch interior nodes X is whether in this tree, if do not exist, carry out multicast so, this request data package can arrive the gateway node G of bunch interior nodes bunch interior nodes X place tree at last;
Step 703: gateway node G checks the record of bunch first node H correspondence that is recorded in bunch interior nodes X place in bunch first nodes records table that obtains home address in this tree bunch, whether the gateway node G ' that judges Care-of Address place tree in the record is 0, if be 0, forward step 704 to, otherwise carry out step 705;
Step 704: gateway node G inquires about the routed path that arrives bunch interior nodes X with the IPv6 address of bunch interior nodes X with the distance parameter structure routing inquiry message of the home address of bunch interior nodes X place bunch bunch first node H, and on tree, broadcast this message, forward step 707 to;
Step 705: gateway node G is forwarded to gateway node G ' with tunnel header (source address is the IPv6 address of gateway node G, and destination address is the IPv6 address of gateway node G ') packing service request data package and with it;
Step 706: gateway node G ' receives after the service request information, make up routing inquiry message with the distance parameter of the Care-of Address distance webs artis of the IPv6 address of bunch interior nodes X and place bunch bunch first node H and inquire about the routed path that arrives bunch interior nodes X, and on tree this message of broadcasting;
Step 707: after bunch first node of the neighbours in routing inquiry information broadcast coverage is received this message, neighbours' bunch first node judges by the source address of checking routing inquiry message whether this routing inquiry message is sent by its father node, if carry out step 708, otherwise carry out step 711;
Step 708: neighbours' bunch first node judges that whether the distance value of its distance webs artis equals the distance parameter value in the message, if equal, carry out step 709, otherwise carry out step 710;
Step 709: neighbours' bunch first node judges that whether the gateway ID of its home address is identical with gateway ID and bunch first ID of bunch interior nodes X with bunch first ID, if identical, carry out step 713, otherwise carry out step 711;
Step 710: whether neighbours' bunch first node judges the distance parameter value of its distance webs artis greater than the distance parameter value in the message, if greater than, carry out step 711, otherwise carry out step 712;
Step 711: abandon this message, processing procedure finishes.
Step 712: neighbours' bunch first node continues this routing inquiry message of broadcasting then with the source address field in the own current address renewal query messages in tree, forward step 707 to;
Step 713: if bunch first node H at bunch interior nodes X place bunch obtains the gateway node G ' of the Care-of Address place tree in the record that is recorded in corresponding bunch first node H in bunch first nodes records table that obtains home address in this tree among the gateway node G of home address place tree is not 0, bunch interior nodes X returns a route response message to gateway node G ' clean culture so, otherwise returns a route response message to gateway node G clean culture.Below identical
Step 714: bunch interior nodes X at first sends to route response message bunch first node H at its place bunch, and a bunch first node H receives after this message, this message is sent to the father node of its place bunch tree;
Step 715: father node checks whether there has been bunch route table items of interior nodes X in the interim route table items, and promptly destination node ID is bunch route table items of the sensor node ID of interior nodes X, if exist, carry out step 716, otherwise carry out step 717;
Step 716: father node is reset bunch life span of interior nodes X route table items, forwards step 718 to;
Step 717: father node is set up an interim route table items, and destination node ID is bunch sensor node ID of interior nodes X, and next-hop node is the sensor node ID of bunch first node of transmission route response message;
Step 718: whether father node is gateway node G or gateway node G ', if carry out step 720, otherwise carry out step 719;
Step 719: father node continues to send to its father node with this route response message, forwards step 715 to;
Step 720: the route of gateway node G or gateway node G ' arrival bunch interior nodes X is set up and is finished, gateway node G or gateway node G ' send to purpose bunch interior nodes X according to this route with service request information, purpose bunch interior nodes X returns to gateway node G or gateway node G ' with the service response packet according to original route, by gateway node G or gateway node G ' the service response packet is sent on the IPv6 network, arrive IPv6 network node N at last;
Step 721: processing procedure finishes.
Shown in Figure 8 is that the removable sensor network of next-generation full-IP moves the testing process schematic diagram, and the process whether move bunch first node H detection position own or father node is as follows:
Step 801: bunch first node H regularly sends the operating state that query messages is checked father node to father node;
Step 802:, carry out step 803 so, otherwise carry out step 807 if bunch first node H does not receive the response message of father node at the appointed time;
Step 803: a bunch first node H thinks that father node is in abnormal operating state, and Care-of Address is set to 0, adds a tree again and obtains the IPv6 address;
Step 804:, then carry out step 805, otherwise carry out step 806 if bunch IPv6 address that first node H newly obtains is a home address;
Step 805: bunch first node H carries out home address registration operation to the gateway node of place tree, forwards step 807 to;
Step 806: bunch first node H carries out Care-of Address registration operation to the gateway node of place tree,
Step 807: process finishes.
In sum, the present invention has realized that the network of IP full wireless sensor network moves, this technology can be applied to fields such as national defence, medical treatment and agricultural, for example, at a farm (full IP mobile wireless sensor network of next generation), multiple gregarious livestock has been raised on the farm, and the mobile of them is base unit (bunch) with group.In order to check the survival condition of these livestocks, some parts function sensor node (bunch interior nodes) has been installed in order to gather relevant parameter on one's body at them, and leading livestock is installed global function sensor node (i.e. bunch head) on one's body in herd, like this, when herd carries out when mobile, extraneous raise (research) personnel still can be by Internet access sensors node to obtain the current survival condition parameter of these livestocks.
The invention provides a kind of thinking and method of realization system of full IP mobile wireless sensor network of next generation route; the method and the approach of this technical scheme of specific implementation are a lot; the above only is a preferred implementation of the present invention; should be understood that; for those skilled in the art; under the prerequisite that does not break away from the principle of the invention, can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.The all available prior art of each component part not clear and definite in the present embodiment is realized.

Claims (10)

1. the realization system of a full IP mobile wireless sensor network of next generation route, it is characterized in that, described full IP mobile wireless sensor network of next generation is the terminal network of Internet of future generation for the interconnected wireless sensor network of communicating by letter with IPv6 network realization all-IP; Each sensor node in the described wireless sensor network has unique IPv6 address, and the IPv6 network node realizes that by the IPv6 address of IPv6 Internet and wireless sensor node all-IP communication is interconnected;
Described system is provided with three category nodes: gateway node, bunch first node and bunch interior nodes; Described gateway node is the node that the global function node promptly has route forwarding function with a bunch first node, and gateway node is a tree with the topological structure of bunch first node, and the route system of described wireless sensor network is a tree; Described bunch of interior nodes is the node that the partial function node does not promptly have route forwarding function, is used for data acquisition and data processing; Wherein, gateway node is used to connect wireless sensor network and IPv6 network, and gateway node is a stationary nodes;
Described wireless sensor network is formed by a plurality of bunches, and each bunch comprises a bunch of first node and a plurality of bunches of interior nodes, and bunch interior nodes is in a jumping scope of bunch first node, and topological structure is a star;
Described bunch is removable unit, and bunch when mobile, bunch first node in bunch is stable with the relation of bunch interior nodes.
2. the realization system of full IP mobile wireless sensor network of next generation route according to claim 1 is characterized in that, described wireless sensor network is realized communicating by letter with IPv6 network all-IP interconnected by n gateway node, and n 〉=1; When n 〉=2, carry out multi-casting communication by the IPv6 network between the gateway node.
3. the realization system of full IP mobile wireless sensor network of next generation route according to claim 2, it is characterized in that, described wireless sensor network is divided into n tree by n gateway node, there is and has only a gateway node in each tree, and described gateway node is the root node of tree, each gateway node has an ID, and this ID is marked net artis and be the tree of root node with this gateway node uniquely.
4. the realization system of full IP mobile wireless sensor network of next generation route according to claim 3, it is characterized in that, bunch first node realizes that by the tree that adds the gateway node place nearest apart from the first node of this bunch the IPv6 address disposes automatically, note the father node of place tree simultaneously, the linear module of distance is a jumping figure; After obtaining the IPv6 address, bunch interior nodes that bunch first node and one are jumped in the scope is built into one bunch jointly; Bunch interior nodes directly is sent to data a bunch first node, and bunch first node is realized route to data by the tree at place.
5. the realization system of full IP mobile wireless sensor network of next generation route according to claim 4, it is characterized in that, the IPv6 address of described gateway node, bunch first node and bunch interior nodes is made up of two parts, first is overall route prefix, and the overall route prefix of the IPv6 address of all the sensors node is all identical in sensor network; Second portion is a sensor node ID, sensor node ID is divided into gateway node ID, bunch first ID and three parts of bunch interior nodes ID, wherein to identify uniquely with this gateway node be the tree of root node to gateway node ID, and the first node of all bunches is all identical with bunch gateway node ID of interior nodes IPv6 address in the tree; Bunch first ID identifies one bunch uniquely, and bunch first ID of all bunches interior nodes in bunch is identical; Bunch interior nodes ID identifies a bunch of interior nodes uniquely; Described gateway node is 0 with bunch interior nodes ID of bunch first node IP v6 address; Described gateway node ID, bunch first ID and bunch interior nodes ID number are made up of the sensor node primary ID, and in a wireless sensor network, the primary ID of sensor node is number unique.
6. the realization system of full IP mobile wireless sensor network of next generation route according to claim 4 is characterized in that, described system adopts link layer to carry out route, and link layer address is set to the sensor node ID of sensor node IPv6 address; Gateway node in the described tree is preserved an interim route table items with a bunch first node, and route table items comprises three territories: destination node territory, next jumping territory and life span territory; The sensor node ID of destination node territory record destination node; Next jumps the sensor node ID that the territory record arrives next jumping of destination node; The life span of this interim route table items is write down in the life span territory, this time decays automatically according to machine clock, when life span was 0, a bunch first node was deleted this list item from route table items, and the set point of life span is determined according to the memory space of sensor node and the quantity of sensor node; The life span of described route table items only is used for routing operations one time.
7. the realization system of full IP mobile wireless sensor network of next generation route according to claim 6, it is characterized in that, described gateway node is preserved two record sheets, a record sheet is used for being recorded in bunch first nodal information that obtains home address in this tree, comprises the gateway node address of home address, Care-of Address place tree and the distance parameter value that home address arrives gateway node; Another record sheet is used for being recorded in bunch first nodal information that this tree obtains Care-of Address, comprises that the home address of bunch first node, the Care-of Address that obtains in this tree and Care-of Address arrive the distance parameter value of gateway node.
8. the realization system of full IP mobile wireless sensor network of next generation route according to claim 7, it is characterized in that, after a bunch first node obtained home address or comes back in the tree that obtains home address at first, bunch first node carried out home address registration operation to the gateway node of place tree; If bunch first node comes back to the tree that obtains home address owing to self moving, gateway node is nullified operation to the gateway node that bunch first node obtains Care-of Address place tree at last so; If a bunch first node obtains Care-of Address, then the gateway node to current place tree carries out the Care-of Address registration.
9. according to the realization system of claim 6 or 7 described full IP mobile wireless sensor network of next generation routes, it is characterized in that, described gateway node is set up the routed path that arrives purpose bunch interior nodes by routing inquiry message, after a bunch first node in routing inquiry message coverage is received this message, bunch first node judges that by the source address of checking routing inquiry message whether this routing inquiry message sent by the father node of bunch first node, if not, then abandon this message, otherwise the magnitude relationship of the distance value of the distance value of the gateway node of bunch current place of the first own distance of node continuation judgement tree and purpose bunch first node current address distance webs artis; If the distance value of the gateway node of bunch current place of first nodal distance tree is greater than the distance value of purpose bunch first nodal distance gateway node, then abandon this message, if less than, then continue this message of broadcasting, if equal, bunch first node continues to judge whether the gateway node ID of its home address is identical with bunch first ID with the gateway node ID of purpose bunch interior nodes address with bunch first ID, if it is inequality, then abandon this message, if it is identical, bunch first node then bunch in bunch interior nodes ID of broadcasting purpose bunch interior nodes, if it is identical with bunch interior nodes ID of purpose bunch interior nodes that bunch interior nodes detects bunch interior nodes ID of oneself, be that this bunch interior nodes is a purpose bunch interior nodes, this bunch interior nodes is returned a route response message to the gateway node clean culture so; The return path of the route response message that purpose bunch interior nodes is returned is: purpose bunch interior nodes at first sends to route response message bunch first node at its place bunch, bunch first node receives after this message, this message is sent to bunch father node F of first node place bunch tree, the father node F of bunch first node at first checks the route table items that whether has had purpose bunch interior nodes in the interim route table items, be that destination node ID is the sensor node ID of purpose bunch interior nodes, next-hop node is the sensor node ID of bunch first node at purpose bunch interior nodes place bunch, if exist, then reset life span, if there is no, then set up an interim route table items, destination node ID is the sensor node ID of purpose bunch interior nodes, next-hop node ID is the sensor node ID of bunch first node at purpose bunch interior nodes place bunch, and life span is set, continue this message is sent to the father node F ' of the father node F of bunch first node then, after the father node F ' of the father node F of bunch first node receives this message, repeat aforesaid operations, be that destination node ID is the sensor node ID of purpose bunch interior nodes, next-hop node ID is the sensor node ID of the father node F of bunch first node; The final route response message arrives gateway node.
10. the realization system of full IP mobile wireless sensor network of next generation route according to claim 9, it is characterized in that, bunch operating state that first node is regularly inquired about father node, if bunch first node does not receive the response message of father node at the appointed time, judge that so father node is in abnormal operating state, bunch its Care-of Address of first node is set to 0, and add a tree again and obtain the IPv6 address, if the IPv6 address that newly obtains is a home address, the overall route prefix and the gateway node ID that are original home address are identical with the overall route prefix and the gateway node ID of the IPv6 address that newly obtains, a bunch first node carries out home address registration operation so, otherwise the IPv6 address that bunch first node will newly obtain is as Care-of Address and carry out Care-of Address registration operation.
CN2009100318418A 2009-07-15 2009-07-15 System for realizing routing of full IP mobile wireless sensor network of next generation Expired - Fee Related CN101610505B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009100318418A CN101610505B (en) 2009-07-15 2009-07-15 System for realizing routing of full IP mobile wireless sensor network of next generation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009100318418A CN101610505B (en) 2009-07-15 2009-07-15 System for realizing routing of full IP mobile wireless sensor network of next generation

Publications (2)

Publication Number Publication Date
CN101610505A CN101610505A (en) 2009-12-23
CN101610505B true CN101610505B (en) 2011-08-17

Family

ID=41484037

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009100318418A Expired - Fee Related CN101610505B (en) 2009-07-15 2009-07-15 System for realizing routing of full IP mobile wireless sensor network of next generation

Country Status (1)

Country Link
CN (1) CN101610505B (en)

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102196424B (en) * 2010-03-09 2016-05-11 江苏联优信息科技有限公司 A kind of organization mechanism of centralized large-scale wireless Sensor Network and device
CN102196529A (en) * 2010-03-19 2011-09-21 中兴通讯股份有限公司 Access method and system for wireless sensor network
CN102300206B (en) * 2010-06-22 2016-06-15 中兴通讯股份有限公司 The addressing method of Wireless Sensor Network Terminal and in conjunction with network
CN101867919B (en) * 2010-07-16 2012-11-14 常熟理工学院 IPv6 address configuration method of wireless sensor network based on geographical position
CN102035731B (en) * 2010-11-23 2012-11-28 常熟理工学院 6LoWPAN wireless sensor network routing method
CN102215541B (en) * 2011-06-07 2013-09-04 常熟理工学院 Mobile handover realization method for next-generation mobile ad hoc network
CN102404718B (en) * 2011-11-03 2014-05-28 北京交通大学 Stateless auto-configuration method for IPV6 (Internet Protocol Version 6) address of wireless sensor network
CN102833803B (en) * 2012-08-20 2015-10-28 北京交通大学 A kind of wireless sensor network structure based on IPv6 and subnet switching method inside
CN103152772B (en) * 2013-04-07 2015-03-18 常熟理工学院 Cross-layer based communication method of 6LoWPAN wireless sensor network
CN103684858B (en) * 2013-12-04 2017-10-17 华为技术有限公司 A kind of method that tenant network generation and label packet are handled, and relevant device
CN104780588B (en) * 2014-01-10 2018-09-21 中国电信股份有限公司 Method and aggregation node for controlling sensing node addition
CN103874159A (en) * 2014-03-26 2014-06-18 江苏博悦物联网技术有限公司 Wireless sensor network
CN103945437B (en) * 2014-04-11 2017-04-05 江苏中科羿链通信技术有限公司 A kind of method and system for realizing wireless chain network dynamic packet
CN107634849A (en) * 2017-08-08 2018-01-26 广东网金控股股份有限公司 A kind of global block chain link border construction method
CN108833609B (en) * 2018-06-25 2021-07-13 哈尔滨工业大学 Local network destination IP address selection method based on historical topology measurement data
CN109327255B (en) * 2018-09-26 2023-01-24 中国民航管理干部学院 Routing method and system for unmanned aerial vehicle ad hoc network
CN117135585A (en) * 2023-07-04 2023-11-28 中国兵器装备集团自动化研究所有限公司 Wireless sensor network system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1863109A (en) * 2005-05-12 2006-11-15 中兴通讯股份有限公司 Wireless sensor network system of supporting IP protocol
CN101442556A (en) * 2008-12-25 2009-05-27 北京交通大学 Wireless sensor network server system based on IPv6

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1863109A (en) * 2005-05-12 2006-11-15 中兴通讯股份有限公司 Wireless sensor network system of supporting IP protocol
CN101442556A (en) * 2008-12-25 2009-05-27 北京交通大学 Wireless sensor network server system based on IPv6

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王晓喃等.实现无线传感器网络与I Pv6网络互联的一种方案.《计算机应用》.2009,第29卷(第4期), *

Also Published As

Publication number Publication date
CN101610505A (en) 2009-12-23

Similar Documents

Publication Publication Date Title
CN101610505B (en) System for realizing routing of full IP mobile wireless sensor network of next generation
CN101795480B (en) Route implementing system for total IP communication of wireless sensor network and IPv6 network
CN101588293B (en) Full IP communication interconnection system of Ad Hoc network and IPv6 network
US7406064B2 (en) Communication system, server, router, and mobile communications terminal
CN101707764B (en) Realization method of next generation all-IP wireless sensor network
CN101764857A (en) Realization method for mobile handover of next generation of IP full wireless sensor network
CN100521660C (en) Method for implementing integrated network mobile switch management
CN105262687B (en) A kind of power information acquisition system group-net communication method based on WIA-PA technologies
CN102056152B (en) Implementation method of automatic configuration for network addresses of wireless sensors based on Internet protocol version 6 over low power wireless personal area network (6LoWPAN)
CN102014377B (en) Distributed wireless sensor network-based IPv6 address configuration implementing method
CN102695220B (en) IPv6-based mobile ad hoc network mobile handover realizing method
CN102318316B (en) Method and network and equipment for communication in including the network without battery ZigBee equipment
CN102857992B (en) ZigBee network based multi-gateway transmission system
CN101764751A (en) Method, system and equipment for forwarding roaming messages for wireless user terminal travelling across VLAN
CN102148756A (en) IPv6 over low power wireless personal area network (6LoWPAN) neighbor discovery-based tree routing method
CN106954243B (en) Route realizing method based on wireless chain network
JP5699799B2 (en) Topology detection system and relay device
CN101834891A (en) IPv6 (Internet Protocol version 6)-based internet of things system
CN110178410A (en) A kind of communication path determines method and the network equipment
CN103841621A (en) Redundancy routing method based on 6LoWPAN tree type network
CN104954457B (en) A kind of Internet of Things intelligent grid cruising inspection system based on IPv6 technologies
CN109246785A (en) A kind of implementation method of future mobile network
CN105429875B (en) Chain-link automatic finding method based on software defined network and system
CN101087247A (en) Data routing method in wireless communication system
CN102651863B (en) Realization method of 6LoWPAN (IPv6 over Low power Wireless Personal Area Network) wireless sensor network system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20170411

Address after: 214205 Jiangsu Province, Yixing city environmental protection science and Technology Industrial Park Jun Zhilu No. 18

Patentee after: JIANGSU TRIGIANT SENSING TECHNOLOGY Co.,Ltd.

Address before: 215500 Jiangsu, Changshou City, South Ring Road, No. three, No. 99

Patentee before: CHANGSHU INSTITUTE OF TECHNOLOGY

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110817