Method for improving utilization rate of mesh network nodes, electronic device and storage medium

By improving the AODV algorithm, multiple transmission paths are established and the best path is selected to transmit data according to needs, which solves the problem of low node utilization in mesh networks and achieves more efficient utilization of network resources.

CN118555236APending Publication Date: 2024-08-27NANNING FUGUI PRECISION IND CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310165475.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-02-24
Publication Date
2024-08-27

AI Technical Summary

Technical Problem

In a mesh network, the AODV algorithm causes certain routing nodes to become bottlenecks, and nodes on non-optimal paths are used inefficiently.

Method used

The improved AODV algorithm establishes multiple transmission paths, detects and classifies path delay values ​​and data transmission rates, selects the best path to transmit data based on preset conditions, and retains the second-best transmission path to improve node utilization.

Benefits of technology

It improves the utilization rate of mesh network nodes, avoids bottlenecks, and improves the overall efficiency of the network.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118555236A
    Figure CN118555236A
Patent Text Reader

Abstract

A method for improving the utilization rate of mesh network nodes comprises the following steps: when a client enters the range of a mesh network, establishing an initial transmission path from the client to a target router; judging whether other transmission paths from the client to the target router can be established or not; if other transmission paths from the client to the target router can be established, establishing at least two transmission paths from the client to the target router; detecting delay values (Latency) and data transmission rates (Data Rate) of the initial transmission path and the two newly established transmission paths, and classifying the three transmission paths into a first transmission path, a second transmission path and a third transmission path according to a detection result; and transmitting a packet to be transmitted through the first transmission path, the second transmission path or the third transmission path according to a preset condition.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a method for improving network node management, and in particular to a method, an electronic device and a storage medium for improving the utilization rate of mesh network nodes. Background Art

[0002] In a mesh network, once the best connection path is determined by the Ad Hoc On-demand Distance Vector Routing Protocol (AODV) algorithm, the best connection path will continue to be used for data transmission unless the connection quality changes.

[0003] However, the AODV algorithm has the following disadvantages, including: some routing nodes may become bottlenecks (Bottle-Neck), and the utilization efficiency of nodes on non-optimal paths is low. Summary of the invention

[0004] In view of the above, it is necessary to provide a method, an electronic device and a storage medium for improving the utilization rate of mesh network nodes, improve the existing AODV algorithm, and improve the utilization rate of network nodes.

[0005] An embodiment of the present invention provides a method for improving the utilization rate of mesh network nodes, which is applied to an electronic device, and is characterized in that the method includes: when a client enters the range of the mesh network, establishing an initial transmission path from the client to a target router; determining whether other transmission paths from the client to the target router can be established; if other transmission paths from the client to the target router can be established, establishing at least two transmission paths from the client to the target router; detecting the latency and data transmission rate of the initial transmission path and the two newly established transmission paths, and classifying the three transmission paths into a first transmission path, a second transmission path and a third transmission path according to the detection results; and transmitting a packet to be transmitted through the first transmission path, the second transmission path or the third transmission path according to a preset condition.

[0006] An embodiment of the present invention further provides an electronic device, including a path establishment module, a detection and path classification module, and a packet transmission module.

[0007] The path establishment module is used to establish an initial transmission path from the client to the target router when the client enters the range of the mesh network, determine whether other transmission paths from the client to the target router can be established, and if other transmission paths from the client to the target router can be established, then establish at least two transmission paths from the client to the target router;

[0008] The detection and path classification module is used to detect the delay values ​​and data transmission rates of the initial transmission path and the two newly established transmission paths, and classify the three transmission paths into a first transmission path, a second transmission path and a third transmission path according to the detection results; and

[0009] The packet transmission module is used for transmitting the packet to be transmitted through the first transmission path, the second transmission path or the third transmission path according to a preset condition.

[0010] An embodiment of the present invention further provides a storage medium having a computer program stored thereon. When the computer program is executed, the steps of the method for improving the utilization rate of mesh network nodes as described above are implemented.

[0011] The method, electronic device and storage medium for improving the utilization rate of mesh network nodes according to the embodiments of the present invention improve the existing AODV algorithm, retain the suboptimal transmission path, and improve the node utilization rate. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] Figure 1 It is a schematic diagram of the application of the method for improving the utilization rate of mesh network nodes according to an embodiment of the present invention.

