CN109275202A - A kind of wireless networking method of ZigBee-network - Google Patents

A kind of wireless networking method of ZigBee-network Download PDF

Info

Publication number
CN109275202A
CN109275202A CN201710583964.7A CN201710583964A CN109275202A CN 109275202 A CN109275202 A CN 109275202A CN 201710583964 A CN201710583964 A CN 201710583964A CN 109275202 A CN109275202 A CN 109275202A
Authority
CN
China
Prior art keywords
coordinator
terminal device
network
request
networks
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
CN201710583964.7A
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.)
Shanghai Shun Boat Intelligent Polytron Technologies Inc
Original Assignee
Shanghai Shun Boat Intelligent Polytron Technologies Inc
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 Shanghai Shun Boat Intelligent Polytron Technologies Inc filed Critical Shanghai Shun Boat Intelligent Polytron Technologies Inc
Priority to CN201710583964.7A priority Critical patent/CN109275202A/en
Publication of CN109275202A publication Critical patent/CN109275202A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention provides a kind of wireless networking method of ZigBee-network for being separately added into white list and blacklist in coordinator and terminal device, specific steps include: that A. presets terminal device white list in coordinator;B. coordinator in terminal device starting search join domain, and successively attempt to send the request that networks with coordinator;C. according to step B, if the terminal device can not complete the request that networks with coordinator, blacklist is established, and the coordinator is added in blacklist;D. according to step C, the terminal device continues the coordinator except blacklist and sends the request that networks, and responds if other coordinators issue to agree to network, completes to network.The present invention has the advantages that terminal device is anti-interference strong using the wireless networking method of ZigBee-network of the present invention, networking is not interfered with each other when can network simultaneously with multiple equipment rapidly, is improved efficiency;And it is safer, the equipment of user's purchase will not wrong plus other coordinators.

Description

