CN107222956A - Network-building method based on Zigbee protocol - Google Patents
Network-building method based on Zigbee protocol Download PDFInfo
- Publication number
- CN107222956A CN107222956A CN201710307886.8A CN201710307886A CN107222956A CN 107222956 A CN107222956 A CN 107222956A CN 201710307886 A CN201710307886 A CN 201710307886A CN 107222956 A CN107222956 A CN 107222956A
- Authority
- CN
- China
- Prior art keywords
- physical address
- node
- network
- networking
- data library
- 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
Classifications
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B47/00—Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
- H05B47/10—Controlling the light source
Landscapes
- Small-Scale Networks (AREA)
Abstract
A kind of network-building method based on Zigbee protocol changes node its channel by using gateway automatically, No. PANDID is broadcasted, search obtains the physical address of each node, and contrasted in the address list in gateway device, and change correct node channel number and No. PANDID, automatic network-building is carried out to each node so as to realize, without human configuration and field adjustable.
Description
Technical field
The present invention relates to a kind of network-building method, especially a kind of network-building method based on Zigbee protocol.
Background technology
As street lamp is more and more used, intelligence control system also management and control of the increasing user to street lamp assets.
But in intelligent control device such as single-lamp controller, in the installation and debugging of the control device such as optical controller or production process, it is necessary to
It is artificial that networking is matched with gateway to control device using software or hardware toolses, manually to the intelligence in gateway device control range
Equipment carries out networking addition, modification.And the condition at street lamp scene is changeable, therefore unusual very complicated in debugging process.
The content of the invention
In order to overcome drawbacks described above, the present invention provides a kind of network-building method based on Zigbee protocol, is based on by this
Gateway device in the network-building method of Zigbee protocol, system by it address list, each node is inquired about automatically and is set
Standby address, carries out networking so that in the case where street lamp field condition is changeable, and debugging networking process also becomes simple, networking
Automation is realized, without artificial operation.
The technical scheme that is used to solve its technical problem of the present invention is:A kind of networking side based on Zigbee protocol
Method, comprises the following steps:
A. system starts;
B. gateway main control module reads physical address data library file, and the node in database file is physically
Location starts networking action, sends broadcasting instructions;
C. node return instruction, while returning to the physical address of itself;
D. the physical address that gateway master controller is returned according to node, inquires about physical address data library file;
If e. the channel number of the node is modified as by physical address in physical address data library file with No. PANID
It is consistent with gateway, and networking;It is on the contrary then abandon the node, without networking, and return to step b;
F. whether all querying nodes in physical address data library file complete, if so, then entering step g;If it is not, then
Return to step b;
G. after the completion of above step, the channel number of all nodes is consistent with No. PANID in list, with physical address formation only
One property, system completes automatic network-building.
The beneficial effects of the invention are as follows:The present invention changes node its channel, No. PANDID progress by using gateway automatically
Broadcast, search obtains the physical address of each node, and is contrasted in the address list in gateway device, and changes correct
The channel number of node and No. PANDID, carry out automatic network-building, without human configuration and field adjustable so as to realize to each node.
Brief description of the drawings
Fig. 1 is the schematic diagram of the network-building method of the invention based on Zigbee protocol.
Embodiment
A kind of network-building method based on Zigbee protocol, comprises the following steps:
A. system starts;
B. gateway main control module reads physical address data library file, and the node in database file is physically
Location starts networking action, sends broadcasting instructions;
C. node return instruction, while returning to the physical address of itself;
D. the physical address that gateway master controller is returned according to node, inquires about physical address data library file;
If e. the channel number of the node is modified as by physical address in physical address data library file with No. PANID
It is consistent with gateway, and networking;It is on the contrary then abandon the node, without networking, and return to step b;
F. whether all querying nodes in physical address data library file complete, if so, then entering step g;If it is not, then
Return to step b;
G. after the completion of above step, the channel number of all nodes is consistent with No. PANID in list, with physical address formation only
One property, system completes automatic network-building.
The present invention changes node its channel by using gateway automatically, and No. PANDID is broadcasted, and search obtains each and saved
The physical address of point, and is contrasted in the address list in gateway device, and change the channel number of correct node with
No. PANDID, automatic network-building is carried out to each node so as to realize, without human configuration and field adjustable.
Citing:Networking is carried out if desired for node 1, then gateway can be carried out according to channel number and No. PANDID to node
Broadcast, untill obtaining the physical address of node 1, and further checks with address date library file, if identical, changes
The channel number of node and No. PANDIN, it is consistent with gateway.The channel number and the purpose of No. PANDID of automatic switching apparatus are realized, from
And automatic network-building.
Claims (1)
1. a kind of network-building method based on Zigbee protocol, it is characterized in that:Comprise the following steps:
A. system starts;
B. gateway main control module reads physical address data library file, and the physical address of the node in database file is opened
Beginning networking is acted, and sends broadcasting instructions;
C. node return instruction, while returning to the physical address of itself;
D. the physical address that gateway master controller is returned according to node, inquires about physical address data library file;
If e. physical address is in physical address data library file, the channel number of the node is modified as and net with No. PANID
Close consistent, and networking;It is on the contrary then abandon the node, without networking, and return to step b;
F. whether all querying nodes in physical address data library file complete, if so, then entering step g;If it is not, then returning
Step b;
G. after the completion of above step, the channel number of all nodes is consistent with No. PANID in list, is formed uniquely with physical address
Property, system completes automatic network-building.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710307886.8A CN107222956A (en) | 2017-05-04 | 2017-05-04 | Network-building method based on Zigbee protocol |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710307886.8A CN107222956A (en) | 2017-05-04 | 2017-05-04 | Network-building method based on Zigbee protocol |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107222956A true CN107222956A (en) | 2017-09-29 |
Family
ID=59944821
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710307886.8A Pending CN107222956A (en) | 2017-05-04 | 2017-05-04 | Network-building method based on Zigbee protocol |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107222956A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109495323A (en) * | 2018-12-26 | 2019-03-19 | 合肥大明节能科技股份有限公司 | The road lamp system of automatic distribution channel parameter |
CN109890116A (en) * | 2019-04-23 | 2019-06-14 | 万众科技有限公司 | A kind of road lamp management method and road lamp system |
CN110809276A (en) * | 2019-11-09 | 2020-02-18 | 天合光能股份有限公司 | Non-interfering household wireless communication system and networking method thereof |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101018170A (en) * | 2006-12-08 | 2007-08-15 | 北京科技大学 | The method for supporting the mobile Zifeng radio sensor network system and node mobility |
CN104331040A (en) * | 2014-10-16 | 2015-02-04 | 纳普(上海)软件有限公司 | Intelligent ad hoc network technology based on wireless technology |
CN104469986A (en) * | 2014-11-28 | 2015-03-25 | 四川长虹电器股份有限公司 | ZIGBEE equipment networking method |
-
2017
- 2017-05-04 CN CN201710307886.8A patent/CN107222956A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101018170A (en) * | 2006-12-08 | 2007-08-15 | 北京科技大学 | The method for supporting the mobile Zifeng radio sensor network system and node mobility |
CN104331040A (en) * | 2014-10-16 | 2015-02-04 | 纳普(上海)软件有限公司 | Intelligent ad hoc network technology based on wireless technology |
CN104469986A (en) * | 2014-11-28 | 2015-03-25 | 四川长虹电器股份有限公司 | ZIGBEE equipment networking method |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109495323A (en) * | 2018-12-26 | 2019-03-19 | 合肥大明节能科技股份有限公司 | The road lamp system of automatic distribution channel parameter |
CN109890116A (en) * | 2019-04-23 | 2019-06-14 | 万众科技有限公司 | A kind of road lamp management method and road lamp system |
CN109890116B (en) * | 2019-04-23 | 2021-06-08 | 万众科技有限公司 | Street lamp management method and street lamp system |
CN110809276A (en) * | 2019-11-09 | 2020-02-18 | 天合光能股份有限公司 | Non-interfering household wireless communication system and networking method thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107222956A (en) | Network-building method based on Zigbee protocol | |
JP2006506718A5 (en) | ||
CN104090548B (en) | Stage performance dispatching method | |
CN106657174A (en) | Data synchronizing and updating methods and data synchronizing and updating devices | |
CN103052233B (en) | Wireless light brightness control device and method supporting network remote control | |
CN109829096A (en) | A kind of collecting method, device, electronic equipment and storage medium | |
DE112012004227B4 (en) | Method and device for selecting a passive port of the transparent PTP-based clock node | |
CN103532922A (en) | Software version upgrade method, device and system | |
CN110912923B (en) | Self-adaptation method, self-adaptation unit and system for communication protocol of power distribution internet of things | |
CN105893297A (en) | Four-meter centralized-reading interface converter meter reading protocol self-learning method | |
CN107148130B (en) | List formula ZigBee ad hoc network method | |
CN109995588A (en) | A kind of flexible ethernet link management method and system | |
CN105302616A (en) | Software remote immediate updating and upgrading system and method | |
CN106304417A (en) | Household electrical appliance networking system and method based on ZigBee-network | |
CN102238594B (en) | Method and device for managing distributed base station | |
MX2021011545A (en) | Ue, network nodes for handling ue category information. | |
CN105573300B (en) | A kind of data acquisition dubbing system and its control method based on Internet of Things | |
CN110890986A (en) | ZIGBEE terminal based batch network distribution system and method | |
CN110471300A (en) | A kind of conflict coordination method and system of more intelligent scenes | |
CN105705874A (en) | IOT-based ventilation management method and system | |
CN105224354A (en) | Based on the method for upgrading software that backstage precisely pushes | |
CN103987179A (en) | Lamp set positioning method used in intelligent lamplight control system | |
CN115208058A (en) | Plug and play method and system for distributed power distribution terminal | |
CN107168259A (en) | The fast synchronization method and device of scene state | |
CN104516960A (en) | Method for crossing data source information exchange by database based on unidirectional access |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170929 |