CN108770039A - Mesh network route resetting method - Google Patents

Mesh network route resetting method Download PDF

Info

Publication number
CN108770039A
CN108770039A CN201810485951.0A CN201810485951A CN108770039A CN 108770039 A CN108770039 A CN 108770039A CN 201810485951 A CN201810485951 A CN 201810485951A CN 108770039 A CN108770039 A CN 108770039A
Authority
CN
China
Prior art keywords
routing
node device
node
numerical value
progress list
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.)
Granted
Application number
CN201810485951.0A
Other languages
Chinese (zh)
Other versions
CN108770039B (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.)
Shandong Bittel Intelligent Technology Co Ltd
Original Assignee
Shandong Bittel Intelligent Technology 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 Shandong Bittel Intelligent Technology Co Ltd filed Critical Shandong Bittel Intelligent Technology Co Ltd
Publication of CN108770039A publication Critical patent/CN108770039A/en
Application granted granted Critical
Publication of CN108770039B publication Critical patent/CN108770039B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/24Connectivity information management, e.g. connectivity discovery or connectivity update
    • H04W40/248Connectivity information update

Abstract

Mesh network route resetting method, each node device in one room or building unit is first completed network configuration operations by it in production link, each node device can reset routing and delete invalid routing automatically after installing at the scene, automatically updating becomes new mesh network, the installation allocative efficiency of wireless mesh network interior joint equipment is greatly improved, not the routing integrity limit in by wireless network.The advantage of the invention is that:Can each node device in a room or building unit first be completed into network configuration operations in production link, each node device can reset routing and delete invalid routing automatically after installing at the scene, automatically updating becomes new mesh network, greatly improve the installation allocative efficiency of wireless mesh network interior joint equipment, the not routing integrity limit in by wireless network, the installation site of node device can also be used this method and reset routing automatically and automatically update mesh network etc. after changing.

Description

