Large power grid full-link heterogeneous data high-speed circulation and calculation method and system

By modeling the heterogeneous data circulation and calculation in the entire large power grid as a Markov chain and using the Q-learning algorithm, the congestion and resource allocation problems of data circulation and calculation in the large power grid are solved, and accurate mining of congested nodes is achieved. and resource optimization, improving data processing efficiency and power grid stability.

CN118708352APending Publication Date: 2024-09-27DEZHOU POWER SUPPLY COMPANY OF STATE GRID SHANDONG ELECTRIC POWER +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410842991.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-27
Publication Date
2024-09-27

AI Technical Summary

Technical Problem

The circulation and calculation of heterogeneous data in all aspects of large power grids face problems of congestion and unreasonable allocation of computing resources. Existing technologies fail to accurately mine congested nodes and rationally allocate computing resources.

Method used

Model the circulation and calculation of heterogeneous data in all aspects of the large power grid as a Markov chain, initialize the Q table to record the Q value of each network node status, use the computationally aware Q-learning algorithm to evaluate the node circulation utility and congestion degree, and use the circulation The utility increment function optimizes the allocation of computing resources.

Benefits of technology

It achieves accurate mining of congested nodes and reasonable allocation of computing resources, improves data circulation efficiency and computing resource utilization, and supports the safe and stable operation of large power grids.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118708352A
    Figure CN118708352A
Patent Text Reader

Abstract

The invention relates to a large power grid full-link heterogeneous data high-speed circulation and calculation method and system, and belongs to the technical field of telecommunication. The method comprises the following steps: constructing a Markov chain for circulation and calculation of all-link heterogeneous data of a large power grid, recording a Q value corresponding to each network node state, evaluating the circulation effectiveness of each node in combination with the Q value and the node calculation complexity, further calculating the node congestion degree, and obtaining a congestion node set of each link. The congestion nodes are judged and mined through the node congestion degree, reliable information guarantee is provided for full-link heterogeneous data circulation of a large power grid, and a reasonable basis is provided for computing resource allocation. The computing resource configuration test is carried out on the congested nodes, the circulation utility increment function is constructed, the reasonability of computing resource configuration is enhanced through introduction of the circulation utility increment function, the utilization rate of the total computing resource amount is effectively improved, then the overall efficiency of large power grid full-link heterogeneous data processing is improved, and safe and stable operation of a large power grid is supported.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a method and system for high-speed circulation and calculation of heterogeneous data in all links of a large power grid, belonging to the technical field of electrical communication. Background Art

[0002] At present, with the continuous expansion of the power supply range and capacity of large power grids, the demand for high-speed circulation and computing of heterogeneous data in all links of large power grids continues to surge. On the one hand, under the construction system of full-domain interoperability, online transparency and cross-domain collaborative linkage driven by data elements, high-speed data circulation is an inevitable requirement for optimizing the emerging business model of large power grids and promoting the innovative application of heterogeneous data in all links. On the other hand, the reasonable allocation of computing resources at each node can improve data processing efficiency, ensure data security, and support the safe and stable operation of large power grids. However, due to the massive growth of heterogeneous data and the involvement of multiple data types and computing tasks, the circulation and computing of heterogeneous data in all links of large power grids face challenges such as congestion in the circulation process and unreasonable configuration of computing resources. In order to accurately mine congested nodes, reasonably allocate computing resources, and realize the high-speed circulation of heterogeneous data, it is urgent to study the high-speed circulation and computing methods and systems of heterogeneous data in all links of large power grids.

[0003] At present, there have been some studies on data circulation and calculation methods:

[0004] The patent "A trusted data circulation platform system method based on privacy computing and blockchain" proposes a trusted data circulation platform system method based on privacy computing and blockchain. First, the data circulation process nodes are obtained based on the DOM method, and the obtained nodes are managed and controlled using the POW consensus algorithm; secondly, the node security is verified based on the Monte Carlo algorithm, and the identity authentication is performed based on the elliptic curve digital signature algorithm, and the identity authentication result is output; then, a secure space is built in the CPU through hardware expansion and isolation of external hardware, and the secure space permissions are obtained using the extensible authentication protocol; finally, the identity authentication result is calculated, and the calculation result is output based on the extensible hash controlled replication algorithm in distributed storage.

