[go: up one dir, main page]

CN120321320A - Address resolution protocol message sending method, device, computer equipment, readable storage medium and program product - Google Patents

Address resolution protocol message sending method, device, computer equipment, readable storage medium and program product

Info

Publication number
CN120321320A
CN120321320A CN202510709142.3A CN202510709142A CN120321320A CN 120321320 A CN120321320 A CN 120321320A CN 202510709142 A CN202510709142 A CN 202510709142A CN 120321320 A CN120321320 A CN 120321320A
Authority
CN
China
Prior art keywords
network
message
address resolution
resolution protocol
member interfaces
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202510709142.3A
Other languages
Chinese (zh)
Inventor
喻蕾霞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Telecom Cloud Technology Co Ltd
Original Assignee
China Telecom Cloud Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Telecom Cloud Technology Co Ltd filed Critical China Telecom Cloud Technology Co Ltd
Priority to CN202510709142.3A priority Critical patent/CN120321320A/en
Publication of CN120321320A publication Critical patent/CN120321320A/en
Pending legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application relates to an address resolution protocol message sending method, an address resolution protocol message sending device, computer equipment, a readable storage medium and a program product, which relate to the technical field of networks and can keep the stability of unstacking network communication. The method comprises the steps of determining a plurality of member interfaces aggregated through a server logic interface, enabling the plurality of member interfaces to correspond to different message receiving devices, determining network congestion indexes corresponding to the logic interfaces according to network monitoring data of the plurality of member interfaces, adjusting an initial index threshold according to the network monitoring data to obtain a current index threshold, sending an address resolution protocol message to the plurality of message receiving devices according to a normal processing mode if the network state is determined to be a normal state according to the network congestion indexes and the current index threshold, and sending the address resolution protocol message to the plurality of message receiving devices according to a preset time interval through the plurality of member interfaces if the network state is determined to be a congestion state according to the network congestion indexes and the current index threshold.

Description

