CN102711211B - 6LoWPAN-based energy-saving data transmitting method for wireless sensor network - Google Patents

6LoWPAN-based energy-saving data transmitting method for wireless sensor network Download PDF

Info

Publication number
CN102711211B
CN102711211B CN201210179768.0A CN201210179768A CN102711211B CN 102711211 B CN102711211 B CN 102711211B CN 201210179768 A CN201210179768 A CN 201210179768A CN 102711211 B CN102711211 B CN 102711211B
Authority
CN
China
Prior art keywords
node
packet
tan
sigma
avg
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.)
Active
Application number
CN201210179768.0A
Other languages
Chinese (zh)
Other versions
CN102711211A (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.)
Zhejiang University of Technology ZJUT
Original Assignee
Zhejiang University of Technology ZJUT
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 Zhejiang University of Technology ZJUT filed Critical Zhejiang University of Technology ZJUT
Priority to CN201210179768.0A priority Critical patent/CN102711211B/en
Publication of CN102711211A publication Critical patent/CN102711211A/en
Application granted granted Critical
Publication of CN102711211B publication Critical patent/CN102711211B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a 6LoWPAN (6Low-power Wireless Personal Area Network)-based energy-saving data transmission method for a wireless sensor network. An optimal TAN (Temporary Assembling Node) needs to be found between an information source and an information sink; firstly, the information source divides an IPv6 (Internet Protocol Version 6) into fragmentations, then transmits the fragmentations to the TAN one by one through a method of MUR, namely Mesh-under Routing, of the 6LoWPAN protocol; and the TAN assembles together the received fragmentations to the original IPv6 data packet, then fragments the IPv6 data packet, and transmits the fragmentations to the information sink node one by one through the MUR. Therefore the total energy consumption of the node transmitting data packet is reduced. The method of finding the TAN is the key of the invention, and the core of the invention is formula (19). By adopting the method provided by the invention, the energy consumption of the node transmitting data packet, the retransmission times of the data packet and the communication delay-time in the wireless sensor network are all reduced.

Description