[0013] Figure 2 It is a flowchart of the steps of a method for improving the utilization rate of mesh network nodes according to an embodiment of the present invention.

[0014] Figure 3 Schematic diagram of the hardware architecture of the electronic device according to an embodiment of the present invention.

[0015] Figure 4 is a functional block diagram of an electronic device according to an embodiment of the present invention.

[0016] Main component symbols

[0017]

[0018]

[0019] The following specific implementation manner will further illustrate the present invention in conjunction with the above-mentioned drawings. DETAILED DESCRIPTION

[0020] In order to more clearly understand the above-mentioned purpose, features and advantages of the present invention, the present invention is described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that the embodiments of the present application and the features in the embodiments can be combined with each other without conflict.

[0021] In the following description, many specific details are set forth to facilitate a full understanding of the present invention. The embodiments described are only a part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0022] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used in the specification of the present invention herein are only for the purpose of describing specific embodiments and are not intended to limit the present invention.

[0023] It should be noted that the descriptions of "first", "second", etc. in the present invention are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by the present invention.

[0024] The method for improving the utilization rate of mesh network nodes according to the embodiment of the present invention has the following characteristics:

[0025] (1) Improve the existing AODV algorithm and retain the suboptimal transmission path;

[0026] (2) Expand the "Hello-World Message" of the AODV algorithm to include the node load;

[0027] (3) Modify the routing table of each IoT node to record the neighboring nodes of the best and second-best transmission paths;

[0028] (4) Update the node load and the nodes connected to the neighboring nodes at regular intervals to improve the best and suboptimal transmission paths; and

[0029] (5) Before transmitting data, determine whether the data type is a time boundary or a bandwidth boundary. If it is a time boundary, use the best path for transmission; otherwise, use the suboptimal path for transmission.

[0030] Figure 1 It is a schematic diagram of the application of the method for improving the utilization rate of mesh network nodes according to an embodiment of the present invention.

[0031] like Figure 1 As shown, the mesh network of the embodiment of the present invention includes a client 110, a destination router 120 and a plurality of router nodes 1-6. Nodes 1 and 2 are active nodes, and nodes 3-6 are inactive nodes, i.e., idle nodes.

[0032] When the amount of data is large, packets that are susceptible to delay (e.g., voice packets, Packet_1) are transmitted via the best path, and the transmission path is "client 110→node 1→node 2→destination router 120". In addition, packets that are not susceptible to delay (e.g., text packets, Packet_2) are transmitted via the second-best path, and the transmission path is "client 110→node 3→node 4→destination router 120".

[0033] Figure 2 The method of improving the utilization rate of mesh network nodes according to an embodiment of the present invention is applied to an electronic device, which is a mobile device as a client. According to different requirements, the order of the steps in the flowchart can be changed, and some steps can be omitted.

[0034] Step S101, when a client enters the range of the mesh network, the client establishes an initial transmission path connected to a target router.

[0035] Step S102, the client determines whether other transmission paths connected to the target router can be established.

[0036] In step S103, if other transmission paths from the client to the target router cannot be established, the client transmits the packet to be transmitted to the target router via the initial transmission path.

[0037] Step S104, if other transmission paths connected to the target router can be established, the client establishes multiple transmission paths connected to the target router, including at least two transmission paths. At this time, the transmission path from the client to the target router includes the initial transmission path and the two newly established transmission paths.

[0038] In step S105, the client detects the latency and data rate of the initial transmission path and the two newly established transmission paths, and classifies the three transmission paths into a first transmission path, a second transmission path, and a third transmission path according to the detection results. The first transmission path is a transmission path with the lowest latency and a high received signal strength indicator (RSSI) value, the second transmission path is a transmission path without the lowest latency and high RSSI value but with a high bandwidth value, and the third transmission path is a transmission path without the lowest latency and high RSSI value and without a high bandwidth value.

[0039] The routing nodes in each of the first transmission path, the second transmission path, and the third transmission path periodically broadcast Hello-World Message to other adjacent routing nodes, and the Hello-World Message includes a delay value and a bandwidth value and RSSI value of a source node. Therefore, when the broadcast is completed, all routing nodes have the delay value, bandwidth value, and RSSI value of adjacent routing nodes, and classify the transmission paths according to the obtained delay value, bandwidth value, and RSSI value.

