Management data processing method based on Mesh ad hoc network product
By electing the main communication device A in the Mesh network, it is responsible for managing data processing, and other devices are converted into slave devices and interacting directly with the main communication device A, the inefficiency of the Mesh network management platform and heartbeat data volume when managing a large number of devices is solved. The big problem significantly reduces management pressure and improves processing efficiency.
Patent Information
- Application Number
- CN202411070110.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-06
- Publication Date
- 2024-12-03
AI Technical Summary
When the Mesh network management platform manages a large number of Mesh devices, the processing efficiency is low and the amount of heartbeat messages is large, resulting in increased management pressure.
By electing the main communication device A in the Mesh network, it is responsible for managing data processing, and other devices are converted into slave devices to directly interact with the main communication device A, reducing the management pressure of the network management platform.
It reduces the interaction pressure between Mesh network management and all Mesh devices, reduces the interaction pressure of heartbeat messages, greatly solves the management pressure of the network management platform, and improves processing efficiency.
Smart Images

Figure CN119071202A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of Mesh products, and in particular to a management data processing method based on Mesh self-organizing network products. Background Art
[0002] Mesh is a multi-node, centerless, self-organizing wireless multi-hop communication network. Any wireless device node in the network can act as a router to send and receive signals, and can dynamically maintain connections and communications with other single or multiple nodes in any way. Wireless Mesh can communicate with other networks to solve communication problems in most areas that are not covered by wired networks. The topology of the Mesh network is not fixed, but changes adaptively based on the channel quality between nodes. The nodes are distributed in a chain, and only two adjacent nodes can communicate directly.
[0003] When managing devices in a Mesh network topology, each Mesh device interacts with the Mesh network management platform wirelessly through a SIM card, and the Mesh network management platform manages a large number of Mesh devices at the same time.
[0004] When a large number of Mesh devices are managed on the Mesh network management platform, the Mesh network management platform establishes a management channel with each Mesh device. The large number of management channels affects the processing efficiency of the Mesh platform.
[0005] After a large number of devices are managed on the Mesh network management platform, the amount of heartbeat message data exchanged between the Mesh devices and the network management platform is large, which increases the processing burden of the Mesh management platform. Summary of the invention
[0006] In view of the technical problems raised by the background technology, the present invention proposes a management data processing method based on Mesh self-organizing network products, aiming to solve the problem of multiple managed devices in Mesh network management and the problem of Mesh network management processing numerous heartbeat messages.
[0007] The present invention provides a management data processing method based on a Mesh ad hoc network product, which specifically comprises the following steps:
[0008] 1) When all Mesh nodes in the Mesh network are started, they communicate with the Mesh network management platform and are registered with the Mesh network management platform to complete the initial management;
[0009] 2) The Mesh network management platform sends instructions to the initially managed device, instructing it to find the main communication device A in the Mesh network;
[0010] 3) If the main communication device A in the Mesh network can be found, the main communication device A will be responsible for the management data processing of other devices and the Mesh network management in the Mesh network. If the main communication device A in the Mesh network cannot be found, the main communication device election will be carried out in the Mesh network.
[0011] Preferably, the method for electing the master communication device A in the Mesh network is as follows:
[0012] Step 1: All Mesh devices in the Mesh network notify their neighbors of their site number and device number. The site number is a 4-byte hexadecimal number, and the device number is a 1-byte hexadecimal number.
[0013] The site number can be configured by the user or generated according to the wireless communication IP address of the Mesh device. The rule for generating the site number from the wireless communication IP address is to convert the four decimal numbers of the wireless communication IP address separated by a decimal point into hexadecimal numbers, and then combine them to form a 4-byte hexadecimal site number;
[0014] If the user does not configure the site number, the site number is directly generated by the IP address. In particular, the initial device number is 0x00;
[0015] Step 2: All Mesh devices receive the site number and device number sent by other adjacent devices. If the device number is 0x00, it is saved in its local neighbor information table. If it is not 0x00, it is forwarded. The neighbor information table is a database form that records neighbor site numbers and device numbers.
[0016] Step 3: All Mesh devices forward their neighbor information tables to adjacent devices, so that all devices in the Mesh network have the site ID and device ID of all network devices.
[0017] Step 4: The Mesh network elects the device with the largest site number as its main communication device A.
[0018] In the above method, after the Mesh network elects the main communication device A, it performs the optimization process of management:
[0019] 1) The main communication device A notifies the Mesh network management of the election completion message;
[0020] 2) The Mesh network management sends a management change message to all managed Mesh devices;
[0021] The change management message carries the site number of the latest main communication device A;
[0022] 3) All other Mesh devices except the main communication device A disconnect from the Mesh network management. The main communication device A sorts the neighbor site numbers in the neighbor information forwarding table in order and assigns a device number;
[0023] 4) The main communication device A notifies the assigned device number to all other Mesh devices and the Mesh network manager;
[0024] 5) When the Mesh network management platform interacts with all other Mesh devices for management data, it uses the main communication device A for interaction.
[0025] In the above process, the communication protocol between the Mesh device and the Mesh network management platform is a management protocol for the repeater network management. After processing, the original Mesh device exchanges management data with the Mesh network management wirelessly, and is transformed into direct communication between the main communication device A and the Mesh network management. Other devices become slave devices of the main communication device A, reducing the management pressure of the Mesh network management on the Mesh network devices.
[0026] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:
[0027] 1. Reduce the communication pressure between the Mesh network management and all Mesh devices.
[0028] 2. Reduced the pressure of heartbeat message interaction between the Mesh platform and Mesh devices.
[0029] Through the repeater management protocol, all devices in the original Mesh network can communicate and manage directly with the Mesh network manager, and the management is changed to rely on the main communication device A. Other Mesh devices are transformed into slave devices of the main communication device A, which greatly reduces the management pressure of the Mesh network manager. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0031] Figure 1 This is the main flow chart of the management of network products and Mesh network management platform provided in Example 1 of the present application;
[0032] Figure 2 This is a flow chart of a method for electing a master communication device A in a Mesh network provided in Example 2 of the present application;
[0033] Figure 3This is an optimization processing flow chart for managing the Mesh network after the main communication device A is elected, as provided in Example 3 of the present application.
[0034] Figure 4 This is a network networking diagram of the Mesh network provided in Example 4 of the present application, in which the main communication device A is elected and managed. DETAILED DESCRIPTION
[0035] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.
[0036] Example 1
[0037] like Figure 1 As shown, this embodiment is applicable to the main process of managing the Mesh network device after it is started and then being managed by the Mesh network management platform, and electing the main communication device A to interact with the Mesh network management platform. Figure 1 The method includes: starting a Mesh device in the Mesh network.
[0038] Specifically, the startup of the Mesh device is the initial startup of the Mesh device that has not been managed by the Mesh network management. After the Mesh device is started, it registers with the Mesh network management platform to complete the initial management.
[0039] Specifically, the management is the first time that the device communicates with the Mesh network management using its own wireless communication IP address, registers with the Mesh network management, and accesses the Mesh network management platform.
[0040] The Mesh network manager sends instructions to the initially managed Mesh devices to find the main communication device A.
[0041] Among them, the main communication device A is the Mesh device that mainly communicates with the Mesh network manager in the Mesh network. Before the main communication device A is elected in the Mesh network, each Mesh device communicates with the Mesh network manager using its own wireless communication IP address.
[0042] If the main communication device A is found, the main communication device A is responsible for the management data processing of other devices in the Mesh network and the Mesh network management.
[0043] Specifically, the main communication device A is responsible for the communication device for all Mesh devices in the Mesh network (after being initially managed by the Mesh network management) to interact with the Mesh network management platform for management data. The Mesh network management interacts with other Mesh devices through the main communication device A.
[0044] If the primary communication device A is not found
[0045] If the Mesh network management has the information of the main communication device A, the Mesh device temporarily uses its own wireless communication IP address to communicate with the Mesh network management platform and starts the timer to search for the main communication device A.
[0046] If the Mesh network management platform does not have the information of the main communication device A, the Mesh network will elect the main communication device. After the election is completed, the main communication device A notifies the Mesh network management of the completion of the election. The main communication device A is then responsible for the management data processing of other devices in the Mesh network and the Mesh network management.
[0047] Among them, after the election of the main communication device is notified to the Mesh network management platform, the Mesh network management platform records the information of the main communication device A, so that the Mesh network management platform can query whether the information of the main communication device A exists in the subsequent period.
[0048] Embodiment 2
[0049] like Figure 2 As shown, the specific introduction of the election process of the main communication device A, the method includes:
[0050] 1. All Mesh devices in the Mesh network announce their site ID and device ID to their neighbors.
[0051] Among them, the site number is a hexadecimal number with a length of 4 bytes, and the device number is a hexadecimal number with a length of 1 byte. Specifically, the site number can be configured by the user himself, or it can be generated according to the wireless communication IP address of the Mesh device. The rule for generating the site number from the wireless communication IP address is to convert the four decimal numbers separated by a decimal point of the wireless communication IP address into hexadecimal numbers, and then combine them to form a 4-byte hexadecimal site number. If the user does not configure the site number, the site number is directly generated by the IP address. Furthermore, the initial device number is 0x00.
[0052] 2. All Mesh devices receive the site number and device number sent by other adjacent devices.
[0053] Specifically, if the device number is 0x00, it is saved in its local neighbor information table; if it is not 0x00, it is forwarded.
[0054] The neighbor information table is a database form that records neighbor site numbers and device numbers.
[0055] 3. All Mesh devices forward their neighbor information tables to adjacent devices.
[0056] Specifically, after the Mesh device announces the neighbor information table, all devices in the Mesh network have the site number and device number of all network devices.
[0057] 4. The Mesh network elects the device with the largest site number as its main communication device A.
[0058] Among them, the device with the largest site number is the device with the largest Mesh device site number value in the Mesh network.
[0059] Embodiment 3
[0060] After the election of the main communication device A, the management process of other Mesh devices is introduced. This method includes:
[0061] The primary communication device A notifies the Mesh network management system of the election completion message.
[0062] Specifically, after this stage is completed, it indicates that when the Mesh network interacts with the Mesh network manager for management data, the main communication device A can act as an agent for other Mesh devices to interact with the Mesh network manager for management data.
[0063] The Mesh network management sends a management change message to all managed Mesh devices.
[0064] Specifically, after the Mesh network manager sends a management change message to all managed Mesh devices, all Mesh devices will prepare to interact with the Mesh network manager as the main communication device A in the future.
[0065] All Mesh devices except the main communication device A disconnect from the Mesh network management. The main communication device A sorts the neighbor site numbers in the neighbor information forwarding table in order and assigns the device number.
[0066] Specifically, the master communication device A allocates device numbers in the range of 0x01 to 0xFE in sequence.
[0067] Specifically, assign device numbers to other Mesh devices, and change the site numbers of other Mesh devices 0x00 to non-0x00 site numbers, which essentially converts other Mesh devices into slave devices of the main communication device A.
[0068] The main communication device A notifies the assigned device number to all other Mesh devices.
[0069] Specifically, after the main communication device A notifies all other Mesh devices of the allocated device number, other devices no longer use their own site numbers to interact with the Mesh network management in the subsequent process.
[0070] When the Mesh network manager interacts with all other Mesh devices for management data, it uses the main communication device A for interaction.
[0071] Specifically, when all other Mesh devices interact with management data, they first pass the management data to the main communication device A, and then the main communication device converts it into its own site number + the device number assigned to the device to interact with the network management.
[0072] Specifically, when other devices interact with the Mesh network manager through the main communication device A, the way in which all Mesh network devices establish interactive communication with the Mesh network manager is changed to only establish interactive communication with the main communication device A, and the heartbeat message interaction between the Mesh network manager and other Mesh devices is reduced, which greatly reduces the management burden of the Mesh network manager.
[0073] Embodiment 4
[0074] like Figure 4 As shown, the network networking after the successful management of the above embodiment is demonstrated, wherein Mesh device A is a device selected from all Mesh devices in the Mesh network to communicate management messages with the Mesh network manager.
[0075] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0076] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A management data processing method based on Mesh self-organizing network products, characterized in that: The specific steps include: 1) When all Mesh nodes in the Mesh network are started, they communicate with the Mesh network management platform and are registered with the Mesh network management platform to complete the initial management; 2) The Mesh network management platform sends instructions to the initially managed device, instructing it to find the main communication device A in the Mesh network; 3) If the main communication device A in the Mesh network can be found, the main communication device A will be responsible for the management data processing of other devices in the Mesh network and the Mesh network management; If the main communication device A in the Mesh network cannot be found, an election of the main communication device is performed in the Mesh network.
2. A management data processing method based on Mesh ad hoc network products according to claim 1, characterized in that: Method for electing the main communication device A in the Mesh network: Step 1: All Mesh devices in the Mesh network notify their neighbors of their site number and device number. The site number is a 4-byte hexadecimal number, and the device number is a 1-byte hexadecimal number. The site number can be configured by the user or generated according to the wireless communication IP address of the Mesh device. The rule for generating the site number from the wireless communication IP address is to convert the four decimal numbers of the wireless communication IP address separated by a decimal point into hexadecimal numbers, and then combine them to form a 4-byte hexadecimal site number; If the user does not configure the site number, the site number is directly generated by the IP address, where the initial device number is 0x00; Step 2: All Mesh devices receive the site number and device number sent by other adjacent devices. If the device number is 0x00, it is saved in its local neighbor information table. If it is not 0x00, it is forwarded. The neighbor information table is a database form that records neighbor site numbers and device numbers. Step 3: All Mesh devices forward their neighbor information tables to adjacent devices, so that all devices in the Mesh network have the site ID and device ID of all network devices; Step 4: The Mesh network elects the device with the largest site number as its main communication device A.
3. A management data processing method based on Mesh ad hoc network products according to claim 1, characterized in that: After the Mesh network elects the main communication device A, it performs the following optimization processing: 1) The main communication device A notifies the Mesh network management of the election completion message; 2) The Mesh network management sends a management change message to all managed Mesh devices; The change management message carries the site number of the latest main communication device A; 3) All other Mesh devices except the main communication device A disconnect from the Mesh network management. The main communication device A sorts the neighbor site numbers in the neighbor information forwarding table in order and assigns a device number; 4) The main communication device A notifies the assigned device number to all other Mesh devices and the Mesh network manager; 5) When the Mesh network management platform interacts with all other Mesh devices for management data, it uses the main communication device A for interaction.
4. A management data processing method based on Mesh ad hoc network products according to claim 3, characterized in that: In the above process, the communication protocol between the Mesh device and the Mesh network management platform is a management protocol for the repeater network management. After processing, the original Mesh device exchanges management data with the Mesh network management wirelessly, and is transformed into direct communication between the main communication device A and the Mesh network management. Other devices become slave devices of the main communication device A, reducing the management pressure of the Mesh network management on the Mesh network devices.
Citation Information
Cited By
Inter-satellite nano-management method based on centerless competitive judgment
CN120729403A
Inter-satellite nanometer tube method based on centerless competition arbitration
CN120729403B
