CN106878140B - Method for connecting Internet and Zigbee sensor network through Internet-Zigbee gateway - Google Patents

Method for connecting Internet and Zigbee sensor network through Internet-Zigbee gateway Download PDF

Info

Publication number
CN106878140B
CN106878140B CN201710180652.1A CN201710180652A CN106878140B CN 106878140 B CN106878140 B CN 106878140B CN 201710180652 A CN201710180652 A CN 201710180652A CN 106878140 B CN106878140 B CN 106878140B
Authority
CN
China
Prior art keywords
zigbee
internet
sensor
gateway
network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710180652.1A
Other languages
Chinese (zh)
Other versions
CN106878140A (en
Inventor
邱鹏
霍瑛
黄陈蓉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing Institute of Technology
Original Assignee
Nanjing Institute of Technology
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 Nanjing Institute of Technology filed Critical Nanjing Institute of Technology
Priority to CN201710180652.1A priority Critical patent/CN106878140B/en
Publication of CN106878140A publication Critical patent/CN106878140A/en
Application granted granted Critical
Publication of CN106878140B publication Critical patent/CN106878140B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4604LAN interconnection over a backbone network, e.g. Internet, Frame Relay
    • H04L12/462LAN interconnection over a bridge based backbone
    • H04L12/4625Single bridge functionality, e.g. connection of two networks over a single bridge
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion

Abstract

The invention provides a method for connecting an Internet and a Zigbee sensor network through an Internet-Zigbee gateway, which converts and transmits information between an Internet user and a Zigbee sensor through a data conversion center of the Internet-Zigbee gateway to realize network interconnection of the Internet and the Zigbee sensor network, and specifically comprises the following steps: the method comprises the steps that Internet user request information is converted and transmitted to a Zigbee sensor in a data conversion center of a gateway, and Zigbee sensor information is converted and transmitted to an Internet user in the data conversion center of the gateway; according to an HTML response generated by an embedded web server of the gateway, a user can view Zigbee sensor information through a browser. The method for connecting the Internet and the Zigbee sensor network can realize network interconnection under different transmission protocols, particularly complete effective transmission of information by using simpler data conversion under the condition that different network protocol conversion mechanisms are very complicated, and can solve the problem of heterogeneous wireless network fusion.

Description

Method for connecting Internet and Zigbee sensor network through Internet-Zigbee gateway
Technical Field
The invention relates to a method for connecting the Internet and a Zigbee sensor network through an Internet-Zigbee gateway.
Background
The Zigbee technology is a short-distance wireless networking communication technology, and is widely applied to the field of sensing control of the Internet of things due to the characteristics of low complexity and low power consumption. On the other hand, the development of the internet brings great convenience to the world nowadays, and if the internet and a wireless sensor network can be seamlessly connected, real-time online monitoring can be performed on sensors placed in dangerous and severe environments where people cannot approach, such as: the remote sensor data installed in a field unattended place such as a river and a reservoir are periodically collected and uploaded to the Internet, and when the gate level of a measured point exceeds a preset threshold value, an alarm is given out to remind relevant personnel to take measures in time. Therefore, the flood prevention hydrology and water conservancy monitoring department can really realize remote measurement. However, the transmission protocol of the internet and the transmission protocol of the Zigbee sensor network are not compatible, and how to access the internet to the Zigbee sensor network to remotely control the indispensable sensor in the automatic control device is an important problem faced by the research in the field of heterogeneous network convergence.
At present, there are two main methods for connecting the internet and the wireless sensor network by using a gateway: 1) protocol stack attachment method: attaching a sensor network protocol stack to the internet client hosts such that the internet client hosts can be viewed as a virtual sensor that conforms to both the internet transport protocol and the sensor network transport protocol; 2) and (3) configuring an IP address method: each sensor in the sensor network is configured with an IP routing address, and the gateway reactively explores the IP address of the Internet client and the IP address of the sensor, so as to identify a data transmission path. The method for configuring the IP address can ensure the interoperability of the sensor and other IP equipment, and the data routing information is relatively clear, so the method has attracted great attention in recent years.
The difficulty of constructing a heterogeneous network by accessing the Internet to a Zigbee sensor network by means of a complex application layer gateway is that a special protocol is generally adopted by a wireless sensor network, the requirements of an IP protocol widely applied to an Internet protocol stack on memory and bandwidth are high, the requirements of the IP protocol to the operating environment must be reduced if the IP protocol is seamlessly accessed to the wireless sensor network, the microcontroller and low-power wireless connection can be adapted, but the actual operation is difficult. Therefore, the gateway is designed for supporting the coexistence problem of different transmission protocols in the heterogeneous network, the existing network transmission protocol is not modified or added, the requirement of the network protocol on the operating environment is not influenced, the network heterogeneous problem is solved by using the method for converting and transmitting data by the gateway, and the gateway has important theoretical significance and application value. However, there is no description in the prior art.
Disclosure of Invention
The invention aims to provide a method for connecting the Internet and a Zigbee sensor network through an Internet-Zigbee gateway, which is used for supporting the coexistence problem of different transmission protocols in a heterogeneous network, does not modify or attach the existing network transmission protocol, does not influence the requirement of the network protocol on the operating environment, and solves the problem of network heterogeneity by using a method for converting and transmitting data through the gateway.
The technical solution of the invention is as follows:
a method for connecting Internet and Zigbee sensor network through Internet-Zigbee gateway, which converts and transmits information between Internet user and Zigbee sensor through data conversion center of Internet-Zigbee gateway to realize network interconnection of Internet and Zigbee sensor network, comprises the following steps:
step 1, converting and transmitting Internet user request information to a Zigbee sensor in a data conversion center of an Internet-Zigbee gateway;
step 2, converting and transmitting Zigbee sensor information to an embedded web server of the Internet-Zigbee gateway in a data conversion center of the Internet-Zigbee gateway;
and step 3, according to an HTML response generated by an embedded web server of the Internet-Zigbee gateway, an Internet user can view Zigbee sensor information through a browser.
Further, in step 1, a data conversion center of the Internet-Zigbee gateway converts and transmits Internet user request information to the Zigbee sensor part, establishes a mapping relationship between an input information character sequence and a network short address and a cluster identifier, and a Zigbee coordinator in the Internet-Zigbee gateway establishes a unique channel with a target sensor according to an address of the target sensor, and processes an attribute of the target sensor.
Further, step 1 specifically comprises:
step 11, after receiving user request information, an embedded web server of an Internet-Zigbee gateway sends the user request information to a data conversion center, the data conversion center establishes a mapping relationship between a character sequence of the user request information and a network short address and a cluster identifier, the mapping relationship is that a Zigbee protocol stack sending function parameter y and z are set according to a value of x, wherein x is the user request information, specifically, a request message sent by a user in a form mode is encoded by adopting an HTML default encoding mode to form a character sequence, the character sequence is converted into a decimal numeric string according to an ASCII code table, y is a target sensor network short address, represents an address of a target sensor in a Zigbee sensor network, z is the cluster identifier, and represents a processing mode of a Zigbee coordinator of the gateway on the target sensor attribute;
step 12, according to the mapping relation established in step 11, establishing a unique channel between a Zigbee coordinator of the Internet-Zigbee gateway and the target sensor;
step 13, according to the mapping relationship established in step 11, the Zigbee coordinator of the Internet-Zigbee gateway processes the target sensor attribute, specifically: and determining a processing mode of the Zigbee coordinator on the target sensor according to the specification of the Zigbee protocol stack on the cluster identifier.
Further, step 12 specifically includes: firstly, the Zigbee coordinator finishes data transceiving with other sensors in the Zigbee sensor network, and then the Zigbee coordinator performs incoming-outgoing communication and data transceiving with the target sensor according to the 16-bit network short address allocated to the target sensor during networking.
Further, in step 2, the data conversion center of the gateway converts and transmits the Zigbee sensor information to the embedded web server part in the Internet-Zigbee gateway, and performs system transcoding on the target sensor payload to output the transcoded value to the embedded web server in the Internet-Zigbee gateway in the form of HTML text.
Further, step 2 specifically comprises:
step 21, establishing a unique channel with the target sensor according to the Zigbee coordinator in step 12 and step 13, and processing the attribute of the unique channel, wherein the target sensor periodically acquires data and sends the data to the Zigbee coordinator of the Internet-Zigbee gateway in real time, the Zigbee coordinator reads a value M from a payload section of an application layer data frame of a Zigbee protocol stack, where M is a sensor attribute value requested by a user, and the Zigbee coordinator sends the sensor attribute value M requested by the user to the data conversion center;
step 22, in the data conversion center, converting the M with the sensor attribute value of hexadecimal number into a decimal number N according to an ASCII code table, wherein N is a target sensor attribute value required to be inquired in the user request information;
and step 23, in the data conversion center, transmitting the attribute value N of the target sensor required to be inquired in the user request information to an embedded web server of the Internet-Zigbee gateway through standard output in a form of HTML text by using a CGI program.
The invention has the beneficial effects that: compared with the prior art, the invention has the remarkable advantages that:
the method for connecting the Internet and the Zigbee sensor network through the Internet-Zigbee gateway can realize network interconnection under different transmission protocols, particularly complete effective transmission of information by using simpler data conversion under the condition that different network protocol conversion mechanisms are very complicated, and can solve the problem of heterogeneous wireless network fusion.
Secondly, the network packet loss rate is not considered in the prior art, the data conversion in the gateway data conversion center of the invention converts the request data and the sensor effective data through the CGI program, and the independence of different network transmission protocols is not influenced, so that the packet loss rate can be reduced.
In the aspect of network security, the prior art has incomplete network protection measures, and is difficult to prevent virus intrusion, the Internet-Zigbee gateway of the present invention includes an embedded web server and a Zigbee coordinator, and before data conversion begins, the data transmitted by the Internet and the Zigbee sensor network have completed respective security authentication procedures, so that a higher security guarantee can be provided.
And fourthly, the cost of protocol conversion in the prior art is higher, and the invention changes the existence form of data through the CGI executable program, thereby reducing the waste of memory and further reducing the cost of merging heterogeneous networks.
Drawings
Fig. 1 is a schematic diagram illustrating a method for connecting an Internet and a Zigbee sensor network through an Internet-Zigbee gateway according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a CGI procedure in a direction from an embedded web server to a Zigbee coordinator in the Internet-Zigbee gateway in the embodiment.
Fig. 3 is an APS Payload segment diagram of a Zigbee application layer sensor data frame in an embodiment.
Fig. 4 is a schematic diagram of a remote query interface of a Zigbee sensor network in an embodiment.
Detailed Description
Preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
Examples
A method for connecting the Internet and a Zigbee sensor network through an Internet-Zigbee gateway converts and transmits information between an Internet user and a Zigbee sensor through a data conversion center of the Internet-Zigbee gateway, and realizes network interconnection of the Internet and the Zigbee sensor network. As shown in fig. 1, the method specifically comprises the following steps:
step 1, converting and transmitting Internet user request information to a Zigbee sensor in a data conversion center of an Internet-Zigbee gateway. Firstly, establishing a mapping relation between an input information character sequence and a network short address and a cluster identifier, and establishing a unique channel between a Zigbee coordinator in the Internet-Zigbee gateway and a target sensor according to an allocated network short address to process the attribute of the target sensor, so as to convert and transmit Internet user request information to the Zigbee sensor; the method specifically comprises the following steps:
and 11, after receiving the user request information, the embedded web server of the Internet-Zigbee gateway sends the user request information to the data conversion center, and the data conversion center establishes a mapping relation between the input information character sequence and the network short address and the cluster identifier.
An embedded web server of the Internet-Zigbee gateway transmits user request data to a CGI program of the data conversion center through standard input, wherein the request data is used for searching a target sensor in a Zigbee sensor network and the attribute value of the sensor. The web browser at the user end encodes the format according to the data of variable name and variable value, the encoding type adopts the default application/x-www-form-url encoded encoding type of HTML, and finally a string of character sequences is formed and submitted to the embedded web server.
As shown in fig. 2, the CGI program of the data conversion center converts the character sequence of the requested information into a decimal number string x according to the ASCII code table. On the other hand, it is known that the target sensor 16bit network short address is represented by a hexadecimal number y in a Zigbee network security layer data frame. The Cluster ID is represented in the Zigbee application layer data frame by a hexadecimal number z. And establishing a mapping relation between x and two hexadecimal numbers.
And step 12, according to the mapping relation of y and z corresponding to x, establishing a unique channel between the Zigbee coordinator of the Internet-Zigbee gateway and the target sensor.
When a Z-Stack protocol Stack data sending function is called in a program of a data conversion center, wherein 16-bit network short addresses and cluster identifier parameters of a target sensor are respectively set according to y and Z corresponding to a digital string x, a Zigbee coordinator of a gateway immediately finishes the communication behavior with other sensors in a Zigbee sensor network, and establishes channels with the target sensor according to the 16-bit network short addresses distributed to the target sensor during networking by the Zigbee coordinator, and performs incoming-outgoing communication and data receiving and sending;
and step 13, determining a processing mode of the Zigbee coordinator of the Internet-Zigbee gateway on the target sensor according to the mapping relation of y and z corresponding to x and the specification of the Zigbee protocol stack on the cluster identifier.
And 2, converting and transmitting Zigbee sensor information to an embedded web server of the Internet-Zigbee gateway in a data conversion center of the Internet-Zigbee gateway. The target sensor payload is subjected to system transcoding, and a transcoded numerical value is output to an embedded web server of an Internet-Zigbee gateway in a standard mode in an HTML (hypertext markup language) text, so that a user can inquire Zigbee sensor information on a browser.
Step 21, as shown in fig. 1, after the Zigbee coordinator of the Internet-Zigbee gateway establishes a unique channel with the target sensor and processes the attribute of the unique channel, the target sensor periodically acquires data and sends the data to the Zigbee coordinator in real time, the Zigbee coordinator reads a value M from a payload segment of an application layer data frame of a Zigbee protocol stack, where M is a sensor attribute value requested by a user;
step 22, in the data conversion center, converting the M with the sensor attribute value of hexadecimal number into a decimal number N according to an ASCII code table, wherein N is a target sensor attribute value required to be inquired in the user request information;
and step 23, in the data conversion center, transmitting the N to an embedded web server in the Internet-Zigbee gateway through standard output in the form of HTML text by using a CGI program.
And 3, generating an HTML response by an embedded web server in the Internet-Zigbee gateway to a browser of the user for browsing, wherein the HTML page comprises the dynamically updated number N. Finally, the user can view the Zigbee sensor information through the browser.
In an embodiment, the Internet-Zigbee gateway includes an embedded web server, a data conversion center, and a Zigbee coordinator.
An embedded web server: transmitting user request data to a CGI program of the data conversion center through standard input; an HTML response is generated so that an internet user can view Zigbee sensor information through a browser.
The data conversion center: converting and transmitting Internet user request information to a Zigbee sensor, and establishing a mapping relation between an input information character sequence and a network short address and a cluster identifier; and converting and transmitting the Zigbee sensor information to an embedded web server in an Internet-Zigbee gateway.
Zigbee coordinator: establishing a unique channel between the target sensor and the target sensor according to the allocated network short address, and processing the attribute of the target sensor so as to convert and transmit Internet user request information to the Zigbee sensor; the method comprises the steps that periodically acquired data of a target sensor are received in real time, a Zigbee coordinator reads a numerical value M from a payload section of an application layer data frame of a Zigbee protocol stack, wherein the M is a sensor attribute value requested by a user, and the Zigbee coordinator sends the sensor attribute value M requested by the user to a data conversion center.
The present invention is described in further detail below with reference to examples:
a user inquires the temperature value of a sensor A of a Zigbee sensor network on a browser through the Internet, and an open-source AppWeb 6.2.3 is used as an embedded web server in the Internet-Zigbee gateway, is an embedded HTTP web server, can be directly integrated on application equipment, supports CGI in the processes of a dynamic webpage and a server-side embedded script, and can load a module, Apache style configuration, a single thread, a multi-thread application program and the like. In addition, CC2530 and Z-Stack of TI company are used as a hard software platform as an experimental background, a Zigbee CC2530 chip provided with a 2.4GHz/IEEE 802.15.4 compatible wireless transceiver is used as a ZigBee coordinator in an Internet-Zigbee gateway, and the Zigbee CC2530 chip supports offline programming. The ZigBee coordinator is connected with the equipment integrated with the embedded web server by an RS232 interface. The CGI program of the data conversion center is burned in both an embedded web server and a Zigbee coordinator in the Internet-Zigbee gateway.
And (3) converting and transmitting the Internet user request information to the target sensor A in a data conversion center of the Internet-Zigbee gateway according to the step 1.
And 11, establishing a mapping relation between the input information character sequence and the network short address and the cluster identifier in the data conversion center.
The user request information sends a request message to an embedded web server of the Internet-Zigbee gateway in a form, and is encoded in an application/x-www-form-url encoding format according to data such as "variable name" and "variable value", and the character sequence submitted to the CGI program is name a & attribute.
The CGI program of the data conversion center converts the character sequence of the requested information into a decimal number string x, x being 1109710910161115101110115111114653897116116114105981171161051111106111610110911210111497116117114101 according to the ASCII code table. The data frame of the Zigbee network security layer captured by Packet Sniffer software of TI company is displayed, the network short address y allocated to the target sensor A by a Zigbee coordinator of the Internet-Zigbee gateway is 0x0001, and the data frame of the sensor is displayed on a Zigbee application layer, and the cluster identifier z is 0x 0002. And establishing a mapping relation among the x value, the y value and the z value.
And step 12, according to the mapping relation of y and z corresponding to x, establishing a unique channel between the Zigbee coordinator of the Internet-Zigbee gateway and the target sensor A.
In the data conversion center program, when a Z-Stack protocol Stack data sending function is called, when a function parameter x is 1109710910161115101110115111114653897116116114105981171161051111106111610110911210111497116117114101, a network short address of the sending function call is set to 0x0001, and a cluster identifier is set to 0x 0002. Therefore, the Zigbee coordinator of the Internet-Zigbee gateway immediately ends the communication with other sensors in the Zigbee sensor network, and establishes a unique channel with the target sensor a.
And step 13, determining a processing mode of the Zigbee coordinator of the Internet-Zigbee gateway on the target sensor A according to the mapping relation of y and z corresponding to x and the specification of the Zigbee protocol stack on the cluster identifier.
According to the Zigbee Cluster Library (ZCL) in the Zigbee protocol, a temperature value is obtained when the value of the Cluster identifier is 0x 0002. Therefore, the rule of agreement between the Zigbee coordinator of the Internet-Zigbee gateway and the target sensor a is to calculate the temperature value of the sensor a.
And (3) converting the temperature value of the target sensor A to be transmitted to the Internet user in a data conversion center of the Internet-Zigbee gateway according to the step 2.
Step 21, the target sensor a periodically acquires data and sends the data to a Zigbee coordinator of the Internet-Zigbee gateway in real time, the Zigbee coordinator reads a value M from a Payload segment of a Zigbee application layer data frame, and captures data of an APS Payload segment of a Zigbee application layer sensor data frame with Packet Sniffer software of the TI company as shown in fig. 3, where the temperature and parent node address data acquired by the target sensor a are 0x25 and 0x00, respectively.
And 22, converting the hexadecimal value M of the payload segment into a decimal number N in the data conversion center according to an ASCII code table. N is the temperature value of target sensor a that the user requests to query in the request message.
After the data conversion of the Internet-Zigbee gateway, the decimal number corresponding to the hexadecimal number 25 is 37, and the decimal number corresponding to the hexadecimal number 0 is 0. Therefore, the temperature value of target sensor a is 37 and the parent node address is 0.
And 3, generating an HTML response by an embedded web server in the Internet-Zigbee gateway to a browser of the user for browsing, wherein the HTML page comprises the dynamically updated number N. Finally, the user can view the temperature value of the target sensor a through the browser.
The results of the experiment are shown in FIG. 4.
As shown in fig. 4, the browser displays a Zigbee sensor network remote query system interface, the user opens the browser at the client on the Internet to select the Zigbee sensor a to be queried, selects the attribute of the sensor, clicks the query, and after data transmission through the Internet-Zigbee gateway, real-time data is displayed in a new web page, and the temperature value is 37. Experiments show that the method realizes data conversion and transmission under two different network transmission protocols, and the Internet and the Zigbee sensor network are successfully connected through the Internet-Zigbee gateway, so that an Internet user can inquire the real-time data of the Zigbee sensor through a webpage.
Therefore, the method has advantages compared with other algorithms no matter the network packet loss rate, the network security or the algorithm overhead, and particularly has more obvious advantages under the condition of higher requirements on memory and operation bandwidth when the heterogeneous network is fused, thereby verifying the effectiveness of the method.

