Resource balancing strategy optimization method for pricing game
Optimizing resource allocation through pricing games and fluid models in the field of intelligent Internet of Vehicles solves the problems of opaque market pricing and low resource allocation efficiency, achieves fair transactions and efficient utilization of computing resources, and improves market efficiency and the sustainability of computing networks. sex.
Patent Information
- Application Number
- CN202410801791.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-20
- Publication Date
- 2024-10-22
AI Technical Summary
In the field of intelligent vehicle networking, there are problems such as opaque market pricing, low resource allocation efficiency, complex mobile modeling of computing power, and fluctuations in dynamic service demand, leading to market instability and resource waste.
Using the resource balancing strategy optimization method of pricing game, by constructing the resource valuation of the computing power demand side and the resource utilization rate of the third-party service provider, an incomplete information game is formed to obtain the transaction price, and the fluid model and diffusion model are used to optimize resources. allocation to achieve fair and efficient utilization of resources.
Promote fair and transparent computing resource transactions, improve market efficiency and inclusivity, reduce resource waste, and improve the sustainability and resource utilization of computing networks.
Smart Images

Figure CN118821997A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of intelligent vehicle networking, and in particular to a resource balancing strategy optimization method for pricing games. Background Art
[0002] As contemporary society rapidly transitions to the digital age, Internet of Vehicles (IoV) technology has become the vanguard of this change, reshaping the understanding of mobility and connectivity. IoV, also known as intelligent vehicle networking, connects vehicles to vehicles, road infrastructure, pedestrians, and network services through advanced communication technologies. This network optimizes traffic flow, reduces accidents, and improves energy efficiency. It also provides unprecedented convenience and services for drivers and passengers.
[0003] In the IoV, three key players play a vital role. 1) Computing power demanders, mainly smart cars, require a large amount of computing resources to process sensor data for autonomous driving and navigation. 2) Computing power providers (CPPs), including cloud services, data centers, and onboard devices, provide processing power, storage, and bandwidth to enhance the functions of the Internet of Vehicles. 3) Third-party service providers, such as data analysis companies and Internet of Vehicles platform providers, bridge the gap between demanders and suppliers and optimize resource utilization through intelligent solutions.
[0004] The popularity of smart cars and mobile devices has greatly increased the demand for processing power. These vehicles are equipped with advanced sensors such as radar, lidar, sonar, and GNSS, and must process large amounts of real-time data. Intel reports that a self-driving car can generate about 4,000 gigabytes of data per day, equivalent to the data usage of nearly 3,000 people. The surge in data poses a challenge to existing communication, storage, and computing infrastructure. For example, NVIDIA's autonomous driving system uses SSDs with several terabytes of capacity, which can quickly become overwhelmed because high-resolution cameras and deep neural networks require processing power of up to 2.5 trillion operations per second (TOPS).
[0005] To address these challenges, the Computing Power Network (CPN) leverages the vast computing resources from data centers, network edges, and mobile devices, integrating them into a unified virtual network to form a pool to improve efficiency and performance. The network dynamically allocates resources to mitigate the "island effect" of isolated computing power. In CPN, mobile devices and vehicles act as computing power providers to enhance network capacity.
[0006] Distributed computing methods enable these devices to more efficiently collaborate to process data and perform tasks, thereby speeding up data processing, improving system reliability, and supporting real-time decision-making and high-frequency data exchange. The network strongly supports advanced driver assistance systems (ADAS), autonomous driving technology, and other intelligent transportation services. The problems existing in the existing technology are as follows:
[0007] (1) Market pricing and monopoly issues. The current market pricing mechanism lacks transparency and is dominated by a few large enterprises, resulting in unfair pricing and inefficient resource allocation, which puts small and medium-sized enterprises at a disadvantage and ultimately leads to market instability.
[0008] (2) Computing power mobility modeling. The dynamics and mobility of the Internet of Vehicles complicate traditional resource management. Advanced models are needed to effectively understand and optimize mobility and ensure a balance between supply and demand of computing resources.
[0009] (3) Dynamic service demand impact. The fluctuation of vehicle network service demand challenges the static resource allocation, and adaptive strategies are needed to effectively match the changes in resource supply and demand. The discreteness of CPP structure. The state space of traditional discrete systems cannot describe the fluid flow of CPP in a timely manner. As a large number of mobile CPPs gradually join the CPN, the arrival interval of CPPs becomes shorter and the arrival rate becomes larger, making CPP close to continuous fluid. Summary of the invention
[0010] The purpose of the present invention is to provide a resource balancing strategy optimization method for pricing games, to improve market efficiency and inclusiveness, to ensure effective allocation and reduce waste, and to improve resource utilization and the sustainability of computing networks.
[0011] To achieve the above object, the present invention provides a resource balancing strategy optimization method for pricing game, comprising:
[0012] Construct the resource valuation of computing power demanders and the resource utilization rate of third-party service providers. The interaction between computing power demanders and third-party service providers forms an incomplete information game, leading to the Bayesian Nash equilibrium and obtaining the transaction price.
[0013] Construct a fluid model to construct the reward that each potential CPP receives after completing the service based on the transaction price; the potential CPP is the entity that decides whether to join the resource pool and become a computing capacity provider based on expected income and willingness;
[0014] Obtain the expected utility per unit based on the reward each potential CPP receives after completing the service, and analyze the Nash equilibrium strategy of the fluid based on the expected utility per unit;
[0015] Analyze the average social benefit utility per unit time according to the Nash equilibrium strategy of the fluid, and obtain the maximum social welfare according to the average social benefit utility;
[0016] The diffusion model is used to solve the optimization problem of maximizing average social welfare.
[0017] Preferably, the resource valuation structure of the computing power demander is
[0018] d=C min +C max -C min ξ+(1-ξ)D ξ+η ,
[0019] Where D is calculated as D = D n +D c +D d +D t +D f , D n ,D t ,D c ,D d ,D f They represent the number of sensors, sensor type, algorithm complexity, data volume and map update frequency respectively, ξ∈[0,1] is the time factor of the delay requirement, η is the accuracy requirement, ξ=1 / 2, C min is the minimum resource valuation, C max The maximum value of resource valuation.
[0020] Preferably, the resource utilization L of the third-party service provider is defined as
[0021] L=L α ·L c +L β ·L m +L γ ·L w +L δ ·L t -1 ,
[0022] Among them, L α , L β , L γ and L δ It is the weight coefficient that reflects the relative importance of each indicator in the overall resource utilization; L c , L m , L w and L t They represent server CPU utilization, memory utilization, network bandwidth utilization, and service response time respectively.
[0023] 3. The resource balancing strategy optimization method for pricing game according to claim 1 is characterized in that the transaction price is calculated by
[0024] According to resource valuation and resource utilization, different bids are submitted with equal probability within the corresponding interval of the bidding strategy, that is, Then, the transaction price is defined as Among them, α is fixed at 1 / 2 according to market guidance rules.
[0025] Preferably, a fluid model is constructed to construct the reward each potential CPP receives after completing the service based on the transaction price;
[0026] The threshold is represented by H. When the liquid level Y(t)≤H, the output rate is When the liquid level Y(t)>H, the system will appropriately accelerate the working rate, and the working rate will increase to
[0027] The CPP alternates between normal working period and vacation period, which are independent and exponentially distributed, τ1 and τ0 respectively. The state of the computing power pool is recorded by a two-state continuous-time Markov chain Z(t). The waiting capacity of the computing power pool is infinite. The dynamics of the process Y(t) of recording the fluid level is given by:
[0028]
[0029] Among them, τ i , i = 0, 1, τ0 is the normal working period, τ1 is the vacation mode, (y) + =max(y,0), the binary process {Y(t), Z(t)} is Markov, and according to the alternating update process, the steady-state distribution of Z(t) is obtained
[0030]
[0031] Each potential CPP receives a reward of
[0032] R(p)=β*p-γ*p2+σ
[0033] The coefficients β, γ, and σ are positive, encapsulating the diminishing returns described by the linear quadratic function; C is the energy cost per time unit for each CPP.
[0034] Preferably, the expected utility per unit is obtained based on the reward each potential CPP receives after completing the service, including
[0035] When CPP chooses to enter the system, the expected utility per unit is:
[0036] U(x, i) = R(p) - C * E(S(x, i))
[0037] Wherein, Sx,i represents the residence time of the fluid in the system when the observed liquid level is x and the system state is i. To ensure that the fluid reaches and enters the system when the liquid level is 0, it is stipulated that
[0038] When the mobile device arrives and observes that the system is in the state (Y(t), Z(t)) = (x, i), the expected utility is U(x, i) = R(p) - C * E(S(x, i)); when U(x, i) > 0, the mobile device tends to strictly agree to become a CPP; when U(x, i) < 0, the mobile device tends to strictly reject becoming a CPP.
[0039] Preferably, analyze the Nash equilibrium strategy of the fluid according to the expected utility per unit, including
[0040] In the case of full visibility, the Nash equilibrium strategy of the fluid queuing system with a threshold control strategy is given by the formula:
[0041]
[0042] Wherein, (x e (0), x e (1)) is the Nash equilibrium threshold when the fluid level is less than or equal to the threshold, and (y e (0), y e (1)) is the Nash equilibrium threshold when the fluid level is greater than the threshold;
[0043] When the CPP arrives at time t, observe (Y(t), Z(t)). When x ≤ B, if Y(t) < x e (Z(t)) is added. When x > B, if Y(t) > x e (Z(t)) exits;
[0044] At the same x, the waiting time of the fluid in the fast mode is less than that in the slow mode, that is, E(S(x, 1)) < E(S(x, 0)); meanwhile, it is obtained that 0 < x e (0) < x e (1) and 0 < y e (0) < y e (1). Further, it is obtained that x e (0) < y e (0), x e (1) < y e (1).
[0045] Preferably, analyze the average social revenue utility per unit time according to the stopping equilibrium strategy of the fluid, and obtain the maximum social welfare according to the average social revenue utility, including
[0046] The average social benefit utility function per unit time is:
[0047] B((x e (0), x e (0)), (y e (0), y e (1)))=λ e *RC*E(x),
[0048] Among them, λ e is the effective arrival rate of the fluid, E(X) is the average liquid level, that is, the average storage capacity in the computing pool; the average social benefit refers to the overall system benefit corresponding to the steady-state liquid level of the computing resource pool when all CPPs arriving at the computing resource pool comply with the individual equilibrium strategy;
[0049] Dynamically adjust fluid strategies to maximize social welfare
[0050]
[0051] Preferably, the average storage capacity in the calculation pool is as follows: Scenario 1:
[0052]
[0053] Scenario 2:
[0054]
[0055] Scenario 3:
[0056]
[0057] Scenario 4:
[0058]
[0059]
[0060] Scenario 5:
[0061]
[0062] in
[0063] Preferably, a diffusion model is used to solve the optimization problem of maximizing average social welfare, comprising the following steps:
[0064] Denoising: Represent the environment state as a vector e=e λ ,e c ,e h Contains all the environmental information needed to make decisions, where λ is the fluid arrival rate, C is the energy cost per unit time in the system, and H is the threshold;
[0065] Define Flux's fluid strategy as For a given environment state e, first randomly generate a Gaussian noise As a fluid strategy, where N represents the total number of steps in the denoising process, 0 represents the mean vector of the Gaussian distribution, and I represents the covariance matrix;
[0066] Then, through the multi-step denoising process of the diffusion model, the fluid strategy c is determined based on the current noise level and the given environmental state e. i , predict the next fluid strategy c i-1 , until the final fluid strategy design c is extracted and refined from the Gaussian noise 0 ;
[0067] Optimization: After each denoising step, evaluate the quality of the current fluid strategy, i.e., its expected cumulative reward. Based on the evaluation results, adjust the diffusion model parameters to minimize the difference between the expected cumulative reward of the fluid strategy design and the actual reward.
[0068] The above denoising and optimization process is repeated until the algorithm converges to the contract design that maximizes the optimization objective.
[0069] Preferably, the quality of the current fluid strategy is evaluated, specifically including:
[0070] The dual Q-learning technique is used to estimate e and c through two independently trained Q networks. 0 Double Q learning estimates the expected return of the contract by using the smaller of the two Q values. According to the double Q learning evaluation results, the diffusion model parameters are adjusted to minimize the difference between the expected cumulative reward of the fluid strategy design and the actual reward.
[0071] Therefore, the present invention adopts the above-mentioned resource balancing strategy optimization method for pricing game, and the technical effects are as follows:
[0072] (1) Introduce a pricing game framework to promote fair and transparent computing resource transactions and improve market efficiency and inclusiveness by encouraging participation by large and small entities.
[0073] (2) Utilizing the principles of the fluid model, the IoT architecture can sense and dynamically respond to the mobility of resources and entities within the network, ensuring efficient allocation and reducing waste.
[0074] (3) Use diffusion algorithms to implement dynamic resource allocation strategies to adapt to real-time demand changes and improve resource utilization and the sustainability of computing networks. BRIEF DESCRIPTION OF THE DRAWINGS
[0075] Figure 1 A flow chart of a resource balancing strategy optimization method for pricing game according to the present invention;
[0076] Figure 2 Comparison of the cumulative rewards with and without changing the arrival rate in the gaming case;
[0077] Figure 3 To experiment with the utility of the flow model; Figure 3 (a) The accumulated rewards for a lower service rate; Figure 3 (b) the accumulated rewards for the fast service rate; Figure 3 (c) the accumulated rewards under normal working period; Figure 3 (d) for accumulated rewards during vacation periods;
[0078] Figure 4 To compare the experimental results; Figure 4 (a) is a comparison with other heuristic strategies; Figure 4 (b) Comparison with advanced reinforcement learning algorithms (PPO and SAC); Figure 4 (c) Comparison of rewards for changing the actor’s learning rate. DETAILED DESCRIPTION
[0079] The technical solution of the present invention is further described below through the accompanying drawings and embodiments.
[0080] Unless otherwise defined, technical or scientific terms used in the present invention shall have the common meanings understood by one having ordinary skills in the field to which the present invention belongs.
[0081] Embodiment 1
[0082] The present invention provides a resource balancing strategy optimization method for pricing game, comprising the following steps:
[0083] Step 1: Construct the resource valuation of the computing power demander and the resource utilization rate of the third-party service provider. The interaction between the computing power demander and the third-party service provider forms an incomplete information game, leading to the Bayesian Nash equilibrium and obtaining the transaction price.
[0084] In the pricing game, the key participants are computing power demanders and third-party service providers, who assign different values to computing power resources. Computing power demanders focus on meeting their own needs, while third-party service providers focus on resource utilization efficiency. The goal of this game is to develop the optimal bidding strategy and predict future prices, limiting the resource valuation (expressed as d and g) to [C min ,C max ] to avoid malicious competition.
[0085] Computing power demanders: Computing power demanders only focus on their own computing power needs. In the field of intelligent vehicle networking, the key tasks of intelligent vehicles include perception, map update, and simultaneous localization and mapping (SLAM). The above computing power tasks need to consider multiple factors such as sensor data processing, real-time requirements, data size, algorithm complexity, etc., as follows: sensor type and number, algorithm complexity, data volume, map update frequency, latency requirements, and accuracy requirements. Then, the resource valuation of the computing power demander is constructed as
[0086] d=C min +C max -C min ξ+(1-ξ)D ξ+η ,
[0087] Where D can be calculated as D = D n +D c +D d +D t +D f .
[0088] D n ,D t ,D c ,D d ,D f Respectively represent the number of sensors, sensor type, algorithm complexity, data volume and map update frequency. ξ∈[0,1] is the time factor of the delay requirement, and η is the accuracy requirement. Without loss of generality, let ξ=1 / 2 to ensure its convexity.
[0089] Third-party service providers believe that resource utilization has a greater impact on resource value. Let L represent resource utilization, including factors such as server CPU utilization, memory, network bandwidth utilization, and service response time, and define it as
[0090] L=L α ·L c +L β ·L m +L γ ·L w +L δ ·L t-1 ,
[0091] Where L α , L β , L γ and L δ It is the weight coefficient that reflects the relative importance of each indicator in the overall resource utilization. c , L m , L w and L t They represent server CPU utilization, memory utilization, network bandwidth utilization, and service response time respectively.
[0092] The interaction between computing power demanders and third-party service providers forms an incomplete information game, leading to a Bayesian Nash equilibrium. According to their respective resource valuations, different bids are submitted with equal probability within the corresponding interval of the bidding strategy, i.e. Then, the transaction price is defined as Here, α is fixed at 1 / 2 according to market guidance rules.
[0093] Step 2: Build a fluid model to construct the reward that each potential CPP will receive after completing the service based on the transaction price
[0094] In order to meet the needs of computing power demanders, third-party service providers act as agents to manage the computing power resource pool and provide the necessary computing resources. This resource pool is not limited to traditional data centers or dedicated servers, but also includes various entities in the Internet, such as nearby base stations and mobile devices. These entities can decide whether to join the resource pool and become computing power providers based on expected income and willingness, and can be called potential CPPs.
[0095] Consider a fluid queue, which represents the flow of CPPs in a computing resource pool. In the fluid queuing model with a threshold adjustment strategy, the input rate of the fluid arriving at the CPP follows an exponential distribution with parameter λ, and the service rate, i.e., the output rate of the fluid, is a piecewise constant function of the liquid level in the computing resource pool. Specifically, the threshold is represented as H. When the liquid level Y(t)≤H, the output rate is φ0; when the liquid level Y(t)>H, the system will appropriately accelerate the working rate, and the working rate will increase to φ1. Assume 0<φ0<φ1. The CPP alternates between normal working period and vacation period, which are independent and exponentially distributed, τ1 and τ0 respectively. The state of the computing power pool is recorded by a two-state continuous-time Markov chain Z(t). The waiting capacity of the computing power pool is infinite. The dynamics of the process Y(t) of recording the fluid level is given by:
[0096]
[0097] Among them, τi , i = 0, 1, τ0 is the normal working period, τ1 is the vacation mode, (y) + = max(y, 0), the binary process {Y(t), Z(t)} is Markov. According to the alternating update process, the steady-state distribution of Z(t) is obtained
[0098]
[0099] The goal of potential CPPs is to maximize expected utility and decide whether to become CPPs when they arrive. The goal of potential CPPs is to maximize expected utility after each potential CPP completes the service and decide whether to become CPPs when they arrive. The reward each potential CPP receives after completing the service is R(p) = β*p-γ*p2+σ. The coefficients β, γ, and σ are positive, encapsulating the diminishing returns described by a linear quadratic function. In addition, the energy cost per time unit for each CPP is C. Given that all CPPs are indistinguishable and the goal is to maximize their benefits in a symmetric environment, this scenario constitutes a symmetric game. The focus is on determining symmetric equilibrium strategies in which each CPP's strategy is the best response to itself, ensuring that no CPP deviates unilaterally.
[0100] Step 3: Obtain the expected utility per unit based on the reward each potential CPP receives after completing the service, and analyze the Nash equilibrium strategy of the fluid based on the expected utility per unit
[0101] Suppose a CPP arrives at the computing resource pool and observes the state (x, i). Then, evaluate the expected utility after it joins. When the CPP chooses to enter the system, the expected utility per unit is:
[0102] U(x, i) = R(p) - C*E(S(x, i))
[0103] In the formula, S(x, i) represents the residence time of the fluid in the system when the liquid level is x and the system state is i. To ensure that the fluid arrives and enters the system when the liquid level is 0, it is specified that
[0104] When a mobile device arrives and observes that the system is in state (Y(t), Z(t)) = (x, i), its expected utility is U(x, i) = R(p) - C*E(S(x, i)). Note that this expected utility does not depend on the policies followed by other devices. When U(x, i) > 0, the device tends to strictly agree to become a CPP; when U(x, i) < 0, the device tends to strictly refuse to become a CPP.
[0105] Under full visibility, the Nash equilibrium strategy of the fluid queuing system with threshold control strategy is given by the formula:
[0106]
[0107] When the CPP arrives at time t, observe (Y(t), Z(t)). When x ≤ H, if Y(t) < x e (Z(t)) is added. When x > H, if Y(t) > x e (Z(t)) exits. Note that, for the same x, the waiting time of the fluid in the fast mode is less than that in the slow mode, i.e., E(S(x, 1)) < E(S(x, 0)). At the same time, it can be easily obtained that 0 < x e (0) < x e (1) and 0 < y e (0) < y e (1). Further, it can be obtained that x e (0) < y e (0), x e (1) < y e (1).
[0108] Step 4: Analyze the average social revenue utility per unit time according to the Nash equilibrium strategy of the fluid, and obtain the maximized social welfare according to the average social revenue utility;
[0109] In the present invention, assuming that the CPP follows the above individual equilibrium strategy, the steady-state probability distributions of the liquid level and the average liquid level can be calculated, and the average social revenue per unit time can be calculated. In this study, the average social revenue refers to the overall system revenue corresponding to the steady-state liquid level of the computing power resource pool when all CPPs arriving at the computing power resource pool comply with the individual equilibrium strategy.
[0110] Assume that the average social revenue utility function per unit time is:
[0111] B((x e (0), x e (0)), (y e (0), y e (1))) = λ e *R - C*E(x),
[0112] where λ e is the effective arrival rate of the fluid, and EX is the average liquid level, that is, the average storage amount in the computing pool. Specifically as follows:
[0113] Case 1:
[0114]
[0115] Case 2:
[0116]
[0117] Scenario 3:
[0118]
[0119] Scenario 4:
[0120]
[0121]
[0122] Scenario 5:
[0123]
[0124] in,
[0125] This study aims to dynamically adjust fluid strategies to maximize social welfare.
[0126]
[0127] C2:τ0,τ1>0
[0128] Step 5: Use the diffusion model to solve the optimization problem of maximizing average social welfare
[0129] Environmental factors such as the fluid arrival rate λ, the energy cost per unit time C in the system, and the threshold H affect the fluid strategy. These environmental states are represented as a vector e = {e λ ,e c ,e h}, which contains all the context information needed to make a decision.
[0130] Define Flux's fluid strategy as For any given environmental state e, the algorithm first randomly generates a Gaussian noise As a fluid strategy, where N represents the total number of steps in the denoising process. Then, through the multi-step denoising process of the diffusion model, the contract c between the current noise level and the given environmental state e is i , predict the next fluid strategy c i-1 Until the final fluid strategy design c is extracted and refined from the Gaussian noise 0 .
[0131] After each denoising step, the quality of the current fluid policy needs to be evaluated, i.e., its expected cumulative reward. This paper adopts the dual Q-learning technique, which uses two independently trained Q networks ( and ) to estimate e, c 0 The expected cumulative reward of the fluid strategy in the environment. Double Q learning estimates the expected return of the contract by using the smaller of the two Q values, thereby reducing the overestimation bias that may be caused by a single Q network. According to the evaluation results of double Q learning, the algorithm adjusts the diffusion model parameters to minimize the difference between the expected cumulative reward of the fluid strategy design and the actual reward. Repeat the above denoising and optimization process until the algorithm converges to the fluid strategy design that maximizes the optimization objective. By adopting the above method, the system parameters and the optimal social welfare can be solved more accurately.
[0132] Embodiment 2
[0133] In order to illustrate the performance of the computing power trading framework, the present invention conducted the following experiments. First, in order to evaluate the effectiveness of introducing pricing games, a comparative experiment was conducted to compare the average rewards with and without pricing games under different arrival rates. The results are shown in Figure 2. Figure 2 shown.
[0134] from Figure 2 It can be seen that under all arrival rate settings, the algorithm that introduces the game mechanism has significantly higher cost-effectiveness than the algorithm that does not introduce the game mechanism. This means that the game mechanism can provide higher efficiency and benefits when considering the allocation of computing resources. As the arrival rate increases, the cost-effectiveness of both algorithms increases, but the algorithm of the present invention always maintains a higher benefit. This shows that even when the resource demand increases, the algorithm that introduces the game can effectively adapt and optimize the resource allocation, thereby achieving higher cost-effectiveness.
[0135] like Figure 3 As shown, the present invention discusses the influence of service rate and cycle parameters on system return based on the proposed fluid model (the return of the fluid model is 38.03).
[0136] (1) First, we studied the service rate ( and ) and system rewards:
[0137] ① Low service rate In the case of This is due to the reduction of computing node residence time and the reduction of energy costs. However, if it exceeds Exceeding a threshold of the inflow rate λ leads to inefficiencies, especially when the fluid level is low, where the residence time of the computational nodes increases, thus reducing returns.
[0138] ②For fast service rate exist In the case of , the liquid level of the system remains at zero in the working state, indicating When both service rates are available, and Combinations within a certain range show that the returns of the system can be maximized by carefully balancing these parameters.
[0139] (2) We further explored how the cycle parameters (τ0 and τ1) affect the rewards of the system:
[0140] ① When τ1=1 remains unchanged, an increase in τ0 will lead to a gradual decrease in the reward, which may be due to the fact that longer vacation time increases the residence time of the computing node.
[0141] ② On the contrary, when τ0 = 1, increasing τ0 will lead to a gradual increase in rewards. This is because the system working time is extended, reducing the waiting time of the computing nodes.
[0142] ③ Various combinations of τ0 and τ1 within a certain range show that the dynamics of rewards are significantly affected by these parameters, pointing out the importance of strategic adjustment for maximizing rewards.
[0143] The above analysis shows that the service rate and period parameters have a significant impact on the rewards of the fluid model. In order to optimize for the highest social reward, a strategic approach is needed to set these parameters so that the fluid model is effective.
[0144] exist Figure 4 In the experimental results shown, different comparisons are described, demonstrating the performance of diffusion-based algorithms for the resource balancing problem in a computational resource network in a vehicular network environment.
[0145] Comparison with other heuristic strategies: Figure 4 As shown in (a), our diffusion-based algorithm consistently outperforms both random and greedy strategies in terms of reward performance. It starts out strong and remains stable over 15,000 steps with little fluctuation. In contrast, the greedy strategy starts out with a lower reward, gradually improves over the first 5,000 steps, and then levels off, showing moderate variability. Despite some consistency, it does not match the returns of the diffusion strategy. The random strategy exhibits erratic returns throughout, highlighting its unpredictable and unstructured approach to resource allocation.
[0146] Comparison with advanced reinforcement learning algorithms: Figure 4As shown in (b), the performance of the diffusion method is competitive, if not superior, to advanced reinforcement learning algorithms such as PPO and SAC. It quickly surpasses PPO and SAC with a sharp increase in initial rewards, indicating faster adaptation through superior exploration or exploitation strategies. Over time, PPO begins to catch up, showing potential convergence to the performance of the diffusion method, albeit with larger fluctuations, indicating less stable or efficient resource allocation. On the other hand, SAC maintains a steady but slower reward growth, indicating consistent performance, but not reaching the level of optimization achieved by the diffusion method.
[0147] Overall, the diffusion-based approach was described as quickly achieving high and stable rewards, and maintaining that level throughout the experiment. In contrast, the other strategies either showed volatility in their reward patterns, or grew more slowly and more steadily, with lower overall reward levels.
[0148] The above experiments also demonstrate the effectiveness of diffusion-based methods in dynamic resource allocation. The experimental results also emphasize that the nuances of optimization are crucial to the performance of the model, especially with regard to actor learning rates. Figure 4 (c) shows that a comparative analysis of learning rate settings of 1e-4, 1e-5, and 1e-6 shows that 1e-5 is the most effective setting. This learning rate promotes a balanced learning curve, ensuring continuous progress towards the optimal resource allocation without the instabilities associated with higher rates or slower convergence at lower rates.
[0149] Therefore, the present invention adopts the above-mentioned resource balancing strategy optimization method for pricing game, introduces a pricing game framework, promotes fair and transparent computing resource transactions, and improves market efficiency and inclusiveness by encouraging large and small entities to participate; using the principle of fluid model, the Internet of Things architecture can perceive and dynamically respond to the mobility of resources and entities within the network to ensure effective allocation and reduce waste; and uses diffusion algorithms to implement dynamic resource allocation strategies to adapt to real-time demand changes and improve resource utilization and the sustainability of computing networks.
[0150] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that they can still modify or replace the technical solution of the present invention with equivalents, and these modifications or equivalent replacements cannot cause the modified technical solution to deviate from the spirit and scope of the technical solution of the present invention.
Claims
1. A resource balancing strategy optimization method for pricing game, characterized in that: include Construct the resource valuation of computing power demanders and the resource utilization rate of third-party service providers. The interaction between computing power demanders and third-party service providers forms an incomplete information game, leading to the Bayesian Nash equilibrium and obtaining the transaction price. Construct a fluid model to construct the reward that each potential CPP receives after completing the service based on the transaction price; the potential CPP is the entity that decides whether to join the resource pool and become a computing capacity provider based on expected income and willingness; Obtain the expected utility per unit based on the reward each potential CPP receives after completing the service, and analyze the Nash equilibrium strategy of the fluid based on the expected utility per unit; Analyze the average social benefit utility per unit time according to the Nash equilibrium strategy of the fluid, and obtain the maximum social welfare according to the average social benefit utility; The diffusion model is used to solve the optimization problem of maximizing average social welfare.
2. The resource balancing strategy optimization method for pricing game according to claim 1, characterized in that: The resource valuation structure of computing power demanders is: d=C min +(C max -C min )(ξ+(1-ξ)(D) ξ+η ), Where D is calculated as D = D n +D c +D d +D t +D f , D n ,D t ,D c ,D d ,D f They represent the number of sensors, sensor type, algorithm complexity, data volume and map update frequency respectively, ξ∈[0,1] is the time factor of the delay requirement, η is the accuracy requirement, ξ=1 / 2, C min is the minimum resource valuation, C max The maximum value of resource valuation.
3. The resource balancing strategy optimization method for pricing game according to claim 1, characterized in that: The resource utilization L of the third-party service provider is defined as L=L α ·L c +L β ·L m +L γ ·L w +L δ ·L t -1 , Among them, L α , L β , L γ and L δ It is the weight coefficient that reflects the relative importance of each indicator in the overall resource utilization; L c , L m , L w and L t They represent server CPU utilization, memory utilization, network bandwidth utilization, and service response time respectively; The transaction price is calculated as According to resource valuation and resource utilization, different bids are submitted with equal probability within the corresponding interval of the bidding strategy, that is, Then, the transaction price is defined as Among them, α is fixed at 1 / 2 according to market guidance rules.
4. The resource balancing strategy optimization method for pricing game according to claim 1, characterized in that: Build a fluid model to construct the reward each potential CPP receives after completing the service based on the transaction price; The threshold is represented by H. When the liquid level Y(t)≤H, the output rate is When the liquid level Y(t)>H, the system will appropriately accelerate the working rate, and the working rate will increase to The CPP alternates between normal working period and vacation period, which are independent and exponentially distributed, τ1 and τ0 respectively. The state of the computing power pool is recorded by a two-state continuous-time Markov chain Z(t). The waiting capacity of the computing power pool is infinite. The dynamics of the process Y(t) of recording the fluid level is given by: Among them, τ i , i = 0, 1, τ0 is the normal working period, τ1 is the vacation mode, (y) + =max(y,0), the binary process {Y(t), Z(t)} is Markov, and according to the alternating update process, the steady-state distribution of Z(t) is obtained Each potential CPP receives a reward of R(p)=β*p-γ*p2+σ The coefficients β, γ, and σ are positive, encapsulating the diminishing returns described by the linear quadratic function; C is the energy cost per time unit for each CPP.
5. The resource balancing strategy optimization method for pricing game according to claim 1, characterized in that: The expected utility per unit is obtained based on the reward each potential CPP receives after completing the service, including When CPP chooses to enter the system, the expected utility per unit is: U(x,i)=R(p)-C*E(S(x,i)) In the formula, S(x,i) represents the residence time of the fluid in the system when the liquid level is x and the system state is i. To ensure that the fluid arrives and enters the system when the liquid level is 0, it is specified When the mobile device arrives and observes that the system is in state (Y(t), Z(t)) = (x, i), the expected utility is U(x, i) = R(p) - C*E(S(x, i)); when U(x, i)>0, the mobile device tends to strictly agree to become a CPP; when U(x, i)<0, the mobile device tends to strictly refuse to become a CPP.
6. The resource balancing strategy optimization method for pricing game according to claim 5, characterized in that: Analyze the Nash equilibrium strategy of fluids based on expected utility per unit, including Under full visibility, the Nash equilibrium strategy of the fluid queuing system with threshold control strategy is given by the formula: x≤H, x>H, In the formula, (x e (0), x e (1)) is the Nash equilibrium threshold when the fluid level is less than or equal to the threshold, (y e (0),y e (1)) is the Nash equilibrium threshold when the fluid level is greater than the threshold; When CPP arrives at time t, observe (Y(t), Z(t)). When x≤B, if Y(t) <x e (Z(t)) is added, when x>B, if Y(t)>x e (Z(t)) exit; Under the same x, the waiting time of the fluid in the fast mode is less than that in the slow mode, that is, E(S(x,1))<E(S(x,0)); at the same time, we get 0 <x e (0) <x e (1) and 0 <y e (0) <y e (1), further, we get x e (0) <y e (0), x e (1) <y e (1).
7. The resource balancing strategy optimization method for pricing game according to claim 1, characterized in that: According to the fluid's stopping equilibrium strategy, the average social benefit utility per unit time is analyzed, and the maximum social welfare is obtained based on the average social benefit utility, including The average social benefit utility function per unit time is: B((x e (0), x e (0)),(y e (0), y e (1)))=λ e *RC*E(X), Among them, B((x e (0),x e (0)), (y e (0),y e (1))) represents the average social benefit per unit time, λ e is the effective arrival rate of the fluid, E(X) is the average liquid level, that is, the average storage capacity in the computing pool; the average social benefit refers to the overall system benefit corresponding to the steady-state liquid level of the computing resource pool when all CPPs arriving at the computing resource pool comply with the individual equilibrium strategy; Dynamically adjust fluid strategies to maximize social welfare 8. The resource balancing strategy optimization method for pricing game according to claim 7, characterized in that: Calculate the average amount of storage in the pool as follows: Scenario 1: Scenario 2: Scenario 3: Scenario 4: Scenario 5: in 9. The resource balancing strategy optimization method for pricing game according to claim 8, characterized in that: The diffusion model is used to solve the optimization problem of maximizing average social welfare, which includes the following steps: Denoising: The environment state is represented as a vector e = {e λ ,e c ,e h } contains all the environmental information needed to make decisions, where λ is the fluid arrival rate, C is the energy cost per unit time in the system, and H is the threshold; Define the Flux strategy as For a given environment state e, first randomly generate a Gaussian noise As a fluid strategy, where N represents the total number of steps in the denoising process, 0 represents the mean vector of the Gaussian distribution, and I represents the covariance matrix; Then, through the multi-step denoising process of the diffusion model, the fluid strategy c is based on the current noise level and the given environmental state e. i , predict the next fluid strategy c i-1 , until the final fluid strategy design c is extracted and refined from the Gaussian noise 0 ; Optimization: After each denoising step, evaluate the quality of the current fluid strategy, i.e., its expected cumulative reward. Based on the evaluation results, adjust the diffusion model parameters to minimize the difference between the expected cumulative reward of the fluid strategy design and the actual reward. The above denoising and optimization process is repeated until the algorithm converges to the contract design that maximizes the optimization objective.
10. The resource balancing strategy optimization method for pricing game according to claim 9, characterized in that: The evaluation of the quality of the current fluid strategy includes The dual Q-learning technique is used to estimate e and c through two independently trained Q networks. 0 Double Q learning estimates the expected return of the contract by using the smaller of the two Q values. According to the double Q learning evaluation results, the diffusion model parameters are adjusted to minimize the difference between the expected cumulative reward of the fluid strategy design and the actual reward.
