Network hopping time window dynamic offset method and device

The network jump variance time window dynamic offset method addresses latency-induced packet loss by calculating and adjusting communication cycles based on average network latency, improving transmission efficiency and stability while minimizing the attack surface.

CN119697070APending Publication Date: 2025-03-25WUHAN QUANTUM STORM INFORMATION TECH CO LTD

Patent Information

Application Number
CN202411790522.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-06
Publication Date
2025-03-25

AI Technical Summary

Technical Problem

Current network defense technologies face challenges in handling dynamic and unpredictable network attacks, such as malware port changes and DDoS attacks, leading to issues like delayed packet loss due to network latency, which affects transmission performance and stability.

Method used

A network jump variance time window dynamic offset method that involves calculating and adjusting the average network latency across jump variance subnets to offset communication cycles, ensuring data packets are received within the correct time window, thereby reducing latency-induced packet loss without extending data reception time.

Benefits of technology

This method enhances network data transmission efficiency, stability, and reliability by dynamically adjusting time windows based on real-time latency and network conditions, reducing the attack surface and maintaining continuous network operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119697070A_ABST
    Figure CN119697070A_ABST
Patent Text Reader

Abstract

The invention discloses a network hopping time window dynamic offset method and device, and the method comprises the steps: in a preset observation period, based on each hopping subnet in a hopping network, a test module sends a plurality of requests between the hopping subnet and each neighbor hopping subnet, according to the network delay of each request between the hopping sub-network and each neighbor hopping sub-network, calculating the average network delay of the hopping sub-networks, and calculating the mean value of the average network delay of all the hopping sub-networks to obtain the total average network delay of the hopping network; for any two hopping sub-networks in the hopping network as two communication parties for communication, enabling a network hopping controller in a sender to project forward offset total average network delay on a receiving hopping period of a receiver; or, enabling the network hopping controller in the receiving party to backwards offset the receiving hopping period of the receiving party from the total average network delay. According to the method, dynamic adjustment of the hopping subnet time window is realized, and the network data transmission efficiency is remarkably improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a method and a device for dynamically shifting a network hopping time window. Background Art

[0002] Traditional network defense technologies such as security vulnerability scanning, firewalls, and intrusion detection have significantly improved the level of network defense and have gradually become the standard for network security defense. However, with the continuous updating of network attack methods, the currently widely used defense technologies are increasingly unable to cope with Trojan port hopping, proxy hopping attacks, protocol conversion attacks, DDoS attacks, and various unknown attack methods. As a result, academia and industry have begun to seek more effective solutions.

[0003] Network hopping technology aims to build a dynamic, heterogeneous and uncertain network. It has become an active research direction and has achieved remarkable results by increasing the randomness of the system or reducing predictability to prevent, delay or block network attacks. As the research deepens, the academic community has begun to pay attention to the impact of network hopping on normal network functions and performance. One of the most core issues is the delay and packet loss problem, that is, when the nodes in the network are hopping synchronously, due to transmission delay, part of the data cannot reach the receiving node at the time of hopping, resulting in the node not being correctly received after the hopping, resulting in a certain amount of additional transmission packet loss. This not only reduces the transmission performance, but also interferes with normal network functions in serious cases, especially in the case of tight resources and frequent hopping. To solve this problem, the "sliding window" idea is generally adopted to increase the length of the receiving end time window and extend the data packet reception time to improve network transmission efficiency. Summary of the invention

[0004] In order to improve the applicability of network hopping and ensure the stability of the actual network hopping rate, an embodiment of the present invention provides a method and device for dynamically shifting a network hopping time window.

[0005] In a first aspect, an embodiment of the present invention provides a method for dynamically shifting a network transition time window, which may include:

[0006] Within a preset observation period, based on each hopping subnet in the hopping network, the test module in the hopping subnet sends a plurality of requests between the hopping subnet and each neighboring hopping subnet in the hopping network, and collects the network delay of each request between the hopping subnet and each neighboring hopping subnet;

[0007] The test module of the hopping subnet calculates the average network delay of the hopping subnet according to the network delay of each request between the hopping subnet and each neighbor hopping subnet, and sends the average network delay to the network delay statistical prediction module in the hopping network;

[0008] The network delay statistical prediction module calculates the average of the average network delays of all the hopping subnets according to the average network delay of each hopping subnet, obtains the total average network delay of the hopping network, and sends the total average network delay to the network hopping controller in each hopping subnet;

[0009] For any two hopping subnets in the hopping network that communicate as two communicating parties:

[0010] Make the network jump controller in the sender shift the projection of the receiving jump period of the receiver on the network jump controller in the sender forward by the total average network delay; or,

[0011] The network hopping controller in the receiving party is caused to shift the receiving hopping period of the receiving party backward by the total average network delay.