Claims (3)

1. A method for connecting the Internet and a Zigbee sensor network through an Internet-Zigbee gateway is characterized in that: the method is characterized in that information between an Internet user and a Zigbee sensor is converted and transmitted through a data conversion center of an Internet-Zigbee gateway, so that the network interconnection of the Internet and the Zigbee sensor network is realized, and the method comprises the following steps:
step 1, converting and transmitting Internet user request information to a Zigbee sensor in a data conversion center of an Internet-Zigbee gateway; specifically, a mapping relation between an input information character sequence and a network short address and a cluster identifier is established, and a Zigbee coordinator in an Internet-Zigbee gateway establishes a unique channel with a target sensor according to the address of the target sensor to process the attribute of the target sensor;
step 11, after receiving user request information, an embedded web server of an Internet-Zigbee gateway sends the user request information to a data conversion center, the data conversion center establishes a mapping relationship between a character sequence of the user request information and a network short address and a cluster identifier, the mapping relationship is that a Zigbee protocol stack sending function parameter y and z are set according to a value of x, wherein x is the user request information, specifically, a request message sent by a user in a form mode is encoded by adopting an HTML default encoding mode to form a character sequence, the character sequence is converted into a decimal numeric string according to an ASCII code table, y is a target sensor network short address, represents an address of a target sensor in a Zigbee sensor network, z is the cluster identifier, and represents a processing mode of a Zigbee coordinator of the gateway on the target sensor attribute;
step 12, according to the mapping relation established in step 11, establishing a unique channel between a Zigbee coordinator of the Internet-Zigbee gateway and the target sensor; the method specifically comprises the following steps: firstly, the Zigbee coordinator finishes data transceiving with other sensors in the Zigbee sensor network, and then the Zigbee coordinator performs incoming-outgoing communication and data transceiving with the target sensor according to the 16-bit network short address allocated to the target sensor during networking;
step 13, according to the mapping relationship established in step 11, the Zigbee coordinator of the Internet-Zigbee gateway processes the target sensor attribute, specifically: determining a processing mode of a Zigbee coordinator for the target sensor according to the specification of a Zigbee protocol stack on the cluster identifier;
step 2, converting and transmitting Zigbee sensor information to an embedded web server of the Internet-Zigbee gateway in a data conversion center of the Internet-Zigbee gateway;
and step 3, according to an HTML response generated by an embedded web server of the Internet-Zigbee gateway, an Internet user can view Zigbee sensor information through a browser.
2. The method of claim 1 for connecting Internet and Zigbee sensor network through Internet-Zigbee gateway, wherein: in step 2, the Zigbee sensor information is converted and transmitted to an embedded web server part in the Internet-Zigbee gateway in a data conversion center of the gateway, and the transcoded numerical value is output to the embedded web server in the Internet-Zigbee gateway in a standard manner in the form of an HTML text by carrying out system transcoding on the target sensor payload.
3. The method for connecting the Internet and the Zigbee sensor network through the Internet-Zigbee gateway as claimed in claim 1, wherein the step 2 is specifically:
step 21, establishing a unique channel with the target sensor according to the Zigbee coordinator in step 12 and step 13, and processing the attribute of the unique channel, wherein the target sensor periodically acquires data and sends the data to the Zigbee coordinator of the Internet-Zigbee gateway in real time, the Zigbee coordinator reads a value M from a payload section of an application layer data frame of a Zigbee protocol stack, where M is a sensor attribute value requested by a user, and the Zigbee coordinator sends the sensor attribute value M requested by the user to the data conversion center; step 22, in the data conversion center, converting the M with the sensor attribute value of hexadecimal number into a decimal number N according to an ASCII code table, wherein N is a target sensor attribute value required to be inquired in the user request information;
and step 23, in the data conversion center, transmitting the attribute value N of the target sensor required to be inquired in the user request information to an embedded web server of the Internet-Zigbee gateway through standard output in a form of HTML text by using a CGI program.
CN201710180652.1A 2017-03-23 2017-03-23 Method for connecting Internet and Zigbee sensor network through Internet-Zigbee gateway Active CN106878140B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710180652.1A CN106878140B (en) 2017-03-23 2017-03-23 Method for connecting Internet and Zigbee sensor network through Internet-Zigbee gateway

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710180652.1A CN106878140B (en) 2017-03-23 2017-03-23 Method for connecting Internet and Zigbee sensor network through Internet-Zigbee gateway