[0005] The patent "A data circulation method, device, equipment and medium" proposes a data circulation method, device, equipment and medium. First, determine the data circulation nodes and the corresponding editable configuration items and the actual data flow nodes; second, determine the next-level data circulation nodes associated with the previous-level actual flow nodes, and determine the editable configuration items of the next-level data circulation nodes based on the node calculation amount; finally, determine the actual flow nodes that meet the data circulation end conditions as the data circulation focus based on the node calculation resources.

[0006] However, the existing data circulation and calculation methods still have the following two shortcomings: First, the influence of node calculation complexity and node circulation utility on node congestion is not considered, which makes it difficult to accurately mine congested nodes. Second, the calculation resource configuration based on the total amount of configurable computing resources and the incremental difference of circulation utility is not considered, which leads to the problem of poor rationality of computing resource configuration. Therefore, it is urgent to design a high-speed circulation and calculation method and system for heterogeneous data in all links of large power grids, construct the circulation and calculation of heterogeneous data in all links of large power grids into Markov chains, and initialize the Q table based on this to record the Q value corresponding to the state of each network node. The computing-aware Q-learning algorithm is used to continuously update the Q value through interaction with the environment, evaluate the node circulation utility according to the obtained Q value, calculate the node congestion, and obtain the set of congested nodes in each link. On this basis, the computing resource configuration test is carried out on the congested nodes, the circulation utility incremental function is constructed, the circulation utility incremental difference of each congested node in the link is calculated, and the computing resources are configured based on the total amount of configurable computing resources and the incremental difference of circulation utility, which effectively improves the rationality of computing resource configuration, solves the node congestion problem, and promotes the efficient circulation of heterogeneous data.

[0007] In view of the above-mentioned defects, the present invention aims to create a method and system for high-speed circulation and calculation of heterogeneous data in all links of a large power grid, so as to make it more valuable for industrial use. Summary of the invention

[0008] In order to solve the above technical problems, the purpose of the present invention is to provide a method and system for high-speed circulation and calculation of heterogeneous data in all links of a large power grid.

[0009] The invention discloses a method for high-speed circulation and calculation of heterogeneous data in all links of a large power grid, which specifically comprises the following steps: modeling the circulation and calculation of heterogeneous data in all links of the power grid as a Markov chain; secondly, initializing the Q value corresponding to each network node state recorded in the Q table according to the Markov chain, and evaluating the circulation utility of each node based on the Q value; finally, mining the congested nodes of data circulation based on the Q value and the calculation complexity of the node;

[0010] Based on the circulation utility and congested node set obtained in the above steps, a circulation utility increment function is constructed and the circulation utility increment difference is calculated according to the pre-configuration of computing resources. Then, based on the total amount of configurable computing resources and the circulation utility increment difference, computing resources are configured to achieve high-speed circulation and calculation of heterogeneous data in all links of the large power grid.

[0011] Furthermore, the Markov chain modeling steps are:

[0012] The data circulation of large power grid mainly consists of N links, including data collection, data desensitization, data encryption, data compression, and data circulation. The node set of the nth link is defined as is the mth node of the nth link, M n is the total number of nodes in the nth link, the configuration adjustment observation time is divided into T time periods, and the time period set is defined as

[0013] The circulation and calculation of heterogeneous data in all links of the large power grid are constructed as a Markov chain, and the state space S(t) of the circulation and calculation of heterogeneous data in all links of the large power grid in the tth period is defined, which is expressed as is the node data volume set, A m (t) is the node The amount of data, It is the action space for heterogeneous data flow and calculation in all links of the large power grid, where For Node Compute resource configuration actions.

[0014] Furthermore, the step of evaluating the circulation utility of each node based on the Q value is:

[0015] The Q table is used to record the Q value corresponding to each network node state, that is, Using the computationally aware Q-learning algorithm, the Q value is continuously updated through interaction with the environment; the Q value update formula is:

[0016]

[0017] Among them, δ is the preset discount factor, η is the preset attenuation value, Rewards for performing computational resource allocation actions, For Node The computational complexity is , τ is the preset time period length; the node circulation utility can be evaluated based on the obtained Q value, the larger the Q value of each node, the higher the node circulation utility.

[0018] Furthermore, the steps of mining congested nodes are:

[0019] node The congestion calculation formula is:

[0020]

[0021] Among them, Q min is the preset minimum Q value, ψ∈(0,1) is the time attention parameter, the earlier the time period, the smaller its weight, the lower the reference value of circulation utility and computational complexity; according to the obtained congestion degree, it can be mined whether the node is a congested node. If the node congestion degree is Greater than the preset congestion threshold of the link Then the node is a congested node, and thus the congested node set Θ of each link can be obtained n .