[0012] In one or some optional implementations of the embodiments of the present application, further comprising:

[0013] For any two hopping subnets in the hopping network that communicate as two communicating parties:

[0014] Make the network hopping controllers in the two hopping subnets shift the projection of the receiving hopping period of each hopping subnet on the network hopping controller in the other hopping subnet forward by the total average network delay; or,

[0015] Make the network hopping controllers in the two hopping subnets shift the receiving hopping periods of the two hopping subnets backwards by the total average network delay; or,

[0016] The network hopping controller in any of the hopping subnets shifts the receiving hopping period of another hopping subnet forward by the projection of the network hopping controller in the hopping subnet by the total average network delay, and shifts the receiving hopping period of the hopping subnet backward by the total average network delay.

[0017] In one or some optional implementations of the embodiment of the present application, the test module of the hopping subnet calculates the average network delay of the hopping subnet according to the network delay of each request between the hopping subnet and each neighbor hopping subnet, and sends the average network delay to the network delay statistical prediction module in the hopping network, including:

[0018] The test module of the hopping subnet calculates the average value of the network delay between the hopping subnet and each of the neighboring hopping subnets according to the network delay of each request between the hopping subnet and each of the neighboring hopping subnets;

[0019] Based on the average of the network delays between the hopping subnet and each of the neighboring hopping subnets, the average is calculated to obtain the average network delay of the hopping subnet;

[0020] The measurement module of the hopping subnet sends the average network delay to the network hopping controller in the hopping subnet;

[0021] The network hopping controller sends the average network delay to the network delay statistical prediction module in the hopping network through the network management channel.

[0022] In one or some optional implementations of the embodiments of the present application, the step of causing the network hopping controller in the sender to shift the projection of the receiving hopping period of the receiver on the network hopping controller in the sender forward according to the total average network delay includes:

[0023] The network hopping controller in the sending party is caused to move the projection of the receiving hopping period of the receiving party in the network hopping controller of the sending party forward by the total average network delay.

[0024] In one or some optional implementations of the embodiment of the present application, the step of causing the network hopping controller in the receiving party to shift the receiving hopping period of the receiving party backward according to the total average network delay includes:

[0025] The network hopping controller in the receiving party moves the receiving hopping period of the receiving party backward by the total average network delay.

[0026] In one or some optional implementations of the embodiments of the present application, within a preset observation period, based on each hopping subnet in the hopping network, the test module in the hopping subnet sends multiple requests between the hopping subnet and each neighbor hopping subnet in the hopping network, and collects the network delay of each request between the hopping subnet and each neighbor hopping subnet, including:

[0027] Within a preset observation period, based on each hopping subnet in the hopping network, the test module in the hopping subnet controls the network hopping executor in the hopping subnet to send a preset number of query request messages to the network hopping executor of each neighboring hopping subnet, and receives a query reply message corresponding to each query request message;

[0028] According to the query reply message corresponding to each query request message, the network delay of each request between the hopping subnet and each neighbor hopping subnet is obtained.

[0029] In a second aspect, an embodiment of the present invention provides a network hopping time window dynamic offset device, which may include:

[0030] A test collection module, configured to, within a preset observation period, based on each hopping subnet in the hopping network, have the test module in the hopping subnet send a plurality of requests between the hopping subnet and each neighboring hopping subnet in the hopping network, and collect the network delay of each request between the hopping subnet and each neighboring hopping subnet;

[0031] A first calculation module, a test module for the hopping subnet, calculates the average network delay of the hopping subnet according to the network delay of each request between the hopping subnet and each neighbor hopping subnet, and sends the average network delay to the network delay statistical prediction module in the hopping network;

[0032] A second calculation module is used for the network delay statistical prediction module to calculate the average of the average network delays of all the hopping subnets according to the average network delay of each hopping subnet, obtain the total average network delay of the hopping network, and send the total average network delay to the network hopping controller in each of the hopping subnets;

[0033] The first offset module is used for, for any two hopping subnets in the hopping network that communicate as the communicating parties, with one of the two hopping subnets in the communication as a sender and the other as a receiver: to enable the network hopping controller in the sender to shift the projection of the receiving hopping period of the receiving party on the network hopping controller in the sender forward according to the total average network delay; and / or to enable the network hopping controller in the receiver to shift the receiving hopping period of the receiving party backward according to the total average network delay.

[0034] In a third aspect, an embodiment of the present invention provides a computer-readable storage medium having a computer program / instruction stored thereon, which, when executed by a processor, implements the above-mentioned method for dynamically shifting a network hopping time window.

[0035] In a fourth aspect, an embodiment of the present invention provides a computer program product, including a computer program / instruction, which, when executed by a processor, implements the above-mentioned method for dynamically shifting a network hopping time window.

