CN102404716A - Method and device for transmitting data for wireless sensor network based on IP - Google Patents

Method and device for transmitting data for wireless sensor network based on IP Download PDF

Info

Publication number
CN102404716A
CN102404716A CN2010102787193A CN201010278719A CN102404716A CN 102404716 A CN102404716 A CN 102404716A CN 2010102787193 A CN2010102787193 A CN 2010102787193A CN 201010278719 A CN201010278719 A CN 201010278719A CN 102404716 A CN102404716 A CN 102404716A
Authority
CN
China
Prior art keywords
sensor network
virtual private
address
packet
private sensor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2010102787193A
Other languages
Chinese (zh)
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.)
Nokia Shanghai Bell Co Ltd
Alcatel Lucent SAS
Original Assignee
Alcatel Lucent Shanghai Bell Co Ltd
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 Alcatel Lucent Shanghai Bell Co Ltd filed Critical Alcatel Lucent Shanghai Bell Co Ltd
Priority to CN2010102787193A priority Critical patent/CN102404716A/en
Publication of CN102404716A publication Critical patent/CN102404716A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention relates to a method and a device for transmitting data for wireless sensor network based on IP. The embodiment divides the devices in the wireless sensor network into different virtual special sensor networks based on logic and identifies the networks by virtual special sensor network identifiers for realizing network virtualization. The embodiment provides a method for transmitting data for wireless sensor network based on IP, which comprises the following steps of: receiving data grouping; the data grouping comprises virtual special sensor network identifiers related with the device and target address in the short address form of the virtual special sensor network; restoring the target IP address based on the virtual special sensor network identifiers and the target address in the short address form of the virtual special sensor network from the received data grouping; and confirming whether the target address is matched with the current address and operating based on the confirmed result. The method can share the physical wireless sensor network by lower communicating expense, and reduce the setting and operating cost of wireless sensor network service suppliers and the wireless sensor network operators.

Description