Mesh network route resetting method
Technical field
The present invention relates to a kind of route resetting method, specifically a kind of mesh network route resetting method.
Background technology
With the development of network communications technology, universal, family, office building, the various electricity in hotel room of smart machine Sub- equipment has all had interconnected with wireless network communication function, and each equipment all can be used as wireless network in a room or building unit The node of communication interconnects composition mesh wireless network.Existing electronic equipment mesh wireless network networking mode is supplier Configuration network at the scene after in-site installation equipment, needs all to carry out manual configuration to each equipment at the scene, and need to carry Computer carries out input SN and waits operation, and live workload is very big, and installation effectiveness is relatively low, especially in newly-built office building, wine Shop etc. need to largely install the construction site of deploying new equipment, often occur in the networking configuration process of each equipment room No. SN it is inconsistent Etc. unpredictable problem, networking is caused to fail, and scene investigation failure cause can consume a large amount of time, therefore it is existing at present The form of construction work efficiency of field Configuration network is very low.To solve the above problems, those skilled in the art propose a room Or the network configuration operations of each node device in building unit are completed in production link, then each equipment is subjected to live peace The imagination of dress, but this imagination is only applicable between individual field devices without departing from the ideal conditions of effective communication distance, when existing A certain equipment and miscellaneous equipment beyond effective communication apart from when, it is invalid just to will appear in the good mesh wireless network of configured in advance Routing, if communication when be switched to this invalid wireless routing will result in communication it is unsmooth.
Invention content
The object of the present invention is to provide a kind of mesh network route resetting methods, it first will be in a room or building unit Each node device network configuration operations are completed in production link, each node device can weigh automatically after installing at the scene It sets routing and deletes invalid routing, automatically update as new mesh network, greatly improve wireless mesh network interior joint equipment Installation allocative efficiency, the not routing integrity limit in by wireless network.
The present invention to achieve the above object, is achieved through the following technical solutions:Include the following steps:
1., send to erecting bed in each node device and intended gateway, all node devices are added in intended gateway;
2., after 1. step added all node devices, node device list is formed in intended gateway, and obtain each node and set Standby specific node number, then powers off all devices, that is, completes equipment and add environment;
3., all node devices and intended gateway are transported to erecting bed and complete to install, then give intended gateway and Ge Jie Point device powers on;
4., by button or debugging software route resetting function is started, intended gateway is according to setting in node device list Standby quantity establishes routing progress list, and routing progress list quantity is identical as number of devices, and data value is all set to initially Numerical value " 1 ", i.e. { 1,1,1,1 ... ... 1 };
5., successively according to the sequencing of node device list, successively to each node device send inquiry in line, detecting is worked as Whether front distance can communicate directly;
6., step 5. to a certain node device send inquiry after line, if receive correctly reply data, will routing Numerical value corresponding with the node device is updated to " 2 " in progress list, if receive be mistake data or beyond setting when Between t0 do not receive reply, then route corresponding with node device numerical value in progress list and maintain original numerical value " 1 " constant;
7., after 6. the corresponding numerical value of a certain node device is updated to " 2 " by step, then routing reconfigurability sent out to the node device and is referred to It enables, such as receives reconstruct pass signal, then numerical value corresponding with the node device in routing progress list is updated to " 3 ", such as Fruit receives reconstruct failure signal or does not receive reply beyond setting time t0, then will route in progress list and the node device pair The numerical value answered is updated to " 5 ";
8., after 7. the corresponding numerical value of a certain node device is updated to " 3 " by step, it is online that inquiry is sent out to the node device again Instruction detecting verification node communication it is whether normal, if receive correctly reply data, will routing progress list in and the section The corresponding numerical value of point device is updated to " 4 ", if receive be mistake data or do not receive reply beyond setting time t0, Numerical value corresponding with the node device in routing progress list is updated to " 6 ";
9., all node devices are performed both by step 6. -8. after, if there are still numerical value being that " 1 " being set in routing progress list It is standby, then need to these node devices repeat step 6. -8., if repeat step 6. -8. the way of escape is by progress list Numerical value there is no any variation, then it represents that between these node devices and other node devices exceed communication context;If routing The corresponding numerical value of all node devices is " 4 " in progress list, i.e., { 4,4,4,4 ... ... 4 }, then it represents that route resetting terminates, All devices communication is normal;If route in progress list, there are the equipment that numerical value is " 5 " or " 6 ", then it represents that corresponding node There may be failures for equipment;No matter there is above-mentioned any situation, terminates route resetting flow, and result is passed through into indicator light Or the mode of software interface feeds back to operating personnel.
10., step is 9. after route resetting flow, if there is no numerical value being " 5 " or " 6 " in routing progress list Equipment then is attempted to communicate to all routings, and the invalid routing that will be unable to communication is deleted, and effective routing is found out, raw in gateway At the routing table for reaching all node devices;If route in progress list there are the equipment that numerical value is " 5 " or " 6 ", pass through The mode of indicator light or software interface shows that there may be the equipment of failure;
, the routing table of all node devices of arrival that is 10. generated according to step send out setting and be routed back to instruction, make gateway general The path of all about each node device is all copied to node device.
When node device quantity is N, the setting time t0 is 400ms-90s.
The advantage of the invention is that:It can be first by each node device in a room or building unit in production link Middle completion network configuration operations, each node device can reset routing and delete invalid routing automatically after installing at the scene, from It is dynamic to be modernized into new mesh network, the installation allocative efficiency of wireless mesh network interior joint equipment is greatly improved, not by wireless Routing integrity limit in network can also be used this method after the installation site change of node device and reset routing automatically simultaneously certainly Dynamic update mesh network etc..
Description of the drawings
Fig. 1 is the flow diagram of the present invention.
Specific implementation mode
Mesh network route resetting method of the present invention includes the following steps:
1., send to erecting bed in each node device and intended gateway, all node devices are added in intended gateway;
2., after 1. step added all node devices, node device list is formed in intended gateway, and obtain each node and set Standby specific node number, generates all possible routing, then powers off all devices, that is, complete equipment between the individual nodes Add environment;
3., all node devices and intended gateway are transported to erecting bed and complete to install, then give intended gateway and Ge Jie Point device powers on, at this time the change of the position of node device, and communication distance is possible to over range, Wu Fatong between node News, just will produce many invalid nodes, encounter in practical applications in this way wireless channel communication quality it is bad in the case of, will The blocking of Communications failure and radio layer is caused, and the use of system can be influenced;
4., by button or debugging software route resetting function is started, intended gateway is according to setting in node device list Standby quantity establishes routing progress list, and routing progress list quantity is identical as number of devices, and data value is all set to initially Numerical value " 1 ", i.e. { 1,1,1,1 ... ... 1 };
5., successively according to the sequencing of node device list, successively to each node device send inquiry in line, detecting is worked as Whether front distance can communicate directly;
6., step 5. to a certain node device send inquiry after line, if receive correctly reply data, will routing Numerical value corresponding with the node device is updated to " 2 " in progress list, if receive be mistake data or beyond setting when Between t0 do not receive reply, then route corresponding with node device numerical value in progress list and maintain original numerical value " 1 " constant;
7., after 6. the corresponding numerical value of a certain node device is updated to " 2 " by step, then routing reconfigurability sent out to the node device and is referred to It enables, such as receives reconstruct pass signal, then numerical value corresponding with the node device in routing progress list is updated to " 3 ", such as Fruit receives reconstruct failure signal or does not receive reply beyond setting time t0, then will route in progress list and the node device pair The numerical value answered is updated to " 5 ";
8., after 7. the corresponding numerical value of a certain node device is updated to " 3 " by step, it is online that inquiry is sent out to the node device again Instruction detecting verification node communication it is whether normal, if receive correctly reply data, will routing progress list in and the section The corresponding numerical value of point device is updated to " 4 ", if receive be mistake data or do not receive reply beyond setting time t0, Numerical value corresponding with the node device in routing progress list is updated to " 6 ";
9., all node devices are performed both by step 6. -8. after, if there are still numerical value being that " 1 " being set in routing progress list It is standby, then need to these node devices repeat step 6. -8., if repeat step 6. -8. the way of escape is by progress list Numerical value there is no any variation, then it represents that between these node devices and other node devices exceed communication context;If routing The corresponding numerical value of all node devices is " 4 " in progress list, i.e., { 4,4,4,4 ... ... 4 }, then it represents that route resetting terminates, All devices communication is normal;If route in progress list, there are the equipment that numerical value is " 5 " or " 6 ", then it represents that corresponding node There may be failures for equipment;No matter there is above-mentioned any situation, terminates route resetting flow, and result is passed through into indicator light Or the mode of software interface feeds back to operating personnel.
10., step is 9. after route resetting flow, if there is no numerical value being " 5 " or " 6 " in routing progress list Equipment then is attempted to communicate to all routings, and the invalid routing that will be unable to communication is deleted, and effective routing is found out, raw in gateway At the routing table for reaching all node devices;If route in progress list there are the equipment that numerical value is " 5 " or " 6 ", pass through The mode of indicator light or software interface shows that there may be the equipment of failure;
, the routing table of all node devices of arrival that is 10. generated according to step send out setting and be routed back to instruction, make gateway general The path of all about each node device is all copied to node device.Gateway has had the routing table of all nodes of arrival, But node may only have part path, be routed back to instruction so needing to send out setting, underlying protocol stack branch that zwave is wireless It holds, all paths of all about node can be all copied to node by gateway.In this way gateway reach node communication it is complete Whole, the path that node returns to gateway is also perfect, enriches the routing of entire gateway and node.
Each node device in one room or building unit first can be completed network by the present invention in production link Configuration operation, each node device can reset routing and delete invalid routing automatically after installing at the scene, automatically updating becomes New mesh network greatly improves the installation allocative efficiency of wireless mesh network interior joint equipment, not the road in by wireless network This method can also be used by integrity limit, after the installation site change of node device to reset routing automatically and automatically update netted Network.The network method of automatic configuration that other network configuration softwares use at present is each equipment distribution before node device manufacture One Quick Response Code, gateway can manually or mobile phone scans this Quick Response Code to complete the installation of equipment, and then equipment energization is opened The foundation for beginning according to the list of devices automatic network-building in gateway and completing routing, although this mode is relative to manual configuration network Mode can promote networking efficiency, but its there are still a significant defects can not exactly replace node device at any time.This hair Bright to detect the validity of routing by the way of routing progress list and update mesh network, networking efficiency is substantially carried It rises.By taking SmartStart software automatic network-building functions as an example, SMARTSTART softwares are big in the used time that 8 equipment are carried out with networking Generally at 20 minutes or so, and the method for the invention only takes 2.5 minutes when carrying out route resetting and networking to 12 equipment, Obviously the networking efficiency of the present invention, which has, is obviously improved, and the routing progress list of the method for the invention can update at any time, It solves the problems, such as to replace node device at any time.
Setting time t0 of the present invention is that the maximum being arranged for a long time without response in order to avoid route resetting process is rung Between seasonable, the present invention preferably sets maximum response time to 400ms-90s.

