Network card control method, device, communication equipment and storage medium

By monitoring the network card status in the multi-substar server and selecting an appropriate independent network redundant array, the problem that multi-network card binding in the prior art cannot achieve high bandwidth and high stability is solved, and efficient data transmission needs are achieved.

CN116633784BActive Publication Date: 2025-08-26INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310778963.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-06-28
Publication Date
2025-08-26
Estimated Expiration
2043-06-28

AI Technical Summary

Technical Problem

In the prior art, multi-network card binding on a single server cannot achieve high bandwidth and high stability, especially in high-density, large-area, and high-broadband network environments, processor performance and stability are limited.

Method used

By monitoring the status of network cards of each node in the multi-substar server, different independent network redundant arrays are selected according to user needs, including the first, second and third independent network redundant arrays, the aggregation and redundancy management of network cards are realized, ensuring high bandwidth and high stability transmission.

Benefits of technology

It realizes high bandwidth and high stability data transmission in multi-substar servers based on different demand scenarios, and improves the reliability and efficiency of network transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116633784B_ABST
    Figure CN116633784B_ABST
Patent Text Reader

Abstract

An embodiment of the present application provides a network card control method, apparatus, communication equipment and storage medium, which are applied to a network control system, wherein the network control system is mounted on a multi-satellite server, including: obtaining the status corresponding to the network card of each node in the multi-satellite server, wherein the network card corresponds to at least two network ports, and the links between the network ports are aggregated; receiving a mode instruction sent by a target user; controlling the network card of each node to form a preset independent network redundant array according to the mode instruction and the status corresponding to the network card, wherein the preset independent network redundant array is used to control the network card of each node in the multi-satellite server, that is, the embodiment of the present application monitors the status of the network card of each independent node by using a network control system, selects different independent network redundant arrays according to different demand scenarios of the user, and performs a convergence operation on the network cards in the multi-satellite server to achieve high-bandwidth and high-stability data transmission requirements.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of network technology, and in particular to a network card control method, device, communication equipment and storage medium. Background Art

[0002] With the continuous advancement of science and technology, the integration of 5G with artificial intelligence and the internet will become increasingly profound. The arrival of 5G technology has transformed people's lives, bringing numerous conveniences and bringing about earth-shaking changes. From the initial 1G era to the current 5G, the digital age requires more than just changes in network transmission speeds; it also demands greater bandwidth and higher stability to cope with the dramatic changes in people's daily lives and the economy and society. For example, during e-commerce platform events, live streaming sales, popular tourist attractions, and intelligent vehicle assistance systems, large numbers of users can access the same location at the same time, creating a huge demand for high-density, large-scale, high-bandwidth, and highly stable network bandwidth.

[0003] In order to solve the above technical problems in the prior art, multiple network cards are generally bound on the same machine (server). However, this method has certain requirements on processor performance and stability for aggregating multiple network cards under a single server, and the same machine has only two PCIE network card slots, so high bandwidth cannot be achieved. Summary of the Invention

[0004] The purpose of the embodiments of the present application is to provide a network card control method, apparatus, communication device, and storage medium. The specific technical solutions are as follows:

[0005] In a first aspect of the present application, a network card control method is provided, which is applied to a network control system, wherein the network control system is mounted on a multi-satellite server. The method includes:

[0006] Obtain the status of the network card corresponding to each node in the multi-star server, wherein the network card corresponds to at least two network ports, and the links between the network ports are aggregated;

[0007] Receive mode instructions sent by the target user;

[0008] According to the mode instruction and the status corresponding to the network card, the network cards of each node are controlled to form a preset independent network redundant array, wherein the preset independent network redundant array is used to control the network cards of each node in the multi-sub-star server.

[0009] Optionally, the preset independent network redundant array includes at least one of the following:

[0010] A first redundant array of independent networks, a second redundant array of independent networks, and a third redundant array of independent networks.

[0011] Optionally, controlling the network cards of each node to form a preset independent network redundant array according to the mode instruction and the status corresponding to the network card, wherein the preset independent network redundant array is used to control the network cards of each node in the multi-sub-star server, including:

[0012] When it is detected that the mode instruction sent by the target user is a high-bandwidth and high-stability instruction, controlling the network cards of each node to form a third independent network redundant array according to the high-bandwidth and high-stability instruction, wherein the third independent network redundant array includes at least two network cards serially aggregated and a network card corresponding to a redundant node;

[0013] When it is detected that the second target network card in the serially aggregated network cards is in a faulty state, the second target network card is replaced with a network card corresponding to the redundant node.

[0014] Optionally, controlling the network cards of each node to form a preset independent network redundant array according to the mode instruction and the status corresponding to the network card, wherein the preset independent network redundant array is used to control the network cards of each node in the multi-sub-star server, including:

[0015] When it is detected that the mode instruction sent by the target user is a high-bandwidth and high-rate instruction, controlling the network adapters of each node to form a first independent network redundant array according to the high-bandwidth and high-rate instruction, wherein the first independent network redundant array includes a logical network adapter;

[0016] Among them, the logical network card is generated by serially aggregating the bandwidths corresponding to all network cards on each node in the multi-star server, and the actual rate corresponding to the first independent network redundant array is the sum of the rates corresponding to all network cards on each node in the multi-star server.

[0017] Optionally, controlling the network cards of each node to form a preset independent network redundant array according to the mode instruction and the status corresponding to the network card, wherein the preset independent network redundant array is used to control the network cards of each node in the multi-sub-star server, including:

[0018] When it is detected that the mode instruction sent by the target user is a high-stability instruction, controlling the network adapters of each node to form a second independent network redundant array according to the high-stability instruction, wherein the second independent network redundant array includes at least two network adapter groups serially aggregated;

[0019] The network card group is generated by grouping all the network cards on each node in the multi-star server. The network cards in each network card group are mirror images of each other. The actual rate corresponding to the second independent network redundant array is the sum of the rates corresponding to at least two of the network card groups. The actual rate corresponding to each network card group is the rate corresponding to any one of the network cards in the network card group.

[0020] When it is detected that the first target network card in the network card group is in a fault state, the first target network card is replaced.

[0021] Optionally, the multi-sub-star server includes at least four independent nodes, each of the independent nodes includes an independent operating system, each of the nodes is equipped with two high-speed serial computer expansion bus standard slots and one open source computing project slot, the high-speed serial computer expansion bus standard slots are equipped with a first wired network card and a second wired network card, and the open source computing project slot is equipped with a third wired network card.

[0022] Optionally, before the step of obtaining the status of the network card corresponding to each node in the multi-satellite server, the method includes:

[0023] Control the static aggregation of network cards of each node in the multi-star server. Control the static aggregation of network cards of each node in the multi-star server.

[0024] In a second aspect of the present application, a network card control device is provided, wherein the device includes:

[0025] An acquisition module is used to obtain the status of the network card corresponding to each node in the multi-sub-star server, wherein the network card corresponds to at least two network ports, and the links between the network ports are aggregated;

[0026] A receiving module, used for receiving a mode instruction sent by a target user;

[0027] The control module is used to control the network cards of each node to form a preset independent network redundant array according to the mode instruction and the corresponding status of the network card, wherein the preset independent network redundant array is used to control the network cards of each node in the multi-sub-star server.

[0028] Optionally, the control module is further configured to configure the preset independent network redundant array to include at least one of the following:

[0029] First independent network redundant array, second independent network redundant array, and third independent network redundant array:

[0030] Optionally, the control module includes:

[0031] a first control submodule, configured to, upon detecting that the mode instruction sent by the target user is a high-bandwidth, high-stability instruction, control the network adapters of each of the nodes to form a third independent network redundant array according to the high-bandwidth, high-stability instruction, wherein the third independent network redundant array includes at least two network adapters serially aggregated and a network adapter corresponding to a redundant node;

[0032] The first replacement submodule is configured to replace the second target network card with a network card corresponding to the redundant node when it is detected that the second target network card in the serially aggregated network cards is in a faulty state.

[0033] Optionally, the control module includes:

[0034] a second control submodule, configured to, when detecting that the mode instruction sent by the target user is a high-bandwidth and high-rate instruction, control the network adapters of each of the nodes to form a first independent network redundant array according to the high-bandwidth and high-rate instruction, wherein the first independent network redundant array includes one logical network adapter;

[0035] Among them, the logical network card is generated by serially aggregating the bandwidths corresponding to all network cards on each node in the multi-star server, and the actual rate corresponding to the first independent network redundant array is the sum of the rates corresponding to all network cards on each node in the multi-star server.

[0036] Optionally, the control module includes:

[0037] a third control submodule, configured to, when detecting that the mode instruction sent by the target user is a high-stability instruction, control the network adapters of each node to form a second independent network redundant array according to the high-stability instruction, wherein the second independent network redundant array includes at least two network adapter groups serially aggregated;

[0038] The network card group is generated by grouping all the network cards on each node in the multi-star server. The network cards in each network card group are mirror images of each other. The actual rate corresponding to the second independent network redundant array is the sum of the rates corresponding to at least two of the network card groups. The actual rate corresponding to each network card group is the rate corresponding to any one of the network cards in the network card group.

[0039] The second replacement submodule is configured to replace the first target network card in the network card group when it is detected that the first target network card is in a faulty state.

