Message sending method, device, computer equipment, storage medium and program product

By detecting the trigger event and aggregate interface configuration information of the target host network interface, the problem of untimely update of switch addresses in large subnet scenarios is solved, efficient and reliable packet transmission is achieved, and the communication needs of large-scale devices are met.

CN120151327BActive Publication Date: 2025-08-26CHINA TELECOM CLOUD TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202510625694.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-05-15
Publication Date
2025-08-26
Estimated Expiration
2045-05-15

AI Technical Summary

Technical Problem

In distributed gateway scenarios, the existing technology cannot meet the business needs of large subnet scenarios, especially when the local host modifys or adds IP addresses, the switch cannot be updated in time, resulting in communication failure. The switch's ARP/NDP scanning function is limited by CPU performance and cannot meet the communication needs of large-scale devices.

Method used

By detecting whether a trigger event occurs in the network interface of the target host, the interface configuration information of the aggregated interface is used to determine whether it is necessary to send messages carrying update network addresses to the switch, including parsing the interface identification, operating status and communication status, to ensure the reliability and efficiency of message transmission.

Benefits of technology

Reduces resource waste, improves the efficiency and reliability of message transmission, avoids the problem of switch address information failure, and can send messages at the same time in a large subnet scenario without waiting, meeting service needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120151327B_ABST
    Figure CN120151327B_ABST
Patent Text Reader

Abstract

The present application relates to a message sending method, apparatus, computer equipment, storage medium and program product for a target host. The method comprises: detecting whether a trigger event occurs on a target network interface in the target host, the trigger event being used to indicate that the network address of the target network interface is updated to a first network address; in the case where the trigger event occurs on the network interface, determining whether it is necessary to send a target message carrying the first network address to a switch based on the interface configuration information of the aggregated interface in the target host, the aggregated interface being obtained by aggregating multiple network interfaces in the target host, the multiple network interfaces including the target network interface; and in the case where it is necessary to send the target message to the switch, sending the target message to the switch. This method can meet the business needs of large subnet scenarios.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a message sending method, apparatus, computer equipment, storage medium and program product. Background Art

[0002] In a distributed gateway scenario, local and remote hosts communicate through a switch. When a local host (including a server) modifies or adds a new Internet Protocol (IP) address, the switch's Address Resolution Protocol / Neighbor Discovery Protocol (ARP / NDP) scan function is enabled. The switch then sends an ARP request message to all hosts in the subnet (including local and remote hosts) to obtain the modified IP address.

[0003] However, the above method cannot meet the business needs of large subnet scenarios. Summary of the Invention

[0004] Based on this, it is necessary to provide a message sending method, device, computer equipment, storage medium and program product that can meet the business needs of large subnet scenarios in response to the above technical problems.

[0005] In a first aspect, the present application provides a method for sending a message to a target host. The method comprises:

[0006] Detecting whether a trigger event occurs on a target network interface in the target host, where the trigger event is used to indicate that a network address of the target network interface is updated to a first network address;

[0007] When the trigger event occurs on the target network interface, determining, based on interface configuration information of an aggregate interface in the target host, whether it is necessary to send a target message carrying the first network address to the switch, where the aggregate interface is obtained by aggregating multiple network interfaces in the target host, and the multiple network interfaces include the target network interface;

[0008] When it is necessary to send the target message to the switch, the target message is sent to the switch.

[0009] In one embodiment, determining whether it is necessary to send a target message carrying the first network address to the switch based on the interface configuration information of the aggregate interface in the target host includes:

[0010] Parsing the interface configuration information to obtain a parsing result, and detecting whether the parsing result includes an interface identifier of the target network interface;

[0011] In a case where the parsing result includes the interface identifier of the target network interface, it is determined whether the target message needs to be sent to the switch according to the interface configuration information.

[0012] In one embodiment, determining whether it is necessary to send the target message to the switch according to the interface configuration information includes:

[0013] Obtaining the running status of the aggregate interface and the communication status of the virtual interface corresponding to the aggregate interface;

[0014] When the running state is a working state and the communication state is a normal communication state, determining an aggregation mode of the aggregate interface according to the interface configuration information;

[0015] If the aggregation mode is consistent with the message sending mode corresponding to the target network interface, it is determined that the target message needs to be sent to the switch.

[0016] In one embodiment, sending the target message to the switch includes:

[0017] Acquire an address type of a second network address corresponding to the aggregation interface, where the address type includes Internet Protocol version 4 (IPV4) and / or Internet Protocol version 6 (IPV6);

[0018] Invoke a sending interface corresponding to the address type to send the target message to the switch.

[0019] In one embodiment, before determining whether it is necessary to send a target message carrying the first network address to the switch based on the interface configuration information of the aggregate interface in the target host, the method further includes:

[0020] Obtaining event data corresponding to the triggering event, and parsing the event data to obtain the event type of the triggering event;

[0021] The determining, based on the interface configuration information of the aggregate interface in the target host, whether it is necessary to send the target message carrying the first network address to the switch includes:

[0022] In a case where the event type is a preset event type, it is determined whether the target message needs to be sent to the switch according to the interface configuration information.

[0023] In one embodiment, determining whether it is necessary to send a target message carrying the first network address to the switch based on the interface configuration information of the aggregate interface in the target host includes:

[0024] According to a preset time period, it is determined whether the target message needs to be sent to the switch based on the interface configuration information of the aggregate interface in the target host.

[0025] In a second aspect, the present application further provides a message sending device for a target host. The device comprises:

[0026] a detection module, configured to detect whether a trigger event occurs on a target network interface in the target host, wherein the trigger event is used to indicate that a network address of the target network interface is updated to a first network address;

