[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN106888281A - A kind of things-internet gateway and application towards ZigBee radio sensing networks and IPv4 networks - Google Patents

A kind of things-internet gateway and application towards ZigBee radio sensing networks and IPv4 networks Download PDF

Info

Publication number
CN106888281A
CN106888281A CN201710206892.4A CN201710206892A CN106888281A CN 106888281 A CN106888281 A CN 106888281A CN 201710206892 A CN201710206892 A CN 201710206892A CN 106888281 A CN106888281 A CN 106888281A
Authority
CN
China
Prior art keywords
things
internet gateway
node
address
data
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
CN201710206892.4A
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.)
Shandong Chaoyue Numerical Control Electronics Co Ltd
Original Assignee
Shandong Chaoyue Numerical Control Electronics 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 Shandong Chaoyue Numerical Control Electronics Co Ltd filed Critical Shandong Chaoyue Numerical Control Electronics Co Ltd
Priority to CN201710206892.4A priority Critical patent/CN106888281A/en
Publication of CN106888281A publication Critical patent/CN106888281A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/10Mapping addresses of different types
    • H04L61/106Mapping addresses of different types across networks, e.g. mapping telephone numbers to data network addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

A kind of things-internet gateway towards ZigBee radio sensing networks and IPv4 networks, including:Things-internet gateway controller, the address mapping table defined in the things-internet gateway controller, the address mapping table is stored with ZigBee node virtual ip address and corresponding 16 network address.The present invention is for realizing interconnecting between ZigBee radio sensing networks and Ethernet, the present invention sets address mapping table, defines different data packet messages forms by things-internet gateway, communication mode end to end is realized between IP user end and ZigBee node, management and control efficiency of the IP user end to ZigBee node is improve.

Description