Address resolution protocol message transmission method, device, computer equipment, readable storage medium and program product
Technical Field
The present application relates to the field of network technologies, and in particular, to a method, an apparatus, a computer device, a computer readable storage medium, and a computer program product for sending an address resolution protocol packet.
Background
Stacking techniques are to physically or logically bind together multiple network devices to improve reliability, performance, or management efficiency. However, stacking techniques have drawbacks such as low reliability of the unified control plane of the device, difficulty in upgrading, wasted ports for lateral connections, etc., and in order to solve these problems, de-stacking techniques have been developed.
In the unstacking network, the server may be provided with a logical interface, where the logical interface is formed by combining physical interfaces of a plurality of network devices, and the server may send Address resolution protocol (Address Resolution Protocol, ARP) messages to the plurality of network devices through the plurality of physical interfaces and ethernet, so as to implement mapping from an internet protocol (Internet Protocol, IP) Address to a media access Control Address (MEDIA ACCESS Control Address, MAC).
However, when the logic interface of the server is congested, the packet loss of the address resolution protocol packet may occur, and the address resolution protocol table entry storing the mapping relationship between the IP address and the MAC address in the network device cannot be updated in time, which affects the normal use of the network. Therefore, the method of sending the address resolution protocol message in the related art is difficult to ensure the stability of the network service.
Disclosure of Invention
In view of the foregoing, it is desirable to provide an address resolution protocol message sending method, apparatus, computer device, computer readable storage medium, and computer program product.
In a first aspect, the present application provides a method for sending an address resolution protocol packet, including:
determining a plurality of member interfaces aggregated through a server logic interface, wherein the member interfaces respectively correspond to different message receiving devices;
Determining a network congestion index corresponding to the logic interface according to the network monitoring data of each of the plurality of member interfaces, and adjusting a preset initial index threshold according to the network monitoring data to obtain a current index threshold;
If the network state is determined to be a normal state according to the network congestion index and the current index threshold, sending address resolution protocol messages to a plurality of message receiving devices according to a normal processing mode;
And if the network state is determined to be the congestion state according to the network congestion index and the current index threshold, sending address resolution protocol messages to the message receiving devices through the member interfaces for a plurality of times according to a preset time interval.
In one embodiment, the sending, by the plurality of member interfaces, the address resolution protocol packet to the plurality of packet receiving devices at a preset time interval for a plurality of times includes:
When the congestion state is the first-level congestion, sending address resolution protocol messages to the message receiving devices for a plurality of times according to a preset time interval;
and when the congestion state is second-level congestion, the processing priority of the address resolution protocol message is increased, and the address resolution protocol message is sent to the message receiving devices for a plurality of times according to the adjusted processing priority and a preset time interval, wherein the second-level congestion is higher than the first-level congestion.
In one embodiment, the step of increasing the processing priority of the address resolution protocol packet includes:
creating a message dedicated queue and distributing corresponding dedicated bandwidth for the message dedicated queue;
When the address resolution protocol message to be sent is obtained, the address resolution protocol message is added to the message special queue, so that the message special queue sends the address resolution protocol message through the special bandwidth.
In one embodiment, the determining, according to the network monitoring data of each of the plurality of member interfaces, a network congestion index corresponding to the logical interface includes:
according to the network monitoring data of each of the plurality of member interfaces, determining the packet loss rate, the bandwidth utilization rate and the time delay jitter of the plurality of member interfaces in the monitoring time;
And determining the network congestion index corresponding to the logic interface according to the packet loss rate, the bandwidth utilization rate and the time delay jitter of the plurality of member interfaces.
In one embodiment, the adjusting the preset initial index threshold according to the network monitoring data to obtain the current index threshold includes:
according to the network monitoring data of each of the plurality of member interfaces, determining the packet loss rate, the bandwidth utilization rate and the time delay jitter of the plurality of member interfaces in the monitoring time;
And inputting a preset initial index threshold, the packet loss rate, the bandwidth utilization rate and the delay jitter into an adaptive filter, and adjusting the initial index threshold by the adaptive filter according to the packet loss rate, the bandwidth utilization rate and the delay jitter to obtain a current index threshold.
In one embodiment, the sending, by the plurality of member interfaces, the address resolution protocol packet to the plurality of packet receiving devices at a preset time interval for a plurality of times includes:
acquiring a pre-constructed message sending script;
and executing the message sending script for a plurality of times according to a preset time interval, so as to send an address resolution protocol message to the message receiving equipment through the member interfaces when the message sending script is executed.
In a second aspect, the present application further provides an address resolution protocol packet sending device, including:
The system comprises an interface determining module, a message receiving module and a message receiving module, wherein the interface determining module is used for determining a plurality of member interfaces aggregated through a server logic interface;
The data acquisition module is used for determining a network congestion index corresponding to the logic interface according to the network monitoring data of each of the plurality of member interfaces, and adjusting a preset initial index threshold according to the network monitoring data to obtain a current index threshold;
The first processing module is used for sending address resolution protocol messages to the message receiving devices according to a normal processing mode if the network state is determined to be a normal state according to the network congestion index and the current index threshold;
And the second processing module is used for sending address resolution protocol messages to the message receiving devices through the member interfaces for a plurality of times according to a preset time interval if the network state is determined to be the congestion state according to the network congestion index and the current index threshold.
In a third aspect, the present application also provides a computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
determining a plurality of member interfaces aggregated through a server logic interface, wherein the member interfaces respectively correspond to different message receiving devices;
Determining a network congestion index corresponding to the logic interface according to the network monitoring data of each of the plurality of member interfaces, and adjusting a preset initial index threshold according to the network monitoring data to obtain a current index threshold;
If the network state is determined to be a normal state according to the network congestion index and the current index threshold, sending address resolution protocol messages to a plurality of message receiving devices according to a normal processing mode;
And if the network state is determined to be the congestion state according to the network congestion index and the current index threshold, sending address resolution protocol messages to the message receiving devices through the member interfaces for a plurality of times according to a preset time interval.
In a fourth aspect, the present application also provides a computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of:
determining a plurality of member interfaces aggregated through a server logic interface, wherein the member interfaces respectively correspond to different message receiving devices;
Determining a network congestion index corresponding to the logic interface according to the network monitoring data of each of the plurality of member interfaces, and adjusting a preset initial index threshold according to the network monitoring data to obtain a current index threshold;
If the network state is determined to be a normal state according to the network congestion index and the current index threshold, sending address resolution protocol messages to a plurality of message receiving devices according to a normal processing mode;
And if the network state is determined to be the congestion state according to the network congestion index and the current index threshold, sending address resolution protocol messages to the message receiving devices through the member interfaces for a plurality of times according to a preset time interval.
In a fifth aspect, the application also provides a computer program product comprising a computer program which, when executed by a processor, performs the steps of:
determining a plurality of member interfaces aggregated through a server logic interface, wherein the member interfaces respectively correspond to different message receiving devices;
Determining a network congestion index corresponding to the logic interface according to the network monitoring data of each of the plurality of member interfaces, and adjusting a preset initial index threshold according to the network monitoring data to obtain a current index threshold;
If the network state is determined to be a normal state according to the network congestion index and the current index threshold, sending address resolution protocol messages to a plurality of message receiving devices according to a normal processing mode;
And if the network state is determined to be the congestion state according to the network congestion index and the current index threshold, sending address resolution protocol messages to the message receiving devices through the member interfaces for a plurality of times according to a preset time interval.
The address resolution protocol message sending method, the device, the computer equipment, the computer readable storage medium and the computer program product can determine a plurality of member interfaces aggregated through a server logic interface, wherein the plurality of member interfaces respectively correspond to different message receiving equipment, then, according to network monitoring data of the plurality of member interfaces, a network congestion index corresponding to the logic interface can be determined, according to the network monitoring data, a preset initial index threshold value is adjusted to obtain a current index threshold value, further, if the network state is determined to be a normal state according to the network congestion index and the current index threshold value, address resolution protocol messages are sent to the plurality of message receiving equipment according to a normal processing mode, and if the network state is determined to be a congestion state according to the network congestion index and the current index threshold value, the address resolution protocol messages are sent to the plurality of message receiving equipment through the plurality of member interfaces according to a preset time interval. In the application, on one hand, the current index threshold value is dynamically adjusted according to the network monitoring data, so that flexible response to different network congestion conditions can be realized, the network congestion state is prevented from being determined by adopting a fixed threshold value, the ARP message scheduling mode can be timely adjusted in various network states, on the other hand, the network state is monitored in real time, and according to the network congestion condition and the index threshold value, the ARP message scheduling mode is transmitted according to a normal mode when the network state is normal, the additional influence on the network load is reduced, and meanwhile, delay and packet loss caused by the network congestion are reduced according to a preset time interval for a plurality of times when the network state is congested, so that the stability and reliability of communication in a unstacking network are effectively maintained.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the related art, the drawings that are needed in the description of the embodiments of the present application or the related technologies will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and other related drawings may be obtained according to these drawings without inventive effort to those of ordinary skill in the art.
FIG. 1 is a network topology of a unstacked network in one embodiment;
FIG. 2 is a flow chart of a method for sending an address resolution protocol message in one embodiment;
FIG. 3 is a flow chart of a dynamic updating of threshold values in one embodiment;
FIG. 4 is a network congestion state transition diagram in one embodiment;
FIG. 5 is a flowchart of a method for sending an address resolution protocol message according to another embodiment;
FIG. 6 is a block diagram illustrating an address resolution protocol message sending device according to an embodiment;
Fig. 7 is an internal structural diagram of a computer device in one embodiment.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
It should be noted that the terms "first," "second," and the like, as used herein, may be used to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from a second element. The terms "comprising" and "having," as well as any variations thereof, as used herein, are intended to cover a non-exclusive inclusion. The term "plurality" as used herein refers to two and more than two. The term "and/or" as used herein refers to one of, or any combination of, the various schemes therein.
In order to better understand the present application, the related art will be described below.
Stacking techniques are to physically or logically bind together multiple network devices to improve reliability, performance, or management efficiency. However, stacking techniques have drawbacks such as low reliability of the unified control plane of the device, difficulty in upgrading, wasted ports for lateral connections, etc., and in order to solve these problems, de-stacking techniques have been developed. The unstacking technology is a network architecture optimization method and aims to avoid or reduce problems and limitations caused by the traditional stacking technology through specific configuration and technical means.
In a unstacking network applying unstacking technology, the server side typically configures the interface aggregation in a dynamic aggregation manner (e.g. dynamic link aggregation mode 4), i.e. the server may be provided with a logical interface, which may be composed of a combination of physical interfaces of a plurality of network devices. For example, as shown in fig. 1, the server may bind (bond) physical network interfaces (such as ethernet cards) of two LEAF switches, which may each be connected to two SPINE (SPINE) switches, into one logical interface through an ethernet channel bonding technique, forming a SPINE network architecture.
Meanwhile, the LACP (Link Aggregation Control Protocol ) configuration to the two leaf switches may be kept consistent, including the same System identification (System ID) and Priority (Priority) settings, but different Port identification (Port ID) settings. Wherein the LACP is used to combine multiple physical network links into one logical link to increase bandwidth and provide redundancy. LACP is part of the IEEE 802.1AX standard, which allows network devices (e.g., switches and routers) to automatically negotiate and manage link aggregation, ensuring that data flows are evenly distributed among multiple links, thereby improving network performance and reliability.
The purpose of the above design is to make the server treat the two leaf switches as one device through the LACP negotiation mechanism, thereby optimizing network traffic management. The two leaf switches start the ARP local proxy function, configure the unified three-layer gateway interface MAC address, and simultaneously enable ARP direct connection routing. In addition, the routing information can be synchronously routed to the whole network through a border gateway protocol (Border Gateway Protocol, BGP), so that consistent understanding of each device on the network topology is ensured, and the network stability is further enhanced.
In the above architecture, the server may send address resolution protocol messages (also referred to as ARP messages) to a plurality of network devices through a plurality of physical interfaces and ethernet, thereby implementing mapping from IP addresses to MAC addresses.
However, ethernet is a best effort switching network technology, and packet loss or transmission failure may occur when the network is busy. When the logic interface of the server side is congested, the situation of packet loss of ARP messages may occur, so that ARP table entries of the mapping relation between the IP address and the MAC address stored by the leaf switch side are not updated in time. Because the flow from the leaf switch to the server depends on the ARP direct-connection routing function, all the network flow from the switch to the server is lost under the condition that ARP list items are not updated in time, and the network flow can not be recovered to be normal until the ARP list items at the switch side are recovered. Therefore, the method of sending the address resolution protocol message in the related art is difficult to ensure the stability of the network service.
In view of the foregoing, it is desirable to provide an address resolution protocol message sending method, apparatus, computer device, computer readable storage medium and computer program product, so as to improve the stability and reliability of network services under a unstacked network.
In an exemplary embodiment, as shown in fig. 2, an address resolution protocol messaging method is provided, and the method is applied to a server for illustration, and includes the following steps S201 to S204. Wherein:
step S201, determining a plurality of member interfaces aggregated through a server logic interface, wherein the plurality of member interfaces respectively correspond to different message receiving devices.
In a specific implementation, the multiple member interfaces can be aggregated through the server logic interface, and the multiple member interfaces respectively correspond to different message receiving devices. In some embodiments, the plurality of member interfaces may be physical network interfaces (such as network cards) corresponding to two or more switches, and the plurality of member interfaces may be aggregated into a logical interface of the server, also referred to as a bond interface, by an ethernet channel bonding technique.
Step S202, according to the network monitoring data of each member interface, determining the network congestion index corresponding to the logic interface, and according to the network monitoring data, adjusting the preset initial index threshold to obtain the current index threshold.
In a specific implementation, network monitoring may be performed on each member interface in the logical interfaces to obtain network monitoring data, where the network monitoring data may be data reflecting network states of the member interfaces and/or links corresponding to the member interfaces.
Then, on the one hand, the network congestion condition of the logical interface can be evaluated by combining the network monitoring data of each of the plurality of member interfaces, so as to obtain a network congestion index corresponding to the logical interface, wherein the network congestion index is also called a congestion index (C), and can reflect the network congestion condition of the logical interface.
On the other hand, the preset initial index threshold value can be adjusted by combining the network monitoring data of each of the plurality of member interfaces to obtain the current index threshold value, wherein the initial index threshold value can be used as a reference standard to be compared with the current network congestion index of the logic interface. In some embodiments, the initial index threshold may be one, and the network state may be divided into two parts by comparing the network congestion index with a single index threshold, and of course, the initial index threshold may be multiple, and by comparing the network congestion index with multiple index thresholds, multiple (such as three or more) network states may be more carefully identified, so as to facilitate adoption of more carefully diverse ARP message scheduling strategies.
Step S203, if the network state is determined to be normal according to the network congestion index and the current index threshold, the address resolution protocol message is sent to the message receiving devices according to the normal processing mode.
In some related technologies, for example, according to the principle of flow HASH (HASH), the server may select one of the plurality of member interfaces to send an ARP message according to a related algorithm, for example, if a logical bond interface of the server is configured by two 25G member interfaces, and the bond interface is used as an external interface, when sending the ARP message, the related technology may select one of the bond interfaces to send the ARP message, which may cause that ARP entries of the plurality of message receiving apparatuses are not synchronized.
In this way, the server can start the multi-sending function (such as the double-sending function) of the ARP message, so that the server can respectively send the same ARP message to a plurality of message receiving devices through each member interface.
In some embodiments, the unstacking network may employ an S-MLAG (Split Multi-Link Aggregation Group ) scheme, which is an enhanced link aggregation technique for improving network redundancy and bandwidth that allows aggregation of links of multiple switches into one logical group for higher bandwidth and better failure recovery capability, and in an S-MLAG configuration, links may provide redundant paths across multiple switches to ensure that network traffic can continue to be normally transmitted in the event of a failure of a single switch or link, which may be applied to data centers and large enterprise networks, helping to improve reliability and scalability of the network. In the S-MLAG scheme, a plurality of message receiving devices are completely independent at the control level, and the synchronization of routing, ARP and MAC (media access control) items can be realized by a server for information multiple, namely when the server sends ARP requests and receives response information of the message receiving devices, the server can send the ARP requests and receive the response information through all member interfaces aggregated by a logic interface, so that the synchronization of ARP and MAC items of unstacking devices is realized.
Based on this, in this embodiment, after the network congestion index and the current index threshold are obtained, the network congestion index and the current index threshold may be compared, and the network state may be determined according to the comparison result. If the network state is determined to be normal according to the network congestion index and the current index threshold, the address resolution protocol message can be sent to the message receiving devices according to a normal processing mode preset by the ARP message, that is, when the network state is normal, the ARP message can be sent to all the message receiving devices through all the member interfaces, for example, when the server is connected to two leaf switches, the ARP dual-sending function can respectively send the same ARP message to the two leaf switches. The normal processing mode can be understood as processing the address resolution request and the response according to the standard workflow and rules, that is, the ARP message is forwarded normally without additional measures.
Step S204, if the network state is determined to be the congestion state according to the network congestion index and the current index threshold, the address resolution protocol message is sent to the message receiving devices for a plurality of times according to the preset time interval through the member interfaces.
If the network state is determined to be the congestion state according to the network congestion index and the current index threshold, the address resolution protocol message can be sent to a plurality of message receiving devices through a plurality of member interfaces for a plurality of times according to a preset time interval. In other words, in this embodiment, when it is determined that the network is relatively congested, the address resolution protocol packet may be sent to each packet receiving device through each member interface periodically and repeatedly, so that ARP packets may be prevented from being lost or expired due to light network congestion by periodically sending ARP packets to a plurality of packet receiving devices repeatedly when the network is congested. In some examples, the frequency of ARP timing transmissions may be determined based on network load, e.g., the frequency of transmissions may be increased if the member interface network load is low, and decreased if the network load is high to reduce additional impact on the network load, e.g., ARP messages may be transmitted at preset time intervals of a few seconds to tens of seconds.
The address resolution protocol message sending method comprises the steps of determining a plurality of member interfaces aggregated through a server logic interface, wherein the plurality of member interfaces respectively correspond to different message receiving devices, determining a network congestion index corresponding to the logic interface according to network monitoring data of the plurality of member interfaces, adjusting a preset initial index threshold according to the network monitoring data to obtain a current index threshold, further sending the address resolution protocol message to the plurality of message receiving devices according to a normal processing mode if the network congestion index and the current index threshold are determined to be normal, and sending the address resolution protocol message to the plurality of message receiving devices according to a preset time interval through the plurality of member interfaces if the network congestion index and the current index threshold are determined to be congestion. In the embodiment, on one hand, the current index threshold value is dynamically adjusted according to the network monitoring data, so that flexible response to different network congestion conditions can be realized, the network congestion state is prevented from being determined by adopting a fixed threshold value, the ARP message scheduling mode can be adjusted in time in various network states, on the other hand, the network state is monitored in real time and the network congestion conditions and the index threshold value are used for controlling the ARP message scheduling mode, and the network is transmitted according to a normal mode when the network state is normal, so that the additional influence on the network load is reduced, and meanwhile, the delay and the packet loss caused by the network congestion are reduced according to the preset time interval when the network state is congested, thereby effectively maintaining the stability and the reliability of communication in the unstacked network.
In an exemplary embodiment, in step S202, determining, according to the network monitoring data of each of the plurality of member interfaces, a network congestion index corresponding to the logical interface may include the following steps:
And determining the network congestion index corresponding to the logic interface according to the packet loss rate, the bandwidth utilization rate and the time delay jitter of the plurality of member interfaces.
In practical application, the state of the logic interface and each member interface in the logic interface can be continuously monitored, flow statistic data can be periodically read, and network monitoring indexes such as delay information and the like can be estimated by using a network tool, so that the network state can be comprehensively known.
Specifically, in this embodiment, according to the network monitoring data of each of the plurality of member interfaces, the packet loss rate, the bandwidth utilization rate and the delay jitter of the plurality of member interfaces in the monitoring time may be determined. In one embodiment, the packet loss rate, bandwidth utilization and delay jitter of the multiple member interfaces may be obtained by:
(1) And acquiring network card flow data of each member interface in the logic interfaces. For example, during the monitoring time T, the data reception situation (RX) of the member interface, such as the interface traffic (rx_bytes), may be obtained using virtual files, which in one example may be proc, net, dev or other virtual files, which may provide network interface statistics, covering both reception and transmission aspects. Further, a flow difference value may be calculated within the monitoring time T, the flow difference value=rx_bytes_end-rx_bytes_start, where rx_bytes_end is the interface flow at the end of the monitoring time T and rx_bytes_start is the interface flow at the beginning of the monitoring time T.
(2) The bandwidth utilization is calculated from the traffic difference, and in one example, the bandwidth utilization U may be calculated as follows:
u= (traffic difference/time interval T)/total bandwidth x 100%
(3) And in the monitoring time T, acquiring the number of messages (RX_packets) and the number of lost packets received by the interface by using the virtual file. Then, a packet loss number difference drops _diff= drops _end-drops _start may be calculated for the monitoring time T, and a total number of packets rx_packets_diff=rx_packets_end-rx_packets_start received for the monitoring time T may be calculated. Wherein drops _end is the packet loss number at the end of the monitoring time T, drops _start is the packet loss number at the beginning of the monitoring time T, rx_packets_end is the packet number at the end of the time T, and drops _start is the packet number at the beginning of the monitoring time T.
(4) And calculating the packet loss rate. In an example, the packet loss rate L may be calculated as follows:
l= (packet loss number difference drops _diff/total packet number rx_packets_diff) ×100%
(5) Multiple ICMP requests are made to a target host using a network tool (e.g., a network diagnostic tool ping) to obtain delay data for the network. The probe packet is transmitted a plurality of times within the Time T and its Round-Trip Time (RTT) is recorded. The round trip time RTT, also referred to as round trip delay, refers to the total time required for a data packet to be sent from a source device to a destination device and back to the source device, and may be used to measure network delay, which may include, for example, the transmission time of the data packet and the delay of any routing, processing, or queuing.
(6) The delay jitter J may then be calculated from the round trip time, e.g. n round trip times x i may be recorded in T times, the delay average μ is calculated, and the delay jitter J is then calculated as follows:
In some embodiments, for each member interface, the packet loss rate, bandwidth utilization, and delay jitter corresponding to each member interface may be calculated in the manner described above. Then, according to the packet loss rate, the bandwidth utilization rate and the time delay jitter of the plurality of member interfaces, the network congestion index corresponding to the logic interface can be determined.
In some embodiments, the overall packet loss rate, the overall bandwidth utilization rate, and the overall delay jitter may be determined according to statistical processing results of the packet loss rates, the bandwidth utilization rates, and the delay jitter of the plurality of member interfaces, and then the network congestion index C may be calculated according to the manner shown below.
Wherein, C is network congestion index (index), U is bandwidth utilization rate, L is packet loss rate, J is delay jitter, W U 、WL、WJ is weight coefficient of bandwidth utilization rate, packet loss rate and delay jitter, the influence of bandwidth utilization rate, packet loss rate and delay jitter on network congestion is different, and the weight coefficient can be adjusted according to specific conditions. In some embodiments, the bandwidth utilization rate, the packet loss rate and the delay jitter are indexes for measuring whether the network is congested, the high and low of the bandwidth utilization rate reflects the load condition of the network, the high and low of the packet loss rate reflects the stability and reliability of the network, and the high and low of the delay jitter reflects the stability and consistency of the network.
In this embodiment, by integrating the three indexes, the network congestion index can comprehensively reflect the network state in multiple dimensions, and a reliable basis is provided for subsequently adjusting the ARP message scheduling policy, so that the ARP message scheduling manner can effectively adapt to the real network state. The larger the value of the network congestion index, the more serious the network congestion condition, and the network state can be defined as different congestion levels according to the range of the network congestion index.
In one embodiment, in step S202, the adjusting the preset initial exponent threshold according to the network monitoring data to obtain the current exponent threshold may include the following steps:
The method comprises the steps of determining packet loss rates, bandwidth utilization rates and time delay jitter of a plurality of member interfaces in monitoring time according to network monitoring data of the member interfaces, inputting preset initial index threshold values, packet loss rates, bandwidth utilization rates and time delay jitter into an adaptive filter, and adjusting the initial index threshold values by the adaptive filter according to the packet loss rates, the bandwidth utilization rates and the time delay jitter to obtain current index threshold values.
In a specific implementation, the packet loss rate, the bandwidth utilization rate and the delay jitter of the plurality of member interfaces in the monitoring time can be determined according to the network monitoring data of the plurality of member interfaces. The specific determination manner may refer to the foregoing embodiments, and will not be described herein.
After obtaining the packet loss rate, the bandwidth utilization rate, and the delay jitter, as shown in fig. 3, a preset initial exponent threshold (also referred to as an initial threshold) may be obtained, where the initial exponent threshold may include k_min and k_max. Then, the initial index threshold, the packet loss rate, the bandwidth utilization rate and the delay jitter can be input into the adaptive filter, and the adaptive filter dynamically adjusts the initial index threshold according to the packet loss rate, the bandwidth utilization rate and the delay jitter, for example, the threshold K_min and the threshold K_max are dynamically adjusted, so that the updated current index threshold can be obtained according to the output of the adaptive filter.
In this embodiment, by adjusting the initial exponential threshold by using an adaptive filter, the threshold can be dynamically adjusted by using an adaptive adjustment mechanism according to actual network data, so as to effectively reduce the occurrence of such erroneous judgment and missed judgment, thereby improving the stability of the system and the reliability of ARP message policy adjustment, for example, in the normal network fluctuation range, the threshold can be correspondingly adjusted to avoid triggering unnecessary alarms or operations due to small-amplitude fluctuation, and when a real problem occurs, the threshold can be timely adjusted to accurately identify the problem.
In an exemplary embodiment, in step S204, sending, through the plurality of member interfaces, an address resolution protocol packet to the plurality of packet receiving devices at a preset time interval for a plurality of times may include the steps of:
When the congestion state is the second level congestion, the processing priority of the address resolution protocol message is increased, and the address resolution protocol message is sent to the plurality of message receiving devices for a plurality of times according to the preset time interval, wherein the second level congestion is higher than the first level congestion.
In practical applications, the current exponent threshold may include k_min and k_max, and by combining the network congestion exponents of the logical interfaces with k_min and k_max, it may be determined whether the network is in a normal state or in a congested state, and a specific level of the congested state. For example, as shown in fig. 4, if the network congestion index C is in the range of 0+.c < k_min, the network state may be determined to be normal, where the network state is good, and no obvious congestion exists, if the network congestion index C is in the range of k_min+.c < k_max, the network may be determined to be in the first level of congestion, i.e. slightly congested, where slight congestion starts to occur, and some delay increase or packet loss may occur, and if the network congestion index C is in the range of c+.k_max, the network may be determined to be in the second level of congestion, where the network is in the serious congestion state, the user experience may be significantly affected, and the data transmission rate may be greatly reduced. It will be appreciated that as shown in fig. 4, the normal state, the first level congestion and the second level congestion may be switched between each other.
In this embodiment, when the congestion state is the first level congestion, the address resolution protocol packet may be sent to the plurality of packet receiving devices for multiple times according to the preset time interval, that is, the ARP packet may be sent for multiple times at regular time by adjusting the number of times of sending the ARP packet, so as to reduce the risk that the ARP packet may be delayed or lost. For example, a timing task may be configured in a network device or system that triggers the sending of ARP messages periodically.
When the congestion state is second-level congestion, the processing priority of the ARP message can be firstly increased, for example, the service quality (Quality of Service, qoS) configuration of the network equipment can be adjusted, the processing priority of the ARP message in the network traffic is ensured to be improved, thereby reducing delay and packet loss risks, ensuring timely transmission of the ARP message, and then the address resolution protocol message is sent to a plurality of message receiving equipment according to the adjusted processing priority for a plurality of times at preset time intervals, wherein the second-level congestion is higher than the first-level congestion. Thus, the ARP table entry can be ensured to be continuously updated, and even under the condition of high network load, the accurate address mapping among network devices can be maintained.
In this embodiment, when the congestion state is the first-level congestion, the address resolution problem possibly caused by congestion is relieved by sending ARP messages for multiple times, and the possible failure of address resolution under light congestion can be solved at a lower cost without requiring complex processing logic and additional resource investment; when the congestion state is the second level congestion, the ARP message is still subjected to successful processing by priority processing and repeated sending, so that the network communication problem caused by untimely ARP message processing under the condition of network congestion is solved, normal communication among devices in a network is maintained, and the capability of the system for coping with heavy congestion is enhanced. In addition, the embodiment concentrates, when the network is normal, the normal forwarding of the ARP message is maintained, when the network is slightly congested, the ARP message is sent regularly to prevent the ARP list item from being lost, when the network is severely congested, the priority of the ARP message is improved, the timely transmission of the ARP message is ensured, the adaptive ARP message scheduling strategy can be differentiated and flexibly adopted under different network states, and the processing efficiency of the ARP message is improved.
In an exemplary embodiment, the process priority of the address resolution protocol message is increased, which may include the following steps:
When the address analysis protocol message to be sent is obtained, the address analysis protocol message is added to the special message queue, so that the special message queue can send the address analysis protocol message through the special bandwidth.
In a specific implementation, a message dedicated queue may be created and a corresponding dedicated bandwidth may be allocated to the message dedicated queue.
In one embodiment, qoS policies may be configured using a flow control tool (e.g., tc commands for Linux) to implement priority handling of certain types of network traffic through layered queues and filters.
Specifically, a root queue (root) may be first constructed, and the root queue may serve as an entry point of traffic, and a data packet to be sent may be distributed to a sub-queue under the root queue. A corresponding main queue may be set under the per-queue and a total bandwidth (e.g., 1 Mbps) may be set for the main queue. There may be one or more sub-queues under the main queue, where one sub-queue is a message-specific queue, and a portion of the total bandwidth is allocated as a specific bandwidth to the message-specific queue. When the main queue acquires the data packet, the ARP message (namely the ARP data packet) can be added into the acquired message special queue according to the filtering rule, so that the message special queue can transmit the address resolution protocol message through the special bandwidth, and the message special queue can transmit the address resolution protocol message through the special bandwidth. In some embodiments, the dedicated bandwidth allocated to the message-specific queue may be greater than or equal to a predetermined proportion, thereby ensuring that the message-specific bandwidth has sufficient bandwidth to transmit ARP messages.
In this embodiment, by creating a dedicated queue for a message and allocating a dedicated bandwidth to the queue, an ARP message does not need to compete with other messages in a network congestion environment, so that the ARP message can be ensured to be processed in time even when the network is congested, and the ARP message can still be rapidly processed through the dedicated queue and the dedicated bandwidth, so as to maintain normal operation of the network.
In some embodiments, when it is determined that the network state is switched from the congestion state to the normal state, the ARP message priority may be restored, e.g., the filtering rule is deleted, so that the ARP message priority normally enters a corresponding queue (e.g., other than the message-specific queue).
In an exemplary embodiment, sending, through the plurality of member interfaces, the address resolution protocol packet to the plurality of packet receiving devices at a plurality of preset time intervals may include the steps of:
And executing the message sending script for a plurality of times according to a preset time interval to send an address resolution protocol message to the message receiving equipment through a plurality of member interfaces when the message sending script is executed.
In a specific implementation, a user may pre-write a message sending script, where the message sending script may instruct the server to send a gratuitous ARP message (e.g., 1 gratuitous ARP request) from a designated member interface to a message receiving device indicated by a target address.
Then, the message sending script may be executed multiple times at preset time intervals, so that when the message sending script is executed, the trigger server sends an address resolution protocol message to the message receiving device through multiple member interfaces. In an alternative embodiment, a timer file may be created, which may instruct to execute the messaging script every x seconds, thereby enabling the function of sending gratuitous ARP requests at regular intervals.
In the embodiment, on one hand, the message sending script is constructed in advance, so that the ARP message can be sent only by executing the script for multiple times according to the preset time interval, manual configuration and sending are not needed each time, the workload of manual operation is greatly reduced, the operation efficiency is improved, and on the other hand, the mode, the content, the sending time interval and the like of each time of sending the ARP message can be ensured to be consistent, and the stability and the reliability of network communication are ensured.
In one embodiment, when it is determined that the network state switches from the congestion state to the normal state, the timing of the ARP message may be stopped, for example, the timer may be stopped to trigger the execution of the messaging script.
In an exemplary embodiment, another address resolution protocol messaging method is provided, as described below in connection with fig. 5. In this example, the following steps may be included:
s501, determining a plurality of member interfaces aggregated through a bond port (namely a logic interface) of a server, and then, within a monitoring time T, acquiring traffic state monitoring data of the plurality of member interfaces in the bond port.
S502, calculating total message number and total packet loss number in the monitoring time T according to the flow state monitoring data of the plurality of member interfaces, calculating packet loss rate in the monitoring time T according to the total message number and the total packet loss number, calculating total received bytes in the monitoring time T according to the flow state monitoring data of the plurality of member interfaces, determining bandwidth utilization rate of the monitoring time T according to the total received bytes, determining RTT value of the monitoring time T according to the flow state monitoring data of the plurality of member interfaces, and determining delay jitter of the monitoring time T according to the RTT value.
S503, determining a congestion index (namely, a network congestion index) C according to the packet loss rate, the bandwidth utilization rate and the time delay jitter, inputting an initial threshold value, the packet loss rate, the bandwidth utilization rate and the time delay jitter into the adaptive filter, and determining dynamically adjusted threshold values K_min and K_max.
S504, if C is less than or equal to K_min, no extra measures are needed, if K_min is less than or equal to C is less than or equal to K_max, the member interfaces are triggered to send ARP messages to the message receiving devices at regular time, if C is more than or equal to K_max, the ARP message processing priority is increased, and the member interfaces are triggered to send ARP messages to the message receiving devices at regular time. Then, the process returns to step S501 again.
It should be understood that, although the steps in the flowcharts related to the embodiments described above are sequentially shown as indicated by arrows, these steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in the flowcharts described in the above embodiments may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the steps or stages is not necessarily performed sequentially, but may be performed alternately or alternately with at least some of the other steps or stages. It is understood that the steps in the different embodiments may be freely combined according to the needs, and various contradictory schemes formed by combining all fall within the protection scope of the present application.
Based on the same inventive concept, the embodiment of the application also provides an address resolution protocol message sending device for implementing the above-mentioned address resolution protocol message sending method. The implementation of the solution provided by the device is similar to the implementation described in the above method, so the specific limitation in the embodiments of one or more address resolution protocol message sending devices provided below may refer to the limitation of the address resolution protocol message sending method hereinabove, and will not be repeated herein.
In an exemplary embodiment, as shown in fig. 6, there is provided an address resolution protocol packet transmission apparatus, including:
the interface determining module 601 is configured to determine a plurality of member interfaces aggregated through a server logical interface, where the plurality of member interfaces respectively correspond to different message receiving devices;
The data obtaining module 602 is configured to determine a network congestion index corresponding to the logical interface according to the network monitoring data of each of the plurality of member interfaces, and adjust a preset initial index threshold according to the network monitoring data to obtain a current index threshold;
a first processing module 603, configured to send an address resolution protocol packet to a plurality of packet receiving devices according to a normal processing mode if it is determined that the network state is a normal state according to the network congestion index and the current index threshold;
And the second processing module 604 is configured to send address resolution protocol messages to the plurality of message receiving devices through the plurality of member interfaces for a plurality of times according to a preset time interval if it is determined that the network state is the congestion state according to the network congestion index and the current index threshold.
In one embodiment, the second processing module 604 is configured to:
When the congestion state is the first-level congestion, sending address resolution protocol messages to the message receiving devices for a plurality of times according to a preset time interval;
and when the congestion state is second-level congestion, the processing priority of the address resolution protocol message is increased, and the address resolution protocol message is sent to the message receiving devices for a plurality of times according to the adjusted processing priority and a preset time interval, wherein the second-level congestion is higher than the first-level congestion.
In one embodiment, the second processing module 604 is configured to:
creating a message dedicated queue and distributing corresponding dedicated bandwidth for the message dedicated queue;
When the address resolution protocol message to be sent is obtained, the address resolution protocol message is added to the message special queue, so that the message special queue sends the address resolution protocol message through the special bandwidth.
In one embodiment, the data acquisition module 602 is configured to:
according to the network monitoring data of each of the plurality of member interfaces, determining the packet loss rate, the bandwidth utilization rate and the time delay jitter of the plurality of member interfaces in the monitoring time;
And determining the network congestion index corresponding to the logic interface according to the packet loss rate, the bandwidth utilization rate and the time delay jitter of the plurality of member interfaces.
In one embodiment, the data acquisition module 602 is configured to:
according to the network monitoring data of each of the plurality of member interfaces, determining the packet loss rate, the bandwidth utilization rate and the time delay jitter of the plurality of member interfaces in the monitoring time;
And inputting a preset initial index threshold, the packet loss rate, the bandwidth utilization rate and the delay jitter into an adaptive filter, and adjusting the initial index threshold by the adaptive filter according to the packet loss rate, the bandwidth utilization rate and the delay jitter to obtain a current index threshold.
In one embodiment, the second processing module 604 is configured to:
acquiring a pre-constructed message sending script;
and executing the message sending script for a plurality of times according to a preset time interval, so as to send an address resolution protocol message to the message receiving equipment through the member interfaces when the message sending script is executed.
The above-mentioned all modules in the address resolution protocol message sending device may be implemented in whole or in part by software, hardware and a combination thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one exemplary embodiment, a computer device is provided, which may be a server, the internal structure of which may be as shown in fig. 7. The computer device includes a processor, a memory, an Input/Output interface (I/O) and a communication interface. The processor, the memory and the input/output interface are connected through a system bus, and the communication interface is connected to the system bus through the input/output interface. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database of the computer device is used for storing ARP message data. The input/output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used for communicating with an external terminal through a network connection. The computer program when executed by a processor implements an address resolution protocol messaging method.
It will be appreciated by those skilled in the art that the structure shown in FIG. 7 is merely a block diagram of some of the structures associated with the present inventive arrangements and is not limiting of the computer device to which the present inventive arrangements may be applied, and that a particular computer device may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having stored therein a computer program, the processor implementing the steps of the method embodiments described above when the computer program is executed.
In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored which, when executed by a processor, implements the steps of the method embodiments described above.
In an embodiment, a computer program product is provided, comprising a computer program which, when executed by a processor, implements the steps of the method embodiments described above. It should be noted that, the user information (including but not limited to user equipment information, user personal information, etc.) and the data (including but not limited to data for analysis, stored data, presented data, etc.) related to the present application are both information and data authorized by the user or sufficiently authorized by each party, and the collection, use and processing of the related data are required to meet the related regulations.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, database, or other medium used in embodiments provided herein may include at least one of non-volatile memory and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high density embedded nonvolatile Memory, resistive random access Memory (RESISTIVE RANDOM ACCESS MEMORY, reRAM), magneto-resistive Memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric Memory (Ferroelectric Random Access Memory, FRAM), phase change Memory (PHASE CHANGE Memory, PCM), graphene Memory, and the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, and the like. By way of illustration, and not limitation, RAM can be in various forms such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), etc. The databases referred to in the embodiments provided herein may include at least one of a relational database and a non-relational database. The non-relational database may include, but is not limited to, a blockchain-based distributed database, and the like. The processor referred to in the embodiments provided in the present application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic unit, a data processing logic unit based on quantum computation, an artificial intelligence (ARTIFICIAL INTELLIGENCE, AI) processor, or the like, but is not limited thereto.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the present application.
The foregoing examples illustrate only a few embodiments of the application and are described in detail herein without thereby limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of the application should be assessed as that of the appended claims.