Claims (2)

1. mesh network route resetting method, it is characterised in that:Include the following steps:
1., send to erecting bed in each node device and intended gateway, all node devices are added in intended gateway;
2., after 1. step added all node devices, node device list is formed in intended gateway, and obtain each node and set Standby specific node number, then powers off all devices, that is, completes equipment and add environment;
3., all node devices and intended gateway are transported to erecting bed and complete to install, then give intended gateway and Ge Jie Point device powers on;
4., by button or debugging software route resetting function is started, intended gateway is according to setting in node device list Standby quantity establishes routing progress list, and routing progress list quantity is identical as number of devices, and data value is all set to initially Numerical value " 1 ", i.e. { 1,1,1,1 ... ... 1 };
5., successively according to the sequencing of node device list, successively to each node device send inquiry in line, detecting is worked as Whether front distance can communicate directly;
6., step 5. to a certain node device send inquiry after line, if receive correctly reply data, will routing Numerical value corresponding with the node device is updated to " 2 " in progress list, if receive be mistake data or beyond setting when Between t0 do not receive reply, then route corresponding with node device numerical value in progress list and maintain original numerical value " 1 " constant;
7., after 6. the corresponding numerical value of a certain node device is updated to " 2 " by step, then routing reconfigurability sent out to the node device and is referred to It enables, such as receives reconstruct pass signal, then numerical value corresponding with the node device in routing progress list is updated to " 3 ", such as Fruit receives reconstruct failure signal or does not receive reply beyond setting time t0, then will route in progress list and the node device pair The numerical value answered is updated to " 5 ";
8., after 7. the corresponding numerical value of a certain node device is updated to " 3 " by step, it is online that inquiry is sent out to the node device again Instruction detecting verification node communication it is whether normal, if receive correctly reply data, will routing progress list in and the section The corresponding numerical value of point device is updated to " 4 ", if receive be mistake data or do not receive reply beyond setting time t0, Numerical value corresponding with the node device in routing progress list is updated to " 6 ";
9., all node devices are performed both by step 6. -8. after, if there are still numerical value being that " 1 " being set in routing progress list It is standby, then need to these node devices repeat step 6. -8., if repeat step 6. -8. the way of escape is by progress list Numerical value there is no any variation, then it represents that between these node devices and other node devices exceed communication context;If routing The corresponding numerical value of all node devices is " 4 " in progress list, i.e., { 4,4,4,4 ... ... 4 }, then it represents that route resetting terminates, All devices communication is normal;If route in progress list, there are the equipment that numerical value is " 5 " or " 6 ", then it represents that corresponding node There may be failures for equipment;No matter there is above-mentioned any situation, terminates route resetting flow, and result is passed through into indicator light Or the mode of software interface feeds back to operating personnel;
10., step is 9. after route resetting flow, if there is no the equipment that numerical value is " 5 " or " 6 " in routing progress list, Then all routings are attempted to communicate, the invalid routing that will be unable to communication is deleted, and effective routing is found out, and is generated and is reached in gateway The routing table of all node devices;If route in progress list there are the equipment that numerical value is " 5 " or " 6 ", pass through indicator light Or the mode of software interface shows the equipment there may be failure;
, the routing table of all node devices of arrival that is 10. generated according to step send out setting and be routed back to instruction, make gateway general The path of all about each node device is all copied to node device.
2. mesh network route resetting method according to claim 1, it is characterised in that:When node device quantity is N, institute It is 400ms-90s to state setting time t0.
CN201810485951.0A 2018-04-08 2018-05-21 Mesh network route resetting method Active CN108770039B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201820486793 2018-04-08
CN2018204867936 2018-04-08