[0036] In a fifth aspect, an embodiment of the present invention provides a computer device, including a memory, a processor, and a computer program stored in the memory, and when the processor executes the computer program, the method for dynamically shifting the network hopping time window as described above is implemented.

[0037] The beneficial effects of the above technical solution provided by the embodiment of the present invention include at least:

[0038] The embodiment of the present invention provides a method for dynamic offset of network hopping time window, which controls each hopping subnet in the hopping network to send a request through a test module and collect network delay within a preset observation period, calculates the average network delay, and then feeds it back to the network delay statistical prediction module, calculates the total average network delay of all hopping subnets, and transmits it to the network hopping controller of each hopping network, so that the hopping subnet in the communication process offsets the hopping period according to the total average network delay, thereby offsetting the data packet loss caused by network delay. Compared with the sliding window idea, the method can fully consider the overall transmission delay of the real-time hopping network, comprehensively consider factors such as network hopping speed, data transmission distance and network transmission status at different times, realize dynamic adjustment of the hopping subnet time window, offset the data packet loss caused by network delay, and significantly improve the network data transmission efficiency without extending the data receiving time window, that is, without increasing the attack surface, and improve the applicability, continuity and reliability of network hopping, and ensure the stability of the actual network hopping rate.

[0039] At the same time, this method is independent of the application system and limits the dynamic offset of the time window to the network layer, so that the application system can shield the changes of the underlying layer and has a wider applicability.

[0040] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the written description and the accompanying drawings.

[0041] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:

[0043] Figure 1 A schematic diagram of a flow chart of a method for dynamically shifting a network transition time window provided by an embodiment of the present invention;

[0044] Figure 2 A schematic diagram of data packet loss provided by an embodiment of the present invention;

[0045] Figure 3 A diagram of the architecture of a dynamic security protection system provided by an embodiment of the present invention;

[0046] Figure 4 A schematic diagram of a framework for realizing the total average network delay provided by an embodiment of the present invention;

[0047] Figure 5 A schematic diagram of a first offset method provided in an embodiment of the present invention;

[0048] Figure 6 A schematic diagram of a second offset method provided by an embodiment of the present invention;

[0049] Figure 7 A schematic diagram of the structure of a network transition time window dynamic offset device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0050] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0051] The inventor found that in the prior art, the idea of ​​"sliding window" is mainly used to solve the delay and packet loss problem, that is, the time window length is increased at the receiving end to extend the reception time of the data packet so that more data packets can be received and the transmission efficiency of the network is improved. However, this method will also expand the attack surface of the network system and increase the risk of malicious data packet intrusion, thereby resulting in a decrease in the actual network hopping rate and network data transmission efficiency. Based on this, the inventor has made the present invention after further research and development, providing a method and device for dynamically offsetting the network hopping time window.

[0052] In order to facilitate those skilled in the art to understand the present solution, a more clear and complete description is given of the network hopping environment described in the present invention and the data loss caused by network delay in the network hopping environment:

[0053] In a network hopping environment, both parties in data communication achieve rapid changes in IP addresses in a way that is known to the parties themselves and unknown to the enemy, and the sender fully understands the change pattern of the receiver's IP address. When the sender and the receiver achieve precise clock synchronization, the sender sends data to the receiver based on the receiver's valid IP address in the current hopping cycle. After the current hopping cycle ends, the receiver enters a new hopping cycle and changes its IP address at the same time. In an environment without network delay, network hopping can effectively reduce the attack surface of the system through rapid changes in IP addresses, significantly increase the difficulty and cost of attacks by attackers, and does not affect data transmission efficiency.

[0054] However, in an actual network hopping environment, when the communicating parties are not in the same LAN, network delay will significantly affect data transmission performance. Figure 2As shown, the sender of communication node A sends data to the receiver according to the IP address hopping rule of the receiver of communication node B. In the figure, T1 / IP S1 Indicates the hopping IP address of the sender in the hopping period T1, T1 / IP R1 Indicates the hopping IP address of the receiver in the hopping period T1. As can be seen from the figure, due to network delay, after the blue part of the data reaches the receiver, the receiver has entered the new hopping period T2. The data arriving at this time cannot be received normally, resulting in a decrease in data transmission quality. In addition, with different network hopping speeds, the impact of network delay on data transmission performance is also different. When the network hopping speed increases to a certain speed, that is, when the hopping period is less than the network delay, data transmission will be interrupted.

[0055] Embodiment 1

[0056] In the first embodiment of the present invention, a method for dynamically shifting a network transition time window is provided. Figure 1 As shown, the method may include the following steps S101-S104:

[0057] S101: within a preset observation period, based on each hopping subnet in the hopping network, a test module in the hopping subnet sends multiple requests between the hopping subnet and each neighboring hopping subnet in the hopping network, and collects the network delay of each request between the hopping subnet and each neighboring hopping subnet.

[0058] S102: The test module of the hopping subnet calculates the average network delay of the hopping subnet according to the network delay of each request between the hopping subnet and each neighboring hopping subnet, and sends the average network delay to the network delay statistical prediction module in the hopping network.

[0059] S103: The network delay statistics prediction module calculates the average of the average network delays of all hopping subnets according to the average network delay of each hopping subnet, obtains the total average network delay of the hopping network, and sends the total average network delay to the network hopping controller in each hopping subnet.

[0060] S104: For any two hopping subnets in the hopping network that communicate as two communicating parties: make the network hopping controller in the sender shift the receiving hopping period of the receiving party forward by the projection of the network hopping controller in the sender by the total average network delay; or make the network hopping controller in the receiving party shift the receiving hopping period of the receiving party backward by the total average network delay.

[0061] The embodiment of the present invention provides a method for dynamic offset of network hopping time window, which controls each hopping subnet in the hopping network to send a request through a test module and collect network delay within a preset observation period, calculates the average network delay, and then feeds it back to the network delay statistical prediction module, calculates the total average network delay of all hopping subnets, and transmits it to the network hopping controller of each hopping network, so that the hopping subnet in the communication process offsets the hopping period according to the total average network delay, thereby offsetting the data packet loss caused by network delay. Compared with the sliding window idea, the method can fully consider the overall transmission delay of the real-time hopping network, comprehensively consider factors such as network hopping speed, data transmission distance and network transmission status at different times, realize dynamic adjustment of the hopping subnet time window, offset the data packet loss caused by network delay, and significantly improve the network data transmission efficiency without extending the data receiving time window, that is, without increasing the attack surface, and improve the applicability, continuity and reliability of network hopping, and ensure the stability of the actual network hopping rate.

[0062] At the same time, this method is independent of the application system and limits the dynamic offset of the time window to the network layer, so that the application system can shield the changes of the underlying layer and has a wider applicability.

[0063] In order to facilitate technical personnel in this field to understand this solution, a more clear and complete description of the dynamic security protection system architecture corresponding to this method is given here. Figure 3 As shown:

[0064] The exemplary hopping network includes a hopping subnet 1 and a hopping subnet 2. Each hopping subnet is an independent data center or an independent internal network. Different hopping subnets are interconnected through a data communication network.

[0065] Clock synchronization is achieved between each hopping subnet through the clock synchronization device in the hopping subnet. The clock synchronization information of the clock synchronization device is transmitted and obtained through the clock synchronization network, avoiding an endless loop of data transmission interruption due to clock asynchrony, and data transmission interruption leading to the inability to transmit clock synchronization information.

[0066] A network jump controller and a network jump executor are deployed in each hopping subnet. The network jump controller is the control core of the hopping subnet, which realizes network jump cycle control, network jump pattern analysis (IP change rules of the hopping network) and communication peer IP address change rule analysis. When the hopping subnet acts as a sender, the network jump controller sends the jump IP information to the network jump executor through the OpenFlow flow table. The network jump executor is responsible for replacing the IP address in the packet header so that the data packet can achieve data forwarding with the jump IP. When the hopping subnet acts as a receiver, the network jump controller sends instructions to the network jump executor through the OpenFlow flow table. The network jump executor is responsible for converting the jump IP in the IP data packet into a real IP address. A "measurement module" is deployed in the network jump executor to measure network delay and send the collected network delay data to the network jump controller.

[0067] The application system and client host in each jump subnet communicate with the outside through the network jump executor. The network jump executor will shield the IP addresses and port information of different devices in the jump subnet and provide a unified jump IP and jump port to the outside.

[0068] In the above step S101, within a preset observation period, based on each hopping subnet in the hopping network, the test module in the hopping subnet sends multiple requests between the hopping subnet and each neighboring hopping subnet in the hopping network, and collects the network delay of each request between the hopping subnet and each neighboring hopping subnet.

[0069] Specifically, a preset observation period may be set, which may be exemplarily set to 1 second or 5 seconds. In a preset observation period, the network delay of data in transmission may be regarded as a short-term stable process.

[0070] In a preset observation period, based on each hopping subnet in the hopping network, the test module in the hopping subnet controls the network hopping executor in the hopping subnet to send a preset test number of query request messages to the network hopping executor of each neighbor hopping subnet, and receives a query reply message corresponding to each query request message. Then, according to the query reply message corresponding to each query request message, the network delay of each request between the hopping subnet and each neighbor hopping subnet is obtained.