[0027] a determination module, configured to determine, when the trigger event occurs on the target network interface, whether it is necessary to send a target message carrying the first network address to the switch based on interface configuration information of an aggregate interface in the target host, the aggregate interface being obtained by aggregating multiple network interfaces in the target host, the multiple network interfaces including the target network interface;

[0028] The sending module is configured to send the target message to the switch when the target message needs to be sent to the switch.

[0029] In a third aspect, the present application further provides a computer device comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the method described in the first aspect when executing the computer program.

[0030] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method described in the first aspect.

[0031] In a fifth aspect, the present application further provides a computer program product, comprising a computer program that, when executed by a processor, implements the steps of the method described in the first aspect.

[0032] In the above-mentioned message sending method, apparatus, computer device, storage medium and program product, the target host first detects whether a trigger event occurs on the target network interface in the target host, where the trigger event is used to indicate that the network address of the target network interface is updated to the first network address. Then, when the trigger event occurs on the target network interface, the target host determines whether it is necessary to send a target message carrying the first network address to the switch based on the interface configuration information of the aggregate interface in the target host. The aggregate interface is obtained by aggregating multiple network interfaces in the target host, and the multiple network interfaces include the target network interface, thereby reducing unnecessary resource waste and improving the efficiency and reliability of sending the target message. Then, when it is necessary to send the target message to the switch, the target message is sent to the switch, avoiding the problem that the switch cannot obtain the first network address, resulting in the invalidation of the address information stored in the switch and causing communication failure. Compared with traditional technologies, the message sending method does not have message sending restrictions during the process of sending the target message from the target host to the switch. For example, when trigger events occur simultaneously on multiple target hosts in a large subnet scenario, the multiple target hosts can send target messages to the switch at the same time without waiting, thereby being able to send the target messages to the switch in a timely manner, thereby meeting the business needs of the large subnet scenario. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the following briefly introduces the drawings required for use in the embodiments of the present application or related technical descriptions. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying any creative work.

[0034] Figure 1 This is an application environment diagram of a message sending method in one embodiment;

[0035] Figure 2 Schematic diagram of a flow chart of a message sending method in one embodiment;

[0036] Figure 3 202 is a flow chart of step 202 in one embodiment;

[0037] Figure 4 302 is a flowchart of an embodiment;

[0038] Figure 5 203 is a flow chart of step 203 in one embodiment;

[0039] Figure 6 Schematic diagram of a flow chart of a message sending method in another embodiment;

[0040] Figure 7is a structural block diagram of a message sending device in one embodiment;

[0041] Figure 8 FIG. 1 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0042] In order to make the purpose, technical solutions and advantages of this application more clear, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.

[0043] In a distributed gateway scenario, local and remote hosts communicate through a switch. If a local host (including a server) modifies or adds an Internet Protocol (IP) address, and the remote host does not send or receive network traffic to the local host within a certain period of time, the ARP / NDP (Address Resolution Protocol / Neighbor Discovery Protocol) entry stored on the remote host will time out, causing the ARP / NDP entry for the local host recorded on the switch to become invalid. When the remote host sends data to the local host, the ARP / NDP entry for the local host recorded on the switch will become invalid. Therefore, the MAC address queried from the ARP / NDP entry when forwarding the data will become invalid, making it impossible to forward the data packet to the local host, resulting in communication failure.

[0044] In the related art, the switch's ARP / NDP scanning function is enabled, causing the switch to send ARP request packets to all hosts in the subnet (including local and remote hosts) to obtain the modified IP address. However, because the switch's ARP / NDP scanning function is limited by the switch's CPU performance, it can only send 128 ARP request packets per second. If the subnet includes a large number of devices, this cannot meet service requirements. Moreover, sending ARP request packets can also affect the performance and stability of the switch devices. In view of this, the present application proposes a packet sending method that can meet the service requirements of large subnet scenarios.

[0045] The message sending method provided in the embodiment of the present application can be applied to Figure 1In the application environment shown, the target host 102 communicates with the switch 104 via a network. The target host first detects whether a trigger event occurs on the target network interface in the target host. The trigger event is used to indicate that the network address of the target network interface is updated to the first network address. Then, when a trigger event occurs on the network interface, the target host determines whether it is necessary to send a target message carrying the first network address to the switch based on the interface configuration information of the aggregate interface in the target host. The aggregate interface is obtained by aggregating multiple network interfaces in the target host, and the multiple network interfaces include the target network interface. Then, when it is necessary to send a target message to the switch, the target message is sent to the switch. The target host may include a service or a terminal.

[0046] In an exemplary embodiment, Figure 2 As shown, a message sending method is provided, which is applied to Figure 1 The target host in the example is used as an example to illustrate the following steps:

[0047] Step 201 : Detect whether a trigger event occurs on a target network interface in a target host, where the trigger event is used to indicate that a network address of the target network interface is updated to a first network address.

[0048] The target host refers to the local host. During communication, a computer device located on a remote network relative to the local host is referred to as the remote host. The local host and the remote host may be located in different geographical locations. The local host can receive access requests from the remote host over the network to communicate.

[0049] The target host can include multiple network interfaces, each of which can communicate with one or more remote hosts. Different network interfaces have different network addresses. When the network address of a network interface on the target host changes, the target host can send the changed network address to the switch.

[0050] It is understood that an event in which the network address of a network interface changes can be used as a triggering event. After the triggering event occurs, it can be determined that the network address of the network interface has been updated, and the updated network address can be used as the first network address, and the network interface where the triggering event occurred can be used as the target network interface. For example, if the status of the target network interface changes from down (disabled or inactive) to up (enabled or active), a network address change may have occurred, and it can be determined that a triggering event has occurred on the target network interface. Alternatively, if the network card of the network interface is replaced, a network address change may occur, and it can also be determined that a triggering event has occurred on the target network interface.

