CN104333508A - Zigbee gateway based on cloud computing - Google Patents

Zigbee gateway based on cloud computing Download PDF

Info

Publication number
CN104333508A
CN104333508A CN201410606112.1A CN201410606112A CN104333508A CN 104333508 A CN104333508 A CN 104333508A CN 201410606112 A CN201410606112 A CN 201410606112A CN 104333508 A CN104333508 A CN 104333508A
Authority
CN
China
Prior art keywords
layer
zigbee
address
application
module
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
CN201410606112.1A
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.)
Changzhou Vocational Institute of Mechatronic Technology
Original Assignee
Changzhou Vocational Institute of Mechatronic 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 Changzhou Vocational Institute of Mechatronic Technology filed Critical Changzhou Vocational Institute of Mechatronic Technology
Priority to CN201410606112.1A priority Critical patent/CN104333508A/en
Publication of CN104333508A publication Critical patent/CN104333508A/en
Pending legal-status Critical Current

Links

Abstract

The invention relates to a Zigbee gateway based on cloud computing. The Zigbee gateway comprises a hardware layer, a software support layer and an application layer, wherein the hardware layer comprises a power supply module, a main control module, a memory module, an input and display module, a GPRS module and a Zigbee module; the software support layer comprises a Zigbee protocol stack and a Tcp/ip protocol stack; the application layer comprises an application address adaption layer and an application protocol layer. The Zigbee gateway based on cloud computing has the advantages of safety and reliability, virtualization, portability, service on demand, low cost and the like due to cloud computing and cloud storage, and is advantageous for better data mining and intelligent decision; the Zigbee gateway can be applied to a library fire extinguishing system based on a wireless sensor network, and also can be applied to disaster preventing and pre-warning systems of other types based on the wireless sensor network.

Description