[0071] In a specific embodiment, the test module can send an ICMP (Internet Control Message Protocol) request message to the network jump executor of the neighboring hopping subnet, determine the receiving time according to the ICMP reply message replied by the network jump executor of the neighboring hopping subnet, and subtract the receiving time from the sending time of the ICMP request message to calculate the network delay.

[0072] In the embodiment of the present application, the above-mentioned step S101 ensures that the method can accurately reflect the network delay situation in the current network environment by real-time monitoring of the network status, provides accurate data support for the subsequent dynamic offset of the jump period, and avoids data transmission errors or inefficiencies caused by changes in network conditions.

[0073] In the above step S102, the test module of the hopping subnet calculates the average network delay of the hopping subnet according to the network delay of each request between the hopping subnet and each neighbor hopping subnet, and sends the average network delay to the network delay statistical prediction module in the hopping network. Specifically, the following steps S1021-S1024 may be included:

[0074] S1021: The test module of the hopping subnet calculates the average value of the network delay between the hopping subnet and each neighboring hopping subnet according to the network delay of each request between the hopping subnet and each neighboring hopping subnet.

[0075] In order to facilitate those skilled in the art to understand the present solution, the calculation method of step S1021 provided in the embodiment of the present application is described more clearly and completely below: For the convenience of description, a vector is used here to represent the network delay of all requests between the hopping subnet and each neighbor hopping subnet. For example, vector D1-2 represents the network delay of all requests between hopping subnet 1 and neighbor hopping subnet 2, that is, D1-2 = (d1, d2, d3, ... d i ,...,d m ), where d i It represents the network delay of the i-th request between hop subnet 1 and its neighbor hop subnet 2, and m is the preset test number.

[0076] Taking hop subnet 1 and neighbor hop subnet 2 as an example, the average network delay between hop subnet 1 and neighbor hop subnet 2 is calculated based on the following formula 1:

[0077]

[0078] In the formula, represents the average network delay between hop subnet 1 and neighbor hop subnet 2, m is the preset test number, d i Represents the network delay of the i-th request between hop subnet 1 and its neighbor hop subnet 2.

[0079] S1022: Calculate the average value based on the average value of the network delay between the hopping subnet and each neighboring hopping subnet to obtain the average network delay of the hopping subnet.

[0080] According to the description in the above step S1021, taking hopping subnet 1 as an example, step S1022 can be specifically based on the average of the network delays between hopping subnet 1 and each neighbor hopping subnet. Based on the following formula 2, the average value is calculated to obtain the average network delay of hop subnet 1:

[0081]

[0082] In the formula, represents the average network delay of hop subnet 1, n is the total number of hop subnets in the hop network, d 1-j Represents the mean network delay between hop subnet 1 and its neighbor hop subnet j.

[0083] S1023: The measurement module of the hopping subnet sends the average network delay to the network hopping controller in the hopping subnet.

[0084] S1024: The network hopping controller sends the average network delay to the network delay statistics prediction module in the hopping network through the network management channel.

[0085] In an embodiment of the present application, the network delay information obtained through real-time calculation in the above step S102 can more accurately estimate the transmission time of the data packet in the network, which helps the network jump controller to make reasonable offset decisions, thereby improving the success rate of data transmission and the overall performance of the system, and reducing unnecessary data retransmission.

[0086] In the above step S103, the network delay statistical prediction module calculates the average of the average network delays of all hopping subnets according to the average network delay of each hopping subnet, obtains the total average network delay of the hopping network, and sends the total average network delay to the network hopping controller in each hopping subnet.

[0087] According to the description in the above steps S1021 and S1022, step S103 may specifically be that the network delay statistics prediction module calculates the average network delay of each hop subnet according to the average network delay of each hop subnet. The average of the average network delays of all hop subnets is calculated based on the following formula 3 to obtain the total average network delay of the hop network:

[0088]

[0089] In the formula, Represents the total average network delay of the hop network, represents the average network delay of hop subnet k, and n is the total number of hop subnets in the hop network.

[0090] Then, the network delay statistics prediction module sends the total average network delay to the network hop controller in each hop subnet.

[0091] In order to facilitate those skilled in the art to understand the present solution, the following is a clearer and more complete description of step S102 provided in the embodiment of the present application: Figure 4 As shown, the figure includes 3 hopping subnets and a network delay statistical prediction module. Each hopping subnet includes a network hopping controller, a network hopping executor, and a test module. The figure exemplarily shows the network delay D1-2 of all requests between hopping subnet 1 and its neighbor hopping subnet 2 and the network delay D1-3 of all requests between hopping subnet 1 and its neighbor hopping subnet 3. The three dotted lines in the figure indicate that the network hopping controllers in the three hopping subnets send the average network delay to the network delay statistical prediction module in the hopping network through the network management channel.