[0040] It should be noted that in the embodiment of the present invention, each transmission path can also be classified according to the actual demand for transmitting packets, for example:

[0041] (1) having the lowest delay value (≦ the first preset delay value) and a high RSSI value, and not having the lowest delay value (> the first preset delay value) and a high RSSI value but having a high bandwidth value;

[0042] (2) having a required low delay value (≦the second preset delay value) and a high RSSI value, and not having a low delay value (>the second preset delay value) and a high RSSI value but having a high bandwidth value; and

[0043] (3) Having a minimum delay value (≦the first preset delay value) and a high RSSI value, having a low delay value (≦the second preset delay value and >the first preset delay value) and a high RSSI value but having a high bandwidth value, and not having a low delay value (>the second preset delay value) and a high RSSI value but having a high bandwidth value, wherein the first preset delay value is <the second preset delay value.

[0044] The above different types of transmission paths are only examples and can be provided differently according to user requirements and system requirements, which are not intended to limit the present invention.

[0045] In step S106 , the client determines whether the packet to be transmitted requires a transmission path with a minimum delay value and a high RSSI value.

[0046] In step S107 , if the packet to be transmitted requires a transmission path with a minimum delay value and a high RSSI value, the packet to be transmitted is transmitted through the first transmission path.

[0047] In step S108, if the packet to be transmitted does not require the transmission path with the lowest delay value and the highest RSSI value, the load utilization rates of the second transmission path and the third transmission path are determined.

[0048] Step S109 , if the load usage rate of the second transmission path has not reached the upper limit, transmitting the packet to be transmitted through the second transmission path.

[0049] In step S110 , if the load utilization rate of the second transmission path has reached an upper limit, the packet to be transmitted is transmitted through the third transmission path.

[0050] Figure 3 2 is a schematic diagram of the hardware architecture of an electronic device according to an embodiment of the present invention. The electronic device 200, for example, a mobile device as a client, but not limited to, can communicate with each other through a system bus to connect a processor 210, a memory 220, and a system 230 for improving the utilization rate of mesh network nodes. Figure 3 The electronic device 200 is shown only with components 210 - 230 , but it is understood that implementing all of the components shown is not a requirement, and more or fewer components may alternatively be implemented.

[0051] The memory 220 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, the memory 220 can be an internal storage unit of the electronic device 200, such as a hard disk or memory of the electronic device 200. In other embodiments, the memory can also be an external storage device of the electronic device 200, such as a plug-in hard disk equipped on the electronic device 200, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. Of course, the memory 220 can also include both the internal storage unit of the electronic device 200 and its external storage device. In this embodiment, the memory 220 is generally used to store the operating system and various application software installed in the electronic device 200, such as the program code of the system 230 for improving the utilization rate of mesh network nodes. In addition, the memory 220 can also be used to temporarily store various data that have been output or will be output.

[0052] The processor 210 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chips in some embodiments. The processor 210 is generally used to control the overall operation of the electronic device 200. In this embodiment, the processor 210 is used to run the program code stored in the memory 220 or process data, for example, to run the system 230 for improving the utilization rate of mesh network nodes.

[0053] It should be noted that Figure 3 The electronic device 200 is merely illustrated as an example. In other embodiments, the electronic device 200 may also include more or fewer components, or have a different component configuration.

[0054] If the module / unit integrated in the electronic device 200 is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of the above-mentioned various method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device that can carry the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory, random access memory, electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.

[0055] Figure 4 2 is a functional block diagram of an electronic device according to an embodiment of the present invention, which is used to execute the method for improving the utilization rate of mesh network nodes. The method for improving the utilization rate of mesh network nodes according to the embodiment of the present invention can be implemented by a computer program in a storage medium, for example, the memory 220 in the electronic device 200. When the computer program implementing the method of the present invention is loaded into the memory 220 by the processor 210, the processor 210 of the electronic device 200 is driven to execute the method for improving the utilization rate of mesh network nodes according to the embodiment of the present invention.

[0056] The electronic device 200 of the embodiment of the present invention includes a path establishing module 310 , a packet transmitting module 320 , and a detection and path classification module 330 .