A kind of things-internet gateway towards ZigBee radio sensing networks and IPv4 networks and Using
Technical field
The present invention relates to a kind of things-internet gateway and application towards ZigBee radio sensing networks and IPv4 networks, belong to The technical field of computer.
Background technology
ZigBee radio sensing networks have short communication distance, self-organizing, simple structure, low cost, low in energy consumption and data The characteristics of transmission rate is low, is referred to as one of ten big technologies of most application prospect.With the development of Internet of Things, ZigBee exists Application in Internet of Things is also more and more, but ZigBee has different protocol stacks from IPv4, cannot realize each other straight Connect letter so that people cannot remote-control internet of things equipment.ZigBee node includes routing node, terminal node and telegon Node.Containing the MAC Address of 64, the short address can be used to the unique identification equipment to each node.Terminal node Data acquisition is realized, routing node realizes data acquisition and information forwarding, and coordinator node realizes control terminal node and data Transmission.ZigBee radio sensing networks are a kind of self-organizing networks, and on ZigBee node after electricity, coordinator node is in and infinitely follows Whether ring monitors the addition for having new node;When there is node application to network, telegon is one in the node distribution MANET With 16 network address of unique mark, for the communication of net interior nodes.
The content of the invention
In view of the shortcomings of the prior art, the present invention provides a kind of thing towards ZigBee radio sensing networks and IPv4 networks Networking gateway.
Present invention additionally comprises the method for work of above-mentioned things-internet gateway.
Technical scheme is as follows:
A kind of things-internet gateway towards ZigBee radio sensing networks and IPv4 networks, including:Things-internet gateway is controlled Device, the address mapping table defined in the things-internet gateway controller, the address mapping table ZigBee node that is stored with is virtual IP address and corresponding 16 network address.Using when, ZigBee-network by things-internet gateway realize it is direct with Ethernet Communication, ZigBee-network is made up of multiple ZigBee nodes, and IP user end is also included in network.
As above-mentioned things-internet gateway method of work, including:When ZigBee node transmits data to the things-internet gateway When, things-internet gateway is unpacked according to ZigBee data frame formats, and is changed destination address according to the address mapping table Into the IPv4 addresses in Ethernet, source address switchs to 16 network address of corresponding node according to address mapping table, and according to IPv4 frame formats carry out package, send.
According to currently preferred, data packet messages forms defined in the things-internet gateway, order packet voice form, Configuration packet voice form and confirmation packet voice form.
According to currently preferred, the data packet messages form includes device type, type of data packet, bag sequence number, section Point numbering and data division;Data load as shown in Figure 2, the device type is divided into two kinds:Terminal node and routing node, The terminal node is set to End, and routing node is set to Route;When type of data packet is 0x01, the type of message is packet Message;If data load exceedes single inclusion quantity, the packet is sent respectively;
The bag sequence number represents the order of packet transmission after data subpackage;
The node serial number is the unique mark network address that things-internet gateway distributes to ZigBee node;
The data division is this data to be sent of hexadecimal representation.
According to currently preferred, bag is configured for routing node or terminal node to things-internet gateway send configuration number According to;The configuration packet voice form includes device type, type of data packet, node serial number, the network address, MAC Address and father section Dot address;As shown in figure 3, when type of data packet value is 0x02, the bag is wrapped for configuration, 16 network address hexadecimal words When symbol is represented, 4 byte numbers are accounted for.64 bit mac address hexadecimal characters are expressed as 16 byte numbers, and parent node address represents road By the network address of node or the terminal node father node in route topological, 4 byte numbers are accounted for.
According to currently preferred, order bag that the order of routing node or terminal node, tool are sent to for things-internet gateway As shown in table 4, the order packet voice form includes communication type, destination address, command type, command operation and biography to physique formula Sensor type;
The communication type is communication mode between things-internet gateway and routing node or terminal node, be divided into unicast, Multicast or broadcast;Represented with 0x01 during the unicast communication, represented with 0x02 during multi-casting communication, 0x03 tables are used during broadcast communication Show;
The destination address is the network address of the destination node being sent to of this time communicating;
The command type includes:Data acquisition is opened, data acquisition is closed and alarm is set;
The command operation is corresponding with command type, and when command type is to open data acquisition, command operation is intentional Justice, including:Continuous collecting and time point gather.
It is described to confirm that packet voice form includes device type, type of data packet, bag sequence number, biography according to currently preferred Sensor numbering, the network address and data;When type of data packet numerical value is 0x03, the bag is wrapped for confirmation, specifically as shown in Figure 5.
Advantage of the invention is that:
A kind of things-internet gateway towards ZigBee radio sensing networks and IPv4 networks of the present invention is used to realize Interconnecting between ZigBee radio sensing networks and Ethernet, the present invention in things-internet gateway by setting address of cache Table, different data packet messages forms are defined, realize between IP user end and ZigBee node communication mode end to end, carried Management and control efficiency of the IP user end to ZigBee node high.
Brief description of the drawings
Fig. 1 is the connection diagram of the things-internet gateway;
Fig. 2 is data packet messages format chart;
Fig. 3 is configuration packet voice format chart;
Fig. 4 is order packet voice format chart;
Fig. 5 is to confirm packet voice format chart.
Specific embodiment
The present invention is described in detail with reference to embodiment and Figure of description, but not limited to this.
Embodiment 1,
A kind of things-internet gateway towards ZigBee radio sensing networks and IPv4 networks, including:Things-internet gateway is controlled Device, the address mapping table defined in the things-internet gateway controller, the address mapping table ZigBee node that is stored with is virtual IP address and corresponding 16 network address.
Embodiment 2,
The method of work of things-internet gateway as described in Example 1, including:When ZigBee node is passed to the things-internet gateway During transmission of data, things-internet gateway is unpacked according to ZigBee data frame formats, and according to the address mapping table by target ground Location is converted into the IPv4 addresses in Ethernet, and source address switchs to 16 network address of corresponding node according to address mapping table, and Package is carried out according to IPv4 frame formats, send.
Such as Fig. 1, when things-internet gateway receives data, data message parsing is carried out, for the data of different agreement type Bag, using different analysis modes.Inquiry address mapping table parses the IP address of destination node.To the packet that parses by Network type according to destination node carries out package again, and is sent to destination node.Vice versa.
Data packet messages forms defined in the things-internet gateway, order packet voice form, configuration packet voice form and Confirm packet voice form.
The data packet messages form includes device type, type of data packet, bag sequence number, node serial number and data division; Data load as shown in Figure 2, the device type is divided into two kinds:Terminal node and routing node, the terminal node are set to End, routing node is set to Route;When type of data packet is 0x01, the type of message is data packet messages;If data are carried Lotus exceedes single inclusion quantity, then sent the packet respectively;
The bag sequence number represents the order of packet transmission after data subpackage;
The node serial number is the unique mark network address that things-internet gateway distributes to ZigBee node;
The data division is this data to be sent of hexadecimal representation.
Configuration bag is for routing node or terminal node to things-internet gateway send configuration data;The configuration packet voice lattice Formula includes device type, type of data packet, node serial number, the network address, MAC Address and parent node address;As shown in figure 3, working as When type of data packet value is 0x02, the bag is wrapped for configuration, when 16 network address hexadecimal characters are represented, accounts for 4 byte numbers. 64 bit mac address hexadecimal characters are expressed as 16 byte numbers, and parent node address represents that routing node or terminal node exist The network address of father node in route topological, accounts for 4 byte numbers.
Order bag is sent to the order of routing node or terminal node for things-internet gateway, and specific form is as shown in table 4, institute Stating order packet voice form includes communication type, destination address, command type, command operation and sensor type;
The communication type is communication mode between things-internet gateway and routing node or terminal node, be divided into unicast, Multicast or broadcast;Represented with 0x01 during the unicast communication, represented with 0x02 during multi-casting communication, 0x03 tables are used during broadcast communication Show;
The destination address is the network address of the destination node being sent to of this time communicating;
The command type includes:Data acquisition is opened, data acquisition is closed and alarm is set;
The command operation is corresponding with command type, and when command type is to open data acquisition, command operation is intentional Justice, including:Continuous collecting and time point gather.
The confirmation packet voice form includes device type, type of data packet, bag sequence number, sensor number, the network address And data;When type of data packet numerical value is 0x03, the bag is wrapped for confirmation, specifically as shown in Figure 5.

