Substation multi-hop relay network communication resource negotiation method based on edge digital twin assisted MAPPO

By optimizing the communication resource allocation of multi-hop relay networks in substations using edge digital twin-assisted MAPPO algorithm, the problems of high concurrency latency and energy consumption balance in communication resource scheduling in substations are solved, achieving low latency, load balancing and stable communication resource allocation.

CN123164572APending Publication Date: 2026-11-24STATE GRID SHANGHAI MUNICIPAL ELECTRIC POWER CO
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611197233.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-07
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

In substations, the allocation and scheduling of communication resources in multi-hop networks face the challenge of balancing high-concurrency service latency, resource fairness, and energy consumption balance. Existing methods suffer from high signaling overhead due to equipment obstruction and electromagnetic interference, making it difficult to meet the requirements for low latency and reliable access.

Method used

The edge digital twin-assisted multi-agent Markov policy optimization (MAPPO) algorithm generates communication resource negotiation strategies through centralized training and distributed execution. It optimizes bandwidth allocation by utilizing local node observations and the joint state of the entire network, avoiding traffic concentration at bottleneck relays and balancing network energy consumption.

Benefits of technology

It achieves low latency, load balancing, and long-term stable communication resource allocation in substations, reduces signaling overhead, adapts to dynamic scheduling of multiple concurrent alarm services, and balances service QoS and network stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123164572A_ABST
    Figure CN123164572A_ABST
Patent Text Reader

Abstract

The application relates to a substation multi-hop relay network communication resource negotiation method based on edge digital twinning assisted MAPPO, which comprises the following steps: establishing a substation multi-hop relay communication network; establishing a digital twinning model of the substation multi-hop relay communication network in an edge server to generate node local observation state and whole-network joint state; obtaining network operation states of each sensing terminal and relay node, calculating node resource pressure and link comprehensive negotiation cost according to the network operation states, and constructing a communication resource negotiation process of the substation multi-hop relay network into a multi-agent MDP model; adopting a centralized training and distributed execution MAPPO algorithm to solve the multi-agent MDP model, generating a communication resource negotiation strategy, executing bandwidth allocation and alarm service transmission according to the communication resource negotiation strategy, and feeding back the executed network state to the digital twinning model. The application can realize efficient scheduling of communication resources, avoid bottleneck nodes and balance network energy consumption.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of substation communication technology, and in particular to a method for negotiating communication resources in a substation multi-hop relay network based on edge digital twin-assisted MAPPO. Background Technology

[0002] With the continuous advancement of smart grid and substation digitalization, substations, as crucial locations in the power system responsible for power transformation, distribution, control, and protection, are increasingly demanding in terms of equipment status sensing and anomaly alarms. Substations house various types of equipment, including transformers, circuit breakers, disconnectors, busbars, and relay protection devices. Their dense metal structures lead to significant equipment obstruction, multipath reflection, and electromagnetic interference, easily causing communication quality degradation or creating communication dead zones for some wireless sensing nodes. Under conditions of limited wireless bandwidth and node capacity, meeting the requirements of low-latency transmission, reliable access, load balancing, and low negotiation overhead for multi-source monitoring and sudden alarm services is a common challenge that urgently needs to be addressed in the field of substation wireless communication.

[0003] For resource allocation and scheduling problems in multi-hop networks, existing research mainly focuses on two technical approaches: centralized optimization and heuristic scheduling. Centralized methods such as linear programming, mixed-integer linear programming, and network utility maximization can jointly optimize routing, bandwidth, power, and time slot configuration under known topology, channel, and service states, and provide accurate solutions or performance benchmarks for small-scale networks. However, as the number of nodes and concurrent service flows increases, the coupling between discrete decisions and continuous resource variables significantly increases the solution complexity. Furthermore, their dependence on the complete global state limits their online application in scenarios involving channel fluctuations, service bursts, and dynamic energy changes. To reduce computational and deployment overhead, heuristic methods such as Proportional Fairness, Max-Min Fairness, and Greedy Best-First are widely used in bandwidth and link resource allocation, focusing on trade-offs between efficiency and fairness, bottleneck service guarantees, and prioritizing locally superior links, respectively. These methods are simple in structure and have low execution overhead, but their decisions typically rely on local instantaneous states or fixed rules, making it difficult to jointly characterize the long-term evolution of queues, energy, and historical relay loads. In high-concurrency, multi-hop scenarios, local greedy decisions can cause traffic to remain concentrated on a few advantageous relay nodes, while overcompensation for weak services may reduce overall transmission efficiency, making it difficult to simultaneously meet multiple objectives such as low latency, resource fairness, and long-term energy balance.