[0051] In this embodiment, the target host can periodically detect whether the network address of the target network interface in the target host has changed. If the network address has changed, it is determined that a trigger event has occurred on the target network interface, and the updated network address of the target network interface is used as the first network address.

[0052] Step 202: When a trigger event occurs on the target network interface, determine whether it is necessary to send a target message carrying the first network address to the switch based on the interface configuration information of the aggregate interface in the target host.

[0053] The aggregated interface is obtained by aggregating multiple network interfaces in the target host, and the multiple network interfaces include the target network interface.

[0054] Among them, the aggregate interface refers to a logical interface that aggregates multiple network interfaces into one interface. Each aggregate interface can include multiple sub-network interfaces, and the interface identifier of each sub-network interface is different. In this embodiment, the aggregate interface technology can be used to aggregate multiple network interfaces in the target host into one aggregate interface. The interface configuration information refers to the relevant configuration information of the aggregate interface. For example, the interface configuration information may include the identifier of the aggregate interface, the aggregation mode of the aggregate interface, the interface status of the aggregate interface, the communication status of the virtual interface corresponding to the aggregate interface, and the interface identifier, interface type, interface rate and other information of the multiple sub-interfaces included in the aggregate interface.

[0055] The target message refers to the gratuitous ARP / NDP message sent by the target host to the switch. A gratuitous ARP / NDP message can include the source IP address, target IP address, source MAC address, and target MAC address. The source IP address and target IP address are both the IP address of the target host, the source MAC address is the MAC address of the target host, and the target MAC address is the broadcast MAC address. Gratuitous ARP messages are Address Resolution Protocol messages related to the IPv4 protocol, while gratuitous NDP messages are Neighbor Discovery Protocol messages related to the IPv6 protocol.

[0056] In this embodiment, when a trigger event occurs on the target network interface, the target host can obtain the interface configuration information of the aggregate interface in the target host, and then parse the interface configuration information to determine whether it is necessary to send the target message to the switch based on the aggregation mode and interface status of the aggregate interface obtained after the analysis.

[0057] Optionally, if the aggregation mode and interface status of the aggregate interface meet the requirements for sending the target message, the target message can be sent to the switch; if the aggregation mode and interface status of the aggregate interface do not meet the requirements for sending the target message, sending the target message to the switch can be prohibited.

[0058] As a possible implementation method, the target host can also use logs to record relevant information of the triggering event. According to the status information of the triggering event during operation, it can be divided into WARN, ERROR, and INFO levels and added to the log record to instruct the alarm system to monitor the log file in real time to detect whether a network address update occurs.

[0059] Step 203: When it is necessary to send the target message to the switch, send the target message to the switch.

[0060] In this embodiment, when the target host determines that it needs to send a message to the switch, it can add protocol header information to the first network address according to the network protocol stack, encapsulate the first network address, generate a target message, and then send the target message to the network interface in the target host. Through the network card corresponding to the network interface, the network card converts the target message into a form suitable for transmission on the network, and sends the target message to the switch according to a certain transmission rate and transmission format.

[0061] In the above-mentioned message sending method, the target host first detects whether a trigger event occurs on the target network interface of the target host, where the trigger event is used to indicate that the network address of the target network interface is updated to the first network address. Then, when the trigger event occurs on the target network interface, the target host determines whether it is necessary to send a target message carrying the first network address to the switch based on the interface configuration information of the aggregate interface of the target host. The aggregate interface is obtained by aggregating multiple network interfaces in the target host, and the multiple network interfaces include the target network interface, thereby reducing unnecessary resource waste and improving the efficiency and reliability of sending the target message. Then, when it is necessary to send the target message to the switch, the target message is sent to the switch, thereby avoiding the problem that the switch cannot obtain the first network address, resulting in the invalidation of the address information stored in the switch and causing communication failure. Compared with traditional technologies, the message sending method does not have any message sending restrictions during the process of sending the target message from the target host to the switch. For example, when trigger events occur simultaneously on multiple target hosts in a large subnet scenario, the multiple target hosts can send target messages to the switch at the same time without waiting, thereby being able to send the target messages to the switch in a timely manner, thereby meeting the business needs of the large subnet scenario.

[0062] In an exemplary embodiment, Figure 3 As shown, this embodiment involves a process in which a target host determines whether to send a target message carrying a first network address to a switch based on interface configuration information of an aggregate interface in the target host. Step 202 includes:

[0063] Step 301: parse the interface configuration information to obtain a parsing result, and detect whether the parsing result includes an interface identifier of a target network interface.

[0064] The interface identifier of the target network interface is a number or name used to uniquely identify the target network interface. For example, the interface identifier can be a MAC address, IP address, or interface name. It is understood that an aggregate interface includes multiple sub-network interfaces, and the interface configuration information of the aggregate interface includes the interface identifier and interface status of each sub-network interface.

[0065] It should be noted that the target host may include multiple network cards. The aggregated interface may only aggregate the network interfaces corresponding to some network cards, or it may aggregate the network interfaces corresponding to all network cards. The aggregated interface may not include the target network interface. Therefore, it is necessary to check whether the parsing result includes the interface identifier of the target network interface to avoid wasting the sending resources of the target host.

[0066] In this embodiment, the target host can call the information parsing module to parse the interface configuration information to obtain the parsing results, and then obtain the interface identifiers of multiple sub-network interfaces corresponding to the aggregated interface based on the parsing results, as well as obtain the configuration information of the target network interface, and obtain the interface identifier of the target network interface based on the configuration information, and then query whether the interface identifier of each sub-network interface includes the interface identifier of the target network interface.