Be used for carrying out the method and apparatus of transfer of data at IP-based wireless sensor network
Technical field
Put it briefly, the embodiment of the invention relates to wireless sensor network.More specifically, the embodiment of the invention relates to IP-based wireless sensor network, for example an IPv6 low-power wireless territory net 6LoWPAN.
Background technology
Along with the quick progress of technology such as sensor technology, MEMS, network and radio communication, wireless sensor network has also emerged in large numbers the development of making rapid progress.Thereby wireless sensor network can obtain the information obtaining ability that objective physical message has been expanded people; And the physical message of objective world linked together with the transmission network; In next generation network, will provide the most directly for people, the most effectively, the most real information; Therefore wireless sensor network has very wide application prospect, can be applied to for example extensive fields such as military and national defense, industrial or agricultural control, city management, biologic medical, environment measuring, rescue and relief work, deathtrap Long-distance Control.
To in billions of a large amount of Internet users, if together the time, then in fact can more significant service be provided to these Internet users with wireless sensor network and TCP/IP network integration.Thought because of the resource limit of wireless sensor network strictness and extreme communication condition that the ICP/IP protocol stack was not suitable for wireless sensor network in the past.Yet the 6LoWPAN of internet engineering task group (an IPv6 low-power wireless territory net) working group has fundamentally solved this problem through introducing adaptation layer to support effective I P (v6) communication on the IEEE802.15.4 Radio Link.Because sensor network utilizes a low rate and a low-power wireless territory net (LoWPAN) to form usually, so though IEEE 802.15.4 agreement is not specifically to develop to wireless sensor network, also be very suitable for wireless sensor network.In addition, because IPv6 has been an Internet Protocol next generation by well recognized, the 6LoWPAN method also can keep and following internet synchronized development and the evolution, therefore in wireless sensor network, is widely used.
Fig. 1 is the schematic block diagram of 6LoWPAN network of the prior art.In network 100, can comprise PAN telegon A, common telegon B, C, D, E and F with and separately sensor device, for example b1, b2...b5 and c1 etc.PAN telegon A initiates whole network as Centroid, and other nodes can be used as its child node and join in the network, and two or more nodes constitute a Wireless Personal Network in its range of signal, in this network, can also comprise other PAN.On logic function, can the equipment the network 100 be divided into full-function device FFD and partial function device RF D.Full-function device FFD possesses all characteristics of IEEE 802.15.4 agreement regulation; Can be used as network coordinator is Centroid; Network coordinator can be in different PAN networks route data, the router of route is other node for data forwarding in the PAN network in the middle of also can be used as usually.And partial function device RF D only possesses the part of functions of IEEE 802.15.4 agreement regulation, in individual territory net PAN, only as end node, has only the transmission and the receiving function of data, and sensor device is generally RFD equipment.It will be appreciated by those skilled in the art that; Be merely illustrative purpose; But not limit it, above-mentioned network can be not limited to the partial function equipment of above full-function device and given number, the suitable variation that can carry out quantitative increase and decrease according to the actual requirements and connect.
In the prior art, the service provider oneself develops the wireless sensor network of physics usually, and this restriction owing to cost is not enough to provide effectively its service.Along with the meticulous division of labor of society, it is a kind of trend that improves the service of public wireless sensor network that the wireless sensor network service provider cooperates with the company that is devoted to provide and develop the wireless sensor network of physics.Yet, do not have the scheme of between different service providers, sharing the wireless sensor network (network 100 for example as shown in Figure 1) of identical physics in the prior art.In order to satisfy different service providers' requirement; The most directly scheme is exactly that the wireless sensor network manager has to install additional physical sensors network infrastructure (for example can comprise the other network 100 ' of full-function device such as A ', B ', C ', D ' and other partial function equipment etc.) and supports a plurality of wireless sensor network service providers, and realizes the route segmentation therein.Yet this scheme has greatly increased exploitation and operation cost, is uneconomic scheme therefore.
Possible scheme in addition can consider to adopt wireless VLAN (VLAN).For traditional wireless VLAN; Can utilize different service set identifier (SSID) or the VLAN ID (vlan identifier) of distribution to classify and divide into groups from the same group user not, this service set identifier or VLAN ID can be mapped to the different radio VLAN on the access point (AP).Yet, when the Intel Virtualization Technology of VLAN is introduced wireless sensor network, possibly cause address space overlapping, the transducer that promptly belongs to different virtual sensor special network can have identical IP address in a physical sensors network.In addition, wireless VLAN is not considered the resource limit in the wireless sensor network, thereby uses such technical sensor network virtualization can cause extra huge communication overhead, can't become the scheme of a practicality.Therefore, wireless VLAN is virtual for wireless sensor network is unsuitable.So far, these problems are not also for example considered among the 6LoWPAN in IP-based network.
Therefore, have the needs of between different service providers, sharing the wireless sensor network of identical physics effectively, thereby reduction is for service provider and the both sides' of network infrastructure operator cost.
Summary of the invention
Below provide summary of the invention so that the basic comprehension of some aspects of the present invention to be provided.Summary of the invention is not an extensive overview of the present invention.It both had been not used in sign main or key component of the present invention, did not also define scope of the present invention.Following summary of the invention only provides notions more of the present invention with reduced form, as the preorder of later embodiment part.
The method that relates in one aspect to a kind of control data transmission in IP-based wireless sensor network of the embodiment of the invention; Can comprise: confirm the virtual private sensor network identifier and the virtual private sensor network short address of said device association at the sensor device place, wherein said virtual private sensor network identifier is used to discern the virtual private sensor network of said equipment ownership; Source address and destination address through inserting said virtual private sensor network identifier and corresponding virtual private sensor network short address form encapsulate the packet that said equipment will send; And send said packet.
The other aspect of the embodiment of the invention relates to a kind of method of control data transmission in IP-based wireless sensor network; Can comprise: receive data from equipment; And the virtual private sensor network identifier and the virtual private sensor network short address of definite said device association, wherein said virtual private sensor network identifier is used to discern the virtual private sensor network of said equipment ownership; Source address and destination address through in the data that receive, inserting said virtual private sensor network identifier and corresponding virtual private sensor network short address form come encapsulated data packet; And transmit said packet.
The other aspect of the embodiment of the invention relates to a kind of method of control data transmission in IP-based wireless sensor network; Can comprise: receive packet, wherein said packet comprises the virtual private sensor network identifier of device association and the destination address of virtual private sensor network short address form; Destination address based on said virtual local area network identifiers in the packet that receives and VLAN short address form comes recovery purposes IP address; Confirm whether said destination address matees the current address; And operate based on the result who confirms.
The other aspect of the embodiment of the invention relates to a kind of sensor device, can comprise: transducer is used for image data; Input/output unit is used for receiving and sending data; Control device; Be used for the virtual private sensor network identifier and the virtual private sensor network short address of said device association are stored in storage device, and encapsulate the packet that said equipment will send through source address and the destination address that in the data that will send, inserts said virtual private sensor network identifier and corresponding virtual private sensor network short address form; And storage device, be used for the virtual private sensor network identifier, virtual private sensor network short address of memory allocation and the routing iinformation of related virtual private sensor network.
The other aspect of the embodiment of the invention relates to a kind of equipment, can comprise: input/output unit is used for receiving and sending data; Control device; Be used for confirming the virtual private sensor network identifier and the virtual private sensor network short address of sensor device association; And through receive from the data of said sensor device in insert said virtual private sensor network identifier and corresponding virtual private sensor network short address form source address come encapsulated data packet to send with destination address, wherein said virtual private sensor network identifier is used to discern the virtual private sensor network that said sensor device belongs to.
The other aspect of the embodiment of the invention relates to a kind of equipment, comprising: input/output unit is used for receiving and sending data; Control device; Be used for route and forwarding are carried out in the packet that receives; Wherein said control device further comprises: de-encapsulating devices is used for coming recovery purposes IP address based on the said virtual local area network identifiers of the packet that receives and the destination address of VLAN short address form; Judgment device is used for the address of confirming whether said destination address matees said equipment; And processing unit, be used for operating based on the result who confirms.
The other aspect of the embodiment of the invention relates to a kind of device that is used in IP-based wireless sensor network control data transmission; Can comprise: be used for confirming at the sensor device place virtual private sensor network identifier of said device association and the device of virtual private sensor network short address, wherein said virtual private sensor network identifier is used to discern the virtual private sensor network of said equipment ownership; Be used for the device that source address and destination address through inserting said virtual private sensor network identifier and corresponding virtual private sensor network short address form encapsulates the packet that said equipment will send; And the device that is used to send said packet.
The other aspect of the embodiment of the invention relates to a kind of device that is used in IP-based wireless sensor network control data transmission; Can comprise: be used to receive data from equipment; And confirm that the virtual private sensor network identifier of said device association and the device of virtual private sensor network short address, wherein said virtual private sensor network identifier are used to discern the virtual private sensor network of said equipment ownership; The device of the packet that is used for encapsulating reception through source address and the destination address that inserts said virtual private sensor network identifier and corresponding virtual private sensor network short address form; And the device that is used to transmit said packet.
In an embodiment of the present invention; Said IP-based wireless sensor network can be preferably the low-power wireless territory net based on IPv6; Said virtual private sensor network identifier can be preferably virtual territory net identifier, and said virtual private sensor network short address can be preferably net short address, virtual territory.
In an embodiment of the present invention, said IP-based wireless sensor network can be preferably the wireless sensor network based on IPv4.
In an embodiment of the present invention, said method can also come compressed data packet based on virtual encoder.
Description of drawings
Can be through obtaining more complete understanding of the present invention and advantage thereof with reference to the following explanation of considering accompanying drawing, wherein similarly label is indicated similar characteristic, and wherein:
Fig. 1 illustration the schematic framework of IPv6 low-power wireless sensor network of the prior art;
Fig. 2 has schematically shown the network environment according to an IPv6 low-power territory net (6LoWPAN) of the virtual method of realizing embodiments of the invention therein of the embodiment of the invention;
Fig. 3 has schematically shown the structured flowchart according to the sensor device of the embodiment of the invention;
Fig. 4 has schematically shown the block diagram as a result according to the intermediate equipment of the embodiment of the invention;
Fig. 5 illustration according to the coded format based on 6LoWPAN of the embodiment of the invention;
Fig. 6 illustration according to the embodiment of the invention in based on 6LoWPAN as shown in Figure 2, adopt the form of coded data transmission as shown in Figure 5;
Fig. 7 illustration according to the flow chart of the method for sending at the sensor device controlling data of the embodiment of the invention;
Fig. 8 illustration according to the flow chart of the method for sending at the intermediate equipment controlling data of the embodiment of the invention;
Fig. 9 illustration according to the flow chart in the method for intermediate equipment controlling data transmission of the embodiment of the invention; And
Figure 10 illustration according to the form of in wireless sensor network, encoding of the embodiment of the invention based on IPv4.
Embodiment
Describe embodiments of the invention below with reference to accompanying drawings in detail.Run through this specification in full, refer to characteristic, advantage or similarly wording be not mean all characteristics that can utilize the present invention and realize and advantage should or in any single embodiment of the present invention.On the contrary, be appreciated that relating to characteristic means with the wording of advantage and combine the described concrete characteristic of embodiment, advantage or characteristic to comprise at least one embodiment of the present invention.Thereby, run through this specification in full, to the discussion of feature and advantage and similarly wording can refer to same embodiment, but the same embodiment of the definiteness that differs.In addition, described characteristic of the present invention, advantage and characteristic can merge in one or more embodiments in any suitable manner.Those skilled in the relevant art will recognize that, can under the situation of one or more concrete characteristic that does not have specific embodiment or advantage, put into practice the present invention.In other instance, can realize the feature and advantage of adding in certain embodiments, it not necessarily comes across among all embodiment of the present invention.
In order to realize sharing the wireless sensor network architecture of physics, the present invention has provided a kind of solution based on Intel Virtualization Technology.Through introducing virtualized notion; With the apparatus logic in the IP-based wireless sensor network be allocated to different virtual private wireless sensor network VPSN; These a plurality of virtual private wireless sensor networks can belong to different service providers or the identical service provider with different demands; And be that this VPSN distributes different identifiers, thereby all the sensors equipment that belongs to a VPSN can interconnect each other and separate fully with other VPSN.
In an embodiment of the present invention, for the sake of clarity, will be that the basis describes with the 6LoWPAN network.The physical layer and the MAC layer of 6LoWPAN network using IEEE 802.15.4 agreement regulation; On network layer, use the IPv6 of IETF regulation; And on the adaptation layer between IPv6 network layer and the MAC layer, the support to IPv6 is provided; For the purpose of concise and to the point, the related content that relates to IEEE 802.15.4 agreement by reference is herein incorporated, and repeats no more at this.
Fig. 2 has schematically shown the network environment of netting according to the low-power territory based on IPv6 of realizing virtual method of the present invention therein of the embodiment of the invention.As shown in Figure 2, network 200 can comprise that PAN ID is 1 PAN 1, and it comprises network coordinator 21, common telegon 22,23,24,25 and 26 and partial function equipment separately (perhaps sensor device, for example 221,221,223,224 and 225).
In an embodiment of the present invention, can with equipment 22,23 and 24 with and separately partial function equipment (being sensor device) be set to a virtual private sensor network (VPSN).So-called virtual private sensor network VPSN; Be meant the network that the transducer that in the common sensor network, belongs to same logic groups is formed; The sensor network of this virtual composition utilizes the common sensor network to realize special-purpose sensor network service, just as same independently sensor network.In embodiments of the present invention; This VPSN can be virtual private sensor network VPSN 1; Be VPSN ID=1, and equipment 24,25 and 26 with and partial function equipment be set to another virtual private sensor network (can be VPSN 2 at this, i.e. VPSN ID=2).
It will be appreciated by those skilled in the art that; Above-mentioned only illustration an instance being provided with of virtual private sensor network; The equipment that can also belong among the different PAN is set to a virtual private sensor network (being equivalent to a group); Physical equipment in the network can divide into groups such as but not limited to task, operator, transmission medium, geographical position of living in etc. based on certain demand for services and rule.
In an embodiment of the present invention, can use the VPSN ID of 8 bits to identify the virtual private sensor network.Wherein, VPSN ID=1 is used to identify the VPSN (VPSN of acquiescence has and only have) of acquiescence, all the other VPSN ID can but be not limited to adopt mode at random to distribute to all VPSN.
In an embodiment of the present invention, for the node in the VPSN, can adopt the short address of 16 bits to identify.Distribute 16 bit short addresses rule can but be not limited to: the time order and function order by adding this VPSN is distributed to each sensor network nodes successively; If add a collection of sensor node at synchronization, the size order that then is converted into behind the 10 system numbers according to its global IPv 6 unicast address distributes successively.Can also carry out the distribution of address based on certain existing algorithm, for example hash algorithm repeats no more at this.
It will be appreciated by those skilled in the art that; VPSN ID can also take the bit of other numbers; Also can be based on the ability of the capacity of system and equipment and is set to the bit of other numbers in the short address of VPSN; Even can also use a few positions in the short address to identify VPSN ID, certainly, this has limited the scale of VPSN.
Fig. 3 has schematically shown the structured flowchart according to the sensor device of the embodiment of the invention.As shown in Figure 3, sensor device 30 can comprise transducer 31, input/output unit 32, control device 33 and storage device 34.Transducer 31 is used for image data.Input/output unit 32 is used for receiving and sends data, also i.e. transmission/receiving system.Storage device 34 is used to store the data from the collection of transducer 31, and virtual PSN distributes to the VPSN identifier and the corresponding virtual private sensor network short address of sensor device 30.Alternatively, storage device 34 can also be stored the routing iinformation of related virtual private sensor network.Control device 33 is used for the transfer of data based on desired data transformat and routing iinformation control sensor device 30.This will combine Fig. 5-9 to describe in detail below.
Fig. 4 has schematically shown the block diagram as a result according to the intermediate equipment of the embodiment of the invention.As shown in Figure 4, intermediate equipment 40 comprises input/output unit 41, is used for receiving and sending data; And control device 42, be used for carrying out the packet encapsulation from the data of sensor device and transmitting.This operation will combine Fig. 5-9 to describe in detail below.Intermediate equipment 40 can also comprise storage device, VPSN ID, VPSN short address and/or the overall routing table that is used for memory allocation with and the routing table of the virtual private sensor network of ownership.
In an embodiment of the present invention, intermediate equipment 40 can also be carried out the route of packet as router.In an embodiment of the present invention, the control device of intermediate equipment 40 can comprise: de-encapsulating devices is used for coming recovery purposes IP address based on the said virtual local area network identifiers of the packet that receives and the destination address of VLAN short address form; Judgment device is used for the address of confirming whether said destination address matees said equipment; And processing unit, be used for operating based on the result who confirms.Its operation will be discussed in further detail below.
In an embodiment of the present invention; Because wireless sensor network resource-constrained and power consumption are lower; In order to satisfy its requirement; IP-based wireless sensor network also need be implemented under low rate and low power condition, so need reduce expense and storage requirement to satisfy these resource limit and multi-hop characteristic at the Intel Virtualization Technology of IP-based wireless sensor network.
In an embodiment of the present invention, propose a kind of new header-compressed encoding scheme (virtual encoder), be called PSN_VNC.In this programme, can with VPSN ID, source, the destination address compressed IP packet header of coming together.The design of this scheme is following:
Before the IP header, insert the PSN_VNC head; First field indication coded system is the PSN_VNC type in this PSN_VNC head; And the rightmost bit of this first field is set to the VID position and has or not extended field with indication, and for example 1 expression has extended field, and 0 be no extended field; Second field is a code field, and indication is to the encoding compression rule of IP header.When the rightest bit indication of first field has extended field (this bit value is 1), the 3rd field is the VPSN id field, the identifier of the VPSN under indicating.
Be the thought that example is described this encoding scheme in detail below with 6LoWPAN.Although with 6LoWPAN is the realization that example specifically describes this encoding scheme, to those skilled in the art, be appreciated that this PSN_VNC encoding scheme can also carry out the change on details (for example amount of bits) and the function.
Table 1 is the form of the basic header of IPv6, and is as shown in table 1, has the network level information that can when receiving, from the domain of dependence of link level 802.15.4 header, obtain in the IP header, and these information are redundant or unnecessary network level information.In order effectively to reduce expense, need in cataloged procedure, remove the redundant or unnecessary network level information in the IP header.
Figure BSA00000265510400101
The basic header of table 1IPv6 is formed
Situation useful in the 6LoWPAN network is: can for example infer loaded length the frame length byte of IEEE802.15.4 physical layer from low layer information more; Jumping limit is set to given value by the source; The link local address uses the interface identifier of creating according to 16 short addresses of IEEE 802.15.4 to generate; And by seamless IPv6 automatically configuration generate global unicast address through the combination global prefixes with based on the unique identifier address (EUI-64) that the IEEE of interface expands.
As shown in Figure 5, the PSN_VNC encoding scheme of proposition can comprise the distribution of first field field, the second code field field and additional VPSN id field.1-6 bit dispensed value in first field distribution (dispatch) field is set to the dispensed value 0101111 that this standard is reserved; Be expressed as the PSN_VNC coding based on IPv6, the 7th bit VID (virtual identifier extension) indicates whether to use 8 additional bit VPSN ID extended fields.When VID=0, represent that this is encoded to the basic coding mode, 2 octets are long, and not additional VPSN ID extended field is because use default VPSN ID value so that header overhead can further reduce (referring to Fig. 6 a) for this situation.Work as VID=1,8 additional bit VPSN ID extended fields are immediately following DAM field (referring to Fig. 6 b).
In the second code field field, utilize 8 bits to indicate processed compressed to the IP header.At code field, whether TF bit indicating services classification and stream label are zero and are omitted or are not compressed.Whether next header of NH bit indication is compressed or inline (in-line) transportation.Whether value of taking for example 1,64 or 255 and be compressed or inline transportation of restriction is jumped in HLIM (taking 2 bits) bit indication.SAM (DAM) bit (respectively accounting for 2 bits) is indicated source (purpose) address pattern respectively, for example can have following meaning: 00:128 bit, 01:64 bit, 10:16 bit and 11:0 (MAC Address and IP address correlation and be communicating by letter between RFD and its FFD) in this case bit.
Through this virtual encoder compression scheme, can reduce the byte number of IP header, thereby effectively reduce the communication overhead of sensor network.
As shown in Figure 6, there is not whole abridged ipv6 header field to be placed as immediately following after the PAN_VNC.
When the initialization of virtual private wireless sensor network; Virtual network operator has disposed the VPSN mapping table; For the devices allocation among this VPSN VPSN ID and VPSN short address (method referring to foregoing description repeats no more at this), and set up the mapping relations with the IP address.
VPSNID The 16-bit short address The IP address
1 (default) 1 2001:A800:200C:417A:0217:3B00:1122:3344/64
1 2 2003:03B3:7654:FE03:0321:114F:F344:1234/64
... ... ...
1 N 2005:A3B1:305C:F09E:0221:1C7E:D321:1122/64
2 1 2001:A800:200C:417A:0217:3B00:4433:2211/64
2 2 2003:03B3:7654:FE03:0334:134F:5723:6732/64
... ... ...
2 L 2005:A3B1:305C:F09E:273C:14CB:973A:5566/64
... ... ...
M 1 2005:A3B1:305C:F09E:8C6D:1123:875E:7788/64
... ... ...
Table 2 address mapping table
As shown in table 2, can identify the particular device of particular virtual sensor special network uniquely through the short address of VPSN ID and VPSN, and set up mapping relations, thereby eliminate the address space conflicts problem with its IP address.
In an embodiment of the present invention, be the design that example is described scheme of the present invention with 6LoWPAN, those skilled in the art will appreciate that in the situation of other application networks, can also adopt other address to set up mapping relations.
Fig. 6 a illustration be the form of default transfer of data according to the VPSN ID of the embodiment of the invention.Fig. 6 b illustration according to an embodiment of the invention VPSN ID be the form of the transfer of data of particular value.Shown in Fig. 6 a, 6b, in an embodiment of the present invention, on the form of IEEE 802.15.4 header, the IP header is compressed, and in the virtual private sensor network, transmit according to coded format shown in Figure 5.
In an embodiment of the present invention; Wireless sensor network can also merge with IPv4; The embodiment of the invention also can be shared the wireless sensor network framework based on IPv4 through Intel Virtualization Technology; Then, will change accordingly coded system and map addresses mode, like following detailed description according to virtualized principle of the present invention.
Figure 10 illustration the form of encoding in the wireless sensor network based on IPv4.Shown in figure 10, it also comprises a distribution field, and this dispensed value also can be selected based on the dispensed value of reserving in its standard, is expressed as the virtual encoder based on IPv4 similarly.In this distribution field, also comprise the VID bit, implication is identical with the situation of IPv6, repeats no more at this.
To those skilled in the art, can also in the distribution field, 1 bit be set, indicate version number (for example IPv4 or IPv6).
The implication of each bit is following in its code field: SAM (DAM) bit is indicated source (purpose) address pattern respectively, for example is set to 0 and can representes that address, source (purpose) is inline transportation; Be that address, 1 expression source (purpose) utilizes 16 short address transportations.The FRG bit can be set to 0, and the fragment (Fragmentation field) of expression IPV4 is inline transportation; Be 1 the expression IPv4 fragment compressed (be MV=0, DF=0Fragment Offset=0, Id=0).The IHL bit is 0 o'clock, and the header length field (IP Header Length Field) of then representing IPv4 is with inline transportation; The header length field that is 1 expression IPv4 has compressed (being IHL=5).The TOS bit be 0 the expression IPv4 type of service field (Type of Service Field) with inline transportation; Be that to have compressed (be Precedence=000 for the type of service field of 1 expression IPv4; D=0; T=0; R=0).NH bit (2) be represented IPv4 at 00 o'clock next protocol header fields (Next Header/Protocol field) with inline transportation; Next protocol header that is 01 expression IPv4 is that UDP (is Protocol=17, UDP); Next protocol header that is 10 expression IPv4 is that ICMP (is Protocol=1, ICMP); Be 11 and represent that representing next protocol header is that TCP (is Protocol=6, TCP).The NMH bit is to represent not have the compression bit of next protocol header at 0 o'clock; Be the compression bit that 1 expression has next protocol header, and will select corresponding header compression mode according to the value of NH position (2 bits).
In an embodiment of the present invention, in based on the wireless sensor network of IPv4, carry out virtual, will and above-mentioned 32 bit address of setting up VPSN ID, VPSN short address and IPv4 similarly between mapping, repeat no more at this.
It will be understood by those skilled in the art that Intel Virtualization Technology in the embodiment of the invention can carry out the distortion of similar form and details and is applied in the various IP-based wireless sensor networks.
To combine Fig. 7-9 to describe the process of in IP-based wireless sensor network, using virtual VPSN ID and address to carry out transfer of data and control of the embodiment of the invention in detail below.Following indicative flowchart is generally set forth as logical flow chart.Therefore, an embodiment of the step of shown order and the institute's mark method representing to be proposed.Can expect being equivalent to the one or more steps of described method or other step and the method for its part aspect function, the logic OR effect.In addition, form that is adopted and symbol provide for the logic step of explaining this method, and are understood that not limit the scope of this method.Although in flow chart, can adopt the various arrow types and the line style of type, yet they are understood that not limit the scope of corresponding method.In fact, some arrow or other connector possibly only be used to indicate the logic flow of this method.For example, the wait of unspecified duration or supervision phase between the listed step of method shown in arrow can be indicated.In addition, the order that ad hoc approach takes place can in strict accordance with shown in the order of corresponding step, perhaps, can be not in strict accordance with shown in the order of corresponding step.
Fig. 7 illustration the flow chart of the method for sending according to the control data in IP-based sensor network of the embodiment of the invention.
In an embodiment of the present invention; When netinit; Just in intermediate equipment (being FFD equipment), keep overall routing table in the 6LoWPAN situation, also keep routing table and address mapping table, so that each VPSN is carried out route separation and special-purpose with respect to specific VPSN.In addition, on sensor device (for example RFD equipment), also preserve small routing table, the address of next jumping of its indication in this virtual private sensor network with respect to intermediate equipment.
In an embodiment of the present invention, for example in the 6LoWPAN network context, going up all groupings that receive in intermediate equipment (full-function device FFD) can identify through its VPSN ID value beyond all doubtly.And so-called routing table specific to VPSN defines the routing table of the virtual private sensor network of this VPSN ID indication, and it only uses (being not different with common routing table) by a specific VPSN, and separates fully with the routing table of other VPSN.Like this, can reduce the scale of routing table, reduce the time of searching, and with other VPN logic isolation, can not cause interference to other service providers yet.
As shown in Figure 7, confirm the identifier and the virtual private sensor network short address of related virtual private sensor network at step S710 sensor device 30.This can confirm through the VPSN ID and the VPSN short address of fetching distribution from storage device.Perhaps can ask VPSN ID and the VPSN short address distributed to network manager.
At step S720, the data that source address that can be through inserting this VPSN ID and virtual private transducer short address and destination address come sealed in unit to send.In an embodiment of the present invention, also can adopt 128 IP address to replace the short address.To those skilled in the art, this also can carry out the IP address at the intermediate equipment place to the mapping of short address and carry out route.
In an embodiment of the present invention, can encapsulate this sensing data at the sensor device place.As shown in Figure 5, can adopt this encoding scheme to come the IP header is carried out compressed encoding.If VID is 0, then VPSN ID defaults to 1, and increases the destination address of distribution byte, VNC byte and 16 bits and the virtual header of source address shown in Fig. 6 a, for the data message of compression.In an embodiment of the present invention, for VPSN ID be 1, source address is 0001, destination address is that 0002 corresponding source IP address is that 2001:A800:200C:417A:0217:3B00:1122:3344/64, purpose IP address are 2003:03B3:7654:FE03:0321:114F:F344:1234/64.
In an embodiment of the present invention; Shown in Fig. 6 b; In adopting cataloged procedure as shown in Figure 5; VID=1, then for VPSN ID=2, source address be 0001, destination address is that 0002 corresponding source IP address is that 2001:A800:200C:417A:0217:3B00:4433:2211/64, purpose IP address are 2003:03B3:7654:FE03:0334:134F:5723:6732/64.Come to increase the destination address of distribution byte, VNC byte and 16 bits and the virtual header of source address through adopting this coded system to the data message of compression.
At last, at step S730, send said packet.In an embodiment of the present invention, sensor device sends to the intermediate equipment of its next jumping with packaged packet, and by it according to transmitting or handle specific to the routing table of this VPSN.
In an embodiment of the present invention, can also be in the go forward side by side transmission of line data of this sensing data of intermediate equipment place encapsulation.As shown in Figure 8, receive data in step S810 intermediate equipment from its sensor device, for example FFD receives the data from its RFD, and extracts VPSN ID and address.
At step S820, as stated, come encapsulated data packet through increase the destination address of distribution byte, VNC byte and 16 bits and the virtual header of source address to the data message that compresses, its operation and last similar is repeated no more at this.
At last, carry out the forwarding of packet at step S830.
To those skilled in the art, through between VPSN ID, 16 short addresses and global unicast address, setting up mapping, can recover the address information of compression according to the mapping table at intermediate equipment place.And the mapping of the operation of forwarding of data and route between VPSN ID, VPSN short address and IP address, all the other and principle of the prior art are similar, for the purpose of concise and to the point, repeat no more at this.
In an embodiment of the present invention, can be for the sensor device that is in different virtual sensor special network, wait based on task or service and to select suitable virtual private sensor network, promptly select suitable VPSN ID and VPSN short address.For example can be in VPSNID be among 1 the virtual PSN to the equipment among Fig. 2 24; Also can be in VPSN ID and be among 2 the virtual PSN; When sending data,, then select so to its suitable virtual PSN transmission data based on control signal (in this signal, having pointed out the VPSN that it is suitable) to it.And based on its routing table, next jumps its packet of intermediate equipment transmission to it.
Fig. 9 illustration according to the flow chart in the method for intermediate equipment controlling data transmission of the embodiment of the invention.As shown in Figure 9, receive packet at step S910, wherein said packet comprises the virtual private sensor network identifier of device association and the destination address of virtual private sensor network short address form.
Come recovery purposes IP address at step S920 based on the destination address of said virtual local area network identifiers in the packet that receives and VLAN short address form.In an embodiment of the present invention, can carry out decapsulation, and extract virtual local area network identifiers and destination address in the packet that receives, and come the recovery purposes address according to the address mapping table of preserving to this packet.
Afterwards, confirm at step S930 whether said destination address matees current address (the for example IP address of intermediate equipment).
At last, operate based on the result who confirms at step S940.In an embodiment of the present invention, if the matching destination address of recovering in current address, promptly the recipient is the destination, can extract data and handles accordingly.If the address does not match, then the recipient continues to transmit.
In an embodiment of the present invention; The control device 33 of sensor device 30 can be realized the step in the said method; For example it can be configured to the virtual private sensor network identifier and the virtual private sensor network short address of said device association are stored in storage device, and encapsulates the packet that said equipment will send through source address and the destination address that in the data that will send, inserts said virtual private sensor network identifier and corresponding virtual private sensor network short address form.
In an embodiment of the present invention; The control device 42 of intermediate equipment 40 can be realized the step in the said method; Can be configured to confirm the virtual private sensor network identifier and the virtual private sensor network short address of sensor device association; And through receive from the data of said sensor device in insert said virtual private sensor network identifier and corresponding virtual private sensor network short address form source address come encapsulated data packet to send with destination address, wherein said virtual private sensor network identifier is used to discern the virtual private sensor network that said sensor device belongs to.
Selectable; The control device 42 of intermediate equipment 40 can be realized the step in the said method; Said control device can further comprise: de-encapsulating devices is used for coming recovery purposes IP address based on the said virtual local area network identifiers of the packet that receives and the destination address of VLAN short address form; Judgment device is used for the address of confirming whether said destination address matees said equipment; And processing unit, be used for operating based on the result who confirms.
Virtualization scheme in the embodiment of the invention can be shared the wireless sensor network architecture of physics effectively and significantly reduce service provider and the both sides' of architecture operator configuration and operation cost; And alleviate expense to adapt to the actual demand of the virtual of wireless sensor network and IP packet header compression with address information through comprehensive compression is virtual, therefore be with a wide range of applications.
One or more aspect of the present invention can realize in the computer executable instructions of being carried out by one or more computers or other equipment (for example in one or more program modules).Carry out particular task when usually, program module is included in and is carried out by the processor in computer or other equipment or realize the routine, program, object, parts, data structure etc. of particular abstract.Computer executable instructions can be stored on the computer-readable medium (for example hard disk, CD, movable storage medium, solid-state memory, RAM etc.).Those skilled in the art will realize that the function of or allocator module capable of being combined according to the expectation of each embodiment.In addition, can be integrally or partly in firmware or hardware equivalents (for example integrated circuit, field programmable gate array (FPGA), application-specific integrated circuit (ASIC) (ASIC) etc.), realize function.
Embodiment comprises any novel features or characteristics combination clear or general description arbitrarily here.Although, those skilled in the art will realize that to have said system and technological various distortion and arrangement in conjunction with containing and being useful on the particular instance that realizes present preferred implementation of the present invention and having described embodiment.Therefore, liking claim enclosed sets forth and explain the spirit and scope of the present invention widely.