Claims (7)

1. a kind of things-internet gateway towards ZigBee radio sensing networks and IPv4 networks, it is characterised in that the Internet of Things net Pass includes:Things-internet gateway controller, the address mapping table defined in the things-internet gateway controller, the address mapping table Be stored with ZigBee node virtual ip address and corresponding 16 network address.
2. the method for work of things-internet gateway as claimed in claim 1, it is characterised in that the method for work includes:Work as ZigBee When node transmits data to the things-internet gateway, things-internet gateway is unpacked according to ZigBee data frame formats, and according to Destination address is converted into the address mapping table IPv4 addresses in Ethernet, and source address switchs to correspondence according to address mapping table 16 network address of node, and carry out package according to IPv4 frame formats, send.
3. the method for work of things-internet gateway as claimed in claim 2, it is characterised in that number defined in the things-internet gateway According to packet voice form, order packet voice form, configuration packet voice form and confirmation packet voice form.
4. the method for work of things-internet gateway as claimed in claim 3, it is characterised in that the data packet messages form includes setting Standby type, type of data packet, bag sequence number, node serial number and data division;
The bag sequence number represents the order of packet transmission after data subpackage;
The node serial number is the unique mark network address that things-internet gateway distributes to ZigBee node;
The data division is this data to be sent of hexadecimal representation.
5. the method for work of things-internet gateway as claimed in claim 3, it is characterised in that configuration bag is used for routing node or terminal Node is to things-internet gateway send configuration data;The configuration packet voice form includes that device type, type of data packet, node are compiled Number, the network address, MAC Address and parent node address.
6. the method for work of things-internet gateway as claimed in claim 3, it is characterised in that order bag is sent to for things-internet gateway The order of routing node or terminal node, the order packet voice form includes communication type, destination address, command type, life Order operation and sensor type;
The communication type is the communication mode between things-internet gateway and routing node or terminal node, is divided into unicast, multicast Or broadcast;
The destination address is the network address of the destination node being sent to of this time communicating;
The command type includes:Data acquisition is opened, data acquisition is closed and alarm is set;
The command operation is corresponding with command type, and when command type is to open data acquisition, command operation is meaningful, bag Include:Continuous collecting and time point gather.
7. the method for work of things-internet gateway as claimed in claim 3, it is characterised in that the confirmation packet voice form includes setting Standby type, type of data packet, bag sequence number, sensor number, the network address and data.
CN201710206892.4A 2017-03-31 2017-03-31 A kind of things-internet gateway and application towards ZigBee radio sensing networks and IPv4 networks Pending CN106888281A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710206892.4A CN106888281A (en) 2017-03-31 2017-03-31 A kind of things-internet gateway and application towards ZigBee radio sensing networks and IPv4 networks

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710206892.4A CN106888281A (en) 2017-03-31 2017-03-31 A kind of things-internet gateway and application towards ZigBee radio sensing networks and IPv4 networks