Publications (2)

Publication Number Publication Date
CN108770039A true CN108770039A (en) 2018-11-06
CN108770039B CN108770039B (en) 2021-04-13

Family

ID=64007172

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810485951.0A Active CN108770039B (en) 2018-04-08 2018-05-21 Mesh network route resetting method

Country Status (1)

Country Link
CN (1) CN108770039B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102202333A (en) * 2011-06-24 2011-09-28 中国人民解放军国防科学技术大学 Routing method of wireless ad hoc network used for small satellite constellation communication
CN102572999A (en) * 2010-12-27 2012-07-11 中兴通讯股份有限公司 Data message routing method and system
CN102638380A (en) * 2012-03-22 2012-08-15 上海大学 Dual-mode wireless sensor network access method for monitoring equipment state
US20140064142A1 (en) * 2012-08-30 2014-03-06 Tropos Networks, Inc Updating multicast group information of a client device of a wireless mesh network
CN103686799A (en) * 2012-09-06 2014-03-26 苏州联科盛世科技有限公司 Method for updating sensing nodes in wireless sensor network
CN104410435A (en) * 2014-05-07 2015-03-11 丰唐物联技术(深圳)有限公司 Method for triggering networking, node and gateway
CN105791012A (en) * 2016-03-08 2016-07-20 中国联合网络通信集团有限公司 Authentication method and access network element
US20170085488A1 (en) * 2015-09-22 2017-03-23 Brocade Communications Systems, Inc. Intelligent, load adaptive, and self optimizing master node selection in an extended bridge
US20170302620A1 (en) * 2014-09-02 2017-10-19 Orange Method of forwarding data between ip devices
CN107333265A (en) * 2017-08-24 2017-11-07 四川长虹电器股份有限公司 A kind of zigbee equipment method of network entry
CN107454653A (en) * 2016-05-31 2017-12-08 尚民 A kind of network sharing system and network sharing method

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102572999A (en) * 2010-12-27 2012-07-11 中兴通讯股份有限公司 Data message routing method and system
CN102202333A (en) * 2011-06-24 2011-09-28 中国人民解放军国防科学技术大学 Routing method of wireless ad hoc network used for small satellite constellation communication
CN102638380A (en) * 2012-03-22 2012-08-15 上海大学 Dual-mode wireless sensor network access method for monitoring equipment state
US20140064142A1 (en) * 2012-08-30 2014-03-06 Tropos Networks, Inc Updating multicast group information of a client device of a wireless mesh network
CN103686799A (en) * 2012-09-06 2014-03-26 苏州联科盛世科技有限公司 Method for updating sensing nodes in wireless sensor network
CN104410435A (en) * 2014-05-07 2015-03-11 丰唐物联技术(深圳)有限公司 Method for triggering networking, node and gateway
US20170302620A1 (en) * 2014-09-02 2017-10-19 Orange Method of forwarding data between ip devices
US20170085488A1 (en) * 2015-09-22 2017-03-23 Brocade Communications Systems, Inc. Intelligent, load adaptive, and self optimizing master node selection in an extended bridge
CN105791012A (en) * 2016-03-08 2016-07-20 中国联合网络通信集团有限公司 Authentication method and access network element
CN107454653A (en) * 2016-05-31 2017-12-08 尚民 A kind of network sharing system and network sharing method
CN107333265A (en) * 2017-08-24 2017-11-07 四川长虹电器股份有限公司 A kind of zigbee equipment method of network entry