[0004] To overcome the aforementioned problems, researchers have further introduced game theory, distributed optimization, backpressure scheduling, Lyapunov optimization, and reinforcement learning into multi-hop network resource management. Game theory and price mechanisms achieve inter-node coordination through local utility functions or resource pricing; distributed optimization methods such as dual decomposition and alternating direction multiplier method decompose the global problem into local subproblems and form a consistent decision through iteration; backpressure scheduling and Lyapunov optimization achieve long-term stable control based on queue states. However, these methods typically require continuous exchange of prices, queues, or dual variables, which can easily increase signaling overhead under conditions of limited wireless access resources in substations, equipment obstruction, and dynamic changes in electromagnetic interference, and make it difficult to meet the low-latency requirements of alarm services. Summary of the Invention

[0005] The technical problem to be solved by the present invention is to provide a method for negotiating communication resources in a substation multi-hop relay network based on edge digital twin-assisted MAPPO, which can achieve efficient scheduling of communication resources, avoid bottleneck nodes and balance network energy consumption.

[0006] The technical solution adopted by this invention to solve its technical problem is: to provide a method for negotiating communication resources in a substation multi-hop relay network based on edge digital twin-assisted MAPPO, comprising the following steps:

[0007] A multi-hop relay communication network for substations is established, comprising an edge gateway, a sensing terminal, and relay nodes.

[0008] A digital twin model of the substation multi-hop relay communication network is established in the edge server to generate the local observation state of the nodes and the joint state of the entire network;

[0009] The network operation status of each sensing terminal and relay node is obtained. Based on the network operation status, the node resource pressure and link comprehensive negotiation cost are calculated. The communication resource negotiation process of the substation multi-hop relay network is constructed as a multi-agent MDP model, where the action space is the continuous bandwidth allocation ratio of different alarm service flows.

[0010] The MAPPO algorithm, which is trained in a centralized manner and executed in a distributed manner, is used to solve the multi-agent MDP model, generate a communication resource negotiation strategy, perform bandwidth allocation and alarm service transmission according to the communication resource negotiation strategy, and feed back the network status after execution to the digital twin model.

[0011] The establishment of the substation multi-hop relay communication network specifically includes:

[0012] The multi-hop relay communication network of the substation is represented as a directed connected graph;

[0013] The node locations are set according to the monitoring needs of different equipment areas in the substation. The sensing terminals are respectively set in the transformer area, switch equipment area, busbar area, cable trench, relay protection room and other equipment areas to be monitored. The relay nodes are set in areas with equipment obstruction, communication blind spots or long-distance transmission needs.

[0014] When the distance between nodes, link quality, and device obstruction meet the preset communication conditions, a communication link is established between the nodes.

[0015] The network operation process is divided into multiple discrete resource negotiation time slots, and the network physical status is collected and subsequent resource configuration is completed within each resource negotiation time slot.

[0016] The local observation state of the node is defined as follows: The joint state of the entire network is obtained by fusing the local observation states of multiple nodes and is used for joint value evaluation during the training phase of the multi-agent near-end policy optimization algorithm; wherein, For nodes In the time slot The local observation status, For nodes The remaining energy, For nodes The queue state, For nodes Next hop node The link transmission rate between them For nodes Historical relay load.

[0017] The node resource pressure is determined based on the node's remaining energy, node queue status, and historical relay load, and is expressed as follows: The link comprehensive negotiation cost is determined based on the link transmission delay, link transmission rate, and resource pressure of the candidate next-hop node, and is expressed as: ;in, For nodes The pressure on node resources For nodes Next hop node The overall negotiation cost of the links between them For nodes Next hop node Link transmission delay between These are the weighting coefficients for the node's remaining energy, the node's queue status, and the historical relay load, respectively. These are the weighting coefficients for link transmission delay, link transmission rate, and resource pressure of candidate next-hop nodes, respectively. To prevent constants with a denominator of zero.