Publications (1)

Publication Number Publication Date
CN106888281A true CN106888281A (en) 2017-06-23

Family

ID=59181442

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710206892.4A Pending CN106888281A (en) 2017-03-31 2017-03-31 A kind of things-internet gateway and application towards ZigBee radio sensing networks and IPv4 networks

Country Status (1)

Country Link
CN (1) CN106888281A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107659662A (en) * 2017-10-26 2018-02-02 北京科技大学 A kind of serial data mask method of things-internet gateway
CN109861890A (en) * 2018-12-28 2019-06-07 江苏惠通集团有限责任公司 Control method, ZigBee node equipment, gateway and ZigBee-network system
CN110336825A (en) * 2019-07-10 2019-10-15 广东工业大学 A multi-protocol network fusion method and device based on IPv6 gateway
CN110351351A (en) * 2019-07-01 2019-10-18 珠海欧麦斯通信科技有限公司 A kind of system and method for L2 network and Ethernet interconnection
CN115396469A (en) * 2022-07-29 2022-11-25 北京津发科技股份有限公司 Sensor data transmission method and device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101552803A (en) * 2008-04-03 2009-10-07 华为技术有限公司 Method for maintaining network address translation address mapping table, media gateway and controller thereof
CN101729606A (en) * 2008-10-22 2010-06-09 华为技术有限公司 Method and relevant equipment for realizing network address conversion
CN102571970A (en) * 2012-01-20 2012-07-11 长沙学院 Node module for traffic Internet of things and communication method for traffic Internet of things
CN102611646A (en) * 2012-04-23 2012-07-25 北京工业大学 Data gateway of Internet of things based on ZigBee and XML (extensible markup language)
CN105981417A (en) * 2014-02-21 2016-09-28 瑞典爱立信有限公司 Pico-Rru-Based Network Implementation For Facilitating 6lowpan Data Access
CN106060180A (en) * 2016-08-24 2016-10-26 电子科技大学 Addressing method for IPv6 based on geographical position and application information
CN103686584B (en) * 2012-09-04 2016-12-14 上海贝尔股份有限公司 Peer-to-peer communication in sensor networks

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101552803A (en) * 2008-04-03 2009-10-07 华为技术有限公司 Method for maintaining network address translation address mapping table, media gateway and controller thereof
CN101729606A (en) * 2008-10-22 2010-06-09 华为技术有限公司 Method and relevant equipment for realizing network address conversion
CN102571970A (en) * 2012-01-20 2012-07-11 长沙学院 Node module for traffic Internet of things and communication method for traffic Internet of things
CN102611646A (en) * 2012-04-23 2012-07-25 北京工业大学 Data gateway of Internet of things based on ZigBee and XML (extensible markup language)
CN103686584B (en) * 2012-09-04 2016-12-14 上海贝尔股份有限公司 Peer-to-peer communication in sensor networks
CN105981417A (en) * 2014-02-21 2016-09-28 瑞典爱立信有限公司 Pico-Rru-Based Network Implementation For Facilitating 6lowpan Data Access
CN106060180A (en) * 2016-08-24 2016-10-26 电子科技大学 Addressing method for IPv6 based on geographical position and application information

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李佳: "基于ZigBee的WSN网关的整体设计", 《万方数据库》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107659662A (en) * 2017-10-26 2018-02-02 北京科技大学 A kind of serial data mask method of things-internet gateway
CN107659662B (en) * 2017-10-26 2019-11-29 北京科技大学 A kind of serial data mask method of things-internet gateway
CN109861890A (en) * 2018-12-28 2019-06-07 江苏惠通集团有限责任公司 Control method, ZigBee node equipment, gateway and ZigBee-network system
CN109861890B (en) * 2018-12-28 2021-11-19 江苏惠通集团有限责任公司 Control method, ZigBee node equipment, gateway and ZigBee network system
CN110351351A (en) * 2019-07-01 2019-10-18 珠海欧麦斯通信科技有限公司 A kind of system and method for L2 network and Ethernet interconnection
CN110336825A (en) * 2019-07-10 2019-10-15 广东工业大学 A multi-protocol network fusion method and device based on IPv6 gateway
CN115396469A (en) * 2022-07-29 2022-11-25 北京津发科技股份有限公司 Sensor data transmission method and device
CN115396469B (en) * 2022-07-29 2023-11-21 北京津发科技股份有限公司 Sensor data transmission method and device