[0040] Optionally, the acquisition module is also used for the multi-satellite server to include at least four independent nodes, each of the independent nodes includes an independent operating system, each of the nodes is equipped with two high-speed serial computer expansion bus standard slots and one open source computing project slot, the high-speed serial computer expansion bus standard slots are equipped with a first wired network card and a second wired network card, and the open source computing project slot is equipped with a third wired network card.

[0041] Optionally, the device comprises:

[0042] The static aggregation module is used to control the static aggregation of the network cards of each node in the multi-star server.

[0043] In a third aspect of the present application, there is further provided a communication device comprising: a transceiver, a memory, a processor, and a program stored in the memory and executable on the processor;

[0044] The processor is used to read the program in the memory to implement the network card control method as described in any one of the first aspects.

[0045] In a fourth aspect of the implementation of the present application, a computer-readable storage medium is further provided, wherein instructions are stored in the computer-readable storage medium. When the computer-readable storage medium is executed on a computer, the computer implements the network card control method as described in any one of the first aspects.

[0046] The network card control method provided in the embodiment of the present application is applied to a network control system, which is installed in a multi-satellite server. The method obtains the status corresponding to the network card of each node in the multi-satellite server, wherein the network card corresponds to at least two network ports and the links between the network ports are aggregated; receives a mode instruction sent by a target user; and controls the network cards of each node to form a preset independent network redundant array according to the mode instruction and the status corresponding to the network card, wherein the preset independent network redundant array is used to control the network cards of each node in the multi-satellite server. That is, the embodiment of the present application monitors the status of the network cards of each independent node by using a network control system, selects different independent network redundant arrays according to different demand scenarios of the user, and performs a convergence operation on the network cards in the multi-satellite server to achieve high-bandwidth and high-stability data transmission requirements. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art.

[0048] Figure 1 The steps of the network card control method provided in the embodiment of the present application are as follows: Figure 1 ;

[0049] Figure 2 This is the step flow of the network card control method provided by the embodiment of the application Figure 2 ;

[0050] Figure 3 This is the step flow of the network card control method provided by the embodiment of the application Figure 3 ;

[0051] Figure 4 This is the step flow of the network card control method provided by the embodiment of the application Figure 4 ;

[0052] Figure 5 This is a device block diagram of a network card control device provided by an embodiment of the present application;

[0053] Figure 6 This is a schematic diagram of a communication device provided in an embodiment of the present application;

[0054] Figure 7 This is a schematic diagram of an independent network redundant array in the network card control method provided in an embodiment of the present application;

[0055] Figure 8 This is another schematic diagram of an independent network redundant array in the network card control method provided in an embodiment of the present application;

[0056] Figure 9 This is another schematic diagram of an independent network redundant array in the network card control method provided in an embodiment of the present application. DETAILED DESCRIPTION

[0057] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, each embodiment of the present application will be described in detail below with reference to the accompanying drawings. However, it will be understood by those skilled in the art that in each embodiment of the present application, many technical details are proposed in order to enable the reader to better understand the present application. However, even without these technical details and various changes and modifications based on the following embodiments, the technical solutions claimed in the present application can be implemented. The division of the following embodiments is for convenience of description and should not constitute any limitation on the specific implementation of the present application. The various embodiments can be combined with each other and referenced to each other under the premise of no contradiction.

[0058] Reference Figure 1 , showing the steps of the network card control method provided by the embodiment of the present application Figure 1 , the method may include:

[0059] Step 101: Obtain the status of the network card corresponding to each node in the multi-satellite server, wherein the network card corresponds to at least two network ports, and the links between the network ports are aggregated.

[0060] It should be noted that in the embodiment of the present application, a multi-star server refers to multiple independent nodes, and the independent nodes are equipped with independent operating systems. The multi-star server may include but is not limited to 2U2, 2U4, and 4U8 models. In order to facilitate technical personnel in this field to understand the technical solutions in the embodiment of the present application, the embodiment of the present application is explained using the 2U4 model as an example.

[0061] For the 2U4 model, 4 independent nodes are provided in the 2U space. Each node is an independent system without interfering with each other. Each node can be equipped with 2 high-speed serial computer expansion bus standard slots and 1 open source computing project slot, which means that up to 3 wired network cards can be installed for high-speed transmission at the same time.

[0062] Furthermore, the multi-satellite server includes at least four independent nodes, each of which includes an independent operating system. Each of the nodes is equipped with two high-speed serial computer expansion bus standard (Peripheral Component Interconnect Express, PCIE) slots and an open source computing project (Open Computer Project, OCP) slot. The high-speed serial computer expansion bus standard slot is equipped with a first wired network card and a second wired network card, and the open source computing project slot is equipped with a third wired network card.

[0063] For multi-satellite servers, there is a network control system (NCS) similar to CMC, which can monitor the network card status of each node in the server and organize the network cards on each node into a redundant array of independent networks (RAIN) according to actual needs.

