CN101867919A - IPv6 address configuration method of wireless sensor network based on geographical position - Google Patents

IPv6 address configuration method of wireless sensor network based on geographical position Download PDF

Info

Publication number
CN101867919A
CN101867919A CN 201010227727 CN201010227727A CN101867919A CN 101867919 A CN101867919 A CN 101867919A CN 201010227727 CN201010227727 CN 201010227727 CN 201010227727 A CN201010227727 A CN 201010227727A CN 101867919 A CN101867919 A CN 101867919A
Authority
CN
China
Prior art keywords
sensor node
address
global function
node
activation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN 201010227727
Other languages
Chinese (zh)
Other versions
CN101867919B (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
Individual
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 Individual filed Critical Individual
Priority to CN2010102277275A priority Critical patent/CN101867919B/en
Publication of CN101867919A publication Critical patent/CN101867919A/en
Application granted granted Critical
Publication of CN101867919B publication Critical patent/CN101867919B/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 an IPv6 address configuration method of a wireless sensor network based on a geographical position. The wireless sensor network comprises full-function sensor nodes and partial-function sensor nodes; a wireless sensor network area is divided into multiple squares with identical areas, and each square is identified by coordinates; if the multiple full-function sensor nodes are contained in one square region, then only one full-function sensor node in activated state exists at the same time; in one square region, all the sensor nodes can realize one-hop communication; access nodes used for connecting the wireless sensor network and an IPv6 network are full-function sensor nodes; at most one access node is contained in one square region; and the full-function sensor nodes in the activated state adopt the stateful address distribution scheme that the partial-function sensor nodes in the square area distribute internal ID addresses in a unified way, and adopt the division method and linear detection method to produce internal ID addresses.

Description

IPv 6 address configuration method of wireless sensor network based on the geographical position
Technical field
The present invention relates to the implementation method that the address disposes automatically in a kind of wireless sensor network, in particular a kind of IPv 6 address configuration method of wireless sensor network based on the geographical position.
Background technology
Continuous maturation and development along with next generation network (IPv6 network), wireless sensor network and next generation network are realized the all-IP interconnected inexorable trend that has become future development of communicating by letter, and realizing communicating by letter wireless sensor network with the Next Generation Internet all-IP, to need one of key technology of solution be exactly the automatic allocation problem in IPv6 address of sensor network.
IPv6 address configuration automatically is the important technology characteristic of IPv6, it can have uniqueness for each interface configuration under unmanned situation of intervening IPv6 address, and this characteristic is very consistent with the design object of wireless sensor network self-organizing, self-configuring.But meanwhile, in the wireless sensor network of resource-constrained, implement existing IPv6 address auto configuration mode and also have some problems, the for example existing communication mode distributing IP v6 address that has the state address allocation plan to adopt server/customer end, it is node is filed an application request from the address to Dynamic Host Configuration Protocol server, be node distributing IP v6 address in the network by the Dynamic Host Configuration Protocol server unification then, obviously, this address configuration scheme is brought a large amount of controlling packet expenses, has also consumed a large amount of storage resources simultaneously; In existing stateless address configuration scheme based on Neighbor Discovery Protocol, duplicate address detection all need be carried out to guarantee its uniqueness in the IPv6 address that each is assigned with in whole wireless sensor network, cause a large amount of controlling packet expenses equally, consumed a large amount of Internet resources.
Therefore need set up a kind of automatic allocation plan in IPv6 address of low expense at the wireless sensor network of resource-constrained.
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 IPv 6 address configuration method of wireless sensor network based on the geographical position is provided.
Technical scheme: the invention discloses a kind of IPv 6 address configuration method of wireless sensor network based on the geographical position, described wireless sensor network comprises two category nodes: global function sensor node and partial function sensor node; The global function sensor node has routing function, and the partial function sensor node does not possess routing function; To be a plurality of areas be (l * l) square metre square to described wireless sensor network area dividing, l is a positive integer, each square is by coordinates logo, because the IPv6 address of each sensor node comprises the address location coordinate information of its region, therefore each sensor node can transmit the geographical location information at its place well, for example in underground coal mine, the geographical position of sensor node all is very important for monitoring of environmental parameter and rescue, and traditional tree-shaped wireless sensor network area dividing then can't realize such function; Sensor node by its geographical position coordinates (Lx, Ly) determine the positive square coordinate in its place (x, y), wherein
Figure BSA00000192032800021
And
Figure BSA00000192032800022
If comprise a plurality of global function sensor nodes in the square area, then synchronization has only a global function sensor node that is in state of activation, and other global function sensor nodes then are in resting state; The all the sensors node can realize that one jumps communication in the square area; The access node that is used to connect wireless sensor network and IPv6 network is the global function sensor node, comprises an access node in the square area at the most; The IPv6 address of described sensor node is made up of four parts, and first is overall route prefix, and the overall route prefix of the IPv6 address of all nodes is all identical in wireless sensor network; Second portion is an abscissa, and its value equals the abscissa of sensor node place square area; Third part is an ordinate, and its value equals the ordinate of sensor node place square area; The 4th part is inner ID address, and inner ID address has uniqueness in a square area; The ID address, inside of described access node IPv6 address is 0, and the described ID address, inside that is in the global function sensor node IPv6 address of state of activation is 1; It is that square area interior partial function node in place is distributed inner ID address unitedly that the described global function sensor node employing that is in state of activation has the state address allocative decision, adopts leaving remainder method and linear probing method to produce inner ID address.Among the present invention, wireless sensor network is divided into a plurality of foursquare purposes is that these squares can identify with coordinate, and coordinate has reacted the information of square geographic location.The IPv6 address of each sensor node comprises the coordinate information of its place square area, the geographical location information that has just comprised its place square area, so the IPv6 address of each sensor node can be transmitted the geographical location information at its place well.
In the method for the invention, described access node is fixed time broadcast overall situation route prefix in wireless sensor network, and the time can be set as required, can be 1 second, also can be 1 minute or 1 hour.
In the method for the invention, the described global function sensor node that is in state of activation is preserved the inside ID address set that has distributed, and adopting leaving remainder method is that the interior partial function node of same area distributes inner ID address, and preserves the key assignments in the leaving remainder method.
In the method for the invention, a new sensor node obtains the IPv6 address by following flow process behind the coordinate in the positive square of overall route prefix that obtains its place wireless sensor network and place thereof zone:
Step 301: flow process begins;
Step 302: whether have the global function sensor node that be in state of activation, if having, carry out step 306, otherwise carry out step 303 if detecting the new sensor node region;
Is step 303: new node the global function sensor node? if carry out step 305, otherwise carry out step 304;
Step 304: continue to send the packet of request IPv6 address after new node waits for a period of time, carry out step 302 to the global function sensor node that is in state of activation of region;
Step 305: new node is 1 with own inner ID address setting, the inside ID address set that has distributed be set to 1}, the key assignments in the leaving remainder method is 2, carry out step 314;
Is step 306: new node the global function sensor node? if carry out step 307, otherwise carry out step 308;
Step 307: new node changes resting state over to, carry out step 314;
Step 308: new sensor node sends the packet of request IPv6 address to the global function sensor node that is in state of activation of region;
Step 309: the global function sensor node that is in state of activation is received the packet of request IPv6 address, utilizes and produces an inner ID address in the leaving remainder method;
Step 310: judge whether the ID address, inside that produces has been included in the inside ID address set that has distributed, if carry out step 311, otherwise carry out step 312;
Step 311: adopt the linear probing method to produce an inner ID address again, carry out step 310;
Step 312: the ID address, inside that will produce joins in the inside ID address set that has distributed, notes key assignments simultaneously, and the ID address, inside after producing is returned to new sensor node;
Step 313: new node receives inner ID address, with overall route prefix, the synthetic IPv6 address of region set of coordinates;
Step 314: process finishes.
In the method for the invention, when sensor node detects when oneself being about to lose efficacy, its handling process is:
Step 401: the energy that sensor node detects oneself is lower than predetermined threshold;
Does step 402: sensor node judge oneself to be the global function sensor node? if carry out step 405, otherwise carry out step 403;
Step 403: the operative sensor node sends a packet that leaves to the global function sensor node that the region is in state of activation, and packet comprises the ID address, inside of its IPv6 address;
Step 404: after activation global function sensor node is received packet, the ID address, inside of operative sensor node is deleted from the inside ID address set that has distributed, and skip to step 407;
Step 405: be in and wake a global function sensor node that is in resting state at random up in the global function sensor node one's respective area of state of activation and become the new global function sensor node that is in state of activation, the inside ID address set that distributed and the Key value of leaving remainder method are submitted to new activation global function sensor node;
Step 406: new activation global function sensor node uses the original IPv6 address of activating the global function sensor node to distribute inner ID address as the partial function sensor node in the one's respective area, and activation global function sensor node originally turns to resting state;
Step 407: processing procedure finishes.
The bright maximum innovative point of we has joined geographical position coordinates in the IPv6 address structure exactly, so, just can judge its geographical position according to the IPv6 address of sensor node.
Beneficial effect: the invention provides a kind of implementation method that disposes based on the IPv 6 addresses for wireless sensor network of geographical location information, this method can be applied to numerous areas such as safety of coal mines, agricultural modernization, military and national defense.For example, in the safety of coal mines field, can mine environmental monitoring control will be applied to based on the automatic configuring technical of the IPv 6 addresses for wireless sensor network of geographical location information, the colliery can be divided into a plurality of square area, sensor node is randomly dispersed in the colliery and realizes the IPv6 address configuration automatically according to the address location information of place square area.Because the IPv6 address of each sensor node among the present invention comprises the coordinate information of its region, therefore each sensor node can transmit the geographical location information at its place well, the mine environmental monitoring personnel can judge the geographical position at this sensor node place by the IPv6 address of sensor node like this, thereby visit is positioned at the sensor node in territory, particular coal mining area, obtain parameters such as temperature, humidity, gas, in time grasp coal mine environment, guarantee the safety of coal miner, this is that traditional wireless sensor network can't be accomplished at present.Since sensor node have volume little, cheap, be easy to arrange, be easy to characteristics such as maintenances, and the Internet have the geographical position cover extensive, easy to use, characteristics such as friendly interface, expense are cheap, therefore, this method has very high promotional value.
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 a wireless sensor network structural representation of the present invention.
Fig. 2 is the IPv6 address structure schematic diagram of sensor node of the present invention.
Fig. 3 obtains the schematic flow sheet of inner ID address and IPv6 address for sensor node of the present invention.
Fig. 4 is a sensor node crash handling schematic flow sheet of the present invention.
Embodiment:
The invention provides a kind of collocation method of the IPv 6 addresses for wireless sensor network based on geographical location information, in described method, each sensor node can obtain globally unique IPv6 address by geographic location information in the wireless sensor network, the IPv6 network node obtains the data message that sensor node is gathered by the IPv6 address realization communication each other of wireless sensor node.
Shown in Figure 1 is to be wireless sensor network structural representation of the present invention, the assumed wireless sensor network is in a big square area, this big square is positioned at a coordinate system and is divided into 16 little squares, (x, y) representative is exactly the coordinate figure of this coordinate system, as shown in Figure 1, for example, the square coordinate of first row, first row is (0,0), the tertial square coordinate of second row is (2,1), that is to say that each little square has been represented a point in the coordinate system, the most bottom-right little square coordinate is (3,3).Each little square area has and only contains a global function sensor node 2 that is in state of activation, (such as coordinate is (0 to contain partial function sensor node 3 in the zone that has, 1) (1,0) (1,1) the function sensor node 3 that do not contain that little square area), has (is (2,0) (3 such as coordinate, 0) the little square area of (0,3)); Also contain the global function sensor node 4 (such as the little square area of coordinate) that is in resting state in the zone that has for (0,2) (1,2) (2,3); Simultaneously, link to each other by access node 5 between wireless sensor network 1 and the IPv6 network; Two access nodes are arranged among the figure, lay respectively at different square area (0,0), in (2,0).
Wireless sensor network among the present invention is provided with two category nodes: global function sensor node and partial function sensor node; The global function sensor node has routing function, and the partial function sensor node does not possess routing function; The wireless sensor network area dividing be a plurality of areas for (l * l) square metre square, l is a positive integer, each square is by coordinates logo; Sensor node by its geographical position coordinates (Lx, Ly) determine the positive square coordinate in its place (x, y), wherein And
Figure BSA00000192032800052
(Lx Ly) can realize by the GPS location, by (Lx Ly) divided by round numbers behind the length of side l, thereby is converted into foursquare wireless sensor system coordinate with the geographical position coordinates system to each geographical position coordinates the geographical position coordinates of sensor node.If comprise a plurality of global function sensor nodes in the square area, then synchronization has only a global function sensor node that is in state of activation, and other global function sensor nodes then are in resting state; The global function sensor node that is in state of activation adopts that the state address method of salary distribution is arranged is that partial function node in the square area of place is distributed inner ID address unitedly, it is the mode of recording address distribution state that the state address method of salary distribution is arranged, can be referring to international standard RFC (R Droms, J Bound, B Volz.Dynamic HostConfiguration Protocol for IPv6 (DHCPv6) [S] .IETF RFC 3315,2003.); The all the sensors node can realize that one jumps communication in the square area; The access node that is used to connect wireless sensor network and IPv6 network is the global function sensor node, comprises an access node in the square area at the most.
Shown in Figure 2 is the IPv6 address structure schematic diagram of sensor node of the present invention,
The IPv6 address of sensor node is made up of four parts, and first is that (the overall route prefix of the IPv6 address of all nodes is all identical in the overall route prefix of bit of 128-4 * n-4 * n-8 * n), wireless sensor network; Second portion be (abscissa of 4 * n) bits, its value equals the abscissa of sensor node place square area; Third part be (ordinate of 4 * n) bits, its value equals the ordinate of sensor node place square area; The 4th part is that (the ID address, inside of 8 * n) bits, inner ID address has uniqueness in a square area.The ID address, inside of access node IPv6 address is 0, and the ID address, inside that is in the global function sensor node IPv6 address of state of activation is 1, wherein, 4 〉=n 〉=1, the n value can be adjusted according to sensor node distribution density and sensor network scale.
Shown in Figure 3 is the schematic flow sheet that sensor node of the present invention obtains the IPv6 address, access node is fixed time broadcast overall situation route prefix in wireless sensor network, new sensor node is at the coordinate (x in the positive square of overall route prefix that obtains its place wireless sensor network and place thereof zone, y) afterwards, obtain the IPv6 address by following flow process:
Step 301: flow process begins;
Step 302: judge whether the new sensor node region has the global function sensor node that is in state of activation, if carry out step 306, otherwise carry out step 303;
Is step 303: new sensor node the global function sensor node? if carry out step 305, otherwise carry out step 304;
Step 304: continue to send the packet of request IPv6 address after new sensor node waits for a period of time, carry out step 302 to the global function sensor node that is in state of activation of region;
Step 305: new sensor node is 1 with own inner ID address setting, the inside ID address set that has distributed be set to 1}, the key assignments in the leaving remainder method is 2, carry out step 314;
Is step 306: new sensor node the global function sensor node? if carry out step 307, otherwise carry out step 308;
Step 307: new sensor node changes resting state over to, carry out step 314;
Step 308: new sensor node sends the packet of request IPv6 address to the global function sensor node that is in state of activation of region;
Step 309: the global function sensor node that is in state of activation is received the packet of request IPv6 address, utilize and produce an inner ID address in the leaving remainder method, leaving remainder method as shown in Equation (1), key is a key assignments, wherein, 4 〉=n 〉=1, the n value can be adjusted according to sensor node distribution density and sensor network scale.For example, when key assignments was 2, drawing inner ID address according to formula (1) so was 2.
H(key)=key?MOD?2 8×n (1)
Step 310: the global function sensor node that is in state of activation judges whether the ID address, inside that produces has been included in the inside ID address set that has distributed, if carry out step 311, otherwise carry out step 312;
Step 311: adopt linear probing method and leaving remainder method to produce an inner ID address again, the linear probing method as shown in Equation (2) (for example, current key assignments is 2, the key assignments that must make new advances according to formula (2) is 3 so, the ID address, inside that must make new advances according to formula (1) is 3 again), carry out step 310;
key=(key+1)MOD?2 8×n (2)
Step 312: be in the ID address, inside that the global function sensor node of state of activation will produce and join in the inside ID address set that has distributed, note key assignments simultaneously, the ID address, inside after producing is returned to new sensor node;
Step 313: new node receives inner ID address, with overall route prefix, the synthetic IPv6 address of region set of coordinates;
Step 314: process finishes.
The IPv6 address of each global function sensor node is fixed, if some global function sensor nodes had lost efficacy, become new global function sensor node after will being activated by another sensor node that is in resting state so, this global function sensor node still uses the address of former global function sensor node.
As shown in Figure 1, at coordinate is (2,1) in the square area, by flow process shown in Figure 3, first global function node is execution in step 302 at first, and execution in step 303 and step 305 are obtained inner ID address 1 simultaneously then, the inside ID address set that has distributed is for { 1}, the key assignments in the leaving remainder method are 2.By flow process shown in Figure 3, first partial function node is execution in step 302 at first, execution in step 306 and step 308 then, in step 309, the global function sensor node that is in state of activation utilizes and produces an inner ID address in the leaving remainder method, leaving remainder method as shown in Equation (1) because key assignments key is 2, therefore, the ID address, inside that obtains according to formula (1) is 2; In step 310 and since the ID address, inside 2 that produces be not included in the inside ID address set that distributed among the 1}, therefore, execution in step 312; Like this, first partial function node obtains inner ID address 2, be in state of activation the global function sensor node the inner ID address set of distribution for 1,2}.By flow process shown in Figure 3, second partial function node be execution in step 302 at first, execution in step 306 and step 308 then, in step 309, the global function sensor node that is in state of activation utilizes and produces an inner ID address in the leaving remainder method, leaving remainder method as shown in Equation (1) because key assignments key still is 2, therefore, the ID address, inside that obtains according to formula (1) is 2; In step 310 and since the ID address, inside 2 that produces be included in the inside ID address set that distributed 1, among the 2}, therefore, execution in step 311; In step 311, the key assignments key that carries out formula (2) is 3, and then to obtain inner ID address according to formula (1) be 3, and execution in step 310 then; In step 310 and since the ID address, inside 2 that produces be not included in the inside ID address set that distributed 1, among the 2}, therefore, execution in step 312; Like this, second partial function node obtains inner ID address 3, be in state of activation the global function sensor node the inner ID address set of distribution for 1,2,3}.
Shown in Figure 4 is sensor node crash handling schematic flow sheet of the present invention,
The sensor node electric weight is during less than predetermined threshold, and the present invention just thinks that this node is invalid node.Sensor node is by battery-driven, and battery generally is non-exchange, if running down of battery, sensor node also just can not have been worked.The preset value operated by rotary motion scope of threshold value is 50~200 μ J in the present embodiment.When sensor node detects when oneself being about to lose efficacy, its handling process is:
Step 401: sensor node detects the preset value of the electric weight of oneself less than threshold value;
Does step 402: sensor node judge oneself to be the global function sensor node? if carry out step 405, otherwise carry out step 403;
Step 403: the operative sensor node sends a packet that leaves to the global function sensor node that the region is in state of activation, and packet comprises the ID address, inside of its IPv6 address;
Step 404: after activation global function sensor node is received packet, the ID address, inside of operative sensor node is deleted from the inside ID address set that has distributed, carry out step 407;
Step 405: be in and wake a global function sensor node that is in resting state at random up in the global function sensor node one's respective area of state of activation and become the new global function sensor node that is in state of activation, the inside ID address set that distributed and the Key value of leaving remainder method are submitted to new activation global function sensor node;
Step 406: new activation global function sensor node uses the original IPv6 address of activating the global function sensor node to distribute inner ID address as the partial function sensor node in the one's respective area, and activation global function sensor node originally turns to resting state;
Step 407: processing procedure finishes.
In sum, the invention provides a kind of implementation method that disposes based on the IPv 6 addresses for wireless sensor network of geographical location information, this technology can be applied to agricultural modernization, medical treatment ﹠ health, numerous areas such as military and national defense, for example, in the agricultural modernization field, can modern installations Agricultural Environmental Monitoring control will be applied to based on the automatic configuring technical of the IPv 6 addresses for wireless sensor network of geographical location information, sensor node is randomly dispersed in the farmland and realizes the IPv6 address configuration automatically according to the address location information of region, the agricultural laborer can judge the geographical position at this sensor node place by the IPv6 address of sensor node like this, thereby be positioned at the sensor node in zone, specific farmland by internet access, obtain the farmland temperature, humidity, environmental parameters such as luminous intensity, in time grasp the growing environment of crops, guarantee that crops grow up healthy and sound.Since sensor node have volume little, cheap, be easy to arrange, be easy to characteristics such as maintenances, and the Internet have the geographical position cover extensive, easy to use, characteristics such as friendly interface, expense are cheap, therefore, present technique has very high promotional value.
The invention provides a kind of thinking of the IPv 6 address configuration method of wireless sensor network based on the geographical position; 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 (6)

