A multi-tenant-oriented DPU computing power dynamic isolation and scheduling method and system

By generating dynamic hardware form factor identifiers on the DPU and comparing physical signal characteristics in real time, the problems of security and resource utilization in multi-tenant isolation are solved, and physical-level isolation and efficient scheduling are achieved.

CN123137904APending Publication Date: 2026-11-20中电长城科技有限公司 +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611306548.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-26
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

Existing technologies for implementing multi-tenant isolation on DPUs suffer from security vulnerabilities due to their reliance on a large software stack, which makes them susceptible to attacks. Furthermore, static hardware partitioning leads to resource waste and low utilization.

Method used

A transient hardware execution mechanism based on tenant dynamic identity is adopted. By generating dynamic hardware form identifiers and coupling operations to generate hardware configuration codes, reconfigurable hardware arrays are configured in real time. Physical signal characteristics are collected and compared to achieve physical-level isolation and efficient scheduling.

Benefits of technology

It achieves physical-level security isolation, eliminates side-channel attacks, improves resource utilization, and completes hardware reconstruction and switching in nanoseconds, resolving the contradiction between security and resource utilization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123137904A_ABST
    Figure CN123137904A_ABST
Patent Text Reader

Abstract

The application discloses a kind of DPU computing power dynamic isolation and scheduling method and system for multi-tenant, belong to network security and computer architecture technical field.The method includes: maintaining the dynamic hardware morphology identification evolved with execution process for the tenant task currently executed;Coupling operation is carried out between the original instruction to be executed and the dynamic hardware morphology identification at the current time, and hardware configuration code is generated;Instantaneous configuration is carried out on reconfigurable hardware array using hardware configuration code, and instantaneous hardware function array for executing original instruction is constructed;When array executes computing operation, physical signal is collected and execution fingerprint feature is extracted;Execution fingerprint feature is compared with the expected fingerprint feature generated based on dynamic identification and original instruction, to verify task legality.The application breaks the static mapping of instruction set and hardware structure through the dynamic binding of instruction and hardware morphology and fingerprint audit at physical level, realizes the dynamic isolation and real-time safety verification of multi-tenant computing power at physical level.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the fields of network security and computer architecture technology, and in particular to a method and system for dynamic isolation and scheduling of DPU computing power for multi-tenant environments. Background Technology

[0002] Data Processing Units (DPUs) are a key component in modern data center architectures. They are dedicated processors designed to efficiently offload infrastructure tasks such as networking, storage, and security from the central processing unit (CPU). To improve resource utilization and cost-effectiveness in data centers, DPUs typically need to operate in a multi-tenant mode, simultaneously serving multiple isolated users or applications. This places extremely high demands on the DPU's computational isolation and scheduling capabilities.

[0003] Currently, achieving multi-tenant isolation on DPUs primarily relies on two technical approaches. The first is software-based logical isolation, which creates an independent virtual environment for each tenant by running a virtual machine monitor or container engine on the DPU. The second is hardware-based static partitioning, which involves fixing the physical computing cores, hardware queues, or memory regions within the DPU to allocate dedicated, inviolable hardware resources to each tenant.

[0004] However, all of the aforementioned existing technical solutions have significant drawbacks. While software-based logical isolation is flexible, its security relies entirely on a large and complex software stack. If the isolation software itself has vulnerabilities, the isolation between tenants can be compromised. Furthermore, the tasks of different tenants ultimately run in a time-sharing manner on a shared physical execution unit, leaving a channel for attacks based on side-channel information such as power consumption and electromagnetic radiation. Hardware-based static partitioning schemes, while offering strong isolation, result in significant resource waste and rigidity, failing to flexibly adjust computing power allocation according to dynamic changes in tenant load, severely reducing the overall resource utilization of the DPU. Summary of the Invention

[0005] To address the aforementioned issues, this invention provides a method and system for dynamic isolation and scheduling of DPU computing power for multi-tenants. It employs a mechanism that instantaneously generates specific hardware execution circuits based on the dynamic identity of the tenant and verifies their physical execution behavior in real time, thereby achieving physical-level security isolation and efficient and flexible resource scheduling.

[0006] The above objectives can be achieved through the following approach: A method for dynamic isolation and scheduling of DPU computing power for multi-tenancy includes: Generate and maintain dynamic hardware form identifiers that evolve as the currently executing tenant task progresses; Obtain the raw instruction to be executed, and couple the raw instruction with the dynamic hardware form identifier at the current moment to generate hardware configuration code for configuring hardware logic. The hardware configuration code is applied to the reconfigurable hardware array to instantly configure the internal logic and connection relationships of the reconfigurable hardware array, forming an instantaneous hardware function array for executing the original instructions; When the instantaneous hardware functional array performs computational operations, the physical signals it generates are collected and the execution fingerprint features are extracted from them; Based on the dynamic hardware form factor identifier and the original instruction, generate the corresponding expected fingerprint features; The correlation between the executed fingerprint features and the expected fingerprint features is compared to obtain the verification results. When the verification result indicates a match, the result of the calculation operation is output.

[0007] Optionally, generating and maintaining a dynamic hardware form factor identifier for the currently executing tenant task includes: obtaining a random sequence from a physical noise source to generate an initial identifier for the tenant task; using the initial identifier as input and iteratively updating it through an evolution function to generate the dynamic hardware form factor identifier that changes with the task execution time.

[0008] Optionally, the step of coupling the original instruction with the current dynamic hardware form factor to generate a hardware configuration code includes: parsing the original instruction to separate the instruction opcode and operand information; inputting the instruction opcode, operand information, and the current dynamic hardware form factor into a mixing function; performing nonlinear operations through the mixing function, and the output bit stream is the hardware configuration code.