[0064] Furthermore, before step 101, that is, before the step of obtaining the status of the network cards of each node in the multi-star server, the method further includes: controlling the static aggregation of the network cards of each node in the multi-star server.

[0065] It should be noted that in the embodiment of the present application, before forming an independent network redundant array, network card binding is required, that is, two network ports are turned into one network port. Specifically, the network cards on each node are statically aggregated. There are seven network card binding modes. In this application, mode=0 can be used. Mode=0 indicates a balanced load mode with automatic backup, and can achieve link load balancing, increase bandwidth, and support fault tolerance.

[0066] Step 102: Receive a mode instruction sent by a target user.

[0067] It should be noted that in an embodiment of the present application, the target user can send mode instructions to the network control system according to his or her own needs or the needs of different application scenarios, wherein the mode instructions are used to instruct the network control system to control the network cards of each node in the server, thereby meeting the user's bandwidth requirements, rate requirements and network stability requirements.

[0068] Specifically, users can send high-bandwidth and high-speed instructions to the network control system to achieve high-speed network transmission in data transmission scenarios such as large-capacity movies; users who need to conduct data transmission services in industries such as finance and securities can send high-stability instructions to the network control system to achieve stable network transmission; users who need to perform intelligent vehicle assistance and require stable network transmission and high bandwidth can send high-bandwidth and high-stability instructions to the network control system.

[0069] Step 103: Control the network cards of each node to form a preset independent network redundant array according to the mode instruction and the corresponding status of the network card, wherein the preset independent network redundant array is used to control the network cards of each node in the multi-satellite server.

[0070] It should be noted that in the embodiment of the present application, for the network control system, when receiving a mode instruction sent by the user, it is necessary to obtain the network card status and determine the network cards of each node to form a preset independent network redundant array based on the network card status and the mode instruction.

[0071] The preset independent network redundant arrays may include three types: a first independent network redundant array, a second independent network redundant array, and a third independent network redundant array. Each independent network redundant array has different aggregation connection characteristics and is combined according to actual conditions.

[0072] Furthermore, the preset independent network redundant array includes at least one of the following: a first independent network redundant array, a second independent network redundant array, and a third independent network redundant array.

[0073] The network card control method provided in the embodiment of the present application is applied to a network control system, which is installed in a multi-satellite server. The method obtains the status corresponding to the network card of each node in the multi-satellite server, wherein the network card corresponds to at least two network ports and the links between the network ports are aggregated; receives a mode instruction sent by a target user; and controls the network cards of each node to form a preset independent network redundant array according to the mode instruction and the status corresponding to the network card, wherein the preset independent network redundant array is used to control the network cards of each node in the multi-satellite server. That is, the embodiment of the present application monitors the status of the network cards of each independent node by using a network control system, selects different independent network redundant arrays according to different demand scenarios of the user, and performs a convergence operation on the network cards in the multi-satellite server to achieve high-bandwidth and high-stability data transmission requirements.

[0074] Reference Figure 2 , showing the steps of the network card control method provided by the embodiment of the present application Figure 2 , the method may include:

[0075] Step 201: Obtain the status of the network card corresponding to each node in the multi-sub-star server, wherein the network card corresponds to at least two network ports, and the links between the network ports are aggregated.

[0076] Step 202: Receive a mode instruction sent by a target user.

[0077] It should be noted that the above steps 201-202 refer to the discussion of the previous steps 101-102 and will not be repeated here.

[0078] Step 203: When it is detected that the mode instruction sent by the target user is a high-bandwidth, high-stability instruction, the network adapters of each node are controlled to form a third independent network redundant array according to the high-bandwidth, high-stability instruction, wherein the third independent network redundant array includes at least two network adapters serially aggregated and a network adapter corresponding to a redundant node.

[0079] Step 204: When it is detected that the second target network card in the serially aggregated network cards is in a faulty state, the second target network card is replaced with a network card corresponding to the redundant node.

[0080] It should be noted that in the above steps 203-204, in order to achieve high-bandwidth and high-stability network transmission, it is necessary to aggregate the wired network card ports of each node on the multi-satellite server into a super virtual network card. In order to facilitate the understanding of technical personnel in this field, the aggregation of a 2U4-node multi-satellite server with a 25G dual-port network card is used as an example to illustrate.

[0081] For the third independent network redundant array, the characteristic of the third independent network redundant array is that one of the nodes in the server is used as a redundant node. The network card on the redundant node can automatically supplement when the remaining network card has problems, without affecting the overall transmission rate of the server.

