CN113891354A - method, device, equipment and storage medium for updating mesh network - Google Patents

method, device, equipment and storage medium for updating mesh network Download PDF

Info

Publication number
CN113891354A
CN113891354A CN202111082534.XA CN202111082534A CN113891354A CN 113891354 A CN113891354 A CN 113891354A CN 202111082534 A CN202111082534 A CN 202111082534A CN 113891354 A CN113891354 A CN 113891354A
Authority
CN
China
Prior art keywords
mesh network
router
updating
network
root node
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
CN202111082534.XA
Other languages
Chinese (zh)
Other versions
CN113891354B (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.)
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology Co Ltd
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun 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 Gree Electric Appliances Inc of Zhuhai, Zhuhai Lianyun Technology Co Ltd filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202111082534.XA priority Critical patent/CN113891354B/en
Publication of CN113891354A publication Critical patent/CN113891354A/en
Application granted granted Critical
Publication of CN113891354B publication Critical patent/CN113891354B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

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

Abstract

The application relates to a method, a device, equipment and a storage medium for updating a mesh network, and relates to the technical field of wireless communication. The method for updating the mesh network comprises the following steps: acquiring network operation parameters in a mesh network within a preset time period; and when the network operation parameters meet the updating conditions, updating the architecture of the mesh network. The method and the device are used for solving the problem that the existing mesh network cannot be maintained stably.

Description