A kind of wireless transducer network energy saving data transferring method based on 6LoWPAN
Technical field
The present invention relates to a kind of Energy-saving Data transmission method, be applicable to the wireless sensor network based on 6LoWPAN.
Technical background
Wireless sensor network is conventionally using IEEE 802.15.4 as communication standard, and it is widely used in the fields such as environmental observation, Smart Home, medical treatment and nursing, traffic monitoring.In IEEE 802.15.4 standard, the network equipment has the features such as low-power consumption, low data transmission rate, short communication distance, short packages length.For example, this standard specifies that link layer MTU MTU is that the size of Maximum Transmission Unit is 127 bytes; The wireless device maximum data transfer rate that works in 2.4GHz frequency range is 250kbps; Except the unique extended address in the whole world of 64, also support the short address form of 16.
IPv6 is that IETF is that the IP agreement for substituting current edition 4 that Internet Engineering task groups designs is the IP next generation protocol of IPv4.The address size of IPv6 is 128, and the minimum MTU of IPv6 packet reaches 1280 bytes.Because the MTU of IEEE 802.15.4 data link layer can only reach 127 bytes, so when IPv6 packet transmits in the wireless sensor network based on IEEE 802.15.4 standard, packet burst need to be transmitted.On August 1st, 2007, IETF drafts and has issued RFC 4919, has proposed 6LoWPAN agreement and has transmitted IPv6 packet to be supported in the wireless personal area network based on IEEE 802.15.4 standard.The main feature of 6LoWPAN has three: packet burst, header suppression and Level 2 Forwarding packet.It is adaptation layer that 6LoWPAN adds an adaptation layer between network layer and data link layer.Like this, route both can be carried out in network layer, also can carry out at newly-increased adaptation layer.The former is called ROR is route-over routing; It is mesh-under routing that the latter is called MUR.
Before the present invention, relevant invention has:
On October 18th, 2010, the application of Changshu Institute of Technology Wang Xiao nanmu patent " the nested mobile network routing optimization method of a kind of 6LoWPAN ".In this invention, mobile network node is set up tunnel without the mobile router agency through place mobile network and can be communicated by letter with communication node, mobile network node can according to the IPv6 address of object communication node accurately judge this communication node whether with mobile network node in same 6LoWPAN network, thereby set up the optimum routed path that arrives object communication node, shorten data transfer delay.
On November 23rd, 2010, the application of Changshu Institute of Technology Wang Xiao nanmu patent " a kind of 6LoWPAN wireless sensor network routing method ".The method is divided into global function sensor node and partial function sensor node two classes the node of wireless sensor network, in addition, also the IPv6 address of sensor node is divided into overall route prefix and sensor node ID two parts.Global function node comprises a routing table, thereby data communication is realized in the path that sensor node is set up arrival destination node by routing table.In the time that the global function sensor node in path lost efficacy, can automatically realize route repair function by routing table.
On January 26th, 2011, the auspicious patent " a kind of tree-shaped method for routing of finding based on 6LoWPAN neighbours " of having applied for of the Hao Jun of Wuhan Research Institute of Posts & Telecommunications.In the time that 6LoWPAN sensor node adds network, the method is set up the root node of tree topology, and essential information to their configuration networks.If occur, leaf node lost efficacy, left, when one of three kinds of situations of movement, trigger route repair process.The method, without the extra routing protocol packet of sending and receiving, has reduced energy consumption and the routing cost of whole network.
On August 10th, 2011, the yellow little red people such as grade of Beijing University of Post & Telecommunication applies for a patent " 6LoWPAN network is towards the TCP header compression method of http protocol ".The method first completes the compression of IP stem and IP extension header at adaptation layer, then according to the mode of header-compressed structure, coding and queue, TCP stem is compressed, and has ensured the compatibility of compression method and the simplicity that operation realizes.The 6LoWPAN datagram forming is sent to data link layer again, through data link layer and physical layer, frame is sent to receiving terminal.The method has reduced the data fragmentation of data link layer, has improved communication efficiency.
As previously mentioned, 6LoWPAN network has added adaptation layer between the IP of original ICP/IP protocol stack layer and MAC layer.What routing decision was completed by IP layer is called ROR, and routing decision is at the MUR that is called that adapts to complete layer by layer.
As Fig. 1, when a paths is made up of multiple nodes, and link between node is during all based on IEEE 802.15.4 standard, in ROR and these two kinds of routing algorithms of MUR, packet from source node A 0send to destination node A nprocess be different.In ROR, packet is first by source node A 0be divided into multiple bursts, each burst transmits with IP agreement, with node A niP address as the destination address of packet head.Source node A 0select node A according to routing table 1for down hop, all bursts are sent to next-hop node A 1.Node A 1receiving after all bursts, these bursts are assemblied into original packet, give network layer, after the object IP address of network layer sense data packet header, make routing decision according to routing table and select A 2for down hop, then, the packet after assembled again burst, and all bursts are passed to next-hop node A 2, node A 2receiving after all bursts, these bursts are assemblied into original packet.The rest may be inferred, until packet arrives destination node A n.
The data transfer of MUR is different from ROR.In MUR, route is carried out at adaptation layer: first packet is fragmented, and all bursts are that Local-link address forwarded hop-by-hop is to destination node A according to local link address n.In IPv6, the prefix of local link address is FE80: :/64.Destination node A nafter receiving all bursts, these bursts are assemblied into source node A 0the packet sending.
No matter be ROR routing policy, or MUR routing policy, if lost the one or more bursts in packet on transmission link, all bursts of this packet all need to retransmit so.But the former only retransmits on the link of a jumping, and the latter need to retransmit end to end.Therefore, in the time that information source is excessive to the number of links number on compare Chang Ji path in path between the stay of two nights, the data packet retransmission number of times of MUR will become very large, thus the energy of waste node.
Summary of the invention
In order to overcome the MUR routing policy of the existing wireless sensor network based on 6LoWPAN because thereby information source to excessive excessive this drawback of energy consumption that causes of link hop count between the stay of two nights, the invention provides energy consumption, the reduction heavy degree of transitivity of packet and the wireless transducer network energy saving data transferring method based on 6LoWPAN of communication delay that a kind of effective reduction node transmits packet.
For the technical scheme that solves the problems of the technologies described above proposition is:
A wireless transducer network energy saving data transferring method based on 6LoWPAN, described wireless transducer network energy saving data transferring method comprises following process:
First,, by find an optimum interim assembled node TAN between information source and the stay of two nights, select the method for interim assembled node TAN as follows:
Step 1: with <A i, A j> represents connected node A iwith node A jlink, with <A 0, A 1..., A n> represents with A 0for information source node, A nfor information destination node and through node A 1, A 2, A 3... and A n-1data package transmission path, altogether n jumps.
Step 2: calculate E by formula (19) avg, and get Min_E=E (n) avg, and remember Best_Pair={ n } (n).
E avg ( n ) &equiv; P Succ E Total ( S ) + ( 1 - P Succ ) E Total ( F )
= S IP &Pi; i = 1 n [ 1 - ( q i ) N ] M &Sigma; i = 1 n [ 2 E elec + &epsiv; amp d i &gamma; ] 1 - ( N + 1 ) q i N + Nq i N + 1 1 - q i + ( 1 - &Pi; i = 1 n [ 1 - ( q i ) N ] M )
&CenterDot; &Sigma; t = 1 M t [ &Sigma; j = 1 n k ( N [ 2 E elec + &epsiv; amp d j &gamma; ] + &Sigma; i = 1 j - 1 1 - ( N + 1 ) q i N + N q i N + 1 1 - q i [ 2 E elec + &epsiv; amp d i &gamma; ] )
&CenterDot; ( q j ) N &Pi; i = 1 j - 1 [ 1 - ( q i ) N ] + ( M - t ) k &Sigma; i = 1 n [ 2 E elec + &epsiv; amp d i &gamma; ] 1 - ( N + 1 ) q i N + Nq i N + 1 1 - q i ]
&CenterDot; ( 1 - &Pi; i = 1 n [ 1 - ( q i ) N ] ) t ( &Pi; i = 1 n [ 1 - ( q i ) N ] ) M - t - - - ( 19 )
Wherein, S iPit is the bit number that IPv6 packet comprises; q iand d irespectively link <A i-1, A ithe packet loss of > and link <A i-1, A ithe distance of > two-end-point, i=1,2 ..., n; M represents the sheet number that IPv6 packet is divided into; N represents the maximum retransmission of MAC layer in one hop link; E elecrepresent the power consumption of emitter and the every transmission of receiving circuit or recruiting unit's bit; ε amprepresent that emission amplifier transmits at unit square rice the energy that every bit consumes; γ is path loss parameter;
Step 3: get n 1=1;
Step 4: get n 2=n-n 1;
Step 5: calculate E by formula (19) avg(n 1) and E avg(n 2);
Step 6: if E avg(n 1)+E avg(n 2) <Min_E, get Min_E=E avg(n 1)+E avg(n 2), and remember Best_Pair={ n 1, n 2;
Step 7:n 1=n 1+ 1, if n 1<n, forwards step 4 to;
Step 8: if Best_Pair has two value n 1and n 2, will be apart from information source n 1the intermediate node of jumping is chosen for TAN, otherwise, between information source and the stay of two nights, do not establish TAN;
Then, after TAN chooses, information source node A 0packet burst, be then that Mesh-under Routing method sends to TAN all bursts according to the MUR providing in 6LoWPAN agreement; The adaptation layer of the protocol stack of TAN is sent to network layer on all bursts that receive, and it is information source node A that all bursts are assembled into source IPv6 packet by network layer 0the packet sending;
Afterwards, the network layer of TAN is extracted the object IP address of IPv6 packet head, searches routing table and obtains next-hop node address, then be routed to information destination node A by IPv6 packet burst and by MUR n, then, information destination node is assembled into original IPv6 packet the data fragmentation receiving.
Technical conceive of the present invention is: by information source node A 0with information destination node A nbetween to choose an intermediate node be Temporary Assembling Node as " interim assembled node " TAN, make on the adaptation layer of TAN, the packet burst receiving to be submitted to network layer and carry out assembledly, and then the packet after assembled is carried out to burst and is forwarded to next-hop node.And on other intermediate node, packet burst is only submitted to adaptation layer and just carries out forward process.
With <A i, A j> represents connected node A iwith node A jlink, with <A 0, A 1.., A n> represents with A 0for information source node, A nfor information destination node and through node A 1, A 2, A 3... and A n-1data package transmission path.At path <A 0, A 1..., A n> is upper, selects certain intermediate node A xas interim assembled node TAN.Like this, from source node A 0to destination node A nroute by interim assembled node A xbe divided into two sections: L 1and L 2, wherein L 1=<A 0, A 1..., A x>, L 2=<A x, A x+1..., A n>.Refer to below about choosing of interim assembled node TAN.In the data transferring method that the technical program proposes, packet is when each node, and in interdependent node protocol stack, related protocol hierarchy as shown in Figure 2.
The people such as W.B.Heinzelman in October, 2002 at document 1: International Periodicals " IEEE Transactions on Wireless Communications " has been delivered paper " An application-specific protocol architecture for wireless microsensor networks " i.e. " a kind of application-specific protocol frame of wireless microsensor network " on " IEEE radio communication transactions " the 1st volume the 4th phase 660-670 page, has proposed following energy consumption model in this paper:
By the data packet transmission d rice distance of a k bit, the energy that transmit leg and recipient's radio circuit consume is respectively:
E Tx(k,d)=k[E elecampd γ] (1)
E Rx(k)=kE elec (2)
Wherein, E elecrepresent the power consumption of emitter and the every transmission of receiving circuit or recruiting unit's bit; ε amprepresent that emission amplifier transmits at unit square rice the energy that every bit consumes; γ is path loss parameter, and its span is [2,4].Be " Heinzelman energy consumption model " hereinafter referred to as above-mentioned energy consumption model.Energy consumption when this technology adopts Heinzelman energy consumption model to weigh data transmission.
As everyone knows, the link of wireless sensor network is easy packet loss, insecure.For one from information source A 0to stay of two nights A ndata package transmission path <A 0, A 1..., A n>, with q irepresent link <A i-1, A ithe packet loss of >, p i=1-q ilink <A i-1, A i> transmits the success rate of packet, i=1, and 2 ..., n; Represent the sheet number that IPv6 packet is divided into M.In addition represent, the maximum retransmission of MAC layer in one hop link with N.That is to say, MAC layer is in the time transmitting same packet, if N continuous time is transmitted unsuccessfully, MAC layer just no longer continues to retransmit this packet.Therefore, for a burst, node A i-1to next-hop node A ithe probability of bust this is:
P i (F)≡(q i) N,i=1,2,…,n (3)
So, node A i-1to next-hop node A ithe probability of transmission success is:
P i (S)≡1-P i (F)=1-(q i) N,i=1,2,…,n (4)
Therefore,, under MUR routing policy, " an IPv6 packet that is divided into M burst is from information source A in chance event 0send and by stay of two nights A nassembled success " " M burst is all by stay of two nights A to be equivalent to chance event nreceive ", its probability is:
P Succ &equiv; &Pi; i = 1 n [ P i ( S ) ] M = &Pi; i = 1 n [ 1 - ( q i ) N ] M --- ( 5 )
Transmitting in successful situation, a burst is from node A i-1to next-hop node A iaverage transmission times be:
N i S &equiv; &Sigma; j = 1 N j [ ( q i ) j - 1 p i ] = p i d d p i ( &Sigma; j = 1 N q i j ) = p i d d p i ( q i [ 1 - q i N ] 1 - q i )
N i S = 1 - ( N + 1 ) q i N + Nq i N + 1 1 - q i - - - ( 6 )
Obtained by formula (1), (2) and (6), transmitting in successful situation, the packet burst of a k bit is from node A i-1to next-hop node A iaverage energy consumption be:
E i S &equiv; k [ 2 E elec + &epsiv; amp d i &gamma; ] 1 - ( N + 1 ) q i N + N q i N + 1 1 - q i - - - ( 7 )
Wherein, d irepresent node A i-1and A ibetween distance.
Therefore, at information source A 0a k bit sliced of sending can arrive stay of two nights A nthis situation, path <A 0, A 1..., A nthe total degree that the upper all nodes of > send packet is
N ( S ) &equiv; &Sigma; i = 1 n N i S = &Sigma; i = 1 n 1 - ( N + 1 ) q i N + Nq i N + 1 1 - q i - - - ( 8 )
Total energy consumption is
E ( S ) &equiv; &Sigma; i = 1 n E i S = k &Sigma; i = 1 n [ 2 E elec + &epsiv; amp d i &gamma; ] 1 - ( N + 1 ) q i N + Nq i N + 1 1 - q i - - - ( 9 )
Can be obtained by formula (6), under MUR routing policy, if an IPv6 packet that is divided into M burst is successfully delivered to stay of two nights A n, from information source A 0send and by stay of two nights A nassembled success, path <A 0, A 1..., A nthe total degree that the upper all nodes of > send packet is
N Total ( S ) &equiv; M &Sigma; i = 1 n N i S = M &Sigma; i = 1 n 1 - ( N + 1 ) q i N + Nq i N + 1 1 - q i - - - ( 10 )
Can be obtained by formula (7), if a bit number is S iPiPv6 packet be successfully delivered to stay of two nights A n, from information source A 0send and by stay of two nights A nassembled success, path <A 0, A 1..., A nthe total energy consumption that the upper all nodes of > send packet is
E Total ( S ) &equiv; S IP &Sigma; i = 1 n [ 2 E elec + &epsiv; amp d i &gamma; ] 1 - ( N + 1 ) q i N + Nq i N + 1 1 - q i - - - ( 11 )
Because a data slice is jumped at j the probability being dropped and is (j=1,2 ..., n), its corresponding transmission times is corresponding energy consumption is N [ 2 E elec + &epsiv; amp d j &gamma; ] + &Sigma; i = 1 j - 1 N i S [ 2 E elec + &epsiv; amp d i &gamma; ] . Therefore, utilize formula (6) to obtain: at information source A 0a k bit sliced of sending fails to arrive stay of two nights A nthis situation, path <A 0, A 1..., A nthe total degree that the upper all nodes of > send packet is
N ( F ) &equiv; &Sigma; j = 1 n ( N + &Sigma; i = 1 j - 1 N i S ) [ P j ( F ) &Pi; i = 1 j - 1 P i ( S ) ]
( 12 )
= &Sigma; j = 1 n ( N + &Sigma; i = 1 j - 1 1 - ( N + 1 ) q i N + Nq i N + 1 1 - q i ) [ P j ( F ) &Pi; i = 1 j - 1 P i ( S ) ]
Overall average energy consumption is
E ( F ) &equiv; &Sigma; j = 1 n k ( N [ 2 E elec + &epsiv; amp d j &gamma; ] + &Sigma; i = 1 j - 1 N i S [ 2 E elec + &epsiv; amp d i &gamma; ] ) [ P j ( F ) &Pi; i = 1 j - 1 P i ( S ) ] - - - ( 13 )
By formula (3), (4) and (12):
N ( F ) &equiv; &Sigma; j = 1 n [ N + &Sigma; i = 1 j - 1 1 - ( N + 1 ) q i N + Nq i N + 1 1 - q i ] ( q j ) N &Pi; i = 1 j - 1 [ 1 - ( q i ) N ] - - - ( 14 )
By formula (3), (4), (6) and (13):
E ( F ) = &Sigma; j = 1 n k ( N [ 2 E elec + &epsiv; amp d j &gamma; ] + &Sigma; i = 1 j - 1 1 - ( N + 1 ) q i N + Nq i N + 1 1 - q i [ 2 E elec + &epsiv; amp d i &gamma; ] ) - - - ( 15 )
&CenterDot; ( q j ) N &Pi; i = 1 j - 1 [ 1 - ( q i ) N ]
With P (S)represent that a burst success is from information source A 0be passed to stay of two nights A nprobability.Can be obtained by formula (4): P ( S ) = &Pi; i = 1 n P i ( S ) = &Pi; i = 1 n [ 1 - ( q i ) N ] . Like this, in M burst, there is t burst to fail to arrive stay of two nights A nprobability be [1-P (S)] t[P (S)] m-t, now, path <A 0, A 1..., A nthe total degree that the upper all nodes of > send packet is tN (F)+ (M-t) N (S).So, obtained by formula (8) and (14): fail to be successfully delivered to stay of two nights A at an IPv6 packet that is divided into M burst ncondition under, path <A 0, A 1..., A nthe total degree that the upper all nodes of > send packet is
N Total ( F ) &equiv; &Sigma; t = 1 M [ t N ( F ) + ( M - t ) N ( S ) ] [ 1 - P ( S ) ] t [ P ( S ) ] M - t
= &Sigma; t = 1 M [ t N ( F ) + ( M - t ) N ( S ) ] ( 1 - &Pi; i = 1 n [ 1 - ( q i ) N ] ) t ( &Pi; i = 1 n [ 1 - ( q i ) N ] ) M - t
= &Sigma; t = 1 M [ t &Sigma; j = 1 n [ N + &Sigma; i = 1 j - 1 1 - ( N + 1 ) q i N + Nq i N + 1 1 - q i ] ( q j ) N &Pi; i = 1 j - 1 [ 1 - ( q i ) N ] - - - ( 16 )
+ ( M - t ) &Sigma; i = 1 n 1 - ( N + 1 ) q i N + Nq i N + 1 1 - q i ] ( 1 - &Pi; i = 1 n [ 1 - ( q i ) N ] ) t ( &Pi; i = 1 n [ 1 - ( q i ) N ] ) M - t
Obtained by formula (6), (9) and (15): be S at a bit number iPiPv6 packet fail to be successfully delivered to stay of two nights A ncondition under, path <A 0, A 1..., A nthe overall average energy consumption that the upper all nodes of > send packet is
E Total ( F ) = &Sigma; t = 1 M [ t E ( F ) + ( M - t ) E ( S ) ] [ 1 - P ( S ) ] t [ P ( S ) ] M - t
= &Sigma; t = 1 M t [ &Sigma; j = 1 n k ( N [ 2 E elec + &epsiv; amp d j &gamma; ] + &Sigma; i = 1 j - 1 1 - ( N + 1 ) q i N + Nq i N + 1 1 - q i [ 2 E elec + &epsiv; amp d i &gamma; ] )
( 17 )
&CenterDot; ( q i ) N &Pi; i = 1 j - 1 [ 1 - ( q i ) N ] + ( M - t ) k &Sigma; i = 1 n [ 2 E elec + &epsiv; amp d i &gamma; ] 1 - ( N + 1 ) q i N + Nq i N + 1 1 - q i ]
&CenterDot; ( 1 - &Pi; i = 1 n [ 1 - ( q i ) N ] ) t ( &Pi; i = 1 n [ 1 - ( q i ) N ] ) M - t
Wherein,
Obtained by formula (5), (10) and (16): under MUR routing policy, an IPv6 packet is from information source A 0to stay of two nights A naverage degree of transitivity be
N avg ( n ) &equiv; P Succ N Total ( S ) + ( 1 - P Succ ) N Total ( F )
= M &Pi; i = 1 n [ 1 - ( q i ) N ] M &Sigma; i = 1 n 1 - ( N + 1 ) q i N + Nq i N + 1 1 - q i + ( 1 - &Pi; i = 1 n [ 1 - ( q i ) N ] M )
&CenterDot; &Sigma; t = 1 M [ t &Sigma; j = 1 n [ N + &Sigma; i = 1 j - 1 1 - ( N + 1 ) q i N + Nq i N + 1 1 - q i ] ( q j ) N &Pi; i = 1 j - 1 [ 1 - ( q i ) N ]
+ ( M - t ) &Sigma; i = 1 n 1 - ( N + 1 ) q i N + Nq i N + 1 1 - q i ] ( 1 - &Pi; i = 1 n [ 1 - ( q i ) N ] ) t ( &Pi; i = 1 n [ 1 - ( q i ) N ] ) M - t
Obtained by formula (5), (11) and (17): under MUR routing policy, an IPv6 packet is from information source A 0to stay of two nights A naverage energy consumption be
E avg ( n ) &equiv; P Succ E Total ( S ) + ( 1 - P Succ ) E Total ( F )
= S IP &Pi; i = 1 n [ 1 - ( q i ) N ] M &Sigma; i = 1 n [ 2 E elec + &epsiv; amp d i &gamma; ] 1 - ( N + 1 ) q i N + Nq i N + 1 1 - q i + ( 1 - &Pi; i = 1 n [ 1 - ( q i ) N ] M )
&CenterDot; &Sigma; t = 1 M t [ &Sigma; j = 1 n k ( N [ 2 E elec + &epsiv; amp d j &gamma; ] + &Sigma; i = 1 j - 1 1 - ( N + 1 ) q i N + N q i N + 1 1 - q i [ 2 E elec + &epsiv; amp d i &gamma; ] )
&CenterDot; ( q j ) N &Pi; i = 1 j - 1 [ 1 - ( q i ) N ] + ( M - t ) k &Sigma; i = 1 n [ 2 E elec + &epsiv; amp d i &gamma; ] 1 - ( N + 1 ) q i N + Nq i N + 1 1 - q i ]
&CenterDot; ( 1 - &Pi; i = 1 n [ 1 - ( q i ) N ] ) t ( &Pi; i = 1 n [ 1 - ( q i ) N ] ) M - t - - - ( 19 ) .
Beneficial effect of the present invention is mainly manifested in: can reduce the energy consumption of node transmission packet, number of retransmissions and the communication delay of packet.
Brief description of the drawings
Fig. 1 is the path examples figure that wireless sensor node forms;
Fig. 2 is that interim assembled node of the present invention is the protocol stack level figure that TAN relates to, and wherein, 1 represents physical layer, and 2 represent MAC layer, and 3 represent adaptation layer, and 4 represent network layer, and 5 represent transport layer, and 6 represent application layer;
Fig. 3 is the energy consumption comparison figure of method of the present invention and MUR.
Embodiment
Below in conjunction with accompanying drawing, the present invention will be further described.
With reference to Fig. 2 and Fig. 3, a kind of wireless transducer network energy saving data transferring method based on 6LoWPAN, described wireless transducer network energy saving data transferring method comprises following process:
First, between information source and the stay of two nights, find an optimum interim assembled node TAN by " TAN finding method ", select the method for interim assembled node TAN as follows:
Step 1: with <A i, A j> represents connected node A iwith node A jlink, with <A 0, A 1..., A n> represents with A 0for information source node, A nfor information destination node and through node A 1, A 2, A 3... and A n-1data package transmission path, altogether n jumps.
Step 2: calculate E by formula (19) avg, and get Min_E=E (n) avg, and remember Best_Pair={ n } (n).
E avg ( n ) &equiv; P Succ E Total ( S ) + ( 1 - P Succ ) E Total ( F )
= S IP &Pi; i = 1 n [ 1 - ( q i ) N ] M &Sigma; i = 1 n [ 2 E elec + &epsiv; amp d i &gamma; ] 1 - ( N + 1 ) q i N + Nq i N + 1 1 - q i + ( 1 - &Pi; i = 1 n [ 1 - ( q i ) N ] M )
&CenterDot; &Sigma; t = 1 M t [ &Sigma; j = 1 n k ( N [ 2 E elec + &epsiv; amp d j &gamma; ] + &Sigma; i = 1 j - 1 1 - ( N + 1 ) q i N + N q i N + 1 1 - q i [ 2 E elec + &epsiv; amp d i &gamma; ] )
&CenterDot; ( q j ) N &Pi; i = 1 j - 1 [ 1 - ( q i ) N ] + ( M - t ) k &Sigma; i = 1 n [ 2 E elec + &epsiv; amp d i &gamma; ] 1 - ( N + 1 ) q i N + Nq i N + 1 1 - q i ]
&CenterDot; ( 1 - &Pi; i = 1 n [ 1 - ( q i ) N ] ) t ( &Pi; i = 1 n [ 1 - ( q i ) N ] ) M - t - - - ( 19 )
Wherein, S iPit is the bit number that IPv6 packet comprises; q iand d irespectively link <A i-1, A ithe packet loss of > and link <A i-1, A ithe distance of > two-end-point, i=1,2 ..., n; M represents the sheet number that IPv6 packet is divided into; N represents the maximum retransmission of MAC layer in one hop link, that is to say, MAC layer is in the time transmitting same packet, if N continuous time is transmitted unsuccessfully, MAC layer just no longer continues to retransmit this packet; E elecrepresent the power consumption of emitter and the every transmission of receiving circuit or recruiting unit's bit; ε amprepresent that emission amplifier transmits at unit square rice the energy that every bit consumes; γ is path loss parameter, and its span is [2,4];
Step 3: get n 1=1;
Step 4: get n 2=n-n 1;
Step 5: calculate E by formula (19) avg(n 1) and E avg(n 2);
Step 6: if E avg(n 1)+E avg(n 2) <Min_E, get Min_E=E avg(n 1)+E avg(n 2), and remember Best_Pair={ n 1, n 2;
Step 7:n 1=n 1+ 1, if n 1<n, forwards step 4 to;
Step 8: if Best_Pair has two value n 1and n 2, will be apart from information source n 1the intermediate node of jumping is chosen for TAN, otherwise, between information source and the stay of two nights, do not establish TAN;
Then, after TAN chooses, information source node A 0packet burst, be then that Mesh-under Routing method sends to TAN all bursts according to the MUR providing in 6LoWPAN agreement; The adaptation layer of the protocol stack of TAN is sent to network layer on all bursts that receive, and it is information source node A that all bursts are assembled into source IPv6 packet by network layer 0the packet sending;
Afterwards, the network layer of TAN is extracted the object IP address of IPv6 packet head, searches routing table and obtains next-hop node address, then be routed to information destination node A by IPv6 packet burst and by MUR n, then, information destination node is assembled into original IPv6 packet the data fragmentation receiving.
Key of the present invention is above-mentioned " TAN finding method ", wherein, calculates E avg(n) be that formula (19) is the core of TAN.In formula (19), there is following parameter: S iPit is the bit number that IPv6 packet comprises; q iand d ibe link <A i-1, A ithe packet loss of > and link <A i-1, A ithe distance of > two-end-point, i=1,2 ..., n; M is the sheet number that IPv6 packet is divided into; N is the maximum retransmission of MAC layer in one hop link; E elecit is the power consumption of the every transmission of emitter and receiving circuit or recruiting unit's bit; ε ampbe that emission amplifier transmits at unit square rice the energy that every bit consumes; γ is path loss parameter.
In above-mentioned parameter, SIP is determined by IPv6 packet, M is set to S iPthe smallest positive integral upper bound of/127 ratios, N is set to the value of attribute macMaxFrameRetries in IEEE 802.15.4 standard, reference literature 2:IEEE Computer Society. " IEEE 802.15.4 Standard for Wireless Medium Access Control (MAC) and Physical Layer (PHY) Specifications for Low-Rate Wireless Personal Area Networks (WPANs) ", 2006, it is IEEE computer society, " IEEE 802.15.4 marks the network medium access control of accurate – – low rate wireless personal area and physical layer specification ", 2006.Node is after sending packet, and the ETX that calculates the wireless link that uses is Expected Transmission Count, then gets q ifor link <A i-1, A ithe inverse of the ETX of >; d iutilize location technology or GPS to determine.In addition, the same with document [1], get E elec=50 to receive joule every bit be nJ/bit; When distance is greater than 87 meters between node, get ε ampthe every square meter of the every bit of=10 skin joule is pJ/bit/m 2, and get γ=2; When distance is not more than 87 meters between node, get ε amp=0.0013pJ/bit/m 4, and get γ=4.
Provide an example below so that energy-saving effect of the present invention to be described.Equate to be q at the packet loss of each link 1=q 2=...=q nunder the condition of=q, formula (18) deformability is:
N avg ( n ) = M [ 1 - q N ] nM n [ 1 - ( N + 1 ) q N + Nq N + 1 ] 1 - q + ( 1 - [ 1 - q N ] nM )
&CenterDot; &Sigma; t = 1 M [ t &Sigma; j = 1 n ( N + ( j - 1 ) [ 1 - ( N + 1 ) q N + Nq N + 1 ] 1 - q ) q N ( 1 - q N ) j - 1 - - - ( 20 )
+ ( M - t ) n [ 1 - ( N + 1 ) q N + Nq N + 1 ] 1 - q ] ( 1 - [ 1 - q N ] n ) t [ 1 - q N ] n ( M - t )
Meanwhile, formula (19) deformability is:
E avg ( n ) = S IP [ 1 - q N ] nM [ 1 - ( N + 1 ) q N + Nq N + 1 ] 1 - q [ 2 nE elec + &epsiv; amp d i &gamma; ] + ( 1 - [ 1 - q N ] nM )
&CenterDot; &Sigma; t = 1 M t [ &Sigma; j = 1 n k ( N [ 2 E elec + &epsiv; amp d j &gamma; ] + [ 1 - ( N + 1 ) q N + Nq N + 1 ] 1 - q [ 2 ( j - 1 ) E elec + &epsiv; amp &Sigma; i = 1 j - 1 d i &gamma; ] ) q N [ 1 - q N ] j - 1
+ ( M - t ) k [ 1 - ( N + 1 ) q N + Nq N + 1 ] 1 - q [ 2 nE elec + &epsiv; amp &Sigma; i = 1 n d i &gamma; ] ] ( 1 - [ 1 - q N ] n ) t [ 1 - q N ] n ( M - t ) - - - ( 21 )
Get E elec=50 to receive joule every bit be nJ/bit, and get ε ampthe every square meter of the every bit of=10 skin joule is pJ/bit/m 2.In addition, get γ=2, d=15, M=10, N=3, and allow q=0.3, and 0.4,0.5. gets n=20, and information source and stay of two nights distance are 20 jumpings.Given " the TAN finding method " according to the present invention, in the time of q=0.4 and q=0.5, the node of jumping apart from information source 10 is chosen for TAN, and in the time of q=0.3, intermediate node is not all chosen for TAN, result of calculation is as shown in Figure 3.As can be seen from Figure 3: method of the present invention is lower than the energy consumption of MUR, and along with the increase of link failure rate q, method of the present invention is more obvious than the Energy Intensity Reduction of MUR.In the time that link failure rate q and n get other value, we can obtain similar conclusion.
The technology of the present invention can be widely used in the wireless sensor network based on IEEE 802.15.4 standard, makes sensor node transmit IPv6 packet with low energy consumption.Because wireless sensor network based on IEEE 802.15.4 standard uses, to exempt from license be that the industrial science medical treatment frequency range ISM of License-free is Industrial, Scientific and Medical frequency range communicates, along with the propelling of Internet of Things, the wireless sensor network based on IEEE 802.15.4 standard will be more and more universal.Therefore, the present invention has broad application prospects.

Claims (1)

1. the wireless transducer network energy saving data transferring method based on 6LoWPAN, is characterized in that: described wireless transducer network energy saving data transferring method comprises following process:
First,, by find an optimum interim assembled node TAN between information source and the stay of two nights, select the method for interim assembled node TAN as follows:
Step 1: with <A i, A j> represents connected node A iwith node A jlink, with <A 0, A 1..., A n> represents with A 0for information source node, A nfor information destination node and through node A 1, A 2, A 3... and A n-1data package transmission path, altogether n jumps;
Step 2: calculate E by formula (19) avg, and get Min_E=E (n) avg, and remember Best_Pair={n} (n);
E avg ( n ) &equiv; P Succ E Total ( S ) + ( 1 - P Succ ) E Total ( F ) = S IP &Pi; i = 1 n [ 1 - ( q i ) N ] M &Sigma; i = 1 n [ 2 E elec + &epsiv; amp d i &gamma; ] 1 - ( N + 1 ) q i N + q i N + 1 1 - q i + ( 1 - &Pi; i = 1 n [ 1 - ( q i ) N ] M ) &CenterDot; &Sigma; t = 1 M t [ &Sigma; j = 1 n k ( N [ 2 E elec + &epsiv; amp d j &gamma; ] + &Sigma; i = 1 j - 1 1 - ( N + 1 ) q i N + Nq i N + 1 1 - q i [ 2 E elec + &epsiv; amp d i &gamma; ] ) &CenterDot; ( q j ) N &Pi; i = 1 j - 1 [ 1 - ( q i ) N ] + ( M - t ) k &Sigma; i = 1 n [ 2 E elec + &epsiv; amp d i &gamma; ] 1 - ( N + 1 ) q i N + Nq i N + 1 1 - q i &CenterDot; ( 1 - &Pi; i = 1 n [ 1 - ( q i ) N ] ) t ( &Pi; i = 1 n [ 1 - ( q i ) N ] ) M - t - - - ( 19 )
Wherein, S iPit is the bit number that IPv6 packet comprises; q iand d irespectively link <A i-1, A ithe packet loss of > and link <A i-1, A ithe distance of > two-end-point, i=1,2 ..., n; M represents the sheet number that IPv6 packet is divided into; N represents the maximum retransmission of MAC layer in one hop link; E elecrepresent the power consumption of emitter and the every transmission of receiving circuit or recruiting unit's bit; ε amprepresent that emission amplifier transmits at unit square rice the energy that every bit consumes; γ is path loss parameter; P succrepresent M the probability that burst is all received by the stay of two nights; be illustrated in path <A under the condition that IPv6 packet is successfully delivered to the stay of two nights 0, A 1..., A nthe upper all nodes of > send the total energy consumption of packet; be illustrated in IPv6 packet and fail to be successfully delivered under the condition of the stay of two nights, path <A 0, A 1..., A nthe upper all nodes of > send the total energy consumption of packet; K represents a bit number that packet is shared; T is summation variable, and it is value t=1 successively, 2 ..., M;
Step 3: get n 1=1;
Step 4: get n 2=n-n 1;
Step 5: calculate E by formula (19) avg(n 1) and E avg(n 2);
Step 6: if E avg(n 1)+E avg(n 2) <Min_E, get Min_E=E avg(n 1)+E avg(n 2), and remember Best_Pair={n 1, n 2;
Step 7:n 1=n 1+ 1, if n 1<n, forwards step 4 to;
Step 8: if Best_Pair has two value n 1and n 2, will be apart from information source n 1the intermediate node of jumping is chosen for TAN, otherwise, between information source and the stay of two nights, do not establish TAN;
Then, after TAN chooses, information source node A 0packet burst, be then that Mesh-under Routing method sends to TAN all bursts according to the MUR providing in 6LoWPAN agreement; The adaptation layer of the protocol stack of TAN is sent to network layer on all bursts that receive, and it is information source node A that all bursts are assembled into source IPv6 packet by network layer 0the packet sending;
Afterwards, the network layer of TAN is extracted the object IP address of IPv6 packet head, searches routing table and obtains next-hop node address, then be routed to information destination node A by IPv6 packet burst and by MUR n, then, information destination node is assembled into original IPv6 packet the data fragmentation receiving.
CN201210179768.0A 2012-05-30 2012-05-30 6LoWPAN-based energy-saving data transmitting method for wireless sensor network Active CN102711211B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210179768.0A CN102711211B (en) 2012-05-30 2012-05-30 6LoWPAN-based energy-saving data transmitting method for wireless sensor network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210179768.0A CN102711211B (en) 2012-05-30 2012-05-30 6LoWPAN-based energy-saving data transmitting method for wireless sensor network

Publications (2)

Publication Number Publication Date
CN102711211A CN102711211A (en) 2012-10-03
CN102711211B true CN102711211B (en) 2014-12-03

Family

ID=46903726

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210179768.0A Active CN102711211B (en) 2012-05-30 2012-05-30 6LoWPAN-based energy-saving data transmitting method for wireless sensor network

Country Status (1)

Country Link
CN (1) CN102711211B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102904954B (en) * 2012-10-15 2015-05-06 浙江工业大学 Reliable fragmented transmission method based on network coding for 6LoWPAN (IPv6 over Low Power Wireless Personal Area Network)
CN103476085A (en) * 2013-09-05 2013-12-25 绍兴文理学院元培学院 Routing method based on 6 LoWPAN
CN103929799B (en) * 2014-04-28 2017-05-24 辽宁大学 Wireless sensor network MAC transmission method applied to bridge monitoring
CN108574970B (en) * 2017-03-07 2020-09-04 华为技术有限公司 Father node selection method, network node and system
CN107094286B (en) * 2017-05-19 2020-06-30 哈尔滨工业大学 Ultra-low power consumption implementation method for sparse flow wireless self-organizing network

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1694429A (en) * 2005-05-20 2005-11-09 北京交通大学 Method for implementing support to paralel transmission of compression packet in IPv6 sensor network
CN102014377A (en) * 2011-01-06 2011-04-13 常熟理工学院 Distributed wireless sensor network-based IPv6 address configuration implementing method
CN102158983A (en) * 2011-05-04 2011-08-17 常熟理工学院 Method for constructing 6LoWPAN wireless sensor network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1694429A (en) * 2005-05-20 2005-11-09 北京交通大学 Method for implementing support to paralel transmission of compression packet in IPv6 sensor network
CN102014377A (en) * 2011-01-06 2011-04-13 常熟理工学院 Distributed wireless sensor network-based IPv6 address configuration implementing method
CN102158983A (en) * 2011-05-04 2011-08-17 常熟理工学院 Method for constructing 6LoWPAN wireless sensor network

Also Published As

Publication number Publication date
CN102711211A (en) 2012-10-03

Similar Documents

Publication Publication Date Title
CN102711211B (en) 6LoWPAN-based energy-saving data transmitting method for wireless sensor network
Chaba et al. Simulation based performance analysis of on-demand routing protocols in MANETs
Long et al. QoS-aware cross-layer mechanism for multiple instances RPL
CN104093187B (en) Multi-gateway wireless Mesh network interference and load aware routing method
CN102904954B (en) Reliable fragmented transmission method based on network coding for 6LoWPAN (IPv6 over Low Power Wireless Personal Area Network)
Garg et al. A study on need of adaptation layer in 6LoWPAN protocol stack
CN106888281A (en) A kind of things-internet gateway and application towards ZigBee radio sensing networks and IPv4 networks
CN105991555A (en) 6LoWPAN-based network connection method and system
Ayadi et al. TCP over low-power and lossy networks: tuning the segment size to minimize energy consumption
Hamrioui et al. Load balancing algorithm for efficient and reliable IoT communications within E-health environment
Yokotani et al. Proposals for packet processing and performance evaluation of IoT devices
Ayadi et al. Implementation and evaluation of a TCP header compression for 6LoWPAN
Anastasi et al. TPA: a transport protocol for ad hoc networks
Li et al. An energy based dynamic AODV routing protocol in wireless Ad Hoc networks
Castelluccia et al. Hash-based dynamic source routing
Brown An analysis of loss-free data aggregation for high data reliability in wireless sensor networks
Zhu et al. The chained mesh-under routing (C-MUR) for improving ipv6 packet arrival rate over wireless sensor networks
Lee et al. Modeling and performance analysis of route-over and mesh-under routing schemes in 6lowpan
Chaba et al. Performance evaluation and analysis of cluster based routing protocols in manets
Samih et al. Impact of TCP congestion control algorithms on IEEE802. 11n MAC frame aggregation
WO2019205878A1 (en) Method for sending message and device for sending message
Ayadi et al. Energy-efficient fragment recovery techniques for low-power and lossy networks
Hashemzehi et al. Comparison of Technical Features of Transport Protocols for Wireless Sensor Networks
Yi et al. Analytic model of stream control transmission protocol
Cui et al. A protocol simplifying mechanism for a WSN Module

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