Communication channel switching method, server and electronic equipment
By monitoring the status of the communication link and switching according to priority, the problem of not automatically switching back after the main network port is restored, achieving more efficient network management and performance improvement.
Patent Information
- Application Number
- CN202411718586.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-27
- Publication Date
- 2025-03-11
AI Technical Summary
In the prior art, when the communication link is switched, the main network port will not automatically switch back after it returns to normal, resulting in the communication link staying on the backup network port for a long time, affecting network performance and management efficiency.
By monitoring the communication link status of the channel, channel switching is performed according to the switching mode and the priority of each channel, and the automatic switch back function is realized. When the main network port returns to normal, the system can automatically switch back to the main network port.
It improves the flexibility, efficiency and reliability of network management, avoids communication links staying on backup ports for a long time, thereby improving network performance and management efficiency.
Smart Images

Figure CN119603227A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to a communication channel switching method, a server and an electronic device. Background Art
[0002] Modern server management systems are usually equipped with OCP (Open Compute Project) network cards, which support shared network port communication. A shared network port can deploy two IP (Internet Protocol) addresses on one network port, one for system network communication and the other to provide network traffic to the BMC (Baseboard Management Controller) through a sideband channel. This allows one network cable to be used for both business and management, saving material costs, equipment costs, and labor deployment costs.
[0003] On the BMC side, if the main network port of the shared network is abnormal, the driver will automatically switch the communication link to the backup network port. However, when the communication of the main network port is restored, the communication link will not be automatically switched back unless the backup port has communication abnormalities again. Therefore, the current way of switching communication links will affect network performance and management efficiency. Summary of the invention
[0004] The present invention provides a communication channel switching method, a server and an electronic device, which are used to improve the flexibility, efficiency and reliability of network management in a communication link switching scenario.
[0005] In a first aspect, an embodiment of the present invention provides a communication channel switching method, the method comprising:
[0006] determining that a communication link state of at least one channel changes;
[0007] According to the switching mode and the priority of each channel, the uplink channel for sending uplink data is switched to the channel with the highest priority; different switching modes determine the priority of the channel in different ways.
[0008] The communication channel switching method provided in this embodiment monitors the communication link status of the channel, and when it is determined that the communication link status has changed, the channel is switched according to the switching mode and the priority of each channel. As long as a change in the communication link status is detected, whether to perform link switching can be re-evaluated according to the current switching mode and the priority of each channel, and the channel with the highest priority can be selected for switching. Therefore, after the network failure is restored, the network port with the highest priority can still be used to send uplink data, and the network port with higher priority is maintained first, thereby improving the overall availability and performance of the system and enhancing the stability and reliability of communication.
[0009] As an optional implementation manner, the switching mode is the first mode; the step of switching the uplink channel for sending uplink data to the channel with the highest priority includes:
[0010] Determine the communication link status of each channel;
[0011] The uplink channel is switched to a channel with a communication link state of being connected and having the highest priority among all channels, wherein the priority of each channel is preset.
[0012] In the first mode, this embodiment can automatically switch channels according to the communication link status and priority, and switch the current channel to a connected channel with the highest priority, that is, switch the current uplink channel to the channel with the highest priority among all channels in the connected state, give priority to using the high-priority channel, and improve the stability and reliability of communication. By introducing an automatic switchback mechanism, when the main network port returns to normal, the system can automatically switch back to the main network port. This design effectively avoids the communication link staying on the backup network port for a long time, thereby improving network performance and management efficiency.
[0013] As an optional implementation manner, the switching mode is the second mode; the step of switching the uplink channel for sending uplink data to the channel with the highest priority includes:
[0014] The uplink channel is switched to a designated channel, wherein the designated channel is the channel with the highest priority among all channels.
[0015] In the second mode, the embodiment can switch the current uplink channel to the designated channel, allowing the user to manually specify the priority of the network channel, so that the user can flexibly configure according to actual needs. This can optimize network resource configuration, improve the overall performance of the system, and meet the needs of different application scenarios.
[0016] As an optional implementation, the switching mode is determined in the following manner:
[0017] Obtaining the enable status of each channel, where the enable status is used to indicate whether the channel is available;
[0018] The switching mode is determined according to the enable status of each channel.
[0019] This embodiment supports dynamic adjustment of channel enablement, and can flexibly manage network channels and set the availability of each channel according to actual needs. This mechanism is particularly important in a complex network environment, and can better adapt to changing network conditions and simplify the management and maintenance of communication links.
[0020] As an optional implementation manner, determining the switching mode according to the enable state of each channel includes:
[0021] If the enable states of all channels are available, determining the switching mode to be the first mode;
[0022] If the enable states of only some of the channels are available, the switching mode is determined to be the second mode.
[0023] This embodiment can provide multiple switching modes by dynamically adjusting channel enablement and selecting the switching mode to be used according to actual needs, so as to better adapt to the changing network status and simplify the management and maintenance of the communication link.
[0024] As an optional implementation manner, monitoring whether the communication link status of each channel changes includes:
[0025] Receiving an AEN message sent by a network controller, wherein the AEN message carries information about a change in a communication link state of a channel;
[0026] It is determined according to the AEN message that a communication link state of at least one channel changes.
[0027] This embodiment monitors the status of each network port in real time through the network controller, determines whether to switch channels through AEN message triggers, and introduces an automatic switching mechanism. When the main network port returns to normal, the system can automatically switch back to the main network port. This effectively avoids the communication link staying on the backup network port for a long time, and improves network performance and management efficiency.
[0028] As an optional implementation, the method further includes:
[0029] In bond4 mode, each channel is added to a polling linked list, and the downlink data sent by each downlink channel is received by reading each channel in the polling linked list.
[0030] In the bond4 mode, this embodiment manages uplink data and downlink data differently to ensure reasonable management of downlink channels and avoid downlink data loss. This improvement improves the integrity and reliability of communications and is particularly suitable for data centers and enterprise network environments that require high reliability.
[0031] In a second aspect, an embodiment of the present invention provides a server, comprising a processor and a memory, wherein the memory is used to store a program executable by the processor, and the processor is used to read the program in the memory and perform the following steps:
[0032] determining that a communication link state of at least one channel changes;
[0033] According to the switching mode and the priority of each channel, the uplink channel for sending uplink data is switched to the channel with the highest priority; different switching modes determine the priority of the channel in different ways.
[0034] As an optional implementation manner, the switching mode is a first mode; and the processor is specifically configured to execute:
[0035] Determine the communication link status of each channel;
[0036] The uplink channel is switched to a channel with a communication link state of being connected and having the highest priority among all channels, wherein the priority of each channel is preset.
[0037] As an optional implementation manner, the switching mode is the second mode; and the processor is specifically configured to execute:
[0038] The uplink channel is switched to a designated channel, wherein the designated channel is the channel with the highest priority among all channels.
[0039] As an optional implementation, the processor is specifically configured to determine the switching mode in the following manner:
[0040] Obtaining the enable status of each channel, where the enable status is used to indicate whether the channel is available;
[0041] The switching mode is determined according to the enable status of each channel.
[0042] As an optional implementation, the processor is specifically configured to execute:
[0043] If the enable states of all channels are available, determining the switching mode to be the first mode;
[0044] If the enable states of only some of the channels are available, the switching mode is determined to be the second mode.
[0045] As an optional implementation, the processor is specifically configured to execute:
[0046] Receiving an AEN message sent by a network controller, wherein the AEN message carries information about a change in a communication link state of a channel;
[0047] It is determined according to the AEN message that a communication link state of at least one channel changes.
[0048] As an optional implementation, the processor is further configured to execute:
[0049] In bond4 mode, each channel is added to a polling linked list, and the downlink data sent by each downlink channel is received by reading each channel in the polling linked list.
[0050] In a third aspect, an embodiment of the present invention further provides an electronic device, the electronic device comprising a processor and a memory, the memory being used to store a program executable by the processor, the processor being used to read the program in the memory and perform the following steps:
[0051] determining that a communication link state of at least one channel changes;
[0052] According to the switching mode and the priority of each channel, the uplink channel for sending uplink data is switched to the channel with the highest priority; different switching modes determine the priority of the channel in different ways.
[0053] As an optional implementation manner, the switching mode is a first mode; and the processor is specifically configured to execute:
[0054] Determine the communication link status of each channel;
[0055] The uplink channel is switched to a channel with a communication link state of being connected and having the highest priority among all channels, wherein the priority of each channel is preset.
[0056] As an optional implementation manner, the switching mode is the second mode; and the processor is specifically configured to execute:
[0057] The uplink channel is switched to a designated channel, wherein the designated channel is the channel with the highest priority among all channels.
[0058] As an optional implementation, the processor is specifically configured to determine the switching mode in the following manner:
[0059] Obtaining the enable status of each channel, where the enable status is used to indicate whether the channel is available;
[0060] The switching mode is determined according to the enable status of each channel.
[0061] As an optional implementation, the processor is specifically configured to execute:
[0062] If the enable states of all channels are available, determining the switching mode to be the first mode;
[0063] If the enable states of only some of the channels are available, the switching mode is determined to be the second mode.
[0064] As an optional implementation, the processor is specifically configured to execute:
[0065] Receiving an AEN message sent by a network controller, wherein the AEN message carries information about a change in a communication link state of a channel;
[0066] It is determined according to the AEN message that a communication link state of at least one channel changes.
[0067] As an optional implementation, the processor is further configured to execute:
[0068] In bond4 mode, each channel is added to a polling linked list, and the downlink data sent by each downlink channel is received by reading each channel in the polling linked list.
[0069] In a fourth aspect, an embodiment of the present invention further provides a communication channel switching device, the device comprising:
[0070] A status monitoring module, used to determine whether a communication link status of at least one channel has changed;
[0071] The channel switching module is used to switch the uplink channel for sending uplink data to the channel with the highest priority according to the switching mode and the priority of each channel; different switching modes determine the priority of the channel in different ways.
[0072] As an optional implementation manner, the switching mode is the first mode; and the channel switching module is specifically used for:
[0073] Determine the communication link status of each channel;
[0074] The uplink channel is switched to a channel with a communication link state of being connected and having the highest priority among all channels, wherein the priority of each channel is preset.
[0075] As an optional implementation manner, the switching mode is the second mode; and the channel switching module is specifically used for:
[0076] The uplink channel is switched to a designated channel, wherein the designated channel is the channel with the highest priority among all channels.
[0077] As an optional implementation, the channel switching module is specifically used to determine the switching mode in the following manner:
[0078] Obtaining the enable status of each channel, where the enable status is used to indicate whether the channel is available;
[0079] The switching mode is determined according to the enable status of each channel.
[0080] As an optional implementation, the channel switching module is specifically used for:
[0081] If the enable states of all channels are available, determining the switching mode to be the first mode;
[0082] If the enable states of only some of the channels are available, the switching mode is determined to be the second mode.
[0083] As an optional implementation, the status monitoring module is specifically used for:
[0084] Receiving an AEN message sent by a network controller, wherein the AEN message carries information about a change in a communication link state of a channel;
[0085] It is determined according to the AEN message that a communication link state of at least one channel changes.
[0086] As an optional implementation, the device further includes a receiving module specifically configured to:
[0087] In bond4 mode, each channel is added to a polling linked list, and the downlink data sent by each downlink channel is received by reading each channel in the polling linked list.
[0088] In a fifth aspect, an embodiment of the present invention further provides a computer storage medium on which a computer program is stored, and when the program is executed by a processor, it is used to implement the steps of any one of the methods described in the first aspect above.
[0089] In a sixth aspect, the present application provides a computer program product, comprising: a computer program code, when the computer program code is run on a computer, the computer executes any one of the methods described in the first aspect.
[0090] These and other aspects of the present application will be more clearly understood in the description of the following embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0091] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0092] Figure 1 A schematic diagram of an existing shared network communication model provided by an embodiment of the present invention;
[0093] Figure 2 A schematic diagram of a link state of automatic switching failure provided by an embodiment of the present invention;
[0094] Figure 3 A schematic diagram of a link state after fault recovery provided by an embodiment of the present invention;
[0095] Figure 4A flow chart of a communication channel switching method provided by an embodiment of the present invention;
[0096] Figure 5 A schematic diagram of a channel enable whitelist format provided by an embodiment of the present invention;
[0097] Figure 6 A schematic diagram of an automatic channel switching method provided by an embodiment of the present invention;
[0098] Figure 7 A schematic diagram of a manual channel switching method provided by an embodiment of the present invention;
[0099] Figure 8 A BMC driver processing flow chart provided in an embodiment of the present invention;
[0100] Fig. 9A A schematic diagram of an automatic channel switching method provided by an embodiment of the present invention;
[0101] Fig. 9B A schematic diagram of a manual channel switching method provided by an embodiment of the present invention;
[0102] Fig.10 A schematic diagram of a server provided in an embodiment of the present invention;
[0103] Fig.11 A schematic diagram of an electronic device provided by an embodiment of the present invention;
[0104] Fig.12 A schematic diagram of a communication channel switching device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0105] In order to make the purpose, technical scheme and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0106] In the embodiments of the present invention, the term "and / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B may represent three situations: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects before and after are in an "or" relationship.
[0107] The application scenarios described in the embodiments of the present invention are intended to more clearly illustrate the technical solutions of the embodiments of the present invention, and do not constitute a limitation on the technical solutions provided by the embodiments of the present invention. It is known to those skilled in the art that with the emergence of new application scenarios, the technical solutions provided by the embodiments of the present invention are also applicable to similar technical problems. In the description of the present invention, unless otherwise specified, "multiple" means two or more.
[0108] Before introducing the communication channel switching method provided in the embodiment of the present application, in order to facilitate understanding, the technical background of the embodiment of the present application is first introduced in detail below.
[0109] Modern server management systems are usually equipped with OCP (Open Compute Project) network cards, which support shared network port communication and are usually used in servers, especially in high-density data center environments. Figure 1 As shown, this embodiment provides an existing shared network communication model, in which the server includes a NIC (Network Interface Card), a CPU (Central Processing Unit) and a BMC (Baseboard Management Controller). Among them, the BMC is a dedicated controller for monitoring and managing the server. The BMC is the core component of the server's out-of-band management and uses the IPMI (Intelligent Platform Management Interface) protocol to provide an access interface to the outside. The BMC is a small operating system independent of the server system, a chip integrated on the motherboard, or plugged into the motherboard through PCIE (peripheral component interconnect express, a high-speed serial computer expansion bus standard) and other forms. The external manifestation is just a standard RJ45 network port with an independent IP firmware system. The shared network port can deploy two IP (Internet Protocol) addresses on one network port, one for system network communication, and the other to provide network traffic for the BMC through the sideband channel, that is, external data can be sent to the NIC through the network port of the OCP network card, and the NIC sends part of the data to the CPU and the other part of the data to the BMC. A single network cable can be used for both business and management, saving material costs, equipment costs, and labor deployment costs.
[0110] In actual application scenarios, shared network cards often deploy their multiple network ports in a bond4 (IEEE 802.3ad dynamic link aggregation mode) environment, that is, the dynamic link aggregation mode is also called Bond4 mode, to increase bandwidth and provide redundancy support. The switch working in this mode will evenly distribute the downstream data traffic on the participating network ports, thereby increasing the overall bandwidth, while the BMC communicates through the sideband channel and can only select one of the network ports to send upstream data. If any network port fails, the downstream traffic can be automatically distributed to other normal network ports, and the BMC selects a normal network port to send upstream data to ensure the reliability of the network connection, such as Figure 2 As shown, this embodiment also provides a schematic diagram of the link status of automatic switching failure. When network port 1 fails, the BMC automatically switches to network port 2 to send uplink data. On the BMC side, if the communication of the main network port of the shared network is abnormal, the driver will automatically switch the communication link to the backup network port. However, when the communication of the main network port is restored, the communication link will not automatically switch back unless the backup port has a communication abnormality again. Figure 3 As shown, this embodiment also provides a schematic diagram of the link status after fault recovery. When the fault of network port 1 is recovered, since the uplink channel has been switched to network port 2 when the fault of network port 1 occurs, even after the fault of network port 1 is recovered, the link status still maintains that the BMC sends uplink data to network port 2. Therefore, the current communication link switching method will affect network performance and management efficiency, and there are the following specific problems:
[0111] (1) The communication link switching mechanism is not flexible
[0112] The existing communication link switching mainly relies on the automatic fault switching mechanism. When the communication of the main port is abnormal, the system will automatically switch to the backup port. However, when the main port returns to normal, the system does not have a mechanism to automatically switch to the main port, which may cause the communication link to stay on the backup port for a long time, affecting network performance and management efficiency.
[0113] (2) Users lack control over network channels
[0114] Existing technologies usually do not allow users to manually specify the priority of network channels. This design limits the ability of users to flexibly configure according to their own needs, resulting in the inability to optimally configure network resources in some application scenarios, affecting the overall performance of the system.
[0115] (3) Imperfect channel enabling mechanism
[0116] In the prior art, the enabling of channels is usually fixed and does not support dynamic adjustment according to actual needs. This mechanism is not flexible enough in a complex network environment and cannot adapt to the changing network status, making the management and maintenance of communication links more difficult.
[0117] (4) Lack of dynamic maintenance of link status
[0118] The existing technology is relatively passive in link status maintenance, and only handles when a link failure occurs, lacking an active port priority maintenance mechanism. This may lead to untimely update of link status, failure to fully utilize the high performance and stability of the primary port, reducing the overall availability and performance of the system, and affecting the stability and reliability of communication.
[0119] (5) Not suitable for special requirements in bond4 mode
[0120] When the existing technology is applied to the bond4 mode (link aggregation control protocol), it often does not manage the upstream and downstream data traffic differently. In the bond4 mode, the BMC shared network is used as the out-of-band communication link of the network card. If the upstream and downstream data channels cannot be properly managed, it may cause the loss of downstream data, affecting the integrity and reliability of communication.
[0121] In summary, the existing technology has certain deficiencies in communication link switching, user control, channel enabling mechanism, link state maintenance, bond4 mode adaptability and high availability support, which affects the management efficiency and communication performance of network equipment. In view of these problems, it is particularly important to propose improved technical solutions to improve the flexibility, efficiency and reliability of network management.
[0122] In order to solve the above technical problems, the present embodiment provides a communication channel switching method, which can monitor the communication link status of the channel, and when it is determined that the communication link status has changed, perform channel switching according to the switching mode and the priority of each channel, wherein the communication link status change includes a change from a fault state to a fault recovery state, or a change from a connection state to a fault state, etc. As long as a change in the communication link status is detected, whether to perform link switching and choose to switch to the channel with the highest priority can be re-evaluated according to the current switching mode and the priority of each channel, thereby giving priority to maintaining network ports with higher priorities, improving the overall availability and performance of the system, and improving the stability and reliability of communication.
[0123] like Figure 4 As shown, a communication channel switching method provided in this embodiment is applied to a server, and the specific implementation process of the method is as follows:
[0124] Step 400: Determine that the communication link status of at least one channel changes;
[0125] Optionally, the communication link status in this embodiment includes but is not limited to connected, disconnected (faulty), etc. When the communication link status is connected, it means that the network port of the channel is connected and can transmit data normally; when the communication link status is disconnected (faulty), it means that the network port of the channel cannot transmit data normally.
[0126] In some embodiments, whether the communication link status of each channel changes is monitored in the following manner:
[0127] An AEN message sent by a network controller (NIC) is received, wherein the AEN message carries information about a change in a communication link state of a channel; and a communication link state of at least one channel is determined to have changed according to the AEN message.
[0128] Optionally, this embodiment uses the NIC to monitor the status of each network port of the network card. When it is monitored that the communication link status of the channel of at least one network port has changed, an AEN (Asynchronous Event Notification) message is sent to the BMC, wherein the AEN message carries the change information of the communication link status of the channel. After receiving the AEN message, the BMC sends a switching instruction to the NIC to instruct the NIC to switch to the channel of the specified network port, wherein the switching instruction carries the channel of the specified network port.
[0129] During implementation, the NIC can monitor the status of each network port of the network card, wherein the status of the network port includes but is not limited to: communication link status such as connection status, optical module temperature, network port configuration, etc. When the NIC detects that the communication link status of the channel of one or more network ports has changed, the communication link status is sent to the NCSI (Network Controller Sideband Interface) driver of the BMC by means of an asynchronous event notification (AEN). The NCSI driver provides a network management interface, which can communicate with the network interface card using the sideband channel (Sideband Channel) to implement configuration and status monitoring of the network interface card. This communication is independent of the main data path and does not affect normal data transmission. The NCSI driver obtains information on changes in the communication link status of the channels of each network port by receiving asynchronous event notifications (AEN). When the communication link status changes, the network card will actively send AEN to the BMC through the NCSI protocol, where AEN carries the change information of the communication link status of the channel. After receiving AEN, the BMC will trigger the Link State Change (LSC) callback processing function in the NCSI driver. The callback processing function is used to notify the NIC to switch channels (i.e., network port switching). It can also be understood that the BMC sends a switching instruction to the NIC, where the switching instruction carries the specified network port information, which is used to instruct the NIC to switch to the specified network port (or the channel of the specified network port) and use the channel of the specified network port to transmit uplink data.
[0130] Among them, the relationship between the NCSI driver and the BMC is mainly reflected in the role of the NCSI protocol in server management. NCSI is an industrial standard protocol defined by DMTF (Distributed Management Task Force) to support out-of-band management of servers. The NCSI protocol allows the BMC to communicate with the network controller through the NCSI interface to achieve monitoring and management of the server without going through the main CPU. This method can significantly reduce the burden on the server CPU and improve the overall performance and stability of the server. In specific implementation, the NCSI driver is responsible for handling the communication between the BMC and the network controller. When the server communicates through the NCSI interface, the BMC can exchange information with the network controller through the NCSI driver to achieve remote management and monitoring functions. This mechanism enables the BMC to use the interface of the network controller to perform various management tasks without relying on the processing power of the main CPU. In short, the NCSI driver plays the role of a bridge between the BMC and the network controller, and realizes efficient management and monitoring of the server through the NCSI protocol, reduces the burden on the CPU, and improves the overall performance and reliability of the server.
[0131] It should be noted that the network card in this embodiment includes one or more network ports, one network port corresponds to one channel for transmitting uplink data / downlink data, and one channel corresponds to one communication link state for indicating the connection state of the current channel.
[0132] Step 401: according to the switching mode and the priority of each channel, the uplink channel for sending uplink data is switched to the channel with the highest priority; different switching modes determine the priority of the channel in different ways.
[0133] In practice, different switching modes in this embodiment determine the uplink channel that is ultimately switched in different ways. The switching modes in this embodiment include but are not limited to the first mode and the second mode.
[0134] This embodiment makes improvements in the callback function that responds to the AEN message, allowing the user to specify the priority network channel number, thereby selectively performing channel switching. This method provides two switching modes:
[0135] The first mode (ie, automatic mode): channel switching is automatically performed according to the priority channel number specified by the user.
[0136] The second mode (ie, manual mode): data traffic always uses the channel selected by the user and does not automatically switch according to the link status of the network interface.
[0137] In the first mode, as long as the communication link status of the channel is connected, it will switch to the channel with the highest priority according to the priority. The channel with the highest priority will be used first while keeping the network unobstructed. In the second mode, even if the communication link status of the designated channel is disconnected, the channel will not switch and remain disconnected; even if the communication link status of the channel with the highest priority returns to normal, the channel will still not switch and continue to use the designated channel to transmit uplink data.
[0138] In some embodiments, the present embodiment may determine the switching mode in the following manner:
[0139] The enable state of each channel is obtained, where the enable state is used to indicate whether the channel is available; and a switching mode is determined according to the enable state of each channel.
[0140] In implementation, the enable status of each channel can be set according to actual needs, and the enable status of each channel can be recorded in the form of a whitelist. The NCSI driver of the BMC can provide a channel enable whitelist, using a bit mask mechanism to mark the channels that can be used for communication. Each bit represents the enable status of a channel, and setting it to 1 means enabling.
[0141] In some embodiments, this embodiment can determine the switching mode according to the enable state of each channel in the following manner:
[0142] Method 1) If the enable status of each channel is available, the switching mode is determined to be the first mode;
[0143] In implementation, in the first mode, all channels are in an enabled state, and the value of the enabled state is a maximum value 0xFFFFFFFF.
[0144] Mode 2) If the enable status of only some of the channels is available, the switching mode is determined to be the second mode.
[0145] In implementation, in the second mode, only the selected channels are in the enabled state, and only some bits of the channel enable state values in the channel enable whitelist are set to 1. Optionally, the user can select one or some channels as designated channels.
[0146] In implementation, the current switching mode is determined by judging the value of each channel enable state in the channel enable whitelist, and the switching mode is distinguished when executing the steps of the callback processing function, and channel priority processing is performed only in the first mode. Figure 5 As shown, this embodiment provides a schematic diagram of the channel enable whitelist format, where each bit is used to represent the enable state value of the corresponding network port, and one network port represents the enable state through one bit. The channel enable whitelist in this embodiment can provide up to 32 network port enable states, while a network card is actually equipped with up to 4 network ports. Therefore, the channel enable whitelist in this embodiment can fully meet the setting of the enable state of each network port in the current network card.
[0147] In some embodiments, when the switching mode is the first mode, this embodiment switches the uplink channel for sending uplink data to the channel with the highest priority in the following manner:
[0148] Determine the communication link status of each channel;
[0149] The uplink channel is switched to a channel with a communication link state of being connected and having the highest priority among all channels, wherein the priority of each channel is preset.
[0150] In implementation, the priority of the channel of each network port is preset, for example, the network ports with the highest priority from high to low are: network port 1, network port 2, network port 3 and network port 4. When the NIC detects that the communication link status of at least one channel has changed, it sends an AEN message to the BMC. The BMC determines the communication link status of each channel according to the change information of the communication link status carried in the AEN message, and selects the channel with the highest priority whose communication link status is connected. For example, if it is determined that all channels are connected, the current uplink channel is switched to the channel of network port 1. In implementation, when network port 1 recovers from the fault state, that is, network port 1 changes from disconnected to connected, the NIC sends the change information of the communication link status of network port 1 to the BMC, that is, notifies the BMC that network port 1 is in the connected state. At this time, the BMC automatically switches the uplink channel to the uplink channel of network port 1, ensuring that the high performance and stability of the main port are fully utilized, and improving network performance and management efficiency.
[0151] It should be noted that the priority setting of the network port (channel) in this embodiment can be determined according to the network status, network performance such as transmission bandwidth, etc. The priority of the network port with the best network status or the best network performance can be set to the highest. For example, the priority of the channel of the network port with the highest bandwidth and the fastest transmission rate is set to the highest, ensuring that the network status and the best network performance in the network environment are used first, thereby improving network performance and management efficiency.
[0152] like Figure 6 As shown, this embodiment provides a schematic diagram of automatic channel switching. In the initial state, the BMC uses the network port 1 with the highest priority to transmit uplink data. When it is detected that the communication link state of the channel of the network port 1 changes, the network card (or NIC) is triggered to send an AEN message. The BMC receives the AEN message sent by the NIC. The AEN message carries the change information of the communication link state of the network port 1, that is, the change information is that the network port 1 changes from the connected state to the disconnected (faulty). At this time, the BMC selects the network port 2 with the highest priority in the connection state to transmit the uplink data according to the current connection state of each network port, that is, the uplink channel of the network port 1 is switched to the uplink channel of the network port 2. When it is detected again that the communication link status of the channel of network port 1 changes, the network card (or NIC) is triggered to send an AEN message. The BMC receives the AEN message sent by the NIC. The AEN message carries the change information of the communication link status of network port 1, that is, the change information is that the network port 1 changes from the disconnected (fault) state to the connected state. At this time, the BMC selects the network port 1 with the highest priority in the connection state to transmit the uplink data according to the current connection state of each network port, that is, the uplink channel of network port 2 is switched to the uplink channel of network port 1.
[0153] In some embodiments, when the switching mode is the second mode, this embodiment switches the uplink channel for sending uplink data to the channel with the highest priority in the following manner:
[0154] The uplink channel is switched to a designated channel, wherein the designated channel is the channel with the highest priority among all channels.
[0155] It should be noted that when the user designates a channel from each channel as the designated channel, the priority of the designated channel is the highest. Even if the preset priority of the channel is lower than the priority of other network ports, in the second mode, the priority of the designated channel is still the highest priority. And at this time, when switching to the designated channel, it does not consider whether the designated channel is in a connected state. Regardless of whether the designated channel is connected, the uplink channel is still switched to the designated channel.
[0156] In implementation, the designated channel is determined according to the value of the enable state of each channel in the second mode. When the NIC detects that the communication link state of at least one channel has changed, the BMC switches the current uplink channel to the designated channel, such as switching to the channel of network port 1. In implementation, after the BMC switches the current uplink channel to the designated channel, no matter what the communication link state of the channel is, the channel will not be switched, and the designated channel will always be selected as the uplink channel for transmitting uplink data.
[0157] like Figure 7 As shown, this embodiment provides a schematic diagram of manually switching channels. In the initial state, the BMC uses the network port 4 of the designated channel to transmit uplink data. When it is detected that the communication link state of the channel of the network port 4 changes, the network card (or NIC) is triggered to send an AEN message, and the BMC receives the AEN message sent by the NIC. The AEN message carries the change information of the communication link state of the network port 4, that is, the change information is that the network port 4 changes from the connected state to the disconnected (faulty) state. At this time, the BMC does not switch the channel, and still selects the network port 4 to transmit the uplink data. At this time, the BMC is in a disconnected state with the network port 4. When it is detected again that the communication link state of the channel of the network port 4 changes, the network card (or NIC) is triggered to send an AEN message, and the BMC receives the AEN message sent by the NIC. The AEN message carries the change information of the communication link state of the network port 4, that is, the change information is that the network port 4 changes from the disconnected (faulty) state to the connected state. At this time, the BMC continues to use the uplink channel of the network port 4 to transmit uplink data. That is, in the second mode, regardless of whether the communication link state of each channel is connected, the designated channel is used to transmit the uplink data.
[0158] like Figure 8 As shown, this embodiment also provides a BMC end driver processing flow chart, the specific process is as follows:
[0159] Step 800: System initialization;
[0160] When the system starts, the NCSI driver is loaded and the channel enable whitelist is initialized. The switching mode and the priority of each channel are determined according to the user configuration.
[0161] Step 801, triggering an AEN message;
[0162] Among them, the NIC is used to monitor the status of each network port of the network card. When the communication link status of the channel of the network port is detected to change, an AEN message is sent to the NCSI driver of the BMC. The NCSI driver receives the AEN message and triggers the LSC callback function. The BMC determines whether to perform channel switching based on the current switching mode.
[0163] Step 802: Determine the switching mode;
[0164] Step 803, switch the mode to the first mode, determine whether the highest priority channel is connected, if so, execute step 804, otherwise execute step 805;
[0165] Step 804: Switch the current uplink channel to the channel with the highest priority;
[0166] Step 805: Select the channel with the highest priority from the connected channels, and switch the current uplink channel to the channel with the highest priority;
[0167] Step 806: Switch the mode to the second mode, and switch the current uplink channel to the designated channel.
[0168] The channel switching logic in this embodiment is that, in the first mode, according to the connection status channel number transmitted by the AEN message, it is determined whether the high-priority channel specified by the user has obtained a connection. If the connection is obtained, the uplink is switched to this channel; if the connection is lost, the channel with the highest priority among the remaining connected channels is selected, and the uplink is switched to this channel. The process of switching channels in this embodiment is only for the uplink channel (uplink), and the downlink (downlink channel) is not operated. The uplink channel / link refers to the channel / link through which the BMC sends messages. The downlink channel / link refers to the channel / link through which the BMC receives messages. In the second mode, according to the user settings, the uplink is switched to the specified channel, regardless of the connection status channel number transmitted by the AEN message. It should be noted that the second mode still only switches the uplink channel (uplink) and does not operate the downlink.
[0169] In some embodiments, in the bond4 mode, each channel is added to a polling linked list, and the downlink data sent by each downlink channel is received by reading each channel in the polling linked list.
[0170] In implementation, in bond4 mode, the data flow of uplink data and downlink data is evenly shared in the channels participating in the aggregation. Since the downlink is related to the device sending data, it is not controlled by BMC, so the downlink of all network ports must be opened at the same time to avoid data packet loss. To achieve this purpose, the present embodiment adds all channels to the polling linked list of received data in the NCSI driver, and receives the downlink data sent by each downlink channel by reading the mode of each channel in the polling linked list. It should be noted that in the second mode, when uplink data is sent through a specified channel, it is still necessary to add all channels to the polling linked list, for receiving downlink data through all channels, to avoid packet loss caused by the transmission device traffic being evenly distributed.
[0171] The method provided in this embodiment is particularly suitable for bond4 mode (link aggregation control protocol). In bond4 mode, the data traffic of uplink data and downlink data is evenly shared among the channels participating in the aggregation. Since the shared network of the BMC serves as the out-of-band communication link of the network card, it can only limit its own uplink channel. The downlink channel is related to the device that sends data and is not controlled by the BMC. Therefore, after setting the uplink channel, the downlink data of the BMC that is not in this uplink channel in bond4 mode will be lost. To ensure data integrity, for the selected uplink channel, this embodiment only applies uplink restrictions and opens the downlink links of all channels.
[0172] The communication channel switching method provided in this embodiment enables users to use a shared network in a bond4 environment and freely specify a high-priority port, thereby ensuring that as long as the specified port communicates normally, the system will communicate through the port. This method effectively improves the flexibility and efficiency of network management.
[0173] like Fig. 9A As shown, the present embodiment provides a schematic diagram of an automatic switching channel, loads NCSI driver when the system starts, and initializes the channel enable whitelist, determines the switching mode according to the channel enable state value in the whitelist, and when the channel enable state value is 1, determines that the switching mode is the first mode. In the NCSI driver, all channels are added to the polling linked list of received data, and the downlink data sent by all channels in the polling linked list are received, ensuring that the data packets of the downlink links (downlink channels) of all network ports will not be lost. When it is detected that the network port 1 is disconnected or fails, the current uplink channel is switched to the network port 2 by the BMC, wherein the priority of each network port is respectively network port 1, network port 2, network port 3, and network port 4 from high to low. When the network port 1 is restored to connect, the BMC loads NCSI driver, and determines that the switching mode is the first mode according to the channel enable state value in the whitelist, and according to the connection state and priority of each network port, the uplink channel of the current network port 2 is switched to the uplink channel of the network port 1 connected to the network port and the highest priority.
[0174] like Fig. 9B As shown, the present embodiment provides a schematic diagram of a manual switching channel, NCSI is loaded when the system starts and drives, and the channel enable whitelist is initialized, and the switching mode is determined according to the channel enable state value in the whitelist, when only the channel enable state value of network port 4 is 1, and the channel enable state values of other network ports are 0, it is determined that the switching mode is the second mode. In the NCSI driver, all channels are added to the polling linked list of received data, and the downlink data sent by all channels in the polling linked list are received, and it is ensured that the data packet of the downlink link (downlink channel) of all network ports will not be lost. When the network port 4 of the specified channel is disconnected or fails, BMC will not perform channel switching. When network port 4 resumes connection, BMC loads NCSI and drives, and determines that the switching mode is the second mode according to the channel enable state value in the whitelist, and the uplink channel of network port 4 is directly used to send uplink data.
[0175] The communication channel switching method provided in this embodiment proposes a series of improvement schemes to improve the flexibility, efficiency and reliability of network management. The specific effects include:
[0176] (1) Provide a flexible communication link switching mechanism;
[0177] By introducing the automatic switchback mechanism, when the primary port returns to normal, the system can automatically switch back to the primary port. This design effectively avoids the communication link staying on the backup port for a long time, thereby improving network performance and management efficiency.
[0178] (2) User-controllable network channel priority;
[0179] The present invention allows users to manually specify the priority of network channels, so that users can flexibly configure according to actual needs. This can optimize network resource configuration, improve the overall performance of the system, and meet the needs of different application scenarios.
[0180] (3) Providing a dynamically adjusted channel enabling mechanism;
[0181] By supporting dynamic adjustment of channel enablement, the present invention can flexibly manage network channels according to actual needs. This mechanism is particularly important in complex network environments, and can better adapt to changing network states and simplify the management and maintenance of communication links.
[0182] (4) Optimized management of bond4 mode;
[0183] In bond4 mode, the present invention manages uplink and downlink data traffic differently, ensuring reasonable management of downlink data channels and avoiding downlink data loss. This improvement improves the integrity and reliability of communications and is particularly suitable for data centers and enterprise network environments that require high reliability.
[0184] Based on the same inventive concept, an embodiment of the present invention further provides a server. Since the device is the device in the method in the embodiment of the present invention, and the principle of solving the problem by the device is similar to that of the method, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be repeated.
[0185] like Fig.10 As shown, the server includes a processor 1000 and a memory 1001, wherein the memory 1001 is used to store a program executable by the processor 1000, and the processor 1000 is used to read the program in the memory 1001 and perform the following steps:
[0186] determining that a communication link state of at least one channel changes;
[0187] According to the switching mode and the priority of each channel, the uplink channel for sending uplink data is switched to the channel with the highest priority; different switching modes determine the priority of the channel in different ways.
[0188] As an optional implementation manner, the switching mode is the first mode; the processor 1000 is specifically configured to execute:
[0189] Determine the communication link status of each channel;
[0190] The uplink channel is switched to a channel with a communication link state of being connected and having the highest priority among all channels, wherein the priority of each channel is preset.
[0191] As an optional implementation manner, the switching mode is the second mode; the processor 1000 is specifically configured to execute:
[0192] The uplink channel is switched to a designated channel, wherein the designated channel is the channel with the highest priority among all channels.
[0193] As an optional implementation manner, the processor 1000 is specifically configured to determine the switching mode in the following manner:
[0194] Obtaining the enable status of each channel, where the enable status is used to indicate whether the channel is available;
[0195] The switching mode is determined according to the enable status of each channel.
[0196] As an optional implementation manner, the processor 1000 is specifically configured to execute:
[0197] If the enable states of all channels are available, determining the switching mode to be the first mode;
[0198] If the enable states of only some of the channels are available, the switching mode is determined to be the second mode.
[0199] As an optional implementation manner, the processor 1000 is specifically configured to execute:
[0200] Receiving an AEN message sent by a network controller, wherein the AEN message carries information about a change in a communication link state of a channel;
[0201] It is determined according to the AEN message that a communication link state of at least one channel changes.
[0202] As an optional implementation manner, the processor 1000 is further configured to execute:
[0203] In bond4 mode, each channel is added to a polling linked list, and the downlink data sent by each downlink channel is received by reading each channel in the polling linked list.
[0204] Based on the same inventive concept, an embodiment of the present invention further provides an electronic device. Since the device is the device in the method in the embodiment of the present invention, and the principle of solving the problem by the device is similar to that of the method, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be repeated.
[0205] like Fig.11 As shown, the electronic device includes a processor 1100 and a memory 1101, wherein the memory 1101 is used to store a program executable by the processor 1100, and the processor 1100 is used to read the program in the memory 1101 and perform the following steps:
[0206] determining that a communication link state of at least one channel changes;
[0207] According to the switching mode and the priority of each channel, the uplink channel for sending uplink data is switched to the channel with the highest priority; different switching modes determine the priority of the channel in different ways.
[0208] As an optional implementation manner, the switching mode is the first mode; the processor 1100 is specifically configured to execute:
[0209] Determine the communication link status of each channel;
[0210] The uplink channel is switched to a channel with a communication link state of being connected and having the highest priority among all channels, wherein the priority of each channel is preset.
[0211] As an optional implementation manner, the switching mode is the second mode; the processor 1100 is specifically configured to execute:
[0212] The uplink channel is switched to a designated channel, wherein the designated channel is the channel with the highest priority among all channels.
[0213] As an optional implementation manner, the processor 1100 is specifically configured to determine the switching mode in the following manner:
[0214] Obtaining the enable status of each channel, where the enable status is used to indicate whether the channel is available;
[0215] The switching mode is determined according to the enable status of each channel.
[0216] As an optional implementation manner, the processor 1100 is specifically configured to execute:
[0217] If the enable states of all channels are available, determining the switching mode to be the first mode;
[0218] If the enable states of only some of the channels are available, the switching mode is determined to be the second mode.
[0219] As an optional implementation manner, the processor 1100 is specifically configured to execute:
[0220] Receiving an AEN message sent by a network controller, wherein the AEN message carries information about a change in a communication link state of a channel;
[0221] It is determined according to the AEN message that a communication link state of at least one channel changes.
[0222] As an optional implementation manner, the processor 1100 is further configured to execute:
[0223] In bond4 mode, each channel is added to a polling linked list, and the downlink data sent by each downlink channel is received by reading each channel in the polling linked list.
[0224] Based on the same inventive concept, an embodiment of the present invention also provides a communication channel switching device. Since the device is the device in the method in the embodiment of the present invention, and the principle of solving the problem by the device is similar to that of the method, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be repeated.
[0225] like Fig.12As shown, the device comprises:
[0226] A status monitoring module 1200 is used to determine whether a communication link status of at least one channel has changed;
[0227] The channel switching module 1201 is used to switch the uplink channel for sending uplink data to the channel with the highest priority according to the switching mode and the priority of each channel; different switching modes determine the priority of the channel in different ways.
[0228] As an optional implementation manner, the switching mode is the first mode; the channel switching module 1201 is specifically used for:
[0229] Determine the communication link status of each channel;
[0230] The uplink channel is switched to a channel with a communication link state of being connected and having the highest priority among all channels, wherein the priority of each channel is preset.
[0231] As an optional implementation manner, the switching mode is the second mode; the channel switching module 1201 is specifically used for:
[0232] The uplink channel is switched to a designated channel, wherein the designated channel is the channel with the highest priority among all channels.
[0233] As an optional implementation, the channel switching module 1201 is specifically configured to determine the switching mode in the following manner:
[0234] Obtaining the enable status of each channel, where the enable status is used to indicate whether the channel is available;
[0235] The switching mode is determined according to the enable status of each channel.
[0236] As an optional implementation, the channel switching module 1201 is specifically used for:
[0237] If the enable states of all channels are available, determining the switching mode to be the first mode;
[0238] If the enable states of only some of the channels are available, the switching mode is determined to be the second mode.
[0239] As an optional implementation, the status monitoring module 1200 is specifically used for:
[0240] Receiving an AEN message sent by a network controller, wherein the AEN message carries information about a change in a communication link state of a channel;
[0241] It is determined according to the AEN message that a communication link state of at least one channel changes.
[0242] As an optional implementation, the device further includes a receiving module specifically configured to:
[0243] In bond4 mode, each channel is added to a polling linked list, and the downlink data sent by each downlink channel is received by reading each channel in the polling linked list.
[0244] Based on the same inventive concept, an embodiment of the present disclosure provides a computer storage medium, the computer storage medium includes: a computer program code, when the computer program code is executed on a computer, the computer executes any of the communication channel switching methods discussed above. Since the principle of solving the problem by the above-mentioned computer storage medium is similar to that of the communication channel switching method, the implementation of the above-mentioned computer storage medium can refer to the implementation of the method, and the repeated parts will not be repeated.
[0245] In the specific implementation process, the computer storage medium may include: Universal Serial Bus Flash Drive (USB), mobile hard disk, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk, and other storage media that can store program codes.
[0246] Based on the same inventive concept, the embodiment of the present disclosure also provides a computer program product, which includes: computer program code, when the computer program code is run on a computer, the computer executes any of the communication channel switching methods discussed above. Since the principle of solving the problem by the above computer program product is similar to that of the communication channel switching method, the implementation of the above computer program product can refer to the implementation of the method, and the repeated parts will not be repeated.
[0247] The computer program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination thereof. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more conductors, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof.
[0248] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) containing computer-usable program code.
[0249] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that has the functions specified in one or more boxes.
[0250] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0251] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0252] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A communication channel switching method, characterized in that: The method includes: determining that a communication link state of at least one channel changes; According to the switching mode and the priority of each channel, the uplink channel for sending uplink data is switched to the channel with the highest priority; different switching modes determine the priority of the channel in different ways.
2. The method according to claim 1, characterized in that The switching mode is the first mode; the uplink channel for sending uplink data is switched to the channel with the highest priority, including: Determine the communication link status of each channel; The uplink channel is switched to a channel with a communication link state of being connected and having the highest priority among all channels, wherein the priority of each channel is preset.
3. The method according to claim 1, characterized in that The switching mode is the second mode; the uplink channel for sending uplink data is switched to the channel with the highest priority, including: The uplink channel is switched to a designated channel, wherein the designated channel is the channel with the highest priority among all channels.
4. The method according to claim 1, characterized in that: The switching mode is determined as follows: Obtaining the enable status of each channel, where the enable status is used to indicate whether the channel is available; The switching mode is determined according to the enable status of each channel.
5. The method according to claim 4, characterized in that Determining the switching mode according to the enabling state of each channel includes: If the enable states of all channels are available, determining the switching mode to be the first mode; If the enable states of only some of the channels are available, the switching mode is determined to be the second mode.
6. The method according to claim 1, characterized in that The monitoring of whether the communication link status of each channel changes includes: Receiving an AEN message sent by a network controller, wherein the AEN message carries information about a change in a communication link state of a channel; It is determined according to the AEN message that a communication link state of at least one channel changes.
7. The method according to any one of claims 1 to 6, characterized in that: The method further includes: In bond4 mode, each channel is added to a polling linked list, and the downlink data sent by each downlink channel is received by reading each channel in the polling linked list.
8. A server, characterized in that: The server comprises a processor and a memory, wherein the memory is used to store a program executable by the processor, and the processor is used to read the program in the memory and execute the steps of any one of the methods of claims 1 to 7.
9. An electronic device, characterized in that: The electronic device comprises a processor and a memory, wherein the memory is used to store a program executable by the processor, and the processor is used to read the program in the memory and execute the steps of any one of the methods of claims 1 to 7.
10. A computer storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
Citation Information
Cited By
Port switching test system, method and device, electronic equipment and storage medium
CN120342928A
Firmware upgrading method and device and storage medium
CN120512427A