Publications (2)

Publication Number Publication Date
CN106878140A CN106878140A (en) 2017-06-20
CN106878140B true CN106878140B (en) 2020-04-21

Family

ID=59173538

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710180652.1A Active CN106878140B (en) 2017-03-23 2017-03-23 Method for connecting Internet and Zigbee sensor network through Internet-Zigbee gateway

Country Status (1)

Country Link
CN (1) CN106878140B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109525621B (en) * 2017-09-20 2020-09-18 华为技术有限公司 Data synchronization method, equipment and system based on ZigBee binding
CN112469138A (en) * 2020-11-25 2021-03-09 四川长虹电器股份有限公司 Edge gateway and method for coordinating mobile phone app controlled equipment to edge gateway

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20090055496A (en) * 2007-11-28 2009-06-02 서일대학산학협력단 Zigbee gateway apparatus for ethernet communication based on ip

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070030848A1 (en) * 2005-07-28 2007-02-08 Yokogawa Electric Corporation Network communication system
CN103207594A (en) * 2012-11-12 2013-07-17 上海大学 Intelligent home control system based on Internet and ZigBee
CN103596294A (en) * 2013-11-25 2014-02-19 吉林大学 Smart home wireless sensor network based on ZigBee
CN205193466U (en) * 2015-12-07 2016-04-27 西安建筑科技大学 Home systems's gateway peripheral circuit and this home systems based on ARM and zigBee

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20090055496A (en) * 2007-11-28 2009-06-02 서일대학산학협력단 Zigbee gateway apparatus for ethernet communication based on ip