Claims (10)

1.一种地址解析协议报文发送方法,其特征在于,所述方法包括:1. A method for sending an address resolution protocol message, characterized in that the method comprises: 确定通过服务器逻辑接口聚合的多个成员接口;所述多个成员接口分别对应不同的报文接收设备;Determine a plurality of member interfaces aggregated through a server logical interface; the plurality of member interfaces respectively correspond to different message receiving devices; 根据所述多个成员接口各自的网络监测数据,确定所述逻辑接口对应的网络拥塞指数,以及,根据所述网络监测数据,对预设的初始指数阈值进行调整,得到当前指数阈值;Determine the network congestion index corresponding to the logical interface according to the network monitoring data of each of the plurality of member interfaces, and adjust the preset initial index threshold according to the network monitoring data to obtain the current index threshold; 若根据所述网络拥塞指数和所述当前指数阈值确定网络状态为正常状态,则按照正常处理模式向多个报文接收设备发送地址解析协议报文;If the network state is determined to be normal according to the network congestion index and the current index threshold, sending an address resolution protocol message to multiple message receiving devices in a normal processing mode; 若根据所述网络拥塞指数和所述当前指数阈值,确定网络状态为拥塞状态,则通过所述多个成员接口,按照预设时间间隔多次向所述多个报文接收设备发送地址解析协议报文。If the network state is determined to be a congested state according to the network congestion index and the current index threshold, address resolution protocol messages are sent to the multiple message receiving devices multiple times at preset time intervals through the multiple member interfaces. 2.根据权利要求1所述的方法,其特征在于,所述通过所述多个成员接口,按照预设时间间隔多次向所述多个报文接收设备发送地址解析协议报文,包括:2. The method according to claim 1, wherein the sending of address resolution protocol messages to the plurality of message receiving devices multiple times at preset time intervals through the plurality of member interfaces comprises: 当所述拥塞状态为第一级别拥塞时,按照预设时间间隔多次向所述多个报文接收设备发送地址解析协议报文;When the congestion state is the first level of congestion, sending an address resolution protocol message to the multiple message receiving devices multiple times at a preset time interval; 当所述拥塞状态为第二级别拥塞时,调高所述地址解析协议报文的处理优先级,并根据调整后的所述处理优先级,按照预设时间间隔多次向所述多个报文接收设备发送地址解析协议报文;所述第二级别拥塞高于所述第一级别拥塞。When the congestion state is the second level congestion, the processing priority of the address resolution protocol message is increased, and according to the adjusted processing priority, the address resolution protocol message is sent to the multiple message receiving devices multiple times at preset time intervals; the second level congestion is higher than the first level congestion. 3.根据权利要求2所述的方法,其特征在于,所述调高所述地址解析协议报文的处理优先级,包括:3. The method according to claim 2, wherein the step of increasing the processing priority of the address resolution protocol message comprises: 创建报文专用队列并为所述报文专用队列分配对应的专用带宽;Creating a dedicated queue for messages and allocating a corresponding dedicated bandwidth to the dedicated queue for messages; 在获取到待发送的所述地址解析协议报文时,将所述地址解析协议报文添加到所述报文专用队列,以由所述报文专用队列通过所述专用带宽进行地址解析协议报文发送。When the address resolution protocol message to be sent is obtained, the address resolution protocol message is added to the message dedicated queue, so that the address resolution protocol message is sent by the message dedicated queue through the dedicated bandwidth. 4.根据权利要求1所述的方法,其特征在于,所述根据所述多个成员接口各自的网络监测数据,确定所述逻辑接口对应的网络拥塞指数,包括:4. The method according to claim 1, wherein determining the network congestion index corresponding to the logical interface according to the network monitoring data of each of the plurality of member interfaces comprises: 根据所述多个成员接口各自的网络监测数据,确定监测时间内所述多个成员接口的丢包率、带宽利用率和时延抖动;Determine the packet loss rate, bandwidth utilization and delay jitter of the multiple member interfaces within the monitoring time according to the network monitoring data of each of the multiple member interfaces; 根据所述多个成员接口的丢包率、带宽利用率和时延抖动,确定所述逻辑接口对应的网络拥塞指数。A network congestion index corresponding to the logical interface is determined according to the packet loss rates, bandwidth utilization rates, and delay jitters of the multiple member interfaces. 5.根据权利要求1所述的方法,其特征在于,所述根据所述网络监测数据,对预设的初始指数阈值进行调整,得到当前指数阈值,包括:5. The method according to claim 1, characterized in that the adjusting the preset initial index threshold according to the network monitoring data to obtain the current index threshold comprises: 根据所述多个成员接口各自的网络监测数据,确定监测时间内所述多个成员接口的丢包率、带宽利用率和时延抖动;Determine the packet loss rate, bandwidth utilization and delay jitter of the multiple member interfaces within the monitoring time according to the network monitoring data of each of the multiple member interfaces; 将预设的初始指数阈值、所述丢包率、带宽利用率和时延抖动输入到自适应滤波器,由所述自适应滤波器根据所述丢包率、带宽利用率和时延抖动,对所述初始指数阈值进行调整,得到当前指数阈值。The preset initial index threshold, the packet loss rate, the bandwidth utilization rate and the delay jitter are input into the adaptive filter, and the adaptive filter adjusts the initial index threshold according to the packet loss rate, the bandwidth utilization rate and the delay jitter to obtain the current index threshold. 6.根据权利要求1至5中任一项所述的方法,其特征在于,所述通过所述多个成员接口,按照预设时间间隔多次向所述多个报文接收设备发送地址解析协议报文,包括:6. The method according to any one of claims 1 to 5, characterized in that the sending of address resolution protocol messages to the multiple message receiving devices multiple times at preset time intervals through the multiple member interfaces comprises: 获取预先构建的报文发送脚本;Get a pre-built message sending script; 按照预设时间间隔多次执行所述报文发送脚本,以在所述报文发送脚本被执行时通过所述多个成员接口向所述报文接收设备发送地址解析协议报文。The message sending script is executed multiple times at preset time intervals, so as to send address resolution protocol messages to the message receiving device through the multiple member interfaces when the message sending script is executed. 7.一种地址解析协议报文发送装置,其特征在于,所述装置包括:7. An address resolution protocol message sending device, characterized in that the device comprises: 接口确定模块,用于确定通过服务器逻辑接口聚合的多个成员接口;所述多个成员接口分别对应不同的报文接收设备;An interface determination module, used to determine a plurality of member interfaces aggregated through a server logical interface; the plurality of member interfaces respectively correspond to different message receiving devices; 数据获取模块,用于根据所述多个成员接口各自的网络监测数据,确定所述逻辑接口对应的网络拥塞指数,以及,根据所述网络监测数据,对预设的初始指数阈值进行调整,得到当前指数阈值;A data acquisition module, configured to determine the network congestion index corresponding to the logical interface according to the network monitoring data of each of the plurality of member interfaces, and to adjust the preset initial index threshold according to the network monitoring data to obtain the current index threshold; 第一处理模块,用于若根据所述网络拥塞指数和所述当前指数阈值确定网络状态为正常状态,则按照正常处理模式向多个报文接收设备发送地址解析协议报文;A first processing module, configured to send an address resolution protocol message to multiple message receiving devices in a normal processing mode if the network state is determined to be normal according to the network congestion index and the current index threshold; 第二处理模块,用于若根据所述网络拥塞指数和所述当前指数阈值,确定网络状态为拥塞状态,则通过所述多个成员接口,按照预设时间间隔多次向所述多个报文接收设备发送地址解析协议报文。The second processing module is used to send address resolution protocol messages to the multiple message receiving devices through the multiple member interfaces at preset time intervals for multiple times if the network state is determined to be a congested state according to the network congestion index and the current index threshold. 8.一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,其特征在于,所述处理器执行所述计算机程序时实现权利要求1至6中任一项所述的方法的步骤。8. A computer device, comprising a memory and a processor, wherein the memory stores a computer program, wherein the processor implements the steps of the method according to any one of claims 1 to 6 when executing the computer program. 9.一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现权利要求1至6中任一项所述的方法的步骤。9. A computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented. 10.一种计算机程序产品,包括计算机程序,其特征在于,所述计算机程序被处理器执行时实现权利要求1至6中任一项所述的方法的步骤。10. A computer program product, comprising a computer program, characterized in that when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
CN202510709142.3A 2025-05-29 2025-05-29 Address resolution protocol message sending method, device, computer equipment, readable storage medium and program product Pending CN120321320A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202510709142.3A CN120321320A (en) 2025-05-29 2025-05-29 Address resolution protocol message sending method, device, computer equipment, readable storage medium and program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202510709142.3A CN120321320A (en) 2025-05-29 2025-05-29 Address resolution protocol message sending method, device, computer equipment, readable storage medium and program product