Claims (12)

1. method that control data sends in IP-based wireless sensor network comprises:
Confirm the virtual private sensor network identifier and the virtual private sensor network short address of said device association at the sensor device place, wherein said virtual private sensor network identifier is used to discern the virtual private sensor network of said equipment ownership;
Source address and destination address through inserting said virtual private sensor network identifier and corresponding virtual private sensor network short address form encapsulate the packet that said equipment will send; And
Send said packet.
2. the method for claim 1; Wherein said IP-based wireless sensor network is the low-power wireless territory net based on IPv6; Wherein said virtual private sensor network identifier is a virtual territory net identifier, and said virtual private sensor network short address is net short address, virtual territory.
3. the method for claim 1, wherein said IP-based wireless sensor network is the wireless sensor network based on IPv4.
4. the method for a control data transmission in IP-based wireless sensor network comprises:
Reception is from the data of equipment; And the virtual private sensor network identifier and the virtual private sensor network short address of definite said device association, wherein said virtual private sensor network identifier is used to discern the virtual private sensor network of said equipment ownership;
Source address and destination address through in the data that receive, inserting said virtual private sensor network identifier and corresponding virtual private sensor network short address form come encapsulated data packet; And
Transmit said packet.
5. method as claimed in claim 4; Wherein said IP-based wireless sensor network is the low-power wireless territory net based on IPv6; Wherein said virtual private sensor network identifier is a virtual territory net identifier, and said VLAN short address is net short address, virtual territory.
6. method as claimed in claim 5, wherein said IP-based wireless sensor network is the wireless sensor network based on IPv4.
7. the method for a control data transmission in IP-based wireless sensor network comprises:
Receive packet, wherein said packet comprises the virtual private sensor network identifier of device association and the destination address of virtual private sensor network short address form;
Destination address based on said virtual local area network identifiers in the packet that receives and VLAN short address form comes recovery purposes IP address;
Confirm whether said destination address matees the current address; And
Result based on confirming operates.
8. sensor device comprises:
Transducer is used for image data;
Input/output unit is used for receiving and sending data;
Control device; Be used for the virtual private sensor network identifier and the virtual private sensor network short address of said device association are stored in storage device, and encapsulate the packet that said equipment will send through source address and the destination address that in the data that will send, inserts said virtual private sensor network identifier and corresponding virtual private sensor network short address form; And
Storage device is used for the virtual private sensor network identifier, virtual private sensor network short address of memory allocation and the routing iinformation of related virtual private sensor network.
9. equipment comprises:
Input/output unit is used for receiving and sending data;
Control device; Be used for confirming the virtual private sensor network identifier and the virtual private sensor network short address of sensor device association; And through receive from the data of said sensor device in insert said virtual private sensor network identifier and corresponding virtual private sensor network short address form source address come encapsulated data packet to send with destination address, wherein said virtual private sensor network identifier is used to discern the virtual private sensor network that said sensor device belongs to.
10. equipment comprises:
Input/output unit is used for receiving and sending data;
Control device is used for route and forwarding are carried out in the packet that receives, and wherein said control device further comprises:
De-encapsulating devices is used for coming recovery purposes IP address based on the said virtual local area network identifiers of the packet that receives and the destination address of VLAN short address form;
Judgment device is used for the address of confirming whether said destination address matees said equipment; And
Processing unit is used for operating based on the result who confirms.
11. a device that is used in IP-based wireless sensor network control data transmission comprises:
Be used for confirming at the sensor device place virtual private sensor network identifier of said device association and the device of virtual private sensor network short address, wherein said virtual private sensor network identifier is used to discern the virtual private sensor network of said equipment ownership;
Be used for the device that source address and destination address through inserting said virtual private sensor network identifier and corresponding virtual private sensor network short address form encapsulates the packet that said equipment will send; And
Be used to send the device of said packet.
12. a device that is used in IP-based wireless sensor network control data transmission comprises:
Be used to receive data from equipment; And confirm that the virtual private sensor network identifier of said device association and the device of virtual private sensor network short address, wherein said virtual private sensor network identifier are used to discern the virtual private sensor network of said equipment ownership;
The device of the packet that is used for encapsulating reception through source address and the destination address that inserts said virtual private sensor network identifier and corresponding virtual private sensor network short address form; And
Be used to transmit the device of said packet.
CN2010102787193A 2010-09-07 2010-09-07 Method and device for transmitting data for wireless sensor network based on IP Pending CN102404716A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010102787193A CN102404716A (en) 2010-09-07 2010-09-07 Method and device for transmitting data for wireless sensor network based on IP

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010102787193A CN102404716A (en) 2010-09-07 2010-09-07 Method and device for transmitting data for wireless sensor network based on IP