[0082] Specifically, when it is detected that the mode instruction sent by the target user is a high-bandwidth high-stability instruction, such as Figure 9 As shown, Figure 9 This is another schematic diagram of an independent network redundant array in the network card control method provided in an embodiment of the present application. Figure 9 That is the third independent network redundant array. Specifically, the network cards of the three nodes are serially aggregated with a maximum bandwidth of 150G. Then the network card of the last node is made redundant. When any network card of the three nodes fails, the fourth redundant node can be temporarily replaced. This not only ensures the system's transmission bandwidth but also improves the stability of the server.

[0083] The embodiment of the present application uses a network control system to monitor the status of the network card of each independent node, selects different independent network redundant arrays according to different user demand scenarios, and aggregates the network cards in the multi-satellite server to achieve high-bandwidth and high-stability data transmission requirements.

[0084] In addition, by making the network card of any node redundant and serially aggregating the network cards of the remaining nodes, when any network card of the remaining nodes fails, the redundant node can be temporarily replaced, thereby ensuring the server network transmission bandwidth while improving the stability of the server.

[0085] Reference Figure 3 , showing the steps of the network card control method provided by the embodiment of the present application Figure 3 , the method may include:

[0086] Step 301: Obtain the status of the network card corresponding to each node in the multi-star server, wherein the network card corresponds to at least two network ports, and the links between the network ports are aggregated.

[0087] Step 302: Receive a mode instruction sent by a target user.

[0088] It should be noted that the above steps 301-302 refer to the discussion of the previous steps 101-102 and will not be repeated here.

[0089] Step 303: When it is detected that the mode instruction sent by the target user is a high-bandwidth and high-rate instruction, the network cards on each of the nodes are controlled to form a first independent network redundant array according to the high-bandwidth and high-rate instruction, wherein the first independent network redundant array includes a logical network card; wherein the logical network card is generated by serially aggregating the bandwidths corresponding to all the network cards on each node in the multi-satellite server, and the actual rate corresponding to the first independent network redundant array is the sum of the rates corresponding to all the network cards on each node in the multi-satellite server.

[0090] It should be noted that in the above steps 203-204, in order to achieve high-bandwidth and high-stability network transmission, it is necessary to aggregate the wired network card ports of each node on the multi-satellite server into a super virtual network card. In order to facilitate the understanding of technical personnel in this field, the aggregation of a 2U4-node multi-satellite server with a 25G dual-port network card is used as an example to illustrate.

[0091] For the first independent network redundant array, the first independent network redundant array is to serially aggregate all the network cards of each node in the server, so as to form a logical network card, and the transmission rate and bandwidth of the network card are the sum of all the network cards.

[0092] Specifically, when it is detected that the mode instruction sent by the target user is a high-bandwidth high-rate instruction, such as Figure 7 As shown, Figure 7 This is a schematic diagram of an independent network redundant array in the network card control method provided in an embodiment of the present application. Figure 7 This is the Redundant Array of First Independent Network (RAI), which is the RAIN mode with the highest bandwidth. It requires at least two network adapters (NICs) and aggregates the bandwidth of all NIC ports into one logical NIC. The actual speed is the sum of the speeds of all NICs, 200G. Therefore, this RAIN can achieve high bandwidth and high speed, making it suitable for data transmission scenarios such as large-capacity movies.

[0093] Specifically, the 2U4 node is equipped with a 25G dual-port network card to form the first independent network redundant array, which can achieve 200G ultra-high network speed transmission.

[0094] The embodiment of the present application uses a network control system to monitor the status of the network card of each independent node, selects different independent network redundant arrays according to different demand scenarios of the user, and aggregates the network cards in the multi-satellite server, so as to realize the high-bandwidth and high-speed data transmission requirements according to the communication scenario.

[0095] In addition, by aggregating the bandwidth of all network card ports into one logical network card, high bandwidth and high speed of server network transmission can be achieved in scenarios such as large-capacity movie or media transmission.

[0096] Reference Figure 4 , showing the steps of the network card control method provided by the embodiment of the present application Figure 4 , the method may include:

[0097] Step 401: Obtain the status of the network card corresponding to each node in the multi-star server, wherein the network card corresponds to at least two network ports, and the links between the network ports are aggregated.

[0098] Step 402: Receive a mode instruction sent by a target user.

[0099] It should be noted that the above steps 401-402 refer to the discussion of the previous steps 101-102 and will not be repeated here.

[0100] Step 403: When it is detected that the mode instruction sent by the target user is a high-stability instruction, the network cards on each of the nodes are controlled to form a second independent network redundant array according to the high-stability instruction, wherein the second independent network redundant array includes at least two network card groups serially aggregated; wherein the network card group is generated by grouping all the network cards on each node in the multi-sub-star server, the network cards in each network card group are mirrored to each other, the actual rate corresponding to the second independent network redundant array is the sum of the rates corresponding to at least two of the network card groups, and the actual rate corresponding to each of the network card groups is the rate corresponding to any one of the network cards in the network card group.