[0067] Optionally, if there is an interface identifier in the parsing result that is identical to the interface identifier of the target network interface, it is determined that the parsing result includes the interface identifier of the target network interface; if there is no interface identifier in the parsing result that is identical to the interface identifier of the target network interface, it is determined that the parsing result does not include the interface identifier of the target network interface.

[0068] Step 302: When the parsing result includes the interface identifier of the target network interface, determine whether it is necessary to send the target message to the switch according to the interface configuration information.

[0069] It is understandable that if the parsing result includes the interface identifier of the target network interface, the target message can be sent according to the aggregate interface.

[0070] In this embodiment, the target host can determine that it can send the target message according to the aggregation mode corresponding to the aggregate interface when the parsing result includes the interface identifier of the target network interface, and then determine the interface status and other information of the aggregate interface based on the interface configuration information, and then determine whether it is necessary to send the target message to the switch based on the interface status and other information of the aggregate interface.

[0071] In this embodiment, the target host parses the interface configuration information to obtain a parsing result, and detects whether the parsing result includes the interface identifier of the target network interface. Then, if the parsing result includes the interface identifier of the target network interface, the target host can determine whether it is necessary to send a target message to the switch based on the interface configuration information. Since it is first detected whether the interface configuration information includes the interface identifier of the target network interface before determining whether it is necessary to send the target message to the switch, the reliability of sending the target message can be improved.

[0072] In an exemplary embodiment, Figure 4 As shown, this embodiment involves a process in which a target host determines whether to send a target message to a switch based on interface configuration information. Step 302 includes:

[0073] Step 401: Obtain the running status of the aggregate interface and the communication status of the virtual interface corresponding to the aggregate interface.

[0074] The operational status of an aggregate interface can be down (disabled or inactive) or up (enabled or active). The virtual interface corresponding to an aggregate interface refers to the multiple VLANs (virtual local area networks) divided on the aggregate interface. Each VLAN's corresponding sub-interfaces, through the virtual interface corresponding to the aggregate interface, can achieve isolation and communication between different VLANs on the same aggregate interface. The communication status of the virtual interface corresponding to the aggregate interface can be normal or abnormal. Normal communication status refers to the aggregate interface being up and the virtual interface being correctly configured. Abnormal communication status refers to the aggregate interface or virtual interface being down due to reasons such as physical link failure, device configuration error, or manual interface shutdown.

[0075] It is understood that when the target host sends the target message, it needs to ensure that the running status of the aggregate interface and the communication status of the virtual interface are both normal in order to successfully send the target message. Therefore, before sending the message, it is necessary to check the running status of the aggregate interface and the communication status of the virtual interface corresponding to the aggregate interface.

[0076] In this embodiment, the target host can obtain the state information of the aggregate interface by calling a function, and then obtain the running state of the aggregate interface from the state information, and obtain the communication state of the virtual interface corresponding to the aggregate interface.

[0077] Step 402: When the running state is the working state and the communication state is the normal communication state, determine the aggregation mode of the aggregation interface according to the interface configuration information.

[0078] The aggregation mode refers to the load sharing method when the aggregate interface sends data. By defining the distribution method between the sub-interfaces included in the aggregate interface, a balanced load of traffic is achieved. The load sharing method may include the source MAC address, destination MAC address, source IP address, destination IP address, source port, destination port, etc. Optionally, the aggregation mode may include load balancing mode (mode=0), automatic backup mode (mode=1), load balancing and fault tolerance mode (mode=2), broadcast mode (mode=3), dynamic link aggregation mode (mode=4), load balancing and fault tolerance (adaptive transmission selection) mode (mode=5). Each aggregate interface can correspond to an aggregation mode, and the aggregation mode corresponding to the aggregate interface can be identified by different identifiers in the configuration information of the aggregate interface.

[0079] The following is an introduction to the above aggregation mode:

[0080] Balanced load mode (mode=0): uses a round-robin strategy, where data packets are sent to each physical interface in turn to achieve load balancing.

[0081] Automatic backup mode (mode=1): uses an active-backup strategy, with only one primary interface active and the other interfaces acting as backups. If the primary interface fails, the backup interface automatically takes over, ensuring network connectivity. However, under normal circumstances, only the primary interface is working, and load balancing is not possible.

[0082] Load balancing and fault-tolerant mode (mode=2): This mode uses a hashing algorithm to distribute packets to different physical interfaces for transmission based on their source and destination IP addresses, port numbers, and other information, achieving load balancing. It also offers fault tolerance; if an interface fails, packets are automatically forwarded to a functioning interface.

[0083] Broadcast mode (mode=3): All data packets are sent to all physical interfaces simultaneously. This mode is mainly used in special scenarios where it is necessary to ensure that data packets can be received by multiple network devices, such as network monitoring. It consumes more network bandwidth and is generally not used for regular network communication.

[0084] IEEE 802.3ad dynamic link aggregation mode (mode=4): Performs link aggregation according to the IEEE 802.3ad standard. Multiple physical links are automatically aggregated into a single logical link through LACP (Link Aggregation Control Protocol) negotiation to achieve load balancing and redundancy. This mode requires the switch to support 802.3ad to function properly.

[0085] Load-balanced and fault-tolerant (adaptive transmission selection) mode (mode=5): Dynamically distributes packets based on the load of each physical interface, achieving load balancing. If an interface fails, traffic is automatically switched to a functioning interface. This mode does not require switches to support special protocols, but does place high demands on the performance of network devices.

[0086] In this embodiment, when the target host is in a working state and a normal communication state, it can be determined that the aggregate interface meets the requirements for sending the target message. Then, the aggregation mode of the aggregate interface can be obtained from the analysis result based on the analysis of the interface configuration information.

