A network dynamic parameter solving method and system based on a non-intrusive link
By inserting a monitoring module into the link node simulation model and using the sequence number and timestamp information of the data packet for dynamic parameter solution, the problems of unrealistic link simulation effects and system complexity in the existing technology are solved, and adaptive regulation of the link status and improved stability are achieved.
Patent Information
- Application Number
- CN202510653142.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-21
- Publication Date
- 2025-10-17
- Estimated Expiration
- 2045-05-21
AI Technical Summary
Existing link solution methods cannot meet the needs of complex network topology changes and real-time updates of link characteristics, resulting in unrealistic simulation results and complex system development.
A non-intrusive monitoring module is inserted into the link node simulation model. By monitoring the sequence number and timestamp information of the data packet, the simulation model parameters and rate threshold are dynamically adjusted to achieve adaptive control of the link status.
It improves the stability and response speed of the link, reduces the system coupling, and improves the compatibility and scalability of the system.
Smart Images

Figure CN120238451B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of network communication simulation, and particularly relates to a network dynamic parameter solving method and system based on a non-intrusive link. BACKGROUND
[0002] With the rapid development of network communication technology, link simulation as an important tool for researching network performance and optimizing link design puts forward higher requirements for the real-time and accuracy of simulation. However, the existing link solving method usually depends on the implementation mode of fixed parameter configuration, which cannot meet the dynamic change demand of complex link, especially in the scene of frequent change of network topology or real-time update of link characteristics. These methods have great limitations in actual application, not only difficult to realize high-fidelity simulation effect, but also increase the complexity of system development. SUMMARY
[0003] In order to solve the above technical problems, the purpose of the present application is to provide a network dynamic parameter solving method and system based on a non-intrusive link, which can dynamically adjust the simulation model parameters and rate threshold according to the node running state, realize the adaptive regulation and control of the link state, and effectively improve the stability and response speed of the link.
[0004] The first technical solution adopted by the present application is: a network dynamic parameter solving method based on a non-intrusive link, comprising the following steps:
[0005] Inserting a monitoring module to build a link node simulation model for link protocol data transmission, and outputting a downlink data packet;
[0006] Based on the monitoring module, setting a calculation time window interval and a rate threshold;
[0007] Intercepting the downlink data packet, and combining the calculation time window interval and the rate threshold to solve the network dynamic parameters, and obtaining the node running state of the link node simulation model.
[0008] Further, the link node simulation model specifically comprises a virtual transmission layer, a MAC layer, a physical layer and a monitoring module, which are connected in sequence, wherein:
[0009] The virtual transmission layer is used for encapsulating and processing high-layer protocol data to obtain encapsulated high-layer protocol data;
[0010] The MAC layer is used for encapsulating, address identifying and checking the encapsulated high-layer protocol data to output the checked high-layer protocol data;
[0011] The physical layer is used for converting and processing the checked high-layer protocol data to output a downlink data packet;
[0012] The monitoring module is configured to monitor the data stream of the downlink data packet.
[0013] Further, the step of intercepting the downlink data packet and combining the calculation time window interval and the rate threshold to solve the network dynamic parameter and obtain the node running state of the link node simulation model specifically comprises:
[0014] Based on the calculation time window interval, the downlink data packet is intercepted by the monitoring module, and the packet sequence number of the downlink data packet and the timestamp information of the downlink data packet are obtained.
[0015] When the calculation time window interval ends, the sending rate of the downlink data packet is calculated according to the packet sequence number and the timestamp information, and the sending rate calculation result of the downlink data packet is obtained.
[0016] The sending rate calculation result of the downlink data packet is compared with the rate threshold, and the node running state of the link node simulation model is obtained.
[0017] Further, the step of calculating the sending rate of the downlink data packet according to the packet sequence number and the timestamp information when the calculation time window interval ends, and obtaining the sending rate calculation result of the downlink data packet specifically comprises:
[0018] When the calculation time window interval ends, the total packet sequence number and the timestamp information are read;
[0019] The adjacent data packets are determined according to the packet sequence number, and the sending rate between the adjacent data packets is calculated according to the timestamp information, and the preliminary sending rate calculation result is obtained.
[0020] The preliminary sending rate calculation result is processed by taking the average value, and the sending rate calculation result of the downlink data packet is obtained.
[0021] Further, the step of comparing the sending rate calculation result of the downlink data packet with the rate threshold to obtain the node running state of the link node simulation model specifically comprises:
[0022] The sending rate calculation result of the downlink data packet is compared with the rate threshold.
[0023] If the sending rate calculation result is less than the rate threshold, the current node running state of the link node simulation model is marked as an idle state.
[0024] If the sending rate calculation result is greater than the rate threshold, the current node running state of the link node simulation model is marked as a busy state.
[0025] Further, the method further comprises dynamically adjusting parameters of the link node simulation model according to a node running state of the link node simulation model, and the adjusting specifically comprises:
[0026] If the node running state of the current link node simulation model is the busy state, the transmitting power of the link node simulation model is reduced and the antenna direction angle of the link node simulation model is adjusted.
[0027] If the node running state of the current link node simulation model is the idle state, the transmitting power of the link node simulation model is increased.
[0028] The second technical solution of the application is a network dynamic parameter solving system based on a non-intrusive link, comprising:
[0029] The first module is configured to insert a monitoring module to construct a link node simulation model to perform link protocol data transmission, and output a downlink data packet.
[0030] The second module is configured to set a calculation time window interval and a rate threshold based on the monitoring module.
[0031] The third module is configured to intercept the downlink data packet, and perform network dynamic parameter solving in combination with the calculation time window interval and the rate threshold to obtain a node running state of the link node simulation model.
[0032] The method and system have the following advantages: the method inserts a monitoring module to construct a link node simulation model, sets a calculation time window interval and a rate threshold based on the monitoring module, and inserts the monitoring module in the link node simulation model in a non-intrusive manner, thereby realizing real-time monitoring and control of a node running state by listening to serial numbers and time stamp information of data packets, without modifying a bottom protocol stack, reducing system coupling, and improving system compatibility and scalability; the downlink data packet is intercepted, and network dynamic parameter solving is performed in combination with the calculation time window interval and the rate threshold to obtain the node running state of the link node simulation model; by analyzing and comparing a data packet sending rate and the rate threshold, the method can dynamically adjust simulation model parameters and the rate threshold according to the node running state, realize adaptive control of a link state, and effectively improve link stability and response speed. BRIEF DESCRIPTION OF DRAWINGS
[0033] Figure 1 is a step flowchart of a network dynamic parameter solving method based on a non-intrusive link according to the application;
[0034] Figure 2 is a structural block diagram of a network dynamic parameter solving system based on a non-intrusive link according to the application;
[0035] Figure 3 is a schematic diagram of a link node simulation model of a non-intrusive solving method provided by specific embodiments of the present application. DETAILED DESCRIPTION
[0036] The present application will be further described below in conjunction with the drawings and specific embodiments. For the step numbers in the following embodiments, they are only set for the convenience of description and explanation, and the order between the steps is not limited in any way, and the execution order of each step in the embodiments can be adaptively adjusted according to the understanding of those skilled in the art.
[0037] Referring to Figure 1 , the present application provides a network dynamic parameter solving method based on a non-intrusive link, which comprises the following steps:
[0038] S100, inserting a monitoring module to build a link node simulation model for link protocol data transmission, and outputting a downlink data packet;
[0039] Specifically, the link node simulation model specifically comprises a virtual transmission layer, a MAC layer, a physical layer and a monitoring module, which are connected in sequence, wherein the virtual transmission layer is used for encapsulating high-layer protocol data to obtain encapsulated high-layer protocol data; the MAC layer is used for encapsulating the encapsulated high-layer protocol data into a data frame, identifying and checking an address, and outputting the checked high-layer protocol data; the physical layer is used for converting and processing the checked high-layer protocol data into a data signal, and outputting a downlink data packet; and the monitoring module is used for monitoring a data stream of the downlink data packet.
[0040] In this embodiment, as shown in Figure 3 , a link solving node simulation model is built, which contains three layers, namely a virtual transmission layer, a MAC layer and a physical layer. In the node simulation model, downlink data will flow through the virtual transmission layer, the MAC layer and the physical layer in sequence. In order to realize monitoring of the data stream, a monitoring module is inserted below the physical layer to count downlink data stream information and make corresponding processing.
[0041] In some specific embodiments, the node simulation model is initialized, which contains a virtual transmission layer, a MAC layer and a physical layer. A user-defined layer and a monitoring module are inserted below the physical layer to realize monitoring of the data stream, i.e., the node simulation model is first initialized so that the virtual transmission layer, the MAC layer and the physical layer therein can work normally. Based on the user-defined layer inside the tool, the monitoring module is designed and inserted below the physical layer to monitor the downlink data stream.
[0042] The model includes a node simulation model, a monitoring module, and a broadcast forwarding service. The node simulation model is built by using a wireless network simulation tool, the monitoring module is based on a layer that can be customized in the tool, and the broadcast forwarding service is a communication service between nodes.
[0043] S200, setting a calculation time window interval and a rate threshold based on the monitoring module;
[0044] Specifically, before the system starts, the monitoring module is configured with parameters, including setting the calculation time interval and the rate threshold. The time interval refers to the time difference between two packet transmission rate calculations, which is used to determine the periodic interval of packet rate evaluation. The rate threshold is a critical condition for determining the node operating state, which is used to evaluate the current state of the node.
[0045] In this embodiment, all layers including the custom layer that implements the monitoring module are initialized and configured by external configuration files. Before the system starts, the calculation time window interval and the rate threshold are filled into the corresponding configuration file. After the system starts, the configuration file is automatically read and initialized.
[0046] S300, intercepting the downlink data packet and combining the calculation time window interval and the rate threshold to solve the network dynamic parameters and obtain the node operating state of the link node simulation model.
[0047] S310, based on the calculation time window interval, the monitoring module intercepts the downlink data packet and obtains the data packet sequence number and the timestamp information of the downlink data packet.
[0048] Specifically, the monitoring module intercepts the data packet transmitted from the physical layer, extracts the sequence number and transmission timestamp of the data packet by analyzing the information attached to the data packet.
[0049] More specifically, the monitoring module is inserted below the physical layer, so that the downlink data packet can flow into the broadcast forwarding service after passing through the monitoring module. When the monitoring module detects the downlink data packet, it will analyze the data packet and extract the transmission timestamp and data packet sequence number marked in the physical layer.
[0050] S320, when the calculation time window interval ends, the transmission rate of the downlink data packet is calculated based on the data packet sequence number and the timestamp information, and the transmission rate calculation result of the downlink data packet is obtained.
[0051] Specifically, when the time window interval ends, the total data packet sequence number and timestamp information are read; adjacent data packets are determined according to the data packet sequence number, and the transmission rate between the adjacent data packets is calculated according to the timestamp information, to obtain a preliminary transmission rate calculation result; the preliminary transmission rate calculation result is subjected to mean value processing, to obtain the transmission rate calculation result of the downlink data packet.
[0052] In the embodiment, when the time window ends, the monitoring module evaluates and calculates the data packet transmission rate according to the data packet sequence number and timestamp information collected in the current time window.
[0053] In some specific embodiments, the monitoring module enters the evaluation and calculation mode of the data packet transmission rate by setting a timer and considering that the current time window ends when the calculation time interval is reached. In the mode, the monitoring module takes out the data packet sequence number and corresponding timestamp information collected in the time window, calculates the transmission rate between adjacent data packets, and finally takes the average to obtain the evaluation transmission rate.
[0054] S330, comparing the transmission rate calculation result of the downlink data packet with a rate threshold, to obtain the node running state of the link node simulation model.
[0055] Specifically, the transmission rate calculation result of the downlink data packet is compared with the rate threshold; if the transmission rate calculation result is less than the rate threshold, the node running state of the current link node simulation model is marked as an idle state; if the transmission rate calculation result is greater than the rate threshold, the node running state of the current link node simulation model is marked as a busy state.
[0056] In the embodiment, the evaluation transmission rate is compared with the preset rate threshold to determine the running state of the current node. If the evaluation transmission rate is higher than the threshold, the current node is marked as “busy”; if the evaluation transmission rate is lower than the threshold, the current node is marked as “idle”. The running state of the node is determined by the transmission rate, which can be used for subsequent dynamic adjustment of the node configuration.
[0057] Further, the method further comprises dynamically adjusting parameters of the link node simulation model according to the node running state of the link node simulation model; if the node running state of the current link node simulation model is a busy state, the transmission power of the link node simulation model is reduced and the antenna direction angle of the link node simulation model is adjusted; if the node running state of the current link node simulation model is an idle state, the transmission power of the link node simulation model is increased.
[0058] Specifically, the monitoring module adjusts the node simulation parameters according to the preset scheme through the marked node state. In this case, if the current node state is "busy", the node needs to appropriately reduce the transmission power, so that the average transmission power in the next time window is reduced, and the power consumption is saved. At the same time, if there is a special requirement, the direction angle of the antenna can be adjusted to reduce the invalid coverage and interference. If the current node state is "idle", it is restored to the default initial state, and the antenna transmission power is appropriately adjusted and increased to ensure the transmission stability at low transmission rate.
[0059] In addition, it should be noted that the monitoring module modifies the parameter configuration of the node by broadcasting the configuration information after obtaining the adjustment judgment, so that the node can save power consumption as much as possible in the "busy" state, and improve the message transmission efficiency in the "idle" state, and realize the adaptive regulation of the node.
[0060] In summary, the embodiment of the application dynamically obtains and judges the node state in a non-intrusive manner, and realizes the dynamic adjustment of the simulation model through the optimization feedback mechanism, thereby meeting the actual needs of complex link simulation and high-fidelity system optimization. First, the node simulation model is initialized, and the monitoring module is inserted. The calculation time window interval and the rate threshold are set. The monitoring module intercepts the downlink data packet, obtains and stores the data packet sequence number and timestamp information. At the end of the time window, the data packet sending rate is calculated, and the sending rate is compared with the rate threshold to judge the running state of the node. The monitoring module dynamically adjusts the node simulation model parameters and the rate threshold according to the running state result. This method realizes the adaptive regulation of the node by using the sequence number and timestamp information of the data packet through non-intrusive design, effectively improves the self-regulation ability of the link system, and the embodiment of the application is used for dynamic parameter acquisition and real-time calculation of a multi-node network system, and is suitable for simulation optimization, dynamic adjustment of complex links, and development and application of high-fidelity simulation systems.
[0061] Reference Figure 2 A network dynamic parameter calculation system based on a non-intrusive link, comprising:
[0062] The first module 201 is used for inserting a monitoring module to construct a link node simulation model for link protocol data transmission, and outputs a downlink data packet.
[0063] The second module 202 is used for setting a calculation time window interval and a rate threshold based on the monitoring module.
[0064] The third module 203 is used for intercepting the downlink data packet, and performing network dynamic parameter calculation in combination with the calculation time window interval and the rate threshold, to obtain the node running state of the link node simulation model.
[0065] The contents in the method embodiments are applicable to the system embodiments, the system embodiments specifically implement the same functions as the method embodiments, and achieve the same beneficial effects as the method embodiments.
[0066] The above is a specific description of the preferred embodiments of the application, but the application is not limited to the embodiments. Those skilled in the art can make various equivalent modifications or replacements without departing from the spirit of the application. These equivalent modifications or replacements are all included in the scope defined by the claims of the application.
Claims
1. A method for calculating network dynamic parameters based on non-intrusive links, characterized in that: The following steps are involved: Insert the monitoring module to build a link node simulation model to perform link protocol data transmission and output downlink data packets; Based on the monitoring module, set the calculation time window interval and rate threshold; Based on the calculation time window interval, the downlink data packet is intercepted by the monitoring module, and the data packet sequence number and the timestamp information of the downlink data packet are obtained; When the calculation time window interval ends, read the total data packet sequence number and timestamp information; Determine adjacent data packets based on the data packet sequence number, and calculate the sending rate between adjacent data packets based on the timestamp information to obtain a preliminary sending rate calculation result; The initial sending rate calculation results are averaged to obtain the sending rate calculation result of the downlink data packet; Comparing the calculated sending rate of the downlink data packet with the rate threshold; If the calculated sending rate result is less than the rate threshold, the node operation state of the current link node simulation model is marked as idle state; If the calculated sending rate result is greater than the rate threshold, the node operation state of the current link node simulation model is marked as busy; If the node operation state of the current link node simulation model is a busy state, the transmission power of the link node simulation model is reduced and the antenna direction angle of the link node simulation model is adjusted; If the node operation state of the current link node simulation model is an idle state, the transmission power of the link node simulation model is increased.
2. The method for calculating network dynamic parameters based on a non-intrusive link according to claim 1, characterized in that: The link node simulation model specifically includes a virtual transport layer, a MAC layer, a physical layer and a monitoring module, and the virtual transport layer, the MAC layer, the physical layer and the monitoring module are connected in sequence, wherein: The virtual transport layer is used to encapsulate the high-level protocol data to obtain the encapsulated high-level protocol data; The MAC layer is used to encapsulate, identify and verify the data frame of the encapsulated high-level protocol data, and output the verified high-level protocol data; The physical layer is used to perform data signal conversion processing on the verified high-level protocol data and output downlink data packets; The monitoring module is used to monitor the data flow of the downlink data packet.
3. A network dynamic parameter solution system based on non-intrusive links, characterized in that: Includes the following modules: The first module is used to insert the monitoring module to build a link node simulation model to perform link protocol data transmission and output downlink data packets; The second module is used to set the calculation time window interval and rate threshold based on the monitoring module; The third module is used to intercept the downlink data packet through the monitoring module based on the calculation time window interval, and obtain the data packet sequence number and time stamp information of the downlink data packet; When the calculation time window interval ends, read the total data packet sequence number and timestamp information; Determine adjacent data packets based on the data packet sequence number, and calculate the sending rate between adjacent data packets based on the timestamp information to obtain a preliminary sending rate calculation result; The preliminary sending rate calculation results are averaged to obtain the sending rate calculation result of the downlink data packet; the sending rate calculation result of the downlink data packet is compared with the rate threshold; If the calculated sending rate result is less than the rate threshold, the node operation state of the current link node simulation model is marked as idle state; If the calculated sending rate result is greater than the rate threshold, the node operation state of the current link node simulation model is marked as busy; If the node operation state of the current link node simulation model is a busy state, the transmission power of the link node simulation model is reduced and the antenna direction angle of the link node simulation model is adjusted; If the node operation state of the current link node simulation model is an idle state, the transmission power of the link node simulation model is increased.
Citation Information
Patent Citations
Method and device for monitoring port data quantity
CN107888456A
TCP downloading rate calculation optimization method and method for improving TCP KPI calculation accuracy
CN110391953A