[0022] Furthermore, the step of constructing the circulation utility increment function according to the pre-configuration of computing resources is as follows:

[0023] Conduct computing resource configuration tests on congested nodes to build a circulation utility increment function It shows that there is additional benefit from configuring computing resources, and The larger it is, the greater the benefit of adding computing resources; The calculation formula is:

[0024]

[0025] in, For Node The computing resource configuration test quota is used to test the impact of computing resource configuration on congested nodes. Indicates the additional benefits brought by configuring unit computing resources.

[0026] Furthermore, the step of calculating the incremental difference of circulation utility is:

[0027] Incremental difference in circulation utility The calculation formula is

[0028]

[0029] Among them, κ is the preset weight parameter, For Node congestion.

[0030] Furthermore, the steps of configuring computing resources based on the total amount of configurable computing resources and the incremental difference in circulation utility are:

[0031] According to the incremental difference in circulation utility obtained And can increase the total amount of computing resources Computing resources are allocated to congested nodes in each link, and the incremental circulation utility is poor. The larger the value, the more computing resources the congested node needs to configure. If it is not a congested node, no additional configuration is required for the node. Resource allocation quota ΔF m The calculation formula is:

[0032]

[0033] in, The total amount of computing resources that can be increased for the nth link.

[0034] A high-speed circulation and computing system for heterogeneous data in all links of a large power grid, including high-speed circulation and computing modules of N links and a global resource configuration module, wherein the high-speed circulation and computing module of each link includes a circulation data acquisition module, a communication module, an edge computing module, a computing complexity perception module, a computing time perception module and an interaction module;

[0035] in:

[0036] Global resource configuration module: used to construct a Markov chain and initialize the Q table based on the obtained Markov chain, used to record the Q value corresponding to the node state; use the computational amount-aware Q-learning algorithm to continuously update the Q value through interaction with the environment, evaluate the node circulation utility based on the obtained Q value, and obtain the set of congested nodes in each link; perform computing resource configuration tests on congested nodes, thereby constructing a circulation utility increment function and calculating the circulation utility increment difference of congested nodes; configure computing resources based on the total amount of configurable computing resources and the circulation utility increment difference; configure computing resources for congested nodes in each link based on the obtained circulation utility increment difference and the total amount of computing resources that can be increased, and transmit the computing resource configuration strategy to each link;

[0037] Circulation data acquisition module: used to collect heterogeneous data from all aspects of the large power grid;

[0038] Communication module: used to receive the computing resource configuration strategy transmitted by the global resource configuration module and transmit the computing amount, the time required to process the current data and other status information to the global resource configuration module;

[0039] Edge computing module: used to process the circulation data of each node in the link according to the computing resource configuration strategy transmitted by the global resource configuration module;

[0040] Computational complexity perception module: used to perceive the computational complexity of each node in the link;

[0041] Computation time perception module: used to perceive the time required for each node in the link to process the current data;

[0042] Interaction module: used for information interaction between modules within a link.

[0043] A device for high-speed circulation and calculation of heterogeneous data in all links of a large power grid, comprising:

[0044] Modeling and evaluation module: The heterogeneous data flow and calculation of all links of the power grid are modeled as a Markov chain. Secondly, the Q value corresponding to each network node state recorded in the Q table initialized by the Markov chain is used to evaluate the flow utility of each node based on the Q value; finally, the congested nodes of data flow are mined based on the Q value and the computational complexity of the node;

[0045] Computing configuration module: Based on the circulation utility and congested node set obtained in the above steps, the circulation utility increment function is constructed and the circulation utility increment difference is calculated according to the pre-configuration of computing resources; then, based on the total amount of configurable computing resources and the circulation utility increment difference, computing resources are configured to achieve high-speed circulation and computing of heterogeneous data in all links of the large power grid.

[0046] Furthermore, in the modeling and evaluation module, the Markov chain modeling steps are:

[0047] The data circulation of large power grid mainly consists of N links, including data collection, data desensitization, data encryption, data compression, and data circulation. The node set of the nth link is defined as is the mth node of the nth link, M n is the total number of nodes in the nth link, the configuration adjustment observation time is divided into T time periods, and the time period set is defined as

[0048] The circulation and calculation of heterogeneous data in all links of the large power grid are constructed as a Markov chain, and the state space S(t) of the circulation and calculation of heterogeneous data in all links of the large power grid in the tth period is defined, which is expressed as is the node data volume set, A m (t) is the node The amount of data, It is the action space for heterogeneous data flow and calculation in all links of the large power grid, where For Node Compute resource configuration actions.