[0087] Step 403: If the aggregation mode is consistent with the message sending mode corresponding to the target network interface, it is determined that the target message needs to be sent to the switch.

[0088] The target network interface's packet sending mode is the one specified in advance by the user based on factors such as network device performance, network topology, application characteristics, and cost. Therefore, only when the aggregation mode and packet sending mode of the aggregate interface are the same can the target host be guaranteed to meet the target packet sending requirements.

[0089] In this embodiment, the target host can compare the identifier of the aggregation mode with the identifier of the message sending mode. If the two identifiers are the same, it is determined that the aggregation mode is consistent with the message sending mode corresponding to the target network interface, and then it can be determined that the target message needs to be sent to the switch.

[0090] In this embodiment, the target host obtains the running status of the aggregate interface and the communication status of the virtual interface corresponding to the aggregate interface, and can determine the aggregation mode of the aggregate interface according to the interface configuration information when the running status is working status and the communication status is normal communication status. Therefore, when the aggregation mode is consistent with the message sending mode corresponding to the target network interface, it can be determined that the target message needs to be sent to the switch, thereby ensuring the reliability of sending the target message.

[0091] In an exemplary embodiment, Figure 5As shown, this embodiment involves a process in which a target host sends a target message to a switch. Step 203 includes:

[0092] Step 501: Obtain the address type of the second network address corresponding to the aggregation interface.

[0093] The address type includes Internet Protocol version 4 (IPV4) and / or Internet Protocol version 6 (IPV6).

[0094] The second network address refers to the network address of the aggregation interface, and the address type refers to the address type of the second network address. Optionally, the second network address may be IPV4, or the second network address may also be IPV6.

[0095] It should be noted that different address types require different interfaces to be called for sending. Therefore, it is also necessary to obtain the address type of the second network address corresponding to the aggregation interface.

[0096] In this embodiment, when the target host needs to send a target packet to the switch, it can obtain the network type of the second network address from the interface configuration information of the aggregate interface. For example, if the address type identifier in the interface configuration information is 0, the network type can be determined to be IPv4; if the address type identifier in the interface configuration information is 1, the network type can be determined to be IPv6.

[0097] Step 502: Call the sending interface corresponding to the address type to send the target message to the switch.

[0098] The sending interface refers to the network interface used by the target host to send data outward during network communication. Optionally, if the address type is IPV4, the sending interface may be an ARP interface corresponding to IPV4; if the address type is IPV6, the sending interface may be an NDP interface corresponding to IPV6.

[0099] In this embodiment, the target host may call the corresponding sending interface according to the address type and send the target message to the sending interface, and then send the target message to the switch through the sending interface.

[0100] For example, if the address type is IPV4, the ARP interface is called to send the target message to the switch; if the address type is IPV6, the NDP interface is called to send the target message to the switch; if the address type includes IPV4 and IPV6, the ARP interface and NDP interface are called to send the target message to the switch respectively.

[0101] In this embodiment, the target host obtains the address type of the second network address corresponding to the aggregation interface, and the address type includes Internet Protocol Version 4 IPV4 and / or Internet Protocol Version 6 IPV6. It can call the sending interface corresponding to the address type to send the target message to the switch, thereby ensuring that the target message can be successfully sent to the switch.

[0102] In an exemplary embodiment, this embodiment relates to a process in which a target host determines whether a triggering event occurring on a network interface is valid before sending a target message carrying a first network address to a switch based on interface configuration information of an aggregate interface in the target host. The above method also includes: obtaining event data corresponding to the triggering event, and parsing the event data to obtain the event type of the triggering event.

[0103] The event data refers to information related to an event in which a network address update occurs on a target network interface. For example, the event data may include the updated first network address, the type of the first network address, the update time of the first network address, etc. The event type that triggers the event may include modifying the network address, adding the network address, and deleting the network address.

[0104] In this embodiment, the target host can create a socket function, monitor the status of the target network interface in real time, obtain event data corresponding to the trigger event from the monitoring results, and then parse the event data to obtain the event type of the trigger event from the parsing results.

[0105] As a possible implementation, the above step 202 may include: when the event type is a preset event type, determining whether it is necessary to send the target message to the switch according to the interface configuration information.

[0106] It is understood that in the embodiment of the present application, the target message needs to be sent to the switch when the network address of the target network interface is updated to the first network address. Therefore, the event type that needs to trigger the event is to modify the network address or add a network address. Among them, the preset event type can include modifying the network address or adding the network address.

[0107] In this embodiment, the target host can compare the event type with the preset event type. If the two are the same, it can be determined that the event type is the preset event type. Then, it can be determined whether to send the target message to the switch based on the interface configuration information.

[0108] In this embodiment, the target host obtains the event data corresponding to the trigger event and parses the event data to obtain the event type of the trigger event. When the event type is a preset event type, the target host can determine whether it is necessary to send a target message to the switch based on the interface configuration information. This can avoid the problem of wasting computing resources due to the event type not meeting the preset event type, thereby improving the overall performance of the target host.

[0109] In an exemplary embodiment, this embodiment relates to a process in which a target host determines whether it is necessary to send a target message carrying a first network address to a switch based on the interface configuration information of the aggregate interface in the target host. The above method also includes: according to a preset time period, determining whether it is necessary to send the target message to the switch based on the interface configuration information of the aggregate interface in the target host.

[0110] The time period refers to the interval between repeated target message transmissions from the target host to the switch. It should be noted that if a trigger event occurs on the target network interface, the target host can send a target message to the switch once. However, poor communication quality and other issues may prevent the switch from receiving the target message, hindering the switch's ability to update the ARP / NDP table entries. Therefore, the target message can be sent repeatedly after a certain period of time.