Publications (1)

Publication Number Publication Date
CN102404716A true CN102404716A (en) 2012-04-04

Family

ID=45886404

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010102787193A Pending CN102404716A (en) 2010-09-07 2010-09-07 Method and device for transmitting data for wireless sensor network based on IP

Country Status (1)

Country Link
CN (1) CN102404716A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106687983A (en) * 2014-09-15 2017-05-17 飞利浦灯具控股公司 Method for communicating in a network comprising a virtual network, and a communication node comprising a virtual network entity
CN107295701A (en) * 2017-08-25 2017-10-24 中富通股份有限公司 A kind of self-organized network communication device and communication system
CN111740908A (en) * 2019-03-25 2020-10-02 华为技术有限公司 Communication method and related equipment
CN113556414A (en) * 2021-09-18 2021-10-26 浙江国利信安科技有限公司 Method, gateway device and storage medium for inter-network communication

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1697408A (en) * 2004-05-14 2005-11-16 华为技术有限公司 Method for managing routes in virtual private network based on IPv6
CN101114971A (en) * 2006-07-27 2008-01-30 华为技术有限公司 Method for implementing virtual private network based on IPv6 address structure
CN101350760A (en) * 2008-08-15 2009-01-21 中兴通讯股份有限公司 Method for forwarding data packet of virtual private network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1697408A (en) * 2004-05-14 2005-11-16 华为技术有限公司 Method for managing routes in virtual private network based on IPv6
CN101114971A (en) * 2006-07-27 2008-01-30 华为技术有限公司 Method for implementing virtual private network based on IPv6 address structure
CN101350760A (en) * 2008-08-15 2009-01-21 中兴通讯股份有限公司 Method for forwarding data packet of virtual private network

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106687983A (en) * 2014-09-15 2017-05-17 飞利浦灯具控股公司 Method for communicating in a network comprising a virtual network, and a communication node comprising a virtual network entity
CN107295701A (en) * 2017-08-25 2017-10-24 中富通股份有限公司 A kind of self-organized network communication device and communication system
CN107295701B (en) * 2017-08-25 2023-09-05 中富通股份有限公司 Ad hoc network communication device and communication system
CN111740908A (en) * 2019-03-25 2020-10-02 华为技术有限公司 Communication method and related equipment
CN113556414A (en) * 2021-09-18 2021-10-26 浙江国利信安科技有限公司 Method, gateway device and storage medium for inter-network communication