A kind of wireless networking method of ZigBee-network
Technical field
The present invention relates to a kind of method for connecting network, especially a kind of wireless networking method of ZigBee-network.
Background technique
With smart home industry development and ZigBee itself ad hoc network, low-power consumption the advantages that, ZigBee is in intelligence The occupation rate of energy household industry is increasing.The number of nodes of each mesh network is also being stepped up, between network and network Interference also increases with it.When user carries out distribution to node device, it will receive the interference of other networks, cause distribution success rate It is low.
Summary of the invention
To solve to interfere between network caused by mesh number of network node increases in above-mentioned ZigBee-network, distribution success rate Low technical problem, the present invention provides a kind of to be separately added into white list and blacklist in coordinator and terminal device The wireless networking method of ZigBee-network, the specific steps are as follows:
A kind of wireless networking method of ZigBee-network, the ZigBee-network include coordinator, router and terminal device, tool Steps are as follows for body:
A. terminal device white list is preset in coordinator;
B. coordinator in terminal device starting search join domain, and successively attempt to send the request that networks with coordinator;
C. according to step B, if the terminal device can not complete the request that networks with coordinator, blacklist is established, and will be described Coordinator is added in blacklist;
D. according to step C, the terminal device continues the coordinator except blacklist and sends the request that networks, if other coordinators It issues to agree to network and respond, then complete to network.
Based on the above technical solution, further, the terminal device can not complete the request that networks with coordinator Include:
The terminal device sends connection request to coordinator, and the coordinator is without response;Or the request that networks obtains coordinator and returns It answers, coordinator compares the terminal device and default white list, and the terminal device and the coordinator do not preset white list not Match, coordinator refuses terminal device networking request.
Based on the above technical solution, further, the terminal device white list of presetting in coordinator refers to, Before terminal device networking, the short address or the address mac of white list terminal device are stored in coordinator.
Based on the above technical solution, further, in the step C, the terminal device can not be complete by described in Blacklist is added at the coordinator for the request that networks will skip in blacklist when the terminal device searches again for coordinator Coordinator is not issuing the request that networks to it.
Based on the above technical solution, further, the step D is completed after networking, there are also step E, the end End equipment network, the coordinator can also to terminal send binding instruction, after terminal device receives instruction, by coordinator address, The network information and channel establish master table in terminal device, complete binding.
The present invention has the advantages that terminal device is anti-using the wireless networking method of ZigBee-network of the present invention Interference is strong, does not interfere with each other networking when can network simultaneously with multiple equipment rapidly, improves efficiency;And safer, user's purchase Equipment will not wrong plus other coordinators.
Detailed description of the invention:
Fig. 1 is ZigBee wireless network arrangement schematic diagram;
Fig. 2 is wireless networking schematic diagram of the present invention;
Fig. 3 is terminal device workflow schematic diagram of the present invention;
Fig. 4 is terminal device binding networking flow diagram of the present invention.
Description of symbols:
First coordinator-C1;Second coordinator-C2;First terminal equipment-a;Second terminal equipment-b;Third terminal equipment-c; 4th terminal device-d;5th terminal device-e;6th terminal device-f.
Specific embodiment
The embodiment of the present invention is described below in detail, the example of the embodiment is shown in the accompanying drawings, wherein from beginning to end Same or similar label indicates same or similar original part or element with the same or similar functions.Below with reference to attached The embodiment of figure description is exemplary, it is intended to is used to explain the present invention, and is not considered as limiting the invention.
The present invention provides a kind of wireless networking method of ZigBee-network, and the ZigBee-network includes coordinator, routing Device and terminal device, the specific steps are as follows:
A. terminal device white list is preset in coordinator;
B. coordinator in terminal device starting search join domain, and successively attempt to send the request that networks with coordinator;
C. according to step B, if the terminal device can not complete the request that networks with coordinator, blacklist is established, and will be described Coordinator is added in blacklist;
D. according to step C, the terminal device continues to send the request that networks to coordinator, agrees to network if other coordinators issue It responds, then completes to network.
Embodiment 1
As depicted in figs. 1 and 2, there are two coordinators: the first coordinator C1 and the second coordinator C2 within the scope of wireless network, and 6 terminal devices: first terminal equipment a, second terminal equipment b, third terminal equipment c, the 4th terminal device d, the 5th terminal Equipment e and the 6th terminal device f;It wherein first is preset in third terminal equipment in the white list of the first coordinator C1, the 4th It is preset in the 6th terminal device in the white list of the second coordinator C2.
Starting the wireless networking of ZigBee-network, the first coordinator C1 and the second coordinator C2 are separately turned on gateway, and first Coordinator in the search range terminal device a, and the request that networks successively is sent to the first coordinator C1 and the second coordinator C2, the One coordinator is replied after receiving request to terminal device sending, at this time the blacklist blank of first terminal equipment a, i.e., first coordinates Device C1 not in first terminal equipment a blacklist, first terminal equipment a then to the first coordinator C1 send connection request, first After coordinator C1 receives connection request, short address or the address mac to first terminal equipment a are compared with preset white list, the One terminal device a is matched with white list, agrees to that first terminal equipment a networks.
Coordinator in 4th search range terminal device d, and successively sent out to the first coordinator C1 and the second coordinator C2 It is sent into net request, the first coordinator C1 is replied after receiving request to terminal device sending, at this time the blacklist of the 4th terminal device d Not in the 4th terminal device d blacklist, the 4th terminal device d is then sent out to the first coordinator C1 for blank, i.e. the first coordinator C1 After sending connection request, the first coordinator C1 to receive connection request, short address or the address mac to the 4th terminal device d and default White list compare, the 4th terminal device d and white list mismatch, and the first coordinator C1 is issued to the 4th terminal device d to be refused The signal of connection after the 4th terminal device d receives signal, the first coordinator C1 is added in blacklist, and re-search for range Interior coordinator;
Coordinator in 4th second of search range terminal device d equally searches the first coordinator C1 and the second coordinator C2, then to the first coordinator C1 send network request after, the first coordinator C1 receive request after to terminal device issue reply, this When the 4th terminal device d blacklist in have the first coordinator C1, the 4th terminal device d is no longer sent to the first coordinator C1 Connection request, then the second coordinator C2 into range, which is sent, networks, and the second coordinator C2 is not in the 4th black name of terminal device d Dan Zhong, the 4th terminal device d then send connection request to the second coordinator C2, right after the second coordinator C2 receives connection request Short address or the address mac and the preset white list of 4th terminal device d compares, and the 4th terminal device d is matched with white list, together The 4th terminal device d that anticipates networks.
And so on, final first to third terminal connect networking with the first coordinator C1, the 4th to the 6th terminal and the Two coordinator C2 connection networkings.
Embodiment 2
As shown in Figure 3 and Figure 4, after the group network process for completing embodiment 1, the first coordinator C1 and the second coordinator C2 can distinguish Binding instruction is sent to connected to it first to third terminal and all or part of terminal of the 4th to the 6th terminal, terminal is set After receiving binding instruction, coordinator address, the network information and channel are established into master table in terminal device.
In ZigBee-network recombination, the terminal device bound exists preferential attachment when coordinator opens gateway Coordinator in master table, if connection search range in without in master table coordinator or master table be sky, press Wireless networking is completed according to the method in embodiment 1.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not Centainly refer to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be any One or more embodiment or examples in can be combined in any suitable manner.