A kind of zigbee gateway based on cloud computing
Technical field
The present invention relates to wireless sense network field, especially a kind of zigbee gateway based on cloud computing.
Background technology
Wireless sensor network refers to by great amount of cost relative moderate, has the embedded wireless net of sensor node composition of perception, computing capability, real time communication ability.The Zigbee protocol be based upon on IEEE 802.15.4 is the global wireless communication standard being applied to wireless monitor and control, is one of one preferred technique of wireless sensor networking.
Gateway is the protocol converter being based upon more than transport layer, and it connects two or more separate network usually, after often receiving a kind of packet of agreement, before forwarding it is converted to the form of another kind of agreement.Gateway has uniqueness in whole wireless network, and all Zigbee node datas all send to gateway, and carry out address, protocol conversion by it, extracts after effective information data Reseal becomes TCP/IP packet and sends to server; Otherwise, after the data that server sends also need carry out address, protocol conversion by gateway, just send to Zigbee network.In a word, Zigbee gateway is the terminal that Zigbee wireless network and server carry out exchanges data.
Cloud computing is a kind of network supercomputing pattern, its general principle is exactly, by network, huge computing program is split into numerous less subprogram automatically, then the bulky systems transferring to multi-section server to form carries out searching, computational analysis result is returned to user.Data Computation distribution on many distributed computers, instead of is placed on local computer or puts on the remote server, and such user can access computer and storage system as requested, and by resources shifting in the application needed.In based on the library fire system of wireless sense network and other based on the early warning system of taking precautions against natural calamities of wireless sense network in use cloud computing and cloud memory technology, be conducive to carrying out better the cooperation of data and share.By the data sharing of this user to government department and other users, also can share the data system, knowledge base etc. that use government department and other users, be conducive to carrying out data mining and intelligent decision better.
Tradition zigbee gateway is the instruction sending the data to home server or receive home server, cloud computing and cloud memory technology can not be used, cloud computing and cloud cannot be enjoyed and store bring safe and reliable, virtual, the advantages such as convenience, on-demand service, low cost, also cannot share the data system, knowledge base etc. that use government department and other users, be unfavorable for carrying out data mining and intelligent decision preferably.
Summary of the invention
The technical problem to be solved in the present invention is: propose a kind of zigbee gateway based on cloud computing, cloud computing and cloud can be enjoyed and store bring safe and reliable, virtual, the advantages such as convenience, on-demand service, low cost, are conducive to carrying out data mining and intelligent decision better.
The technical solution adopted in the present invention is: a kind of zigbee gateway based on cloud computing, comprises hardware layer, software support layer and application layer; Described hardware layer comprises supply module, main control module, memory module, input and display module, GPRS module and Zigbee module; Described supply module provides the input voltage of 5V; And the operating voltage of 3.3V and 1.8V is produced by level transferring chip; Described main control module to zigbee network and TCP/IP carry out data transmitting-receiving, IP(Internet Protocol) conversion and net between address resolution; Described main control module connects supply module, memory module, input and display module, GPRS module and Zigbee module respectively; Described software support layer comprises Zigbee protocol stack and Tcp/ip protocol stack; Described application layer comprises application address adaptation layer and application protocol layer; Zigbee address, IP address and application layer address are formed mapping relations by described application address adaptation layer, are fitted in application address by the dissimilar network address, make node belong to a network in application layer; Described application protocol layer passes through to formulate unified application protocol on the basis of application address adaptation layer, the form that standardization internodal data exchanges.
Zigbee gateway of the present invention gathers data, encapsulates and receives and dispatches and carries out by GPRS network the instruction that data report and receive cloud computing platform; The data collected carry out storing by cloud computing and cloud storage platform, analysis and calculation.
Further, application protocol layer of the present invention operates on Zigbee and Tcp/ip, the protocol layer formulated for the exchanges data of Regular application layer, agreement basic format comprises frame type, frame length, sequence number, destination address, transmission address, packet and verification; Wherein destination address refers to application layer address with transmission address; Packet is the content that this frame will send, and size, the form of packet are relevant to frame type, but are not more than upper length limit; Sequence number is the serial number of protocol data bag, is to be produced by request end to be taken back by responding terminal, to determine that whether oneself normally receives and process message, if not, needs to retransmit.
The invention has the beneficial effects as follows: can enjoy cloud computing and cloud and store bring safe and reliable, virtual, the advantages such as convenience, on-demand service, low cost, are conducive to carrying out better data mining and intelligent decision; Can be applied in the library fire system based on wireless sense network, also can be applicable to take precautions against natural calamities based on other type of wireless sense network, in early warning system.
Accompanying drawing explanation
Below in conjunction with drawings and Examples, the present invention is further described.
Fig. 1 is that Zigbee gateway of the present invention and cloud computing platform carry out communication system architecture figure;
Fig. 2 is Zigbee gateway overall construction drawing of the present invention;
Fig. 3 is Zigbee gateway hardware structure chart of the present invention;
Fig. 4 is application software architecture figure of the present invention.
Embodiment
The present invention is further detailed explanation with preferred embodiment by reference to the accompanying drawings now.These accompanying drawings are the schematic diagram of simplification, only basic structure of the present invention are described in a schematic way, and therefore it only shows the formation relevant with the present invention.
Fig. 1 is that Zigbee gateway and cloud computing platform carry out communication system architecture figure.As shown in Figure 2, hardware structure diagram as shown in Figure 3 for overall construction drawing.
As shown in Figure l, zigbee gateway is responsible for the collection of fire-fighting system sensing net node related data, data encapsulation and transmitting-receiving, is carried out the instruction etc. that data report and receive cloud computing platform by GPRS network.The storage of cloud computing and cloud storage platform primary responsibility image data, analysis and calculation.User is by wide-area network access cloud service.Browing system data and issue an order.Also by man-machine interface, basic setup and inquiry are carried out to Zigbee gateway.
Zigbee gateway based on cloud computing adopts modularization hierarchical design scheme, is made up of, see Fig. 2 hardware layer, software support layer and application layer.
Gateway is divided primarily of compositions such as supply module, main control module, memory module, input and display module, GPRS module and Zigbee module, as shown in Figure 2 by hardware module.Supply module 5V DC inputs, by level transferring chip for system provides 3.3V, and 1.8V two kinds of voltages; Main control module is the nucleus module of whole gateway, to be responsible between the transmitting-receiving of Zigbee network and TCP/IP data, IP(Internet Protocol) conversion, net address resolution etc.Choose the S3C2410 chip based on ARM920T kernel, configuration 64M byte SDRAM and 256M byte N AND Flash, that display section adopts is the LQ084V1DG21 of SHARP company, and be band touch-screen 8.4 inches of TFT digital LCDs, resolution is 640 × 480; GPRS module chooses the MC52i GPRS module that Siemens Company provides, and the rf chip of Zigbee module selects CC2530.
Zigbee gateway software is formed primarily of hardware device bottom layer driving, operating system and protocol stack and gateway application.
Gateway application is divided into two parts by operation platform: operate in the Zigbee application program on CC2530 chip and the gateway service logical program operated on S3c2410 chip, relate to two quasi-protocols: Zigbee protocol and Tcp/ip agreement.In order to make exchanges data transparence between node, on the Zigbee protocol and Tcp/ip agreement of gateway software supporting layer, with the addition of application address adaptation layer and application protocol layer two methods sublayer.The effect of application address adaptation layer is Zigbee address, IP address and application layer address to form mapping relations, the dissimilar network address is fitted in application address, node is made to belong to a network in application layer, for the transparent exchange of internodal data provides the foundation.Application protocol layer is by formulating unified application protocol on the basis of application address adaptation layer, the form that the internodal data that standardized exchanges, thus solves the problem of the transparent exchange of node data.Application protocol layer operates on Zigbee and Tcp/ip, and the protocol layer formulated for the exchanges data of Regular application layer, agreement basic format is: frame type+frame length+sequence number+destination address+transmission address+packet+verification.Wherein destination address refers to application layer address with transmission address; Packet is the content that this frame will send, and the size, form etc. of packet are relevant to frame type, but can not be greater than upper length limit.Sequence number is the serial number of protocol data bag, and it is produced by request end to be taken back by responding terminal, can determine that whether oneself normally receives and process message, if not, needs to retransmit like this.
Before gateway sends data to high in the clouds, need first to set up TCP/IP by GPRS module and high in the clouds and be connected, and log in cloud server authentication of users name and password.User reports node status information according to the protocol format of application protocol layer defined to high in the clouds, the content of packet comprises, node ambient temperature value, ambient humidity value, cigarette sense sensor states, record moment, node location etc., wherein frame type is state reporting.When occur node measurement value exceed threshold value need report to the police time, report frame type to be warning, gateway according to corresponding protocol format by node ambient temperature value, ambient humidity value, cigarette sense sensor states, record moment, node location etc. report high in the clouds.After high in the clouds receives the information of Zigbee gateway transmission, send acknowledgement frame and show that high in the clouds receives information.Zigbee gateway, after sending data to high in the clouds, waits for one period set, if the acknowledgement frame not receiving high in the clouds confirms, just resends reporting information or warning message.
When high in the clouds sends order to gateway, high in the clouds sends command information by the protocol format of application protocol layer defined to gateway, and the content of packet comprises, the current state, parameters order etc. of inquiry specified node.After Zigbee gateway receives the order of high in the clouds transmission, application layer address is resolved to Zigbee address, order is sent to zigbee module by main controller.Gateway Zigbee module as telegon, sends order to corresponding Zigbee node in Zigbee network.Query node status command requires that corresponding node is by current ambient temperature value, ambient humidity value, cigarette propagated sensation sensor state reporting; Setting command arranges the parameter of respective nodes, as: the numbering corresponding to the graph text information that the numbering corresponding to information of voice prompt that speech play node need play, the display of picture and text broadcast nodes be set.Above order request has the node of voice playing device and picture and text indicating device accordingly, plays corresponding voice messaging and the corresponding graph text information of display, guides and withdraw with prompting staff response and support staff.After Zigbee gateway receives the order of high in the clouds transmission, send acknowledgement frame and show that Zigbee gateway receives information.One period set, after sending data to Zigbee gateway, is waited in high in the clouds, if the acknowledgement frame not receiving Zigbee gateway confirms, just resends order.
The just the specific embodiment of the present invention described in above specification, various illustrating is not construed as limiting flesh and blood of the present invention, person of an ordinary skill in the technical field after having read specification can to before described embodiment make an amendment or be out of shape, and do not deviate from the spirit and scope of the invention.