[0018] The Multi-Agent (MDP) model sets each sensing terminal or relay node as an agent, uses the local observation state of each node as the observation space of the corresponding agent, and uses the network-wide joint state generated by the digital twin model as the global state during the training phase. It uses the continuous bandwidth allocation ratio of each link for different alarm service flows as the action space, and uses the link comprehensive negotiation cost, alarm service quality, node energy consumption imbalance, and constraint violation as the reward function. Among these, the agents... action Represented as: , For time slots Inner Link Assigned to alarm service flow The bandwidth ratio allocated to each concurrent alarm service flow on the same link shall not exceed the available bandwidth ratio of the link.

[0019] The MAPPO algorithm, which employs centralized training and distributed execution, is used to solve the multi-agent MDP model. Specifically, it includes:

[0020] Initialize the Actor network and centralized Critic network for each agent in the edge digital twin space;

[0021] Input the local observation state of each agent into the corresponding Actor network, and output the continuous bandwidth allocation action of each link for different alarm service flows;

[0022] The joint state of the entire network generated by the digital twin model is input into the Critic network to evaluate the value of the joint actions of each agent.

[0023] The strategy advantage is calculated based on the reward function, and the parameters of the Actor network and Critic network are updated using a near-end strategy optimization method.

[0024] After multiple rounds of iterative training, a converged communication resource negotiation strategy was obtained.

[0025] The technical solution adopted by this invention to solve its technical problem is: to provide a substation multi-hop relay network communication resource negotiation device based on edge digital twin-assisted MAPPO, comprising:

[0026] The first establishment module is used to establish a substation multi-hop relay communication network, which includes an edge gateway, a sensing terminal, and a relay node.

[0027] The second module is used to establish a digital twin model of the substation multi-hop relay communication network in the edge server to generate the local observation state of the nodes and the joint state of the entire network.

[0028] The module is used to acquire the network operation status of each sensing terminal and relay node, calculate the node resource pressure and link comprehensive negotiation cost based on the network operation status, and construct the communication resource negotiation process of the substation multi-hop relay network as a multi-agent MDP model, where the action space is the continuous bandwidth allocation ratio of different alarm service flows.

[0029] The training execution module is used to solve the multi-agent MDP model using the MAPPO algorithm with centralized training and distributed execution, generate a communication resource negotiation strategy, perform bandwidth allocation and alarm service transmission according to the communication resource negotiation strategy, and feed back the network status after execution to the digital twin model.

[0030] The Multi-Agent (MDP) model sets each sensing terminal or relay node as an agent, uses the local observation state of each node as the observation space of the corresponding agent, and uses the network-wide joint state generated by the digital twin model as the global state during the training phase. It uses the continuous bandwidth allocation ratio of each link for different alarm service flows as the action space, and uses the link comprehensive negotiation cost, alarm service quality, node energy consumption imbalance, and constraint violation as the reward function. Among these, the agents... action Represented as: , For time slots Inner Link Assigned to alarm service flow The bandwidth ratio allocated to each concurrent alarm service flow on the same link shall not exceed the available bandwidth ratio of the link.

[0031] The technical solution adopted by the present invention to solve its technical problem is: to provide an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, it implements the steps of the above-mentioned substation multi-hop relay network communication resource negotiation method based on edge digital twin-assisted MAPPO.

[0032] The technical solution adopted by the present invention to solve its technical problem is: to provide a computer-readable storage medium on which a computer program is stored, wherein when the computer program is executed by a processor, the steps of the above-mentioned method for negotiating communication resources of substation multi-hop relay network based on edge digital twin-assisted MAPPO are implemented.

[0033] Beneficial effects

[0034] By adopting the above-mentioned technical solutions, this invention has the following advantages and positive effects compared with existing technologies: This invention relies on edge digital twins to map the energy, queue, and link speed of all network nodes in real time, generating global joint observations. This solves the problem of difficulty in obtaining global state due to substation obstruction and electromagnetic interference, providing complete and accurate network data for algorithm training. By introducing node resource pressure and link negotiation cost constraints on bandwidth allocation, it avoids traffic concentration at bottleneck relays, balances node energy consumption, and reduces alarm service transmission latency and link congestion. This invention adopts a MAPPO centralized training and distributed execution architecture. During training, it utilizes a twin global state optimization strategy, requiring only local observations for bandwidth allocation online, significantly reducing signaling interaction overhead between nodes. The action space is set as a continuous bandwidth ratio, adapting to the dynamic scheduling of multiple concurrent alarm services in substations. After strategy execution, the state is looped back to the twin model for continuous iterative optimization of resource allocation, taking into account service QoS, load balancing, and long-term network stability. Attached Figure Description