[0049] Furthermore, in the computing configuration module, the steps of configuring computing resources based on the total amount of configurable computing resources and the incremental difference of circulation utility are:

[0050] According to the incremental difference in circulation utility obtained And can increase the total amount of computing resources Computing resources are allocated to congested nodes in each link, and the incremental circulation utility is poor. The larger the value, the more computing resources the congested node needs to configure. If it is not a congested node, no additional configuration is required for the node. Resource allocation quota ΔF m The calculation formula is:

[0051]

[0052] in, The total amount of computing resources that can be increased for the nth link.

[0053] By means of the above scheme, the present invention has at least the following advantages:

[0054] (1) The present invention proposes a method for mining nodes with computational congestion based on the circulation and computation of computing volume. The circulation and computation of heterogeneous data in all links of a large power grid are constructed as a Markov chain, and a state space including a set of node data volumes and a set of node actions is defined, which can accurately describe the data circulation and congestion of each node. On this basis, the Q value corresponding to the state of each network node is recorded, and the Q value is continuously updated through interaction with the environment based on the computation-aware Q-Learning algorithm. The circulation utility of each node is evaluated by combining the Q value and the node computational complexity, and then the node congestion degree is calculated to obtain the set of congested nodes in each link. By judging and mining congested nodes through the node congestion degree, reliable information guarantee is provided for the circulation of heterogeneous data in all links of the large power grid, and a reasonable basis is provided for the allocation of computing resources.

[0055] (2) The present invention proposes a computing resource configuration method based on the incremental difference of circulation utility, performs computing resource configuration tests on congested nodes, constructs a circulation utility incremental function, and calculates the incremental difference of circulation utility of each congested node in the link. On this basis, computing resource configuration is completed based on the total amount of configurable computing resources and the incremental difference of circulation utility, so that the benefits are maximized and congestion is minimized after the computing resources are configured. The introduction of the incremental function of circulation utility enhances the rationality of computing resource configuration, effectively improves the utilization rate of the total amount of computing resources, and thus improves the overall efficiency of heterogeneous data processing in all links of the large power grid, supporting the safe and stable operation of the large power grid.

[0056] (3) The present invention proposes a high-speed circulation and computing system for heterogeneous data in all links of a large power grid, including high-speed circulation and computing modules of each link and a global resource configuration module. The high-speed circulation and computing module of each link includes a circulation data acquisition module, a communication module, an edge computing module, a computing complexity perception module, a computing time perception module and an interaction module. The high-speed circulation and computing module of each link transmits its state information to the global resource configuration module for formulating a computing resource configuration strategy. The global resource configuration module is equipped with a circulation and computing congestion node mining method based on computing volume and a computing resource configuration method based on circulation utility. The global resource configuration module first initializes the Q table according to the obtained Markov chain, and uses the computing-aware Q-learning algorithm to update the Q value to evaluate the node circulation utility. Secondly, according to the circulation utility and the set of congested nodes, the computing resource configuration test is performed on the congested nodes, thereby constructing a circulation utility increment function, and realizing the formulation of the computing resource configuration strategy based on the circulation utility increment difference. After the strategy is formulated, the global resource configuration module transmits the computing resource configuration strategy to the high-speed circulation and computing modules of each link, thereby realizing the computing resource configuration of each link. The coordinated operation of various modules has achieved high-speed circulation and calculation of heterogeneous data in all links of the large power grid, enhanced the rationality of computing resource allocation, improved the overall efficiency of heterogeneous data processing, and provided strong technical support for the operation of emerging business models of large power grids.

[0057] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention and implement it according to the contents of the specification, the following is a detailed description of the preferred embodiments of the present invention in conjunction with the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0058] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show a certain embodiment of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.

[0059] Figure 1 It is a flow chart of the high-speed circulation and calculation method of heterogeneous data in all links of a large power grid of the present invention;

[0060] Figure 2 It is a schematic diagram of the high-speed circulation and computing system of heterogeneous data in all links of a large power grid according to the present invention. DETAILED DESCRIPTION

[0061] The specific implementation of the present invention is further described in detail below in conjunction with the accompanying drawings and examples. The following examples are used to illustrate the present invention, but are not intended to limit the scope of the present invention.

[0062] S1: Circulation and computational congestion node mining method based on computational volume