[0009] Optionally, applying the hardware configuration code to the reconfigurable hardware array to form a transient hardware functional array includes: at the beginning of a computing clock cycle, setting the configuration state of the reconfigurable hardware array to a neutral state; loading the hardware configuration code onto the configuration port of the reconfigurable hardware array to drive the function selection of its internal logic units and the switching state of its interconnection network; and reconstructing its physical form before the data in the clock cycle arrives at the reconfigurable hardware array to form the transient hardware functional array.

[0010] Optionally, the step of comparing the execution fingerprint features with the expected fingerprint features to obtain a verification result includes: querying and obtaining the expected fingerprint features from the feature prediction model using the dynamic hardware form factor identifier and the type of the original instruction as indexes; calculating the correlation coefficient value between the execution fingerprint features and the expected fingerprint features; and comparing the correlation coefficient value with a matching threshold to generate the verification result.

[0011] Optionally, the feature prediction model is constructed in the following way: in a secure and trusted training environment, the reconfigurable hardware array is driven to execute using known dynamic hardware form factors and standard instruction sets; standard physical signals generated by the array are collected and standard fingerprint features are extracted; a mapping relationship between the dynamic hardware form factors, instruction types and standard fingerprint features is established and solidified into the feature prediction model.

[0012] Optionally, the method further includes: assigning independent dynamic hardware form factor evolution trajectories to the computing tasks of multiple different tenants; sending the original instruction streams corresponding to the computing tasks of the multiple different tenants sequentially or interleaved into the same set of reconfigurable hardware arrays for processing through a hardware scheduler; and performing hardware context switching when switching tenant tasks, loading the dynamic hardware form factor associated with the tenant task into the execution pipeline.

[0013] Optionally, the method further includes: triggering a hardware circuit breaker mechanism when the verification result indicates a mismatch; preventing the result of the computation operation from being written to the target register or memory through the hardware circuit breaker mechanism; and generating a security exception event report containing exception context information.

[0014] Optionally, after outputting the result of the computation operation, the method further includes: updating the dynamic hardware form identifier according to the unidirectional evolution algorithm and in combination with the execution status information of the current cycle to obtain the updated dynamic hardware form identifier; and using the updated dynamic hardware form identifier for the next instruction execution cycle of the tenant task to start a new verification loop.

[0015] This invention also provides a dynamic isolation and scheduling system for DPU computing power in a multi-tenant environment, the system being integrated within the DPU and comprising: The dynamic identifier maintenance module is used to generate and maintain a dynamic hardware form identifier that evolves as the currently executing tenant task progresses. The instruction coupling module is used to obtain the original instruction to be executed and perform coupling operation between the original instruction and the dynamic hardware form identifier at the current moment to generate hardware configuration code for configuring hardware logic. A reconfigurable execution array module is used to receive the hardware configuration code and instantly configure its internal logic and connection relationships accordingly to form an instantaneous hardware function array for executing the original instructions. The physical behavior auditing module is used to extract execution fingerprint features when the instantaneous hardware function array performs computing operations, generate expected fingerprint features based on the dynamic hardware form identifier and the original instruction, and then compare the execution fingerprint features with the expected fingerprint features to obtain the verification result. An output control module is used to output the result of the calculation operation when the verification result indicates a match.

[0016] Compared with the prior art, the present invention has the following advantages: This invention provides a deep security mechanism that achieves physical isolation. By binding the dynamic identity of a tenant to the instantaneous physical form of the hardware, the computing unit is generated only for a specific tenant at the moment a legitimate instruction is executed. For unauthorized accessors, the target hardware does not exist physically or logically, fundamentally eliminating the possibility of side-channel attacks using shared hardware resources, and elevating the strength of security isolation from the logical level to the physical entity level.

[0017] This invention establishes an intrinsically proactive real-time security defense system. By comparing the actual physical fingerprint characteristics generated by the system with the theoretically expected fingerprint characteristics in real time during hardware execution, the system can instantly capture various abnormal behaviors, including code injection, replay attacks, and even hardware fault injection. Once the physical behavior deviates from the expectation, the hardware-level circuit breaker mechanism is immediately activated to prevent the abnormal result from polluting the system state, thus realizing the transformation from passive defense to active immunity.

[0018] This invention provides ultimate security while achieving efficient and flexible scheduling of computing resources. Instantaneous hardware reconfiguration and context switching between tenants are completed within nanoseconds, with virtually no performance overhead. This allows the DPU's computing resources to be dynamically allocated and reclaimed with fine granularity based on the real-time load of different tenants, completely resolving the inherent contradiction between security and resource utilization in traditional static isolation schemes and achieving a balance between the two. Attached Figure Description

[0019] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0020] Figure 1 This is a schematic diagram of the method flow of the present invention; Figure 2 This is a three-dimensional spatial comparison diagram of the physical fingerprint feature signals of the present invention; Figure 3 This is a schematic diagram comparing the resource utilization rates of the present invention and traditional solutions. Detailed Implementation

[0021] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0022] A method for dynamic isolation and scheduling of DPU computing power for multi-tenancy includes: Generate and maintain dynamic hardware form identifiers that evolve as the currently executing tenant task progresses; Obtain the raw instruction to be executed, and couple the raw instruction with the dynamic hardware form identifier at the current moment to generate hardware configuration code for configuring hardware logic. The hardware configuration code is applied to the reconfigurable hardware array to instantly configure the internal logic and connection relationships of the reconfigurable hardware array, forming an instantaneous hardware function array for executing the original instructions; When the instantaneous hardware functional array performs computational operations, the physical signals it generates are collected and the execution fingerprint features are extracted from them; Based on the dynamic hardware form factor identifier and the original instruction, generate the corresponding expected fingerprint features; The correlation between the executed fingerprint features and the expected fingerprint features is compared to obtain the verification results. When the verification result indicates a match, the result of the calculation operation is output.