[0092] In the embodiment of the present application, the above step S103 realizes data sharing across hopping subnets, so that each hopping subnet can work together to jointly combat the negative impact of network delay. By centrally processing the network delay information in the hopping network, the network status can be more comprehensively grasped, providing more accurate data basis and system support for subsequent hopping cycle offset.

[0093] In the above step S104, for any two hopping subnets in the hopping network that communicate as the communicating parties: the network hopping controller in the sender shifts the receiving hopping period of the receiving party forward by the projection of the network hopping controller in the sender by the total average network delay; or, the network hopping controller in the receiving party shifts the receiving hopping period of the receiving party backward by the total average network delay.

[0094] To facilitate technical personnel in this field to understand the present solution, the network hop controller in the sender will shift the receiving hop period of the receiver forward by the projection of the network hop controller in the sender by the total average network delay as the first offset method.

[0095] The network hopping controller in the receiver will be caused to shift the receiving hopping period of the receiver backward toward the total average network delay as the second offset method.

[0096] The first offset method:

[0097] Specifically, for any two hopping subnets in the hopping network that communicate as the two communicating parties, one of the two hopping subnets in the communication is used as the sender and the other as the receiver: the total average network delay within the preset observation period obtained in the above steps S101-S103 is As the network delay between the sender and the receiver in the next preset observation period, the sender's network jump controller adjusts the projection of the receiving jump period on the sender and shifts the projection of the receiving jump period forward.

[0098] Reference Figure 5 As shown, the hopping periods T1 and T2 of the sender and receiver are strictly aligned. In the figure, T1 / IP S1 Indicates the hopping IP address of the sender in the hopping period T1, T2 / IP R1 Indicates the jump IP address of the sender in the jump period T2. The sender's receiving jump periods T1 and T2 are shifted forward on the projection of the sender to obtain the jump periods T1' and T2' after the forward shift. The sender's T1' / IP R1 and T2' / IP R2 That is, the jump IP address of the receiver recorded in the network jump controller of the sender. In this way, when data communication is actually carried out, the data packet sent out during the blue part of the time will correspond to the jump IP address of the receiver. R2 , then the data packet will arrive at the receiver within the jump period T2 after network delay, thereby successfully offsetting the loss of the blue part of the data packet caused by network delay.

[0099] The second offset method:

[0100] Specifically, for any two hopping subnets in the hopping network that communicate as the two communicating parties, one of the two hopping subnets in the communication is used as the sender and the other as the receiver: the total average network delay within the preset observation period obtained in the above steps S101-S103 is As the network delay between the sender and the receiver in the next preset observation period, the network jump controller of the receiver adjusts the receiving jump period and shifts the receiving jump period backward.

[0101] Reference Figure 6 As shown, the hopping periods T1 and T2 of the sender and receiver are strictly aligned. In the figure, T1 / IP S1 Indicates the hopping IP address of the sender in the hopping period T1, T2 / IP R1 Indicates the jump IP address of the sender in the jump period T2. The receiving jump periods T1 and T2 of the receiver are shifted backward to obtain the jump periods T1' and T2' after the backward shift. The T1' / IP address of the receiver R1 and T2' / IP R2That is, the jump IP address of the receiver recorded in the network jump controller of the receiver. In this way, when data communication is actually carried out, the corresponding jump IP address of the receiver for the data packet sent out during the blue part will still be T1 / IP R1 However, the data packet will arrive at the receiver within the jump period T1' after network delay, thereby successfully offsetting the data packet loss in the blue part caused by network delay.

[0102] In the embodiment of the present application, each network jump controller can choose to use the first offset mode or the second offset mode according to the system configuration information. The system configuration information may include policy configuration (such as the conditions and priority for selecting forward offset or backward offset), network topology information (the structure and connection mode of each jump subnet and its neighbor jump subnet), performance indicators (such as network delay, bandwidth and packet loss rate), historical data (past delay statistics and corresponding offset strategy records), and user-defined settings, so that the network jump controller can make intelligent decisions based on the current network status and preset conditions, thereby optimizing network performance.

[0103] In the embodiments of the present application, in the actual network communication process, the hopping subnet is often both the sender and the receiver of the data, so the communicating parties can use forward offset at the same time, or, the communicating parties can use backward offset at the same time, or, one of the communicating parties can use forward offset and backward offset at the same time, while the other party does not offset.

[0104] Specifically, for any two hopping subnets in the hopping network that communicate as two communicating parties:

[0105] The network jump controllers in the two jump subnets are caused to shift the projection of the receiving jump period of each jump subnet on the network jump controller in the other jump subnet forward according to the total average network delay; or,

