A method and device for running an intelligent network card network fault self-recovery method of an intelligent computing cloud platform
By directly comparing the target MAC address with the scalable and elastic network interface card of the DPU in the intelligent computing cloud platform, the problem of inconsistency between external database records and hardware status is solved, realizing the self-healing and stability of the network path and avoiding resource waste and configuration errors.
Patent Information
- Application Number
- CN202611160193.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-31
- Publication Date
- 2026-11-27
Smart Images

Figure CN123185050A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the fields of intelligent computing centers, smart computing centers, computing infrastructure, and smart cloud computing technologies, specifically to a method and apparatus for self-healing network faults of a smart network card for computing power operation on an intelligent computing cloud platform. Background Technology
[0002] With the rapid development of artificial intelligence technology, "intelligent computing centers" and "smart computing centers" have emerged.
[0003] An "intelligent computing center" refers to a facility that provides the necessary computing power, data, and algorithms for artificial intelligence applications (such as the development, training, and inference of deep learning models) by utilizing large-scale heterogeneous computing resources, including general-purpose and intelligent computing power. Intelligent computing centers encompass facilities, hardware, and software, and can provide full-stack capabilities from underlying computing power to top-level application enablement.
[0004] "Intelligent computing center" includes, but is not limited to, "intelligent computing center".
[0005] "Intelligent computing center" or artificial intelligence computing center is a type of computing infrastructure that provides computing power services, data services, and algorithm services required for artificial intelligence applications, based on artificial intelligence theory and adopting artificial intelligence computing architecture.
[0006] "Computing power" is the core of "intelligent computing center" and "smart computing center". It is the ability of computer equipment or computing / data center to process parameters. It is the ability of computer hardware and software to work together to execute a certain computing requirement. It is the computing power to achieve the target result output by processing parameter data. It is a new type of productivity that integrates parameter computing power, network carrying capacity and data storage capacity. It mainly provides services to society through computing power infrastructure.
[0007] With the advent of the era of large-scale models, the demand for artificial intelligence computing is growing exponentially. To alleviate the pressure of massive and intensive intelligent computing power, bare-metal computing servers have been widely deployed in intelligent computing cloud platforms. To meet tenants' requirements for high-performance networks and achieve reasonable allocation of underlying network resources, while reserving the core computing resources of bare-metal computing hosts for intelligent computing services to the greatest extent, the network control and forwarding logic of bare-metal computing hosts is usually offloaded to intelligent network interface cards (NICs) such as Data Processing Units (DPUs) for independent operation, so that the bare-metal computing hosts themselves no longer directly manage NICs. In the existing DPU-based network management technology of intelligent computing cloud platforms, in order to dynamically manage the underlying scalable elastic NICs (SFs), an external database is usually used to record the "NIC number and port mapping relationship". However, in this way, once the computing service on the DPU crashes or restarts, the records stored in the external database are prone to inconsistencies with the actual state of the underlying hardware, thus causing conflicts; during the abnormal recovery phase, situations such as out-of-order elastic NIC configuration, representative ports falling out of the virtual bridge, and incorrect interface identifier binding often occur, resulting in the disconnection of the underlying data path. Such a momentary disruption of the underlying network will directly lead to the failure of communication between nodes of the intelligent computing power cluster, severely disrupting the continuity of large model training or inference tasks in the intelligent computing cloud platform.
[0008] It is evident that since the emergence of intelligent computing centers, there has been a lack of effective network configuration recovery and fault self-healing solutions, resulting in the inability to achieve idempotent self-healing of network paths without database dependence and with precise state alignment. This has become a key bottleneck restricting the high availability and large-scale deployment of intelligent computing cloud platforms, and this problem urgently needs to be solved in this field. Summary of the Invention
[0009] This invention provides a method and apparatus for self-healing network faults of intelligent network cards in intelligent computing cloud platforms, in order to solve the problem in the prior art that the records stored in the external database are easily inconsistent with the actual state of the underlying hardware, thus causing conflicts.
[0010] To solve the above problems, the present invention is implemented as follows: In a first aspect, the present invention provides a method for self-healing network faults of a smart network interface card (NIC) for computing power operation in an intelligent computing cloud platform, the method comprising: Step S1: In response to the need for a network card to be provided on the network port of the computing power bare metal host, determine the target MAC address assigned to the network port by the intelligent computing cloud platform; Step S2: Determine the hardware addresses of each scalable and elastic network interface card configured in the DPU; Step S3: Determine the matching result between the target MAC address and the hardware address of each of the scalable and flexible network interface cards; Step S4: Based on the matching results, determine from each of the scalable elastic network interface cards (NICs) whether there exists a first scalable elastic network interface card (NIC) whose hardware address matches the target MAC address; Step S5: In response to the presence of the first scalable elastic network interface card (NIC), the first scalable elastic network interface card is provided to the network port, and the configuration identifier in the first network path is calibrated based on the target MAC address to obtain the self-healing first network path.
[0011] In one embodiment, the first network path is used to sequentially connect the network card of the bare metal computing host, the first scalable elastic network card, the delegate port, and the virtual switch; Step S5 includes at least one of the following: Step S5.1: Based on the target MAC address, set the first scalable elastic network card to the active state; Step S5.2: In response to the absence of the representative port in the internal bridge of the virtual switch, bind the representative port to the internal bridge of the virtual switch; Step S5.3: In response to the missing or non-equal port identifier of the network port on the virtual switch, the interface identifier on the virtual switch is written back to the port identifier of the network port.
[0012] In one embodiment, the method further includes: Step S6: Traverse the interfaces in the internal bridge of the virtual switch to determine the irrelevant representative ports in the internal bridge that do not belong to any network path; Step S7: Remove the irrelevant representative port from the internal bridge.
[0013] In one embodiment, the network port on the bare metal computing host needs to be provided with a network interface card (NIC) trigger condition, which includes any one of the following: Create a network interface card (NIC) for the network port for the first time; The bare metal computing host was restarted; While the bare metal host with computing power is in operation, it adds incremental network interface cards in response to network expansion requests.
[0014] In one embodiment, the method further includes: Step S8: In response to the absence of a first scalable elastic network interface card (NIC) in the DPU whose hardware address matches the target MAC address, create a new second scalable elastic network interface card (NIC) for the network port based on the target MAC address; Step S9: Establish a second network path, wherein the second network path is used to sequentially connect the network card of the computing power bare metal host, the second scalable elastic network card, the representative port, and the virtual switch.
[0015] In one embodiment, step S8 includes: Step S8.1: Determine the available network card number from the preset network card number range, and create the second scalable elastic network card based on the available network card number; Step S8.2: Write the target MAC address into the hardware address of the second scalable elastic network card and activate the second scalable elastic network card.
[0016] In one embodiment, step S9 includes: Step S9.1: Add the representative port in the second network path to the internal bridge of the virtual switch, and bind the representative port to the port identifier corresponding to the network port.
[0017] In one embodiment, the method further includes: Step S10: Determine the third scalable elastic network interface card (NIC) in the DPU, wherein the third scalable elastic network interface card is not associated with any network port on the bare metal host of the computing power. Step S11: Deregister the third scalable network interface card (NIC) and reclaim the NIC number occupied by the third scalable NIC.
[0018] Secondly, the present invention also provides a network fault self-healing device for intelligent network card operation of intelligent computing cloud platform, the device comprising: The first determining module is used to determine the target MAC address allocated by the intelligent computing cloud platform to the network port in response to the need for a network card to be provided on the network port of the computing bare metal host. The second determining module is used to determine the hardware addresses of each scalable elastic network interface card configured in the DPU; The third determining module is used to determine the matching result between the target MAC address and the hardware address of each of the scalable and flexible network interface cards; The fourth determining module is used to determine, based on the matching result, whether there exists a first scalable elastic network interface card (SNIC) whose hardware address matches the target MAC address among the SNICs. A first processing module is configured to, in response to the presence of the first scalable elastic network interface card (NIC), provide the first scalable elastic network interface card to the network port, and calibrate the configuration identifier in the first network path based on the target MAC address to obtain a self-healing first network path.
[0019] Thirdly, the present invention also provides an electronic device, including a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein when the computer program is executed by the processor, it implements the steps of the intelligent network card network fault self-healing method for computing power operation of the intelligent computing cloud platform as described in the first aspect above.
[0020] Fourthly, the present invention also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the intelligent computing cloud platform's intelligent network card network fault self-healing method as described in the first aspect above.
[0021] Fifthly, the present invention also provides a computer program product, including computer instructions, which, when executed by a processor, implement the steps in the intelligent computing cloud platform's intelligent network card network fault self-healing method as described in the first aspect above.
[0022] In this invention, step S1 is to determine the target MAC address allocated by the intelligent computing cloud platform to the network port in response to the need for a network card to be provided on the network port of the bare metal host; step S2 is to determine the hardware address of each scalable elastic network card configured in the DPU; step S3 is to determine the matching result between the target MAC address and the hardware address of each scalable elastic network card; step S4 is to determine, based on the matching result, whether there exists a first scalable elastic network card whose hardware address matches the target MAC address from among the scalable elastic network cards; step S5 is to provide the first scalable elastic network card to the network port in response to the existence of the first scalable elastic network card, and to calibrate the configuration identifier in the first network path based on the target MAC address to obtain a self-healing first network path. Therefore, by using the target MAC address issued by the intelligent computing cloud platform as the sole source of truth and directly comparing it with the existing scalable elastic network interface card in the DPU, the dual source of truth conflict that may be caused by relying on external databases can be effectively avoided. This allows network ports to automatically converge and align based on the MAC address when they are misconfigured or the system fails, thereby achieving idempotent self-healing of network paths. Attached Figure Description
[0023] To more clearly illustrate the technical solution of the present invention, the accompanying drawings used in the description of the present invention will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0024] Figure 1This is a flowchart of a method for self-healing network faults of a smart network card for computing power operation of an intelligent computing cloud platform, provided by the present invention. Figure 2 This is a flowchart of a method for self-healing network faults of an intelligent network card operating on the computing power of an intelligent computing cloud platform, as proposed in this disclosure. Figure 3 This is a flowchart of another intelligent computing cloud platform's intelligent network card network fault self-healing method based on the computing power proposed in this disclosure; Figure 4 This is a structural diagram of a network fault self-healing device for intelligent network card operation of intelligent computing cloud platform provided by the present invention; Figure 5 This is a structural diagram of an electronic device provided by the present invention. Detailed Implementation
[0025] The technical solutions of this invention will now be clearly and completely described with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.
[0026] The “computing power” mentioned in this invention refers to the ability of computer equipment or computing / data centers to process information. It is the ability of computer hardware and software to work together to perform a certain computing requirement. It is the computing power to achieve the target result output by processing information data. It is a new type of productivity that integrates information computing power, network carrying capacity, and data storage capacity. It mainly provides services to society through computing power infrastructure.
[0027] The "computational power" (CP) described in this invention refers to the ability of a data center server to process data and output results. It is a comprehensive indicator of a data center's computing power, encompassing general computing power, supercomputing power, and intelligent computing power. The commonly used unit of measurement is floating-point operations per second (FLOPS, 1 EFLOPS = 10^18 FLOPS), with higher values indicating stronger overall computing power. It is estimated that 1 EFLOPS is approximately the computing power output of 5 Tianhe-2A supercomputers, 500,000 mainstream server CPUs, or 2 million mainstream laptops. The calculation formula is: CP = CP 通用 +CP 智能 +CP 超级 .
[0028] The "Network Power" (NP) mentioned in this invention refers to the performance of data transmission capabilities of computing facilities, which includes comprehensive capabilities such as network architecture, network bandwidth, transmission latency, intelligent management and scheduling, and involves network transmission within and between data centers. It is a comprehensive indicator for measuring network transmission scheduling capabilities.
[0029] The "Storage Power" (SP) described in this invention refers to the comprehensive capabilities of a data center in four aspects: data storage capacity, performance, security and reliability, and green and low-carbon operation. It is a comprehensive indicator for measuring the data storage capacity of a data center, including external storage devices such as storage arrays and internal storage devices within servers. The commonly used unit of measurement for storage capacity is exabytes (EB, 1EB = 2^60 bytes), the commonly used unit of measurement for performance is the number of read / write operations per second (IOPS / TB), and the disaster recovery ratio is an important indicator of security and reliability.
[0030] The "computing infrastructure" mentioned in this invention refers to a new type of information infrastructure that integrates information computing power, network carrying capacity, and data storage capacity, enabling centralized computing, storage, transmission, and application of information.
[0031] The "new information infrastructure" mentioned in this invention refers to network infrastructure such as 5G networks, fiber optic broadband networks, backbone networks, international communication networks, and satellite internet; computing infrastructure such as data centers, general computing centers, intelligent computing centers, and supercomputing centers; and new technology facilities such as artificial intelligence, blockchain, and quantum computing.
[0032] The “computing power” mentioned in this invention includes: general computing power, intelligent computing power, and supercomputing power.
[0033] The "general computing power" mentioned in this invention refers to the computing power provided by servers based on CPU (Central Processing Unit) chips, which is used to support basic general computing such as cloud computing and edge computing.
[0034] The "intelligent computing power" mentioned in this invention refers to: a computing platform deployed on a large scale based on dedicated chips such as GPU (Graphics Processing Unit), FPGA (Field Programmable Gate Array), and ASIC (Application Specific Integrated Circuit) for various artificial intelligence innovative applications, such as natural language processing and machine vision.
[0035] The “supercomputing power” mentioned in this invention refers to the computing power provided by high-performance computing clusters such as supercomputers. It utilizes the centralized computing resources of multiple computer systems working in parallel and uses a dedicated operating system to handle extremely complex or data-intensive problems. It is mainly used for computing in cutting-edge scientific fields, such as planetary simulation, drug molecule design, and gene analysis.
[0036] The "intelligent computing center" described in this invention refers to a facility that, through the use of large-scale heterogeneous computing resources, including general-purpose computing power (CPU) and intelligent computing power (GPU, FPGA, ASIC, etc.), primarily provides the necessary computing power, data, and algorithms for artificial intelligence applications (such as the development, training, and inference of deep learning models). The intelligent computing center encompasses facilities, hardware, and software, and can provide full-stack capabilities from underlying computing power to top-level application enablement.
[0037] The "intelligent computing cloud platform" mentioned in this invention, abbreviated as "intelligent computing cloud", refers to a cloud computing platform that integrates hardware and software resources based on an intelligent computing center.
[0038] The "intelligent computing center" mentioned in this invention includes, but is not limited to, "smart computing center".
[0039] The "intelligent computing center" mentioned in this invention, also known as an artificial intelligence computing center, is a type of computing infrastructure that provides computing power services, data services, and algorithm services required for artificial intelligence applications, based on artificial intelligence theory and adopting an artificial intelligence computing architecture.
[0040] The "computing center" mentioned in this invention refers to a facility that is mainly composed of infrastructure such as wind, thermal, hydro, and electricity, and IT hardware and software equipment, and has computing power, carrying capacity, and storage capacity, including general data centers, intelligent computing centers, supercomputing centers, etc.
[0041] The "supercomputing center" mentioned in this invention refers to a supercomputing data center, which is a data center based on supercomputers or large-scale computing clusters. It can provide large-scale computing, storage and network services and is widely used in aerospace, defense, oil exploration, climate modeling and genome sequencing and other application scenarios.
[0042] The “computing resources” mentioned in this invention refer to the technologies and facilities required for the development of the digital society that have the ability to compute, transmit, store and apply information, including but not limited to computing resources such as CPUs and GPUs, network resources such as switches and routers, storage resources such as storage arrays and distributed storage, security resources such as firewalls and intrusion detection systems, and supporting and guaranteeing resources such as wind, fire, water and electricity.
[0043] The "model" mentioned in this invention includes, but is not limited to, "large language model" and "multimodal large model".
[0044] The "large language model" mentioned in this invention refers to a large-scale language model (LLM), which is a language model with a large number of parameters. It is designed to understand and generate human language. It is trained with a large amount of text data and can perform a wide range of tasks, including text summarization, translation, and sentiment analysis.
[0045] The “Multimodal Large Models” mentioned in this invention refer to models that combine multimodal information such as text, images, videos, and audio for training, including but not limited to multimodal large language models.
[0046] The “DPU (Data Processing Unit)” mentioned in this invention refers to a smart network interface card (NIC) hardware chip or microsystem that runs between a bare-metal host and the network and is used to independently undertake offloading tasks such as network control and data packet forwarding.
[0047] The "computing power bare metal host" described in this invention refers to a physical computing instance optimized for intelligent computing workloads (including but not limited to artificial intelligence model training and inference, high-performance data analysis, and scientific computing) and uniformly scheduled and managed by an intelligent computing cloud platform. This instance is exclusively occupied by a tenant on an entire physical server, with the operating system running directly on the physical hardware without a virtualization layer, thus eliminating virtualization performance loss. It is typically configured with heterogeneous computing power accelerators such as GPUs and NPUs to support the aforementioned intelligent computing workloads. Unlike traditional bare metal, in this invention, computing power bare metal completes boot deployment, network access, storage mounting, and console management via a smart network interface card (DPU), thereby possessing resource elasticity and lifecycle management capabilities similar to virtual machines: it can elastically mount system disks and data disks on demand, flexibly connect to one or more virtual private clouds (VPCs), and support cloud-based operation and maintenance operations such as creation, startup, shutdown, reconstruction, and release.
[0048] The "computing power service" mentioned in this invention refers to the service of providing users with on-demand information computing power, network carrying capacity, and data storage capacity through the computing power resources of an intelligent computing cloud platform, such as computing tasks, model inference, and data processing.
[0049] The “scalable elastic network interface card (SF, Sub-Function)” mentioned in this invention refers to hardware network interface card resources that are dynamically generated on demand within the DPU hardware based on hardware partitioning or lightweight virtualization technology.
[0050] The "hardware address" mentioned in this invention refers to the MAC address that is actually burned or set in the underlying hardware (hw_addr) of each scalable elastic network card in the DPU.
[0051] The “matching result” mentioned in this invention refers to the result obtained by comparing the target MAC address with the hardware addresses of each existing SF in the DPU one by one (i.e., “there is a match” or “there are no matches”).
[0052] The “first scalable elastic network interface card” mentioned in this invention refers to an existing SF entity in the DPU’s existing configured SFs, whose hardware address and target MAC address are completely matched.
[0053] The "first network path" mentioned in this invention refers to a data forwarding path that connects the bare metal host network card and the DPU network control plane, based on the first scalable elastic network card.
[0054] The “configuration identifier” mentioned in this invention refers to the parameters (such as hw_addr, iface-id, activation status, etc.) used by various components in the network path (such as SF hardware, representative port, virtual switch, etc.) to determine the network mapping relationship and control status.
[0055] The "network card of a bare metal host" mentioned in this invention refers to a physical network card interface or data channel interface that is physically assembled on the bare metal host side and presented to the host operating system.
[0056] The "Representator" mentioned in this invention refers to a virtual software interface created within the DPU for each SF network card, used to connect hardware data streams to a virtual switch for control and forwarding on the local DPU.
[0057] The "virtual switch" mentioned in this invention refers to a software data exchange component (such as Open vSwitch, OVS) running within the DPU operating system, used to implement Layer 2 / 3 packet switching and network policy control.
[0058] The "active state" mentioned in this invention refers to the SF network card being in a working state where it is enabled at the hardware and driver layers and can normally receive and send network data packets.
[0059] The “internal bridge (br-int)” mentioned in this invention refers to the core logical bridge (OVS Bridge) in a virtual switch used to access tenant interfaces and implement network policies.
[0060] The "interface identifier (iface-id)" mentioned in this invention refers to: serving as an addressing credential, supporting the intelligent computing cloud platform to accurately distribute the control flow table to the corresponding logical network port, thereby realizing the targeted binding of network traffic rules, port traffic isolation, and forwarding control of the intelligent computing cloud platform.
[0061] The "port identifier" mentioned in this invention refers to a globally unique service identification code assigned to each logical network port by the intelligent computing cloud platform network service.
[0062] The "irrelevant representative port" mentioned in this invention refers to a detached virtual interface that is mounted on the internal bridge of a virtual switch, but whose corresponding SF network card has failed, been unbound, or does not belong to any valid network path.
[0063] The "second scalable elastic network interface card" described in this invention refers to a newly created SF entity that is newly applied for and allocated with a number segment when there is no existing SF in the DPU with the same hardware address as the target MAC address.
[0064] The "second network path" mentioned in this invention refers to a completely new data forwarding path established based on a newly built second scalable elastic network interface card.
[0065] The "pre-configured network card number segment" mentioned in this invention refers to: a set of idle numbers that are pre-divided and included in the management pool, used to assign unique numerical indexes to dynamically create SF network cards within the DPU hardware.
[0066] The “available network card number” mentioned in this invention refers to a free numerical index selected from a preset network card number range that is not currently occupied by any physical or logical SF.
[0067] The "third scalable elastic network interface card" described in this invention refers to an idle or abandoned SF entity that is physically present in the DPU hardware but whose hardware address does not correspond to any bare metal network port in active use.
[0068] It is important to emphasize that the self-healing of network faults in the intelligent computing cloud platform's computing power operation (hereinafter referred to as "computing power network fault self-healing") is an industry-wide challenge in the field of intelligent computing cloud platforms. This problem is recognized as a major difficulty primarily due to four factors: decoupling of the architecture control plane, diverse and mixed fault breakpoints, lack of a single source of truth, and uncontrollable dynamic resource allocation. Each of these factors presents deep technical barriers and is interconnected, as detailed below: 1. Decoupling of the architecture control plane.
[0069] In a bare-metal computing architecture, the network control plane and data plane are completely offloaded to the DPU for independent operation, and the host no longer directly manages the network interface card (NIC). This decoupling makes the hardware and software state machines highly susceptible to disconnection: when the DPU computing service crashes or restarts, the underlying physical scalable elastic NIC (SF) remains alive, but the management state of the upper-layer software is cleared, making it impossible for the system to accurately define the initial state at the time of the failure, resulting in the restart operation being unable to connect the broken management logic.
[0070] 2. The fault points are diverse and mixed.
[0071] In a DPU-based architecture, a complete data path connects the bare metal network interface card (NIC), service flag (SF), representative port, and the internal bridge of the virtual switch (OVS br-int). Network outages are often the result of multiple factors: it could be a hardware-level SF address reset or activation failure, a software-level representative port falling off the bridge, or an incorrect interface identifier (iface-id) mapping. These breakpoints are intertwined and exhibit highly consistent external symptoms (such as network downtime or packet loss), making it difficult for traditional maintenance methods to accurately locate and break down the actual breakpoints, and hindering precise and coordinated repair of the entire path.
[0072] 3. The lack of a single source of truth leads to a lack of certainty and idempotency in the results of traditional database solutions.
[0073] In the industry, DPU resource mapping is typically handled using external databases. However, during service outages or hardware resets, the database records can easily become disconnected from the actual state of the underlying hardware, leading to a conflict between two sources of truth. Due to the lack of a universally accepted calibration benchmark, the system cannot determine whether to prioritize the database or the current hardware state. This results in different misconfigurations regardless of how many times the recovery script is executed, and can even cause more serious creation conflicts during repeated restarts.
[0074] 4. The state and dynamic allocation of the software stack have a significant impact, which can easily lead to resource leaks and exhaustion.
[0075] The SF network interface card (NIC) numbers at the DPU's underlying layer are a limited physical hardware resource. In traditional solutions that rely on external records, after a computing service restarts, residual hardware is often not reused easily; instead, new NIC numbers are directly requested and rebuilt. This results in unrecorded failed NICs and irrelevant representative ports not only wasting switch performance but also accumulating with each restart, eventually exhausting the limited NIC number pool.
[0076] In summary, the reason why self-healing of computing power networks has become a difficult problem in the industry is that the decoupling of the architecture leads to the separation of software and hardware states, the multiple and mixed breakpoints that cannot be independently disassembled, the lack of idempotency due to the lack of a single source of truth, and the risk of resource leakage caused by uncertain states. This invention solves this urgent problem in the field of computing power.
[0077] Please see Figure 1 , Figure 1 This is a flowchart of a method for self-healing network faults of an intelligent network card operating on an intelligent computing cloud platform, as provided by the present invention. Figure 1 As shown, the method includes: Step S1: In response to the requirement that the network port on the bare metal host needs to be provided with a network card, determine the target MAC address assigned to the network port by the intelligent computing cloud platform.
[0078] For example, in this embodiment of the disclosure, when the management service on the DPU listens to a configuration instruction message sent to the port by the intelligent computing cloud platform, it can directly extract the target MAC address from the message field by parsing the request message in Protobuf or JSON format; alternatively, when scheduling and issuing bare metal network configuration, the intelligent computing cloud platform can write metadata containing the port identifier and its corresponding network attributes to the DPU's local file system or a specific cache path. When the management module on the DPU triggers the recovery logic, it can read and parse the configuration file, find the configuration item corresponding to the port ID, and extract the target MAC address set therein; or any other possible method can be used to determine the target MAC address assigned to the network port by the intelligent computing cloud platform, without any limitation.
[0079] It's important to note that in scenarios involving dynamic network allocation and fault recovery on bare-metal computing hosts, the logical network configuration of the intelligent computing cloud platform is highly susceptible to disconnect from the actual hardware state of the underlying DPU. Traditional network recovery solutions typically rely on an external database on the DPU's local machine to record port mappings. However, during abnormal downtime, these database records often lag and conflict with the actual situation. This contradiction between the two sources of truth makes the system prone to configuration errors during recovery.
[0080] Therefore, it is urgent to directly determine the target MAC address assigned by the intelligent computing cloud platform as soon as the network port needs to provide network card information, thereby providing a core foundation for completely abandoning external databases and establishing a single and absolutely reliable calibration benchmark.
[0081] The beneficial technical effect achieved by step S1 is that by directly obtaining the target MAC address assigned by the intelligent computing cloud platform as the sole source of truth, it is possible to get rid of the dependence on upper-layer software records or external databases and provide an accurate standard reference for subsequent network status alignment.
[0082] Step S2: Determine the hardware addresses of each scalable elastic network interface card configured in the DPU.
[0083] Understandably, DPUs are typically configured with a Linux operating system, and in Linux, the state of all hardware devices is mapped to a virtual file system. The hypervisor can obtain the hardware addresses of each scalable resilient network interface card (NIC) by directly reading these read-only files.
[0084] It's important to note that when the DPU computing service crashes or restarts, the software-side management state is typically cleared, but a large number of surviving Scalable Elastic Network Interfaces (SFs) remain in the underlying physical chips. Traditional recovery mechanisms, lacking investigation of the underlying hardware status, often ignore these legacy SFs and blindly request new numbers for reconstruction. This rigid approach not only leads to lengthy network recovery times but also causes a continuous accumulation of failed SFs, ultimately resulting in the complete depletion of DPU underlying SF numbers and switching resources.
[0085] Therefore, by taking inventory of the underlying existing hardware assets, this solution can provide the necessary physical status basis for subsequent resource reuse and prevention of hardware resource leakage.
[0086] The beneficial technical effect achieved by step S2 is that it can get rid of the dependence on the historical cache of computing power services or external state machines, and directly inventory the current actual hardware network card status from the bottom layer of DPU, ensuring the objectivity and authenticity of state perception.
[0087] Step S3: Determine the matching result between the target MAC address and the hardware address of each scalable and elastic network interface card.
[0088] It should be noted that after obtaining the target MAC address in the cloud and the local existing hardware address, if there is a lack of a direct and rigorous verification and comparison mechanism, the system still cannot distinguish which resources can be directly reused and which are irrelevant resources that need to be cleaned up from the chaotic underlying residual resource pool.
[0089] Therefore, it is essential to compare the identified target MAC address with each hardware address one by one to establish the matching result. This step can transform isolated software parameters and hardware states into a quantifiable correspondence, thereby providing clear judgment criteria for subsequent self-healing decisions.
[0090] The beneficial technical effect achieved by step S3 is that by comparing the uniquely determined target MAC address with the actual hardware address read at the underlying level, reliable data can be provided for evaluating whether existing hardware can be reused as is.
[0091] Step S4: Based on the matching results, determine from each scalable elastic network interface card (NIC) whether there exists a first scalable elastic network interface card (NIC) whose hardware address matches the target MAC address.
[0092] The beneficial technical effect achieved by step S4 is that by clearly identifying the comparison results, the system can accurately identify the existing network cards belonging to the network port, thereby avoiding blindly splitting new network cards when the computing power service is restarted or a fault is recovered, and preventing the limited number of hardware network card numbers from being exhausted.
[0093] Step S5: In response to the existence of the first scalable elastic network interface card (NIC), the first scalable elastic network interface card is provided to the network port, and the configuration identifier in the first network path is calibrated based on the target MAC address to obtain the self-healing first network path.
[0094] It should be noted that even if the underlying hardware network interface card (the first scalable elastic network interface card) is intact, software-side components in the network path (such as whether the representative port is offline or whether the ifface-id of the virtual switch port is corrupted) often experience disconnection or drift during a computing service restart. Simply assigning a network interface card to a port without repairing the context configuration of the entire link will still prevent data packets from being forwarded correctly between the physical and logical layers, and the business network will remain interrupted.
[0095] Therefore, after claiming the existing network cards, it is urgent to force calibration and rewrite alignment of the various configuration identifiers in the first network path based on the unique target MAC address.
[0096] The beneficial technical effects achieved by step S5 are as follows: after locating the existing network card, it is directly claimed and reused, and the misaligned or lost configuration identifiers in the link are forcibly aligned based on the target MAC address. Thus, the broken data path is automatically resumed without deleting and rebuilding the card, ensuring the consistency of the recovery results.
[0097] In this invention, step S1 involves determining the target MAC address allocated by the intelligent computing cloud platform to the network port in response to the need for a network card on the network port of the bare metal host. Step S2 involves determining the hardware address of each scalable elastic network card configured in the DPU. Step S3 involves determining the matching result between the target MAC address and the hardware address of each scalable elastic network card. Step S4 involves determining, based on the matching result, whether there exists a first scalable elastic network card whose hardware address matches the target MAC address. Step S5 involves providing the first scalable elastic network card to the network port in response to its existence, and calibrating the configuration identifier in the first network path based on the target MAC address to obtain a self-healing first network path. Therefore, by using the target MAC address issued by the cloud platform as the sole source of truth and directly comparing it with the existing scalable elastic network cards in the DPU, the dual-source conflict problem that might result from relying on an external database can be effectively avoided. This allows the network port to automatically converge and align based on the MAC address when configuration is incorrect or system failure occurs, thereby achieving idempotent self-healing of the network path.
[0098] In one embodiment, the first network path is used to sequentially connect the network interface card (NIC) of the bare metal computing host, the first scalable and flexible NIC, the delegate port, and the virtual switch. Step S5 includes at least one of the following: Step S5.1: Based on the target MAC address, set the first scalable elastic network card to the active state.
[0099] Step S5.2: In response to the absence of a representative port in the internal bridge of the virtual switch, bind the representative port to the internal bridge of the virtual switch.
[0100] Step S5.3: In response to the missing or non-equal port identifier of the network port on the virtual switch, write back the interface identifier on the virtual switch to the port identifier of the network port.
[0101] The beneficial technical effects achieved by steps S5.1 to S5.3 are as follows: By performing targeted checks and forced write-backs on the network card activation status, representative port bridge binding, and interface identifier, the system can automatically repair configuration loss and misalignment that occurs after the computing power service crashes or restarts, and restore the underlying network forwarding without manual intervention.
[0102] For example, such as Figure 2 As shown, Figure 2 This disclosure presents a flowchart of a network fault self-healing method for intelligent network interface cards (NICs) on an intelligent computing cloud platform. In this method, the bare-metal host itself does not manage the NICs; network control and forwarding are handled independently by the DPU. Whenever a network port is assigned, the DPU dynamically generates an SF NIC using mlxdevm. A complete path includes "Representator → SF → Bare-metal NIC"; any misalignment of these three segments disconnects the network path. Furthermore, the SF's hardware address hw_addr and the iface-id on the OVS are determined by the port's MAC address / port ID.
[0103] In one embodiment, the method further includes: Step S6: Traverse the interfaces in the internal bridge of the virtual switch to identify irrelevant representative ports in the internal bridge that do not belong to any network path.
[0104] Step S7: Remove the irrelevant representative port from the internal bridge.
[0105] The beneficial technical effects achieved by steps S6 to S7 are: by removing representative ports that do not belong to any valid network path, the underlying network control plane can be kept clean, and abnormal packet forwarding caused by historical legacy or incorrect configuration can be avoided, while saving the operating resources of the virtual switch.
[0106] It should be noted that in scenarios involving high-frequency dynamic allocation and abnormal recovery of DPU smart network cards, the internal bridges of the virtual switch (OVS) are highly susceptible to service status disruptions or improper unloading of old network cards, resulting in a large number of irrelevant representative ports that do not belong to any valid network path. Without proactive intervention, these detached and abandoned interfaces will occupy the virtual switch's port numbers, polling threads, and memory resources for an extended period, accumulating with each system restart, potentially leading to the complete exhaustion of the underlying switching resource pool and paralysis of the entire system's control plane.
[0107] Therefore, after the core path is restored, it is essential to proactively traverse the internal bridge interfaces of the virtual switch, identify irrelevant representative ports, and forcibly remove them. Based on this embodiment, the chain of software and hardware resource leaks caused by state disconnection can be avoided, thereby ensuring the long-term stable and high-performance operation of the underlying virtual switch under high concurrency and high-frequency fluctuation environments.
[0108] In one embodiment, the network port on the bare metal host needs to be provided with a network interface card (NIC) trigger condition including any of the following: This is the first time a network interface card (NIC) has been created for a network port. The bare-metal host with high computing power is restarting. While the bare metal host is in operation, it adds incremental network interface cards (NICs) in response to network expansion requests.
[0109] It is understood that, during the operation of the bare-metal computing host, the embodiments of this disclosure can respond to network expansion requests from the intelligent computing cloud platform by dynamically allocating a new scalable elastic network interface card (NIC) within the DPU using hot-swapping technology. This allows for the dynamic allocation and access of the new incremental scalable elastic NIC to the bare-metal computing host. Therefore, the solution proposed in this disclosure can support dynamic elastic expansion during the operation of computing services.
[0110] The beneficial technical effects achieved by this embodiment are as follows: by unifying the three different scenarios of initial network card creation, restart and recovery of the bare metal computing host, and adding an incremental network card while the bare metal computing host is running, into the same execution logic entry point, the idempotency of the operation can be guaranteed from the architecture level. Regardless of whether the system is repeatedly triggered, in an abnormal restart state, or needs to add an incremental network card during operation, executing the same process can obtain consistent and correct network configuration results, simplifying the system's state maintenance costs.
[0111] In one embodiment, the method further includes: Step S8: In response to the absence of a first scalable elastic network interface card (NIC) in the DPU with a hardware address matching the target MAC address, create a new second scalable elastic network interface card (NIC) for the network port based on the target MAC address.
[0112] It should be noted that throughout the entire lifecycle of the intelligent computing cloud platform providing services to bare-metal hosts, in addition to the fault reuse and self-healing scenarios after a computing service crash and restart, there are also numerous cold start scenarios involving initial deployment, dynamic expansion of network ports, or complete absence of existing network interface cards (NICs) after a reset of the underlying hardware. If, after investigating the underlying hardware of the DPU, it is determined that there is no reusable first scalable elastic NIC, traditional solutions often require manual intervention from operations and maintenance personnel, or trigger expensive and fragile global reconstruction logic, which is inefficient and prone to causing concurrent conflicts.
[0113] Therefore, when it is confirmed that there is no existing network card with matching hardware, it is necessary to respond to and trigger step S8, and create a brand new second scalable elastic network card for the network port based on the target MAC address, thereby laying a solid hardware foundation for the subsequent construction of the second network path.
[0114] In one embodiment, step S8 includes: Step S8.1: Determine the available network card number from the preset network card number range, and create a second scalable elastic network card based on the available network card number; Step S8.2: Write the target MAC address into the hardware address of the second scalable elastic network card and activate the second scalable elastic network card.
[0115] The beneficial technical effects achieved by steps S8.1 to S8.2 are as follows: by allocating numbers from the preset number range and forcibly writing the target MAC address into the hardware, number conflicts between multiple network cards are avoided, and the newly generated elastic network cards can strictly follow the unified identifier of the intelligent computing cloud platform, providing an accurate physical bearer entity for the precise routing of data packets.
[0116] Step S9: Establish a second network path, wherein the second network path is used to sequentially connect the network card of the bare metal host, the second scalable elastic network card, the delegate port, and the virtual switch.
[0117] In one embodiment, step S9 includes: Step S9.1: Add the representative port in the second network path to the internal bridge of the virtual switch, and bind the representative port to the port identifier corresponding to the network port.
[0118] The beneficial technical effect achieved by step S9.1 is that by connecting the representative port to the internal bridge and accurately binding the port identifier, the data interaction channel between the virtual switch and the hardware network card can be opened, ensuring that network traffic can be correctly distributed to the newly built hardware network card in accordance with the control strategy of the intelligent computing cloud platform.
[0119] The beneficial technical effects achieved by steps S8 to S9 are as follows: When there is no reusable scalable elastic network card at the bottom layer of the DPU, the system will automatically trigger the new process and build a complete network path to ensure that the network connection needs of the bare metal host can always be met, thus ensuring the continuity and high availability of the intelligent network card automated supply logic.
[0120] In one embodiment, the method further includes: Step S10: Determine the third scalable elastic network interface card (NIC) in the DPU, wherein the third scalable elastic network interface card is not associated with any network port on the bare metal host of the computing power.
[0121] Step S11: Deregister the third scalable network interface card (NIC) and reclaim the NIC number it occupies.
[0122] The beneficial technical effects achieved by steps S10 to S11 are as follows: By actively identifying and deregistering idle elastic network cards that are no longer associated with any valid ports, the system can promptly reclaim limited hardware number segment resources, ensure the sustainable operation of the DPU in scenarios with a large number of ports, and prevent the number leakage and resource exhaustion problems that may occur during long-term operation of the system.
[0123] It should be noted that in the high-frequency on-demand scheduling and fault restart scenarios of intelligent computing cloud platforms, the underlying DPU may contain a large number of failed scalable elastic network interface cards (SFs) left over from historical service disruptions. Traditional network provisioning and recovery logic often focuses only on establishing the currently needed connections, lacking closed-loop lifecycle management of scalable elastic network interface cards. This results in idle network interface cards that are no longer associated with any valid network ports on the bare metal host of the computing power running in the hardware chip for a long time.
[0124] Because the total number of scalable elastic network interface cards (NICs) supported by the DPU and the number of NICs that can be allocated (segment resources) are extremely limited physical resources, these abandoned hardware instances will continuously occupy valuable device segments, memory, and underlying polling bandwidth without intervention. Over time and with the accumulation of dynamic scaling times, this will not only cause the DPU to completely exhaust the pool of available NICs, but will also affect the overall forwarding performance of the underlying data plane.
[0125] Therefore, it is urgent to proactively verify and identify "third scalable elastic network interface cards" that do not have a valid association in the network configuration process, and to perform forced deregistration and number recycling on them, so as to provide a foundational support for ensuring that the DPU can operate stably and with high availability for a long period of time in cloud computing scenarios with ultra-large scale and high dynamic fluctuations.
[0126] In summary, as described in the above embodiments, Figure 3 As shown, Figure 3This is a flowchart of a method for self-healing network faults of a smart network card based on the computing power of another intelligent computing cloud platform proposed in this disclosure. Based on this method, database dependence can be avoided during the self-healing process of the network path, and idempotent self-healing by using MAC as the sole source of truth can be achieved. At the same time, it can also effectively prevent the leakage and depletion of SF number.
[0127] Please see Figure 4 , Figure 4 This is a structural diagram of a network fault self-healing device for intelligent network card operation of an intelligent computing cloud platform provided by the present invention, as shown in the figure. Figure 4 As shown, the intelligent computing cloud platform's intelligent network card network fault self-healing device 400 includes: The first determining module 401 is used to determine the target MAC address allocated by the intelligent computing cloud platform to the network port in response to the need for a network card to be provided on the network port of the computing bare metal host. The second determining module 402 is used to determine the hardware address of each scalable elastic network card configured in the DPU; The third determining module 403 is used to determine the matching result between the target MAC address and the hardware address of each scalable elastic network card; The fourth determining module 404 is used to determine, based on the matching results, whether there exists a first scalable elastic network interface card (SNIC) whose hardware address matches the target MAC address from among the various scalable elastic network interface cards (SNICs). The first processing module 405 is configured to, in response to the presence of the first scalable elastic network interface card (NIC), provide the first scalable elastic network interface card to the network port, and calibrate the configuration identifier in the first network path based on the target MAC address to obtain a self-healing first network path.
[0128] In one embodiment, the first network path is used to sequentially connect the network interface card (NIC) of the bare metal computing host, the first scalable and flexible NIC, the delegate port, and the virtual switch. The first processing module 405 is used to implement at least one of the following: Based on the target MAC address, the first scalable elastic network interface card is set to active state; In response to the absence of a representative port in the internal bridge of the virtual switch, the representative port is bound to the internal bridge of the virtual switch. In response to a missing or non-equal interface identifier on the virtual switch to the port identifier corresponding to the network port, the interface identifier on the virtual switch is written back to the port identifier corresponding to the network port.
[0129] In one embodiment, the device further includes: The fifth determination module is used to traverse the interfaces in the internal bridge of the virtual switch to identify irrelevant representative ports in the internal bridge that do not belong to any network path. The second processing module is used to remove irrelevant representative ports from the internal bridge.
[0130] In one embodiment, the network port on the bare metal host needs to be provided with a network interface card (NIC) trigger condition including any of the following: This is the first time a network interface card (NIC) has been created for a network port. The bare-metal host with high computing power is restarting. While the bare metal host is in operation, it adds incremental network interface cards (NICs) in response to network expansion requests.
[0131] In one embodiment, the device further includes: The third processing module is used to respond to the absence of a first scalable elastic network interface card in the DPU with a hardware address that matches the target MAC address, and to create a new second scalable elastic network interface card for the network port based on the target MAC address. The fourth processing module is used to establish a second network path, wherein the second network path is used to sequentially connect the network card of the bare metal computing host, the second scalable elastic network card, the delegate port, and the virtual switch.
[0132] In one embodiment, the third processing module is specifically used for: Determine the available network interface card (NIC) number from the preset NIC number range, and create a second scalable elastic NIC based on the available NIC number; Write the target MAC address into the hardware address of the second scalable elastic network interface card (NIC) and activate the second scalable elastic network interface card.
[0133] In one embodiment, the fourth processing module is specifically used for: Add the representative port in the second network path to the internal bridge of the virtual switch, and bind the representative port to the port identifier corresponding to the network port.
[0134] In one embodiment, the apparatus further includes: The sixth determination module is used to determine the third scalable elastic network interface card in the DPU, wherein the third scalable elastic network interface card is not associated with any network port on the bare metal host of the computing power. The fifth processing module is used to deregister the third scalable elastic network interface card (NIC) and reclaim the NIC number occupied by the third scalable elastic network interface card.
[0135] In this way, by using the target MAC address issued by the cloud platform as the sole source of truth and directly comparing it with the existing scalable elastic network interface card in the DPU, the dual source of truth conflict that may be caused by relying on external databases can be effectively avoided. This allows network ports to automatically converge and align based on the MAC address when they are misconfigured or the system fails, thereby achieving idempotent self-healing of the network path.
[0136] It should be noted that the intelligent computing cloud platform's computing power operation intelligent network card network fault self-healing device in this invention can be a device, or it can be a component, integrated circuit, or chip in an electronic device.
[0137] The present invention also provides an electronic device, see below. Figure 5 , Figure 5 This is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. The electronic device includes a memory 501, a processor 502, and a program or instructions stored in the memory 501 that run on the processor 502. When the program or instructions are executed by the processor 502, they can achieve the following: Figure 1 The corresponding steps in the implementation of the intelligent computing cloud platform's computing power to run the intelligent network card network fault self-healing method and achieve the same beneficial effect are not described in detail here.
[0138] The processor 502 can be a CPU, ASIC, FPGA, or GPU.
[0139] Those skilled in the art will understand that all or part of the steps of the above-described intelligent computing cloud platform computing power operation intelligent network card network fault self-healing method embodiment can be implemented by hardware related to program instructions, and the program can be stored in a readable medium.
[0140] The present invention also provides a readable storage medium on which a computer program is stored, and which, when executed by a processor, can perform the above-described functions. Figure 1 The computing power of the corresponding intelligent computing cloud platform can run any step in the embodiment of the intelligent network card network fault self-healing method and achieve the same technical effect. To avoid repetition, it will not be described again here. The storage medium mentioned is such as read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk, etc.
[0141] The present invention also provides a computer program product, including computer instructions that, when executed by a processor, implement the above-described... Figure 1 The computing power of the corresponding intelligent computing cloud platform runs each process of the intelligent network card network fault self-healing method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be described again here.
[0142] The terms "first," "second," etc., used in this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to these processes, methods, products, or apparatuses. Additionally, the use of "and / or" in this invention indicates at least one of the connected objects, such as A and / or B and / or C, representing seven possibilities: A alone, B alone, C alone, both A and B present, both B and C present, both A and C present, and A, B, and C present.
[0143] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0144] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, air conditioner, or second terminal device, etc.) to execute the methods of the various embodiments of the present invention.
[0145] The embodiments of the present invention have been described above with reference to the accompanying drawings. However, the present invention is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other modifications under the guidance of the present invention without departing from the spirit and scope of the claims, and all of these modifications are within the protection scope of the present invention.
Claims
1. A method for self-healing network faults of intelligent network interface cards (NICs) in intelligent computing cloud platforms, characterized in that: The method includes: Step S1: In response to the need for a network card to be provided on the network port of the computing power bare metal host, determine the target MAC address assigned to the network port by the intelligent computing cloud platform; Step S2: Determine the hardware addresses of each scalable and elastic network interface card configured in the DPU; Step S3: Determine the matching result between the target MAC address and the hardware address of each of the scalable and flexible network interface cards; Step S4: Based on the matching results, determine from each of the scalable elastic network interface cards (NICs) whether there exists a first scalable elastic network interface card (NIC) whose hardware address matches the target MAC address; Step S5: In response to the presence of the first scalable elastic network interface card (NIC), the first scalable elastic network interface card is provided to the network port, and the configuration identifier in the first network path is calibrated based on the target MAC address to obtain the self-healing first network path.
2. The method as described in claim 1, characterized in that, The first network path is used to sequentially connect the network card of the bare metal computing host, the first scalable elastic network card, the representative port, and the virtual switch; Step S5 includes at least one of the following: Step S5.1: Based on the target MAC address, set the first scalable elastic network card to the active state; Step S5.2: In response to the absence of the representative port in the internal bridge of the virtual switch, bind the representative port to the internal bridge of the virtual switch; Step S5.3: In response to the missing or non-equal port identifier of the network port on the virtual switch, the interface identifier on the virtual switch is written back to the port identifier of the network port.
3. The method as described in claim 2, characterized in that, The method further includes: Step S6: Traverse the interfaces in the internal bridge of the virtual switch to determine the irrelevant representative ports in the internal bridge that do not belong to any network path; Step S7: Remove the irrelevant representative port from the internal bridge.
4. The method as described in claim 1, characterized in that, The network port on the bare metal host requiring a network interface card (NIC) trigger condition includes any of the following: Create a network interface card (NIC) for the network port for the first time; The bare metal computing host was restarted; While the bare metal host with computing power is in operation, it adds incremental network interface cards in response to network expansion requests.
5. The method as described in claim 1, characterized in that, The method further includes: Step S8: In response to the absence of a first scalable elastic network interface card (NIC) in the DPU whose hardware address matches the target MAC address, create a new second scalable elastic network interface card (NIC) for the network port based on the target MAC address; Step S9: Establish a second network path, wherein the second network path is used to sequentially connect the network card of the computing power bare metal host, the second scalable elastic network card, the representative port, and the virtual switch.
6. The method as described in claim 5, characterized in that, Step S8 includes: Step S8.1: Determine the available network card number from the preset network card number range, and create the second scalable elastic network card based on the available network card number; Step S8.2: Write the target MAC address into the hardware address of the second scalable elastic network card and activate the second scalable elastic network card.
7. The method as described in claim 5, characterized in that, Step S9 includes: Step S9.1: Add the representative port in the second network path to the internal bridge of the virtual switch, and bind the representative port to the port identifier corresponding to the network port.
8. The method as described in claim 1, characterized in that, The method further includes: Step S10: Determine the third scalable elastic network interface card (NIC) in the DPU, wherein the third scalable elastic network interface card is not associated with any network port on the bare metal host of the computing power. Step S11: Deregister the third scalable network interface card (NIC) and reclaim the NIC number occupied by the third scalable NIC.
9. A self-healing device for network faults of an intelligent network card in a smart computing cloud platform, characterized in that, The device includes: The first determining module is used to determine the target MAC address allocated by the intelligent computing cloud platform to the network port in response to the need for a network card to be provided on the network port of the computing bare metal host. The second determining module is used to determine the hardware addresses of each scalable elastic network interface card configured in the DPU; The third determining module is used to determine the matching result between the target MAC address and the hardware address of each of the scalable and flexible network interface cards; The fourth determining module is used to determine, based on the matching result, whether there exists a first scalable elastic network interface card (SNIC) whose hardware address matches the target MAC address from among the scalable elastic network interface cards (SNICs). A first processing module is configured to, in response to the presence of the first scalable elastic network interface card (NIC), provide the first scalable elastic network interface card to the network port, and calibrate the configuration identifier in the first network path based on the target MAC address to obtain a self-healing first network path.
10. An electronic device, characterized in that, include: A processor, a memory, and a program stored in the memory and executable on the processor, wherein when the program is executed by the processor, the program implements the steps of the intelligent computing cloud platform's computing power operation intelligent network card network fault self-healing method as described in any one of claims 1 to 8.
11. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the intelligent computing cloud platform's intelligent network card network fault self-healing method as described in any one of claims 1 to 8.
12. A computer program product, characterized in that, The method includes computer instructions that, when executed by a processor, implement the steps of the intelligent computing cloud platform's computing power operation intelligent network card network fault self-healing method as described in any one of claims 1 to 8.