[0063] The present invention proposes a method for mining nodes with congested computation based on computational volume. First, the heterogeneous data circulation and computation of all links of the power grid are modeled as a Markov chain. Secondly, the circulation utility of each node is evaluated based on the Q value. Finally, the congested nodes of data circulation are mined based on the Q value and the computational complexity of the node. The specific steps are as follows:

[0064] S1.1: Markov chain construction. The data circulation of large power grids mainly consists of N links, including data collection, data desensitization, data encryption, data compression, and data circulation. The node set of the nth link is defined as is the mth node of the nth link, M n is the total number of nodes in the nth link, the configuration adjustment observation time is divided into T time periods, and the time period set is defined as In order to conveniently describe the circulation and congestion of heterogeneous data in all links of the large power grid, the present invention constructs the circulation and calculation of heterogeneous data in all links of the large power grid as a Markov chain, and defines the state space S(t) of the circulation and calculation of heterogeneous data in all links of the large power grid in the tth period, which is expressed as is the node data volume set, A m (t) is the node The amount of data, It is the action space for heterogeneous data flow and calculation in all links of the large power grid, where For Node Compute resource configuration actions.

[0065] S1.2: Circulation utility calculation. Initialize the Q table according to the Markov chain described in step S1.1. The Q table is used to record the Q value corresponding to each network node state, that is, Using the computationally aware Q-learning algorithm, the Q value is continuously updated through interaction with the environment. The Q value update formula is:

[0066]

[0067] Among them, δ is the preset discount factor, η is the preset attenuation value, Rewards for performing computational resource allocation actions, For Node The computational complexity of τ is the preset time period length. The node circulation utility can be evaluated based on the obtained Q value. The larger the Q value of each node, the higher the node circulation utility.

[0068] S1.3: Congested node mining. The node congestion is evaluated by using the node circulation utility obtained in step S1.2. The node congestion is the result of the combined effect of the node Q value and the computational complexity. Specifically, a higher Q value may indicate a lower congestion because the Q value usually reflects the node's circulation speed performance. On the other hand, due to the high complexity of the computational task, the node's immediate demand for circulation utility is relatively low, and its tolerance for congestion is high, resulting in lower congestion. In addition, the node congestion should comprehensively consider the circulation utility and computational complexity of T time periods. The congestion calculation formula is:

[0069]

[0070] Among them, Q min is the preset minimum Q value, ψ∈(0,1) is the time attention parameter, the earlier the time period, the smaller its weight, the lower the reference value of circulation utility and computational complexity. According to the obtained congestion degree, we can find out whether the node is a congested node. If the node congestion degree is Greater than the preset congestion threshold of the link Then the node is a congested node, and thus the congested node set Θ of each link can be obtained n .

[0071] S2: Computational resource allocation method based on incremental difference in circulation utility

[0072] The present invention proposes a computing resource configuration method based on the incremental difference of circulation utility. First, a circulation utility incremental function is constructed according to the pre-configuration of computing resources and the incremental difference of circulation utility is calculated. Then, computing resource configuration is performed based on the total amount of configurable computing resources and the incremental difference of circulation utility. The specific steps are as follows:

[0073] S2.1: Based on the circulation utility and congested node set obtained in step S1, in order to measure the impact of computing resource configuration on data circulation, the computing resource configuration test is performed on the congested nodes to construct the circulation utility increment function It shows that there is additional benefit from configuring computing resources, and The larger it is, the greater the benefit of increasing computing resources. The calculation formula is

[0074]

[0075] in, For Node The computing resource configuration test quota is used to test the impact of computing resource configuration on congested nodes. Indicates the additional benefits brought by configuring unit computing resources.

[0076] S2.2: Calculation of incremental difference in circulation utility. Since the overall circulation performance of each link is limited by the congestion of each node, the congestion difference between each congested node and the previous node in the link needs to be considered when configuring computing resources, so as to construct the incremental difference in circulation utility. The calculation formula is

[0077]

[0078] Among them, κ is the preset weight parameter, For Node congestion.

[0079] S2.3: Computing resource allocation based on the total amount of computing resources that can be increased and the incremental difference in circulation utility. And can increase the total amount of computing resources Computing resources are allocated to congested nodes in each link, and the incremental circulation utility is poor. The larger the value, the more computing resources the congested node needs to configure. If it is not a congested node, no additional configuration will be added to the node. Resource allocation quota ΔF m The calculation formula is

[0080]

[0081] in, The total amount of computing resources that can be increased for the nth link.

[0082] 3. Method flow

