A wireless ad hoc network topology simulation system and method
Through the distributed topology construction and adjustment algorithm simulation unit, combined with the Kubernetes platform and event-driven mechanism, the scalability and usability issues of wireless ad hoc network simulation tools in large-scale scenarios are solved, and efficient topology control simulation is achieved.
Patent Information
- Application Number
- CN202411595192.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-08
- Publication Date
- 2025-10-17
- Estimated Expiration
- 2044-11-08
AI Technical Summary
Existing wireless ad hoc network topology control simulation tools have poor scalability in large-scale scenarios, cannot support mobility scenarios, are not easy to use, have high computational complexity, and take long simulation times.
A distributed topology construction algorithm simulation unit and a topology adjustment algorithm simulation unit are used. Combined with the Kubernetes platform and event-driven mechanism, topology construction and adjustment are realized through the Asynq distributed task queue and channel model, and the topology is adjusted in real time using the central controller and monitoring module.
It improves simulation performance and scalability, supports dynamic topology changes of large-scale wireless ad hoc networks, reduces computational complexity, and improves user usability.
Smart Images

Figure CN119743397B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of network simulation, and in particular to a wireless ad hoc network topology simulation system and method. BACKGROUND
[0002] In the research of computer networks, network simulation is a technique that replicates the behavior of real networks using software programs, which is achieved by computing the interactions between different network entities (such as routers, switches, nodes, access points, links, etc.). Experiments in real networks usually require a large number of hardware devices, including routers, switches, servers, etc. The purchase, maintenance and upgrade of these devices are very costly, and the deployment and maintenance of real networks require a large amount of human resources. Network simulation can reduce the cost of experiments in network environments and improve the efficiency of network configuration. Therefore, building network simulation tools is an important research problem.
[0003] Network topology management is an indispensable part of network simulation platforms. In the scenario of mobile ad hoc networks, due to the mobility of nodes, the network topology changes at all times, which in turn affects the characteristics of the entire network, so researchers need to control the topology of the network. Topology control refers to a node management method that dynamically changes the transmission range of nodes to maintain certain properties of the communication graph (e.g., connectivity) while reducing the energy consumption of the node transceiver, which is strictly related to the transmission range.
[0004] In recent years, wireless sensor / mobile ad hoc networks and delay-tolerant / distrubuted networks have been increasingly widely used, and topology control is one of the main problems in wireless networks. Topology control not only prolongs the lifetime of the network, but also reduces signal interference. Topology control problems include discovering neighbors, identifying locations, determining transmission radii, establishing links to neighbors, scheduling node sleep and active periods, clustering, constructing a dominating set (each node belongs to a dominating set or has a neighbor in the dominating set), and maintaining the selected structure.
[0005] The topology control problem of wireless ad hoc networks is an iterative process, in which the first step includes topology construction and the second step includes topology adjustment. Generally, topology construction algorithms generate wireless ad hoc network topologies from scratch, which requires a large amount of time to simulate and has a high computational complexity. After topology construction, topology adjustment algorithms with lower computational cost are run, which can quickly adjust the topology in real time according to environmental changes to maintain the optimal connection mode. Although topology adjustment algorithms have lower computational cost, in large-scale scenarios, as the number of nodes increases, the simulation time also increases.
[0006] In the prior art, the following simulation technologies are mainly used, wherein the first kind of simulation tool based on a discrete event simulator: NS-3, OMNET++, etc. Any discrete event simulation, namely a simulation framework and a specific simulation model, has three core data structures: i) a state variable of the simulation model, ii) a time-stamped event list, and iii) a global clock. During the simulation running, a scheduler constantly deletes the event with the smallest time stamp. Therefore, the simulation process is sequentially executed, and the parallel degree is insufficient, and the simulation running time is too long. The provided parallel simulation framework only supports a fixed network and is not suitable for a mobile scenario of a wireless ad hoc network; meanwhile, the user needs to manually assign the nodes to simulate on which machine, and the ease of use is poor. The second kind of simulation tool based on virtualization technology: Mininet, CORE, etc. The centralized implementation of Mininet is limited to the resources of a single PC, the distributed implementation Distrinet and Maxinet do not support the simulation of a wireless ad hoc network and do not provide a mobility model of the nodes. CORE lacks research on the scalability in a distributed mode, and the user needs to manually assign different nodes to different machines for simulation, which is not friendly to the user.
[0007] Although the existing simulation tools can meet the needs of the simulation of the topology control algorithm to some extent, there are still some obvious deficiencies:
[0008] 1. Poor scalability: the scalability of the existing simulation tools is insufficient, and in a large-scale scenario, the simulation time of the topology control algorithm is long, which is difficult to meet the simulation needs.
[0009] 2. Insufficient universality: due to the mobility of the nodes, the parallel and distributed simulation framework of the existing simulation tools does not support the scenario of a wireless ad hoc network.
[0010] 3. Poor ease of use: the user needs to modify the topology control algorithm to run on the platform when simulating on the existing simulation platform, and the learning cost of many simulation tools is high, and the use threshold for the user without relevant background is high, which is not convenient to use.
[0011] Therefore, based on the above problems, it is urgent to provide a topology simulation system for a large-scale wireless ad hoc network, which optimizes the simulation performance of the topology control algorithm and has good scalability in a large-scale scenario. SUMMARY
[0012] The purpose of the present application is to provide a wireless ad hoc network topology simulation system and method, which can efficiently and faithfully complete the simulation of the topology control algorithm of the wireless ad hoc network, has good scalability, and meets the use needs of a large-scale scenario.
[0013] To achieve the above purpose, the present application provides the following solutions:
[0014] In a first aspect, the application provides a wireless ad hoc network topology simulation system, comprising a distributed topology construction algorithm simulation unit and a topology adjustment algorithm simulation unit;
[0015] The distributed topology construction algorithm simulation unit comprises a worker node, a controller node and a channel model.
[0016] The topology adjustment algorithm simulation unit simulates topology adjustment algorithms based on event driving; the topology adjustment algorithm simulation unit comprises a central controller, a pod node implemented based on a Kubernetes platform and a listening module.
[0017] The distributed topology construction algorithm simulation unit is configured to, after a user submits a topology construction algorithm, send initial position information of all worker nodes to each worker node by using the controller node and an Asynq distributed task queue; the worker node, after receiving the initial position information, calculates corresponding initial topology information according to the topology construction algorithm and sends the initial topology information to the controller node, and sends a RESTful request to the channel model; the channel model calculates link characteristics of each link according to the RESTful request and sends the link characteristics to the controller node; the controller node integrates the topology information and the link characteristics to obtain initial topologies of all worker nodes and sends the initial topologies to the central controller of the topology adjustment algorithm simulation unit.
[0018] The central controller in the topology adjustment algorithm simulation unit starts corresponding pod nodes and configures links according to the initial topologies and the link characteristics; the topology adjustment algorithm is run in the started pod nodes and the listening module is started; the listening module is configured to capture network packets of each link in real time and obtain payloads of the network packets; and the central controller adjusts the topology according to the payloads of the network packets.
[0019] Optionally, the controller node specifically comprises a control module and a data module.
[0020] The control module is configured to, after a user submits initial position information of a worker node, distribute a calculation task containing global node information in the Asynq distributed task queue to multiple worker nodes for calculation.
[0021] The data module is configured to integrate initial topology information obtained by each worker node according to the topology construction algorithm and obtain link characteristics of each link.
[0022] Optionally, the worker node comprises a topology calculation module and a channel calculation module.
[0023] The topology calculation module is configured to obtain global node information from the Asynq distributed task queue, and calculate corresponding initial topology information according to a topology construction algorithm provided by a user.
[0024] The channel calculation module is configured to send a RESTful request to the channel model.
[0025] Optionally, the channel model is configured to obtain position information of the initial node, a configured channel model and a configuration parameter calculated by the channel model from the RESTful request sent by the channel calculation module of each working node, and then calculate path loss according to a large-scale path loss model and signal fading according to a small-scale fading model, so as to obtain received power; determine a signal-to-noise ratio according to the received power, bandwidth, environmental noise and thermal noise; determine a bit error rate according to the signal-to-noise ratio, bandwidth and modulation mode; determine link characteristics according to the bit error rate; and the configuration parameter includes a communication frequency, bandwidth, modulation mode, transmission rate, transmission power and environmental noise parameter.
[0026] Optionally, the user-submitted topology adjustment algorithm is run in the pod node, and the monitoring module is run in a Sidecar mode.
[0027] Optionally, the monitoring module uses a gopacket library to monitor and capture network packets of each virtual network card of the pod node; and uses a decoder in the gopacket library to analyze the network packets, decodes the network packets into a gopacket.Packet object, and then obtains the payload of the network packets according to a Payload attribute of the gopacket.Packet object.
[0028] In a second aspect, the present application provides a wireless ad hoc network topology simulation method for implementing the wireless ad hoc network topology simulation system, and the wireless ad hoc network topology simulation method comprises the following steps:
[0029] obtaining a topology construction algorithm and a topology adjustment algorithm submitted by a user;
[0030] sending initial position information of all working nodes to each working node by using an Asynq distributed task queue of a controller node;
[0031] calculating corresponding initial topology information according to the topology construction algorithm after receiving the initial position information, and sending the initial topology information to the controller node; and sending a RESTful request to a channel model;
[0032] calculating link characteristics of each link according to the RESTful request, and sending the link characteristics to the controller node;
[0033] The controller node integrates the topology information and the link characteristics to obtain an initial topology of all the working nodes, and sends the initial topology to a central controller of a topology adjustment algorithm simulation unit;
[0034] The central controller starts the corresponding pod nodes and configures the links according to the initial topology and the link characteristics;
[0035] The topology adjustment algorithm is run in the started pod nodes, and a listening module is started;
[0036] The listening module is used to capture network packets of each link in real time and obtain the payload of the corresponding network packet;
[0037] The central controller adjusts the topology according to the payload of the network packet.
[0038] Optionally, the central controller adjusts the topology according to the payload of the network packet, and specifically includes the following steps:
[0039] If the payload of the network packet contains position information, the position information is forwarded to the central controller for position updating;
[0040] If the payload of the network packet contains link change information, the link change information is forwarded to the central controller for link processing; the link processing includes deleting a link, adding a link, and modifying a link.
[0041] Optionally, the central controller adjusts the topology according to the payload of the network packet, and then includes the following steps:
[0042] The central controller notifies a daemon process to configure the link characteristics.
[0043] Optionally, the wireless ad hoc network topology simulation method further includes:
[0044] During the simulation running, each pod node executes the topology adjustment algorithm after receiving the network packet sent by a neighbor, calculates a next motion state according to position information, a motion state, or a link operation contained in the network packet sent by the neighbor, or executes a corresponding link operation, and sends the calculation result to each neighbor.
[0045] According to the specific embodiments provided in the application, the application has the following technical effects:
[0046] The application provides a wireless ad hoc network topology simulation system and method, the wireless ad hoc network topology simulation system comprising: a distributed topology construction algorithm simulation unit and a topology adjustment algorithm simulation unit; the distributed topology construction algorithm simulation unit realizes distributed calculation of a topology construction algorithm through a distributed task system, and can improve simulation performance and scalability; the topology adjustment algorithm simulation unit simulates a topology adjustment algorithm based on event driving, runs the topology adjustment algorithm in a Pod node (a physical node) based on a Kubernetes platform to simulate, performs link operation through a central controller to support a scenario of dynamic change of a wireless ad hoc network topology, and has relatively high scalability; information of a simulation node can be conveniently captured by means of real-time capture of network packets of each link through a listening module, and the application can be used without introducing too much code, and the application can be improved in ease of use. BRIEF DESCRIPTION OF DRAWINGS
[0047] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings needed in the embodiments. Obviously, the drawings described below are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.
[0048] Figure 1 The figure is a structure schematic diagram of a wireless ad hoc network topology simulation system in an embodiment of the present application.
[0049] Figure 2 The figure is a structure schematic diagram of a distributed topology construction algorithm simulation unit.
[0050] Figure 3 The figure is a structure schematic diagram of a topology adjustment algorithm simulation unit.
[0051] Figure 4 The figure is a principle schematic diagram of a wireless ad hoc network topology simulation method in an embodiment of the present application. DETAILED DESCRIPTION
[0052] The technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some embodiments of the present application, not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor are within the scope of protection of the present application.
[0053] The above purposes, features and advantages of the present application will be more obvious and easy to understand. The present application will be further described in detail below with reference to the drawings and specific embodiments.
[0054] In an exemplary embodiment, asFigure 1 As shown in the figure, a wireless ad hoc network topology simulation system is provided, which comprises a distributed topology construction algorithm simulation unit and a topology adjustment algorithm simulation unit;
[0055] As shown in the figure, Figure 2 As shown in the figure, the distributed topology construction algorithm simulation unit comprises a worker node, a controller node and a channel model;
[0056] The topology adjustment algorithm simulation unit simulates the topology adjustment algorithm based on event driving; as shown in the figure, Figure 3 As shown in the figure, the topology adjustment algorithm simulation unit comprises a central controller, a pod node realized based on a Kubernetes platform and a listening module;
[0057] The distributed topology construction algorithm simulation unit is used to send the initial position information of all worker nodes to each worker node by using the controller node after the user submits the topology construction algorithm; the worker node calculates the corresponding initial topology information according to the topology construction algorithm after receiving the initial position information, and sends the topology information to the controller node, and sends a RESTful request to the channel model; the channel model calculates the link characteristics of each link according to the RESTful request, and sends the link characteristics to the controller node; the controller node integrates the topology information and the link characteristics to obtain the initial topology of all worker nodes, and sends the initial topology to the central controller of the topology adjustment algorithm simulation unit;
[0058] The central controller in the topology adjustment algorithm simulation unit starts the corresponding pod node and configures the link according to the initial topology and the link characteristics; the topology adjustment algorithm is run in the started pod node and the listening module is started; the listening module is used to capture the network packets of each link in real time and obtain the payload of the corresponding network packets; the central controller adjusts the topology according to the payload of the network packets.
[0059] Asynq distributed task queue realizes distributed tasks, and Asynq is a lightweight and high-performance asynchronous task processing library written in Go language, which has high scalability and high customizability. In the present application, each worker node instance subscribes to a task queue, and when the controller node adds the global node information to the queue, all worker nodes will receive a message notification, and then calculate the local topology of the respective responsible node;
[0060] The channel model is a model for calculating the received signal power of the receiving end. These models follow a series of mathematical equations to calculate several aspects of the transmitted signal, including signal strength, signal-to-noise ratio, bit error rate, etc., and further convert them into equivalent network properties, such as expected packet loss, etc.
[0061] In an exemplary embodiment, the controller node specifically comprises: a control module and a data module;
[0062] The control module is configured to distribute the computing task containing the global node information in the Asynq distributed task queue to the plurality of worker nodes for computation after the user submits the initial position information of the worker nodes;
[0063] The data module is configured to integrate the initial topology information obtained by each worker node according to the topology construction algorithm, and obtain the link characteristics of each link. The link characteristics include the bit error rate, the packet loss rate and the bandwidth;
[0064] In an exemplary embodiment, the wireless ad hoc network topology simulation system provided by the present application can start a plurality of worker nodes; the worker nodes comprise: a topology calculation module and a channel calculation module;
[0065] The topology calculation module is configured to obtain the global node information from the Asynq distributed task queue, and calculate the corresponding initial topology information according to the topology construction algorithm provided by the user;
[0066] The channel calculation module is configured to send a RESTful request to the channel model.
[0067] The channel model is configured to obtain the position information of the initial node, the configured channel model and the configuration parameters calculated by the channel model from the RESTful request sent by the channel calculation module of each worker node; then calculate the path loss according to the large-scale path loss model and the signal fading according to the small-scale fading model, and further obtain the received power; determine the signal-to-noise ratio according to the received power, the bandwidth, the environmental noise and the thermal noise; determine the bit error rate according to the signal-to-noise ratio, the bandwidth and the modulation mode; determine the link characteristics according to the bit error rate; the configuration parameters include: the communication frequency, the bandwidth, the modulation mode, the transmission rate, the transmission power and the environmental noise parameter.
[0068] In the present application, the large-scale path loss models such as the free space path loss model, the log distance shadow loss model, the Hata-Okumura model for urban environment, the double-ray ground model, and the small-scale fading model such as the Nakagami-m model, can be freely configured and used by the user.
[0069] In an exemplary embodiment, the pod node runs the topology adjustment algorithm submitted by the user, and the listening module runs in the Sidecar mode.
[0070] The pod node is implemented based on the Kubernetes platform, and simulates the behavior of a wireless node by using the pod node. The pod nodes are connected by using a network plug-in to simulate the wireless link between two nodes.
[0071] The listening module uses the gopacket library to listen to and capture network packets of each virtual network card of the pod node; and uses a decoder in the gopacket library to analyze the network packets, decodes the network packets into a gopacket.Packet object, and then obtains the payload of the network packets according to a Payload attribute of the gopacket.Packet object.
[0072] The central controller is configured to collect the latest positions of the nodes and perform link operations, and then update the topology of the entire network, and notify the daemon to update the link characteristics of each link; the daemon uses a Linux TrafficControl tool to configure the characteristics of each link;
[0073] Based on the same inventive concept, the embodiments of the present application also provide a wireless ad hoc network topology simulation method for implementing the wireless ad hoc network topology simulation system described above. The implementation scheme for solving the problem provided by the method is similar to the implementation scheme described above, so the specific limitations in one or more wireless ad hoc network topology simulation method embodiments provided below can refer to the limitations of the wireless ad hoc network topology simulation system described above, and will not be repeated here.
[0074] In one exemplary embodiment, as shown in Figure 4 A wireless ad hoc network topology simulation method is provided, including:
[0075] S1, obtaining a topology construction algorithm and a topology adjustment algorithm submitted by a user;
[0076] S2, using a controller node to send initial position information of all worker nodes to each worker node using an Asynq distributed task queue;
[0077] S3, after receiving the initial position information, the worker node calculates corresponding initial topology information according to the topology construction algorithm, and sends the initial topology information to the controller node; at the same time, the worker node sends a RESTful request to the channel model;
[0078] S4, the channel model calculates the link characteristics of each link according to the RESTful request, and sends the link characteristics to the controller node;
[0079] S5, the controller node integrates the topology information and the link characteristics to obtain initial topology of all worker nodes, and sends the initial topology to a central controller of a topology adjustment algorithm simulation unit;
[0080] S6, the central controller starts the corresponding pod node and configures the link according to the initial topology and the link characteristics;
[0081] S7: Run the topology adjustment algorithm in the started pod node and start the monitoring module;
[0082] S8, the monitoring module is used to capture the network packets of each link in real time and obtain the corresponding network packet payload;
[0083] S9, the central controller adjusts the topology according to the load of the network packet.
[0084] S9 specifically includes:
[0085] If the payload of the network packet contains location information, the location information is forwarded to the central controller for location update;
[0086] If the payload of the network packet contains link change information, the link change information is forwarded to the central controller for link processing; the link processing includes: deleting a link, adding a link, and modifying a link.
[0087] S9 and later also include:
[0088] The central controller notifies the daemon to configure the link characteristics.
[0089] In an exemplary embodiment, the wireless ad hoc network topology simulation method further includes:
[0090] During the simulation, each pod node executes the topology adjustment algorithm after receiving the network packet sent by the neighbor. Based on the location information, motion status or link operation contained in the network packet sent by the neighbor, it calculates the next motion state or performs the corresponding link operation, sends the calculation result to each neighbor, and repeats the above steps.
[0091] In this application, all actions to obtain signals, information or data are carried out in compliance with the relevant data protection laws and policies of the country where they are located and with the authorization given by the owner of the corresponding device.
[0092] The technical features of the above embodiments can be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0093] This document uses specific examples to illustrate the principles and implementation methods of this application. The description of the above examples is only intended to help understand the method and core concept of this application. At the same time, for those skilled in the art, based on the concept of this application, there may be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting this application.
Claims
1. A wireless ad hoc network topology simulation system, characterized in that: The wireless ad hoc network topology simulation system includes: a distributed topology construction algorithm simulation unit and a topology adjustment algorithm simulation unit; The distributed topology construction algorithm simulation unit includes: a working node, a controller node and a channel model; The topology adjustment algorithm simulation unit simulates the topology adjustment algorithm based on event-driven; the topology adjustment algorithm simulation unit includes: a central controller, a pod node implemented based on the Kubernetes platform, and a monitoring module; The distributed topology construction algorithm simulation unit is used to use the controller node to send the initial position information of all working nodes to each working node using the Asynq distributed task queue after the user submits the topology construction algorithm; after receiving the initial position information, the working node calculates the corresponding initial topology information according to the topology construction algorithm and sends it to the controller node, and at the same time sends a RESTful request to the channel model; the channel model calculates the link characteristics of each link according to the RESTful request and sends the link characteristics to the controller node; the controller node integrates the topology information and link characteristics to obtain the initial topology of all working nodes, and sends it to the central controller of the topology adjustment algorithm simulation unit; The central controller in the topology adjustment algorithm simulation unit starts the corresponding pod node and configures the link according to the initial topology and link characteristics; runs the topology adjustment algorithm in the started pod node and starts the monitoring module; the monitoring module is used to capture the network packets of each link in real time and obtain the corresponding network packet payload; the central controller performs topology adjustment according to the network packet payload.
2. The wireless ad hoc network topology simulation system according to claim 1, characterized in that: The controller node specifically includes: a control module and a data module; The control module is used to distribute the computing tasks containing global node information in the Asynq distributed task queue to multiple working nodes for computing after the user submits the initial location information of the working node; The data module is used to integrate the initial topology information obtained by each working node according to the topology construction algorithm, and obtain the link characteristics of each link.
3. The wireless ad hoc network topology simulation system according to claim 1, characterized in that: The working node includes: a topology calculation module and a channel calculation module; The topology calculation module is used to obtain global node information from the Asynq distributed task queue and calculate the corresponding initial topology information according to the topology construction algorithm provided by the user; The channel calculation module is used to send a RESTful request to the channel model.
4. The wireless ad hoc network topology simulation system according to claim 3, characterized in that: The channel model is used to obtain the location information of the initial working node, the configured channel model, and the configuration parameters for the channel model calculation from the RESTful request sent by the channel calculation module of each working node. The path loss is then calculated based on the large-scale path loss model and the signal fading is calculated based on the small-scale fading model to obtain the received power. The signal-to-noise ratio is determined based on the received power, bandwidth, ambient noise, and thermal noise. The bit error rate is determined based on the signal-to-noise ratio, bandwidth, and modulation mode; the link characteristics are determined based on the bit error rate; the configuration parameters include: communication frequency, bandwidth, modulation mode, transmission rate, transmission power, and environmental noise parameters.
5. The wireless ad hoc network topology simulation system according to claim 1, characterized in that: The pod node runs the user-submitted topology adjustment algorithm and runs the monitoring module in Sidecar mode.
6. The wireless ad hoc network topology simulation system according to claim 1, characterized in that: The monitoring module uses the gopacket library to monitor and capture the network packets of each virtual network card of the pod node; and uses the decoder in the gopacket library to parse the network packets, decode the network packets into gopacket.Packet objects, and then obtain the payload of the network packets according to the Payload property of the gopacket.Packet object.
7. A wireless ad hoc network topology simulation method, used to implement the wireless ad hoc network topology simulation system according to any one of claims 1 to 6, characterized in that: The wireless ad hoc network topology simulation method comprises: Obtain topology construction algorithms and topology adjustment algorithms submitted by users; The controller node is used to send the initial location information of all working nodes to each working node using the Asynq distributed task queue; After receiving the initial location information, the working node calculates the corresponding initial topology information according to the topology construction algorithm and sends it to the controller node; at the same time, it sends a RESTful request to the channel model; The channel model calculates the link characteristics of each link based on the RESTful request and sends the link characteristics to the controller node; The controller node integrates the topology information and link characteristics to obtain the initial topology of all working nodes and sends it to the central controller of the topology adjustment algorithm simulation unit; The central controller starts the corresponding pod nodes and configures the links based on the initial topology and link characteristics; Run the topology adjustment algorithm in the started pod node and start the monitoring module; The monitoring module is used to capture the network packets of each link in real time and obtain the corresponding network packet payload; The central controller adjusts the topology according to the load of the network packets.
8. The wireless ad hoc network topology simulation method according to claim 7, characterized in that: The central controller performs topology adjustment according to the load of the network packet, specifically including: If the payload of the network packet contains location information, the location information is forwarded to the central controller for location update; If the payload of the network packet contains link change information, the link change information is forwarded to the central controller for link processing; the link processing includes: deleting a link, adding a link, and modifying a link.
9. The wireless ad hoc network topology simulation method according to claim 7, characterized in that: The central controller performs topology adjustment according to the load of the network packet, and then further includes: The central controller notifies the daemon to configure the link characteristics.
10. The wireless ad hoc network topology simulation method according to claim 7, characterized in that: The wireless ad hoc network topology simulation method further includes: During the simulation, each pod node executes the topology adjustment algorithm after receiving the network packet sent by the neighbor. Based on the location information, motion status or link operation contained in the network packet sent by the neighbor, it calculates the next motion state or performs the corresponding link operation and sends the calculation results to each neighbor.
Citation Information
Patent Citations
Network topology construction method and device based on digital twin technology
CN114615718A
Power distribution area management method and system based on big data
CN117910723A