[0035] Figure 1 This is a diagram of the substation multi-hop cooperative relay network system architecture in the first embodiment of the present invention.

[0036] Figure 2 This is a diagram of the edge digital twin MDP algorithm architecture in the first embodiment of the present invention;

[0037] Figure 3 This is a flowchart of the MAPPO algorithm in the first embodiment of the present invention. Detailed Implementation

[0038] The present invention will be further illustrated below with reference to specific embodiments. It should be understood that these embodiments are for illustrative purposes only and are not intended to limit the scope of the invention. Furthermore, it should be understood that after reading the teachings of this invention, those skilled in the art can make various alterations or modifications to the invention, and these equivalent forms also fall within the scope defined by the appended claims.

[0039] The first embodiment of the present invention relates to a method for negotiating communication resources in a substation multi-hop relay network based on edge digital twin-assisted MAPPO, comprising the following steps:

[0040] Step 1: Establish a multi-hop relay communication network for the substation, which includes an edge gateway, a sensing terminal, and relay nodes.

[0041] like Figure 1As shown, the substation multi-hop relay communication network established in this step consists of an edge gateway or aggregation node, multiple fixed sensing terminals, multiple fixed relay nodes, and at least one mobile relay node. The sensing terminals are distributed in areas such as transformers, switches, and cable trenches, collecting status, electrical, and alarm data. When obstructed by equipment or limited by distance, the data is forwarded to the gateway via fixed relays or mobile robots through multiple hops. The edge server is responsible for aggregating data and constructing a digital twin model of the substation wireless network, collaboratively executing state mapping, policy training, and resource negotiation tasks.

[0042] When establishing a multi-hop relay communication network for a substation, the specific steps are as follows:

[0043] First, the substation multi-hop relay communication network is represented as a directed connected graph: .in, Represents a set of fixed sensing terminals. Represents the set of relay nodes. Indicates edge gateway, This represents a set of communication links.

[0044] Next, node locations are set according to the monitoring needs of different equipment areas within the substation. The two-dimensional coordinates are represented as: .

[0045] Then, when the distance between nodes, link quality, and device obstruction meet the preset communication conditions, the node is determined. With nodes There is a communication link between them , where nodes With nodes The distance between them is expressed as: .

[0046] Finally, the network operation process is divided into multiple discrete resource negotiation time slots, and the network physical status is collected and subsequent resource configuration is completed within each resource negotiation time slot.

[0047] Step 2: Establish a digital twin model of the substation multi-hop relay communication network in the edge server to generate the local observation state of the nodes and the joint state of the entire network.

[0048] In this step, the local observation state of a node is defined as follows: ,in, For nodes In the time slot The local observation status, For nodes The remaining energy, For nodes The queue state, For nodes Next hop node The link transmission rate between them For nodes The historical relay load. In this embodiment, the node Historical relay load can be updated using an exponential moving average method, i.e. , For smoothing coefficients, This represents the current time slot load. The joint state of the entire network in this step is obtained by fusing the local observation states of multiple nodes and is used for joint value evaluation during the training phase of the multi-agent near-end policy optimization algorithm.

[0049] Step 3: Obtain the network operation status of each sensing terminal and relay node, calculate the node resource pressure and link comprehensive negotiation cost based on the network operation status, and construct the communication resource negotiation process of the substation multi-hop relay network as a multi-agent MDP model, where the action space is the continuous bandwidth allocation ratio of different alarm service flows.

[0050] In this step, node resource pressure is determined based on the node's remaining energy, node queue status, and historical relay load, and is expressed as: The overall negotiation cost of the link is determined based on the link transmission delay, link transmission rate, and resource pressure of the candidate next-hop node, and is expressed as: . These are the weighting coefficients for the node's remaining energy, the node's queue status, and the historical relay load, respectively. These are the weighting coefficients for link transmission delay, link transmission rate, and resource pressure of candidate next-hop nodes, respectively. To prevent constants with a denominator of zero.

[0051] Among them, nodes Next hop node Link transmission rate It can be done through: The calculation yielded that, To allocate bandwidth, For transmission power, For environmental noise power, For link In the time slot The channel gain is expressed as: , The channel gain at the reference distance. This is the path loss index. This represents the small-scale fading coefficient. Additional attenuation coefficient caused by shielding of transformers, switchgear, metal frames and other equipment and electromagnetic interference.