Also Published As

Publication number Publication date
CN106878140A (en) 2017-06-20

Similar Documents

Publication Publication Date Title
AU2021266359B2 (en) Edge computing-based internet of things proxy apparatus and data decision-making method
US11659308B2 (en) Intelligent gas meter for internet of things (IOT) system
CN109687995B (en) CoAP-based OPC UA message transmission method suitable for resource-limited industrial field equipment
CN101141419B (en) Heterogeneous network protocol based communication method between digital household appliances
US11032364B2 (en) Method and apparatus for interworking between heterogeneous systems
KR101697320B1 (en) Apparatus and Method for Supporting Sensor Data Transmission based on Internet
WO2012152133A1 (en) Method and system for implementing sensor adaptation
CN212367305U (en) Electric power thing of perception equipment allies oneself with management device
Schmitt et al. TinyIPFIX: An efficient application protocol for data exchange in cyber physical systems
CN106878140B (en) Method for connecting Internet and Zigbee sensor network through Internet-Zigbee gateway
JP5678184B2 (en) Remote user interface management apparatus and method and system therefor
WO2017143743A1 (en) Heterogeneous protocol communication method and controller
CN105933435A (en) Real-time query method based on Internet of Things
CN202094935U (en) Dynamic IP network based remote switch signal control system
Elmangoush et al. Application-derived communication protocol selection in M2M platforms for smart cities
WO2013189394A2 (en) Resource information acquisition method, system and device for internet of things terminal device
CN103439934A (en) Intelligent electrical appliance control method, server and system
CN102202045A (en) Method, system and device for realizing Internet access in broadcast television network
Zhu et al. Smart home control system based on internet of things
CN106452998B (en) Method and device for providing service
CN210780850U (en) Internet of things radio frequency control intelligent gateway
Nguyen et al. Horizontal integration of CoAP and MQTT on Internet protocol-based LoRaMotes
WO2016184025A1 (en) Device management method and apparatus
Qiu et al. Gateway architecture for zigbee sensor network for remote control over IP network
KR101327398B1 (en) Network gateway

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
GR01 Patent grant
GR01 Patent grant
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20170620

