Response-aware cross-platform heterogeneous computing power allocation method, device and equipment
By acquiring platform status and historical deployment parameters, and utilizing an online solver to optimize cross-platform heterogeneous computing power allocation, the long-term revenue problem of cross-platform allocation on the supplier side was solved, achieving stable revenue improvement and cost control for suppliers.
Patent Information
- Application Number
- CN202611661632.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-26
- Publication Date
- 2026-11-24
Smart Images

Figure CN123157461A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computing power resource scheduling technology, and in particular to a method, apparatus and device for cross-platform heterogeneous computing power allocation based on response awareness. Background Technology
[0002] Computing capacity is increasingly being managed through a software-defined control plane, rather than through physical server migration. Vendors can leverage containers, virtual machines, and remote GPU scheduling to adjust platform-facing exposed capacity while the underlying hardware remains in place. Recent systems and research on multi-cloud workflow platforms, adaptive serverless resource management, heterogeneous GPU orchestration, and cloud-native large language model services demonstrate a broader trend towards software-mediated control of heterogeneous computing resources. This shift introduces a vendor-side control problem distinct from user-side task placement: instead of deciding where a single task should be executed, vendors must determine how much heterogeneous computing inventory should be exposed to each platform in each time slot, and how this exposure should evolve over time.
[0003] However, in traditional task scheduling systems, such as most multi-cloud, federated, and geographically distributed systems, decision-makers are typically users, agents, or cluster schedulers. The main control variables specify where tasks, workflows, virtual machines, or requests should run. These traditional resource management solutions are unsuitable for the specific scenario of allocating vendor-owned heterogeneous computing power across platforms. They focus only on the immediate benefits of the current time slot, failing to consider long-term market opportunities or the dynamic feedback relationship between resource allocation decisions and platform response status. Furthermore, they are constrained by multiple factors such as heterogeneous resource differences, reconfiguration costs, and time slot budgets. Existing solutions generally adopt a short-sighted, time-slot-based decision-making approach, prioritizing computing power allocation to platforms with the highest immediate returns based solely on current market prices and demand. This completely ignores the long-term impact of current allocation on future platform service capabilities. This can lead to a significant decline in the response status of high-value platforms due to insufficient service in the early stages. Even if all computing power is subsequently transferred to these platforms, the expected returns will not be achieved due to significantly reduced matching efficiency. Frequent large-scale computing power switching also generates additional high costs, further compressing vendor profit margins and making it difficult for vendors to maximize long-term benefits in dynamic market environments.
[0004] Currently, neither user-side task scheduling, GPU service orchestration within a single management domain, nor research on cost-aware supply in the cloud market has systematically solved the special technical problems of cross-platform allocation on the supplier side. Summary of the Invention
[0005] Therefore, it is necessary to provide a response-aware cross-platform heterogeneous computing power allocation method, apparatus, and device to address the aforementioned technical problems.
[0006] A response-aware cross-platform heterogeneous computing power allocation method, the method comprising: Obtain the current time slot observation status; the observation status includes the exogenous market status and endogenous platform response status of each platform, as well as the computing power deployment parameters inherited from the previous time slot; the exogenous market status includes the platform's baseline demand and baseline unit revenue; the computing power deployment parameters include the deployment quantity of each type of heterogeneous computing power on each platform and in the idle pool; The pre-built supplier-side heterogeneous computing power allocation model is invoked. The optimization objective of the supplier-side heterogeneous computing power allocation model includes maximizing the long-term expected profit of the supplier in terms of the impact of the current allocation decision on the future platform response status. The constraints include computing power inventory conservation constraints, computing power and platform compatibility constraints, platform deployment capacity constraints, time slot-level reconfiguration budget constraints, and integer constraints of computing power units. Based on the current time slot observation status, the supplier-side heterogeneous computing power allocation model is optimized and solved using a pre-set online solver to obtain the cross-platform heterogeneous computing power allocation scheme for the current time slot; the allocation scheme is used to guide suppliers to allocate various types of heterogeneous computing power to the corresponding platforms or idle pools.
[0007] A response-aware cross-platform heterogeneous computing power allocation device, the device comprising: The status observation module is used to obtain the current time slot observation status; the observation status includes the exogenous market status and endogenous platform response status of each platform, as well as the computing power deployment parameters inherited from the previous time slot; the exogenous market status includes the platform's baseline demand and baseline unit revenue; the computing power deployment parameters include the deployment quantity of each type of heterogeneous computing power on each platform and in the idle pool; The model building module is used to call a pre-built supplier-side heterogeneous computing power allocation model. The optimization objective of the supplier-side heterogeneous computing power allocation model includes maximizing the long-term expected profit of the supplier by the impact of the current allocation decision on the future platform response status. The constraints include computing power inventory conservation constraints, computing power and platform compatibility constraints, platform deployment capacity constraints, time slot-level reconfiguration budget constraints, and integer constraints of computing power units. The model solving module is used to optimize and solve the supplier-side heterogeneous computing power allocation model based on the current time slot observation status using a pre-set online solver, so as to obtain the cross-platform heterogeneous computing power allocation scheme for the current time slot; the allocation scheme is used to guide the supplier to allocate various types of heterogeneous computing power to the corresponding platform or idle pool.
[0008] A computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program performing the following steps: Obtain the current time slot observation status; the observation status includes the exogenous market status and endogenous platform response status of each platform, as well as the computing power deployment parameters inherited from the previous time slot; the exogenous market status includes the platform's baseline demand and baseline unit revenue; the computing power deployment parameters include the deployment quantity of each type of heterogeneous computing power on each platform and in the idle pool; The pre-built supplier-side heterogeneous computing power allocation model is invoked. The optimization objective of the supplier-side heterogeneous computing power allocation model includes maximizing the long-term expected profit of the supplier in terms of the impact of the current allocation decision on the future platform response status. The constraints include computing power inventory conservation constraints, computing power and platform compatibility constraints, platform deployment capacity constraints, time slot-level reconfiguration budget constraints, and integer constraints of computing power units. Based on the current time slot observation status, the supplier-side heterogeneous computing power allocation model is optimized and solved using a pre-set online solver to obtain the cross-platform heterogeneous computing power allocation scheme for the current time slot; the allocation scheme is used to guide suppliers to allocate various types of heterogeneous computing power to the corresponding platforms or idle pools.
[0009] The aforementioned response-aware cross-platform heterogeneous computing power allocation method, apparatus, and equipment, by collecting exogenous market status, endogenous platform response status, and historical computing power deployment parameters of each platform, can comprehensively grasp market conditions, platform dynamic feedback, and existing computing power distribution, providing complete and reliable data support for heterogeneous computing power allocation. By adopting an allocation model oriented towards the supplier side and optimizing for long-term expected profits while considering platform response, it can break away from the traditional short-term profit-oriented scheduling mindset and steadily improve the overall revenue of suppliers. By setting constraints such as computing power inventory, platform compatibility, deployment capacity, reconfiguration budget, and integerity of computing power units in the model, the allocation logic can be made to conform to the actual operating rules of hardware and platforms, improving the feasibility of the solution. The allocation scheme is generated in real time by an online solver, which can adapt to time-sharing scheduling scenarios and ensure the timeliness of computing power allocation. The embodiments of this invention can realize the scientific allocation of cross-platform heterogeneous computing power, taking into account both the long-term revenue of suppliers and on-site operating standards. Attached Figure Description
[0010] Figure 1 This is a flowchart illustrating a response-aware cross-platform heterogeneous computing power allocation method in one embodiment. Figure 2 This is a schematic diagram illustrating a supplier-side heterogeneous allocation with endogenous platform response in one embodiment. Figure 3 This is a schematic diagram illustrating a dual-platform example of supplier-side allocation importance in one embodiment; Figure 4 This is a schematic diagram of the endogenous response and supplier-side allocation loop in one embodiment; Figure 5This is a schematic diagram of the time-slot-by-time online pipeline of R3B in one embodiment; Figure 6 This is a schematic diagram illustrating the overall comparison with the baseline on synthetic and trace (real trajectory) workloads in one embodiment, wherein, Figure 6 (a) is a comparison chart of the cumulative profits of each algorithm under the synthetic workload. Figure 6 (b) A comparison chart of the cumulative profits of each algorithm under the trace workload; Figure 7 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation
[0011] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0012] This invention investigates the vendor-side allocation problem using SHAPER. SHAPER is a framework for dynamically allocating cross-platform heterogeneous computing capacity under native platform response conditions. Figure 2 The high-level setup of the system is outlined. The computing vendor possesses a limited inventory of heterogeneous resources, such as CPUs, GPUs, and accelerators, and controls how much capacity each computing power type exposes to each platform over time. Exogenous market states provide platform-side demand and a base price (i.e., benchmark unit revenue), thereby inducing market opportunities that vary over time. Given the market state, inherited deployments, and the platform's endogenous response (i.e., endogenous response state), the vendor-side controller selects cross-platform allocations to maximize long-term vendor profits, rather than maximizing per-task placement quality. As shown in Figure 2, for platforms A and B, the selected allocation determines the effective supply, matched services, and actual revenue on each platform, and incurs corresponding switching costs; the resulting serviced proportion then updates the endogenous response state for future time slots. This feedback loop makes the problem dynamic: current allocation decisions not only affect current services and revenue but also future platform responses and subsequent profit opportunities.
[0013] This vendor-side perspective differs from traditional task scheduling. In most multi-cloud, federated, and geographically distributed systems, decision-makers are typically users, agents, or cluster schedulers, with the primary control variable specifying where tasks, workflows, virtual machines, or requests should run. In contrast, in SHAPER, the decision-maker is the vendor; the control variable is the amount of platform-oriented capacity exposed for each compute type to each platform; the goal is long-term vendor profitability, not per-task latency, completion time, or tenant-side costs. This issue relates to vendor-side multi-attribution but transcends the choice of which platforms to participate in: vendors must, over time, decide how much heterogeneous capacity to expose to each platform, within the constraints of dynamic responses and reconfiguration budgets. Figure 3 This explains why supplier-side allocation is not a purely time-slot-based decision. Under the same capacity and market path, short-sighted allocation can achieve higher immediate profits, but may leave future high-value platforms in a weaker responsive state and incur greater switching costs. Response-aware allocation, on the other hand, can prepare future platforms before high-value time slots arrive, thus achieving higher long-term profits. This invention studies a supplier-side allocation strategy that maximizes long-term profits under uncertain market conditions and operational constraints. The problem is formulated as a stochastic control model, where baseline demand and baseline unit revenue are exogenous, while platform response, matching services, and actual revenue are endogenously shaped by the supplier's current and historical allocations. Based on this formulation, this invention develops R3B, a response-aware online solver. R3B uses prediction-based continuation rewards to evaluate the value of future platform responses and combines continuous relaxation with integer recovery, budget repair, and discrete refinement to generate executable allocation decisions.
[0014] In one embodiment, such as Figure 1 As shown, a response-aware cross-platform heterogeneous computing power allocation method is provided, including the following steps: Step 102: Obtain the current time slot observation status. The observation status includes the exogenous market status and endogenous platform response status of each platform, as well as the computing power deployment parameters inherited from the previous time slot. The exogenous market status includes the platform's baseline demand and baseline unit revenue. The computing power deployment parameters include the deployment quantity of each type of heterogeneous computing power on each platform and in the idle pool.
[0015] The current time slot is the discrete computing power decision execution cycle partitioned by the system. Consider a single computing provider with a limited inventory of heterogeneous computing resources. In each time slot, the provider decides how much capacity of each computing power type to allocate to each platform. Let... This represents a collection of market-oriented platforms, making This represents a set of computing power types. A computing power type represents a resource category, such as a specific GPU model, memory bandwidth category, or virtualization partition category, and has different operational and economic characteristics. The system evolves in discrete time slots, with the time slot index being... To explicitly represent unallocated capacity, this invention expands the platform set with a free pool at index 0 and defines: (1) Index 0 does not correspond to a market-facing platform, but rather represents the capacity that remains idle in the current time slot.
[0016] The observation state is a complete set of operational data collected at the beginning of each decision-making cycle, including exogenous market conditions. Current platform response status and succession deployment ,in Provides baseline requirements for the current time slot implementation and benchmark unit income Based on this state, the supplier selects feasible supplier-side actions, including reconfiguring the flow. and the deployment obtained The chosen actions induce effective supply on each market-oriented platform. And determine the switching cost, operating cost, and idle cost. Given , And adjust matching efficiency based on the current platform reputation status. The model determines the matching service. The actual unit income was then calculated as follows: ; Multiply it by Get the platform's total revenue For each platform The total revenue is obtained by summing the results, while the time slot profit is obtained by deducting switching, running, and idle costs. Finally, the response update will match the service percentage given by the service module. Inertia of the current platform reputation Combine, generate And then transmit it to subsequent time slots.
[0017] like Figure 4 The diagram illustrating the endogenous response and supplier-side allocation loop illustrates a feasible initial deployment. Each time slot proceeds in four phases. First, the supplier observes current exogenous market signals (including base prices), platform response status, and deployments inherited from the previous time slot. Second, it selects a feasible supplier-side action, consisting of a reconfiguration flow and the resulting deployment. Next, the deployment induces effective supply on the market-oriented platform, thereby determining the matching service and actual unit revenue under the endogenous platform response model. Finally, the supplier earns the profit for that time slot, the platform response status is updated, and the process is passed on to the next time slot.
[0018] In the observation phase, the exogenous market state refers to platform-related data determined by objective market conditions, unaffected by supplier computing power allocation behavior. This includes benchmark demand representing the platform's total normalized service volume, and benchmark unit revenue—the platform's basic revenue standard—unaffected by the platform's cooperation status. For each platform... and time slot ,make This represents the platform's baseline demand measured in normalized unit of service, making This represents the platform's baseline unit revenue before endogenous adjustments. These quantities are collected as exogenous market conditions. .
[0019] (2) The realized value in the time slot Initially observed, it is considered an exogenous quantity relative to the supplier's current allocation decisions. Specifically, supplier actions affect matching services, actual unit revenue, and future platform responses, but do not alter the baseline demand or baseline unit revenue process itself.
[0020] In the observation state, the endogenous platform response state is shaped by the supplier's historical computing power allocation behavior and dynamically affects the platform's service matching efficiency and actual revenue—a state of platform cooperation. Apart from the exogenous market state, each market-oriented platform... In the time slot Initially maintain an endogenous response state This status summarizes the platform. The degree of benefit in responding to suppliers based on their historical behavior on the platform. It can be abstractly characterized by effects such as preferential treatment, reputational enhancement, or reduced risk of punishment. According to the construction, It is not exogenous: it acts as a supplier on the platform. It evolved from the functions that implement services.
[0021] In the observation state, the computing power deployment parameters inherited from the previous time slot are the resource distribution data retained after the end of the previous decision cycle.
[0022] Heterogeneous computing power refers to various computing units with differences in hardware type and service capabilities. The idle pool is a dedicated area for storing heterogeneous computing power that has not yet been allocated to various platforms. These deployment parameters record the specific deployment quantity of each type of heterogeneous computing power on each platform and in the idle pool. The heterogeneous computing power referred to by these deployment parameters has the inherent characteristic of not being completely substitutable. Different types of computing power differ in hardware specifications and service capabilities, and can only be deployed to platforms compatible with them. They cannot be arbitrarily interchanged or allocated between different platforms and different computing power. This is a fundamental attribute that needs to be considered in this computing power allocation scenario. Indicates computing power type Limited inventory. Each type of inventory is owned by the vendor and can be deployed to market-facing platforms or held in an idle pool. Computational heterogeneity is important because different platforms vary in compatibility and service efficiency for different computing power types. For each market-facing platform... and computing power type This invention uses two platform-related parameters: : Compatibility indicator variable, where Indicates computing power type Can be deployed to the platform ; Service efficiency coefficient, where Measurement Platform Previous computing power type Normalized service output generated by capacity.
[0023] when At that time, computing power type For the platform This is not feasible, as the corresponding efficiency coefficient is meaningless and can be set to 0. A summary of some of the symbols involved in this invention is as follows: Table 1. Summary of Symbols
[0024] Therefore, computing power types are not entirely interchangeable across platforms: one type of computing power Capacity can result in different effective service units on different platforms, and may even be infeasible on some platforms. This platform-dependent compatibility and efficiency structure, except in degenerate cases, prevents the model from being simplified to a scalar capacity allocation problem where all computing units are interchangeable.
[0025] Step 104: Invoke the pre-built supplier-side heterogeneous computing power allocation model. The optimization objective of the supplier-side heterogeneous computing power allocation model includes maximizing the supplier's long-term expected profit in terms of the impact of the current allocation decision on the future platform response status. The constraints include computing power inventory conservation constraints, computing power and platform compatibility constraints, platform deployment capacity constraints, time slot-level reconfiguration budget constraints, and integer constraints of computing power units.
[0026] The supplier-side heterogeneous computing power allocation model is an optimized computing model specifically built for computing power providers. The model aims to maximize the long-term expected profit of the supplier under the influence of the current allocation decision on the future platform response status. The allocation decision consists of reconfiguration variables and deployment variables: the reconfiguration variable represents the number of heterogeneous computing power units that migrate from one location to another in the current time slot, and the deployment variable represents the number of heterogeneous computing power units remaining at each location after the reconfiguration is completed. The location includes various platforms and idle pools. The long-term expected profit refers to the overall cumulative revenue of the supplier calculated by combining multiple decision cycles and future revenue fluctuations.
[0027] In each time slot Initially, the vendor selected to reconfigure the flow, inheriting the deployment. Transformed into a reconfigured deployment Location by The index, where index 0 represents the free pool. The original problem uses integer capacity units; subsequent successive relaxations remove these integer constraints. In each time slot... The supplier determines two types of decision variables: Reconfigure variables. For and , , Indicates time slot From the position Move to position Type Number of units.
[0028] Deploy variables. For , , Indicates time slot After medium-to-high configuration, the location is assigned. Type Number of units.
[0029] Based on the above heterogeneous computing power deployment results, the model first calculates the effective supply for each platform. Effective supply is determined by the type of computing power, platform compatibility, and the number of deployed computing power, reflecting the standardized service capabilities that the computing power can output. For each market-oriented platform... The reconfigured deployment is mapped to normalized effective service capacity: (3) Incompatible types pass The contribution is 0, while the compatibility type is based on the service efficiency coefficient of the platform. Contribute services.
[0030] Combining effective supply with the platform's current response status, the model further calculates the amount of matching services the platform can provide. Given the response status... Define platform The response adjustment matching efficiency is: (4) in This is the baseline matching efficiency when the response state is 0. It is an efficiency gain driven by the response. The assumption of equation (4) implies that .
[0031] platform The matching service volume is modeled as a saturation function of effective supply: (5) This form depicts the diminishing marginal returns when effective supply increases, and limits matching services to the platform's baseline demand.
[0032] The actual unit revenue of the platform is calculated based on the matching service volume and the platform response status, thus yielding the total revenue of the single platform. Actual unit revenue depends on both the service completion rate and the platform response status. This invention defines: (6) For all and Established. Here. Unit revenue discounts induced when controlling a larger proportion of platform demand. Characterize the response state premium.
[0033] From the platform The total revenue earned at the time slot level is: (7) The endogenous response state evolves based on the proportion of services already implemented: (8) For all and Successful. Parameters The control platform's response strength is determined by the current percentage of services already served.
[0034] The model simultaneously calculates the switching costs from computing power migration, the operating costs from already running computing power, and the idle holding costs from idle computing power. After deducting all costs from the platform's total revenue, the net profit for a single time slot is obtained. Specifically, the reallocation is modeled as a logical reconfiguration, rather than a physical server migration. A type Unit from position Move to position This will incur type-specific reconfiguration costs, source-side release costs, and destination-side activation costs: (9) Location includes the idle pool; as agreed, .
[0035] Time slot The total switching cost generated is: (10) Active deployments and idle inventory generate per-slot costs: (11) (12) in and Each is a type The unit's operating costs and idle holding costs.
[0036] Supplier in time slot Net profit is: (13) The model is equipped with several operational constraints. The computing power inventory conservation constraint requires that the total amount of heterogeneous computing power always remain constant. Specifically, the reconfigured deployment must be consistent with the previous deployment and the selected reconfiguration flow. (14) For all , , This holds true. For each computing power type, the total inventory is conserved: (15) Computing power and platform compatibility constraints limit the deployment of specific heterogeneous computing power to compatible platforms. Platform deployment capacity constraints define the upper limit of computing power that a single platform can support. Specifically, market-oriented platforms cannot accept incompatible computing power types. (16) therefore, Forced Each platform may also impose deployment capacity limits: (17) here It is a type The unit has platform-specific occupancy. This refers to the available platform capacity.
[0037] Slot-level reconfiguration budget constraints limit the resource consumption amount generated by computing power migration within a single cycle, while the integer constraint of computing power units stipulates that heterogeneous computing power is an indivisible, independent allocation unit, and the allocation result must be an integer. Specifically, suppliers may face a reconfiguration budget per slot: (18) in It is to put a type Unit from position Move to position Budget usage, It is an available budget.
[0038] Finally, all deployment and reconfiguration variables are non-negative integers: (19) For the allocation strategy, let Let represent the set of all admissible strategies that satisfy equations (14)-(19) for all actual actions. For the finite programming time domain, the supplier solves: (20) in It is the discount factor per time slot. This indicates the expected value of the result within the parentheses under the allocation strategy.
[0039] Step 106: Based on the current time slot observation status, optimize the supplier-side heterogeneous computing power allocation model using a pre-set online solver to obtain the cross-platform heterogeneous computing power allocation scheme for the current time slot. The allocation scheme is used to guide suppliers to allocate various types of heterogeneous computing power to the corresponding platforms or idle pools.
[0040] The supplier-side formulation presents a constrained stochastic control problem, involving heterogeneous computing power types, intrinsic platform response, switching costs, inventory conservation, platform capacity limits, and slot-level reconfiguration budgets. Exact dynamic programming is intractable, while purely short-sighted control underestimates the future benefits of maintaining a favorable platform reputation. Therefore, this invention proposes R3B (Response-Aware Relaxation, Rounding, Repair, and Beam Search), an online solver that combines response-aware alternative objectives, integer recovery, and discretization refinement to generate feasible slot-by-slot actions.
[0041] The aforementioned response-aware cross-platform heterogeneous computing power allocation method comprehensively grasps market conditions, platform dynamic feedback, and existing computing power distribution by collecting exogenous market status, endogenous platform response status, and historical computing power deployment parameters for each platform. This provides complete and reliable data support for heterogeneous computing power allocation. By adopting an allocation model oriented towards the supplier side and optimizing for long-term expected profits while considering platform response, it can break away from traditional short-term profit-driven scheduling thinking and steadily improve the overall revenue of suppliers. By setting constraints such as computing power inventory, platform compatibility, deployment capacity, reconfiguration budget, and integerity of computing power units in the model, the allocation logic can be aligned with the actual operating rules of hardware and platforms, improving the feasibility of the solution. The allocation scheme is generated in real time through an online solver, adapting to time-sharing scheduling scenarios and ensuring the timeliness of computing power allocation. This embodiment of the invention can achieve the scientific allocation of cross-platform heterogeneous computing power, taking into account both the long-term revenue of suppliers and on-site operating standards.
[0042] In one embodiment, optimizing the supplier-side heterogeneous computing power allocation model using a pre-set online solver to obtain the cross-platform heterogeneous computing power allocation scheme for the current time slot includes: constructing a prediction path based on the predicted baseline demand and baseline unit revenue of each platform in the look-ahead time domain; calculating the platform response continuation reward based on the prediction path and the current time slot observation status; constructing a response-aware single time slot replacement target based on the immediate revenue of the current time slot and the platform response continuation reward; solving the continuous relaxation problem of the single time slot replacement target to obtain a continuous optimal solution; and converting the continuous optimal solution into an executable integer allocation scheme that satisfies the constraints of the supplier-side heterogeneous computing power allocation model.
[0043] like Figure 5 The diagram shows a time-slot-by-time online pipeline for R3B. At the beginning, the controller observes Forward-looking time domain Used to construct prediction-based continuation rewards This reward enhances the single-slot substitution objective. R3B solves for continuous relaxation to obtain... The deployment portion is rounded to integer candidates, restoring the precise switchover flow, fixing any budget violations, and refining the results through beam search and local polishing. Final deployment. With recovery flow Executed; then the matching quantity is observed, the response status is updated, and the time domain is rolled forward to the time slot. Algorithm 1 summarizes online loops.
[0044]
[0045] In one embodiment, calculating the platform response continuation reward based on the predicted path and the current time slot observation status includes: using the computing power deployment parameters inherited from the previous time slot as a fixed benchmark, calculating the baseline effective supply corresponding to each platform; extrapolating the baseline response status change process in the look-out time domain along the predicted path; calculating the discounted total marginal revenue corresponding to the current time slot unit service ratio in the look-out time domain based on the baseline effective supply and the baseline response status change process; determining the continuation reward coefficient corresponding to each platform based on the discounted total marginal revenue; and calculating the corresponding platform response continuation reward based on the continuation reward coefficient of each platform.
[0046] Specifically, purely short-sighted time slots The goal is to ignore how the current service ratio affects future platform responsiveness and thus future profitability. To preserve this dynamic effect without solving a complete stochastic control problem, R3B uses a method... The first-order continuation reward is constructed step by step. For each platform ,make This represents the predicted path for platform demand and benchmark unit revenue. The prediction generation is orthogonal to the work of this invention and can be processed by standard time series forecasting methods such as ARIMA / ETS models, decomposable forecasting models, and recent deep time series models. This invention focuses on how supplier-side controllers can use such predictions for response-aware allocation.
[0047] R3B assesses future response sensitivity by assuming that inherited deployments remain unchanged in the look-out time domain. The corresponding baseline effective supply is: (twenty one) Baseline response status follows: (twenty two) Initial conditions are The percentage of services already provided is: (twenty three) For any platform Effective supply Response status and demand level The number of matches is: (twenty four) The total income is: (25) Regarding equation (25) Differentiation yields: (26) in Evaluating equation (26) along the baseline prediction path, we obtain the marginal future value of the platform's reputation: (27) Increasing the current service ratio by one unit will change the response time in the next time slot. Furthermore, this effect decays geometrically thereafter, with a continuing reward coefficient of: (28) In one embodiment, constructing a response-aware single-slot replacement target based on the immediate revenue of the current slot and the platform response continuation reward includes: calculating the current actual revenue of each platform, where the current actual revenue is the product of the platform's actual matching service volume and actual unit revenue; using the continuation reward coefficient to discount the corresponding future revenue of each platform, adding the current actual revenue of each platform to the discounted future revenue to obtain the platform-level response-aware total revenue; summing up the response-aware total revenue of all platforms and deducting the computing power switching cost, operating cost, and idle holding cost to obtain the overall net revenue value, where the computing power switching cost is calculated by the reconfiguration flow, the operating cost is generated by the deployed heterogeneous computing power, and the idle holding cost is generated by the unallocated computing power stored in the idle pool; and constructing a single-slot replacement target with the goal of maximizing the net revenue value.
[0048] Specifically, using equation (28), R3B determines the current time slot decision by maximizing the response-aware substitution objective. To facilitate describing the decision objective for the current time slot, the platform-level substitution benefit is defined as: (29) The single-slot replacement target is: (30) in, For reconfiguration stream u The resulting switching costs, The operating costs incurred by the deployed heterogeneous computing power The idle holding cost incurred by unallocated computing power stored in the idle pool.
[0049] In one embodiment, solving the continuous relaxation problem of a single time slot replacement target to obtain a continuous optimal solution includes: removing the integer constraint of computing power units in the heterogeneous computing power allocation model on the supplier side, transforming the original NP-hard integer optimization problem into a solvable convex optimization problem; solving the convex optimization problem to generate the optimal deployment solution and the optimal reconfiguration flow in the continuous domain as continuous optimal solutions, wherein the reconfiguration flow refers to the number of heterogeneous computing power migrations between platforms and between platforms and the idle pool.
[0050] Specifically, removing the integer constraint yields continuous relaxation: (31) in That is, taking equations (14)-(18) from the previous text as constraints, let The expression is an optimal solution for continuous relaxation in equation (31). This relaxation solution cannot be executed directly, but it provides an upper bound for the integer substitution problem in the same time slot and provides a high-quality seed for subsequent discrete stages.
[0051] In one embodiment, converting a continuous optimal solution into an executable integer allocation scheme that satisfies the constraints of the supplier-side heterogeneous computing power allocation model includes: rounding down the continuous optimal solution component by component, with the unallocated portion after rounding being the remaining computing power units, and greedily allocating the remaining computing power units to the compatible platform with the highest marginal benefit; the compatible platform refers to a platform that has deployment compatibility with the current heterogeneous computing power; solving the minimum cost transportation problem to generate reconfiguration flows that correspond one-to-one with the initial integer deployment scheme; calculating the resource consumption corresponding to the reconfiguration flow, and if the resource consumption exceeds the time slot-level reconfiguration budget, performing a conservative repair operation on the initial integer deployment scheme to obtain a budget-feasible seed scheme; and performing bounded bundle search and local refinement on the budget-feasible seed scheme to obtain an executable integer allocation scheme.
[0052] Specifically, the process from relaxation solution to executable integer actions includes: a) Deterministic rounding and greedy boosting R3B first rounds down component by component for relaxed deployments: (32) For each computing power type The number of remaining units is: (33) All remaining units are first allocated to the idle pool, making the rounded solution a full integer deployment. Then, the algorithm greedily promotes these units from the idle pool to the compatible platform, provided that the exact replacement value can be improved after the exact switchover stream recovers. This greedy promotion step is repeated until all remaining units have been considered, or no further improvement is possible. The resulting integer deployment is denoted as . .
[0053] b) Precision transportation recovery For any candidate deployment By applying each type Solve the transportation problem between the source surplus and the destination gap, and accurately recover the corresponding switching flow. Definition: (34) (35) in It is necessary to leave the position. Type Inventory surplus It must be supplied to the location Type Shortage.
[0054] For each type ,make Indicates the restoration of target deployment When the stream flows, from the source location Move to the destination Type Inventory quantity. Minimum cost recovery flow is solved by: (36) satisfy: (37) (38) In other words, Let represent an optimal solution to the above transportation problem, where Decision variables The optimal value obtained.
[0055] make This represents the recovered complete stream. Its induced budget usage is: (39) deploy The exact replacement value is: (40) c) Budgetary Feasibility Repair The rounding target may still violate the slot-level reconfiguration budget. Therefore, R3B performs a conservative fix phase, repeatedly applying a one-unit backward shift. The backward shift will change a type Unit from satisfying Location Transfer to satisfaction Location .like Depend on The repair score obtained through this movement is: (41) in It is a small constant. The algorithm selects the backward move that minimizes the loss of the replacement value corresponding to the unit budget reduction and repeats this process until the budget for deployment after the fix is feasible. This stage outputs the fix seed. Algorithm 2 summarizes the deterministic rounding, greedy boosting, and budget repair process for constructing budget feasible seeds using relaxed deployment.
[0056]
[0057] d) Beam finishing and final local polishing Repair seeds It is executable, but may still be suboptimal in a discrete deployment space. Therefore, R3B performs a bounded bundle search on a single unit movement with precise scoring, followed by bounded local refinement.
[0058] One unit movement is denoted as ,in Apply it to deployment get Its precise profit is: (42) The feasible one-step neighborhood is: (43) in It is a single-unit move set that maintains compatibility, platform capacity, and inventory constraints. To make the branching factor predictable, only the first few units are retained. An improved neighbor: (44) The initial beam is: (45) This intentionally retains both reconfiguration-free deployment and repair seeds. For each depth... Define the candidate pool: (46) in Remove duplicate deployments. If The next bundle is: (47) in Retained in The highest rated There are 10 candidates. During the search process, R3B maintains the best deployment visited so far, denoted as 1. After the beam search terminates, the beam output is: (48) from Initially, R3B performs a final local polishing phase, repeatedly accepting the best possible improvement move one unit until no further improvement moves are possible or the polishing limit is reached. Formally, let: (49) Algorithm selection for each polishing step: (50) And update The resulting deployment is denoted as The switching stream executed is Algorithm 3 summarizes the bounded bundle search starting from the budget-feasible seed and the final local refinement process.
[0059]
[0060] In one embodiment, the method further includes: after executing the cross-platform heterogeneous computing power allocation scheme, observing the actual matching service volume of each platform; calculating the service ratio of each platform, where the service ratio is the ratio of the actual matching service volume to the baseline demand of the corresponding platform; taking the endogenous platform response state of each platform in the current time slot as the state inertia term, and performing weighted processing on the state inertia term and the service ratio respectively, and then summing them to update the endogenous platform response state of each platform in the next time slot.
[0061] In one embodiment, the supplier's long-term expected profit is the discounted sum of the net profits of each time slot within a finite time domain; the net profit of a time slot is the net value of the actual total revenue of all platforms after deducting computing power switching costs, operating costs, and idle holding costs.
[0062] The effectiveness of this invention is verified through experiments. To evaluate the effectiveness of SHAPER, this invention compares R3B with four adapted vendor-side baselines, one prediction quality variant, and two ablation versions. Most existing cloud scheduling and resource management methods focus on task-side placement rather than vendor-side cross-platform allocation; therefore, this invention adapts its decision rules to the SHAPER action space. All methods adhere to the same compatibility, platform capacity, inventory, and reconfiguration budget constraints. For prediction-based baselines, unless otherwise stated, this invention uses the same prediction information as R3B. The comparison method is as follows: NOOP: This baseline maintains the inherited deployment unchanged across each time slot. It does not perform logical reconfiguration, incurs no switching costs, and does not consume reconfiguration budget. NOOP provides a conservative benchmark for evaluating the benefits of proactive capacity reallocation across platforms.
[0063] MPCFR: This baseline adapts Model Predictive Control (MPC) to the SHAPER action space and employs a Fixed Response (FR) setting. It uses future demand and baseline unit revenue forecasts and scores by keeping the deployment of each candidate current time slot constant within the forecast time domain, while maintaining the platform response state constant.
[0064] PSOGWO: This metaheuristic baseline adapts a hybrid Particle Swarm Optimization (PSO) and Grey Wolf Optimizer (GWO) approach to the SHAPER action space. It maintains a small set of candidate deployments and iteratively applies a unit perturbation around the current leader. Candidates that violate feasibility constraints or reconfigure budgets are either fixed or discarded.
[0065] RLMOTS: This baseline adapts reinforcement learning and multi-objective task scheduling concepts to SHAPER. It maintains an online value table of platform-type contexts and greedily selects a one-unit move feasible with a small budget based on contextual market scores. This table is updated after each time slot using the implemented platform-level revenue agent.
[0066] R3B (Method of the Invention): This method evaluates the complete R3B control pipeline based on oracle predictive information, where the predictive inputs are the future demand and baseline unit revenue value actually realized by the workload in the look-ahead time domain. It includes response-aware continuation rewards, precise transport recovery, budget repair, bundle refinement, and final local polishing. Prediction itself is not within the scope of this invention.
[0067] R3B-Persistence: This method uses the full R3B optimization pipeline but replaces oracle forecasts with persistent forecasts, i.e., it repeats the currently observed demand and baseline unit revenue along the forecast path. This variant isolates the impact of forecast quality while keeping the optimization pipeline fixed.
[0068] R3Bw / oCB: This ablation version removes the Response Perception Continuation Bonus (CB) from R3B, while retaining Precise Transport Recovery, Budget Fix, Bundle Refinement, and Final Local Polishing.
[0069] R3Bw / oCB,B+P: This ablation version removes the bundle refinement and final local polishing components in addition to removing the continuation bonus; these two components are collectively referred to as B+P.
[0070] Figure 6 (a) and Figure 6 (b) Compare the cumulative actual profits of R3B with representative baselines on synthetic and trace workloads. R3B consistently achieves the highest cumulative actual profit. On synthetic workloads, R3B ultimately achieves a cumulative profit of 17,353, compared to 13,054 for the strongest baseline, RLMOTS, representing a 32.9% improvement. On trace workloads, R3B achieves a final cumulative profit of 22,176, compared to 18,122 for RLMOTS, representing a 22.4% improvement. The advantage over the optimized baseline PSOGWO is also significant: R3B achieves a 53.3% improvement on synthetic workloads and a 54.0% improvement on trace workloads. These results demonstrate that explicitly modeling endogenous platform responses and using response-aware reconfiguration decisions offers a clear profit advantage over baselines with no reconfiguration, fixed responses, metaheuristics, and online learning allocation.
[0071] It should be understood that, although Figure 1The steps in the flowchart are shown sequentially as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated in this invention, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Furthermore, Figure 1 At least some of the steps in the process may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least some of the sub-steps or stages of other steps.
[0072] In one embodiment, a response-aware cross-platform heterogeneous computing power allocation device is provided, comprising: The status observation module is used to obtain the current time slot observation status. The observation status includes the exogenous market status and endogenous platform response status of each platform, as well as the computing power deployment parameters inherited from the previous time slot. The exogenous market status includes the platform's baseline demand and baseline unit revenue. The computing power deployment parameters include the deployment quantity of each type of heterogeneous computing power on each platform and in the idle pool. The model building module is used to call the pre-built supplier-side heterogeneous computing power allocation model. The optimization objective of the supplier-side heterogeneous computing power allocation model includes maximizing the long-term expected profit of the supplier in terms of the impact of the current allocation decision on the future platform response status. The constraints include computing power inventory conservation constraints, computing power and platform compatibility constraints, platform deployment capacity constraints, time slot-level reconfiguration budget constraints, and integer constraints of computing power units. The model solving module is used to optimize and solve the heterogeneous computing power allocation model on the supplier side using a pre-set online solver based on the current time slot observation status, so as to obtain the cross-platform heterogeneous computing power allocation scheme for the current time slot; the allocation scheme is used to guide the supplier to allocate various types of heterogeneous computing power to the corresponding platform or idle pool.
[0073] Specific limitations regarding the response-aware cross-platform heterogeneous computing power allocation device can be found in the limitations of the response-aware cross-platform heterogeneous computing power allocation method described above, and will not be repeated here. Each module in the aforementioned response-aware cross-platform heterogeneous computing power allocation device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in the computer device in hardware form, or stored in the memory of the computer device in software form, so that the processor can call and execute the operations corresponding to each module.
[0074] In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 7As shown, the computer device includes a processor, memory, network interface, display screen, and input devices connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The network interface is used to communicate with external terminals via a network connection. When the computer program is executed by the processor, it implements a response-aware cross-platform heterogeneous computing power allocation method. The display screen can be an LCD screen or an e-ink screen. The input devices can be a touch layer covering the display screen, buttons, a trackball, or a touchpad mounted on the computer device casing, or an external keyboard, touchpad, or mouse.
[0075] Those skilled in the art will understand that Figure 7 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0076] In one embodiment, a computer device is provided, including a memory and a processor, the memory storing a computer program, the processor executing the computer program to implement the steps of the method described above.
[0077] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0078] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of the invention. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A response-aware cross-platform heterogeneous computing power allocation method, characterized in that, The method includes: Obtain the current time slot observation status; the observation status includes the exogenous market status and endogenous platform response status of each platform, as well as the computing power deployment parameters inherited from the previous time slot; the exogenous market status includes the platform's baseline demand and baseline unit revenue; the computing power deployment parameters include the deployment quantity of each type of heterogeneous computing power on each platform and in the idle pool; The pre-built supplier-side heterogeneous computing power allocation model is invoked. The optimization objective of the supplier-side heterogeneous computing power allocation model includes maximizing the long-term expected profit of the supplier in terms of the impact of the current allocation decision on the future platform response status. The constraints include computing power inventory conservation constraints, computing power and platform compatibility constraints, platform deployment capacity constraints, time slot-level reconfiguration budget constraints, and integer constraints of computing power units. Based on the current time slot observation status, the supplier-side heterogeneous computing power allocation model is optimized and solved using a pre-set online solver to obtain the cross-platform heterogeneous computing power allocation scheme for the current time slot; the allocation scheme is used to guide suppliers to allocate various types of heterogeneous computing power to the corresponding platforms or idle pools.
2. The method according to claim 1, characterized in that, The step of optimizing the supplier-side heterogeneous computing power allocation model using a pre-set online solver to obtain the cross-platform heterogeneous computing power allocation scheme for the current time slot includes: The forecast path is constructed based on the baseline demand and baseline unit revenue of each platform in the forward-looking time domain obtained from the forecast. The platform response continuation reward is calculated based on the predicted path and the current time slot observation status. Construct a response-aware single-slot substitution target based on the immediate benefits of the current time slot and the platform's response continuation reward; Solve the continuous relaxation problem of the single-slot substitution target to obtain a continuous optimal solution; The continuous optimal solution is converted into an executable integer allocation scheme that satisfies all constraints of the supplier-side heterogeneous computing power allocation model.
3. The method according to claim 2, characterized in that, The platform response continuation reward calculated based on the predicted path and the current time slot observation status includes: Using the computing power deployment parameters inherited from the previous time slot as a fixed benchmark, the baseline effective supply for each platform is calculated. The baseline response state change process in the look-ahead time domain is deduced along the predicted path; Based on the effective supply of the baseline and the change process of the baseline response status, calculate the discounted total marginal revenue corresponding to the proportion of the current time slot unit served in the forward time domain, and determine the continuity reward coefficient corresponding to each platform based on the discounted total marginal revenue; Based on the continuation reward coefficient of each platform, the corresponding platform response continuation reward is calculated.
4. The method according to claim 2, characterized in that, The construction of a response-aware single-slot substitution target based on the immediate benefits of the current time slot and the platform's response continuation reward includes: Calculate the current actual revenue of each platform, where the current actual revenue is the product of the actual matching service volume and the actual unit revenue of the platform; The future revenue of each platform is calculated by using the continuation reward coefficient. The current actual revenue of each platform is added to the calculated future revenue to obtain the total platform-level response perception revenue. The total revenue from response perception across all platforms is aggregated, and the costs of switching computing power, operation, and idle holding are deducted to obtain the overall net revenue. The cost of switching computing power is calculated from the reconfiguration flow, the cost of operation is generated by the deployed heterogeneous computing power, and the cost of idle holding is generated by the unallocated computing power stored in the idle pool. To maximize the net return, a single-slot substitution objective is constructed.
5. The method according to claim 2, characterized in that, The continuous relaxation problem of solving the single-slot substitution target to obtain the continuous optimal solution includes: Remove the integer constraint of computing power units in the supplier-side heterogeneous computing power allocation model, and transform the original NP-hard integer optimization problem into a solvable convex optimization problem; Solve the convex optimization problem to generate the optimal deployment solution and the optimal reconfiguration flow in the continuous domain as the continuous optimal solution. The reconfiguration flow refers to the number of heterogeneous computing power migrations between platforms and between platforms and the idle pool.
6. The method according to claim 2, characterized in that, The step of converting the continuous optimal solution into an executable integer allocation scheme that satisfies the constraints of the supplier-side heterogeneous computing power allocation model includes: The continuous optimal solution is rounded down component by component. The unallocated portion after rounding is taken as the remaining computing power unit. The remaining computing power unit is greedily allocated to the compatible platform with the highest marginal benefit. The compatible platform refers to the platform that has deployment compatibility with the current heterogeneous computing power. Solve the minimum cost transportation problem to generate a reconfiguration flow that corresponds one-to-one with the initial integer deployment scheme; Calculate the resource consumption corresponding to the reconfiguration flow. If the resource consumption exceeds the time slot-level reconfiguration budget, perform a conservative repair operation on the initial integer deployment scheme to obtain a budget-feasible seed scheme. Bounded bundle search and local refinement are performed on the budget feasible seed scheme to obtain an executable integer allocation scheme.
7. The method according to claim 1, characterized in that, The method further includes: After implementing the cross-platform heterogeneous computing power allocation scheme, observe the actual matching service volume of each platform; Calculate the service ratio of each platform, whereby the service ratio is the ratio of the actual matched service volume to the baseline demand of the corresponding platform. The intrinsic platform response status of each platform in the current time slot is taken as the state inertia term. The state inertia term and the service ratio are weighted and then summed to update the intrinsic platform response status of each platform in the next time slot.
8. The method according to claim 1, characterized in that, The supplier's long-term expected profit is the discounted sum of the net profits of each time slot within a finite time domain; the net profit of each time slot is the net value of the actual total revenue of all platforms after deducting computing power switching costs, operating costs, and idle holding costs.
9. A cross-platform heterogeneous computing power allocation device based on response awareness, characterized in that, The device includes: The status observation module is used to obtain the current time slot observation status; the observation status includes the exogenous market status and endogenous platform response status of each platform, as well as the computing power deployment parameters inherited from the previous time slot; the exogenous market status includes the platform's baseline demand and baseline unit revenue; the computing power deployment parameters include the deployment quantity of each type of heterogeneous computing power on each platform and in the idle pool; The model building module is used to call a pre-built supplier-side heterogeneous computing power allocation model. The optimization objective of the supplier-side heterogeneous computing power allocation model includes maximizing the long-term expected profit of the supplier by the impact of the current allocation decision on the future platform response status. The constraints include computing power inventory conservation constraints, computing power and platform compatibility constraints, platform deployment capacity constraints, time slot-level reconfiguration budget constraints, and integer constraints of computing power units. The model solving module is used to optimize and solve the supplier-side heterogeneous computing power allocation model based on the current time slot observation status using a pre-set online solver, so as to obtain the cross-platform heterogeneous computing power allocation scheme for the current time slot; the allocation scheme is used to guide the supplier to allocate various types of heterogeneous computing power to the corresponding platform or idle pool.
10. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 8.