[0052] For nodes Next hop node The transmission delay of the link between them can be achieved through... Calculations show that The length of the alarm service flow data packet. This represents the queuing delay corresponding to the link.

[0053] like Figure 2 As shown, the multi-agent MDP model constructed in this step sets each sensing terminal or relay node as an agent, uses the local observation state of each node as the observation space of the corresponding agent, uses the network-wide joint state generated by the digital twin model as the global state in the training phase, uses the continuous bandwidth allocation ratio of each link for different alarm service flows as the action space, and uses the link comprehensive negotiation cost, alarm service quality, node energy consumption imbalance and constraint violation as the reward function.

[0054] Among them, intelligent agents action Represented as: , For time slots Inner Link Assigned to alarm service flow The bandwidth ratio, where the sum of the bandwidth ratios allocated to each concurrent alarm service flow on the same link does not exceed the available bandwidth ratio of the link. The reward function is expressed as: ;in, This is the cost of comprehensive negotiation for the link; The weighting factor for service quality penalties; This is a Quality of Service (QoS) penalty item; This is the weighting factor for energy consumption imbalance; This represents the energy consumption imbalance coefficient between relay nodes; Penalties are imposed to punish violations of constraints such as energy levels falling below the safety threshold or queue overflow.

[0055] Step 4: Solve the multi-agent MDP model using the MAPPO algorithm with centralized training and distributed execution, generate a communication resource negotiation strategy, perform bandwidth allocation and alarm service transmission according to the communication resource negotiation strategy, and feed back the network status after execution to the digital twin model.

[0056] The core of the optimization in this step is to dynamically execute a bandwidth negotiation and allocation strategy while meeting physical red line constraints. The Quality of Service (QoS) resilience penalty is defined as follows:

[0057] ;

[0058] The global optimization objective and constraints can be expressed as:

[0059] ;

[0060] ;

[0061] and This indicates bandwidth allocation constraints, ensuring that the proportion of total bandwidth of concurrent flows carried by a single link cannot exceed the limit; This represents a node energy constraint, ensuring that the remaining energy of a relay node must be higher than the safe survival threshold. ; This indicates that the queue capacity constraint limits the number of concurrent service flows that can be accessed by a node, which is limited by the hardware queue capacity. .

[0062] like Figure 3 As shown, in this step, the algorithm adopts the centralized training and distributed execution (CTDE) paradigm when solving the problem.

[0063] During the offline centralized training phase, multiple groups of agents are instantiated in parallel within the edge twin space to interact with the environment. For any agent, its Actor network receives local observations. It generates a probability distribution of continuous actions, and the Critic network receives the global state. Value assessment is performed and generalized advantage estimation is calculated. The Actor network parameters are updated by maximizing a composite objective function that includes policy pruning terms and entropy rewards, and the Critic network parameters are updated by minimizing temporal difference (TD) error.

[0064] During the online distributed execution phase, once training converges, only the trained Actor policies are deployed to the corresponding relay nodes; the Critic network does not participate in online decision-making. In each resource negotiation slot, the nodes... Based on local observations Perform a single forward inference and map the output to an activation function. The interval is used to obtain the continuous bandwidth allocation ratio. After normalization or projection processing to meet the total bandwidth constraint, it is applied to the physical data link.

[0065] After resource allocation is executed, each sensing terminal, relay node, mobile inspection robot, and edge gateway feeds back the updated link transmission rate, node queue status, remaining energy, and historical forwarding load to the edge digital twin model. This information is used to update the local observation status and global environment status for the next resource negotiation slot, thus forming a closed-loop communication resource negotiation process. The specific process is as follows:

[0066] (1) Construct multiple agents in parallel in the edge digital twin space. Each agent includes an Actor network and a centralized Critic network is set up to receive the joint state of the entire network.

[0067] (2) Input the local observation state of the agent into the corresponding Actor network to obtain the probability distribution of continuous actions, and sample the continuous bandwidth allocation ratio of each alarm service flow from it;

[0068] (3) Input the network-wide joint state generated by the digital twin model and the joint actions generated by each agent into the Critic network, calculate the state value, and calculate the time difference error based on the current reward, the state value of the next time slot and the discount factor;

[0069] (4) Calculate the generalized advantage estimate based on the time-series difference error, and construct the pruning agent objective function based on the ratio of action probabilities before and after policy update;