[0083] The specific steps of the present invention are as follows Figure 1 shown.

[0084] Step 0: Define the node set of the nth link as

[0085] Step 1: Construct the circulation and calculation of heterogeneous data in all links of the large power grid as a Markov chain, and define the state space S(t) of the circulation and calculation of heterogeneous data in all links of the large power grid, which is expressed as is the node data volume set, A m (t) is the node The amount of data, It is the action space for heterogeneous data flow and calculation in all links of the large power grid, where For Node Compute resource configuration actions.

[0086] Step 2: Initialize the Q table according to the Markov chain and record the Q value corresponding to the state of each network node.

[0087] Step 3: Based on the computational perception Q-learning algorithm, the Q value is continuously updated by interacting with the environment.

[0088] Step 4: Evaluate the node circulation utility based on the obtained Q value, and the larger the node Q value, the higher the node circulation utility.

[0089] Step 5: Calculate the node by combining the node circulation utility and node computational complexity The congestion degree of each link is obtained by n .

[0090] Step 6: Test the computing resource configuration of congested nodes and build a circulation utility increment function And Δθ m The larger it is, the greater the benefit of increasing computing resources.

[0091] Step 7: Calculate the incremental difference in circulation utility of each congested node in the link

[0092] Step 8: Based on the incremental difference in circulation utility and the total amount of computing resources that can be increased Configure the computing resources of the congested nodes in each link, and the incremental flow utility is poor The larger it is, the more computing resources are configured on the congested node.

[0093] like Figure 2 As shown, the proposed large power grid all-link heterogeneous data high-speed circulation and computing system includes a high-speed circulation and computing module of each link and a global resource configuration module. The high-speed circulation and computing module of each link includes a circulation data acquisition module, a communication module, an edge computing module, a computing complexity perception module, a computing time perception module and an interaction module.

[0094] Global resource configuration module: responsible for constructing the Markov chain and initializing the Q table based on the obtained Markov chain, which is used to record the Q value corresponding to the node state. Using the computationally aware Q-learning algorithm, the Q value is continuously updated through interaction with the environment, the node circulation utility is evaluated based on the obtained Q value, and the set of congested nodes in each link is obtained. The congested nodes are tested for computing resource configuration to construct the circulation utility increment function and calculate the circulation utility increment difference of the congested nodes. Computing resource configuration based on the total amount of configurable computing resources and the circulation utility increment difference. Computing resource configuration is performed on the congested nodes in each link according to the obtained circulation utility increment difference and the total amount of computing resources that can be increased, and the computing resource configuration strategy is transmitted to each link.

[0095] Circulation data collection module: responsible for collecting heterogeneous data from all aspects of the large power grid.

[0096] Communication module: responsible for receiving the computing resource configuration strategy transmitted by the global resource configuration module and transmitting status information such as the computing amount and the time required to process the current data to the global resource configuration module.

[0097] Edge computing module: responsible for processing the flow data of each node in the link according to the computing resource configuration strategy transmitted by the global resource configuration module.

[0098] Computational complexity perception module: responsible for the computational complexity of each node in the perception link.

[0099] Computational time perception module: responsible for the time required for each node in the perception link to process the current data.

[0100] Interaction module: responsible for information interaction between modules within the link.

[0101] The above system is used to carry out high-speed circulation and calculation of heterogeneous data in all links of the large power grid. The specific steps are as follows.

[0102] Step 0: Initialize each module;

[0103] Step 1: The data acquisition module collects heterogeneous data from all aspects of the large power grid.

[0104] Step 2: The computational complexity perception module perceives the computational complexity of each node in the link.

[0105] Step 3: Calculate the time required for each node in the perception link of the time perception module to process the current data.

[0106] Step 4: The global resource configuration module constructs the circulation and calculation of heterogeneous data in all links of the large power grid into a Markov chain, and defines the state space S(t) of the circulation and calculation of heterogeneous data in all links of the large power grid, which is expressed as is the node data volume set, A m (t) is the node The amount of data, It provides an action space for heterogeneous data circulation and computation in all links of large power grids.

[0107] Step 5: The global resource configuration module initializes the Q table according to the Markov chain and records the Q value corresponding to each network node state. Based on the computationally aware Q-learning algorithm, the Q value is continuously updated through interaction with the environment, and the node circulation utility is evaluated based on the obtained Q value. The larger the node Q value, the higher the node circulation utility. The node circulation utility and node computational complexity are combined to calculate the node The congestion degree of each link is obtained byn . Test the computing resource configuration of congested nodes and build a circulation utility increment function And Δθ m The larger it is, the greater the benefit of increasing computing resources.