Similar Documents

Publication Publication Date Title
CN104221332B (en) LAN multiplexer
CN104919766B (en) Path switching method and equipment for device-to-device communication
CN102457900B (en) Transmit the method and apparatus based on an IPv6 low-consumption wireless area network data bag
CN101124568B (en) System and method for routing ISIS traffic through unidirectional links of a computer network
CN104243302B (en) Business route message processing method, device and network system
CN100366031C (en) Method for implementing support to paralel transmission of compression packet in IPv6 sensor network
CN108123870B (en) Message forwarding method and device
CN102938795B (en) The method of IPv6 address access IPv4 resource is realized by tunnel and address transition
CN109714274B (en) Method for acquiring corresponding relation and routing equipment
KR20230101903A (en) BIER packet forwarding method, device and system
CN107534692A (en) Data link interface Internet protocol(IP)Address generates
CN107547342B (en) Message broadcasting method and device based on VXLAN tunnel
CN106797406A (en) Communicated using the IPv4 of 6LoWPAN header suppression mechanism
CN104540180B (en) A kind of Android multihop routing implementation method without root authority
CN102404716A (en) Method and device for transmitting data for wireless sensor network based on IP
Garg et al. A study on need of adaptation layer in 6LoWPAN protocol stack
CN113660164A (en) Message forwarding method and network equipment
CN101645895A (en) Method and device for realizing tunnel safety
CN103152265B (en) Message forwarding method and equipment in SPB (Shortest Path Bridge) network
CN103368806A (en) Method and system for processing data flow and device
CN108322378B (en) Multicast message forwarding method and device
US20160112311A1 (en) Enhanced connectivity to end devices via access points of wireless local area networks (wlan)
WO2019157476A1 (en) Binding osi layer 3 ip connections to osi layer 2 for mesh networks
CN112532563B (en) Message sending method and device
CN107613033B (en) Distributed virtual local area network implementation system and method suitable for mobile wireless node

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20120404