1. the IPv 6 address configuration method of wireless sensor network based on the geographical position is characterized in that, described wireless sensor network comprises two class sensor nodes: global function sensor node and partial function sensor node;
The square area that it is l that described wireless sensor network is divided into an above length of side, wherein l is a positive integer, each square is by coordinates logo;
Described sensor node by its geographical position coordinates (Lx, Ly) determine the positive square coordinate in its place (x, y), wherein
Figure FSA00000192032700011
If comprise an above global function sensor node in the square area, then synchronization has and has only a global function sensor node that is in state of activation, and other global function sensor nodes then are set at resting state; In the square area jumping communication;
Described global function sensor node has routing function, and described operative sensor node does not have routing function;
The global function node that will be used to connect wireless sensor network and IPv6 network is set at access node, comprises an access node in the square area at the most;
Each sensor node is furnished with an IPv6 address, and described IPv6 address comprises four parts, and first is overall route prefix, and the overall route prefix of all the sensors node is all identical in wireless sensor network; Second portion is an abscissa, and its value equals the abscissa of sensor node place square area; Third part is an ordinate, and its value equals the ordinate of sensor node place square area; The 4th part is inner ID address, and inner ID address has uniqueness in a square area; The ID address, inside of described access node IPv6 address is 0, and the described ID address, inside that is in the global function sensor node IPv6 address of state of activation is 1;
The described global function sensor node that is in state of activation is that the partial function node in the square area of place is distributed inner ID address unitedly.
2. the IPv 6 address configuration method of wireless sensor network based on the geographical position according to claim 1 is characterized in that, described access node is fixed time broadcast overall situation route prefix in wireless sensor network.
3. the IPv 6 address configuration method of wireless sensor network based on the geographical position according to claim 1, it is characterized in that, the described global function sensor node that is in state of activation is preserved the inside ID address set that has distributed, the employing leaving remainder method is that the partial function node in the identical square zone distributes inner ID address, and preserves the key assignments in the leaving remainder method.
4. the IPv 6 address configuration method of wireless sensor network based on the geographical position according to claim 1, it is characterized in that, described sensor node obtains the IPv6 address as follows behind the coordinate in the positive square of overall route prefix that obtains its place wireless sensor network and place thereof zone:
Step 301: beginning;
Step 302: whether detecting sensor node place square area has the global function sensor node that is in state of activation, if having, carry out step 306, otherwise carry out step 303;
Step 303: whether be global function sensor node, if carry out step 305, otherwise this sensor node is judged to be the partial function sensor node, and carry out step 304 if detecting this sensor node;
Step 304: the packet of described operative sensor node timed sending request IPv6 address, the destination address of packet is the IPv6 address of the global function sensor node that is in state of activation of place square area, carry out step 302;
Step 305: this global function sensor node is 1 with own inner ID address setting, the inside ID address set that has distributed be set to 1}, the key assignments in the leaving remainder method is 2, carry out step 314;
Step 306: whether the detecting sensor node is the global function sensor node, if carry out step 307, otherwise carry out step 308;
Step 307: this global function sensor node changes resting state over to, carry out step 314;
Step 308: this partial function sensor node sends the packet of request IPv6 address to the global function sensor node that is in state of activation of region;
Step 309: the global function sensor node that is in state of activation is received the packet of request IPv6 address, utilizes and produces an inner ID address in the leaving remainder method;
Step 310: the global function sensor node that is in state of activation judges whether the ID address, inside that produces has been included in the inside ID address set that has distributed, if carry out step 311, otherwise carry out step 312;
Step 311: adopt the linear probing method to produce an inner ID address again, carry out step 310;
Step 312: the ID address, inside that will produce joins in the inside ID address set that has distributed, notes key assignments simultaneously, and the ID address, inside after producing is returned to described partial function sensor node;
Step 313: described partial function sensor node receives inner ID address, with overall route prefix, the synthetic IPv6 address of place square area set of coordinates;
Step 314: finish.
5. the IPv 6 address configuration method of wireless sensor network based on the geographical position according to claim 1 is characterized in that, also comprises the steps:
Step 401: the energy that sensor node detects oneself is lower than predetermined threshold;
Step 402: sensor node judges whether oneself is the global function sensor node, if carry out step 405, otherwise carry out step 403;
Step 403: the operative sensor node sends a packet that leaves to the global function sensor node that the region is in state of activation, and packet comprises the ID address, inside of its IPv6 address;
Step 404: after activation global function sensor node is received packet, the ID address, inside of operative sensor node is deleted from the inside ID address set that has distributed, and skip to step 407;
Step 405: the global function sensor node that is in state of activation wakes a global function sensor node that is in resting state at random up in the square area of place become the new global function sensor node that is in state of activation, and the inside ID address set that distributed and the key assignments of leaving remainder method are submitted to new activation global function sensor node;
Step 406: new activation global function sensor node uses the original IPv6 address of activating the global function sensor node to distribute inner ID address as the partial function sensor node in the one's respective area, and activation global function sensor node originally turns to resting state;
Step 407: finish.
6. the IPv 6 address configuration method of wireless sensor network based on the geographical position according to claim 1, it is characterized in that, the described global function sensor node that is in state of activation is that the partial function node in the square area of place is distributed inner ID address unitedly, adopts leaving remainder method and linear probing method to produce inner ID address.
CN2010102277275A 2010-07-16 2010-07-16 IPv6 address configuration method of wireless sensor network based on geographical position Expired - Fee Related CN101867919B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010102277275A CN101867919B (en) 2010-07-16 2010-07-16 IPv6 address configuration method of wireless sensor network based on geographical position

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010102277275A CN101867919B (en) 2010-07-16 2010-07-16 IPv6 address configuration method of wireless sensor network based on geographical position

