CN108024225A - A kind of ZigBee equipment networks method - Google Patents
A kind of ZigBee equipment networks method Download PDFInfo
- Publication number
- CN108024225A CN108024225A CN201711366718.2A CN201711366718A CN108024225A CN 108024225 A CN108024225 A CN 108024225A CN 201711366718 A CN201711366718 A CN 201711366718A CN 108024225 A CN108024225 A CN 108024225A
- Authority
- CN
- China
- Prior art keywords
- zigbee
- node
- network
- router
- central
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 24
- 230000006855 networking Effects 0.000 claims abstract description 14
- 230000005540 biological transmission Effects 0.000 claims abstract description 11
- 230000010354 integration Effects 0.000 abstract description 3
- 230000006854 communication Effects 0.000 description 10
- 238000004891 communication Methods 0.000 description 9
- 238000007792 addition Methods 0.000 description 2
- 238000012217 deletion Methods 0.000 description 2
- 230000037430 deletion Effects 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000003780 insertion Methods 0.000 description 1
- 230000037431 insertion Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 230000006641 stabilisation Effects 0.000 description 1
- 238000011105 stabilization Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/18—Self-organising networks, e.g. ad-hoc networks or sensor networks
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01D—MEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
- G01D21/00—Measuring or testing not otherwise provided for
- G01D21/02—Measuring two or more variables by means not covered by a single other subclass
-
- G—PHYSICS
- G08—SIGNALLING
- G08C—TRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
- G08C23/00—Non-electrical signal transmission systems, e.g. optical systems
- G08C23/04—Non-electrical signal transmission systems, e.g. optical systems using light waves, e.g. infrared
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L67/025—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
- H04L67/125—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
A kind of ZigBee equipment networks method, is related to ZigBee networking arts.The present invention is to solve the problems, such as that existing ZigBee-network is poor there are integration.Write device type, start-up mode, beacon event and superframe length in ZigBee central coordinator nodes;ZigBee central coordinators node establishes ZigBee-network according to the device type of write-in, start-up mode, beacon event and superframe length and server, after ZigBee-network is successfully established, ZigBee central coordinator nodes are responsible for communicating with terminal node or router, when terminal node or router receive the networking command of ZigBee central coordinators node transmission, either router makes corresponding operating to terminal node and the operation information is fed back to ZigBee central coordinator nodes makes terminal node or router add ZigBee-network.For setting up ZigBee-network.
Description
Technical field
The present invention relates to a kind of ZigBee equipment networks method.Belong to ZigBee networking arts.
Background technology
ZigBee is the LAN protocol based on IEEE802.15.4, i.e. IEEE802.15.4 define its physical layer and
Medium access control protocol, ZigBee alliances have formulated the upper-layer protocols such as its network layer, application layer.ZigBee wireless communication protocols
2.4GHz frequency ranges can be operated in or be operated in communication in 868MHz and 915MHz frequency ranges.And ZigBee technology power consumption
Low, bandwidth is low and data stabilization, extremely meets the standard of Internet of Things Network Communication.
ZigBee standard stack constructions are to be defined on the basis of OSI seven layer models according to market and actual needs.
IEEE802.I 5.4-2003 standards define bottom:Physical layer (Physical Layer., PHY) and MAC layer
(Medium Access Control Sub-Layer, MAC) layer.ZigBee alliances define network layer on this basis
(Network Layer, NWK), application layer (Application Layer, APL) framework.Wherein application layer includes application support
Sublayer (Application Support Sub-Layer, APS), application architecture (Application Framework, AF).
And existing ZigBee-network there are integration it is poor the problem of.
The content of the invention
The present invention is to solve the problems, such as that existing ZigBee-network is poor there are integration.A kind of ZigBee is now provided to set
Standby network-building method.
A kind of ZigBee equipment networks method, the described method comprises the following steps:
Step 1: the protocol layer in initialization ZigBee central coordinators node and ZigBee central coordinator nodes;
Step 2: start ZigBee central coordinator nodes, in ZigBee central coordinator nodes write device type,
Start-up mode, beacon event and superframe length;
Step 3: ZigBee central coordinators node is according to the device type, start-up mode, beacon thing write in step 2
Part and superframe length establish ZigBee-network with server, after ZigBee-network is successfully established, ZigBee central coordinator nodes
It is responsible that either router communicates when terminal node or router receive ZigBee central coordinator sections with terminal node
During the networking command that point is sent, terminal node or router make corresponding operating and feed back to the operation information in ZigBee
Heart coordinator node, so that terminal node or router add ZigBee-network.
Beneficial effects of the present invention are:
Center of the application using central coordinator node as ZigBee-network, passes through central coordinator node and server
ZigBee-network is established, after ZigBee-network is successfully established, central coordinator node is responsible for and each terminal node phase intercommunication
Letter, is transmitted into row information, and is connected with host computer and is formed gateway server;The application can integrate multiple terminal nodes,
System integrating improves more than 5 times compared with existing network.
The application by accessing network system on host computer, such as can also manage host computer access server
Reason person can carry out course additions and deletions by host computer interface, can also manage whether student has the right to select some classes, student
Curricula-variable journey can be checked by this interface and curricula-variable can be continued or delete the course selected.
The application can also be applied to laboratory, and terminal node can be electric switch control node in laboratory and red
Outer remote control node, for controlling the on or off of electric appliance in laboratory.
Brief description of the drawings
Fig. 1 is a kind of flow chart of ZigBee equipment networks method described in embodiment one;
Fig. 2 is a kind of structure diagram of ZigBee equipment networks, and reference numeral 1 represents server, 2 computer of reference numeral
Host, reference numeral 3 represent central coordinator node, and reference numeral 4 represents terminal node, and reference numeral 3 and reference numeral 4 are equal
For wireless access point.
Embodiment
Embodiment one:Present embodiment, one kind described in present embodiment are illustrated referring to Figures 1 and 2
ZigBee equipment network methods, the described method comprises the following steps:
Step 1: the protocol layer in initialization ZigBee central coordinators node and ZigBee central coordinator nodes;
Step 2: start ZigBee central coordinator nodes, in ZigBee central coordinator nodes write device type,
Start-up mode, beacon event and superframe length;
Step 3: ZigBee central coordinators node is according to the device type, start-up mode, beacon thing write in step 2
Part and superframe length establish ZigBee-network with server, after ZigBee-network is successfully established, ZigBee central coordinator nodes
It is responsible that either router communicates when terminal node or router receive ZigBee central coordinator sections with terminal node
During the networking command that point is sent, terminal node or router make corresponding operating and feed back to the operation information in ZigBee
Heart coordinator node, so that terminal node or router add ZigBee-network.
In present embodiment, communication layers are a layer in Zigbee protocol stack.User can the connection of oneself setting network
Prompting character after success.
The application mainly establishes network by ZigBee central coordinators, starts network event, after network is successfully established, terminal
Node, can send request and add network, after the confirmation of ZigBee central coordinators, be successfully joined network.Complete building for network
Vertical and communication,
The identification of equipment is first carried out, then according to situation about identifying, performs corresponding operation.If central coordinator
Device, then establish network.If terminal node or router, then add network.Formed centered on ZigBee central coordinators
Star Network.
In ZigBee-network, after information source sends data during communication, begin to when the stay of two nights receives the feedback letter after data
Breath, if having received feedback information, shows that a communication process is completed, if not receiving slowly, information source can be sent again
Data, untill receiving feedback information.This network communication mechanism ensure that the reliability of ZigBee communication.
Embodiment two:Present embodiment is to a kind of ZigBee equipment network sides described in embodiment one
Method is described further, and in present embodiment, the method is further comprising the steps of:
Host computer access server, by accessing ZigBee-network on host computer.
In present embodiment, wired connection of the central coordinator node with host computer via USB port.
User can be used as server issue WEB webpages by host computer in the application, can carry out remote detection and control
System.Traditional product function is extended, is in addition also added into the function of curricula-variable and administrator's additions and deletions course, administrator can be with
The state in laboratory is observed by Web ends, to prevent unsafe condition, reaches this one-stop Student Administrators
Interactive mode.
Server is Web server, can be with the interface of user mutual, Web clothes for establishing one to ZigBee-network
When running into the request for accessing JSP webpages program segment therein is first carried out, then by implementing result together with jsp file in business device
In HTML code return to client together.The java applet section of insertion can with operating database, redirect webpage etc., with reality
Now establish the required function of dynamic web page.
Embodiment three:Present embodiment is to a kind of ZigBee equipment network sides described in embodiment one
Method is described further, and in present embodiment, after ZigBee-network is successfully established, ZigBee central coordinator nodes are responsible for and end
The detailed process that end node or router communicate is:
After ZigBee-network is successfully established, ZigBee central coordinator nodes are responsible for and humiture information collection node, electricity
One or more in device switch control node or infrared remote control node communicate.
Embodiment four:Present embodiment is to a kind of ZigBee equipment network sides described in embodiment three
Method is described further, in present embodiment, when terminal node or router receive ZigBee central coordinators node hair
During the networking command sent, terminal node or router make corresponding operating and the operation information are fed back to ZigBee centers association
Device node is adjusted, so that the detailed process that terminal node or router add ZigBee-network is:
When humiture information collection node receives the networking command of ZigBee central coordinators node transmission, humiture
Humiture information in information collection node collection environment, and humiture information is sent to central coordinator node;
When electric switch control node receives the networking command of ZigBee central coordinators node transmission, electric switch
Control node control electric appliance is turned on or off, and the switching signal of electric appliance is fed back to central coordinator node;
When infrared remote control node receives the networking command of ZigBee central coordinators node transmission, infrared remote control node
Send infrared signal control electric appliance to be turned on or off, and the switching signal of electric appliance is fed back into central coordinator node.
In present embodiment, the application can somewhat transform laboratory, establish a Development of intelligent laboratory, manager
Detecting and controlling for laboratory information can be carried out by Web ends, the farthest transmission range of terminal node is up to 50 meters in network.Away from
In the case of for 8 meters, packet loss only has 0.58 ‰, and when distance is 0.1 meter, packet loss only has 0.43 ‰.In addition in network
Each terminal node carries out packet loss detection, and infrared remote control node and electric switch control node are under 1 second/time of transmission rate
Packet drop is hardly produced, humiture information collection node, in 2 seconds/time and 4 seconds/time of transmission rate, packet loss divides
Not Wei 1.071% and 0.342%, for such case, in a network, during collection for humiture, add certain prolong
Late, to ensure its communication.
Claims (4)
- A kind of 1. ZigBee equipment networks method, it is characterised in that the described method comprises the following steps:Step 1: the protocol layer in initialization ZigBee central coordinators node and ZigBee central coordinator nodes;Step 2: start ZigBee central coordinator nodes, write device type, startup in ZigBee central coordinator nodes Pattern, beacon event and superframe length;Step 3: ZigBee central coordinators node according to write in step 2 device type, start-up mode, beacon event and Superframe length establishes ZigBee-network with server, and after ZigBee-network is successfully established, ZigBee central coordinator nodes are responsible for Either router communicates when terminal node or router receive ZigBee central coordinators node hair with terminal node During the networking command sent, terminal node or router make corresponding operating and the operation information are fed back to ZigBee centers association Device node is adjusted, so that terminal node or router add ZigBee-network.
- 2. a kind of ZigBee equipment networks method according to claim 1, it is characterised in that the method further includes following step Suddenly:Host computer access server, by accessing ZigBee-network on host computer.
- 3. a kind of ZigBee equipment networks method according to claim 1, it is characterised in that ZigBee-network is successfully established Afterwards, ZigBee central coordinators node be responsible for be with the detailed process that terminal node or router communicate:After ZigBee-network is successfully established, ZigBee central coordinator nodes are responsible for opening with humiture information collection node, electric appliance The one or more closed in control node or infrared remote control node communicate.
- 4. a kind of ZigBee equipment networks method according to claim 3, it is characterised in that when terminal node or router When receiving the networking command of ZigBee central coordinators node transmission, terminal node or router are made corresponding operating and are incited somebody to action The operation information feeds back to ZigBee central coordinator nodes, so that terminal node or router add ZigBee-network Detailed process is:When humiture information collection node receives the networking command of ZigBee central coordinators node transmission, humiture information Humiture information in acquisition node collection environment, and humiture information is sent to central coordinator node;When electric switch control node receives the networking command of ZigBee central coordinators node transmission, electric switch control Node control electric appliance is turned on or off, and the switching signal of electric appliance is fed back to central coordinator node;When infrared remote control node receives the networking command of ZigBee central coordinators node transmission, infrared remote control node is sent Infrared signal control electric appliance is turned on or off, and the switching signal of electric appliance is fed back to central coordinator node.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711366718.2A CN108024225A (en) | 2017-12-18 | 2017-12-18 | A kind of ZigBee equipment networks method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711366718.2A CN108024225A (en) | 2017-12-18 | 2017-12-18 | A kind of ZigBee equipment networks method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108024225A true CN108024225A (en) | 2018-05-11 |
Family
ID=62073938
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711366718.2A Pending CN108024225A (en) | 2017-12-18 | 2017-12-18 | A kind of ZigBee equipment networks method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108024225A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101216986A (en) * | 2008-01-17 | 2008-07-09 | 上海交通大学 | A port field data acquisition, transmission and issuance system based on Zig Bee technology |
CN104483939A (en) * | 2014-12-09 | 2015-04-01 | 上海电机学院 | Remote intelligent household wireless monitoring system |
EP3032888A1 (en) * | 2007-07-31 | 2016-06-15 | Samsung Electronics Co., Ltd. | Channel switching method for switching channels through which content data is received in a zigbee network system, and zigbee network system thereof |
CN105848252A (en) * | 2016-03-23 | 2016-08-10 | 深圳市国华光电研究院 | Node control network accessing method based on ZigBee network |
CN105976134A (en) * | 2016-06-06 | 2016-09-28 | 暨南大学 | Enterprise energy management information collection system and method based on ZigBee wireless networking technology |
-
2017
- 2017-12-18 CN CN201711366718.2A patent/CN108024225A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3032888A1 (en) * | 2007-07-31 | 2016-06-15 | Samsung Electronics Co., Ltd. | Channel switching method for switching channels through which content data is received in a zigbee network system, and zigbee network system thereof |
CN101216986A (en) * | 2008-01-17 | 2008-07-09 | 上海交通大学 | A port field data acquisition, transmission and issuance system based on Zig Bee technology |
CN104483939A (en) * | 2014-12-09 | 2015-04-01 | 上海电机学院 | Remote intelligent household wireless monitoring system |
CN105848252A (en) * | 2016-03-23 | 2016-08-10 | 深圳市国华光电研究院 | Node control network accessing method based on ZigBee network |
CN105976134A (en) * | 2016-06-06 | 2016-09-28 | 暨南大学 | Enterprise energy management information collection system and method based on ZigBee wireless networking technology |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Chang | Bluetooth: a viable solution for IoT?[Industry Perspectives] | |
KR101424293B1 (en) | Mechanism to convey discovery information in a wireless network | |
EP3739842B1 (en) | System and method for providing secure network access | |
DE60206246T2 (en) | DISTRIBUTED NETWORK COMMUNICATION SYSTEM ALLOWING A NUMBER OF PROVIDERS OF CORDLESS COMMUNICATION SERVICES TO SHARE A COMMON NETWORK INFRASTRUCTURE | |
CN102137395B (en) | Method, device and system for configuring access device | |
JP2019509703A (en) | Cloud-based control of Wi-Fi networks | |
CN110278568B (en) | Method and network system for constructing networking based on network equipment | |
CN107172051A (en) | A kind of method that internet of things equipment finds and managed | |
CN103019180B (en) | Interconnecting and controlling method and system among electronic equipment | |
CN100366000C (en) | SNMP-based IPv6 sensor network node management method | |
EP2234438B1 (en) | Wireless personal area network accessing method | |
CN106487922A (en) | A kind of cross-platform mobile access system of Internet of Things | |
CN108370515A (en) | Wireless mesh network management method, apparatus for the method and record are useful for executing the recording medium of the computer program of this method | |
CN101631312A (en) | Portal authentication method based on thin AP framework | |
CN103812900A (en) | Data synchronization method, device and system | |
CN104581725A (en) | Wi-Fi access dynamic state authentication system and method | |
WO2011113262A1 (en) | Access method and system for wireless sensor network | |
CN106416146A (en) | Communication apparatus, communication method, and communication system | |
CN110337103A (en) | A kind of connectionless data hided transmission method based on 802.11 agreements | |
CN103763676B (en) | Communication means and equipment between AP and AC | |
CN108024225A (en) | A kind of ZigBee equipment networks method | |
EP2852189B1 (en) | Method and system for releasing and obtaining information | |
Antoniou et al. | NFC-based mobile middleware for intuitive user interaction with security in smart homes. | |
Jadhav et al. | Need for resource management in IoT | |
CN110972148B (en) | ZigBee device networking method |
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: 20180511 |
|
RJ01 | Rejection of invention patent application after publication |