[0106] The network hopping controllers in the two hopping subnets shift the receiving hopping cycles of the two hopping subnets backward according to the total average network delay; or,

[0107] The network hopping controller in any hopping subnet is made to shift the projection of the receiving hopping period of another hopping subnet on the network hopping controller in the hopping subnet forward according to the total average network delay, and shift the receiving hopping period of the hopping subnet backward.

[0108] In an embodiment of the present application, the forward offset achieved by the first offset method in the above step S104 is achieved by sending data packets in advance within the network hop cycle, so that the data packets arrive at the receiver before the network hop, thereby significantly reducing the data packet loss caused by network delay. This method is applicable to various network environments, especially in scenarios with large network delays. It performs better and can flexibly respond to different network conditions to ensure the stability and efficiency of data transmission.

[0109] The backward offset implemented by the second offset method delays the time window for receiving data packets within the network jump period, so that the data packets can still be correctly received after the network jump. The backward offset is suitable for scenarios with small network delays and relatively stable networks. It can flexibly adjust the receiving time window to ensure the reliability and efficiency of data transmission. These two methods can not only improve the success rate of data transmission, but also maintain the security of the system, because there is no need to increase the length of the data receiving time window, thereby avoiding the risk of expanding the attack surface.

[0110] Embodiment 2

[0111] Based on the same inventive concept, the embodiment of the present invention also provides a network hopping time window dynamic offset device, referring to Figure 7 As shown, the device comprises:

[0112] The test collection module 101 is used to, within a preset observation period, based on each hopping subnet in the hopping network, the test module in the hopping subnet sends a plurality of requests between the hopping subnet and each neighbor hopping subnet in the hopping network, and collects the network delay of each request between the hopping subnet and each neighbor hopping subnet;

[0113] A first calculation module 102, a test module for the hopping subnet, calculates an average network delay of the hopping subnet according to the network delay of each request between the hopping subnet and each neighbor hopping subnet, and sends the average network delay to a network delay statistical prediction module in the hopping network;

[0114] The second calculation module 103 is used for the network delay statistical prediction module to calculate the average of the average network delays of all the hopping subnets according to the average network delay of each hopping subnet, obtain the total average network delay of the hopping network, and send the total average network delay to the network hopping controller in each hopping subnet;

[0115] The first offset module 104 is used for: for any two hopping subnets in the hopping network that communicate as two communicating parties: to enable the network hopping controller in the sender to shift the receiving hopping period of the receiving party forward by the projection of the network hopping controller in the sender by the total average network delay; or to enable the network hopping controller in the receiving party to shift the receiving hopping period of the receiving party backward by the total average network delay.

[0116] Embodiment 3

[0117] Based on the same inventive concept, an embodiment of the present invention further provides a computer-readable storage medium on which a computer program / instruction is stored. When the computer program / instruction is executed by a processor, the method for dynamically shifting the network hopping time window as described in the above embodiment 1 is implemented.

[0118] Embodiment 4

[0119] Based on the same inventive concept, an embodiment of the present invention further provides a computer program product, including a computer program / instruction, which, when executed by a processor, implements the method for dynamically shifting a network hopping time window as described in the first embodiment above.

[0120] Embodiment 5

[0121] Based on the same inventive concept, an embodiment of the present invention further provides a computer device, including a memory, a processor, and a computer program stored in the memory. When the processor executes the computer program, the method for dynamically shifting the network hopping time window as described in the above embodiment 1 is implemented.

[0122] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) containing computer-usable program code.

[0123] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0124] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0125] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0126] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims

1. A method for dynamically shifting a network transition time window, characterized in that: include: Within a preset observation period, based on each hopping subnet in the hopping network, the test module in the hopping subnet sends a plurality of requests between the hopping subnet and each neighboring hopping subnet in the hopping network, and collects the network delay of each request between the hopping subnet and each neighboring hopping subnet; The test module of the hopping subnet calculates the average network delay of the hopping subnet according to the network delay of each request between the hopping subnet and each neighbor hopping subnet, and sends the average network delay to the network delay statistical prediction module in the hopping network; The network delay statistical prediction module calculates the average of the average network delays of all the hopping subnets according to the average network delay of each hopping subnet, obtains the total average network delay of the hopping network, and sends the total average network delay to the network hopping controller in each hopping subnet; For any two hopping subnets in the hopping network that communicate as two communicating parties: Make the network jump controller in the sender shift the projection of the receiving jump period of the receiver on the network jump controller in the sender forward by the total average network delay; or, The network hopping controller in the receiving party is caused to shift the receiving hopping period of the receiving party backward by the total average network delay.