Publications (2)

Publication Number Publication Date
CN101867919A true CN101867919A (en) 2010-10-20
CN101867919B CN101867919B (en) 2012-11-14

Family

ID=42959427

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010102277275A Expired - Fee Related CN101867919B (en) 2010-07-16 2010-07-16 IPv6 address configuration method of wireless sensor network based on geographical position

Country Status (1)

Country Link
CN (1) CN101867919B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102395193A (en) * 2011-06-29 2012-03-28 华南理工大学 Method for locating wireless sensor network (WSN)
CN102694773A (en) * 2011-03-23 2012-09-26 北京天地互连信息技术有限公司 Method for IPv6 wireless sensor network to access to present network
CN102917079A (en) * 2012-07-10 2013-02-06 中国科学技术大学 Method for automatically configuring IPv6 (internet protocol version 6) address in wireless sensor network
CN103167057A (en) * 2013-04-07 2013-06-19 常熟理工学院 Vehicle-mounted net address collocation method based on locating information
WO2013093670A1 (en) * 2011-12-22 2013-06-27 International Business Machines Corporation Method for routing data in a wireless sensor network
CN103347100A (en) * 2013-06-25 2013-10-09 常熟理工学院 6LoWPAN wireless sensor network address collocation method
CN104168540A (en) * 2014-08-07 2014-11-26 南京邮电大学 Data transmission method for IPV6 delay-tolerant sensing network on basis of location privacy
CN105472724A (en) * 2015-11-25 2016-04-06 广州日滨科技发展有限公司 Automatic coding method and automatic coding system of linear wireless devices
WO2016067299A1 (en) * 2014-10-30 2016-05-06 Hewlett-Packard Development Company, L.P. Location aware failover solution
CN110278526A (en) * 2019-06-04 2019-09-24 苏州经贸职业技术学院 A kind of mobile Internet of Things data collection system and control method based on beacon positioning

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007018296A1 (en) * 2005-08-09 2007-02-15 Mitsubishi Electric Corporation A method for assigning addresses to nodes in wireless networks
WO2008102755A1 (en) * 2007-02-19 2008-08-28 Nec Corporation Automatic setting system and method in wireless sensor network, and gateway apparatus of wireless sensor network
WO2008140212A1 (en) * 2007-05-16 2008-11-20 Firsttech Corporation Ubiquitous sensor network-based system and method for automatically managing food sanitation
CN101610505A (en) * 2009-07-15 2009-12-23 常熟理工学院 The realization system of full IP mobile wireless sensor network of next generation route
CN101707763A (en) * 2009-12-03 2010-05-12 王晓喃 Method for achieving automatic configuration of IPv6 addresses for wireless sensor network
CN101707764A (en) * 2009-12-03 2010-05-12 王晓喃 Realization method of next generation all-IP wireless sensor network
CN101764857A (en) * 2009-12-22 2010-06-30 王晓喃 Realization method for mobile handover of next generation of IP full wireless sensor network

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007018296A1 (en) * 2005-08-09 2007-02-15 Mitsubishi Electric Corporation A method for assigning addresses to nodes in wireless networks
WO2008102755A1 (en) * 2007-02-19 2008-08-28 Nec Corporation Automatic setting system and method in wireless sensor network, and gateway apparatus of wireless sensor network
WO2008140212A1 (en) * 2007-05-16 2008-11-20 Firsttech Corporation Ubiquitous sensor network-based system and method for automatically managing food sanitation
CN101610505A (en) * 2009-07-15 2009-12-23 常熟理工学院 The realization system of full IP mobile wireless sensor network of next generation route
CN101707763A (en) * 2009-12-03 2010-05-12 王晓喃 Method for achieving automatic configuration of IPv6 addresses for wireless sensor network
CN101707764A (en) * 2009-12-03 2010-05-12 王晓喃 Realization method of next generation all-IP wireless sensor network
CN101764857A (en) * 2009-12-22 2010-06-30 王晓喃 Realization method for mobile handover of next generation of IP full wireless sensor network

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
《IETF RFC 3315 Dynamic HostConfiguration Protocol for IPv6(DHCPv6) 》 20030731 R. Droms等 IETF RFC 3315 Dynamic HostConfiguration Protocol for IPv6(DHCPv6) , *
《计算机工程》 20091231 王晓喃等 无线传感器网络与IPv6 网络的互联通信 第35卷, 第24期 *
《计算机应用》 20090430 王晓喃等 实现无线传感器网络与IPv6网络互联的一种方案 第29卷, 第4期 *

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102694773A (en) * 2011-03-23 2012-09-26 北京天地互连信息技术有限公司 Method for IPv6 wireless sensor network to access to present network
CN102395193B (en) * 2011-06-29 2014-07-02 华南理工大学 Method for locating wireless sensor network (WSN)
CN102395193A (en) * 2011-06-29 2012-03-28 华南理工大学 Method for locating wireless sensor network (WSN)
WO2013093670A1 (en) * 2011-12-22 2013-06-27 International Business Machines Corporation Method for routing data in a wireless sensor network
GB2511449A (en) * 2011-12-22 2014-09-03 Ibm Method for routing data in a wireless sensor network
US9237505B2 (en) 2011-12-22 2016-01-12 Globalfoundries Inc. Method for routing data in a wireless sensor network
CN102917079A (en) * 2012-07-10 2013-02-06 中国科学技术大学 Method for automatically configuring IPv6 (internet protocol version 6) address in wireless sensor network
CN103167057A (en) * 2013-04-07 2013-06-19 常熟理工学院 Vehicle-mounted net address collocation method based on locating information
CN103167057B (en) * 2013-04-07 2015-10-07 常熟理工学院 A kind of vehicle-mounted net address collocation method based on locating information
CN103347100B (en) * 2013-06-25 2016-02-10 常熟理工学院 A kind of 6LoWPAN wireless transducer network address configuration method
CN103347100A (en) * 2013-06-25 2013-10-09 常熟理工学院 6LoWPAN wireless sensor network address collocation method
CN104168540A (en) * 2014-08-07 2014-11-26 南京邮电大学 Data transmission method for IPV6 delay-tolerant sensing network on basis of location privacy
CN104168540B (en) * 2014-08-07 2017-07-11 南京邮电大学 The data transmission method of the IPV6 delay-tolerant Sensor Networks based on location privacy
WO2016067299A1 (en) * 2014-10-30 2016-05-06 Hewlett-Packard Development Company, L.P. Location aware failover solution
CN105472724A (en) * 2015-11-25 2016-04-06 广州日滨科技发展有限公司 Automatic coding method and automatic coding system of linear wireless devices
CN105472724B (en) * 2015-11-25 2019-01-04 日立楼宇技术(广州)有限公司 A kind of linear wireless device from coding method and from coded system
CN110278526A (en) * 2019-06-04 2019-09-24 苏州经贸职业技术学院 A kind of mobile Internet of Things data collection system and control method based on beacon positioning