[0070] (5) Update the Actor network parameters by maximizing the Actor objective function, which includes the pruning agent objective and the entropy reward, and update the Critic network parameters by minimizing the value estimation error;

[0071] (6) Repeatedly perform state acquisition, action generation, reward calculation, trajectory storage and network parameter update until the cumulative reward, Actor network parameters or resource negotiation performance reach the preset convergence condition;

[0072] (7) After training, retain the Actor network of each agent and deploy it to the corresponding node or edge control device for online bandwidth resource negotiation and physical link configuration, and feed the execution results back to the digital twin model closed-loop update.

[0073] It is easy to see that this invention relies on edge digital twins to map the energy, queues, link rates, and other states of all network nodes in real time, generating global joint observations. This solves the problem of difficulty in obtaining global states caused by substation obstruction and electromagnetic interference, providing complete and accurate network data for algorithm training. By introducing node resource pressure and link negotiation costs to constrain bandwidth allocation, it avoids traffic concentration at bottleneck relays, balances node energy consumption, and reduces alarm service transmission latency and link congestion. This invention adopts a MAPPO centralized training and distributed execution architecture. During training, it utilizes a twin global state optimization strategy, requiring only local observations for bandwidth allocation online, significantly reducing signaling interaction overhead between nodes. The action space is set as a continuous bandwidth ratio to adapt to the dynamic scheduling of multiple concurrent alarm services in substations. After strategy execution, the state is looped back to the twin model for continuous iterative optimization of resource allocation, taking into account service QoS, load balancing, and long-term network stability.

[0074] The second embodiment of the present invention relates to a substation multi-hop relay network communication resource negotiation device for edge digital twin-assisted MAPPO, comprising:

[0075] The first establishment module is used to establish a substation multi-hop relay communication network, which includes an edge gateway, a sensing terminal, and a relay node.

[0076] The second module is used to establish a digital twin model of the substation multi-hop relay communication network in the edge server to generate the local observation state of the nodes and the joint state of the entire network.

[0077] The module is used to acquire the network operation status of each sensing terminal and relay node, calculate the node resource pressure and link comprehensive negotiation cost based on the network operation status, and construct the communication resource negotiation process of the substation multi-hop relay network as a multi-agent MDP model, where the action space is the continuous bandwidth allocation ratio of different alarm service flows.

[0078] The training execution module is used to solve the multi-agent MDP model using the MAPPO algorithm with centralized training and distributed execution, generate a communication resource negotiation strategy, perform bandwidth allocation and alarm service transmission according to the communication resource negotiation strategy, and feed back the network status after execution to the digital twin model.

[0079] The first module includes:

[0080] A representation unit is used to represent the multi-hop relay communication network of a substation as a directed connected graph;

[0081] The monitoring unit is used to set the node locations according to the monitoring needs of different equipment areas in the substation. The sensing terminals are respectively set in the transformer area, switch equipment area, busbar area, cable trench, relay protection room and other equipment areas to be monitored. The relay nodes are set in areas with equipment obstruction, communication blind spots or long-distance transmission needs.

[0082] The establishment unit is used to establish a communication link between the nodes when the distance between the nodes, the link quality, and the device obstruction meet the preset communication conditions.

[0083] The partitioning unit is used to divide the network operation process into multiple discrete resource negotiation time slots, and complete the collection of network physical status and subsequent resource configuration within each resource negotiation time slot.

[0084] The local observation state of the node is defined as follows: The joint state of the entire network is obtained by fusing the local observation states of multiple nodes and is used for joint value evaluation during the training phase of the multi-agent near-end policy optimization algorithm; wherein, For nodes In the time slot The local observation status, For nodes The remaining energy, For nodes The queue state, For nodes Next hop node The link transmission rate between them For nodes Historical relay load.

[0085] The node resource pressure is determined based on the node's remaining energy, node queue status, and historical relay load, and is expressed as follows: The link comprehensive negotiation cost is determined based on the link transmission delay, link transmission rate, and resource pressure of the candidate next-hop node, and is expressed as: ;in, For nodes The pressure on node resources For nodes Next hop node The overall negotiation cost of the links between them For nodes Next hop node Link transmission delay between These are the weighting coefficients for the node's remaining energy, the node's queue status, and the historical relay load, respectively. These are the weighting coefficients for link transmission delay, link transmission rate, and resource pressure of candidate next-hop nodes, respectively. To prevent constants with a denominator of zero.