[0101] It should be noted that in the above steps 203-204, in order to achieve high-bandwidth and high-stability network transmission, it is necessary to aggregate the wired network card ports of each node on the multi-satellite server into a super virtual network card. In order to facilitate the understanding of technical personnel in this field, the aggregation of a 2U4-node multi-satellite server with a 25G dual-port network card is used as an example to illustrate.

[0102] For the second independent network redundant array, the network cards in each node in the server need to be grouped. Specifically, all the network cards on each node in the multi-star server are grouped into two groups, and the network cards in each network card group are mirrored to each other. The actual rate corresponding to the second independent network redundant array is the sum of the rates corresponding to at least two network card groups, and the actual rate corresponding to each network card group is the rate corresponding to any network card in the network card group.

[0103] Specifically, when it is detected that the mode instruction sent by the target user is a high stability instruction, such as Figure 8 As shown, Figure 8 This is another schematic diagram of an independent network redundant array in the network card control method provided in an embodiment of the present application. Figure 8 That is the second independent network redundant array, the second independent network redundant array mode, first two nodes (refer to Figure 8 The network cards of nodes 1 and 2 (and nodes 3 and 4) mirror each other. If one network card is damaged, the current transmission process and bandwidth are not affected. Data transmission can be continued by replacing the original network card with a new, identical network card. Then, two groups of nodes (nodes 1 and 2 as one group, and node 3 and 4 as another group) are connected in series, so that the actual data transmission bandwidth is equal to 100G. The second independent network redundant array ensures that the transmission process will not be suspended and the transmission bandwidth will not be reduced when any network card fails. Therefore, the second independent network redundant array mode is very stable and can be used for data transmission services in industries such as finance and securities.

[0104] Step 404: When it is detected that the first target network card in the network card group is in a faulty state, the first target network card is replaced.

[0105] The embodiment of the present application uses a network control system to monitor the status of the network card of each independent node, selects different independent network redundant arrays according to different demand scenarios of the user, and aggregates the network cards in the multi-satellite server, so as to realize the high-bandwidth and high-speed data transmission requirements according to the communication scenario.

[0106] In addition, by mirroring the network cards of the two nodes, when one network card is damaged, the current transmission process and bandwidth will not be affected. Data transmission can be continued by replacing the original network card with a new, identical network card. Moreover, by connecting the two groups of nodes in series, while ensuring high bandwidth for data transmission, even if any network card fails, the transmission process will not be suspended and the transmission bandwidth will not be reduced.

[0107] Reference Figure 5 , shows a schematic structural diagram of a network card control device provided in an embodiment of the present application, the device may include:

[0108] An acquisition module 501 is configured to acquire the status of a network card corresponding to each node in a multi-satellite server, wherein the network card corresponds to at least two network ports, and the links between the network ports are aggregated;

[0109] Receiving module 502, used to receive a mode instruction sent by a target user;

[0110] The control module 503 is used to control the network cards of each node to form a preset independent network redundant array according to the mode instruction and the corresponding status of the network card, wherein the preset independent network redundant array is used to control the network cards of each node in the multi-sub-star server.

[0111] Optionally, the control module is further configured to configure the preset independent network redundant array to include at least one of the following:

[0112] First independent network redundant array, second independent network redundant array, and third independent network redundant array:

[0113] Optionally, the control module includes:

[0114] a first control submodule, configured to, upon detecting that the mode instruction sent by the target user is a high-bandwidth, high-stability instruction, control the network adapters of each of the nodes to form a third independent network redundant array according to the high-bandwidth, high-stability instruction, wherein the third independent network redundant array includes at least two network adapters serially aggregated and a network adapter corresponding to a redundant node;

[0115] The first replacement submodule is configured to replace the second target network card with a network card corresponding to the redundant node when it is detected that the second target network card in the serially aggregated network cards is in a faulty state.

[0116] Optionally, the control module includes:

[0117] a second control submodule, configured to, when detecting that the mode instruction sent by the target user is a high-bandwidth and high-rate instruction, control the network adapters of each of the nodes to form a first independent network redundant array according to the high-bandwidth and high-rate instruction, wherein the first independent network redundant array includes one logical network adapter;

[0118] Among them, the logical network card is generated by serially aggregating the bandwidths corresponding to all network cards on each node in the multi-star server, and the actual rate corresponding to the first independent network redundant array is the sum of the rates corresponding to all network cards on each node in the multi-star server.

[0119] Optionally, the control module includes:

[0120] a third control submodule, configured to, when detecting that the mode instruction sent by the target user is a high-stability instruction, control the network adapters of each node to form a second independent network redundant array according to the high-stability instruction, wherein the second independent network redundant array includes at least two network adapter groups serially aggregated;

[0121] The network card group is generated by grouping all the network cards on each node in the multi-star server. The network cards in each network card group are mirror images of each other. The actual rate corresponding to the second independent network redundant array is the sum of the rates corresponding to at least two of the network card groups. The actual rate corresponding to each network card group is the rate corresponding to any one of the network cards in the network card group.

[0122] The second replacement submodule is configured to replace the first target network card in the network card group when it is detected that the first target network card is in a faulty state.

[0123] Optionally, the acquisition module is also used for the multi-satellite server to include at least four independent nodes, each of the independent nodes includes an independent operating system, each of the nodes is equipped with two high-speed serial computer expansion bus standard slots and one open source computing project slot, the high-speed serial computer expansion bus standard slots are equipped with a first wired network card and a second wired network card, and the open source computing project slot is equipped with a third wired network card.

[0124] Optionally, the device comprises:

[0125] The static aggregation module is used to control the static aggregation of the network cards of each node in the multi-star server.

[0126] The network card control device provided in the embodiment of the present application is applied to a network control system, which is installed in a multi-satellite server. It obtains the status corresponding to the network card of each node in the multi-satellite server, wherein the network card corresponds to at least two network ports and the links between the network ports are aggregated; receives a mode instruction sent by a target user; and controls the network cards of each node to form a preset independent network redundant array according to the mode instruction and the status corresponding to the network card, wherein the preset independent network redundant array is used to control the network cards of each node in the multi-satellite server. That is, the embodiment of the present application uses a network control system to monitor the status of the network cards of each independent node, selects different independent network redundant arrays according to different demand scenarios of the user, and performs a convergence operation on the network cards in the multi-satellite server to achieve high-bandwidth and high-stability data transmission requirements.

[0127] The present application also provides a communication device, such as Figure 6 As shown, it includes a processor 601, a communication interface 602, a memory 603 and a communication bus 604, wherein the processor 601, the communication interface 602, and the memory 603 communicate with each other through the communication bus 604.

[0128] Memory 603, used for storing computer programs;

[0129] When the processor 601 is used to execute the program stored in the memory 603, it can implement the following steps:

[0130] Obtain the status of the network card corresponding to each node in the multi-star server, wherein the network card corresponds to at least two network ports, and the links between the network ports are aggregated;

[0131] Receive mode instructions sent by the target user;

[0132] According to the mode instruction and the status corresponding to the network card, the network cards of each node are controlled to form a preset independent network redundant array, wherein the preset independent network redundant array is used to control the network cards of each node in the multi-sub-star server.

[0133] The communication bus mentioned in the terminal can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. This communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is used in the figure, but this does not mean that there is only one bus or only one type of bus.

[0134] The communication interface is used for communication between the above terminal and other devices.

[0135] The memory may include random access memory (RAM) or non-volatile memory, such as at least one disk storage. Alternatively, the memory may be at least one storage device located away from the processor.

[0136] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, and discrete hardware components.

[0137] In another embodiment provided by the present application, a computer-readable storage medium is further provided, in which instructions are stored. When the computer-readable storage medium is run on a computer, the computer executes the network card control method described in any one of the above embodiments.

[0138] In another embodiment provided by the present application, a computer program product including instructions is also provided, which, when executed on a computer, enables the computer to execute the network card control method described in any one of the above embodiments.

[0139] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When software is used for implementation, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website, computer, server or data center to another website, computer, server or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) method. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrations. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive (SSD)).