[0023] Specifically, refer to Figure 1 As shown, a dynamic hardware form identifier, which is unpredictable and evolves rapidly, is generated in real time for each tenant's computational task, serving as the tenant's unique identity credential at the current moment. The instruction decoding process is coupled with the hardware configuration process, using this dynamic identity identifier to transform standard raw instructions into a unique hardware configuration code in real time. This hardware configuration code does not directly participate in data computation but acts as a configuration signal, driving an execution unit composed of a reconfigurable hardware array to create a temporary hardware circuit capable of executing the instruction. A closed-loop verification mechanism is also in place, collecting the unique physical signals (execution fingerprint features) generated during the execution of this temporary circuit in real time and comparing them with the theoretical physical behavior (expected fingerprint features) pre-calculated based on the current identity and instruction. Only when the physical execution behavior perfectly matches the theoretical expectation is the calculation result allowed to be output; otherwise, a hardware-level circuit breaker is immediately triggered. This forms a complete and inseparable security chain from "dynamic identity" to "instantaneous hardware" to "physical fingerprint verification."

[0024] This approach achieves ultimate isolation at the physical level. For unauthorized tenants or attackers, the computing hardware they attempt to attack (such as adders) simply does not exist logically or physically. This is because the hardware is only generated for legitimate tenants the instant a legitimate instruction arrives, fundamentally eliminating the threat of side-channel attacks based on shared hardware. Simultaneously, it gains an inherent, proactive, real-time security defense capability. Any illegal instruction injection, replay attack, or hardware fault injection will be immediately detected and blocked due to the inability to generate the correct hardware configuration or physical fingerprint mismatch, elevating security protection from lagging software checks to real-time hardware-level immunity. Furthermore, this method reconciles the contradiction between security and resource utilization. Instantaneous hardware reconstruction and tenant switching have almost zero overhead, allowing valuable DPU computing power resources to be dynamically and efficiently scheduled among multiple tenants like a fluid, improving hardware utilization without sacrificing security isolation strength. The entire security mechanism is embedded in the hardware layer, transparent to upper-layer software, reducing the overall system complexity and management overhead, and improving system reliability and operational efficiency.

[0025] Optionally, generating and maintaining a dynamic hardware form factor identifier for the currently executing tenant task includes: obtaining a random sequence from a physical noise source to generate an initial identifier for the tenant task; using the initial identifier as input and iteratively updating it through an evolution function to generate the dynamic hardware form factor identifier that changes with the task execution time.

[0026] Specifically, a dynamic hardware form identifier is generated and maintained for the currently executing tenant task. This identifier creates an unpredictable and rapidly evolving unique identity sequence for each tenant session, serving as the root of trust for subsequent hardware form configuration and verification. This process is divided into two phases: initialization and dynamic evolution. In the initialization phase, when the DPU system allocates computing resources to a specific tenant, it triggers a physical noise source to acquire a high-entropy physical random number. This physical noise source typically consists of a set of metastable triggers or a ring oscillator arrays, utilizing microscopic differences and thermal noise from the semiconductor manufacturing process to generate an unclonable random signal. This random signal is collected and processed using a hardware-implemented hash function, such as SHA-256, for compression and avalanche effect processing, ultimately generating a fixed-length bit sequence, such as 128 or 256 bits. This sequence serves as the initial identifier unique to the tenant session.

[0027] During the dynamic evolution phase, the identifier needs to be updated every instruction cycle or a preset number of clock cycles to generate a dynamic hardware configuration identifier that changes with the task execution time. This evolution process is accomplished by a non-linear update function implemented in hardware logic. Let's assume that at time step... The dynamic hardware form factor is identified as The next dynamic hardware form factor identifier of the system Generate using the following formula , in, It represents a fixed nonlinear evolution function, which can be a one-way hash function or a hybrid function based on finite field multiplication and XOR operation. This is the dynamic hardware state identifier from the previous moment, and its initial value is... This refers to the initial identifier obtained earlier. A dynamic context vector is a variable that changes with the execution context. It is obtained by sampling values ​​from the DPU's internal status registers, such as the program counter (PC) value of the current instruction, the count of executed branch instructions, or a separate system high-precision timer value. This dynamic context vector is introduced as a mechanism to manage the execution context. This ensures that even if the same thing happens at two different points in time... ,because Different, generated It will also be completely different, thus breaking the periodicity of the evolutionary process and greatly increasing unpredictability.

[0028] Through the aforementioned initialization and dynamic evolution process, a continuous and unique dynamic hardware form identifier stream is successfully generated and maintained for each tenant task. This identifier stream directly serves as the core input for instruction coupling operations in the next technical step, providing a foundation for instantaneously binding tenant identity with hardware physical form, thereby realizing a fundamental shift in the isolation mechanism from the logical level to the physical existence level.

[0029] Optionally, the step of coupling the original instruction with the current dynamic hardware form factor to generate a hardware configuration code includes: parsing the original instruction to separate the instruction opcode and operand information; inputting the instruction opcode, operand information, and the current dynamic hardware form factor into a mixing function; performing nonlinear operations through the mixing function, and the output bit stream is the hardware configuration code.

[0030] Specifically, by converting standard public instructions into tenant-specific and instantaneously effective hardware control sequences, the semantics of the instructions are strongly bound to the dynamic identity of the tenant, ensuring that only legitimate tenants can generate valid hardware configurations at the correct time. First, the raw instructions reaching the instruction pipeline decoding stage are parsed. The raw instructions are fixed-width binary codes, such as 32-bit or 64-bit. The hardware parsing circuit divides the raw instructions into different bit fields according to a preset instruction set architecture format, such as RISC-V or ARM. Key fields are extracted, including the instruction opcode defining the operation type and operand information such as the register address or immediate value of the operand. Then, the extracted instruction opcode and operand information, along with the dynamic hardware configuration identifier generated in the previous stage, are used as input to a dedicated hardware-implemented hybrid function for calculation. This hybrid function is designed to have high nonlinearity and avalanche effects, with each bit of its output depending on small changes in all inputs. A feasible hardware implementation is achieved through multi-stage hybrid operations, the calculation process of which can be represented by the following formula.