Claims (3)

1. based on a zigbee gateway for cloud computing, it is characterized in that: comprise hardware layer, software support layer and application layer; Described hardware layer comprises supply module, main control module, memory module, input and display module, GPRS module and Zigbee module; Described supply module provides the input voltage of 5V; And the operating voltage of 3.3V and 1.8V is produced by level transferring chip; Described main control module to zigbee network and TCP/IP carry out data transmitting-receiving, IP(Internet Protocol) conversion and net between address resolution; Described main control module connects supply module, memory module, input and display module, GPRS module and Zigbee module respectively; Described software support layer comprises Zigbee protocol stack and Tcp/ip protocol stack; Described application layer comprises application address adaptation layer and application protocol layer; Zigbee address, IP address and application layer address are formed mapping relations by described application address adaptation layer, are fitted in application address by the dissimilar network address, make node belong to a network in application layer; Described application protocol layer passes through to formulate unified application protocol on the basis of application address adaptation layer, the form that standardization internodal data exchanges.
2. a kind of zigbee gateway based on cloud computing as claimed in claim 1, is characterized in that: described zigbee gateway gathers data, encapsulates and receives and dispatches and carries out by GPRS network the instruction that data report and receive cloud computing platform; The data collected carry out storing by cloud computing and cloud storage platform, analysis and calculation.
3. a kind of zigbee gateway based on cloud computing as claimed in claim 1, it is characterized in that: described application protocol layer operates on Zigbee and Tcp/ip, the protocol layer formulated for the exchanges data of Regular application layer, agreement basic format comprises frame type, frame length, sequence number, destination address, transmission address, packet and verification; Wherein destination address refers to application layer address with transmission address; Packet is the content that this frame will send, and size, the form of packet are relevant to frame type, but are not more than upper length limit; Sequence number is the serial number of protocol data bag, is to be produced by request end to be taken back by responding terminal, to determine that whether oneself normally receives and process message, if not, needs to retransmit.
CN201410606112.1A 2014-10-31 2014-10-31 Zigbee gateway based on cloud computing Pending CN104333508A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410606112.1A CN104333508A (en) 2014-10-31 2014-10-31 Zigbee gateway based on cloud computing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410606112.1A CN104333508A (en) 2014-10-31 2014-10-31 Zigbee gateway based on cloud computing