Assignee: Hanzhong (Nanjing) Technology Co.,Ltd.

Assignor: NANJING INSTITUTE OF TECHNOLOGY

Contract record no.: X2024980000528

Denomination of invention: The method of connecting the Internet and Zigbee sensor network through the Internet Zigbee gateway

Granted publication date: 20200421

License type: Common License

Record date: 20240112

EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20170620

Assignee: Nanjing University of Engineering Science Park Co.,Ltd.

Assignor: NANJING INSTITUTE OF TECHNOLOGY

Contract record no.: X2024980001093

Denomination of invention: The method of connecting the Internet and Zigbee sensor network through the Internet Zigbee gateway

Granted publication date: 20200421

License type: Common License

Record date: 20240122

EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20170620

Assignee: Nanjing Jinxi Yunchuang Technology Co.,Ltd.

Assignor: NANJING INSTITUTE OF TECHNOLOGY

Contract record no.: X2024980001805

Denomination of invention: The method of connecting the Internet and Zigbee sensor network through the Internet Zigbee gateway

Granted publication date: 20200421

License type: Common License

Record date: 20240202

EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20170620

Assignee: Nanjing Institute of Engineering Technical Service Co.,Ltd.

Assignor: NANJING INSTITUTE OF TECHNOLOGY

Contract record no.: X2024980002478

Denomination of invention: The method of connecting the Internet and Zigbee sensor network through the Internet Zigbee gateway

Granted publication date: 20200421

License type: Common License

Record date: 20240305

EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20170620

Assignee: Nanjing Chuangyi Education Technology Group Co.,Ltd.

Assignor: NANJING INSTITUTE OF TECHNOLOGY

Contract record no.: X2024980002731

Denomination of invention: The method of connecting the Internet and Zigbee sensor network through the Internet Zigbee gateway

Granted publication date: 20200421

License type: Common License

Record date: 20240312

EE01 Entry into force of recordation of patent licensing contract