[0108] Step 6: The global resource allocation module calculates the incremental difference in circulation utility of each congested node in the link According to the incremental difference in circulation utility obtained and the total amount of computing resources that can be increased Configure the computing resources of the congested nodes in each link, and the incremental flow utility is poor The larger it is, the more computing resources are configured on the congested node.

[0109] Step 7: The edge computing module processes the flow data of each node in the link according to the computing resource configuration strategy transmitted by the global resource configuration module.

[0110] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. It should be pointed out that a person skilled in the art can make several improvements and modifications without departing from the technical principles of the present invention, and these improvements and modifications should also be regarded as within the scope of protection of the present invention.

Claims

1. A method for high-speed circulation and calculation of heterogeneous data in all links of a large power grid, characterized by The specific steps are as follows: the heterogeneous data flow and calculation of all links of the power grid are modeled as a Markov chain. Secondly, the Q value corresponding to each network node state recorded in the Q table is initialized according to the Markov chain, and the flow utility of each node is evaluated based on the Q value; finally, the congested nodes of data flow are mined based on the Q value and the computational complexity of the node; Based on the circulation utility and congested node set obtained in the above steps, a circulation utility increment function is constructed according to the pre-configuration of computing resources and the circulation utility increment difference is calculated; Then, based on the total amount of configurable computing resources and the incremental difference in circulation utility, computing resources are configured to achieve high-speed circulation and computing of heterogeneous data in all links of the large power grid.

2. According to claim 1, a method for high-speed circulation and calculation of heterogeneous data in all links of a large power grid is characterized by: The Markov chain modeling steps are: The data circulation of large power grid mainly consists of N links, including data collection, data desensitization, data encryption, data compression, and data circulation. The node set of the nth link is defined as is the mth node of the nth link, M n is the total number of nodes in the nth link, the configuration adjustment observation time is divided into T time periods, and the time period set is defined as The circulation and calculation of heterogeneous data in all links of the large power grid are constructed as a Markov chain, and the state space S(t) of the circulation and calculation of heterogeneous data in all links of the large power grid in the tth period is defined, which is expressed as is the node data volume set, A m (t) is the node The amount of data, It is the action space for heterogeneous data flow and calculation in all links of the large power grid, where For Node Compute resource configuration actions.

3. According to claim 1, a method for high-speed circulation and calculation of heterogeneous data in all links of a large power grid is characterized by: The steps of evaluating the circulation utility of each node based on the Q value are: The Q table is used to record the Q value corresponding to each network node state, that is, Using the computationally aware Q-learning algorithm, the Q value is continuously updated through interaction with the environment; the Q value update formula is: Among them, δ is the preset discount factor, η is the preset attenuation value, Rewards for performing computational resource allocation actions, For Node The computational complexity is , τ is the preset time period length; the node circulation utility can be evaluated based on the obtained Q value, the larger the Q value of each node, the higher the node circulation utility.

4. According to claim 1, a method for high-speed circulation and calculation of heterogeneous data in all links of a large power grid is characterized by: The steps of mining congested nodes are as follows: node The congestion calculation formula is: Among them, Q min is the preset minimum Q value, ψ∈(0,1) is the time attention parameter, the earlier the time period, the smaller its weight, the lower the reference value of circulation utility and computational complexity; according to the obtained congestion degree, it can be mined whether the node is a congested node. If the node congestion degree is Greater than the preset congestion threshold of the link Then the node is a congested node, and thus the congested node set Θ of each link can be obtained n .

5. According to claim 1, a method for high-speed circulation and calculation of heterogeneous data in all links of a large power grid is characterized by: The steps of constructing the circulation utility increment function according to the pre-configuration of computing resources are as follows: Conduct computing resource configuration tests on congested nodes to build a circulation utility increment function It shows that there is additional benefit from configuring computing resources, and The larger it is, the greater the benefit of adding computing resources; The calculation formula is: in, For Node The computing resource configuration test quota is used to test the impact of computing resource configuration on congested nodes. Indicates the additional benefits brought by configuring unit computing resources.

6. A method for high-speed circulation and calculation of heterogeneous data in all links of a large power grid according to claim 1, characterized in that: The steps of calculating the incremental difference of circulation utility are as follows: Incremental difference in circulation utility The calculation formula is Among them, κ is the preset weight parameter, For Node congestion.

7. A method for high-speed circulation and calculation of heterogeneous data in all links of a large power grid according to claim 1, characterized in that: The steps of configuring computing resources based on the total amount of configurable computing resources and the incremental difference of circulation utility are as follows: According to the incremental difference in circulation utility obtained And can increase the total amount of computing resources Computing resources are allocated to congested nodes in each link, and the incremental circulation utility is poor. The larger the value, the more computing resources the congested node needs to configure. If it is not a congested node, no additional configuration is required for the node. Resource allocation quota ΔF m The calculation formula is: in, The total amount of computing resources that can be increased for the nth link.

8. A high-speed data circulation and computing system for heterogeneous data in all links of a large power grid, characterized by: It includes N links of high-speed circulation and computing modules and a global resource configuration module. The high-speed circulation and computing modules of each link include a circulation data acquisition module, a communication module, an edge computing module, a computing complexity perception module, a computing time perception module and an interaction module. in: Global resource configuration module: used to construct a Markov chain and initialize the Q table based on the obtained Markov chain, used to record the Q value corresponding to the node state; use the computational amount-aware Q-learning algorithm to continuously update the Q value through interaction with the environment, evaluate the node circulation utility based on the obtained Q value, and obtain the set of congested nodes in each link; perform computing resource configuration tests on congested nodes, thereby constructing a circulation utility increment function and calculating the circulation utility increment difference of congested nodes; configure computing resources based on the total amount of configurable computing resources and the circulation utility increment difference; configure computing resources for congested nodes in each link based on the obtained circulation utility increment difference and the total amount of computing resources that can be increased, and transmit the computing resource configuration strategy to each link; Circulation data acquisition module: used to collect heterogeneous data from all aspects of the large power grid; Communication module: used to receive the computing resource configuration strategy transmitted by the global resource configuration module and transmit the computing amount, the time required to process the current data and other status information to the global resource configuration module; Edge computing module: used to process the circulation data of each node in the link according to the computing resource configuration strategy transmitted by the global resource configuration module; Computational complexity perception module: used to perceive the computational complexity of each node in the link; Computation time perception module: used to perceive the time required for each node in the link to process the current data; Interaction module: used for information interaction between modules within a link.

9. A device for high-speed circulation and calculation of heterogeneous data in all links of a large power grid, characterized by: include: Modeling and evaluation module: The heterogeneous data flow and calculation of all links of the power grid are modeled as a Markov chain. Secondly, the Q value corresponding to each network node state recorded in the Q table initialized by the Markov chain is used to evaluate the flow utility of each node based on the Q value; finally, the congested nodes of data flow are mined based on the Q value and the computational complexity of the node; Computing configuration module: Based on the circulation utility and congested node set obtained in the above steps, the circulation utility increment function is constructed according to the pre-configuration of computing resources and the circulation utility increment difference is calculated; Then, based on the total amount of configurable computing resources and the incremental difference in circulation utility, computing resources are configured to achieve high-speed circulation and computing of heterogeneous data in all links of the large power grid.

10. A large power grid full-link heterogeneous data high-speed circulation and computing device according to claim 9, characterized in that: In the modeling and evaluation module, the Markov chain modeling steps are: The data circulation of large power grid mainly consists of N links, including data collection, data desensitization, data encryption, data compression, and data circulation. The node set of the nth link is defined as is the mth node of the nth link, M n is the total number of nodes in the nth link, the configuration adjustment observation time is divided into T time periods, and the time period set is defined as The circulation and calculation of heterogeneous data in all links of the large power grid are constructed as a Markov chain, and the state space S(t) of the circulation and calculation of heterogeneous data in all links of the large power grid in the tth period is defined, which is expressed as is the node data volume set, A m (t) is the node The amount of data, It is the action space for heterogeneous data flow and calculation in all links of the large power grid, where For Node Compute resource configuration actions.

11. The device for high-speed circulation and calculation of heterogeneous data in all links of a large power grid according to claim 9, characterized in that: In the computing configuration module, the steps of configuring computing resources based on the total amount of configurable computing resources and the incremental difference of circulation utility are as follows: According to the incremental difference in circulation utility obtained And can increase the total amount of computing resources Computing resources are allocated to congested nodes in each link, and the incremental circulation utility is poor. The larger the value, the more computing resources the congested node needs to configure. If it is not a congested node, no additional configuration is required for the node. Resource allocation quota ΔF m The calculation formula is: in, The total amount of computing resources that can be increased for the nth link.