method, device, equipment and storage medium for updating mesh network
Technical Field
The present application relates to the field of wireless communication technologies, and in particular, to a method, an apparatus, a device, and a storage medium for updating a mesh network.
Background
The development of the mesh network is mature day by day, and the mesh network technology can solve the pain point of the home network problem, such as the problems of channel congestion caused by network coverage, network signal wall penetration and more access devices. The problem of the mesh network is its stability, that is, if the stability of the mesh network cannot be guaranteed, pain points in the home are not really solved.
The existing technology applies the mesh network according to the characteristics of hardware equipment, and the mesh network cannot be guaranteed to be stable.
Disclosure of Invention
The application provides a method, a device, equipment and a storage medium for updating a mesh network, which are used for solving the problem that the existing mesh network cannot maintain stability.
In a first aspect, an embodiment of the present application provides a method for updating a mesh network, including:
acquiring network operation parameters in the mesh network within a preset time period;
and when the network operation parameters meet the updating conditions, updating the architecture of the mesh network.
Optionally, the network operation parameter includes at least one of a first network operation parameter of a root node, a second network operation parameter of at least one child node, and a third network operation parameter of a first router to which the root node is connected, where the child node is connected to the root node.
Optionally, the first network operating parameter comprises at least a signal strength of the root node;
when the network operation parameter meets the updating condition, updating the architecture of the mesh network, including:
and when the number of times that the signal strength of the root node in the preset time period is lower than a first preset signal strength is larger than a first preset number of times, acquiring the signal strength of each child node, taking the child node with the maximum signal strength as an updated root node, and taking the root node before updating as a child node.
Optionally, the second network operating parameter includes at least a signal strength of a child node;
when the network operation parameter meets the updating condition, updating the architecture of the mesh network, including:
and acquiring the times that the signal intensity in the preset time period is lower than a second preset signal intensity and the target sub-nodes which are more than the second preset times, and controlling the target sub-nodes to leave from the mesh network if the number of the target sub-nodes is less than the preset number.
Optionally, the third network operation parameter includes at least one of a signal strength of the first router, a number of nodes in the mesh network, an operating time of the first router, a maximum operating capacity ratio of the first router, and a minimum operating capacity ratio of the first router;
when the network operation parameter meets the updating condition, updating the architecture of the mesh network, including:
when the number of times that the signal intensity of the first router in the preset time period is lower than a third preset signal intensity is larger than a third preset number of times, acquiring the signal intensity of at least one second router which can establish connection with the mesh network, taking the second router with the maximum signal intensity as a router which is connected after the mesh network is updated, and taking the child node connected with the second router with the maximum signal intensity as a root node after the mesh network is updated;
alternatively, the first and second electrodes may be,
when the number of the nodes in the mesh network in the preset time period is greater than the number of times of the capacity of the first router and greater than a fourth preset number of times, acquiring the capacity of at least one second router which can establish connection with the mesh network, taking the second router with the maximum capacity as a router which is connected after the mesh network is updated, and taking the child node connected with the second router with the maximum capacity as a root node after the mesh network is updated;
alternatively, the first and second electrodes may be,
and calculating working parameters of the first router according to the working duration of the first router, the maximum working capacity ratio of the first router and the minimum working capacity ratio of the first router, when the working parameters of the first router are smaller than or equal to a router threshold value, obtaining the working parameters of at least one second router which can establish connection with the mesh network, taking the second router with the maximum working parameters as a router which is connected after the mesh network is updated, and taking the child node connected with the second router with the maximum working parameters as a root node after the mesh network is updated.
Optionally, before the controlling the target child node to leave from the mesh network, the method further includes:
sending a verification instruction to a root node of the mesh network, wherein the verification instruction carries an identity verification identifier;
and verifying that the identity authentication identification is legal through the root node.
Optionally, the first network operating parameter at least includes a data transmission amount of the root node in the preset time period and a capacity of a channel used by the root node;
when the network operation parameter meets the updating condition, updating the architecture of the mesh network, including:
and when the data transmission quantity of the root node is larger than the capacity of the channel used between the root node and the router, acquiring the capacity of each spare channel in the root node and the router, and acquiring the spare channel with the maximum capacity as the channel used between the root node and the router after the mesh network is updated.
In a second aspect, an embodiment of the present application provides an updating apparatus for a mesh network, including:
the acquisition module is used for acquiring network operation parameters in the mesh network within a preset time period;
and the processing module is used for updating the architecture of the mesh network when the network operation parameters meet the updating conditions.
In a third aspect, an embodiment of the present application provides an electronic device, including: the system comprises a processor, a memory and a communication bus, wherein the processor and the memory are communicated with each other through the communication bus;
the memory for storing a computer program;
the processor is configured to execute the program stored in the memory, and implement the method for updating a mesh network according to the first aspect.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program implements the method for updating a mesh network according to the first aspect.
Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages: the method provided by the embodiment of the application obtains the network operation parameters in the mesh network within the preset time period, and updates the architecture of the mesh network when the network operation parameters meet the updating conditions. Compared with the prior art, the mesh network is applied according to the characteristics of hardware equipment, and the mesh network can not be kept stable, the method monitors the network operation parameters in the mesh network within the preset time period, updates the architecture of the mesh network when the network operation parameters meet the updating conditions, can monitor the network operation parameters during daily operation of the mesh network, can update the architecture of the mesh network in time when the mesh network is unstable, optimizes the architecture of the mesh network, further maintains the stability of the mesh network, improves the stability of the mesh network, has better stability compared with a mode of determining the architecture of the mesh network only based on the inherent hardware indexes of each equipment, and also avoids the problem that the network is updated only when the nodes of the mesh network fail, and the network stability is greatly influenced.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a schematic diagram of a mesh network in the prior art;
fig. 2 is a schematic flow chart of an updating method of a mesh network in an embodiment of the present application;
fig. 3 is a schematic structural diagram of an updating apparatus of a mesh network in an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device in an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In the prior art, a schematic architecture of a mesh network is shown in fig. 1.
Wireless Mesh Networks (also called Wireless Mesh Networks, etc.) are a new network structure based on multi-hop routing and peer-to-peer network technologies, and are increasingly widely used as a Wireless interconnected communication technology. Most of the existing mesh network protocols are based on a fixed networking environment, and a mesh network can contain dozens of node devices. The mesh network realizes the connection of the internet by connecting routers, nodes connected with the routers are called root nodes, nodes connected with the root nodes are called child nodes, and the child nodes are also connected with each other besides the root nodes.
The embodiment of the application provides an updating method of a mesh network, which is applied to at least one node in the mesh network, and because all nodes in the mesh network can communicate with each other and exchange information, the method provided by the embodiment of the application can be applied to a root node, a child node, a router, a node, at least two nodes, and as long as network operation parameters in the mesh network within a preset time period can be obtained.
In the embodiment of the present application, as shown in fig. 2, the method for updating a mesh network mainly includes:
step 201, obtaining network operation parameters in the mesh network within a preset time period.
The preset time period can be 1 hour or one day, and the daily network operation parameters in the mesh network can be acquired.
The network operation parameters comprise at least one of a first network operation parameter of a root node, a second network operation parameter of at least one child node, and a third network operation parameter of a first router connected to the root node, wherein the child node is connected to the root node.
In one embodiment, the first network operating parameter includes at least a signal strength of the root node.
In one embodiment, the first network operation parameters include at least the data transmission amount of the root node in a preset time period and the capacity of a channel used by the root node.
In one embodiment, the second network operating parameter includes at least a signal strength of the child node.
In one embodiment, the second network operating parameter includes at least a number of child devices connected by the child node.
In a specific embodiment, the third network operation parameter includes at least one of a signal strength of the first router, a number of nodes in the mesh network, an operating time of the first router, a maximum operating capacity ratio of the first router, and a minimum operating capacity ratio of the first router.
The maximum working capacity ratio refers to a ratio of a maximum data transmission quantity of the first router to a preset data transmission quantity in a preset time period, and the minimum working capacity ratio refers to a ratio of a minimum data transmission quantity of the first router to the preset data transmission quantity in the preset time period.
Step 202, when the network operation parameter meets the updating condition, updating the architecture of the mesh network.
The mesh network architecture refers to that a router is connected with a root node, the root node is connected with child nodes, and the child nodes are connected with the root node and all the child nodes. The architecture for updating the mesh network may be a switching root node, a switching router, a channel used between the switching root node and the router, or a network device which is detected as a new child node and is added into the mesh network.
In one embodiment, there are various scenarios for updating the architecture of the mesh network, including but not limited to the following:
situation one
And switching the root node.
And when the number of times that the signal strength of the root node in the preset time period is lower than the first preset signal strength is larger than the first preset number of times, acquiring the signal strength of each child node, taking the child node with the maximum signal strength as the updated root node, and taking the root node before updating as the child node.
In addition to obtaining the signal strength of each child node, the child node with the highest signal strength may be used as the root node, or the distance between each child node and the router may be obtained, and the child node with the smallest distance may be used as the root node.
The daily running state of the root node is comprehensively evaluated through the signal strength of the root node in the preset time period, if the signal strength of the root node in the preset time period is lower than the first preset signal strength times and is greater than the first preset times, the times of the root node signal difference are more, the child node with the maximum signal strength is taken as the root node in time, and the connection stability of the mesh network and the first router can be better maintained.
Situation two
And controlling the child node to leave the mesh network.
And acquiring the times that the signal strength in the preset time period is lower than the second preset signal strength and the target sub-nodes with the times larger than the second preset times, and controlling the target sub-nodes to leave from the mesh network if the number of the target sub-nodes is smaller than the preset number.
The daily operation states of the sub-nodes are comprehensively evaluated through the signal strength of the sub-nodes in the preset time period, if the signal strength of the target sub-nodes in the preset time period is lower than the second preset signal strength times and is greater than the second preset times, the times of the target sub-node signal difference are more, if the number of the target sub-nodes is smaller than the preset number, the target sub-nodes are in a problem, but not the root nodes are too poor in signal strength, the target sub-nodes are timely controlled to leave from the mesh network, the communication pressure of the root nodes can be reduced, and the stability of the mesh network is better maintained.
In a specific embodiment, before the control target child node leaves from the mesh network, the method for updating the mesh network further includes: sending a verification instruction to a root node of the mesh network, wherein the verification instruction carries an identity verification identifier; and verifying that the identity authentication identification is legal through the root node.
The identity authentication identifier may be a MAC address of the target child node, or may be other identifiers capable of uniquely determining the identity of the target child node.
Specifically, the root node verifies that the authentication identifier is legal, or the root node sends the authentication identifier in the verification instruction to the target child node, and the target child node returns a verification result to the root node after verifying that the authentication identifier is legal.
Before the target child node is controlled to leave from the mesh network, the identity authentication identification is verified to be legal, and the target child node can be ensured to leave.
After the target child node is controlled to leave the mesh network, the identity authentication identifier of the target child node is invalid, no authority is added into the mesh network, and the safety of the mesh network is further improved.
Situation three
And switching the router.
In one embodiment, there are multiple ways to switch routers, including but not limited to the following:
in a first mode
And when the number of times that the signal intensity of the first router in a preset time period is lower than the third preset signal intensity is greater than the third preset number of times, acquiring the signal intensity of at least one second router which can establish connection with the mesh network, taking the second router with the maximum signal intensity as a router which is connected after the mesh network is updated, and taking a child node connected with the second router with the maximum signal intensity as a root node after the mesh network is updated.
The daily operation state of the first router is comprehensively evaluated through the signal intensity of the first router in a preset time period, if the signal intensity of the first router in the preset time period is lower than the frequency of third preset signal intensity and is greater than the third preset frequency, the frequency of the first router signal difference is more, the signal intensity of at least one second router which can be connected by the mesh network can be timely obtained, the second router with the maximum signal intensity is used as the router which is connected after the mesh network is updated, the signal intensity of the mesh network can be better ensured to be larger, and the stability of the mesh network is further maintained.
Mode two
And when the number of the nodes in the mesh network in the preset time period is greater than the number of times of the capacity of the first router and greater than the fourth preset number of times, acquiring the capacity of at least one second router which can establish connection in the mesh network, taking the second router with the maximum capacity as a router which is connected after the mesh network is updated, and taking the child node connected with the second router with the maximum capacity as a root node after the mesh network is updated.
The daily load condition of the first router is comprehensively evaluated through the number of nodes in the mesh network in a preset time period, if the number of the nodes in the mesh network in the preset time period is greater than the times of the capacity of the first router and greater than the fourth preset times, the times of overload operation of the first router are more, the capacity of at least one second router which can be connected with the mesh network can be timely obtained, the second router with the maximum capacity is used as the router which is connected with the updated mesh network, all the nodes in the mesh network can be better ensured to stably operate, and the stability of the mesh network is further maintained.
Mode III
And calculating working parameters of the first router according to the working duration of the first router, the maximum working capacity ratio of the first router and the minimum working capacity ratio of the first router, acquiring the working parameters of at least one second router capable of establishing connection in the mesh network when the working parameters of the first router are smaller than or equal to a router threshold value, taking the second router with the maximum working parameters as the router connected after the update of the mesh network, and taking the child node connected with the second router with the maximum working parameters as the root node after the update of the mesh network.
Specifically, the operating time of the first router is represented By x, the maximum operating capacity ratio of the first router is represented By y, the minimum operating capacity ratio of the first router is represented By z, the capacity of the first router is represented By a, the channel selection parameter of the first router is represented By B, the operating frequency of the first router is represented By C, and the operating parameter of the first router is equal to Ax + By + Cz.
The method comprises the steps of comprehensively evaluating the daily working condition of a first router through working parameters of the first router in a preset time period, if the working parameters of the first router are smaller than or equal to a router threshold value, indicating that the daily working condition of the first router is not good, timely obtaining the working parameters of at least one second router which can establish connection with a mesh network, and taking the second router with the largest working parameters as the router which is connected after the mesh network is updated, so that the signal stability of the mesh network can be better ensured, and the stability of the mesh network is further maintained.
Situation four
And switching the channels used between the root node and the router.
And when the data transmission quantity of the root node is larger than the capacity of the channel used between the root node and the router, acquiring the capacity of each spare channel in the root node and the router, and acquiring the spare channel with the maximum capacity as the channel used between the root node and the router after the mesh network is updated.
The method comprises the steps of comprehensively evaluating whether the capacity of a channel used between a root node and a router can meet the data transmission between the root node and the router or not through the data transmission quantity of the root node in a preset time period, if the data transmission quantity of the root node is larger than the capacity of the channel used between the root node and the router, indicating that the capacity of the channel used between the root node and the router cannot meet the data transmission between the root node and the router, timely acquiring the capacity of each standby channel in the root node and the router, and acquiring the standby channel with the largest capacity as the channel used between the root node and the router after the mesh network is updated.
Situation five
And adding the detected network equipment as a new child node into the mesh network.
And when the number of the sub-devices connected with the sub-nodes in the preset time period is greater than the number of times of the preset connection device amount and greater than the fifth preset time, automatically detecting the network devices which are not added into the mesh network in the preset range, and adding the detected network devices into the mesh network as new sub-nodes.
The daily load condition of the sub-nodes is comprehensively evaluated through the number of the sub-devices connected with the sub-nodes in the preset time period, if the number of the sub-devices connected with the sub-nodes in the preset time period is larger than the number of times of the preset connection device amount and is larger than the fifth preset time, the situation that the existing sub-nodes are in overload operation is shown, a new sub-node needs to be added to relieve the communication pressure of the mesh network, the network devices which are not added into the mesh network in the preset range are detected in time, the detected network devices are added into the mesh network as the new sub-nodes, the communication pressure of the mesh network can be relieved, and the stability of the mesh network is further maintained.
In a specific embodiment, before adding the detected network device as a new child node into the mesh network, the method for updating the mesh network further includes: and sending the authentication identification to the detected network equipment, and storing the authentication identification by the detected network equipment.
Specifically, after the detected network device stores the authentication identifier, before the detected network device is added to the mesh network as a new child node, the method for updating the mesh network further includes: sending a verification instruction to a root node of the mesh network, wherein the verification instruction carries an identity verification identifier; and verifying that the identity authentication identification is legal through the root node.
The security of the detected network equipment is ensured by verifying the identity authentication identifier to be legal, and then the detected network equipment is added into the mesh network as a new child node, so that the security of the mesh network is further improved.
To sum up, the method provided by the embodiment of the present application obtains the network operation parameters in the mesh network within the preset time period, and updates the architecture of the mesh network when the network operation parameters meet the update condition. Compared with the prior art, the mesh network is applied according to the characteristics of hardware equipment, and the mesh network can not be kept stable, the method monitors the network operation parameters in the mesh network within the preset time period, updates the architecture of the mesh network when the network operation parameters meet the updating conditions, can monitor the network operation parameters during daily operation of the mesh network, can update the architecture of the mesh network in time when the mesh network is unstable, optimizes the architecture of the mesh network, further maintains the stability of the mesh network, improves the stability of the mesh network, has better stability compared with a mode of determining the architecture of the mesh network only based on the inherent hardware indexes of each equipment, and also avoids the problem that the network is updated only when the nodes of the mesh network fail, and the network stability is greatly influenced.
Based on the same concept, an embodiment of the present application provides an updating apparatus for a mesh network, which is configured in at least one node in the mesh network, and the specific implementation of the apparatus may refer to the description of the method embodiment, and repeated parts are not described again, as shown in fig. 3, the apparatus mainly includes:
an obtaining module 301, configured to obtain a network operation parameter in the mesh network within a preset time period;
a processing module 302, configured to update the architecture of the mesh network when the network operation parameter meets an update condition.
Based on the same concept, an embodiment of the present application further provides an electronic device, as shown in fig. 4, the electronic device mainly includes: a processor 401, a memory 402 and a communication bus 403, wherein the processor 401 and the memory 402 communicate with each other via the communication bus 403. The memory 402 stores a program executable by the processor 401, and the processor 401 executes the program stored in the memory 402, so as to implement the following steps:
acquiring network operation parameters in a mesh network within a preset time period; and when the network operation parameters meet the updating conditions, updating the architecture of the mesh network.
The communication bus 403 mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus 403 may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 4, but this does not indicate only one bus or one type of bus.
The Memory 402 may include a Random Access Memory (RAM) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. Alternatively, the memory may be at least one memory device located remotely from the aforementioned processor 401.
The Processor 401 may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc., and may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic devices, discrete gates or transistor logic devices, and discrete hardware components.
In yet another embodiment of the present application, there is also provided a computer-readable storage medium having stored therein a computer program, which, when run on a computer, causes the computer to execute the update method of the mesh network described in the above-described embodiment.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wire (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wirelessly (e.g., infrared, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that includes one or more of the available media. The available media may be magnetic media (e.g., floppy disks, hard disks, tapes, etc.), optical media (e.g., DVDs), or semiconductor media (e.g., solid state drives), among others.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The foregoing are merely exemplary embodiments of the present invention, which enable those skilled in the art to understand or practice the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. An updating method of a mesh network is characterized by comprising the following steps:
acquiring network operation parameters in the mesh network within a preset time period;
and when the network operation parameters meet the updating conditions, updating the architecture of the mesh network.
2. The method for updating a mesh network according to claim 1, wherein the network operation parameters comprise at least one of a first network operation parameter of a root node, a second network operation parameter of at least one child node, and a third network operation parameter of a first router to which the root node is connected.
3. The method for updating a mesh network according to claim 2, wherein the first network operation parameter comprises at least a signal strength of the root node;
when the network operation parameter meets the updating condition, updating the architecture of the mesh network, including:
and when the number of times that the signal strength of the root node in the preset time period is lower than a first preset signal strength is larger than a first preset number of times, acquiring the signal strength of each child node, taking the child node with the maximum signal strength as an updated root node, and taking the root node before updating as a child node.
4. The method for updating a mesh network according to claim 2, wherein the second network operation parameter comprises at least signal strength of a child node;
when the network operation parameter meets the updating condition, updating the architecture of the mesh network, including:
and acquiring the times that the signal intensity in the preset time period is lower than a second preset signal intensity and the target sub-nodes which are more than the second preset times, and controlling the target sub-nodes to leave from the mesh network if the number of the target sub-nodes is less than the preset number.
5. The updating method of the mesh network according to claim 2, wherein the third network operation parameter comprises at least one of a signal strength of the first router, a number of nodes in the mesh network, an operating time of the first router, a maximum operating capacity ratio of the first router, and a minimum operating capacity ratio of the first router;
when the network operation parameter meets the updating condition, updating the architecture of the mesh network, including:
when the number of times that the signal intensity of the first router in the preset time period is lower than a third preset signal intensity is larger than a third preset number of times, acquiring the signal intensity of at least one second router which can establish connection with the mesh network, taking the second router with the maximum signal intensity as a router which is connected after the mesh network is updated, and taking the child node connected with the second router with the maximum signal intensity as a root node after the mesh network is updated;
alternatively, the first and second electrodes may be,
when the number of the nodes in the mesh network in the preset time period is greater than the number of times of the capacity of the first router and greater than a fourth preset number of times, acquiring the capacity of at least one second router which can establish connection with the mesh network, taking the second router with the maximum capacity as a router which is connected after the mesh network is updated, and taking the child node connected with the second router with the maximum capacity as a root node after the mesh network is updated;
alternatively, the first and second electrodes may be,
and calculating working parameters of the first router according to the working duration of the first router, the maximum working capacity ratio of the first router and the minimum working capacity ratio of the first router, when the working parameters of the first router are smaller than or equal to a router threshold value, obtaining the working parameters of at least one second router which can establish connection with the mesh network, taking the second router with the maximum working parameters as a router which is connected after the mesh network is updated, and taking the child node connected with the second router with the maximum working parameters as a root node after the mesh network is updated.
6. The method for updating the mesh network according to claim 4, wherein before the controlling the target child node to leave from the mesh network, the method further comprises:
sending a verification instruction to a root node of the mesh network, wherein the verification instruction carries an identity verification identifier;
and verifying that the identity authentication identification is legal through the root node.
7. The method for updating a mesh network according to claim 2, wherein the first network operation parameters at least comprise the data transmission amount of the root node in the preset time period and the capacity of the channel used by the root node;
when the network operation parameter meets the updating condition, updating the architecture of the mesh network, including:
and when the data transmission quantity of the root node is larger than the capacity of the channel used between the root node and the router, acquiring the capacity of each spare channel in the root node and the router, and acquiring the spare channel with the maximum capacity as the channel used between the root node and the router after the mesh network is updated.
8. An update apparatus of a mesh network, comprising:
the acquisition module is used for acquiring network operation parameters in the mesh network within a preset time period;
and the processing module is used for updating the architecture of the mesh network when the network operation parameters meet the updating conditions.
9. An electronic device, comprising: the system comprises a processor, a memory and a communication bus, wherein the processor and the memory are communicated with each other through the communication bus;
the memory for storing a computer program;
the processor, configured to execute the program stored in the memory, and implement the method for updating a mesh network according to any one of claims 1 to 7.
10. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the method for updating a mesh network according to any one of claims 1 to 7.
CN202111082534.XA 2021-09-15 2021-09-15 method, device, equipment and storage medium for updating mesh network Active CN113891354B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111082534.XA CN113891354B (en) 2021-09-15 2021-09-15 method, device, equipment and storage medium for updating mesh network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111082534.XA CN113891354B (en) 2021-09-15 2021-09-15 method, device, equipment and storage medium for updating mesh network

Publications (2)

Publication Number Publication Date
CN113891354A true CN113891354A (en) 2022-01-04
CN113891354B CN113891354B (en) 2022-07-12

Family

ID=79009524

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111082534.XA Active CN113891354B (en) 2021-09-15 2021-09-15 method, device, equipment and storage medium for updating mesh network

Country Status (1)

Country Link
CN (1) CN113891354B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104469891A (en) * 2013-09-23 2015-03-25 中国移动通信集团公司 Method, system and device for selecting donor eNB for relay node
CN106658645A (en) * 2016-12-23 2017-05-10 上海斐讯数据通信技术有限公司 Ad hoc network connection method and system based on wireless signal strength
CN108601057A (en) * 2018-03-07 2018-09-28 青岛海尔科技有限公司 Network data transmission method, equipment and system
CN109640373A (en) * 2019-01-17 2019-04-16 珠海格力电器股份有限公司 A kind of network-building method, device and storage medium applied to Internet of Things
CN111093235A (en) * 2019-11-05 2020-05-01 珠海格力电器股份有限公司 Network switching method, equipment and storage medium
WO2021063059A1 (en) * 2019-09-30 2021-04-08 珠海格力电器股份有限公司 Networking method and apparatus, bluetooth device, and computer-readable medium
CN112752321A (en) * 2019-10-30 2021-05-04 佛山市云米电器科技有限公司 Method, device, equipment and storage medium for switching routes of Mesh network
WO2021136062A1 (en) * 2019-12-31 2021-07-08 杭州萤石软件有限公司 Method for channel switching in wireless mesh network, and wireless device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104469891A (en) * 2013-09-23 2015-03-25 中国移动通信集团公司 Method, system and device for selecting donor eNB for relay node
CN106658645A (en) * 2016-12-23 2017-05-10 上海斐讯数据通信技术有限公司 Ad hoc network connection method and system based on wireless signal strength
CN108601057A (en) * 2018-03-07 2018-09-28 青岛海尔科技有限公司 Network data transmission method, equipment and system
CN109640373A (en) * 2019-01-17 2019-04-16 珠海格力电器股份有限公司 A kind of network-building method, device and storage medium applied to Internet of Things
WO2021063059A1 (en) * 2019-09-30 2021-04-08 珠海格力电器股份有限公司 Networking method and apparatus, bluetooth device, and computer-readable medium
CN112752321A (en) * 2019-10-30 2021-05-04 佛山市云米电器科技有限公司 Method, device, equipment and storage medium for switching routes of Mesh network
CN111093235A (en) * 2019-11-05 2020-05-01 珠海格力电器股份有限公司 Network switching method, equipment and storage medium
WO2021136062A1 (en) * 2019-12-31 2021-07-08 杭州萤石软件有限公司 Method for channel switching in wireless mesh network, and wireless device

Also Published As

Publication number Publication date
CN113891354B (en) 2022-07-12

Similar Documents

Publication Publication Date Title
US8953479B2 (en) System and method for license enforcement for data center monitoring applications
CN113709839A (en) Multi-gateway network switching method, device and system, electronic equipment and storage medium
CN111182659B (en) Mode switching method and mode switching device of Mesh equipment and Mesh equipment
US11356269B1 (en) System and method of detecting end-of-life of internet of things (IoT) device and closing associated block chain
CN109327544B (en) Leader node determination method and device
WO2021109726A1 (en) Bandwidth limitation method, apparatus and system
US11658871B2 (en) Transmission of data from a management entity to a smart electricity meter
EP3197207A1 (en) Method for managing application resources and registered node in m2m
US11088989B2 (en) Semantic validation method and apparatus
CN113891354B (en) method, device, equipment and storage medium for updating mesh network
CN111813507B (en) Method, system, equipment and medium for high availability of virtual machine based on sanlock
CN109600265B (en) Access circuit AC configuration information issuing method, device and server
CN109981462B (en) Message processing method and device
US12009986B2 (en) Proactive inspection technique for improved classification
EP3141015B1 (en) Methods and apparatus to prevent potential conflicts among instances of son functions
CN113993201A (en) Data transmission method, device, equipment and storage medium
CN112954714B (en) MESH network control method and device
US11277776B2 (en) Method for determining eligibility for a handover for a node in a distributed network
CN112087318B (en) Network management method, server, client and system
CN105634810B (en) method and system for accessing universal plug and play device and access device
CN111294855B (en) Flow control method, device, equipment and medium
US20140215040A1 (en) Apparatus and Method for Network Control
CN117376190A (en) Communication fault detection method, device and storage medium
CN113518364A (en) Method, device and equipment for adjusting AP (Access Point) connection relation and readable storage medium
CN117579494A (en) Method, equipment and storage medium for constructing hierarchical network topology of packet transport network

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