CN106686697B - The method of zigbee terminal device node administration - Google Patents

The method of zigbee terminal device node administration Download PDF

Info

Publication number
CN106686697B
CN106686697B CN201611168794.8A CN201611168794A CN106686697B CN 106686697 B CN106686697 B CN 106686697B CN 201611168794 A CN201611168794 A CN 201611168794A CN 106686697 B CN106686697 B CN 106686697B
Authority
CN
China
Prior art keywords
terminal device
data
mcu
network
network data
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.)
Active
Application number
CN201611168794.8A
Other languages
Chinese (zh)
Other versions
CN106686697A (en
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.)
Sichuan Changhong Electric Co Ltd
Original Assignee
Sichuan Changhong Electric Co Ltd
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 Sichuan Changhong Electric Co Ltd filed Critical Sichuan Changhong Electric Co Ltd
Priority to CN201611168794.8A priority Critical patent/CN106686697B/en
Publication of CN106686697A publication Critical patent/CN106686697A/en
Application granted granted Critical
Publication of CN106686697B publication Critical patent/CN106686697B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/622Layer-2 addresses, e.g. medium access control [MAC] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/672Short addresses

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention discloses a kind of methods of zigbee terminal device node administration, using terminal equipment short address and terminal device MAC Address carry out poll twice, after being changed in this way with effective solution due to the short address zigbee, it causes equipment to repeat the problem of reporting, the correctness of terminal unit management can be greatly improved.

Description