[0111] In this embodiment, when a trigger event occurs on the target network interface, the target host can periodically determine whether to send a target message to the switch based on the interface configuration information of the aggregate interface in the target host according to a preset time period.

[0112] In this embodiment, the target host determines whether to send the target message to the switch according to the interface configuration information of the aggregate interface in the target host according to a preset time period. This can avoid the problem of failure in sending the target message, which causes the switch to be unable to obtain the first network address in a timely manner, thereby improving the reliability and security of sending the target message.

[0113] In order to facilitate the understanding of those skilled in the art, Figure 6 As shown, the message sending method provided by this application is described in detail below. The method may include:

[0114] Step 601: Create a socket function to detect event data of a triggering event occurring on a target network interface in a target host (including a server).

[0115] Step 602: Determine whether the event data meets the preset data requirements.

[0116] Step 603: If the event data meets the preset data requirements, the event data is parsed to obtain the event type of the triggering event.

[0117] Step 604: Determine whether the event type is a preset event type.

[0118] Step 605: If the event type is a preset event type, obtain the interface identifier of the target network interface and the interface configuration information of the aggregation (Bond) interface.

[0119] Step 606: parse the interface configuration information to obtain a parsing result.

[0120] Step 607: Check whether the parsing result includes the interface identifier of the target network interface.

[0121] Step 608: When the parsing result includes the interface identifier of the target network interface, the running status of the aggregate interface and the communication status of the virtual interface corresponding to the aggregate interface are obtained.

[0122] Step 609: If the aggregation mode is consistent with the message sending mode corresponding to the target network interface, it is determined that the target message needs to be sent to the switch.

[0123] Step 6010: Obtain the address type of the second network address corresponding to the aggregation interface.

[0124] Step 6011: Call the sending interface corresponding to the address type to send the target message to the switch.

[0125] Step 6012: parse the event data according to a preset time period to obtain the event type of the triggering event.

[0126] It should be noted that for the description of the above steps 601 to 6012, reference can be made to the relevant description in the above embodiment, and the effects are similar, so this embodiment will not be repeated here.

[0127] It should be understood that, although the steps in the flowcharts of the above embodiments are shown in sequence as indicated by the arrows, these steps are not necessarily performed in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be performed in other orders. Moreover, at least a portion of the steps in the flowcharts of the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily performed at the same time, but can be performed at different times. The execution order of these steps or stages is not necessarily to be performed in sequence, but can be performed in turn or alternately with other steps or at least a portion of steps or stages in other steps.

[0128] Based on the same inventive concept, embodiments of the present application further provide a message sending device for implementing the message sending method described above. The implementation solution provided by this device is similar to the implementation solution described in the above method. Therefore, the specific limitations of one or more message sending device embodiments provided below can be found in the above limitations of the message sending method and will not be repeated here.

[0129] In one embodiment, Figure 7 As shown, a message sending device is provided, including: a detection module 701, a determination module 702 and a sending module 703, wherein:

[0130] A detection module 701 is configured to detect whether a trigger event occurs on a target network interface in a target host, where the trigger event indicates that a network address of the target network interface is updated to a first network address;

[0131] a determination module 702 configured to determine, when a triggering event occurs on a network interface, whether it is necessary to send a target packet carrying a first network address to the switch based on interface configuration information of an aggregate interface in a target host, where the aggregate interface is obtained by aggregating multiple network interfaces in the target host, the multiple network interfaces including the target network interface;

[0132] The sending module 703 is configured to send the target message to the switch when the target message needs to be sent to the switch.

[0133] The message sending device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effects are similar, which will not be repeated here.

[0134] In one embodiment, the determining module 702 includes:

[0135] A parsing unit, configured to parse the interface configuration information, obtain a parsing result, and detect whether the parsing result includes an interface identifier of a target network interface;

[0136] The first determining unit is configured to determine whether it is necessary to send the target message to the switch according to the interface configuration information when the parsing result includes the interface identifier of the target network interface.

[0137] The message sending device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effects are similar, which will not be repeated here.

[0138] In one embodiment, the first determining unit is specifically configured to:

[0139] Get the running status of the aggregate interface and the communication status of the virtual interface corresponding to the aggregate interface;

[0140] When the running state is the working state and the communication state is the normal communication state, determining the aggregation mode of the aggregate interface according to the interface configuration information;

[0141] If the aggregation mode is consistent with the message sending mode corresponding to the target network interface, it is determined that the target message needs to be sent to the switch.

[0142] The message sending device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effects are similar, which will not be repeated here.

[0143] In one embodiment, the sending module 703 includes:

[0144] an acquiring unit, configured to acquire an address type of a second network address corresponding to the aggregation interface, where the address type includes Internet Protocol version 4 (IPV4) and / or Internet Protocol version 6 (IPV6);

[0145] The sending unit is used to call the sending interface corresponding to the address type to send the target message to the switch.

[0146] The message sending device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effects are similar, which will not be repeated here.

[0147] In one embodiment, the apparatus further comprises:

[0148] The acquisition module is used to obtain the event data corresponding to the triggering event and parse the event data to obtain the event type of the triggering event;

[0149] The determination module 702 further includes:

[0150] The second determining unit is configured to determine whether it is necessary to send a target message to the switch according to the interface configuration information when the event type is a preset event type.

[0151] The message sending device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effects are similar, which will not be repeated here.

[0152] In one embodiment, the determining module 702 further includes:

[0153] The third determining unit is configured to determine whether it is necessary to send the target message to the switch according to the interface configuration information of the aggregate interface in the target host in accordance with a preset time period.

[0154] The message sending device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effects are similar, which will not be repeated here.

[0155] Each module in the above-mentioned message sending device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in the computer device in the form of software, so that the processor can call and execute the corresponding operations of each module.