[0140] It should be noted that, in this document, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply the existence of any such actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or device comprising the element.

[0141] Each embodiment in this specification is described in a related manner. Similar parts between the various embodiments can be referred to in conjunction with each other. Each embodiment focuses on the differences between the other embodiments. In particular, the system embodiment is generally similar to the method embodiment, so the description is relatively simple. For related parts, refer to the description of the method embodiment.

[0142] The above description is only a preferred embodiment of the present application and is not intended to limit the scope of protection of the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application are included in the scope of protection of the present application.

Claims

1. A network card control method, characterized in that: Applied to a network control system, the network control system is mounted on a multi-satellite server, and the method includes: Obtain the status of the network card corresponding to each node in the multi-star server, wherein the network card corresponds to at least two network ports, and the links between the network ports are aggregated; Receive mode instructions sent by the target user; According to the mode instruction and the status corresponding to the network card, the network cards of each node are controlled to form a preset independent network redundant array, wherein the preset independent network redundant array is used to control the network cards of each node in the multi-sub-star server; the mode instruction includes a high-bandwidth and high-stability instruction, a high-bandwidth and high-rate instruction, and a high-stability instruction; the preset independent network redundant array includes at least one of the following: a first independent network redundant array, a second independent network redundant array, and a third independent network redundant array; wherein the first independent network redundant array includes a logical network card, and the logical network card is generated by serially aggregating the bandwidth corresponding to all network cards on each node in the multi-sub-star server; the second independent network redundant array includes serial aggregation of at least two network card groups; the third independent network redundant array includes serial aggregation of at least two network cards, and a network card corresponding to a redundant node; The method further includes, when it is detected that the mode instruction sent by the target user is the high stability instruction, controlling the network cards on each of the nodes to form a second independent network redundant array according to the high stability instruction; wherein the network card group is generated by grouping all the network cards on each node in the multi-sub-star server, the network cards in each network card group are in a mirror relationship with each other, the actual rate corresponding to the second independent network redundant array is the sum of the rates corresponding to at least two of the network card groups, and the actual rate corresponding to each of the network card groups is the rate corresponding to any one of the network cards in the network card group; and when it is detected that the first target network card in the network card group is in a faulty state, replacing the first target network card.