The method of zigbee terminal device node administration
Technical field
The present invention relates to wireless communication technique fields, and in particular to a kind of method of zigbee terminal device node administration.
Background technique
ZigBee is the low-power consumption LAN protocol based on IEEE802.15.4 standard.It is provided according to international standard, ZigBee technology is the wireless communication technique of a kind of short distance, low-power consumption.Its work basic procedure is, the data of device end → Coordinator or router (gateway) → MCU.IEEE MAC Address: globally unique address, in the whole life cycle of equipment It will all keep different, it is organized to distribute by international IEEE, is had been written into chip in chip factory, and cannot modify.It is short Address: distributing when a zigbee network is added in equipment, it is only unique in this network, for data transmit-receive in network When Address Recognition.
Now with the fast development of technology of Internet of things, the type of terminal device is also more and more.Since some terminals are set It is standby in power-off restarting or in the case where reconfigure networking, its short address is possible to change.When there is short address change When change, just will appear same equipment can have different short addresses, if equipment is managed and distinguished according to the short address of equipment, In this case it will be considered as that the equipment of new type is added in the list of devices of MCU management, and cause device category Repetition reports.
Summary of the invention
The present invention overcomes managing and distinguishing in the prior art equipment according to the short address of equipment, there are device category repetitions The deficiency reported provides a kind of method of zigbee terminal device node administration.
In order to solve the above technical problems, the invention adopts the following technical scheme:
A kind of method of zigbee terminal device node administration, it the following steps are included:
Step 1, it reports when terminal device networks into network data, the networking data include terminal device short address and terminal Device mac address;
Step 2, coordinator or gateway receive networking Data Concurrent and send to MCU;
Step 3, in MCU polled network existing terminal device data list, the terminal received in network data is set Standby short address is matched with the terminal device short address in data list, if successful match, MCU will directly enter network data It reports, if matching is unsuccessful, MCU distributes a new node memory and copies to new node memory for network data is entered In;
Step 4, in MCU polled network existing terminal device data list, the terminal received in network data is set Standby MAC Address is matched with the terminal device MAC Address in data list, if successful match, i.e. the terminal of the networking is set It is standby to exist in a network, then the terminal device short address duplication entered in network data is updated the number for arriving matched terminal device It is discharged according in the node of list, and by the new node memory in step 3;If matching is unsuccessful, MCU reports new terminal Equipment is added, and the new node memory in step 3 is added in the data list of existing terminal device.
Further technical solution is that coordinator or gateway receive into network data and pass through serial ports in the step 2 It is sent to MCU.
Networking is distinguished by using terminal device short address in first time polling device first in the technical program Terminal device whether there is in current network, and if so, the network data that enters of the terminal device of the networking is directly reported, This is entered into network data storage if there is no new node memory is then distributed, then by using end in second of polling device End equipment MAC Address whether there is in current network to distinguish the terminal device of networking, and if so, directly updating existing The table data of the equipment in network, if there is no then adding new node memory in the data list of existing terminal device Add, poll twice is carried out by using terminal device short address and terminal device MAC Address, can effectively be avoided so existing Device category caused by equipment is managed and distinguished only with terminal device short address in technology repeat the problem of reporting.
Compared with prior art, the beneficial effects of the present invention are:
Using terminal equipment of the present invention short address and terminal device MAC Address carry out poll twice, in this way can be effective It avoids asking only with what device category caused by the management of terminal device short address and differentiation equipment repeated to report in the prior art Topic.
Detailed description of the invention
Fig. 1 is the method flow diagram of the terminal device node administration of an embodiment of the present invention.
Specific embodiment
The present invention is further elaborated with reference to the accompanying drawing.
Embodiment 1,
The present embodiment is that the terminal device that MCU is monitored is that the changed door and window magnetic sensing of network and short address has been added Device.
As shown in Figure 1, step 1, door and window Magnetic Sensor is reported when networking into network data, and networking data include door and window magnetic sensing The short address of device and the MAC Address of door and window Magnetic Sensor, step 2, coordinator or gateway receive networking Data Concurrent send to MCU;Step 3, in the networking of MCU poll gateway existing all door and window Magnetic Sensors data list, will receive into network data In the short address of door and window Magnetic Sensor matched with the door and window Magnetic Sensor short address in data list, if matching at Function, then MCU will directly enter network data and report, if matching is unsuccessful, MCU distributes a new node memory and will enter netting index According to copying in new node memory, step 4, the data column of existing all door and window Magnetic Sensors in MCU poll gateway networking Table, by the MAC of the door and window Magnetic Sensor in the MAC Address and data list that receive the door and window Magnetic Sensor in network data Location is matched, since the MAC Address of terminal device immobilizes, if successful match, i.e. and the door and window Magnetic Sensor of the networking Exist in gateway networking, then the short address duplication of the door and window Magnetic Sensor entered in network data is updated and arrive matched door and window In the node of the data list of Magnetic Sensor, and new node memory is discharged;So, it has been simply updated existing door and window magnetic The short address content of sensor, and the door and window Magnetic Sensor of networking is not reported as new device type, if With unsuccessful, MCU reports new door and window Magnetic Sensor to be added, and the new node memory in step 3 is added to existing end In the data list of end equipment.
The above specific embodiment is described in detail for the essence of the present invention, but can not be to protection scope of the present invention It is limited, it should be apparent that, under the inspiration of the present invention, those of ordinary skill in the art can also carry out many improvement And modification, it should be noted that these improvement and modification are all fallen within the scope of the claims of the present invention.

Claims (2)

1. a kind of method of zigbee terminal device node administration, which is characterized in that it the following steps are included:
Step 1, it reports when terminal device networks into network data, the networking data include terminal device short address and terminal device MAC Address;
Step 2, coordinator or gateway receive networking Data Concurrent and send to MCU;
Step 3, in MCU polled network existing terminal device data list, the terminal device received in network data is short Address is matched with the terminal device short address in data list, if successful match, MCU will directly enter on network data Report, if matching is unsuccessful, MCU distributes a new node memory and copies to network data is entered in new node memory;
Step 4, in MCU polled network existing terminal device data list, the terminal device MAC that will be received in network data Address is matched with the terminal device MAC Address in data list, if successful match, i.e., the terminal device of the networking has been Exist in a network, then the terminal device short address duplication entered in network data is updated the data list for arriving matched terminal device Node in, and the new node memory in step 3 is discharged;If matching is unsuccessful, MCU reports new terminal device to add Enter, and the network data that enters of the new node memory in step 3 is added in the data list of existing terminal device.
2. the method for zigbee terminal device node administration according to claim 1, which is characterized in that in the step 2 Coordinator or gateway receive into network data and are sent to MCU by serial ports.
CN201611168794.8A 2016-12-16 2016-12-16 The method of zigbee terminal device node administration Active CN106686697B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611168794.8A CN106686697B (en) 2016-12-16 2016-12-16 The method of zigbee terminal device node administration

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611168794.8A CN106686697B (en) 2016-12-16 2016-12-16 The method of zigbee terminal device node administration