[0156] In an exemplary embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in FIG. Figure 8 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, abbreviated as I / O) and a communication interface. The processor, memory and input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer device is used 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, a computer program and a database. The internal memory provides an environment for the operation of the operating system and computer program in the non-volatile storage medium. The database of the computer device is used to store data of the target host. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a message sending method is implemented.

[0157] Those skilled in the art will understand that Figure 8 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.

[0158] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:

[0159] Detecting whether a trigger event occurs on a target network interface in a target host, where the trigger event is used to indicate that a network address of the target network interface is updated to a first network address;

[0160] In the event of a triggering event on a network interface, determining whether it is necessary to send a target message carrying the first network address to the switch based on interface configuration information of an aggregate interface in a target host, where the aggregate interface is obtained by aggregating multiple network interfaces in the target host, and the multiple network interfaces include the target network interface;

[0161] When a target message needs to be sent to the switch, the target message is sent to the switch.

[0162] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0163] Parsing the interface configuration information to obtain a parsing result, and detecting whether the parsing result includes an interface identifier of the target network interface;

[0164] In the case that the parsing result includes the interface identifier of the target network interface, it is determined whether the target message needs to be sent to the switch according to the interface configuration information.

[0165] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0166] Get the running status of the aggregate interface and the communication status of the virtual interface corresponding to the aggregate interface;

[0167] When the running state is the working state and the communication state is the normal communication state, determining the aggregation mode of the aggregate interface according to the interface configuration information;

[0168] If the aggregation mode is consistent with the message sending mode corresponding to the target network interface, it is determined that the target message needs to be sent to the switch.

[0169] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0170] Acquire an address type of a second network address corresponding to the aggregate interface, where the address type includes Internet Protocol Version 4 (IPV4) and / or Internet Protocol Version 6 (IPV6);

[0171] Call the sending interface corresponding to the address type to send the target message to the switch.

[0172] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0173] Obtain the event data corresponding to the trigger event, and parse the event data to obtain the event type of the trigger event;

[0174] Determining, based on the interface configuration information of the aggregate interface in the target host, whether it is necessary to send a target message carrying the first network address to the switch includes:

[0175] When the event type is a preset event type, it is determined whether the target message needs to be sent to the switch according to the interface configuration information.

[0176] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0177] According to the preset time period, it is determined whether the target message needs to be sent to the switch based on the interface configuration information of the aggregate interface in the target host.

[0178] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented:

[0179] Detecting whether a trigger event occurs on a target network interface in a target host, where the trigger event is used to indicate that a network address of the target network interface is updated to a first network address;

[0180] In the event of a triggering event on a network interface, determining whether it is necessary to send a target message carrying the first network address to the switch based on interface configuration information of an aggregate interface in a target host, where the aggregate interface is obtained by aggregating multiple network interfaces in the target host, and the multiple network interfaces include the target network interface;

[0181] When a target message needs to be sent to the switch, the target message is sent to the switch.

[0182] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0183] Parsing the interface configuration information to obtain a parsing result, and detecting whether the parsing result includes an interface identifier of the target network interface;

[0184] In the case that the parsing result includes the interface identifier of the target network interface, it is determined whether the target message needs to be sent to the switch according to the interface configuration information.

[0185] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0186] Get the running status of the aggregate interface and the communication status of the virtual interface corresponding to the aggregate interface;

[0187] When the running state is the working state and the communication state is the normal communication state, determining the aggregation mode of the aggregate interface according to the interface configuration information;

[0188] If the aggregation mode is consistent with the message sending mode corresponding to the target network interface, it is determined that the target message needs to be sent to the switch.

[0189] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0190] Acquire an address type of a second network address corresponding to the aggregate interface, where the address type includes Internet Protocol Version 4 (IPV4) and / or Internet Protocol Version 6 (IPV6);

[0191] Call the sending interface corresponding to the address type to send the target message to the switch.

[0192] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0193] Obtain the event data corresponding to the trigger event, and parse the event data to obtain the event type of the trigger event;

[0194] Determining, based on the interface configuration information of the aggregate interface in the target host, whether it is necessary to send a target message carrying the first network address to the switch includes:

[0195] When the event type is a preset event type, it is determined whether the target message needs to be sent to the switch according to the interface configuration information.

[0196] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0197] According to the preset time period, it is determined whether the target message needs to be sent to the switch based on the interface configuration information of the aggregate interface in the target host.

[0198] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:

[0199] Detecting whether a trigger event occurs on a target network interface in a target host, where the trigger event is used to indicate that a network address of the target network interface is updated to a first network address;

[0200] In the event of a triggering event on a network interface, determining whether it is necessary to send a target message carrying the first network address to the switch based on interface configuration information of an aggregate interface in a target host, where the aggregate interface is obtained by aggregating multiple network interfaces in the target host, and the multiple network interfaces include the target network interface;

[0201] When a target message needs to be sent to the switch, the target message is sent to the switch.

[0202] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0203] Parsing the interface configuration information to obtain a parsing result, and detecting whether the parsing result includes an interface identifier of the target network interface;

[0204] In the case that the parsing result includes the interface identifier of the target network interface, it is determined whether the target message needs to be sent to the switch according to the interface configuration information.

[0205] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0206] Get the running status of the aggregate interface and the communication status of the virtual interface corresponding to the aggregate interface;

[0207] When the running state is the working state and the communication state is the normal communication state, determining the aggregation mode of the aggregate interface according to the interface configuration information;

[0208] If the aggregation mode is consistent with the message sending mode corresponding to the target network interface, it is determined that the target message needs to be sent to the switch.

[0209] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0210] Acquire an address type of a second network address corresponding to the aggregate interface, where the address type includes Internet Protocol Version 4 (IPV4) and / or Internet Protocol Version 6 (IPV6);