Similar Documents

Publication Publication Date Title
EP2832057B1 (en) Content centric m2m system
CN106888281A (en) A kind of things-internet gateway and application towards ZigBee radio sensing networks and IPv4 networks
Nieminen et al. IPv6 over BLUETOOTH (R) low energy
Kushalnagar et al. IPv6 over low-power wireless personal area networks (6LoWPANs): overview, assumptions, problem statement, and goals
CN104506439B (en) A kind of IPv6 message transfer systems and method suitable for WIA-PA network
CN102457900A (en) Method and device for transmitting IPv 6-based low-power-consumption wireless personal area network data packet
CN203057531U (en) A Multi-Gateway Transmission System Based on ZigBee Network
CN101005418A (en) Communication method and device between ether network and radio sensor network
CN103313308A (en) Data transmission method and device
CN102984070B (en) A kind of Ethernet is without the method for numbering Interface realization data retransmission
CN102868586A (en) Method for establishing tunnel forwarding table entries, central node and branch nodes
CN107332752A (en) Long chain wireless sensing network system based on 6LoWPAN and attaching method thereof
CN108600107A (en) A kind of stream matching process can customize content field
CN102170389B (en) data message transmission method and access device
Garg et al. A study on need of adaptation layer in 6LoWPAN protocol stack
KR100870655B1 (en) Gateway and packet conversion method using the same
CN105721625A (en) Method for implementing communication between private network devices, private network devices and center end device
CN101668010A (en) Method and device for sharing multi-interface data stream load in WiMAX system
CN102223279B (en) Method for processing multi-VLAN (virtual local area network) and nodes
Yu et al. Improved hierarchical routing over 6LoWPAN
CN104506461A (en) Industrial communication network gateway equipment
Piccolo et al. Towards fully ip-enabled ieee 802.15. 4 lr-wpans
Yousheng et al. Addressing scheme based on three-dimensional space over 6LoWPAN for internet of things
CN101834798B (en) System discovery method for switching equipment in local area network
Wang et al. A transmission scheme of IPv6 packets over WIA-PA networks

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170623

RJ01 Rejection of invention patent application after publication