Heterogeneous link integrated wireless ad hoc network method and system
By constructing a shared information pool and a global network topology, selecting and switching the best path in the heterogeneous link network solves the problem of decline and stability of network performance in existing technologies, and achieves more efficient resource utilization and more stable stability Communication.
Patent Information
- Application Number
- CN202411478142.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-22
- Publication Date
- 2025-01-24
AI Technical Summary
The prior art is difficult to effectively manage and switch the optimal paths in heterogeneous link networks, resulting in degraded network performance and low stability.
By using SNMP to collect the status information of network devices, build a shared information pool and global network topology, generate multiple network paths, and select the best link according to the total delay and bandwidth waste, continue to monitor communication capabilities and switch the backup path.
It improves the utilization of network resources, enhances the stability and reliability of the network, and ensures the maintenance of communication quality.
Smart Images

Figure CN119364465A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of wireless ad hoc networks with heterogeneous links, and in particular to a wireless ad hoc network method and system with integrated heterogeneous links. Background Art
[0002] With the continuous development of wireless communication technology, various types of wireless devices, such as Wi-Fi, Bluetooth, ZigBee, etc., have gradually become popular. In practical applications, these devices often need to be interconnected through wireless ad hoc networks. However, due to the differences between different wireless communication technologies, how to achieve integrated management of heterogeneous links has become an urgent problem to be solved.
[0003] Traditional wireless ad hoc networking methods are mainly aimed at homogeneous networks, that is, all nodes use the same wireless communication technology. When facing heterogeneous networks, this method often cannot effectively handle the conversion and interoperability issues between different communication protocols, resulting in network performance degradation or even failure to work properly. More importantly, in a conventional heterogeneous link environment, when encountering path performance degradation or failure, it is often impossible to efficiently switch to an alternative path, which seriously affects the efficiency and stability of the network. It can be seen that the existing technology still needs to be improved and improved. It can be seen that the existing technology still needs to be improved and improved. Summary of the invention
[0004] In view of the above-mentioned deficiencies in the prior art, an object of the present invention is to provide a wireless ad hoc network method and system with integrated heterogeneous links, so as to solve the problems of low efficiency and stability of heterogeneous link networks in the prior art.
[0005] In order to achieve the above-mentioned purpose, the present invention adopts the following technical scheme: a wireless ad hoc network method with integrated heterogeneous links, comprising the following steps: S1. Using SNMP to collect the status information of network devices, and to sense each network node, to obtain the location information and environmental information of the network node, to build a shared information pool and a global network topology based on the location information and environmental information of each network node, and to extract decision parameters from the shared information pool to generate the connection relationship between nodes; S2. Based on the connection relationship between nodes, multiple network paths are generated, and the network paths with the maximum bandwidth that meets the bandwidth required by the current transmission task are collected as the path set to be selected; S3. Based on the topology information in the global network topology and the target The number of hops in each path in the path set to be selected is obtained by using the IP address of the target, and the total delay of each network path in the path set to be selected is calculated according to the relationship between the number of hops and the delay of each hop in each path; S4. When a network path with the smallest total delay appears, the network path is selected as the best link, otherwise, based on the degree of correlation between environmental information and the transmission task, the only network path with the highest degree of correlation is selected from multiple network paths as the best link; S5. The communication capability of the best link is continuously monitored to ensure that its performance remains within a preset range. When any parameter of the available bandwidth or total delay in the best link degrades beyond the preset range or fails, the best link is re-determined.
[0006] In one embodiment of the present invention, in step S2, the maximum bandwidth of each network path and the required bandwidth of the current task are obtained, the bandwidth margin of each network path is calculated according to the maximum bandwidth and the required bandwidth, and each network path is prioritized according to the bandwidth margin, thereby generating a set of paths to be selected.
[0007] The beneficial effect of the above embodiment is that the bandwidth margin of each network path is calculated according to the maximum bandwidth and the required bandwidth, and each network path is prioritized according to the bandwidth margin, which can more accurately evaluate the capacity of the network path and improve the utilization rate of network resources.
[0008] In one embodiment of the present invention, the continuous monitoring of the communication capability of the optimal link in step S5 also includes sending a detection data packet to the target server and receiving its return message; calculating the packet loss rate of each network path based on the return message; when the packet loss rate is greater than a set threshold, selecting multiple backup paths from the set of paths to be selected, and prompting the real-time packet loss rate of each backup path.
[0009] The beneficial effects of the above embodiment are: calculating the packet loss rate of each network path based on the return message; prompting the real-time packet loss rate of each backup path when the packet loss rate is greater than the set threshold, being able to detect network failures in time and provide decision-making data, thereby improving the stability and reliability of the network.
[0010] In one embodiment of the present invention, in step S1, a protocol stack architecture supporting multiple communication protocols is designed, and a unified communication protocol stack is established between network nodes by utilizing conversion and interoperability between different communication protocols.
[0011] The beneficial effects of the above embodiments are: designing a protocol stack architecture that supports multiple communication protocols, realizing a modular design of the protocol stack, facilitating the expansion and updating of the protocol, and improving the flexibility and compatibility of the system.
[0012] In one embodiment of the present invention, step S6 is further included, wherein a distributed control mechanism is adopted to establish a distributed control node, and distributed management and decision-making of network resources are utilized to timely discover and repair network failures.
[0013] The beneficial effects of the above embodiments are: utilizing the distributed management and decision-making of network resources to timely discover and repair network failures, thereby improving the fault tolerance and scalability of the network.
[0014] In order to achieve the above-mentioned purpose, the present invention also adopts the following technical scheme: a wireless ad hoc network system with integrated heterogeneous links, including a communication module, which is used to collect the status information of network devices using SNMP, and to sense each network node, obtain the location information and environmental information of the network node, and build a shared information pool and a global network topology based on the location information and environmental information of each network node, and extract decision parameters from the shared information pool to generate the connection relationship between nodes; a path set collection module, which is used to generate multiple network paths according to the connection relationship between nodes, and collect the network paths with the maximum bandwidth that meets the bandwidth required by the current transmission task as the path set to be selected; a total delay calculation module, which is used to calculate the total delay based on the topology information in the global network topology and The target IP address obtains the number of hops in each path in the path set to be selected, and calculates the total delay of each network path in the path set to be selected according to the relationship between the number of hops and the per-hop delay in each path; the best link module is used to select the network path as the best link when the network path with the smallest total delay appears, otherwise based on the degree of correlation between environmental information and the transmission task, the only network path with the highest correlation degree is selected from multiple network paths as the best link; the communication monitoring module is used to continuously monitor the communication capability of the best link to ensure that its performance remains within a preset range, and re-determine the best link when any parameter of the available bandwidth or total delay in the best link degrades beyond the preset range or fails.
[0015] In one embodiment of the present invention, the path aggregation module includes a bandwidth acquisition unit, a bandwidth calculation unit and a sorting unit; the acquisition unit is used to acquire the maximum bandwidth of each network path and the required bandwidth of the current task; the bandwidth calculation unit is used to calculate the bandwidth margin of each network path according to the maximum bandwidth and the required bandwidth; the sorting unit is used to prioritize the network paths according to the bandwidth margin, thereby generating a path set to be selected.
[0016] In one embodiment of the present invention, the communication monitoring module also includes a packet loss rate calculation unit and a packet loss rate prompt unit. The packet loss rate calculation unit is used to continuously monitor the communication capability of the optimal link, and also includes sending a detection data packet to the target server and receiving its return message; calculating the packet loss rate of each network path based on the return message; the packet loss rate prompt unit is used to select multiple backup paths from the path set to be selected when the packet loss rate is greater than a set threshold, and prompt the real-time packet loss rate of each backup path.
[0017] As described above, the heterogeneous link integrated wireless ad hoc network method and system of the present invention have the following beneficial effects: multiple network paths are formed through the location information and environmental information provided by each network node, and when the maximum bandwidth meets the transmission task requirements, the best path is confirmed from the set of paths to be selected according to the total delay, and the communication capability of the best path is continuously monitored to ensure the communication quality of the best path. With the support of a shared information pool and a global network topology, the available bandwidth and total delay are used as performance indicators and a real-time basis for performance switching. Through the automatic selection of the ad hoc network, the path selection and switching can be effectively realized, thereby improving the performance and stability of the wireless ad hoc network. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, 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 invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0019] Figure 1 A flow chart of a wireless ad hoc network method with integrated heterogeneous links provided by the present invention;
[0020] Figure 2 Another flow chart of the wireless ad hoc network method with integrated heterogeneous links provided by the present invention;
[0021] Figure 3 Another flow chart of the wireless ad hoc network method with integrated heterogeneous links provided by the present invention;
[0022] Figure 4 A schematic diagram of the structure of a wireless ad hoc network system with integrated heterogeneous links provided by the present invention.
[0023] Component number description
[0024] 201 Communication module
[0025] 202 Path Set Collection Module
[0026] 203 Total delay calculation module
[0027] 204 Best Link Module
[0028] 205 Communication Monitoring Module DETAILED DESCRIPTION
[0029] The present invention provides a wireless ad hoc network method and system with integrated heterogeneous links. To make the purpose, technical solution and effect of the present invention clearer and more specific, the present invention is further described in detail below with reference to the accompanying drawings and examples.
[0030] In the description of the present invention, it should be understood that the terms "up, down, left, right, etc." indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, which are only for the convenience of describing the present invention and simplifying the description, and should not be understood as limiting the present invention; in addition, the terms "installation" and "connection" should be understood in a broad sense, and those skilled in the art can understand the specific meanings of the above terms in the present invention according to specific circumstances.
[0031] See also Figures 1 to 3The present invention provides a wireless ad hoc network method with integrated heterogeneous links, comprising the following steps: S1. Using SNMP to collect the status information of network devices, and sensing each network node, obtaining the location information and environmental information of the network node, building a shared information pool and a global network topology based on the location information and environmental information of each network node, extracting decision parameters from the shared information pool to generate the connection relationship between nodes; S2. Generating multiple network paths according to the connection relationship between nodes, and collecting the network paths with the maximum bandwidth that meets the bandwidth required by the current transmission task as the path set to be selected; S3. Obtaining the path set according to the topology information in the global network topology and the target IP address The number of hops in each path in the path set to be selected is calculated according to the relationship between the number of hops and the per-hop delay in each path to obtain the total delay of each network path in the path set to be selected; S4. When a network path with the smallest total delay appears, the network path is selected as the best link, otherwise, based on the degree of correlation between environmental information and the transmission task, the only network path with the highest correlation is selected from multiple network paths as the best link; S5. The communication capability of the best link is continuously monitored to ensure that its performance remains within a preset range. When any parameter of the available bandwidth or total delay in the best link degrades beyond the preset range or fails, the best link is re-determined.
[0032] Preferably, in step S2, the maximum bandwidth of each network path and the required bandwidth of the current task are obtained, the bandwidth margin of each network path is calculated according to the maximum bandwidth and the required bandwidth, and each network path is prioritized according to the bandwidth margin, thereby generating a set of paths to be selected. By calculating the bandwidth margin of each network path according to the maximum bandwidth and the required bandwidth, and prioritizing each network path according to the bandwidth margin, the capacity of the network path can be more accurately evaluated and the utilization rate of network resources can be improved. The bandwidth is the difference between the maximum bandwidth and the available bandwidth of each network path.
[0033] Preferably, the continuous monitoring of the communication capability of the best link in step S5 also includes sending a detection data packet to the target server and receiving its return message; calculating the packet loss rate of each network path based on the return message; when the packet loss rate is greater than a set threshold, selecting multiple backup paths from the path set to be selected, and prompting the real-time packet loss rate of each backup path. Calculating the packet loss rate of each network path based on the return message; prompting the real-time packet loss rate of each backup path when the packet loss rate is greater than a set threshold, network failures can be discovered in time and decision data can be provided to improve the stability and reliability of the network. It can be understood that when the packet loss rate is greater than the set threshold, the alternative backup paths in the selected path set are displayed in real time, which is convenient for decision-makers or decision-making systems to confirm and select the best link, and can effectively improve the efficiency of switching network paths.
[0034] Preferably, in step S1, a protocol stack architecture supporting multiple communication protocols is designed, and a unified communication protocol stack is established between network nodes by utilizing conversion and interoperability between different communication protocols. A protocol stack architecture supporting multiple communication protocols is designed to implement modular design of the protocol stack, facilitate expansion and updating of the protocol, and improve the flexibility and compatibility of the system.
[0035] Preferably, step S6 is also included, adopting a distributed control mechanism, establishing distributed control nodes, utilizing distributed management and decision-making of network resources, timely discovering and repairing network faults. Utilizing distributed management and decision-making of network resources, timely discovering and repairing network faults can improve the fault tolerance and scalability of the network.
[0036] The embodiment of the present invention also includes a wireless ad hoc network system with integrated heterogeneous links, including a communication module 201, which is used to use SNMP to collect status information of network devices, and to sense each network node, obtain the location information and environmental information of the network node, build a shared information pool and a global network topology based on the location information and environmental information of each network node, and extract decision parameters from the shared information pool to generate connection relationships between nodes; a path set collection module 202, which is used to generate multiple network paths according to the connection relationships between nodes, and collect network paths with the maximum bandwidth that meets the bandwidth required by the current transmission task as a path set to be selected; a total delay calculation module 203, which is used to calculate the total delay based on the topology information in the global network topology and the target IP address. The address obtains the number of hops in each path in the path set to be selected, and calculates the total delay of each network path in the path set to be selected according to the relationship between the number of hops and the per-hop delay in each path; the best link module 204 is used to select the network path as the best link when the network path with the smallest total delay appears, otherwise based on the degree of correlation between the environmental information and the transmission task, the only network path with the highest correlation degree is selected from multiple network paths as the best link; the communication monitoring module 205 is used to continuously monitor the communication capability of the best link to ensure that its performance remains within a preset range, and to re-determine the best link when any parameter of the available bandwidth or total delay in the best link degrades beyond the preset range or fails.
[0037] The path collection module includes a bandwidth acquisition unit, a bandwidth calculation unit and a sorting unit; the acquisition unit is used to acquire the maximum bandwidth of each network path and the required bandwidth of the current task; the bandwidth calculation unit is used to calculate the bandwidth margin of each network path according to the maximum bandwidth and the required bandwidth; the sorting unit is used to prioritize each network path according to the bandwidth margin, thereby generating a set of paths to be selected. The bandwidth margin can be obtained by making a difference comparison between the maximum bandwidth of each network path and the required bandwidth of the current task.
[0038] The communication monitoring module 205 also includes a packet loss rate calculation unit and a packet loss rate prompt unit. The packet loss rate calculation unit is used to continuously monitor the communication capability of the best link, and also includes sending a detection data packet to the target server and receiving its return message; calculating the packet loss rate of each network path according to the return message; the packet loss rate prompt unit is used to select multiple backup paths from the path to be selected when the packet loss rate is greater than a set threshold, and prompt the real-time packet loss rate of each backup path. In this embodiment, the real-time packet loss rate is used as a preferred method to only provide data support for decision makers or decision systems, and is not used as a direct factor for decision makers or decision systems to force switching of the best link.
[0039] In the embodiment of the wireless ad hoc network method with integrated heterogeneous links in the embodiment of the present invention, the wireless ad hoc network device with integrated heterogeneous links may have relatively large differences due to different configurations or performances, and may include one or more processors (central processing units, CPU) (for example, one or more processors) and memories, and one or more storage media for storing applications or data (for example, one or more massive storage devices). Among them, the memory and the storage medium may be temporary storage or permanent storage. The program stored in the storage medium may include one or more modules, each of which may include a series of instruction operations in the wireless ad hoc network device with integrated heterogeneous links. Furthermore, the processor may be configured to communicate with the storage medium, and execute a series of instruction operations in the storage medium on the wireless ad hoc network device with integrated heterogeneous links, so as to implement the steps of the wireless ad hoc network method with integrated heterogeneous links provided in the above-mentioned method embodiments.
[0040] The wireless ad hoc network device with integrated heterogeneous links may also include one or more power supplies, one or more wired or wireless network interfaces, one or more input and output interfaces, and / or one or more operating systems, such as Windows Serve, Mac OS X, Unix, Linux, FreeBSD, etc. Those skilled in the art will appreciate that the structure of the wireless ad hoc network device with integrated heterogeneous links does not constitute a limitation on the wireless ad hoc network device based on the integration of heterogeneous links, and may include more or fewer components than shown in the figure, or combine certain components, or arrange components differently.
[0041] The present invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When the instructions are executed on a computer, the computer executes the steps of a wireless self-organizing network method with integrated heterogeneous links.
[0042] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described system, device, or unit can refer to the corresponding process in the aforementioned method embodiment and will not be repeated here.
[0043] If the integrated unit 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 technical solution of the present invention is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program codes.
[0044] By integrating the above-mentioned multiple key units, the wireless ad hoc network system with integrated heterogeneous links proposed by the present invention not only significantly improves the flexibility and compatibility of the network, but also further enhances the security and stability of the network. At the same time, through continuous performance monitoring and optimization, the system can always maintain efficient operation and provide users with stable, secure and reliable network communication services.
[0045] In summary, the wireless ad hoc network method and system with integrated heterogeneous links of the present invention forms multiple network paths through the location information and environmental information provided by each network node. When the maximum bandwidth meets the transmission task requirements, the optimal path is confirmed from the selected path set according to the total delay, and the communication capability of the optimal path is continuously monitored to ensure the communication quality of the optimal path. With the support of the shared information pool and the global network topology, the available bandwidth and total delay are used as the real-time basis for performance indicators and performance switching. Through the automatic selection of the ad hoc network, the selection and switching of the path can be effectively realized, and the performance and stability of the wireless ad hoc network can be improved. Therefore, the present invention effectively overcomes the various shortcomings in the prior art and has a high industrial utilization value.
[0046] It is understandable that those skilled in the art can make equivalent substitutions or changes based on the technical solution and inventive concept of the present invention, and all these changes or substitutions should fall within the protection scope of the present invention.
Claims
1. A wireless ad hoc network method integrating heterogeneous links, characterized in that: The steps include: S1. Use SNMP to collect the status information of network devices, sense each network node, obtain the location information and environmental information of the network node, build a shared information pool and global network topology based on the location information and environmental information of each network node, and extract decision parameters in the shared information pool to generate the connection relationship between nodes; S2. Generate multiple network paths based on the connection relationship between nodes, and collect the network paths with the maximum bandwidth that meets the bandwidth required by the current transmission task as the path set to be selected; S3. Obtain the number of hops in each path in the selected path set according to the topology information in the global network topology and the target IP address, and calculate the total delay of each network path in the selected path set according to the relationship between the number of hops and the delay of each hop in each path; S4. When a network path with the smallest total delay appears, the network path is selected as the best link. Otherwise, based on the degree of correlation between the environmental information and the transmission task, the only network path with the highest degree of correlation is selected from multiple network paths as the best link; S5. Continuously monitor the communication capability of the best link to ensure that its performance remains within the preset range. When any parameter of the available bandwidth or total delay in the best link degrades beyond the preset range or fails, re-determine the best link.
2. The wireless ad hoc network method with integrated heterogeneous links according to claim 1, characterized in that: In step S2, the maximum bandwidth of each network path and the required bandwidth of the current task are obtained, the bandwidth margin of each network path is calculated according to the maximum bandwidth and the required bandwidth, and each network path is prioritized according to the bandwidth margin, thereby generating a set of paths to be selected.
3. The wireless ad hoc network method with integrated heterogeneous links according to claim 1, characterized in that: The continuous monitoring of the communication capability of the best link in step S5 also includes sending a detection data packet to the target server and receiving its return message; calculating the packet loss rate of each network path based on the return message; when the packet loss rate is greater than a set threshold, selecting multiple backup paths from the set of paths to be selected, and prompting the real-time packet loss rate of each backup path.
4. The wireless ad hoc network method with integrated heterogeneous links according to claim 1, characterized in that: In step S1, a protocol stack architecture supporting multiple communication protocols is designed, and a unified communication protocol stack is established between network nodes by utilizing conversion and interoperability between different communication protocols.
5. The wireless ad hoc network method with integrated heterogeneous links according to claim 1, characterized in that: The system also includes step S6, adopting a distributed control mechanism, establishing distributed control nodes, and utilizing distributed management and decision-making of network resources to timely discover and repair network failures.
6. A wireless ad hoc network system integrating heterogeneous links, characterized in that: It includes a communication module, which is used to collect the status information of network devices using SNMP, and sense each network node, obtain the location information and environmental information of the network node, build a shared information pool and a global network topology based on the location information and environmental information of each network node, and extract decision parameters from the shared information pool to generate the connection relationship between nodes; a path set collection module, which is used to generate multiple network paths according to the connection relationship between nodes, and collect the network paths with the maximum bandwidth that meets the bandwidth required by the current transmission task as the path set to be selected; A total delay calculation module is used to obtain the number of hops in each path in the path set to be selected according to the topology information in the global network topology and the target IP address, and calculate the total delay of each network path in the path set to be selected according to the relationship between the number of hops and the delay of each hop in each path; The best link module is used to select the network path with the smallest total delay as the best link when the network path with the smallest total delay appears. Otherwise, based on the degree of correlation between environmental information and the transmission task, the only network path with the highest correlation is selected from multiple network paths as the best link; the communication monitoring module is used to continuously monitor the communication capability of the best link to ensure that its performance remains within the preset range. When any parameter of the available bandwidth or total delay in the best link degrades beyond the preset range or fails, the best link is re-determined.
7. The wireless ad hoc network system with integrated heterogeneous links according to claim 6, characterized in that: The path collection module includes a bandwidth acquisition unit, a bandwidth calculation unit and a sorting unit; the acquisition unit is used to acquire the maximum bandwidth of each network path and the required bandwidth of the current task; the bandwidth calculation unit is used to calculate the bandwidth margin of each network path according to the maximum bandwidth and the required bandwidth; the sorting unit is used to prioritize the various network paths according to the bandwidth margin, thereby generating a path set to be selected.
8. The wireless ad hoc network system with integrated heterogeneous links according to claim 6, characterized in that: The communication monitoring module also includes a packet loss rate calculation unit and a packet loss rate prompt unit. The packet loss rate calculation unit is used to continuously monitor the communication capability of the best link, and also includes sending a detection data packet to the target server and receiving its returned message; calculating the packet loss rate of each network path according to the returned message; The packet loss rate prompting unit is used to select multiple backup paths from the path set to be selected when the packet loss rate is greater than a set threshold, and prompt the real-time packet loss rate of each backup path.
Citation Information
Cited By
Dual-mode converged communication terminal and dynamic link selection method
CN122395682A