Also Published As

Publication number Publication date
CN101867919B (en) 2012-11-14

Similar Documents

Publication Publication Date Title
CN101867919B (en) IPv6 address configuration method of wireless sensor network based on geographical position
CN102014377B (en) Distributed wireless sensor network-based IPv6 address configuration implementing method
CN101707763B (en) Method for achieving automatic configuration of IPv6 addresses for wireless sensor network
CN101488975B (en) System for implementing complete IP communication between wireless sensor network and IPv6 network
CN102158983B (en) Method for constructing 6LoWPAN wireless sensor network
CN101764857B (en) Realization method for mobile handover of next generation of IP full wireless sensor network
CN105262687B (en) A kind of power information acquisition system group-net communication method based on WIA-PA technologies
CN104157120B (en) Industrial equipment and the WSN information Perception system and methods of environmental monitoring
CN101707764B (en) Realization method of next generation all-IP wireless sensor network
CN104320796A (en) Wireless sensor network data transmission method based on LEACH protocol
CN105246118B (en) A kind of wireless communication implementation method based on location information
CN101188535A (en) Method for identifying the section energy balance route of wireless sensor network based on 2-child tree
CN103281674B (en) A kind of wireless transducer network address configuration method based on locating information
CN102572016A (en) Method for realizing cluster-based distributed mobile self-organizing network IPv6 (Internet Protocol version 6) address configuration
CN107979645B (en) Internet of things implementation method
CN106604344A (en) Power utilization information system based on RPL and networking and communication method thereof
CN107579915B (en) Ad hoc network method, node, gateway and communication system based on tree network
CN102883333A (en) Wireless sensor network construction method based on location information
CN103945415B (en) Communication implementation method for wireless network
CN105050148B (en) A kind of implementation method of wireless sense network routing
CN103347100B (en) A kind of 6LoWPAN wireless transducer network address configuration method
Bagula et al. On the relevance of using interference and service differentiation routing in the internet-of-things
CN103476082A (en) Method for achieving construction of next-generation wireless sensor network
Khan Performance and route stability analysis of RPL protocol
Jadoon et al. An efficient nodes failure recovery management algorithm for mobile sensor networks

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: CHANGSHU SCIENCE AND ENGINEERING COLLEGE

Free format text: FORMER OWNER: WANG XIAONAN

Effective date: 20120710

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20120710

Address after: 215500 School of computer science and engineering, Changshu Institute Of Technology (southeast campus), Jiangsu, Changshou City

Applicant after: CHANGSHU INSTITUTE OF TECHNOLOGY

Address before: 215500 School of computer science and engineering, Changshu Institute Of Technology, Jiangsu, Changshou City (East Lake),, three, China

Applicant before: Wang Xiaonan

C14 Grant of patent or utility model
GR01 Patent grant
C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20170303

Address after: The 214205 Jiangsu Yixing environmental science and Technology Industrial Park Jun Zhilu No. 18

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

Address before: 215500 School of computer science and engineering, Changshu Institute Of Technology, Jiangsu, Changshou City

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