[0211] Call the sending interface corresponding to the address type to send the target message to the switch.

[0212] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0213] Obtain the event data corresponding to the trigger event, and parse the event data to obtain the event type of the trigger event;

[0214] Determining, based on the interface configuration information of the aggregate interface in the target host, whether it is necessary to send a target message carrying the first network address to the switch includes:

[0215] When the event type is a preset event type, it is determined whether the target message needs to be sent to the switch according to the interface configuration information.

[0216] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0217] According to the preset time period, it is determined whether the target message needs to be sent to the switch based on the interface configuration information of the aggregate interface in the target host.

[0218] Those skilled in the art will appreciate that all or part of the processes in the above-described method embodiments can be implemented by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the above-described method embodiments. Any reference to a memory, database, or other medium used in the embodiments provided herein may include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory may include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The databases involved in the various embodiments provided herein may include at least one of a relational database and a non-relational database. Non-relational databases may include, but are not limited to, distributed databases based on blockchains. The processors involved in the various embodiments provided herein may be, but are not limited to, general-purpose processors, central processing units (CPUs), graphics processors (GPUs), digital signal processors (DSPs), programmable logic devices (PLDs), data processing logic devices based on quantum computing, and the like.

[0219] The technical features of the above embodiments can be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0220] The above-described embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present application. It should be noted that a person of ordinary skill in the art may make various modifications and improvements without departing from the spirit of the present application, and these modifications and improvements fall within the scope of protection of the present application. Therefore, the scope of protection of the present application shall be determined by the appended claims.

Claims

1. A message sending method, characterized in that: For a target host in a large subnet scenario, the method includes: Detecting whether a trigger event occurs on a target network interface in the target host, where the trigger event is used to indicate that a network address of the target network interface is updated to a first network address; When the trigger event occurs on the target network interface, determining whether it is necessary to send a target message carrying the first network address to the switch based on interface configuration information of an aggregate interface in the target host, where the aggregate interface is obtained by aggregating multiple network interfaces in the target host, and the multiple network interfaces include the target network interface, wherein whether it is necessary to send the target message to the switch is determined based on an aggregation mode and an interface status of the aggregate interface obtained by parsing the interface configuration information; When it is necessary to send the target message to the switch, the address type of the second network address corresponding to the aggregation interface is obtained, and the sending interface corresponding to the address type is called to send the target message to the switch, where the address type includes Internet Protocol Version 4 IPV4 and / or Internet Protocol Version 6 IPV6.

2. The method according to claim 1, characterized in that The determining, based on the interface configuration information of the aggregate interface in the target host, whether it is necessary to send the target message carrying the first network address to the switch includes: Parsing the interface configuration information to obtain a parsing result, and detecting whether the parsing result includes an interface identifier of the target network interface; In a case where the parsing result includes the interface identifier of the target network interface, it is determined whether the target message needs to be sent to the switch according to the interface configuration information.

3. The method according to claim 2, characterized in that The determining whether it is necessary to send the target message to the switch according to the interface configuration information includes: Obtaining the running status of the aggregate interface and the communication status of the virtual interface corresponding to the aggregate interface; When the running state is a working state and the communication state is a normal communication state, determining an aggregation mode of the aggregate interface according to the interface configuration information; If the aggregation mode is consistent with the message sending mode corresponding to the target network interface, it is determined that the target message needs to be sent to the switch.

4. The method according to claim 1, wherein Before determining whether it is necessary to send a target message carrying the first network address to the switch based on the interface configuration information of the aggregate interface in the target host, the method further includes: Obtaining event data corresponding to the triggering event, and parsing the event data to obtain the event type of the triggering event; The determining, based on the interface configuration information of the aggregate interface in the target host, whether it is necessary to send the target message carrying the first network address to the switch includes: In a case where the event type is a preset event type, it is determined whether the target message needs to be sent to the switch according to the interface configuration information.

5. The method according to claim 1, characterized in that The determining, based on the interface configuration information of the aggregate interface in the target host, whether it is necessary to send the target message carrying the first network address to the switch includes: According to a preset time period, it is determined whether the target message needs to be sent to the switch based on the interface configuration information of the aggregate interface in the target host.

6. The method according to claim 1, characterized in that The interface configuration information includes the identifier of the aggregate interface, the aggregation mode of the aggregate interface, the interface status of the aggregate interface, the communication status of the virtual interface corresponding to the aggregate interface, and the interface identifiers, interface types, and interface rates of the multiple sub-interfaces included in the aggregate interface.

7. A message sending device, characterized in that: For a target host in a large subnet scenario, the device includes: a detection module, configured to detect whether a trigger event occurs on a target network interface in the target host, wherein the trigger event is used to indicate that a network address of the target network interface is updated to a first network address; a determination module, configured to determine, when the trigger event occurs on the target network interface, whether it is necessary to send a target message carrying the first network address to the switch based on interface configuration information of an aggregate interface in the target host, the aggregate interface being obtained by aggregating multiple network interfaces in the target host, the multiple network interfaces including the target network interface, wherein whether it is necessary to send the target message to the switch is determined by parsing the interface configuration information and based on an aggregation mode and an interface status of the aggregate interface obtained by parsing; a sending module, configured to, when it is necessary to send the target message to the switch, obtain the address type of the second network address corresponding to the aggregation interface, and call the sending interface corresponding to the address type to send the target message to the switch, where the address type includes Internet Protocol Version 4 (IPV4) and / or Internet Protocol Version 6 (IPV6).

8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

9. A computer-readable storage medium having a computer program stored thereon, 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.

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.

Citation Information

Patent Citations

  • Network protection method and device based on aggregation port, network equipment and storage medium

    CN111327523A