[0057] When the client enters the range of the mesh network, the path establishment module 310 establishes an initial transmission path from the client to the target router, and determines whether other transmission paths from the client to the target router can be established.

[0058] If other transmission paths from the client to the target router cannot be established, the packet transmission module 320 transmits the packet to be transmitted to the target router via the initial transmission path.

[0059] If other transmission paths from the client to the target router can be established, the path establishment module 310 establishes multiple transmission paths from the client to the target router, including at least the second transmission path and the third transmission path. At this time, the transmission path from the client to the target router includes the initial transmission path and the two newly established transmission paths.

[0060] The detection and path classification module 330 detects the latency and data rate of the initial transmission path and the two newly established transmission paths, and classifies the three transmission paths into a first transmission path, a second transmission path, and a third transmission path according to the detection result. The first transmission path is a transmission path with the lowest latency and a high RSSI value, the second transmission path is a transmission path without the lowest latency and high RSSI value but with a high bandwidth value, and the third transmission path is a transmission path without the lowest latency and high RSSI value and without a high bandwidth value.

[0061] The routing nodes in each of the first transmission path, the second transmission path, and the third transmission path periodically broadcast Hello-World Message to other adjacent routing nodes, and the Hello-World Message includes a delay value and a bandwidth value and RSSI value of a source node. Therefore, when the broadcast is completed, all routing nodes have the delay value, bandwidth value, and RSSI value of adjacent routing nodes, and classify the transmission paths according to the obtained delay value, bandwidth value, and RSSI value.

[0062] It should be noted that in the embodiment of the present invention, each transmission path can also be classified according to the actual demand for transmitting packets, for example:

[0063] (1) having the lowest delay value (≦ the first preset delay value) and a high RSSI value, and not having the lowest delay value (> the first preset delay value) and a high RSSI value but having a high bandwidth value;

[0064] (2) having a required low delay value (≦the second preset delay value) and a high RSSI value, and not having a low delay value (>the second preset delay value) and a high RSSI value but having a high bandwidth value; and

[0065] (3) Having a minimum delay value (≦the first preset delay value) and a high RSSI value, having a low delay value (≦the second preset delay value and >the first preset delay value) and a high RSSI value but having a high bandwidth value, and not having a low delay value (>the second preset delay value) and a high RSSI value but having a high bandwidth value, wherein the first preset delay value is <the second preset delay value.

[0066] The above different types of transmission paths are only examples and can be provided differently according to user requirements and system requirements, which are not intended to limit the present invention.

[0067] The packet transmission module 320 determines whether the packet to be transmitted requires a transmission path with a minimum delay value and a high RSSI value.

[0068] If the packet to be transmitted requires a transmission path with a minimum delay value and a high RSSI value, the packet transmission module 320 transmits the packet to be transmitted through the first transmission path.

[0069] If the packet to be transmitted does not require the transmission path with the lowest delay value and the highest RSSI value, the packet transmission module 320 determines the load utilization rates of the second transmission path and the third transmission path.

[0070] If the load usage rate of the second transmission path does not reach the upper limit, the packet transmission module 320 transmits the packet to be transmitted through the second transmission path.

[0071] If the load usage rate of the second transmission path has reached the upper limit, the packet transmission module 320 transmits the packet to be transmitted through the third transmission path.

[0072] It is understandable that the module division described above is only a logical function division, and there may be other division methods in actual implementation. In addition, the functional modules in each embodiment of the present application may be integrated in the same processing unit, or each module may exist physically separately, or two or more modules may be integrated in the same unit. The above-mentioned integrated modules may be implemented in the form of hardware or in the form of hardware plus software functional modules.

[0073] For ordinary technicians in this field, other corresponding changes or adjustments can be made according to actual needs generated by combining the technical solutions and technical concepts provided by the embodiments of the present invention, and these changes and adjustments should all fall within the scope of protection of the claims of the present invention.

Claims