[0086] The Multi-Agent (MDP) model sets each sensing terminal or relay node as an agent, uses the local observation state of each node as the observation space of the corresponding agent, and uses the network-wide joint state generated by the digital twin model as the global state during the training phase. It uses the continuous bandwidth allocation ratio of each link for different alarm service flows as the action space, and uses the link comprehensive negotiation cost, alarm service quality, node energy consumption imbalance, and constraint violation as the reward function. Among these, the agents... action Represented as: , For time slots Inner Link Assigned to alarm service flow The bandwidth ratio allocated to each concurrent alarm service flow on the same link shall not exceed the available bandwidth ratio of the link.

[0087] The training execution module includes:

[0088] An initialization unit is used to initialize the Actor network and centralized Critic network of each agent in the edge digital twin space;

[0089] The input unit is used to input the local observation state of each agent into the corresponding Actor network and output the continuous bandwidth allocation action of each link for different alarm service flows.

[0090] The evaluation unit is used to input the network-wide joint state generated by the digital twin model into the Critic network to evaluate the value of the joint actions of each agent.

[0091] The calculation update unit is used to calculate the policy advantage based on the reward function and update the Actor network parameters and Critic network parameters using a near-end policy optimization method.

[0092] The training unit is used to obtain a converged communication resource negotiation strategy through multiple rounds of iterative training.

[0093] The third embodiment of the present invention relates to an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the steps of the substation multi-hop relay network communication resource negotiation method based on edge digital twin-assisted MAPPO of the first embodiment.

[0094] The fourth embodiment of the present invention relates to a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the substation multi-hop relay network communication resource negotiation method based on edge digital twin-assisted MAPPO of the first embodiment.

[0095] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product implemented on one or more computer-usable storage media (including, but not limited to, disk storage and optical storage) containing computer-usable program code.

[0096] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0097] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction methods implemented in a process. Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0098] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0099] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the present invention should be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

1. A substation multi-hop relay network communication resource negotiation method based on edge digital twin assisted MAPPO, characterized in that, The method comprises the steps of: establishing a substation multi-hop relay communication network, the substation multi-hop relay communication network comprising an edge gateway, a perception terminal and a relay node; establishing a digital twin model of the substation multi-hop relay communication network in an edge server to generate node local observation states and a global network joint state; obtaining network operation states of each perception terminal and relay node, calculating node resource pressure and link comprehensive negotiation cost according to the network operation states, and constructing a communication resource negotiation process of the substation multi-hop relay network into a multi-agent MDP model, wherein the action space is the continuous bandwidth allocation proportion of different alarm service flows; solving the multi-agent MDP model by using a centralized training and distributed execution MAPPO algorithm to generate a communication resource negotiation strategy, performing bandwidth allocation and alarm service transmission according to the communication resource negotiation strategy, and feeding back the executed network state to the digital twin model.

2. The edge-based digital twin-assisted MAPPO substation multi-hop relay network communication resource negotiation method according to claim 1, characterized in that, The step of establishing a substation multi-hop relay communication network specifically comprises: representing the substation multi-hop relay communication network as a directed connected graph; setting node positions according to monitoring requirements of different equipment regions in the substation, wherein the perception terminals are respectively set in transformer regions, switch equipment regions, busbar regions, cable trenches, relay protection rooms and other to-be-monitored equipment regions, and the relay nodes are set in regions where there is equipment obstruction, a communication blind area or a long-distance transmission requirement; establishing a communication link between nodes when the distance between the nodes, the link quality and the equipment obstruction meet preset communication conditions; dividing a network operation process into multiple discrete resource negotiation time slots, and completing network physical state acquisition and subsequent resource configuration in each resource negotiation time slot.

3. The edge-based digital twin-assisted MAPPO substation multi-hop relay network communication resource negotiation method according to claim 1, characterized in that, The node local observation state is defined as: The global network joint state is obtained by fusing the local observation states of multiple nodes, and is used for joint value evaluation in the multi-agent proximal policy optimization algorithm training stage; wherein, is the local observation state of node at time slot , is the remaining energy of node , is the queue state of node , is the link transmission rate between node and the next hop node , is the historical relay load of node .