Publications (1)

Publication Number Publication Date
CN104333508A true CN104333508A (en) 2015-02-04

Family

ID=52408163

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410606112.1A Pending CN104333508A (en) 2014-10-31 2014-10-31 Zigbee gateway based on cloud computing

Country Status (1)

Country Link
CN (1) CN104333508A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106603271A (en) * 2016-11-12 2017-04-26 东莞市金华电子有限公司 Zigbee application-based wireless device networking system
CN112335206A (en) * 2018-06-20 2021-02-05 西门子股份公司 Cloud gateway device and method for operating cloud gateway device
CN114500455A (en) * 2021-12-29 2022-05-13 杭州深渡科技有限公司 Configuration method and system of intelligent lamp

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101005418A (en) * 2006-12-08 2007-07-25 海信集团有限公司 Communication method and device between ether network and radio sensor network
US8036211B1 (en) * 2004-03-09 2011-10-11 Genband Us Llc Legacy user proxy call session control function
CN102325344A (en) * 2011-06-13 2012-01-18 南京邮电大学 Method for tracking and locating container by adopting label sensor network
CN203279208U (en) * 2013-04-22 2013-11-06 宿迁学院 Gateway based on GPRS (general packet radio service) mobile network and ZigBee wireless network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8036211B1 (en) * 2004-03-09 2011-10-11 Genband Us Llc Legacy user proxy call session control function
CN101005418A (en) * 2006-12-08 2007-07-25 海信集团有限公司 Communication method and device between ether network and radio sensor network
CN102325344A (en) * 2011-06-13 2012-01-18 南京邮电大学 Method for tracking and locating container by adopting label sensor network
CN203279208U (en) * 2013-04-22 2013-11-06 宿迁学院 Gateway based on GPRS (general packet radio service) mobile network and ZigBee wireless network

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106603271A (en) * 2016-11-12 2017-04-26 东莞市金华电子有限公司 Zigbee application-based wireless device networking system
CN112335206A (en) * 2018-06-20 2021-02-05 西门子股份公司 Cloud gateway device and method for operating cloud gateway device
US11469925B2 (en) 2018-06-20 2022-10-11 Siemens Aktiengesellschaft Cloud gateway device and method for operating a cloud gateway device
CN114500455A (en) * 2021-12-29 2022-05-13 杭州深渡科技有限公司 Configuration method and system of intelligent lamp
CN114500455B (en) * 2021-12-29 2023-08-25 杭州深渡科技有限公司 Configuration method and system of intelligent lamp

Similar Documents

Publication Publication Date Title
CN109547529B (en) DDS-based distributed industrial data distribution method
CN106572189B (en) A kind of Multi-sensor intelligent monitoring system based on Internet of Things
Isikdag BIM and IoT: A synopsis from GIS perspective
CN109683494B (en) Internet of things equipment linkage control system
Bo et al. Web of things-based remote monitoring system for coal mine safety using wireless sensor network
Ge et al. Design and implementation of interoperable IoT healthcare system based on international standards
CN111381983A (en) Lightweight message middleware system and method of virtual test target range verification system
CN106909641B (en) Real-time data memory
CN103207920A (en) Parallel metadata acquisition system
CN104967686A (en) System and design method for constructing plane type 3S intelligent service shop
CN102523251A (en) Cloud storage architecture for processing mass data and cloud storage platform using the same
CN104333508A (en) Zigbee gateway based on cloud computing
CN106453618A (en) Remote sensing image processing service cloud platform system based on G-Cloud cloud computing
Saari et al. Data collector service-practical approach with embedded linux
CN102364909A (en) Message synchronization system and method based on mobile equipment and local server
CN114760368A (en) Data transmission method and related equipment
Hu et al. Connected intelligent home based on the Internet of Things
CN112749234A (en) Monitoring management system for monitoring and managing indoor air quality and energy
Chen et al. Design of docker-based cloud platform for smart medicine box
CN104298718A (en) SOA based distributed drawing-document system
CN114374574B (en) B-SS supporting embedded BACnet device, sensor and building automatic control system
Wei Design and research of cloud computing resource data monitoring system
ES2675861T3 (en) Method of communication between two devices
Ostermaier et al. Leveraging the web of things for rapid prototyping of ubicomp applications
CN105160456A (en) Petroleum platform resource pool management system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150204