CN101005418A - Communication method and device between ether network and radio sensor network - Google Patents
Communication method and device between ether network and radio sensor network Download PDFInfo
- Publication number
- CN101005418A CN101005418A CNA2006100707253A CN200610070725A CN101005418A CN 101005418 A CN101005418 A CN 101005418A CN A2006100707253 A CNA2006100707253 A CN A2006100707253A CN 200610070725 A CN200610070725 A CN 200610070725A CN 101005418 A CN101005418 A CN 101005418A
- Authority
- CN
- China
- Prior art keywords
- ethernet
- address
- sensor network
- wireless sensor
- packet
- 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
Links
Images
Abstract
The method comprises: receiving the data packet from Ethernet; comparing the length of the Ethernet data packet with a predetermined value; if it is more than the predetermined value, then ending the conversion process; if not, then continuing the process; getting the address of radio sensor network corresponding to the destination address of the Ethernet data packet to construct the data packet of the radio sensor network; ending the conversion process. The invention also reveals an apparatus thereof. The invention can be used in the data transmission between IPV5 Ethernet network and the ZIGBEE radio sensor network.
Description
Technical field
The present invention relates to a kind of network technology, relate in particular to a kind of method and device of network data conversion.
Background technology
Wireless sensor network is based on the ZIGBEE technical standard and the wireless data transmission network that designs, be short-distance and medium-distance, low rate wireless sensor network, the radio frequency transmission cost is low, each node only needs energy seldom, power consumption is suitable for battery for a short time and powers for a long time, can realize some multiple spot, point-to-point transmission peer-to-peer communications, quickly networking being disposed automatically, recovering automatically and Advanced Program Zoom, can coordinate to realize data communication mutually between the transducer arbitrarily.Wireless sensor network has very application prospects, it not only has huge applying value in traditional field such as industry, agricultural, military affairs, environment, medical treatment, also will embody its superiority in future, as fields such as family expenses, health care, traffic at many emerging fields.We can be bold prediction, in the future wireless sensor network will incorporate our life fully with ubiquitous.
And as the IPV6 of Next Generation Internet core, at address space, service quality (QoS), fail safe, plug and play, the incomparable advantage of IPV4 is arranged aspect configuration and the travelling performance automatically.Along with Internet development, the trend of network IPization is more and more obvious.
Though above-mentioned two kinds of networks advantage separately is huge, because two kinds of agreement differences that network moved, therefore two kinds of networks data format separately is also different, so, also can't realize communication between these two kinds of networks at present.
Summary of the invention
One of purpose of the present invention is, method for communicating between a kind of realization Ethernet and the wireless sensor network is provided.
In order to address the above problem, the present invention proposes and a kind of data packet from Ethernet is converted to the method for wireless sensor network data bag, may further comprise the steps:
A, reception data packet from Ethernet;
B, more described data packet from Ethernet length and preset value, if greater than described preset value, execution in step E then, otherwise execution in step C;
C, acquisition and the corresponding wireless sensor network address of described data packet from Ethernet destination address;
D, structure wireless sensor network data bag;
E, end flow path switch.
In the present invention, described Ethernet adopts based on the Ethernet of IPV6 agreement and realizes; Described wireless sensor network is based on the ZIGBEE technical standard.
Wherein, described step C realizes by the inquire address mapping table or realizes by the address transition algorithm; In addition, if obtain the failure of the described corresponding ZIGBEE network address, then prompting mistake and execution in step E; In one embodiment of the invention, described preset value can be changed; Wherein, described ZIGBEE packet is the 802.15.4 packet.
Two of purpose of the present invention is, a kind of device of realizing Ethernet and network communication of wireless sensor is provided.
In order to address the above problem, the present invention proposes and a kind of Ethernet IPV6 packet is converted to the device of wireless sensor network ZIGBEE packet, comprising:
Receiving element is used to receive the IPV6 packet;
Comparing unit is used for the size of more described IPV6 packet and preset value;
Address conversioning unit when described IPV6 packet is not more than described preset value, is used to produce the ZIGBEE network address corresponding with the destination address of described IPV6 packet;
The bag structural unit is used for the ZIGBEE network address and described IPV6 packet structure ZIGBEE packet according to described correspondence;
Output unit is used for the ZIGBEE packet that output error prompting and structure finish;
Wherein, described address conversioning unit is map addresses table unit or address algorithm converting unit;
In one embodiment of the invention, described device also comprises user interface section, as the management interface to this device.
The present invention has realized communicating by letter of IPV6 Ethernet and ZIGBEE network, for integrated two kinds of network advantages provide prerequisite.
Description of drawings
Fig. 1 be the present invention based on the structured flowchart of communication system;
Fig. 2 is the structured flowchart of conversion equipment among Fig. 1;
Fig. 3 is the structured flowchart of an embodiment of address conversioning unit among Fig. 2;
Fig. 4 is the structured flowchart of another embodiment of address conversioning unit among Fig. 2;
Fig. 5 is based on the workflow diagram of Fig. 1, Fig. 2 and conversion equipment shown in Figure 3;
Fig. 6 is based on the workflow diagram of Fig. 1, Fig. 2 and conversion equipment shown in Figure 4;
Fig. 7 is based on the structure chart of an embodiment of address mapping table shown in Figure 3.
Embodiment
The present invention is in order to solve interconnecting between Ethernet and the wireless sensor network, realize the transmission of data packet from Ethernet to the wireless sensor network, between Ethernet and wireless sensor network, set up transfer gateway, finish the conversion of data format between Ethernet protocol stack and the wireless sensor network protocols stack and accurately transmission, make sensor network can directly utilize existing and Ethernet that extensively exist, thereby make that the Long-distance Control of transducer is more convenient.
Below being the concrete communication means of setting forth between two kinds of networks of example based on the Ethernet of IPV6 with based on the wireless sensor network of ZIGBEE.
With reference to figure 1, illustrate the present invention based on the structure of communication system.As shown in the figure, the gateway 2 that comprises IPV6 network 1, ZIGBEE wireless sensor network 3 and be communicated with described 1PV6 network 1 and ZIGBEE wireless sensor network 3, wherein, described gateway 3 comprises IPV6 protocol stack module 4 again, the conversion equipment 6 that links to each other with this protocol stack module 4, and the ZIGBEE network protocol stack module 5 that links to each other with this conversion equipment 6.The packet that described conversion equipment 6 receives from IPV6 network 1, and this packet is converted to the ZIGBEE packet, be sent to ZIGBEE wireless sensor network 3 at last.The detailed functions structure of described conversion equipment 6 will be introduced below.
What deserves to be explained is that described gateway 3 also comprises control unit and memory cell etc., but because it is not purport of the present invention place, so not shown in Fig. 1.And, described conversion equipment 6 just is deployed in the described gateway 2, play and to be converted to the effect of ZIGBEE packet from the IPV6 output packet, for being converted to the part of IPV6 packet from the ZIGBEE output packet, owing to be not place of the present invention, so in gateway 2, do not illustrate.
With reference to figure 2, illustrate the functional structure of conversion equipment 6 among Fig. 1.As shown in the figure, comprising:
Receiving element 61 is used to receive the packet that IPV6 network 1 sends;
Comparing unit 62 is used for the IPV6 packet of more described reception and the size of preset value;
Address conversioning unit 63 when described IPV6 packet is not more than described preset value, is used to produce the ZIGBEE network address corresponding with the destination address of described IPV6 packet;
Bag structural unit 64 is used for according to the described network address of ZIGBEE accordingly and described IPV6 packet structure ZIGBEE packet;
Output unit 65 is used for the ZIGBEE packet that output error prompting and structure finish;
In addition, also comprise user interface section 66, as the user management interface of described conversion equipment 6.
Equally, described conversion equipment 6 also comprises some control units and memory cell etc., but owing to be not key point of the present invention, therefore, in Fig. 2 for embodying.
With reference to figure 3, illustrate the structure of an embodiment of address conversioning unit 63 among Fig. 2.As shown in the figure, address conversioning unit 63 is address mapping table 631 in the present embodiment, wherein depositing IPV6 address and ZIGBEE address mapping relations one to one, just can find the ZIGBEE network address corresponding by inquiring about described mapping relations, thereby can learn on which node that the ZIGBEE packet after the conversion need be sent in the ZIGBEE network with the IPV6 address.Described address mapping table 631 can be the form of an address corresponding relation, for example shown in Figure 7, or other any suitable mapping that can embody corresponding relation etc., and described address mapping table 631 can be edited by user interface section 66 (with reference to figure 2), to satisfy the latest network demand.
With reference to figure 4, illustrate the structure of another embodiment of address conversioning unit 63 among Fig. 2.As shown in the figure, address conversioning unit 63 is address algorithm modular converters 632 in the present embodiment, and this address algorithm modular converter 632 is according to default address transition algorithm, and the destination address of the IPV6 packet that receives is converted to the ZIGBEE network address.Therefore this method has replaced the memory address mapping table with algorithm, has significantly reduced memory space, has also reduced query time, help conversion equipment volume reduce raising with conversion efficiency.
With reference to figure 5, illustrate workflow based on the conversion equipment of Fig. 1, Fig. 2 and Fig. 3.In one embodiment of the invention, be Add1 to receive a destination address, length is that the IPV6 packet P1 of 70 bytes is an example, supposes that simultaneously preset value is 81, describes whole transfer process, may further comprise the steps:
Whether step 101, the length of judging P1, then turn to step 106 to continue to carry out, otherwise continue step 102 if greater than 81 bytes greater than 81 bytes; In the present embodiment, because 70<81, so execution in step 102;
With reference to figure 6, illustrate workflow based on the conversion equipment of Fig. 1, Fig. 2 and Fig. 4.In another embodiment of the present invention, be Add2 to receive a destination address, length is that the IPV6 packet P2 of 81 bytes is an example, supposes that simultaneously preset value is 81, describes whole transfer process, may further comprise the steps:
Step 200 has received from IPV6 output packet P2;
Whether step 201, the length of judging P2, then turn to step 205 to continue to carry out, otherwise continue step 202 if greater than 81 bytes greater than 81 bytes; In the present embodiment, because 81=81, so execution in step 202;
Step 202 is carried out address transition with address Add2 according to certain algorithm, generates ZIGBEE network address add2;
Step 205 abandons described packet P2; The discard processing of in this step described packet being done also can be other any suitable operation, for example described packet is done further partition etc., and the present invention is not limited to this;
Step 207 finishes this flow path switch.
For the process of structure ZIGBEE packet, owing to just can obtain according to the prior art simple inference for a person skilled in the art, neither inventive point of the present invention place, therefore, do not elaborate in the present invention.
In this embodiment, described preset value can be edited change to adapt to different demands by user interface section 66 (with reference to figure 2).And the ZIGBEE packet of being set forth in fact also can be described as the 802.15.4 packet.Those skilled in the art should be appreciated that, the physical layer of the structure of ZIGBEE standard network and the media access control sublayer in the data link layer all are the 802.15.4 protocol specifications released by IEEE, and network layer and upper strata thereof are by the ZIGBEE alliance specifications, ZIGBEE network for standard has then comprised the low layer standard of IEEE and the upper strata standard of alliance, therefore, the ZIGBEE packet here also can be understood as the 802.15.4 packet.
The above is a preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also are considered as protection scope of the present invention.
Claims (10)
1, the communication means between a kind of Ethernet and the wireless sensor network may further comprise the steps:
A, reception data packet from Ethernet;
B, more described data packet from Ethernet length and preset value, if greater than described preset value, execution in step E then, otherwise execution in step C;
C, acquisition and the corresponding wireless sensor network address of described data packet from Ethernet destination address;
D, structure wireless sensor network data bag;
E, end flow path switch.
2, the method for claim 1 is characterized in that, described Ethernet is based on the Ethernet of IPV6 agreement; Described wireless sensor network is based on the ZIGBEE technical standard.
3, the method for claim 1 is characterized in that, described step C realizes by the inquire address mapping table.
4, the method for claim 1 is characterized in that, described step C realizes by the address transition algorithm.
5, as claim 1 or 3 or 4 described methods, it is characterized in that described preset value can be changed.
As each described method in the claim 1 to 4, it is characterized in that 6, the ZIGBEE packet of described wireless sensor network is the 802.15.4 packet.
7, a kind of device of realizing data communication between Ethernet and the wireless sensor network is characterized in that, this device comprises:
Receiving element is used to receive data packet from Ethernet;
Comparing unit is used for the size of more described data packet from Ethernet and preset value;
Address conversioning unit when described data packet from Ethernet is not more than described preset value, is used to produce the wireless sensor network address corresponding with the destination address of described data packet from Ethernet;
The bag structural unit is used for wireless sensor network address and described data packet from Ethernet structure wireless sensor network data bag according to described correspondence;
Output unit is used for the wireless sensor network data bag that output error prompting and structure finish.
8, device as claimed in claim 7 is characterized in that, described address conversioning unit is the map addresses table unit.
9, device as claimed in claim 7 is characterized in that, described address conversioning unit is an address algorithm converting unit.
10, device as claimed in claim 7 is characterized in that, also comprises user interface section, as the management interface to described device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2006100707253A CN101005418A (en) | 2006-12-08 | 2006-12-08 | Communication method and device between ether network and radio sensor network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2006100707253A CN101005418A (en) | 2006-12-08 | 2006-12-08 | Communication method and device between ether network and radio sensor network |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101005418A true CN101005418A (en) | 2007-07-25 |
Family
ID=38704299
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNA2006100707253A Pending CN101005418A (en) | 2006-12-08 | 2006-12-08 | Communication method and device between ether network and radio sensor network |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101005418A (en) |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101854736A (en) * | 2010-05-18 | 2010-10-06 | 北京交通大学 | Method for converting wireless sensor network protocols |
CN102196600A (en) * | 2010-03-10 | 2011-09-21 | 江苏联优信息科技有限公司 | Lightweight wireless sensing gateway device and networking method |
WO2012092864A1 (en) * | 2011-01-06 | 2012-07-12 | 西安电子科技大学 | Internet of things switch and data processing method |
CN102594885A (en) * | 2012-02-10 | 2012-07-18 | 中国科学院计算机网络信息中心 | Sensor network analyzing intercommunicating platform, sensor network intercommunicating method and system |
CN102892215A (en) * | 2012-09-10 | 2013-01-23 | 南京邮电大学 | Wireless heterogeneous network and communication method for same |
CN103686584A (en) * | 2012-09-04 | 2014-03-26 | 上海贝尔股份有限公司 | End-to-end communication in sensor network |
US8774053B2 (en) | 2010-03-31 | 2014-07-08 | Huawei Technologies Co., Ltd. | Method, network element device, and network system for associating a terminal device with a network |
CN104333508A (en) * | 2014-10-31 | 2015-02-04 | 常州机电职业技术学院 | Zigbee gateway based on cloud computing |
CN104661331A (en) * | 2013-11-20 | 2015-05-27 | 中国科学院声学研究所 | Gateway applied to wireless sensor network based on IPv6 (Internet Protocol version 6) |
WO2018153337A1 (en) * | 2017-02-22 | 2018-08-30 | Huawei Technologies Co., Ltd. | Method of application data switching between a device in a wireless pan mesh network and a virtual ethernet interface |
US10581673B2 (en) | 2017-03-08 | 2020-03-03 | Futurewei Technologies, Inc. | Abstracting wireless device to virtual Ethernet interface |
CN112243009A (en) * | 2020-10-19 | 2021-01-19 | 重庆邮电大学 | IPv 6-based industrial heterogeneous network multi-protocol convergence networking and communication system and method |
-
2006
- 2006-12-08 CN CNA2006100707253A patent/CN101005418A/en active Pending
Cited By (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102196600A (en) * | 2010-03-10 | 2011-09-21 | 江苏联优信息科技有限公司 | Lightweight wireless sensing gateway device and networking method |
CN102196600B (en) * | 2010-03-10 | 2015-11-25 | 江苏联优信息科技有限公司 | A kind of lightweight wireless sensing gateway device and network-building method |
US8774053B2 (en) | 2010-03-31 | 2014-07-08 | Huawei Technologies Co., Ltd. | Method, network element device, and network system for associating a terminal device with a network |
CN101854736B (en) * | 2010-05-18 | 2012-05-23 | 北京交通大学 | Method for converting wireless sensor network protocols |
CN101854736A (en) * | 2010-05-18 | 2010-10-06 | 北京交通大学 | Method for converting wireless sensor network protocols |
WO2012092864A1 (en) * | 2011-01-06 | 2012-07-12 | 西安电子科技大学 | Internet of things switch and data processing method |
CN102594885A (en) * | 2012-02-10 | 2012-07-18 | 中国科学院计算机网络信息中心 | Sensor network analyzing intercommunicating platform, sensor network intercommunicating method and system |
WO2013117112A1 (en) * | 2012-02-10 | 2013-08-15 | 中国科学院计算机网络信息中心 | Sensor network analyzing intercommunicating platform, sensor network intercommunicating method and system |
CN102594885B (en) * | 2012-02-10 | 2016-08-03 | 中国科学院计算机网络信息中心 | Sensor network resolves interoperation A platform, sensor network interoperability methods and system |
CN103686584A (en) * | 2012-09-04 | 2014-03-26 | 上海贝尔股份有限公司 | End-to-end communication in sensor network |
CN103686584B (en) * | 2012-09-04 | 2016-12-14 | 上海贝尔股份有限公司 | End-to-end communication in sensor network |
CN102892215A (en) * | 2012-09-10 | 2013-01-23 | 南京邮电大学 | Wireless heterogeneous network and communication method for same |
CN104661331A (en) * | 2013-11-20 | 2015-05-27 | 中国科学院声学研究所 | Gateway applied to wireless sensor network based on IPv6 (Internet Protocol version 6) |
CN104333508A (en) * | 2014-10-31 | 2015-02-04 | 常州机电职业技术学院 | Zigbee gateway based on cloud computing |
WO2018153337A1 (en) * | 2017-02-22 | 2018-08-30 | Huawei Technologies Co., Ltd. | Method of application data switching between a device in a wireless pan mesh network and a virtual ethernet interface |
US10652713B2 (en) | 2017-02-22 | 2020-05-12 | Futurewei Technologies, Inc. | Method of application data switching between a device in a wireless PAN mesh network and a virtual ethernet interface |
US10581673B2 (en) | 2017-03-08 | 2020-03-03 | Futurewei Technologies, Inc. | Abstracting wireless device to virtual Ethernet interface |
CN112243009A (en) * | 2020-10-19 | 2021-01-19 | 重庆邮电大学 | IPv 6-based industrial heterogeneous network multi-protocol convergence networking and communication system and method |
CN112243009B (en) * | 2020-10-19 | 2022-07-15 | 重庆邮电大学 | IPv 6-based industrial heterogeneous network multi-protocol convergence networking and communication system and method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101005418A (en) | Communication method and device between ether network and radio sensor network | |
EP1592177B1 (en) | Method and system for communication between coordinator-based wireless networks | |
CN106302787B (en) | A kind of internet of things networking method based on cloud configuration | |
Wang et al. | Transmitting IPv6 packets over Bluetooth low energy based on BlueZ | |
CN102098336B (en) | Networking and communicating methods for wireless internet of things (IOT) system | |
CN101163073A (en) | Networking method of intelligent domestic system, data transmission method and intelligent domestic system | |
WO2011130965A1 (en) | Wireless sensor network, mobile terminal and interconnection method and system thereof | |
CN101141419A (en) | Heterogeneous network protocol based communication method between digital household appliances | |
CN102611710A (en) | Data interaction method and data interaction system for scheduling master station and transformer substation based on MMS (Multimedia Messaging Service) | |
US11140245B2 (en) | Packet processing method and apparatus | |
CN104519554A (en) | Method for supporting parallel access of multiband 6LoWSNs (IPv6 over low power wireless sensor networks) to internet | |
CN103200283A (en) | Multi-relay wireless communication system and method for realizing IP (Internet Protocol)-based air interface for same | |
Oliveira et al. | IOT based solution for home power energy monitoring and actuating | |
CN103647782B (en) | Method for conversion between elevator communication protocol and elevator internet-of-things collection and communication protocol | |
CN106559348A (en) | A kind of intelligent 6LoWPAN border routings implementation method and border router | |
Habib et al. | Case study: WIRELESSHART vs ZIGBEE network | |
CN102571970B (en) | Node module for traffic Internet of things and communication method for traffic Internet of things | |
CN209787196U (en) | IPv6 access type multi-network convergence gateway system | |
CN112243009A (en) | IPv 6-based industrial heterogeneous network multi-protocol convergence networking and communication system and method | |
KR100870655B1 (en) | Gateway and method for transforming a packet using the same | |
CN108632777A (en) | Mining wireless node carries out Point-to-Point Data Transmission method in MESH network | |
Ren et al. | Can bus network design based on bluetooth technology | |
US9894474B2 (en) | ZigBee system management employing a TR-069 enabled CPE proxy | |
CN104348523A (en) | Data transmission method for wireless sensor node | |
Shrestha et al. | An optimized opc ua transport profile to bringing bluetooth low energy device into ip networks |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |