Mobile edge network dynamic AOI perception digital twinning deployment method and system
By using the Actor-Critic reinforcement learning network in the mobile edge network for dynamic AOI perception and optimizing resource allocation, the problem of poor digital twin deployment performance in remote cloud servers is solved, and efficient resource utilization and low-latency deployment performance are achieved.
Patent Information
- Application Number
- CN202411037503.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-31
- Publication Date
- 2024-10-11
AI Technical Summary
When existing technologies deploy digital twins in remote cloud servers, huge network traffic leads to delays and performance degradation, and the timeliness of data updates in the digital twin model is ignored, resulting in poor deployment performance.
The mobile edge network dynamic AOI-aware digital twin deployment method is adopted. By obtaining the system topology and environmental parameters, the Actor-Critic reinforcement learning network is designed, and multiple rounds of iterative training are performed to optimize resource allocation, maximize resource utilization and minimize AOI.
It achieves optimal allocation of resources in a real-time dynamic environment, improves deployment performance, maximizes resource utilization and minimizes AOI, and improves the efficiency and performance of digital twin deployment.
Smart Images

Figure CN118764916A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of mobile edge networks, and more specifically, to a method and system for deploying dynamic AOI-aware digital twins in mobile edge networks. Background Art
[0002] In recent years, digital twin technology has received widespread attention as a powerful tool to enhance network management. This technology enables real-time monitoring, prediction and optimization of complex systems by creating virtual copies of physical entities. The principle is to collect data from physical entities in real time through sensors and IoT devices, and transmit these data to the cloud or edge computing nodes for processing to form a digital model consistent with the physical entity. The model can perform real-time analysis and feedback control to optimize the performance of the physical entity. In addition, digital twins not only have the characteristics of high-precision simulation capabilities, but also have the characteristics of real-time processing of data and high predictability. Therefore, it is widely used in manufacturing (such as production line monitoring and optimization), energy management (such as power system fault prediction), smart cities (such as traffic management and municipal facility maintenance), and medical health (such as personalized medicine and remote diagnosis). However, when it comes to the scenario of deploying digital twins in remote cloud servers, huge network traffic often leads to significant delays and performance degradation.
[0003] The prior art discloses a relay edge network task offloading method based on digital twins, including building a relay edge network task offloading strategy model; updating the status of the corresponding parts in the digital twin environment; transferring the parameters of the digital twin into the simulation task offloading system for iterative training to obtain the optimal task offloading strategy model; transmitting the optimal task offloading strategy model to the simulation manual control interface for backup; transmitting the current digital twin parameter training model and the optimal task offloading strategy model to the digital twin environment cache, and forwarding them to each relay node by the edge server in reality, and the relay node forwards them to the user terminal communicating with it; the user terminal and the relay node perform corresponding task offloading according to the optimal task offloading strategy model. The present invention can reduce the trial and error cost of the actual 5G edge computing technology in the implementation process and improve the implementation efficiency. However, this method ignores the key aspect of the timeliness of the digital twin model data update, resulting in poor final deployment performance. Summary of the invention
[0004] The purpose of the present invention is to disclose a method and system for deploying dynamic AOI-aware digital twins in a mobile edge network with better performance.
[0005] In order to achieve the above object, the present invention provides a method for deploying a dynamic AOI-aware digital twin in a mobile edge network, comprising:
[0006] S1: Obtain the system topology, relevant environmental parameters and movement trajectory information of the mobile device at the current time, build a network system model based on the system topology, relevant environmental parameters and movement trajectory of the mobile device at the current time; establish a digital twin model based on the network system model;
[0007] S2: Design Actor-Critic reinforcement learning network;
[0008] S3: Initialize the network system model, deploy the digital twin model, and combine the AOI technology to train the Actor-Critic reinforcement learning network through multiple rounds of iterations, and continuously adjust the parameters of the Actor-Critic reinforcement learning network until the Actor-Critic reinforcement learning network converges. After the convergence, the Actor-Critic reinforcement learning network executes step S4;
[0009] S4: Complete deployment based on the converged Actor-Critic reinforcement learning network.
[0010] Furthermore, in step S1, the relevant environmental parameters include bandwidth, computing resources, and distances between multiple nodes.
[0011] Further, in step S1, the network system model includes: a plurality of access points and edge servers; each edge server includes a plurality of nodes;
[0012] For the network system model, an undirected graph G(V,E) is defined, where V = {0, 1, 2…, |V|-1} represents a set of access points with different computing resources;
[0013] Each edge server has different computing resource allocation and output bandwidth according to different environments and the resource usage of its current node. The original and remaining resources and bandwidth can be used and R V , B v (t); In the network system model, during a given monitoring time domain, each mobile device m∈M={0,1,2,…,|M|-1} is continuously moving and monitored by the system in units of each time slot, and the time is also divided into t∈{0,1,2,…,|T|-1} by equal time intervals τ; therefore, at time t, It represents the location distance between device m∈M and node v∈V.
[0014] Furthermore, in step S1, the digital twin model includes:
[0015] In the digital twin model, a Boolean variable x m,v,t ∈{0,1} indicates that the digital twin is deployed successfully, xm,v,t =1 means that MDm selects server v to deploy its corresponding digital twin at time t, otherwise x m,v,t =0,
[0016] In addition, to ensure the continuous operation of the entire network, it is necessary to ensure that the node bandwidth utilization does not exceed the available resource limit, which is guaranteed by the following conditions:
[0017]
[0018] Among them, b m,v represents the bandwidth required by the digital twin m in the server, Q v,t represents the digital twin deployed on node v at the current time t. In addition, as time goes by, the node resources will be updated every τ, where B v (t) will evolve into B v (t+1):
[0019]
[0020] Similarly, the computing resources allocated to node v cannot exceed the total amount of computing resources available on the node, that is:
[0021]
[0022] Among them, c m,v It represents the remaining resources R of node v for bandwidth required by digital twin m deployed on server v. V The update formula is as follows:
[0023]
[0024] Furthermore, the Actor-Critic reinforcement learning network includes: Actor network and Critic network
[0025] The Actor network is responsible for directly optimizing the policy parameters to maximize long-term returns, while the Critic network evaluates the performance of the policy by estimating the value function and provides feedback to the Acto network r;
[0026] At the beginning of time slot t, the system state st can be expressed as The action decision is expressed as a t ={x m,v,t}, the reward function is used to measure the speed of AOI update and the size of resource consumption, and its formula can be expressed as:
[0027]
[0028] Alternatively, long-term returns can be defined as:
[0029]
[0030] where ω t Represents the reward discount factor, which determines the present value of future rewards and its value range is [0,1)[0,1).
[0031] Further, the Actor network includes: using the Actor network to calculate the probability distribution of actions and select The optimal decision distribution on , then, execute the selected action, and then the environment will provide an immediate reward and the next state s t+1 , used to calculate the TD error and loss function, where the loss function for the Actor network is defined as follows:
[0032]
[0033] Among them, ε represents the truncation hyperparameter, and the truncation function clip() is used to ensure the convergence of the entire function. t (θ a ) is limited to the interval [1-ε, 1+ε], r t (θ a ) represents the ratio of the probability of the behavior taken by the current strategy at time t to the probability of the behavior taken by the previous decision. The magnitude of the new strategy update is measured by calculating this ratio, and the advantage function Represents the current state s t Next, behavior a t Deviations from the mean, above and r t (θ a ) definition considers the contrast deviation of the action in the current state. If the difference between the new and old strategies is obvious and the advantage function is large, the update amplitude should be appropriately increased; if r t (θ a ) The closer the ratio is to 1, the smaller the difference between the new and old strategies is, and the update amplitude needs to be appropriately reduced. The two formulas are as follows:
[0034]
[0035]
[0036] Where λ is the scaling factor of the advantage function, based on the current policy parameter θ a , the policy gradient can be expressed as:
[0037]
[0038] in, is the strategy in state s t Next select action a t The probability of The formula represents the advantage of taking the current action in the current state relative to the expected return.
[0039] Furthermore, the Critic network includes: learning a value function This function estimates the expected cumulative reward from taking an action in the current state;
[0040] During the training of the Critic network, a temporal difference learning algorithm is used to gradually improve the Critic network's estimate of its value function by observing the difference between the long-term reward calculated based on environmental feedback and its predicted value. It is defined as follows:
[0041]
[0042] Among them, γ is the discount factor, indicating that the weight of the predicted value in the future will continue to decrease over time. The network loss function is defined as the square of the TD error and is expressed as:
[0043]
[0044] During the training process, the Critic network parameters are updated through back propagation. The parameter update of the Critic network can be described as:
[0045]
[0046] Among them, α c is the step size of the Critic network, that is, the learning rate.
[0047] Furthermore, in step S3, the deployment of the digital twin model includes: using Aol to measure the freshness of the digital twin data, that is, the time from data generation to use. The relevant formula of Aol is defined as follows:
[0048]
[0049] The difference between the first two lines indicates whether the deployment node has changed at the last time the digital twin AOI is updated. If it needs to be changed, the time to reinitialize the digital twin needs to be considered. Otherwise, only the update time of the digital twin needs to be considered. For example, the first line of the formula indicates that at t-kδ mAt time t, the digital twin of MDm was originally deployed on node v, and then at the current time t, it will need to be redeployed on node v'. The second line of the formula indicates that the digital twin is deployed on the same node at both times without considering the migration cost. The last line of the formula indicates that the AOI at other times needs to follow the standard definition of the AOI formula Δt = t-α(t), that is, the AOI continues to increase, where α(t) represents the generation time of the packet arriving at time slot t. Therefore, the average AOI in the interval (0, T) is:
[0050]
[0051] In order to achieve the goal of minimizing the average AOI value and maximizing resource utilization under the constraints of node computing resources and bandwidth in a continuously changing environment, the optimization function can be formally expressed as:
[0052]
[0053] Among them, μ1, μ2, and μ3 represent the parameters of the function balancing the weights between the various parts, and Δt m It represents the average AOI of MD m in the interval (0, t), which is used to weigh the freshness of the data twin data information of MD m. In addition, in order to minimize multiple objectives as much as possible, the restricted problem definition and other constraints are as follows:
[0054]
[0055] Among them, definition C1 indicates whether the digital twin is successfully deployed, and constraints C2 and C3 represent the capacity limits of node computing resources and node allocation bandwidth, respectively, that is, neither can exceed the existing resource limits.
[0056] Further, step S3 includes: initializing the network system model, deploying the digital twin model, and training the Actor-Critic reinforcement learning network through multiple rounds of iterations, continuously adjusting the parameters of the Actor-Critic reinforcement learning network until the Actor-Critic reinforcement learning network converges, and executing step S4 after the convergence of the Actor-Critic reinforcement learning network;
[0057] S3.1: Initialize the mobile edge computing network, randomly distribute nodes, and select and deploy the corresponding digital twin for each mobile device;
[0058] S3.2: Select and deploy the corresponding digital twin for each mobile device based on the Actor-Critic reinforcement learning network and obtain the next state and corresponding reward;
[0059] S3.3: Determine whether the Actor-Critic reinforcement learning network has converged. If not, return to step S3.2. If converged, use the Actor-Critic reinforcement learning network at this time as the converged Actor-Critic reinforcement learning network.
[0060] In addition, the present invention also provides a mobile edge network dynamic AOI perception digital twin deployment system, including:
[0061] Model building module: obtain the system topology, relevant environmental parameters and mobile device movement trajectory information at the current time, build a network system model based on the system topology, relevant environmental parameters and mobile device movement trajectory at the current time; establish a digital twin model based on the network system model;
[0062] Reinforcement learning network module: Design Actor-Critic reinforcement learning network;
[0063] Training module: Initialize the network system model, deploy the digital twin model, and train the Actor-Critic reinforcement learning network through multiple rounds of iterations, continuously adjust the parameters of the Actor-Critic reinforcement learning network until the Actor-Critic reinforcement learning network converges. After the convergence, the Actor-Critic reinforcement learning network executes step S4;
[0064] Deployment module: Completes deployment based on the converged Actor-Critic reinforcement learning network.
[0065] Compared with the prior art, the technical solution of the present invention has the following beneficial effects:
[0066] The present invention performs multiple rounds of iterations according to the AOI technology through the Actor-Critic reinforcement learning network to reach a converged Actor-Critic reinforcement learning network. Through the converged Actor-Critic reinforcement learning network, resource optimization allocation in a real-time dynamic environment is realized, resource utilization is maximized and AoI is minimized, thereby further improving deployment performance. BRIEF DESCRIPTION OF THE DRAWINGS
[0067] Figure 1 This is a flow chart of the mobile edge network dynamic AOI perception digital twin deployment method described in Example 1;
[0068] Figure 2 This is the training flow chart described in Example 2;
[0069] Figure 3 This is a block diagram of the mobile edge network dynamic AOI perception digital twin deployment system described in Example 3; DETAILED DESCRIPTION
[0070] The drawings are for illustrative purposes only and should not be construed as limiting the present patent;
[0071] The technical solution of the present invention is further described below in conjunction with the accompanying drawings and embodiments.
[0072] Embodiment 1:
[0073] This embodiment provides Figure 1 The mobile edge network dynamic AOI-aware digital twin deployment method shown includes:
[0074] S1: Obtain the system topology, relevant environmental parameters and movement trajectory information of the mobile device at the current time, build a network system model based on the system topology, relevant environmental parameters and movement trajectory of the mobile device at the current time; establish a digital twin model based on the network system model;
[0075] S2: Design Actor-Critic reinforcement learning network;
[0076] S3: Initialize the network system model, deploy the digital twin model, and combine the AOI technology to train the Actor-Critic reinforcement learning network through multiple rounds of iterations, and continuously adjust the parameters of the Actor-Critic reinforcement learning network until the Actor-Critic reinforcement learning network converges. After the convergence, the Actor-Critic reinforcement learning network executes step S4;
[0077] S4: Complete deployment based on the converged Actor-Critic reinforcement learning network.
[0078] This embodiment uses the Actor-Critic reinforcement learning network to perform multiple rounds of iterations according to the AOI technology to reach a converged Actor-Critic reinforcement learning network. Through the converged Actor-Critic reinforcement learning network, resource optimization allocation in a real-time dynamic environment is achieved, resource utilization is maximized and AoI is minimized, thereby further improving deployment performance.
[0079] Embodiment 2:
[0080] This embodiment further discloses on the basis of the first embodiment:
[0081] In step S1, the relevant environmental parameters include bandwidth, computing resources, and distances between multiple nodes.
[0082] In step S1, the network system model includes: multiple access points and edge servers; each edge server includes multiple nodes;
[0083] For the network system model, an undirected graph G(V,E) is defined, where V = {0, 1, 2…, |V|-1} represents a set of access points with different computing resources;
[0084] Each edge server has different computing resource allocation and output bandwidth according to different environments and the resource usage of its current node. The original and remaining resources and bandwidth can be used and R V , B v (t); In the network system model, during a given monitoring time domain, each mobile device m∈M={0,1,2,…,|M|-1} is continuously moving and monitored by the system in units of each time slot, and the time is also divided into t∈{0,1,2,…,|T|-1} by equal time intervals τ; therefore, at time t, It represents the location distance between device m∈M and node v∈V.
[0085] In step S1, the digital twin model includes:
[0086] In the digital twin model, a Boolean variable x m,v,t ∈{0,1} indicates that the digital twin is deployed successfully, x m,v,t =1 means that MDm selects server v to deploy its corresponding digital twin at time t, otherwise x m,v,t =0,
[0087] In addition, to ensure the continuous operation of the entire network, it is necessary to ensure that the node bandwidth utilization does not exceed the available resource limit, which is guaranteed by the following conditions:
[0088]
[0089] Among them, b m,v represents the bandwidth required by the digital twin m in the server, Q v,t represents the digital twin deployed on node v at the current time t. In addition, as time goes by, the node resources will be updated every τ, where B v (t) will evolve into B v (t+1):
[0090]
[0091] Similarly, the computing resources allocated to node v cannot exceed the total amount of computing resources available on the node, that is:
[0092]
[0093] Among them, c m,vIt represents the remaining resources R of node v required for the bandwidth of digital twin m deployed on server v. V The update formula is as follows:
[0094]
[0095] The Actor-Critic reinforcement learning network includes: Actor network and Critic network
[0096] The Actor network is responsible for directly optimizing the policy parameters to maximize long-term returns, while the Critic network evaluates the performance of the policy by estimating the value function and provides feedback to the Acto network r;
[0097] At the beginning of time slot t, the system state st can be expressed as The action decision is expressed as a t ={x m,v,t}, the reward function is used to measure the speed of AOI update and the size of resource consumption, and its formula can be expressed as:
[0098]
[0099] Alternatively, long-term returns can be defined as:
[0100]
[0101] where ω t Represents the reward discount factor, which determines the present value of future rewards and its value range is [0,1)[0,1).
[0102] Further, the Actor network includes: using the Actor network to calculate the probability distribution of actions and select The optimal decision distribution on , then, execute the selected action, and then the environment will provide an immediate reward and the next state s t+ 1, used to calculate the TD error and loss function, where the loss function for the Actor network is defined as follows:
[0103]
[0104] Among them, ε represents the truncation hyperparameter, and the truncation function clip() is used to ensure the convergence of the entire function. t (θ a ) is limited to the interval [1-ε, 1+ε], r t (θ a) represents the ratio of the probability of the behavior taken by the current strategy at time t to the probability of the behavior taken by the previous decision. The magnitude of the new strategy update is measured by calculating this ratio, and the advantage function Represents the current state s t Next, behavior a t Deviations from the mean, above and r t (θ a ) definition considers the contrast deviation of the action in the current state. If the difference between the new and old strategies is obvious and the advantage function is large, the update amplitude should be appropriately increased; if r t (θ a ) The closer the ratio is to 1, the smaller the difference between the new and old strategies is, and the update amplitude needs to be appropriately reduced. The two formulas are as follows:
[0105]
[0106]
[0107] Where λ is the scaling factor of the advantage function, based on the current policy parameter θ a , the policy gradient can be expressed as:
[0108]
[0109] in, is the strategy in state s t Next select action a t The probability of The formula represents the advantage of taking the current action in the current state relative to the expected return.
[0110] The Critic network includes: learning a value function This function estimates the expected cumulative reward from taking an action in the current state;
[0111] During the training of the Critic network, a temporal difference learning algorithm is used to gradually improve the Critic network's estimate of its value function by observing the difference between the long-term reward calculated based on environmental feedback and its predicted value. It is defined as follows:
[0112]
[0113] Among them, γ is the discount factor, indicating that the weight of the predicted value in the future will continue to decrease over time. The network loss function is defined as the square of the TD error and is expressed as:
[0114]
[0115] During the training process, the Critic network parameters are updated through back propagation. The parameter update of the Critic network can be described as:
[0116]
[0117] Among them, α c is the step size of the Critic network, that is, the learning rate.
[0118] In step S3, the deployment of the digital twin model includes: using Aol to measure the freshness of the digital twin data, that is, the time from data generation to use. The relevant formula of Aol is defined as follows:
[0119]
[0120] The difference between the first two lines indicates whether the deployment node has changed at the last time the digital twin AOI is updated. If it needs to be changed, the time to reinitialize the digital twin needs to be considered. Otherwise, only the update time of the digital twin needs to be considered. For example, the first line of the formula indicates that at t-kδ m At time t, the digital twin of MDm was originally deployed on node v, and then at the current time t, it will need to be redeployed on node v'. The second line of the formula indicates that the digital twin is deployed on the same node at both times without considering the migration cost. The last line of the formula indicates that the AOI at other times needs to follow the standard definition of the AOI formula Δt = t-α(t), that is, the AOI continues to increase, where α(t) represents the generation time of the packet arriving at time slot t. Therefore, the average AOI in the interval (0, T) is:
[0121]
[0122] In order to achieve the goal of minimizing the average AOI value and maximizing resource utilization under the constraints of node computing resources and bandwidth in a continuously changing environment, the optimization function can be formally expressed as:
[0123]
[0124] Among them, μ1, μ2, and μ3 represent the parameters of the function balancing the weights between the various parts, and Δt m It represents the average AOI of MD m in the interval (0, t), which is used to weigh the freshness of the data twin data information of MD m. In addition, in order to minimize multiple objectives as much as possible, the restricted problem definition and other constraints are as follows:
[0125]
[0126] Among them, definition C1 indicates whether the digital twin is successfully deployed, and constraints C2 and C3 represent the capacity limits of node computing resources and node allocation bandwidth, respectively, that is, neither can exceed the existing resource limits.
[0127] Step S3 is as follows Figure 2 Shown include:
[0128] S3.1: Initialize the mobile edge computing network, randomly distribute nodes, and select and deploy the corresponding digital twin for each mobile device;
[0129] S3.2: Select and deploy the corresponding digital twin for each mobile device based on the Actor-Critic reinforcement learning network and obtain the next state and corresponding reward;
[0130] S3.3: Determine whether the Actor-Critic reinforcement learning network has converged. If not, return to step S3.2. If converged, use the Actor-Critic reinforcement learning network at this time as the converged Actor-Critic reinforcement learning network.
[0131] This embodiment uses the Actor-Critic reinforcement learning network to perform multiple rounds of iterations according to the AOI technology to reach a converged Actor-Critic reinforcement learning network. Through the converged Actor-Critic reinforcement learning network, resource optimization allocation in a real-time dynamic environment is achieved, resource utilization is maximized and AoI is minimized, thereby further improving deployment performance.
[0132] Embodiment three:
[0133] This embodiment provides Figure 3 The mobile edge network dynamic AOI perception digital twin deployment system shown includes:
[0134] Model building module: obtain the system topology, relevant environmental parameters and mobile device movement trajectory information at the current time, build a network system model based on the system topology, relevant environmental parameters and mobile device movement trajectory at the current time; establish a digital twin model based on the network system model;
[0135] Reinforcement learning network module: Design Actor-Critic reinforcement learning network;
[0136] Training module: Initialize the network system model, deploy the digital twin model, and train the Actor-Critic reinforcement learning network through multiple rounds of iterations, continuously adjust the parameters of the Actor-Critic reinforcement learning network until the Actor-Critic reinforcement learning network converges. After the convergence, the Actor-Critic reinforcement learning network executes step S4;
[0137] Deployment module: Completes deployment based on the converged Actor-Critic reinforcement learning network.
[0138] This embodiment uses the Actor-Critic reinforcement learning network to perform multiple rounds of iterations according to the AOI technology to reach a converged Actor-Critic reinforcement learning network. Through the converged Actor-Critic reinforcement learning network, resource optimization allocation in a real-time dynamic environment is achieved, resource utilization is maximized and AoI is minimized, thereby further improving deployment performance.
[0139] Obviously, the above embodiments of the present invention are merely examples for clearly illustrating the present invention, and are not intended to limit the embodiments of the present invention. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the embodiments here. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the claims of the present invention.
Claims
1. A method for deploying dynamic AOI-aware digital twins in a mobile edge network, characterized in that: include: S1: Obtain the system topology, relevant environmental parameters and movement trajectory information of the mobile device at the current time, build a network system model based on the system topology, relevant environmental parameters and movement trajectory of the mobile device at the current time; establish a digital twin model based on the network system model; S2: Design Actor-Critic reinforcement learning network; S3: Initialize the network system model, deploy the digital twin model, and combine the AOI technology to train the Actor-Critic reinforcement learning network through multiple rounds of iterations, and continuously adjust the parameters of the Actor-Critic reinforcement learning network until the Actor-Critic reinforcement learning network converges. After the convergence, the Actor-Critic reinforcement learning network executes step S4; S4: Complete deployment based on the converged Actor-Critic reinforcement learning network.
2. The method for deploying dynamic AOI-aware digital twins in a mobile edge network according to claim 1, characterized in that: In step S1, the relevant environmental parameters include bandwidth, computing resources, and distances between multiple nodes.
3. The method for deploying dynamic AOI-aware digital twins in a mobile edge network according to claim 2, characterized in that: In step S1, the network system model includes: multiple access points and edge servers; each edge server includes multiple nodes; For the network system model, an undirected graph G(V,E) is defined, where V = {0, 1, 2…, |V|-1} represents a set of access points with different computing resources; Each edge server has different computing resource allocation and output bandwidth according to different environments and the resource usage of its current node. The original and remaining resources and bandwidth can be used and R V , B v (t); In the network system model, during a given monitoring time domain, each mobile device m∈M={0,1,2,…,|M|-1} is continuously moving and monitored by the system in units of each time slot, and the time is also divided into t∈{0,1,2,…,|T|-1} by equal time intervals τ; therefore, at time t, It represents the location distance between device m∈M and node v∈V.
4. The method for deploying dynamic AOI-aware digital twins in a mobile edge network according to claim 3, characterized in that: In step S1, the digital twin model includes: In the digital twin model, a Boolean variable x m,v,t ∈{0,1} indicates that the digital twin is deployed successfully, x m,v,t =1 means that MD m selects server v to deploy its corresponding digital twin at time t, otherwise x m,v,t =0, In addition, to ensure the continuous operation of the entire network, it is necessary to ensure that the node bandwidth utilization does not exceed the available resource limit, which is guaranteed by the following conditions: Among them, b m,v represents the bandwidth required by the digital twin m in the server, Q v,t represents the digital twin deployed on node v at the current time t. In addition, as time goes by, the node resources will be updated every τ, where B v (t) will evolve into B v (t+1): Similarly, the computing resources allocated to node v cannot exceed the total amount of computing resources available on the node, that is: Among them, c m,v It represents the remaining resources R of node v for bandwidth required by digital twin m deployed on server v. V The update formula is as follows:
5. The method for deploying dynamic AOI-aware digital twins in a mobile edge network according to claim 4, characterized in that: The Actor-Critic reinforcement learning network includes: Actor network and Critic network The Actor network is responsible for directly optimizing the policy parameters to maximize long-term returns, while the Critic network evaluates the performance of the policy by estimating the value function and provides feedback to the Acto network r; At the beginning of time slot t, the system state st can be expressed as The action decision is expressed as a t ={x m,v,t }, the reward function is used to measure the speed of AOI update and the size of resource consumption, and its formula can be expressed as: Alternatively, long-term returns can be defined as: where ω t Represents the reward discount factor, which determines the present value of future rewards and its value range is [0,1).
6. The method for deploying dynamic AOI-aware digital twins in a mobile edge network according to claim 5, characterized in that: Actor networks include: using Actor networks to calculate the probability distribution of actions and select The optimal decision distribution on , then, execute the selected action, and then the environment will provide an immediate reward and the next state s t+1 , used to calculate the TD error and loss function, where the loss function for the Actor network is defined as follows: Among them, ε represents the truncation hyperparameter, and the truncation function clip() is used to ensure the convergence of the entire function. t (θ a ) is limited to the interval [1-ε, 1+ε], r t (θ a ) represents the ratio of the probability of the behavior taken by the current strategy at time t to the probability of the behavior taken by the previous decision. The magnitude of the new strategy update is measured by calculating this ratio, and the advantage function Represents the current state s t Next, behavior a t Deviations from the mean, above and r t (θ a ) definition considers the contrast deviation of the action in the current state. If the difference between the new and old strategies is obvious and the advantage function is large, the update amplitude should be appropriately increased; if r t (θ a ) The closer the ratio is to 1, the smaller the difference between the new and old strategies is, and the update amplitude needs to be appropriately reduced. The two formulas are as follows: Where λ is the scaling factor of the advantage function, based on the current policy parameter θ a , the policy gradient can be expressed as: in, is the strategy in state s t Next select action a t The probability of The formula represents the advantage of taking the current action in the current state relative to the expected return.
7. The method for deploying dynamic AOI-aware digital twins in a mobile edge network according to claim 5, characterized in that: The Critic network includes: learning a value function This function estimates the expected cumulative reward from taking an action in the current state; During the training of the Critic network, a temporal difference learning algorithm is used to gradually improve the Critic network's estimate of its value function by observing the difference between the long-term reward calculated based on environmental feedback and its predicted value. It is defined as follows: Among them, γ is the discount factor, indicating that the weight of the predicted value in the future will continue to decrease over time. The network loss function is defined as the square of the TD error and is expressed as: During the training process, the Critic network parameters are updated through back propagation. The parameter update of the Critic network can be described as: Among them, α c is the step size of the Critic network, that is, the learning rate.
8. The method for deploying dynamic AOI-aware digital twins in a mobile edge network according to claim 1, characterized in that: In step S3, the deployment of the digital twin model includes: using Aol to measure the freshness of the digital twin data, that is, the time from data generation to use. The relevant formula of Aol is defined as follows: The difference between the first two lines indicates whether the deployment node has changed at the last time the digital twin AOI is updated. If it needs to be changed, the time to reinitialize the digital twin needs to be considered. Otherwise, only the update time of the digital twin needs to be considered. For example, the first line of the formula indicates that at t-kδ m At time t, the digital twin of MDm was originally deployed on node v, and then at the current time t, it will need to be redeployed on node v'. The second line of the formula indicates that the digital twin is deployed on the same node at both times without considering the migration cost. The last line of the formula indicates that the AOI at other times needs to follow the standard definition of the AOI formula Δt = t-α(t), that is, the AOI continues to increase, where α(t) represents the generation time of the packet arriving at time slot t. Therefore, the average AOI in the interval (0, T) is: In order to achieve the goal of minimizing the average AOI value and maximizing resource utilization under the constraints of node computing resources and bandwidth in a continuously changing environment, the optimization function can be formally expressed as: Among them, μ1, μ2, and μ3 represent the parameters of the function balancing the weights between the various parts, and Δt m It represents the average AOI of MD m in the interval (0, t), which is used to weigh the freshness of the data twin data information of MD m. In addition, in order to minimize multiple objectives as much as possible, the restricted problem definition and other constraints are as follows: Among them, definition C1 indicates whether the digital twin is successfully deployed, and constraints C2 and C3 represent the capacity limits of node computing resources and node allocation bandwidth, respectively, that is, neither can exceed the existing resource limits.
9. The method for deploying dynamic AOI-aware digital twins in a mobile edge network according to claim 1, characterized in that: Step S3 includes: initializing the network system model, deploying the digital twin model, and training the Actor-Critic reinforcement learning network through multiple rounds of iterations, continuously adjusting the parameters of the Actor-Critic reinforcement learning network until the Actor-Critic reinforcement learning network converges, and executing step S4 after the convergence of the Actor-Critic reinforcement learning network; S3.1: Initialize the mobile edge computing network, randomly distribute nodes, and select and deploy the corresponding digital twin for each mobile device; S3.2: Select and deploy the corresponding digital twin for each mobile device based on the Actor-Critic reinforcement learning network and obtain the next state and corresponding reward; S3.3: Determine whether the Actor-Critic reinforcement learning network has converged. If not, return to step S3.
2. If converged, use the Actor-Critic reinforcement learning network at this time as the converged Actor-Critic reinforcement learning network.
10. Dynamic AOI-aware digital twin deployment system for mobile edge networks, characterized in that: include: Model building module: obtain the system topology, relevant environmental parameters and mobile device movement trajectory information at the current time, build a network system model based on the system topology, relevant environmental parameters and mobile device movement trajectory at the current time; establish a digital twin model based on the network system model; Reinforcement learning network module: Design Actor-Critic reinforcement learning network; Training module: Initialize the network system model, deploy the digital twin model, and train the Actor-Critic reinforcement learning network through multiple rounds of iterations, continuously adjust the parameters of the Actor-Critic reinforcement learning network until the Actor-Critic reinforcement learning network converges. After the convergence, the Actor-Critic reinforcement learning network executes step S4; Deployment module: Completes deployment based on the converged Actor-Critic reinforcement learning network.
Citation Information
Cited By
Satellite network adaptive routing method and system for time delay optimization
CN119743423A
A Delay-Optimized Adaptive Routing Method and System for Satellite Networks
CN119743423B
Hydrogen fuel cell production management method and system based on digital twin technology
CN120046430A
Metro operation decision optimization method based on knowledge graph and cross-modal association
CN120633906A
Underwater network structure self-evolution method based on perception data conflict driving
CN120711365A