2. The method according to claim 1, characterized in that Also includes: For any two hopping subnets in the hopping network that communicate as two communicating parties: Make the network hopping controllers in the two hopping subnets shift the projection of the receiving hopping period of each hopping subnet on the network hopping controller in the other hopping subnet forward to the total average network delay; or, The network hopping controllers in the two hopping subnets shift the receiving hopping periods of the two hopping subnets backwards by the total average network delay; or, The network hopping controller in any of the hopping subnets shifts the receiving hopping period of another hopping subnet forward by the projection of the network hopping controller in the hopping subnet by the total average network delay, and shifts the receiving hopping period of the hopping subnet backward by the total average network delay.

3. The method according to claim 1, characterized in that The test module of the hopping subnet calculates the average network delay of the hopping subnet according to the network delay of each request between the hopping subnet and each neighbor hopping subnet, and sends the average network delay to the network delay statistical prediction module in the hopping network, including: The test module of the hopping subnet calculates the average value of the network delay between the hopping subnet and each of the neighboring hopping subnets according to the network delay of each request between the hopping subnet and each of the neighboring hopping subnets; Based on the average of the network delays between the hopping subnet and each of the neighboring hopping subnets, the average is calculated to obtain the average network delay of the hopping subnet; The measurement module of the hopping subnet sends the average network delay to the network hopping controller in the hopping subnet; The network hopping controller sends the average network delay to the network delay statistical prediction module in the hopping network through the network management channel.

4. The method according to claim 1, characterized in that The step of causing the network jump controller in the sender to shift the projection of the receiving jump period of the receiver on the network jump controller in the sender forward according to the total average network delay comprises: The network hopping controller in the sending party is caused to move the projection of the receiving hopping period of the receiving party in the network hopping controller of the sending party forward by the total average network delay.

5. The method according to claim 1, characterized in that The step of causing a network hopping controller in the receiving party to shift a receiving hopping period of the receiving party backward according to the total average network delay comprises: The network hopping controller in the receiving party moves the receiving hopping period of the receiving party backward by the total average network delay.

6. The method according to claim 1, characterized in that The test module in the hopping subnet sends a plurality of requests between the hopping subnet and each neighbor hopping subnet in the hopping network within a preset observation period, based on each hopping subnet in the hopping network, and collects the network delay of each request between the hopping subnet and each neighbor hopping subnet, including: Within a preset observation period, based on each hopping subnet in the hopping network, the test module in the hopping subnet controls the network hopping executor in the hopping subnet to send a preset number of query request messages to the network hopping executor of each neighboring hopping subnet, and receives a query reply message corresponding to each query request message; According to the query reply message corresponding to each query request message, the network delay of each request between the hopping subnet and each neighbor hopping subnet is obtained.

7. A network hopping time window dynamic offset device, characterized in that: include: A test collection module, configured to, within a preset observation period, based on each hopping subnet in the hopping network, have the test module in the hopping subnet send a plurality of requests between the hopping subnet and each neighboring hopping subnet in the hopping network, and collect the network delay of each request between the hopping subnet and each neighboring hopping subnet; A first calculation module, a test module for the hopping subnet, calculates the average network delay of the hopping subnet according to the network delay of each request between the hopping subnet and each neighbor hopping subnet, and sends the average network delay to the network delay statistical prediction module in the hopping network; A second calculation module is used for the network delay statistical prediction module to calculate the average of the average network delays of all the hopping subnets according to the average network delay of each hopping subnet, obtain the total average network delay of the hopping network, and send the total average network delay to the network hopping controller in each of the hopping subnets; A first offset module is used for any two hopping subnets in the hopping network that communicate as two communicating parties: enabling the network hopping controller in the sender to shift the projection of the receiving hopping period of the receiver on the network hopping controller in the sender forward to the total average network delay; Or, the network hopping controller in the receiver is made to shift the receiving hopping period of the receiver backward by the total average network delay.

8. A computer-readable storage medium having a computer program / instruction stored thereon, characterized in that: When the computer program / instruction is executed by a processor, the method for dynamically shifting a network transition time window as described in any one of claims 1 to 6 is implemented.

9. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instruction is executed by a processor, the method for dynamically shifting a network transition time window as described in any one of claims 1 to 6 is implemented.

10. A computer device comprising a memory, a processor and a computer program stored in the memory, characterized in that: The processor executes the computer program to implement the network hopping time window dynamic offset method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Multi-node network delay time window calculation method for hopping network

    CN113595769A

  • Trap construction method, system and equipment for power network protection and medium

    CN117749483A

  • Message sending method and device, storage medium and electronic device

    CN117811962A

  • Power line communication system, and in-network state detection method and device

    WO2023174043A1

Cited By

  • Synchronous data crosstalk effect optimization method and system and electronic equipment

    CN121547075A

  • Method, system and electronic device for optimizing crosstalk effects of synchronization data

    CN121547075B