[0031] , in, This represents the final generated hardware configuration code. I_operands and I_operands are bit vectors representing the instruction opcode and operand information, respectively. This is the current dynamic hardware form factor identifier. and These are two non-overlapping subvectors obtained by dividing the vector at predetermined positions. ROL and ROR represent cyclic left shift and cyclic right shift operations, respectively. and is the displacement constant of the solidified material. Representing a fixed hardware permutation network, it rearranges the input bit vector according to a preset non-linear pattern. This permutation is implemented in hardware through fixed wiring, without additional clock cycle overhead. XOR stands for bitwise XOR operation. This formula ensures deep integration of instruction information and identity identifiers; even a small change in either will lead to a significant difference in the final output hardware configuration code. By performing the above parsing and coupling operations, a general raw instruction is successfully transformed into a high-entropy and unique bit stream, namely the hardware configuration code. The length of this hardware configuration code strictly matches the bit width of the configuration port of the downstream reconfigurable hardware array, for example, 512 bits or 1024 bits. It no longer carries computational data but serves as a pure control signal. Each bit is directly used to drive the functional selection of specific logic units in the reconfigurable hardware array or the switching on / off of the interconnect matrix, providing a precise blueprint for the hardware to achieve instantaneous physical reconstruction in the next step.

[0032] Optionally, applying the hardware configuration code to the reconfigurable hardware array to form a transient hardware functional array includes: at the beginning of a computing clock cycle, setting the configuration state of the reconfigurable hardware array to a neutral state; loading the hardware configuration code onto the configuration port of the reconfigurable hardware array to drive the function selection of its internal logic units and the switching state of its interconnection network; and reconstructing its physical form before the data in the clock cycle arrives at the reconfigurable hardware array to form the transient hardware functional array.

[0033] Specifically, hardware resources without defined functions are dynamically materialized on demand into dedicated circuits capable of performing specific computational tasks, and this materialization process is strictly bound to the tenant's identity. This process is implemented during the execution phase of the DPU pipeline. First, at the beginning of each computation clock cycle, all configuration latches in the reconfigurable hardware array are reset or gated via a global synchronization signal, placing their internal logic connections in a preset neutral state. This neutral state means that all basic logic units are in a high-impedance or non-conductive state, and the entire array has no computational function. Subsequently, the hardware configuration code generated in the previous stage is loaded in parallel onto the configuration ports of the reconfigurable hardware array. This array consists of a large number of fine-grained basic logic units and a high-bandwidth programmable interconnect matrix, where each basic logic unit contains a small lookup table (LUT) and registers, enabling arbitrary input logic functions. Different bit segments in the hardware configuration code are hard-connected to the LUT function selection inputs of different basic logic units or the cross-point switch control terminals of the interconnect matrix. The setup time for this configuration process is designed to be extremely short, ensuring that the physical form of the circuit is stable before the computation data stream arrives within the same clock cycle. Through a pre-built coarse-grained reconfigurable architecture (CGRA) or overlay virtual layer, the configuration ports of the basic logic units are directly connected to the control terminals of a high-speed multiplexer (MUX). The hardware configuration code acts as a selection signal, directly selecting the preset logic path. Since only combinational logic signal transmission is involved, no SRAM programming is required, thus enabling rapid circuit form switching. This series of hardware actions instantly organizes the disordered basic units into temporary functional circuits with defined topologies and functions—the instantaneous hardware functional array.

[0034] Through the aforementioned instantaneous physical reconstruction within a clock cycle, the reconfigurable hardware array successfully "collapses" a one-time, tenant-specific instantaneous hardware function array for the current instruction. This instantaneous hardware function array is now a physically stable and functionally correct circuit, such as a complete 32-bit adder or a floating-point multiplier unit. It is ready to receive and process the operand data corresponding to the original instruction, and its execution behavior will generate unique physical signal characteristics. The formation of this instantaneous hardware function array is a direct physical prerequisite for subsequent execution of actual computational operations and the acquisition of their physical execution fingerprint characteristics, providing a physical carrier for the secure closed loop of the entire method.

[0035] Optionally, the step of comparing the execution fingerprint features with the expected fingerprint features to obtain a verification result includes: querying and obtaining the expected fingerprint features from the feature prediction model using the dynamic hardware form factor identifier and the type of the original instruction as indexes; calculating the correlation coefficient value between the execution fingerprint features and the expected fingerprint features; and comparing the correlation coefficient value with a matching threshold to generate the verification result.

[0036] Specifically, by constructing a real-time hardware-level trust audit closed loop, it is ensured that the actual physical behavior of the instantaneous hardware functional array is completely consistent with the theoretical expectations based on legitimate identity and instructions. (Refer to...) Figure 2 As shown, based on the dynamic hardware form factor identifier of the current cycle and the type of the original instruction, a feature prediction model embedded in the hardware is jointly queried. This model is essentially a high-speed read-only memory that pre-stores the standard physical signal spectral features corresponding to different combinations of legitimate identities and instructions, i.e., the expected fingerprint features. The expected fingerprint features are typically represented as a multi-dimensional vector, such as a 128-point power spectral density key frequency amplitude vector. Simultaneously, the hardware audit circuit performs high-speed sampling of the power pin currents of the instantaneous hardware functional array, processes it through a hardware-implemented Fast Fourier Transform (FFT) module, and obtains a real-time spectral vector of the same dimension; this vector is the execution fingerprint feature. Dedicated comparison and verification hardware calculates the correlation coefficient between the execution fingerprint feature and the expected fingerprint feature in parallel; this coefficient is used to quantify the similarity between the two vectors. An efficient engineering implementation is to calculate the cosine similarity between the two vectors, the calculation process of which can be expressed by the following formula.