1. A method for improving the utilization rate of mesh network nodes, applied to an electronic device, characterized in that: The method comprises: When a client enters the range of the mesh network, an initial transmission path from the client to the target router is established; Determine whether other transmission paths from the client to the target router can be established; If other transmission paths from the client to the target router can be established, then at least two transmission paths from the client to the target router are established; Detecting the delay values ​​(Latency) and data transmission rates (Data Rate) of the initial transmission path and the two newly established transmission paths, and classifying the three transmission paths into a first transmission path, a second transmission path, and a third transmission path according to the detection results; and The packet to be transmitted is transmitted through the first transmission path, the second transmission path or the third transmission path according to a preset condition.

2. The method for improving the utilization rate of mesh network nodes according to claim 1, characterized in that: The first transmission path is a transmission path having a minimum delay value and a high received signal strength indicator (RSSI) value, the second transmission path is a transmission path not having a minimum delay value and a high RSSI value but having a high bandwidth value, and the third transmission path is a transmission path not having a minimum delay value and a high RSSI value and not having a high bandwidth value.

3. The method for improving the utilization rate of mesh network nodes as claimed in claim 2, characterized in that: Also includes: Determine whether the packet to be transmitted requires a transmission path with a minimum delay value and a high RSSI value; If the packet to be transmitted requires a transmission path with the lowest delay value and the highest RSSI value, transmitting the packet to be transmitted through the first transmission path; If the packet to be transmitted does not require a transmission path with a minimum delay value and a high RSSI value, determining the load utilization rates of the second transmission path and the third transmission path; If the load utilization rate of the second transmission path does not reach the upper limit, transmitting the packet to be transmitted through the second transmission path; and If the load utilization rate of the second transmission path has reached an upper limit, the packet to be transmitted is transmitted through the third transmission path.

4. The method for improving the utilization rate of mesh network nodes as claimed in claim 2, characterized in that: Also includes: Each routing node in the first transmission path, the second transmission path and the third transmission path periodically broadcasts a Hello-World Message to adjacent routing nodes, wherein the Hello-World Message includes a delay value and a bandwidth value and an RSSI value of a source node.

5. The method for improving the utilization rate of mesh network nodes as claimed in claim 1, characterized in that: Also includes: If other transmission paths from the client to the target router cannot be established, the packet to be transmitted is transmitted to the target router via the initial transmission path.

6. An electronic device, characterized in that: include: A path establishment module, used for establishing an initial transmission path from the client to the target router when the client enters the range of the mesh network, determining whether other transmission paths from the client to the target router can be established, and if other transmission paths from the client to the target router can be established, establishing at least two transmission paths from the client to the target router; a detection and path classification module, used for detecting the delay values ​​and data transmission rates of the initial transmission path and the two newly established transmission paths, and classifying the three transmission paths into a first transmission path, a second transmission path and a third transmission path according to the detection results; and The packet transmission module is used for transmitting the packet to be transmitted through the first transmission path, the second transmission path or the third transmission path according to a preset condition.

7. The electronic device according to claim 6, wherein: The first transmission path is a transmission path having a minimum delay value and a high received signal strength indicator (RSSI) value, the second transmission path is a transmission path not having a minimum delay value and a high RSSI value but having a high bandwidth value, and the third transmission path is a transmission path not having a minimum delay value and a high RSSI value and not having a high bandwidth value.

8. The electronic device as claimed in claim 7, characterized in that: The packet transmission module determines whether the packet to be transmitted requires a transmission path with a minimum delay value and a high RSSI value. If the packet to be transmitted requires a transmission path with a minimum delay value and a high RSSI value, the packet to be transmitted is transmitted through the first transmission path. If the packet to be transmitted does not require a transmission path with a minimum delay value and a high RSSI value, the load utilization rate of the second transmission path and the third transmission path is determined. If the load utilization rate of the second transmission path has not reached an upper limit, the packet to be transmitted is transmitted through the second transmission path. If the load utilization rate of the second transmission path has reached an upper limit, the packet to be transmitted is transmitted through the third transmission path.

9. The electronic device as claimed in claim 7, characterized in that: Each routing node in the first transmission path, the second transmission path and the third transmission path periodically broadcasts a Hello-World Message to adjacent routing nodes, wherein the Hello-World Message includes a delay value and a bandwidth value and an RSSI value of a source node.

10. A storage medium having at least one computer instruction stored thereon, characterized in that: The instructions are loaded by the processor and executed by the method for improving the utilization rate of mesh network nodes as described in any one of claims 1-5.