Claims (5)

1. a kind of wireless networking method of ZigBee-network, the ZigBee-network includes coordinator, router and terminal device, Specific step is as follows:
Step A: terminal device white list is preset in coordinator;
Step B: coordinator in terminal device starting search join domain, and successively attempt to send the request that networks with coordinator;
Step C: according to step B, if the terminal device can not complete the request that networks with coordinator, blacklist is established, and will The coordinator is added in blacklist;
Step D: according to step C, the terminal device continues the coordinator except blacklist and sends the request that networks, if other are assisted It adjusts device to issue and agrees to the response that networks, then complete to network.
2. a kind of wireless networking method of ZigBee-network according to claim 1, which is characterized in that the terminal device Networking request can not be completed with coordinator includes:
The terminal device sends connection request to coordinator, and the coordinator is without response;Or the request that networks obtains coordinator and returns It answers, coordinator compares the terminal device and default white list, and the terminal device and the coordinator do not preset white list not Match, coordinator refuses terminal device networking request.
3. a kind of wireless networking method of ZigBee-network according to claim 1 or 2, which is characterized in that described to assist It adjusts default terminal device white list in device to refer to, before terminal device networking, white list terminal device is stored in coordinator Short address or the address mac.
4. a kind of wireless networking method of ZigBee-network according to claim 1 or 2, which is characterized in that the step C In, blacklist is added in the coordinator for being unable to complete the request that networks by the terminal device, when the terminal device is searched again When rope coordinator, the coordinator that will be skipped in blacklist is not issuing the request that networks to it.
5. a kind of wireless networking method of ZigBee-network according to claim 1 or 2, which is characterized in that the step D It completes after networking, specific as follows there are also step E:
The terminal device networks, and the coordinator can also send binding instruction to terminal, after terminal device receives instruction, will assist It adjusts device address, the network information and channel to establish master table in terminal device, completes binding.
CN201710583964.7A 2017-07-18 2017-07-18 A kind of wireless networking method of ZigBee-network Pending CN109275202A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710583964.7A CN109275202A (en) 2017-07-18 2017-07-18 A kind of wireless networking method of ZigBee-network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710583964.7A CN109275202A (en) 2017-07-18 2017-07-18 A kind of wireless networking method of ZigBee-network

Publications (1)

Publication Number Publication Date
CN109275202A true CN109275202A (en) 2019-01-25

Family

ID=65152411

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710583964.7A Pending CN109275202A (en) 2017-07-18 2017-07-18 A kind of wireless networking method of ZigBee-network

Country Status (1)