Also Published As

Publication number Publication date
CN108770039B (en) 2021-04-13

Similar Documents

Publication Publication Date Title
CN103532733B (en) Wireless communication system and information providing method
CN104182819A (en) Intelligent repair reporting method and system
CN103974376A (en) Network connection assisting system and method
CN109450698B (en) Remote operation and maintenance and monitoring method and system for PC automatic production line
EP1245124B1 (en) Method for configurating a base station network
KR20110055561A (en) The development, test, and demonstration of automation solutions using web-based virtual computers and vpn tunneling
CN106648781A (en) Remote firmware upgrading method and system for communication equipment
CN109361585A (en) A kind of method that child node baud rate and address is arranged in host node automatically
CN106878095B (en) Network configuration method based on scenario distributed simulation
JP4763557B2 (en) Management server, communication system, and communication method
CN108770039A (en) Mesh network route resetting method
JP2011066529A (en) Updating method of firmware, distributed system, maintenance terminal, communication unit, and update program of firmware
CN104378231A (en) Control system and control method for enterprise wireless router
CN108429673B (en) A kind of quick Future Data network implementation approach
CN100370867C (en) Method for downloading base station edition
CN110769462B (en) Network access control method and device
EP3174322A1 (en) Method for deleting notification resource, and common service entity
JP4600697B2 (en) Network equipment test system
CN108023745B (en) Method and device for automatically setting restart sequence of network equipment
CN110285529A (en) Central air conditioner end equipment method of automatic configuration, equipment, terminal and system
JP2008236317A (en) Automatic setting system, basic system network device, connection terminal, automatic setting method and program
CN110096297A (en) For the method for internet of things equipment mass upgrade, update device under controllable environment
CN110475136B (en) Method and device for realizing screen projection of terminal
CN105141485A (en) Network communication test method avoiding ARP interference and system thereof
CN101360307A (en) Network protocol simulation method and device in third generation mobile communication system

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