Publications (2)

Publication Number Publication Date
CN106686697A CN106686697A (en) 2017-05-17
CN106686697B true CN106686697B (en) 2019-07-19

Family

ID=58870761

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611168794.8A Active CN106686697B (en) 2016-12-16 2016-12-16 The method of zigbee terminal device node administration

Country Status (1)

Country Link
CN (1) CN106686697B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109982450B (en) * 2019-02-19 2020-09-29 生迪智慧科技有限公司 Communication link repairing method, device, coordinator and system
CN110572306B (en) * 2019-10-15 2023-03-24 厦门狄耐克智能科技股份有限公司 Wired intelligent home system with ad hoc network and ad hoc network method thereof

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7787476B2 (en) * 2004-03-03 2010-08-31 Mitsubishi Electric Corporation Layer 2 switch network system
CN101433058A (en) * 2006-06-07 2009-05-13 高通股份有限公司 Pn code based addressing methods, computer-readable media and apparatus for airlink communications
US7809355B2 (en) * 2006-10-26 2010-10-05 Intel Corporation Techniques for identification of connected and idle mode users in wireless networks

Also Published As

Publication number Publication date
CN106686697A (en) 2017-05-17

Similar Documents

Publication Publication Date Title
US10952143B2 (en) Sleeping and wake-up methods and apparatuses of master-slave network, and power saving system of master-slave network
US8774056B2 (en) Automated device discovery on a network
CN103713608B (en) Wireless Internet of Things house system hierarchical network framework and its group-net communication method
CN101931982A (en) Network failure positioning method and device
CN106131028B (en) A kind of data transmission method of Free-port communication gateway
CN101848223B (en) Network processor-based method and device for realizing quick bidirectional forwarding detection of messages
CN106686697B (en) The method of zigbee terminal device node administration
CN107124337A (en) Equipment configuration method, device, system and centralized control terminal
CN106255177A (en) The transmission method of a kind of equipment state and device
CN110351146A (en) A kind of server-side example determines method, system, client and storage medium
CN110337103A (en) A kind of connectionless data hided transmission method based on 802.11 agreements
CN108055151B (en) Port management method and device of network node, network node and storage medium
CN107172573B (en) zigbee terminal communication data processing method
CN111786835A (en) Fault repairing method based on wireless Internet of things and related device
Barkalov et al. Fault detection variants of the CloudBus protocol for IoT distributed embedded systems
CN106850284A (en) A kind of smart jack management method and its managing device, a kind of Cloud Server
JP6616184B2 (en) Data transmission method and apparatus
Ye et al. Research on Networking Technology based on BLE Mesh
CN107819684B (en) Synchronous processing method and device
CN102088741B (en) Method for coping with malicious interference in wireless sensor network (WSN)
CN105871622B (en) Sending, receiving method, control device, terminal and the system of information
Kim et al. The implementation of smart home system based on 3G and ZigBee in wireless network systems
CN104639530B (en) A kind of nebula network communication protocol, communication means and communication protocol packet
CN107590981A (en) A kind of LORAWAN ammeters communication module and its control method
US9877355B2 (en) Wireless communicator connectable to different types of wireless communication networks

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
GR01 Patent grant
GR01 Patent grant