[0037] , in, This represents the correlation coefficient. Representing the first of the executed fingerprint feature vectors The component is a spectral component obtained by high-speed sampling of the power supply pin current of the instantaneous hardware functional array and performing a fast Fourier transform. Represents the first of the expected fingerprint feature vectors obtained from the feature prediction model. Each component. This represents the summation of all components of the vector. After calculation, a hardware comparator converts the correlation coefficient... It is compared to a preset matching threshold. This matching threshold is a key parameter set during chip factory testing or system boot, typically between 0.95 and 0.99, used to balance safety sensitivity and system fault tolerance. If the result is greater than the matching threshold, the verification is considered successful.

[0038] By executing the above comparison and verification process, a deep audit of the authenticity of the hardware execution behavior is completed in the very short time before the calculation result is written back. This verification step outputs a Boolean verification pass signal, which serves as the final hardware gating and directly determines whether the result of the calculation operation is allowed to be written to the target register or memory, thus constituting an indispensable final verification link in the entire security isolation and scheduling method.

[0039] Optionally, the feature prediction model is constructed in the following way: in a secure and trusted training environment, the reconfigurable hardware array is driven to execute using known dynamic hardware form factors and standard instruction sets; standard physical signals generated by the array are collected and standard fingerprint features are extracted; a mapping relationship between the dynamic hardware form factors, instruction types and standard fingerprint features is established and solidified into the feature prediction model.

[0040] Specifically, a feature prediction model is used to build an accurate and reliable "theoretical benchmark" database for the hardware auditing mechanism, enabling the system to predict the physical behavior of any legitimate operation, thus providing a basis for real-time comparison and verification. This construction process is typically completed in a highly controlled, secure, and reliable training environment during the design verification or factory testing phase of the DPU chip. The testing system controls the DPU to enter a special "feature acquisition mode" through a dedicated test interface. In this mode, the testing system generates and inputs a series of known dynamic hardware form factor identifier sequences and a standard instruction set covering the entire instruction set. For each known combination of dynamic hardware form factor identifier and standard instruction, the system drives the reconfigurable hardware array to execute the instruction, completing the instantaneous configuration and computation of the hardware. Simultaneously, a high-precision external test device or a dedicated sensor integrated within the chip accurately acquires the standard physical signals generated on the power rails of the reconfigurable hardware array during this execution process, typically instantaneous current waveforms. Each acquired standard physical signal waveform is then sent to the signal processing unit. This unit first preprocesses the signal, such as filtering and amplification, and then performs a Fast Fourier Transform (FFT) on it, for example, with 256 or 512 points, to extract its spectral information. To reduce data volume and highlight key features, a fixed-dimensional vector is extracted from the entire spectrum as the standard fingerprint feature. For example, only the power spectral density values ​​at a few frequency points with the most concentrated energy are selected, or the spectrum is divided into several frequency bands and the total energy of each band is calculated. Through this process, each "identity and instruction" combination corresponds to a unique and compact digital fingerprint. Finally, a mapping relationship library between the dynamic hardware form identifier, instruction type, and the standard fingerprint feature is established. In hardware implementation, this typically means programming or embedding these mapping relationships into a high-speed read-only memory (ROM) or a content-addressable memory (CAM). The address of this memory is formed by concatenating the key bits of the dynamic hardware form identifier and instruction type, and its stored content is the corresponding standard fingerprint feature vector. The content of this memory is locked after chip manufacturing, constituting the final feature prediction model.

[0041] Thus, a static and tamper-proof feature prediction model was successfully integrated into the DPU chip. This model, at runtime, can output the expected physical fingerprint corresponding to any legitimate operation based on real-time input, providing the physical behavior auditing module with a real-time and accurate comparison target. This pre-built benchmark library is the core prerequisite for the entire zero-trust verification closed loop to function, materializing the abstract concept of "trust" into measurable and comparable physical quantities.

[0042] Optionally, the method further includes: assigning independent dynamic hardware form factor evolution trajectories to the computing tasks of multiple different tenants; sending the original instruction streams corresponding to the computing tasks of the multiple different tenants sequentially or interleaved into the same set of reconfigurable hardware arrays for processing through a hardware scheduler; and performing hardware context switching when switching tenant tasks, loading the dynamic hardware form factor associated with the tenant task into the execution pipeline.

[0043] Specifically, by enabling secure and efficient time-division multiplexing of multiple isolated tenant tasks on a single physically reconfigurable hardware resource, static resource allocation is transformed into dynamic, instruction-granular computing power allocation. This is accomplished collaboratively by the scheduler and task context management unit, both implemented in the DPU's internal hardware. When the DPU receives multiple computing tasks from different tenants from the host, the scheduler creates a task descriptor for each task in its internal hardware task queue. Simultaneously, the task context management unit performs independent allocation of dynamic hardware form factor evolution trajectories for each newly activated tenant task. Specifically, it generates a unique initial identifier for the tenant task and stores this initial identifier, along with context information such as the task's program counter and register states, in a dedicated, tenant ID-indexed high-speed on-chip memory, i.e., the tenant context storage area. The scheduler, based on a preset scheduling policy, determines which tenant the next instruction to be executed belongs to in each execution cycle. This scheduling policy is implemented in the hardware and can be a simple round-robin scheduler or a weighted fair queue scheduler based on a service level agreement (SSPA). When the scheduler decides to switch from tenant A to tenant B, it triggers a hardware context switching operation. The operation comprises the following key steps: The dynamic hardware form identifier and execution context of the currently executing tenant A are atomically written back to their corresponding entry in the tenant context store; then, the context of the target tenant B, including its dynamic hardware form identifier saved during the previous execution, is read from the tenant context store and loaded into the relevant registers in the pipeline. This switching process is implemented through a dedicated data path, ensuring completion within 1-2 clock cycles and minimizing switching overhead. After the context switch is complete, the scheduler retrieves the corresponding original instruction from the instruction stream of tenant B and sends it to the subsequent instruction coupling module for instantaneous configuration and execution.

[0044] Through the aforementioned multi-tenant scheduling steps, a single set of reconfigurable hardware arrays is virtualized into multiple logically independent private execution engines over time. At any given point in time, the physical form and function of this hardware array uniquely correspond to the dynamic hardware form identifier and its original instructions of the currently scheduled tenant. For all other tenants, this hardware is logically invisible. This method of sequentially or interleavedly sending instructions to different tenants achieves fine-grained, high-efficiency sharing of physical hardware resources. Simultaneously, because each switch is accompanied by a complete change of the security context, it ensures a security strength equivalent to physical isolation between tenants, successfully guaranteeing ultimate security while referencing… Figure 3 As shown, this achieves high utilization and flexible scheduling of computing resources.

[0045] Optionally, the method further includes: triggering a hardware circuit breaker mechanism when the verification result indicates a mismatch; preventing the result of the computation operation from being written to the target register or memory through the hardware circuit breaker mechanism; and generating a security exception event report containing exception context information.

[0046] Specifically, the engineering purpose of the exception handling steps in this embodiment is to provide the system with a reliable hardware-level circuit breaker and response mechanism to ensure that when a potential attack or execution anomaly is detected, the occurrence of the harm can be immediately blocked and the event can be recorded, thereby changing the defense mechanism from passive to active.

[0047] The process is triggered when the comparison between the executed fingerprint feature and the expected fingerprint feature fails. Specifically, when the correlation coefficient calculated by the physical behavior auditing module is lower than the preset matching threshold, the module immediately outputs a high-level exception signal. This exception signal is hard-connected to a key gating unit in the write-back stage of the DPU pipeline. This gating unit controls the physical connection between the computation result data path and the target register file or data cache. Under normal circumstances, this gating unit is in the on state. Once an exception signal is received, the hardware circuit breaker mechanism is activated, and the gating unit immediately switches to the off state within the current clock cycle. This action physically prevents the result of the computation operation from being written to the target register or memory, effectively isolating potential errors or malicious data at the end of the pipeline and avoiding any contamination of the system state. While triggering the hardware circuit breaker mechanism to prevent data write-back, the exception handling logic unit also generates an event report in parallel. This unit captures and latches key contextual information triggered by an anomaly. This information typically includes: the binary code of the original instruction that caused the anomaly, the memory address corresponding to that instruction, the current dynamic hardware form factor, the calculated correlation coefficient of the anomaly, and the system timestamp at the time of the anomaly. This information is combined into a fixed-format security anomaly event report. This report is then written to a dedicated, protected on-chip security log register and, depending on the system configuration, can optionally notify the DPU's management firmware or the upper-layer host driver via a dedicated interrupt signal for further analysis, alerting, or taking higher-level response measures, such as terminating the tenant task.

[0048] As a result, by executing the above-described anomaly handling steps, the system establishes a real-time, deterministic hardware security response loop. Any attempt to disrupt the normal execution flow of the hardware through injecting illegal instructions, replay attacks, or physical fault injection will be precisely detected due to its unexpected physical behavior. By immediately preventing data write-back and generating detailed event reports, this mechanism not only effectively prevents potential harms but also provides crucial first-hand evidence for subsequent threat attribution and system hardening, enhancing the system's robustness and credibility.

[0049] Optionally, after outputting the result of the computation operation, the method further includes: updating the dynamic hardware form identifier according to the unidirectional evolution algorithm and in combination with the execution status information of the current cycle to obtain the updated dynamic hardware form identifier; and using the updated dynamic hardware form identifier for the next instruction execution cycle of the tenant task to start a new verification loop.

[0050] Specifically, to ensure the continuity and dynamism of the security mechanism, enabling the system's "verification chain" to self-refresh in each instruction cycle and thus prevent any attacks based on historical states, such as replay attacks, this invention updates the dynamic hardware form identifier according to a preset evolution algorithm, achieving irreversible unidirectional evolution. Its implementation is similar to the previously described dynamic evolution stage, accomplished through a nonlinear update function. Let the dynamic hardware form identifier of the current cycle be... The updated dynamic hardware form factor identifier Generate using the following formula , in, This represents a hardware-implemented unidirectional evolution function that differs from the dynamic evolution function F, in order to increase the system's complexity and resistance to attacks. It is the dynamic hardware form factor identifier that was just used in the current cycle. It is a state feedback vector used to feed back the execution result state of the current cycle to the identity generation of the next cycle, thereby achieving a tighter closed loop. It can consist of metadata about the execution result, such as the parity bit and sign bit of the calculation result, or the overflow flag or zero flag in the ALU status register. Introducing the evolutionary process means that even the same If the calculation result in the previous step is different, the generated... This will also differ, further enhancing the unpredictability of the identifier's evolution trajectory. After generating the updated dynamic hardware form factor identifier, it will be immediately provided to the instruction coupling module and the physical behavior auditing module. The instruction coupling module will use this new identifier to generate a new hardware configuration code for the upcoming next instruction. Simultaneously, the physical behavior auditing module will also use this new identifier and the type of the next instruction to query the new expected fingerprint features from the feature prediction model.

[0051] By executing the closed-loop feedback steps described above, a complete iteration of the security context is completed between each instruction cycle. This process ensures that at any given time, the "key" used for hardware configuration and behavior verification is one-time use and associated with the state of the previous moment. This not only prevents attackers from deceiving the system by replaying the legitimate instruction stream of the previous cycle, because its corresponding dynamic hardware form identifier has become invalid, but also opens a completely new verification closed loop, providing a completely different independent hardware-level security guarantee for the execution of the next instruction. This seamlessly integrates dynamic isolation and verification mechanisms throughout the entire task execution process.

[0052] This invention also provides a dynamic isolation and scheduling system for DPU computing power in a multi-tenant environment, the system being integrated within the DPU and comprising: The dynamic identifier maintenance module is used to generate and maintain a dynamic hardware form identifier that evolves as the currently executing tenant task progresses. The instruction coupling module is used to obtain the original instruction to be executed and perform coupling operation between the original instruction and the dynamic hardware form identifier at the current moment to generate hardware configuration code for configuring hardware logic. A reconfigurable execution array module is used to receive the hardware configuration code and instantly configure its internal logic and connection relationships accordingly to form an instantaneous hardware function array for executing the original instructions. The physical behavior auditing module is used to extract execution fingerprint features when the instantaneous hardware function array performs computing operations, generate expected fingerprint features based on the dynamic hardware form identifier and the original instruction, and then compare the execution fingerprint features with the expected fingerprint features to obtain the verification result. An output control module is used to output the result of the calculation operation when the verification result indicates a match.

[0053] In this embodiment, in order to intuitively verify the feasibility and defense effect of the present invention in actual engineering, we built a DPU prototype verification system based on FPGA (Field Programmable Gate Array) and set specific engineering parameters to simulate task execution and attack and defense confrontation in a multi-tenant environment.

[0054] We defined the basic capabilities of this DPU prototype system. The DPU's main clock frequency was set to 1.0 GHz, meaning each computation cycle lasts precisely 1 nanosecond. To ensure strong security isolation, the system generates a dynamic hardware form factor identifier (...). The bit width is selected as 128 bits, while the configuration code used to ultimately control the hardware circuit connection ( The number of bits is as high as 1024, which is sufficient to finely control the logical functions of 256 4-input lookup tables (LUTs) in the array.

[0055] For security verification, we acquire power signals and perform FFT transformation to extract a 64-dimensional floating-point vector as the execution fingerprint. A 64K ROM is built-in as the feature prediction model. The verification threshold (relevance threshold) is set to 0.98, meaning that the instruction is only allowed to submit results when the similarity between the actual fingerprint and the expected fingerprint exceeds 98%.

[0056] In the first phase of testing, we simulated a scenario where two tenants (A and B) took turns using hardware resources to verify the system's isolation and accuracy.

[0057] At time T=1 (tenant A performs addition): The system scheduler first selects tenant A. At this point, the system loads the initial identifier of tenant A ( (starting with 0x1A...) and the current program counter ( ).

[0058] By combining the two, the dynamic identifier at the current moment was calculated using an evolutionary algorithm. (0x8C...B2). Next, the system mixes this identifier with the "RISC-V addition instruction (ADD)" that tenant A wants to execute, generating a unique hardware configuration code (0xF0...77). This configuration code instantly "collapses" the originally general-purpose hardware array into a dedicated 32-bit adder circuit. During circuit operation, the audit module detected current characteristics. Upon comparison, the actual generated fingerprint highly matched the expected additive fingerprint, with a correlation coefficient of [missing value]. The value is as high as 0.991 (greater than 0.98). The system determines that the identity is "valid", allows the calculation result to be written to register R3, and then updates the identifier for the next time.

[0059] At time T=2 (tenant B performs multiplication): Immediately afterwards, the scheduler switched to tenant B. The system instantly cleared the context and loaded a completely independent initial identifier for tenant B. (Starting with 0x7E...).

[0060] The key point is isolation: at this point, tenant B generates a dynamic identifier. It is 0xD4...19. Although tenant B may have also used a similar instruction format, the generated hardware configuration code (0x5A...9C) is completely different from tenant A due to the different identifiers. This code reconstructs the hardware array into a 32-bit multiplier. The physical fingerprint comparison results show... Verification passed.

[0061] This proves that even if different tenants run alternately on the same chip, their hardware environments are completely isolated and do not interfere with each other due to the existence of the "dynamic identifier" physical key.

[0062] In the second phase of the test, we simulated a typical replay attack at time T=3 (attack scenario): The system then switches back to tenant A, preparing to execute subsequent tasks. According to the evolution rules, tenant A's current valid identifier has been updated to... (0x5B...C6).

[0063] A simulated attacker intercepts the addition instruction sent by tenant A at time T=1 and attempts to execute it again at present (T=3), intending to tamper with the data. However, the attacker is unaware that he holds the "key" (i.e., the identifier from T=1). It has expired.

[0064] Because the attacker replayed the old instructions, the system did indeed reproduce the configuration code (0xF0...77) at time T=1. The hardware array once again became the adder, and the physical audit module was "alive," using the latest legitimate identifier. To predict fingerprints. Because... The fingerprint characteristics expected by the audit module have changed drastically, completely different from the old identifier potentially used by the attacker. This makes the fingerprint generated by the actual circuit (based on the old configuration) completely different from the fingerprint expected by the audit module (based on the new identifier). The calculated correlation coefficient plummeted to 0.173, far below the passing grade of 0.98. This was immediately identified as an anomaly, triggering the hardware circuit breaker. The result was intercepted and could not be written to the registers. Simultaneously, the system generated a security report containing a timestamp, the abnormal instruction, and the current identifier.

[0065] This embodiment clearly demonstrates that access control is not only implemented at the software level, but also through "dynamic identification" that allows the hardware circuitry itself to evolve over time. This mechanism ensures that the execution of each instruction requires an absolute match between "person (identifier), time (context), and event (instruction)," thus naturally immunizing against advanced threats such as replay attacks at the physical level.

[0066] It should be noted that the electrical connections between the various units described above do not necessarily represent direct or indirect connections. Any indirect connection method can be applied to the embodiments of the present invention as long as it achieves the purpose of the present invention. The above are merely exemplary embodiments of the present invention and should not be construed as limiting the scope of the present invention.

[0067] All equivalent changes and modifications made in accordance with the teachings of this invention are still within the scope of this invention. Those skilled in the art will readily conceive of other embodiments of this invention upon considering the specification and the disclosure of practical truth. This application is intended to cover any variations, uses, or adaptations of this invention that follow the general principles of this invention and include common knowledge or conventional techniques in the art not described herein.

Claims

1. A method for dynamic isolation and scheduling of DPU computing power in a multi-tenant environment, characterized in that, include: Generate and maintain dynamic hardware form identifiers that evolve as the currently executing tenant task progresses; Obtain the raw instruction to be executed, and couple the raw instruction with the dynamic hardware form identifier at the current moment to generate hardware configuration code for configuring hardware logic. The hardware configuration code is applied to the reconfigurable hardware array to instantly configure the internal logic and connection relationships of the reconfigurable hardware array, forming an instantaneous hardware function array for executing the original instructions; When the instantaneous hardware functional array performs computational operations, the physical signals it generates are collected and the execution fingerprint features are extracted from them; Based on the dynamic hardware form factor identifier and the original instruction, generate the corresponding expected fingerprint features; The correlation between the executed fingerprint features and the expected fingerprint features is compared to obtain the verification results. When the verification result indicates a match, the result of the calculation operation is output.

2. A method for dynamic isolation and scheduling of DPU computing power for multi-tenancy according to claim 1, characterized in that, The step of generating and maintaining a dynamic hardware form factor identifier for the currently executing tenant task includes: obtaining a random sequence from a physical noise source to generate an initial identifier for the tenant task; and using the initial identifier as input, iteratively updating it through an evolution function to generate the dynamic hardware form factor identifier that changes with the task execution time.

3. A method for dynamic isolation and scheduling of DPU computing power for multi-tenancy according to claim 1, characterized in that, The step of coupling the original instruction with the current dynamic hardware form factor identifier to generate a hardware configuration code includes: parsing the original instruction to separate the instruction opcode and operand information; inputting the instruction opcode, operand information, and the current dynamic hardware form factor identifier into a mixing function; performing nonlinear operations through the mixing function, and the output bit stream is the hardware configuration code.

4. A method for dynamic isolation and scheduling of DPU computing power for multi-tenancy according to claim 1, characterized in that, The step of applying the hardware configuration code to the reconfigurable hardware array to form a transient hardware functional array includes: at the beginning of the computing clock cycle, setting the configuration state of the reconfigurable hardware array to a neutral state; loading the hardware configuration code onto the configuration port of the reconfigurable hardware array to drive the function selection of its internal logic units and the switching state of the interconnection network; and completing the reconstruction of its physical form before the data in the clock cycle arrives at the reconfigurable hardware array to form the transient hardware functional array.

5. A method for dynamic isolation and scheduling of DPU computing power for multi-tenancy according to claim 1, characterized in that, The step of comparing the execution fingerprint feature with the expected fingerprint feature to obtain the verification result includes: querying and obtaining the expected fingerprint feature from the feature prediction model using the dynamic hardware form factor identifier and the type of the original instruction as indexes; calculating the correlation coefficient value between the execution fingerprint feature and the expected fingerprint feature; and comparing the correlation coefficient value with a matching threshold to generate the verification result.

6. A method for dynamic isolation and scheduling of DPU computing power for multi-tenancy according to claim 5, characterized in that, The feature prediction model is constructed in the following way: in a secure and reliable training environment, the reconfigurable hardware array is driven to execute using known dynamic hardware form identifiers and standard instruction sets; standard physical signals generated by the array are collected and standard fingerprint features are extracted; a mapping relationship between the dynamic hardware form identifiers, instruction types and standard fingerprint features is established and solidified into the feature prediction model.

7. A method for dynamic isolation and scheduling of DPU computing power for multi-tenancy according to claim 1, characterized in that, The method further includes: assigning independent dynamic hardware form factor evolution trajectories to the computing tasks of multiple different tenants; sending the original instruction streams corresponding to the computing tasks of the multiple different tenants sequentially or interleaved into the same set of reconfigurable hardware arrays for processing through a hardware scheduler; and performing hardware context switching when switching tenant tasks, loading the dynamic hardware form factor associated with the tenant task into the execution pipeline.

8. A method for dynamic isolation and scheduling of DPU computing power for multi-tenancy according to claim 1, characterized in that, The method further includes: triggering a hardware circuit breaker mechanism when the verification result indicates a mismatch; preventing the result of the computation operation from being written to the target register or memory through the hardware circuit breaker mechanism; and generating a security exception event report containing exception context information.

9. A method for dynamic isolation and scheduling of DPU computing power for multi-tenancy according to claim 1, characterized in that, After outputting the result of the computation operation, the method further includes: updating the dynamic hardware form identifier according to the unidirectional evolution algorithm and in combination with the execution status information of the current cycle to obtain the updated dynamic hardware form identifier; and using the updated dynamic hardware form identifier for the next instruction execution cycle of the tenant task to start a new verification loop.

10. A dynamic isolation and scheduling system for DPU computing power in a multi-tenant environment, characterized in that, The system is integrated within the DPU and includes: The dynamic identifier maintenance module is used to generate and maintain a dynamic hardware form identifier that evolves as the currently executing tenant task progresses. The instruction coupling module is used to obtain the original instruction to be executed and perform coupling operation between the original instruction and the dynamic hardware form identifier at the current moment to generate hardware configuration code for configuring hardware logic. A reconfigurable execution array module is used to receive the hardware configuration code and instantly configure its internal logic and connection relationships accordingly to form an instantaneous hardware function array for executing the original instructions. The physical behavior auditing module is used to extract execution fingerprint features when the instantaneous hardware function array performs computing operations, generate expected fingerprint features based on the dynamic hardware form identifier and the original instruction, and then compare the execution fingerprint features with the expected fingerprint features to obtain the verification result. An output control module is used to output the result of the calculation operation when the verification result indicates a match.