CN104486813A - Networking method based on Zigbee technology - Google Patents
Networking method based on Zigbee technology Download PDFInfo
- Publication number
- CN104486813A CN104486813A CN201410752233.7A CN201410752233A CN104486813A CN 104486813 A CN104486813 A CN 104486813A CN 201410752233 A CN201410752233 A CN 201410752233A CN 104486813 A CN104486813 A CN 104486813A
- Authority
- CN
- China
- Prior art keywords
- zigbee
- base station
- terminal
- network
- networking
- 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
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/02—Access restriction performed under specific conditions
Abstract
The invention provides a networking method based on a Zigbee technology. According to the method, a Zigbee terminal sends a networking request to a Zigbee base station, the Zigbee base station can obtain a PAN identifier of the Zigbee terminal from the networking request, whether the PAN identifier of the Zigbee terminal is consistent with the PAN identifier of a located network of the Zigbee base station or not is judged, if so, the Zigbee base station sends an answer message to the Zigbee terminal, and the Zigbee terminal joins in the located network of the Zigbee base station. Therefore the Zigbee terminal can effectively distinguish a plurality of Zigbee base stations, and the networking disorder caused by the join into the wrong base station is avoided.
Description
Technical field
The present invention relates to ZigBee technology field, be specifically related to a kind of network-building method based on ZigBee technology.
Background technology
Along with industrial automation, home intelligence and remote measuring and controlling field are growing to wireless telecommunications and data transfer demands, a kind of brand-new technology of wireless sensing network arises at the historic moment, and progressively defines consensus standard---Zigbee (purple-bee technology).ZigBee technology is that a kind of low cost, low complex degree, low-power consumption, network capacity are large, wireless communication technology reliably, and it meets IEEE.802.15.4 agreement, is family's short haul connection and the new standard formulated specially by Zigbee alliance.The feature of ZigBee technology meets the needs of household network communication completely.
ZigBee technology brings great convenience to user in wireless home network, but when Duo Hu family all uses Zigbee protocol to carry out the networking of home equipment terminal, terminal equipment may be there is and cannot distinguish multiple base station, add incorrect base station, cause networking chaotic, so based in the networking process of ZigBee technology, how effectively to distinguish base station is a problem demanding prompt solution.
Summary of the invention
The invention provides a kind of network-building method based on ZigBee technology, Zigbee terminal sends to Zigbee base station the request of networking, and the information of the PAN identifier being used to indicate described Zigbee terminal is carried in the described request of networking;
Described Zigbee base station receives described networkings and asks, and obtains described information, the PAN identifier judging described Zigbee terminal according to described information whether with place, described Zigbee base station network PAN identifier consistent;
If consistent, described Zigbee base station sends response message to described Zigbee terminal, and described Zigbee terminal adds place, described Zigbee base station network, if inconsistent, described Zigbee base station does not send response message to described Zigbee terminal.
In the present invention, Zigbee base station can obtain the PAN identifier of Zigbee terminal, the PAN identifier judging Zigbee terminal whether with place, Zigbee base station network PAN identifier consistent, if consistent, Zigbee base station sends response message to Zigbee terminal, and Zigbee terminal adds place, Zigbee base station network, and therefore Zigbee terminal can distinguish multiple Zigbee base station effectively, avoid adding mistake Zigbee base station, cause networking chaotic.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of a kind of network-building method based on ZigBee technology in the embodiment of the present invention.
Embodiment
The embodiment of the present invention provides a kind of network-building method based on ZigBee technology, is elaborated as follows.
In the present embodiment, Zigbee network is a bunch tree network configuration.In bunch tree network, most node is FFD node, and RFD node is always connected in network as a bunch leaf node for tree.Any one FFD node can serve as network coordinator, for other nodes provide synchronizing information.Determine that the flow process of network coordinator is as follows: first whether decision node is FFD node, then judge that whether this node is the network coordinator in other networks, such as pass through active scan, send a beacon request order, then arrange a scanning deadline time, if beacon do not detected within sweep time, so this FFD node can be judged to be it is not the network coordinator in other networks, the network coordinator of present networks can be defined as, set up ZigBee-network.
First oneself is set to a bunch head by network coordinator, and a bunch identifier is set to 0, simultaneously for this bunch selects one not by the PAN identifier used.Then, network coordinator is gone on the air beacon frame.After adjacent node receives beacon frame, just can apply for adding this bunch.
Zigbee network in the present embodiment is applied to kilowatt meter reading-out system, in this kilowatt meter reading-out system, network coordinator is referred to as Zigbee base station, the adjacent node of network is referred to as Zigbee terminal.The water power coal three of every floor is shown by RS485 bus connection data collector, receive Zigbee terminal again, each unit building arranges a Zigbee terminal, a community arranges a Zigbee base station, Zigbee terminal is responsible for data transmit-receive and is uploaded to Zigbee base station, and data are uploaded to Ji Chao center by GPRS/CDMA or ADSL by Zigbee base station.
See Fig. 1,101, Zigbee terminal sends to Zigbee base station the request of networking, the information of the PAN identifier being used to indicate Zigbee terminal is carried in the request of networking;
As previously mentioned, Zigbee base station can broadcast beacon frame in a network, carries PAN identifier within a beacon frame, after Zigbee terminal receives beacon frame, just can get this PAN identifier.
When the Zigbee terminal of a certain community needs to network, the Zigbee base station of Zigbee base station, this community and other adjacent cells may be distinguished, therefore when Zigbee terminal sends to Zigbee base station the request of networking, networking request can carry the information of the PAN identifier being used to indicate Zigbee terminal.PAN identifier indicated by this information is that Zigbee terminal obtained by beacon frame.
102, Zigbee base station receives the request of networking, obtaining information, the PAN identifier judging Zigbee terminal according to information whether with place, Zigbee base station network PAN identifier consistent;
If consistent, then perform step 103, if inconsistent, then perform step 104.
103, Zigbee base station sends response message to Zigbee terminal, and Zigbee terminal adds place, Zigbee base station network;
Zigbee base station receives the request of networking, obtaining information, the PAN identifier judging Zigbee terminal according to information whether with place, Zigbee base station network PAN identifier consistent, when consistent, Zigbee base station sends response message to Zigbee terminal, Zigbee terminal adds place, Zigbee base station network, and Zigbee terminal adds the neighbor list of Zigbee base station as subset, and the parent device of Zigbee base station as it joins in the neighbor list of oneself by Zigbee terminal.
If 104 is inconsistent, Zigbee base station does not send response message to Zigbee terminal.
Zigbee base station receives the request of networking, obtaining information, the PAN identifier judging Zigbee terminal according to information whether with place, Zigbee base station network PAN identifier consistent, if inconsistent, Zigbee base station does not send response message to Zigbee terminal, Zigbee terminal then repeats above-mentioned steps 101 to step 104 to other Zigbee base stations, until add network.
In embodiments of the present invention, Zigbee base station can obtain the PAN identifier of Zigbee terminal, the PAN identifier judging Zigbee terminal whether with place, Zigbee base station network PAN identifier consistent, if consistent, Zigbee base station sends response message to Zigbee terminal, and Zigbee terminal adds place, Zigbee base station network, and therefore Zigbee terminal can distinguish multiple Zigbee base station effectively, avoid adding mistake Zigbee base station, cause networking chaotic.
Above a kind of network-building method based on ZigBee technology that the embodiment of the present invention provides is described in detail, for one of ordinary skill in the art, according to the thought of the embodiment of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.
Claims (1)
1., based on a network-building method for ZigBee technology, it is characterized in that,
Zigbee terminal sends to Zigbee base station the request of networking, and the information of the PAN identifier being used to indicate described Zigbee terminal is carried in the described request of networking;
Described Zigbee base station receives described networkings and asks, and obtains described information, the PAN identifier judging described Zigbee terminal according to described information whether with place, described Zigbee base station network PAN identifier consistent;
If consistent, described Zigbee base station sends response message to described Zigbee terminal, and described Zigbee terminal adds place, described Zigbee base station network, if inconsistent, described Zigbee base station does not send response message to described Zigbee terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410752233.7A CN104486813A (en) | 2014-12-10 | 2014-12-10 | Networking method based on Zigbee technology |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410752233.7A CN104486813A (en) | 2014-12-10 | 2014-12-10 | Networking method based on Zigbee technology |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104486813A true CN104486813A (en) | 2015-04-01 |
Family
ID=52761302
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410752233.7A Pending CN104486813A (en) | 2014-12-10 | 2014-12-10 | Networking method based on Zigbee technology |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104486813A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106304247A (en) * | 2015-05-11 | 2017-01-04 | 美的集团股份有限公司 | The method of network entry of equipment based on Zigbee protocol |
CN107295464A (en) * | 2017-06-27 | 2017-10-24 | 西南大学 | Zigbee orients network-building method and its system |
CN107872810A (en) * | 2017-11-16 | 2018-04-03 | 广东创达自动化装备有限公司 | A kind of ZigBee intelligent networkings method |
CN108738107A (en) * | 2018-06-13 | 2018-11-02 | 上海华章信息科技有限公司 | A kind of wireless connection means of communication of factory production system |
CN109861891A (en) * | 2019-01-10 | 2019-06-07 | 上海亚明照明有限公司 | Intelligent control network system, cloud platform and intelligent gateway device |
CN110459049A (en) * | 2019-09-24 | 2019-11-15 | 江苏林洋能源股份有限公司 | A kind of intelligent meter data recording system and its construction method based on Wisun agreement |
-
2014
- 2014-12-10 CN CN201410752233.7A patent/CN104486813A/en active Pending
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106304247A (en) * | 2015-05-11 | 2017-01-04 | 美的集团股份有限公司 | The method of network entry of equipment based on Zigbee protocol |
CN107295464A (en) * | 2017-06-27 | 2017-10-24 | 西南大学 | Zigbee orients network-building method and its system |
CN107872810A (en) * | 2017-11-16 | 2018-04-03 | 广东创达自动化装备有限公司 | A kind of ZigBee intelligent networkings method |
CN108738107A (en) * | 2018-06-13 | 2018-11-02 | 上海华章信息科技有限公司 | A kind of wireless connection means of communication of factory production system |
CN109861891A (en) * | 2019-01-10 | 2019-06-07 | 上海亚明照明有限公司 | Intelligent control network system, cloud platform and intelligent gateway device |
CN110459049A (en) * | 2019-09-24 | 2019-11-15 | 江苏林洋能源股份有限公司 | A kind of intelligent meter data recording system and its construction method based on Wisun agreement |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104486813A (en) | Networking method based on Zigbee technology | |
CN102508473B (en) | A kind of intelligent home control system, control method and control device | |
CN105208583B (en) | Method and device for configuring intelligent household electrical appliance to access network and intelligent equipment | |
KR102210823B1 (en) | Method and apparatus of communication for smart home devices | |
US20130212219A1 (en) | Method and apparatus for facilitating machine gateway operation | |
US9001680B2 (en) | Method and apparatus for providing improved detection of overlapping networks | |
JP2017531357A (en) | Method and apparatus for automatically generating an event dictionary in an Internet of Things (IoT) network | |
CN103906044A (en) | Networking method of wireless electricity consumption information acquisition ad hoc network | |
CN108012312B (en) | Paged device, paging device and method | |
EP3044998B1 (en) | Increasing power savings through intelligent synchronizing of data | |
CN104618907A (en) | ZigBee networking realizing method based on two-dimensional code | |
EP2541834A1 (en) | Method and device for managing machince-to-machine network topology structure | |
CN103444131A (en) | Coordination of M2M device operation | |
CN103634657A (en) | Television and mobile terminal synchronous WIFI connection setup method and device | |
CN103841659A (en) | Zigbee-based wireless sensor network construction method | |
CN103313406A (en) | Method for carrying out D2D (device-to-device) communication between different cells by adopting signaling interaction of X2 interfaces | |
CN104125652A (en) | Relay link establishing method, site, and system | |
CN103684937A (en) | A network topological structure in an intelligent household communication system and an establishment method thereof | |
CN106455055A (en) | Method for determining gateway and terminal | |
CN103945567B (en) | The constructing communication network method of inverter system | |
Kim et al. | LoRaWAN technology for internet of things | |
US20160070718A1 (en) | Apparatus and system for data mirror device | |
CN109286546A (en) | A kind of multiple spot access type intelligent interconnection equipment and interconnected communication method | |
CN112950916A (en) | ZigBee-based wireless meter reading system and application method thereof | |
Thepphaeng et al. | Design and implementation of wireless sensor network and protocol for smart energy meter |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20150401 |