4. The edge-based digital twin-assisted MAPPO substation multi-hop relay network communication resource negotiation method according to claim 3, characterized in that, The node resource pressure is determined according to a node residual energy, a node queue state and a historical relay load, and is represented as: The link comprehensive negotiation cost is determined according to a link transmission delay, a link transmission rate and a resource pressure of a candidate next hop node, and is represented as: Wherein, is a node resource pressure of a node , is a link comprehensive negotiation cost between a node and a next hop node , is a link transmission delay between a node and a next hop node , are weight coefficients of a node residual energy, a node queue state and a historical relay load respectively, are weight coefficients of a link transmission delay, a link transmission rate and a resource pressure of a candidate next hop node respectively, is a constant for preventing a denominator from being zero.

5. The edge-based digital twin-assisted MAPPO substation multi-hop relay network communication resource negotiation method according to claim 1, characterized in that, The multi-agent MDP model sets each perception terminal or relay node as an agent, sets the local observation state of each node as the observation space of the corresponding agent, sets the joint state of the whole network generated by the digital twin model as the global state in the training phase, sets the continuous bandwidth allocation proportion of each link to different alarm service flows as the action space, and sets the comprehensive negotiation cost of the link, the quality of service of the alarm service, the imbalance degree of the node energy consumption, and the constraint violation situation as the reward function; wherein the action of the agent is represented as: , is the bandwidth proportion allocated to the alarm service flow by the link in the time slot . The sum of the bandwidth proportions allocated to each concurrent alarm service flow by the same link does not exceed the available bandwidth proportion of the link.​​​​ 6. The edge-based digital twin-assisted MAPPO substation multi-hop relay network communication resource negotiation method according to claim 5, characterized in that, The step of solving the multi-agent MDP model by using a centralized training and distributed execution MAPPO algorithm specifically comprises: initializing an Actor network and a centralized Critic network of each agent in an edge digital twin space; inputting a local observation state of each agent into a corresponding Actor network to output a continuous bandwidth allocation action of each link facing different alarm service flows; inputting a global network joint state generated by the digital twin model into the Critic network to evaluate the joint action of each agent; calculating a policy advantage according to a reward function, and updating Actor network parameters and Critic network parameters by using a proximal policy optimization method; obtaining a converged communication resource negotiation strategy after multiple rounds of iterative training.

7. An edge-based digital-twin-assisted MAPPO substation multi-hop relay network communication resource negotiation apparatus, characterized in that, The method comprises the steps of: a first establishing module is configured to establish a substation multi-hop relay communication network, the substation multi-hop relay communication network comprising an edge gateway, a perception terminal and a relay node; a second establishing module is configured to establish a digital twin model of the substation multi-hop relay communication network in an edge server to generate node local observation states and a global network joint state; The construction module is configured to acquire network operation states of each sensing terminal and relay node, calculate node resource pressure and link comprehensive negotiation cost according to the network operation states, and construct a communication resource negotiation process of the substation multi-hop relay network into a multi-agent MDP model, wherein an action space is a continuous bandwidth allocation proportion of different alarm service flows. The training execution module is configured to solve the multi-agent MDP model by using a MAPPO algorithm in a centralized training and distributed execution mode, generate a communication resource negotiation strategy, perform bandwidth allocation and alarm service transmission according to the communication resource negotiation strategy, and feed back a network state after execution to the digital twin model.

8. The edge-based digital twin-assisted MAPPO substation multi-hop relay network communication resource negotiation apparatus according to claim 7, wherein, The Multi-Agent (MDP) model sets each sensing terminal or relay node as an agent, uses the local observation state of each node as the observation space of the corresponding agent, and uses the network-wide joint state generated by the digital twin model as the global state during the training phase. It uses the continuous bandwidth allocation ratio of each link for different alarm service flows as the action space, and uses the link comprehensive negotiation cost, alarm service quality, node energy consumption imbalance, and constraint violation as the reward function. Among these, the agents... action Represented as: , For time slots Inner Link Assigned to alarm service flow The bandwidth ratio, the sum of the bandwidth ratios allocated to each concurrent alarm service flow on the same link shall not exceed the available bandwidth ratio of the link.

9. An electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, The processor implements the steps of the substation multi-hop relay network communication resource negotiation method based on edge digital twin assisted MAPPO according to any one of claims 1-6 when executing the computer program.

10. A computer-readable storage medium having stored thereon a computer program, characterized in that, The computer program implements the steps of the substation multi-hop relay network communication resource negotiation method based on edge digital twin assisted MAPPO according to any one of claims 1-6 when executed by the processor.