2. The network card control method according to claim 1, characterized in that: The controlling of the network cards of each node to form a preset independent network redundant array according to the mode instruction and the state corresponding to the network card, wherein the preset independent network redundant array is used to control the network cards of each node in the multi-sub-star server, including: When it is detected that the mode instruction sent by the target user is the high-bandwidth and high-stability instruction, controlling the network cards of each node to form the third independent network redundant array according to the high-bandwidth and high-stability instruction; When it is detected that the second target network card in the serially aggregated network cards is in a faulty state, the second target network card is replaced with a network card corresponding to the redundant node.

3. The network card control method according to claim 1, wherein: The controlling of the network cards of each node to form a preset independent network redundant array according to the mode instruction and the state corresponding to the network card, wherein the preset independent network redundant array is used to control the network cards of each node in the multi-sub-star server, including: When it is detected that the mode instruction sent by the target user is the high-bandwidth high-rate instruction, controlling the network adapters of each node to form the first independent network redundant array according to the high-bandwidth high-rate instruction; The actual rate corresponding to the first independent network redundant array is the sum of the rates corresponding to all network cards on each node in the multi-satellite server.

4. The network card control method according to claim 1, wherein: The multi-star server includes at least four independent nodes, each of which includes an independent operating system. Each of the independent nodes is equipped with two high-speed serial computer expansion bus standard slots and one open source computing project slot. The high-speed serial computer expansion bus standard slots are equipped with a first wired network card and a second wired network card, and the open source computing project slot is equipped with a third wired network card.

5. The network card control method according to claim 1, wherein: Before the step of obtaining the status of the network card corresponding to each node in the multi-satellite server, the method includes: Control the static aggregation of network cards of each node in the multi-star server.

6. A network card control device, characterized in that: The device comprises: An acquisition module is used to obtain the status of the network card corresponding to each node in the multi-sub-star server, wherein the network card corresponds to at least two network ports, and the links between the network ports are aggregated; A receiving module, used for receiving a mode instruction sent by a target user; A control module is used to control the network cards of each node to form a preset independent network redundant array according to the mode instruction and the status corresponding to the network card, wherein the preset independent network redundant array is used to control the network cards of each node in the multi-sub-star server; the mode instruction includes a high-bandwidth and high-stability instruction, a high-bandwidth and high-rate instruction, and a high-stability instruction; the preset independent network redundant array includes at least one of the following: a first independent network redundant array, a second independent network redundant array, and a third independent network redundant array; wherein the first independent network redundant array includes a logical network card, and the logical network card is generated by serially aggregating the bandwidths corresponding to all network cards on each node in the multi-sub-star server; the second independent network redundant array includes at least two network card groups serially aggregated; The third independent network redundant array includes at least two network cards serially aggregated, and a network card corresponding to a redundant node; when it is detected that the mode instruction sent by the target user is the high-stability instruction, the network cards on each of the nodes are controlled according to the high-stability instruction to form a second independent network redundant array; wherein, the network card group is generated by grouping all the network cards on each node in the multi-star server, and the network cards in each network card group are mirror images of each other, the actual rate corresponding to the second independent network redundant array is the sum of the rates corresponding to at least two of the network card groups, and the actual rate corresponding to each of the network card groups is the rate corresponding to any one of the network cards in the network card group; when it is detected that the first target network card in the network card group is in a faulty state, the first target network card is replaced.

7. A communication device, characterized in that: include: A transceiver, a memory, a processor, and a program stored on the memory and executable on the processor; The processor is used to read the program in the memory to implement the network card control method according to any one of claims 1 to 5.

8. A readable storage medium for storing a program, characterized in that: When the program is executed by a processor, the network card control method according to any one of claims 1 to 5 is implemented.

Citation Information

Patent Citations

  • Full server-level redundancy using a single network interface controller(NIC) and a single NIC card

    US20200177525A1

  • Method and apparatus for network interface card load balancing and port aggregation

    US6393483B1