Country Link
CN (1) CN109275202A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110740490A (en) * 2019-10-22 2020-01-31 深圳市信锐网科技术有限公司 Terminal network access method, gateway equipment, system, storage medium and device
CN114080002A (en) * 2020-08-20 2022-02-22 西蒙电气(中国)有限公司 System and method for realizing batch automatic networking of ZigBee devices
CN114710823A (en) * 2022-03-30 2022-07-05 浙江大华技术股份有限公司 Bluetooth network access method, related device and storage medium
CN115396325A (en) * 2022-08-16 2022-11-25 西安医学院 Management system and method based on computer network safety data acquisition and analysis

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130331101A1 (en) * 2012-06-08 2013-12-12 Tito Thomas Automatically Modifying Wireless Network Connection Policies Based on User Activity Levels
EP2807835A2 (en) * 2012-01-23 2014-12-03 Headwater Partners I LLC Service plan design, user interfaces, application programming interfaces, and device management
CN104703182A (en) * 2015-02-13 2015-06-10 深圳市睿祺智尚科技有限公司 Zigbee-based networking method and network system
CN104935669A (en) * 2010-03-09 2015-09-23 交互数字专利控股公司 Machine to machine (M2M) gateway
CN105072613A (en) * 2015-08-04 2015-11-18 成都世纪光合作用科技有限公司 Wireless network system and wireless network access method
US9538384B2 (en) * 2013-08-30 2017-01-03 Cellco Partnership Method and apparatus for a device management application

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104935669A (en) * 2010-03-09 2015-09-23 交互数字专利控股公司 Machine to machine (M2M) gateway
EP2807835A2 (en) * 2012-01-23 2014-12-03 Headwater Partners I LLC Service plan design, user interfaces, application programming interfaces, and device management
US20130331101A1 (en) * 2012-06-08 2013-12-12 Tito Thomas Automatically Modifying Wireless Network Connection Policies Based on User Activity Levels
US9538384B2 (en) * 2013-08-30 2017-01-03 Cellco Partnership Method and apparatus for a device management application
CN104703182A (en) * 2015-02-13 2015-06-10 深圳市睿祺智尚科技有限公司 Zigbee-based networking method and network system
CN105072613A (en) * 2015-08-04 2015-11-18 成都世纪光合作用科技有限公司 Wireless network system and wireless network access method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110740490A (en) * 2019-10-22 2020-01-31 深圳市信锐网科技术有限公司 Terminal network access method, gateway equipment, system, storage medium and device
CN114080002A (en) * 2020-08-20 2022-02-22 西蒙电气(中国)有限公司 System and method for realizing batch automatic networking of ZigBee devices
CN114710823A (en) * 2022-03-30 2022-07-05 浙江大华技术股份有限公司 Bluetooth network access method, related device and storage medium
CN115396325A (en) * 2022-08-16 2022-11-25 西安医学院 Management system and method based on computer network safety data acquisition and analysis

Similar Documents

Publication Publication Date Title
CN109275202A (en) A kind of wireless networking method of ZigBee-network
CN105046935B (en) A kind of bimodulus heterogeneous communication system wireless based on low-voltage power line and micropower
US9143197B2 (en) Joining process for G3 networks
CN105338595B (en) Intelligent terminal Adding Way, apparatus and system based on intelligent terminal system
CN106254189A (en) A kind of WiFi distribution method
CN103713608A (en) Hierarchical network architecture of wireless Internet-of-Things home system and networking communication method thereof
CN107566229A (en) The packet control process of intelligent domestic system
CN106094547A (en) Intelligent home equipment control method and system
CN105007201A (en) Method for accessing network, wireless sound box and system
CN106488532B (en) Automatic network distribution method and device, intelligent network distribution equipment and repeater
CN105491568A (en) Automatic router accessing method, device and intelligent terminal
CN107612794A (en) Household appliance network distribution system and method
CN104394577B (en) The wireless network access method of wireless routing device and electronic equipment
CN106060878B (en) A kind of trunking method and repeater of equipment
CN109819498A (en) A kind of smart machine, the automatic distribution method and system of smart machine
CN110572306A (en) wired intelligent home system with ad hoc network and ad hoc network method thereof
CN105024890A (en) Intelligent household electrical appliance network access method and device and intelligent household electrical appliance
CN104469877A (en) 433M wireless automatic networking method and system
CN104581883A (en) Wireless data communication method for intelligent household appliance
CN104486174A (en) Networking method and networking device for intelligent terminals
CN105978763A (en) Network communication method, communication device and mobile terminal
CN102883337B (en) Multihop network construction method, set up device and node
CN108900587A (en) A kind of intelligent terminal acts on behalf of decision system
CN103517260B (en) Messaging parameter and the collocation method of communication protocol, apparatus for network node and system
CN109195199B (en) AP management method and device

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: 20190125