Publications (1)

Publication Number Publication Date
CN120321320A true CN120321320A (en) 2025-07-15

Family

ID=96321962

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202510709142.3A Pending CN120321320A (en) 2025-05-29 2025-05-29 Address resolution protocol message sending method, device, computer equipment, readable storage medium and program product

Country Status (1)

Country Link
CN (1) CN120321320A (en)

Similar Documents

Publication Publication Date Title
US12278763B2 (en) Fabric control protocol with congestion control for data center networks
US12212495B2 (en) Reliable fabric control protocol extensions for data center networks with unsolicited packet spraying over multiple alternate data paths
US12401544B2 (en) Connectivity in an edge-gateway multipath system
CN111201757B (en) Virtual fabric of network access nodes dynamically configured on the underlying network
US20220303217A1 (en) Data Forwarding Method, Data Buffering Method, Apparatus, and Related Device
US9769074B2 (en) Network per-flow rate limiting
US9071529B2 (en) Method and apparatus for accelerating forwarding in software-defined networks
US12341687B2 (en) Reliable fabric control protocol extensions for data center networks with failure resilience
US7911960B1 (en) Delayed-start method for minimizing internal switch congestion
US10574546B2 (en) Network monitoring using selective mirroring
US20180091388A1 (en) Multi-stage selective mirroring
US20070217336A1 (en) Method and system for using a queuing device as a lossless stage in a network device in a communications network
EP2915299A1 (en) A method for dynamic load balancing of network flows on lag interfaces
US11818046B2 (en) Coordinated congestion control in network-attached devices
EP2772021A2 (en) Network self-protection
CN107547442B (en) Data transmission buffer queue distribution method and device
US10554556B2 (en) Network element with congestion-aware match tables
WO2021098425A1 (en) Qos policy method, device, and computing device for service configuration
US9577957B2 (en) Facilitating congestion control in a network switch fabric based on group traffic rates
BRPI0613647A2 (en) local area network management
Almasi et al. Pulser: Fast congestion response using explicit incast notifications for datacenter networks
US9692704B2 (en) Facilitating congestion control in a network switch fabric based on group and aggregate traffic rates
CN120321320A (en) Address resolution protocol message sending method, device, computer equipment, readable storage medium and program product
Lee et al. Randomizing TCP payload size for TCP fairness in data center networks
Kheirkhah Sabetghadam Mmptcp: a novel transport protocol for data centre networks

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination