Distribution Network Cloud-Edge-End Communication Computing Storage Hierarchical Planning and Configuration Method and Device
By planning and configuring distribution network cloud-edge resources in a hierarchical manner, optimizing the resource configuration of each layer and providing feedback adjustment, the problem of insufficient or wasted resource configuration is solved, and the data processing efficiency and resource utilization of the distribution network are improved.
Patent Information
- Application Number
- CN202211551355.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-05
- Publication Date
- 2025-10-31
- Estimated Expiration
- 2042-12-05
AI Technical Summary
The configuration of cloud-edge-device communication, computing, and storage resources in the power distribution network has failed to effectively integrate resources at each layer, resulting in insufficient or wasted resource allocation, making it difficult to meet the needs of large-scale data interaction and affecting the normal operation of the power distribution network.
A hierarchical planning and configuration method is adopted, which divides cloud-edge-device resources into cloud layer, edge layer and device layer, optimizes the resource configuration of each layer, and adjusts the resource configuration of the upper layer through iterative feedback to achieve dynamic resource adaptation.
It reduces the complexity of resource allocation, improves the efficiency of multi-service operation of the distribution network, and ensures the timeliness of data processing and the rational use of resources.
Smart Images

Figure CN115883566B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of power distribution network technology, and in particular to a method and apparatus for hierarchical planning and configuration of cloud-edge-end communication, computing and storage in power distribution networks. Background Technology
[0002] As a crucial component directly connecting the power system to distributed users, the distribution network plays a vital role in maintaining the normal operation of the power grid and is a key foundation for building the energy internet. However, with the explosive growth of distribution network terminals, the demand for terminal data processing and storage is increasing. The configuration of distribution network cloud-edge-device communication, computing, and storage resources requires integrating the resource configurations of various layers within the distribution network, which can easily lead to insufficient or wasted resources. This makes it difficult to meet the large-scale data interaction needs of the distribution network cloud-edge-device, resulting in untimely data processing, data backlog, and impacting the normal operation of the distribution network. Therefore, it is urgent to design a distribution network cloud-edge-device communication, computing, and storage configuration method that optimizes the lower-level resource configuration based on upper-level resource configuration information and adjusts the upper-level resource configuration based on feedback from lower-level data processing results, thereby improving the data processing level of the distribution network and ensuring its normal operation.
[0003] Traditional resource allocation methods typically fail to consider the inter-layer coupling effects of resource allocation, facing two challenges when configuring cloud-edge-device resources in distribution networks: First, the communication, computing, and storage resource allocation at each layer of the cloud-edge-device network are inter-coupled through data processing; a change in the resource allocation of a single layer can affect the data processing performance of other layers, leading to a decrease in resource allocation optimization efficiency. Second, the overall optimization space for cloud-edge-device resource allocation is large and highly complex, making existing allocation algorithms difficult to apply. To address these challenges, this invention considers the mutual influence of cloud-edge-device resources, as well as characteristics such as terminal data importance and latency requirements. It proposes a hierarchical planning-based method for configuring cloud-edge-device communication, computing, and storage in distribution networks. This method decouples the overall configuration problem into a hierarchical planning problem involving the cloud, edge, and device layers. It optimizes the lower-layer configuration based on upper-layer configuration information and further adjusts the configuration based on feedback, thereby achieving optimization of cloud-edge-device resource allocation. Summary of the Invention
[0004] This invention provides a method and apparatus for hierarchical planning and configuration of cloud-edge communication, computing, and storage in a distribution network. By planning multiple layers of the distribution network (cloud-edge), and configuring resources based on data backlog and resource availability at each layer, the efficiency of multi-service operation in the distribution network is improved. To provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is given below. This summary is not intended as a general commentary, nor is it intended to identify key / important components or describe the scope of protection of these embodiments. Its sole purpose is to present some concepts in a simple form as an introduction to the detailed description that follows.
[0005] According to a first aspect of the present invention, a hierarchical planning and configuration method for cloud-edge communication, computing, and storage in a power distribution network is provided, comprising:
[0006] Integrate cloud server resources and the amount of data to be processed, configure cloud computing resources, allocate the total communication resources required for each terminal to transmit data between the cloud and the edge, as well as the communication resources required for the cloud server to transmit data back to the edge server, so as to complete the configuration of cloud storage resources according to the data backlog of the cloud server, and send the cloud resource configuration information to the edge layer.
[0007] Calculate edge layer data backlog based on cloud layer resource configuration and configure edge layer computing resources. Calculate the communication resources required for edge server to offload data transmission based on cloud server backhaul communication resources. Allocate the total communication resources required for each terminal to upload and back data between the edge and the terminal, as well as the communication resources required for edge server to backhaul data to the terminal. Complete edge layer storage resource configuration based on edge server data backlog and send edge layer resource configuration information to the edge layer. Make data offloading decisions from edge server to cloud server based on edge-cloud communication resource configuration.
[0008] The backlog of terminal data is calculated based on the edge layer resource configuration. The data offloading decision from the terminal to the edge server is made based on the communication resource configuration between the edge and the terminal. The communication resources required for the terminal to unload data transmission are calculated based on the communication resources returned by the edge server. Data processing is performed based on the cloud-edge-terminal communication computing and storage resource configuration and the data offloading decision. After obtaining the terminal data backlog result of this iteration, the cloud-edge resource configuration is adjusted accordingly.
[0009] In one embodiment, the method further includes the steps of integrating cloud server resource information and the amount of data to be processed, and configuring cloud computing resources:
[0010] The cloud server integrates its own resources and the amount of data to be processed, and configures cloud computing resources based on its own resources, data importance, data latency requirements, and the backlog of data on the edge in the previous iteration.
[0011] In one embodiment, the step of allocating the total communication resources required for uploading and backloading of data between the cloud and the edge for each terminal to transmit data between the cloud and the edge, as well as the communication resources required for the cloud server to transmit data back to the edge server, further includes:
[0012] Based on the importance of cloud data, cloud data backlog, and total bandwidth, allocate the total communication resources required for each terminal to transmit data between the cloud and the edge, including the total communication resources required for the cloud server to transmit data back to the edge server.
[0013] In one embodiment, the method further includes the steps of calculating edge-layer data backlog based on cloud resource configuration and configuring edge-layer computing resources:
[0014] Configure edge computing resources based on edge server resource availability, data importance, data latency requirements, edge layer, cloud layer, and backlog of edge data from the previous iteration.
[0015] In one embodiment, the step of allocating the total communication resources required for each terminal to upload and transmit data between edge devices, and the communication resources required for the edge server to transmit data back to the terminal, further includes:
[0016] Based on the importance of the data in the edge layer, the backlog of the data in the edge layer, the backlog of the data in the end layer, and the total bandwidth, allocate the total communication resources required for each terminal to upload and transmit data between the edge and the end, as well as the communication resources required for the edge server to transmit data back to the terminal.
[0017] In one embodiment, the method further includes the step of allocating the total communication resources required for uploading and backloading data between the cloud and edge for each terminal data transmission based on the data importance of the cloud layer, cloud data backlog, and total bandwidth, as well as the communication resources required for the cloud server to transmit data back to the edge server:
[0018] Cloud data backlog is represented as:
[0019]
[0020] In the formula, For cloud servers from terminals Data backlog Terminals offloaded from edge servers to cloud servers The amount of data, The available computing resources of the cloud server, namely the total CPU frequency of the cloud server. , Data density for cloud servers , The proportion of computing resources configured for terminal n in the cloud layer.
[0021] In one embodiment, the cloud server is the terminal in this method. Scoring of computing resource allocation It can be calculated as:
[0022]
[0023] In the formula, For the terminal Data importance For edge-cloud communication targeting terminals The scoring of communication resource configuration for the data. For the terminal Data latency requirements For the terminal In the The data backlog at the end of the next iteration is introduced into the molecule. Meaning terminal No. The more data accumulates in each iteration, the more data is left to be processed, which in turn affects the terminal. Configure more computing resources; These are respectively the cloud server side and the terminal side. Data backlog weighting and cloud server side for terminals Weighting of communication resource allocation scores.
[0024] In one embodiment, the method further includes the step of allocating the total communication resources required for uploading and backloading data between the cloud and edge for each terminal data transmission based on the data importance of the cloud layer, cloud data backlog, and total bandwidth, as well as the communication resources required for the cloud server to transmit data back to the edge server:
[0025] set up The total communication bandwidth between the cloud layer and the edge layer, depending on the terminal. Data latency requirements and edge cloud storage conditions for terminals Communication resources configured for data transmission between cloud and edge The calculation is as follows:
[0026]
[0027] In the formula, For the terminal Scoring of the communication resources required for data transmission between the cloud and the edge. For the terminal The proportion of communication resources required for data transmission between the cloud and the edge;
[0028] In the formula,
[0029]
[0030]
[0031] In the formula, To calculate the bandwidth required to upload data from the edge server to the cloud server, This calculates the bandwidth required to transmit data from the cloud server back to the edge server.
[0032] Based on the data backlog of cloud servers to the terminal Data configuration storage resources offloaded to the cloud server can be represented as:
[0033]
[0034] In the formula, Total storage resources for the cloud server.
[0035] In one embodiment, the method further includes the steps of calculating edge-layer data backlog based on cloud resource configuration and configuring edge-layer computing resources:
[0036] Edge layer data backlog is represented as:
[0037]
[0038] In the formula, For edge servers from terminals Data backlog For the terminal The amount of data offloaded to edge servers. The available computing resources for the edge server, i.e., the total CPU frequency of the edge server. , Calculate data density for edge servers , For edge servers as terminals The proportion of computing resources configured.
[0039] In one embodiment, the edge server in this method is a terminal. Scoring of computing resource allocation The calculation is as follows:
[0040]
[0041] In the formula, For edge-to-end communication with terminal The scoring of communication resource allocation. These are the edge server side and the terminal side respectively. Data backlog weights and edge server side for terminals Weighting of communication resource configuration scores during data upload;
[0042] set up Given the total bandwidth of edge communication, therefore, for the terminal... The communication resources configured for transmission between edges can be calculated as follows:
[0043]
[0044] In the formula, For the terminal Scoring of the communication resources required for data transmission between edges. For the terminal The proportion of communication resources required for data transmission between endpoints; simultaneously, since both data uploading and backloading consume total communication bandwidth, i.e. Therefore, the computational data is transmitted back from the edge server to the terminal. Required bandwidth for
[0045]
[0046] Data backlog from edge servers is used for terminals Data configuration storage resources can be represented as
[0047]
[0048] In the formula, Total storage resources for edge servers.
[0049] In one embodiment, the step of making a data offloading decision from the edge server to the cloud server based on the edge-cloud communication resource configuration further includes:
[0050] Based on the configuration of edge-cloud communication resources and the fact that the edge server is the terminal The configured computing resources are used for the data offloading decision calculation from the edge server to the cloud server.
[0051]
[0052] In the formula, For edge servers targeting terminals Scoring of data when it is unloaded to the cloud server For edge servers targeting terminals The proportion of data offloaded to the cloud server; the weaker the edge server's computing power and the more communication resources between the edge server and the cloud server for the terminal, the higher its data offload score and the greater the proportion of data offloaded.
[0053] In one embodiment, the step of calculating the end-layer data backlog based on the side-layer resource configuration further includes:
[0054] End-layer data backlog is represented as:
[0055]
[0056] In the formula, For the terminal In the Data backlog at the end of the next iteration For the t-th iteration terminal The total amount of data generated For the terminal Available computing resources For the terminal Data processing capabilities.
[0057] In one embodiment, the method further includes the steps of calculating terminal data backlog based on edge layer resource configuration and making data offloading decisions from the terminal to the edge server based on inter-edge communication resource configuration:
[0058] Based on the edge server's storage resource configuration and the fact that the edge server is a terminal The data backlog maintained, the decision to offload data from the terminal to the edge server is calculated as follows:
[0059]
[0060] In the formula, For the terminal Scoring of data unloading to edge servers For the terminal The proportion of data offloaded to the edge server; the weaker the terminal's computing power and the more communication resources it has with the edge server, the higher its data offload score and the higher the proportion of data offloaded.
[0061] Based on the data returned from the edge server, the remaining communication resources for the terminal to upload data can be obtained. Communication resource configuration required for data upload Represented as
[0062]
[0063] Based on cloud-edge-device communication, computing and storage resource configuration and data offloading decisions, data processing is executed; after the data backlog results at the computing end-layer terminal are processed, feedback is provided to adjust the cloud-edge resource configuration.
[0064] According to a second aspect of the present invention, a distribution network cloud-edge communication computing and storage hierarchical planning and configuration device is provided.
[0065] In one embodiment, the device includes a cloud layer configuration module, an edge layer configuration module, and an end layer configuration module; wherein,
[0066] The cloud configuration module is used to integrate the cloud server resource status and the amount of data to be processed, configure cloud computing resources, allocate the total communication resources required for each terminal to transmit data between the cloud and the edge, as well as the communication resources required for the cloud server to transmit data back to the edge server, so as to complete the cloud storage resource configuration according to the data backlog of the cloud server and send the cloud resource configuration information to the edge layer.
[0067] The edge configuration module is used to calculate the edge data backlog based on cloud resource configuration and configure edge computing resources. It calculates the communication resources required for edge servers to offload data transmission based on cloud server backhaul communication resources. It allocates the total communication resources required for each terminal to upload and back data between the edge and the terminal, as well as the communication resources required for edge servers to backload data to the terminal. It completes the edge storage resource configuration based on edge server data backlog and sends the edge resource configuration information to the edge layer. It makes data offloading decisions from the edge server to the cloud server based on the edge-cloud communication resource configuration.
[0068] The endpoint configuration module is used to calculate the endpoint data backlog based on the edge layer resource configuration, make data offloading decisions from the terminal to the edge server based on the edge-end communication resource configuration, calculate the communication resources required for the terminal to offload data transmission based on the communication resources returned by the edge server, perform data processing based on the cloud-edge-end communication computing and storage resource configuration and data offloading decisions, and after obtaining the terminal data backlog result for this iteration, it feeds back and adjusts the cloud-edge resource configuration.
[0069] According to a third aspect of the present invention, a computer device is provided.
[0070] In some embodiments, the computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to implement the steps of the method as described in the first aspect.
[0071] According to a fourth aspect of the present invention, a computer-readable storage medium is provided.
[0072] In some embodiments, a computer program is stored on a computer-readable storage medium; the computer program is executed by a processor to implement the steps of the method as described in the first aspect.
[0073] The technical solutions provided by the embodiments of the present invention may include the following beneficial effects:
[0074] This invention proposes a hierarchical planning and configuration method for cloud-edge-device communication, computing, and storage in a distribution network. By dividing the cloud, edge, and device layers into cloud, edge, and device layers, the method for solving resource configuration at each layer reduces the complexity of the solution. Simultaneously, it considers the configuration of the previous layer when optimizing resource configuration at the next layer, improving the optimization effect of cloud-edge-device resource configuration. Furthermore, after each iteration of resource configuration, this invention calculates the data backlog at the distribution network terminals and feeds back the backlog information to the edge and cloud layers, adjusting the cloud-edge resource configuration decision for the next iteration. This achieves dynamic adaptation between cloud-edge communication, computing, and storage resource configuration and the processing requirements of the device layers.
[0075] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit the invention. Attached Figure Description
[0076] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0077] Figure 1 This is a flowchart of the hierarchical planning and configuration method for distribution network cloud-edge-end communication, computing, and storage provided in the embodiments of this application;
[0078] Figure 2 This is a diagram of the hierarchical planning and configuration architecture for distribution network cloud-edge-device communication, computing, and storage provided in this application embodiment;
[0079] Figure 3 This is a flowchart of the hierarchical planning, configuration, and calculation process for distribution network cloud-edge-device communication, computing, and storage provided in this application embodiment.
[0080] Figure 4 This is a structural diagram of the distribution network cloud-edge-end communication computing and storage hierarchical planning and configuration device provided in the embodiments of this application;
[0081] Figure 5 This is a schematic diagram of the structure of a computer device according to an exemplary embodiment. Detailed Implementation
[0082] The following description and accompanying drawings fully illustrate specific embodiments described herein to enable those skilled in the art to practice them. Some embodiments may include or substitute parts and features of other embodiments. The scope of the embodiments herein includes the entire scope of the claims and all available equivalents thereof. Throughout this document, the terms “first,” “second,” etc., are used only to distinguish one element from another without requiring or implying any actual relationship or order between the elements. Indeed, a first element can also be referred to as a second element, and vice versa. Furthermore, the terms “comprising,” “including,” or any other variations thereof are intended to cover non-exclusive inclusion, such that a structure, apparatus, or device that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a structure, apparatus, or device. Without further limitation, an element defined by the phrase “comprising one…” does not exclude the presence of other identical elements in the structure, apparatus, or device that includes said element. The various embodiments described herein are presented in a progressive manner, with each embodiment focusing on its differences from other embodiments; similar or identical parts between embodiments can be referred to interchangeably.
[0083] In this document, unless otherwise stated, the term "multiple" means two or more.
[0084] The inventors of this application have discovered that data transmission relationships exist between different layers of the cloud-edge distribution network. The configuration of communication, computing, and storage resources in each layer requires consideration of changes in data from other layers, leading to high complexity in cloud-edge resource configuration optimization. Therefore, designing a more reasonable resource configuration method that allows each layer to optimize its own resource configuration while taking into account the resource configuration of other layers is an urgent problem to be solved.
[0085] Secondly, the distribution network has numerous and widely distributed terminals, and the data generated by these terminals changes in real time. The existing cloud-edge-device resource configuration scheme can easily lead to some terminals' data failing to meet communication, processing, and storage requirements. Therefore, how to combine the dynamic changes in terminal data backlog and adjust and optimize the upper-layer cloud-edge communication, computing, and storage resource configuration based on feedback from lower-layer data processing performance, thereby improving the overall cloud-edge-device resource configuration level, is an urgent problem to be solved.
[0086] Figure 1 A flowchart of the distribution network cloud-edge communication computing and storage hierarchical planning and configuration method of the present invention is shown. Figure 2 This is a hierarchical planning and configuration architecture diagram of distribution network cloud-edge-device communication, computing, and storage provided in an embodiment of this application, such as... Figure 1 , Figure 2 As shown:
[0087] S100: Integrates cloud server resources and the amount of data to be processed, configures cloud computing resources, allocates the total communication resources required for each terminal to transmit data between the cloud and the edge, as well as the communication resources required for the cloud server to transmit data back to the edge server, so as to complete the configuration of cloud storage resources according to the data backlog of the cloud server, and sends the cloud resource configuration information to the edge layer.
[0088] Specifically, cloud communication computing and storage resource configuration:
[0089] S101: Cloud server's integration of its own resources and the amount of data to be processed;
[0090] S102: Configure cloud computing resources based on resource availability, data importance, data latency requirements, and data backlog from the previous iteration.
[0091] S103: Further configure cloud communication resources; allocate the total communication resources required for each terminal to transmit data between the cloud and the edge, as well as the communication resources required for the cloud server to transmit data back to the edge server, based on data importance, cloud data backlog, total bandwidth, etc.
[0092] S104: Complete the configuration of cloud storage resources based on the backlog of cloud server data.
[0093] S105: Send cloud resource configuration information to the edge layer.
[0094] Please continue reading Figure 1:
[0095] S200: Calculates edge layer data backlog based on cloud layer resource configuration and configures edge layer computing resources. Calculates the communication resources required for edge server to offload data transmission based on cloud server backhaul communication resources. Allocates the total communication resources required for each terminal to upload and back data between the edge and the terminal, as well as the communication resources required for the edge server to backhaul data to the terminal. Completes edge layer storage resource configuration based on edge server data backlog and sends edge layer resource configuration information to the edge layer. Makes data offloading decisions from the edge server to the cloud server based on the edge-cloud communication resource configuration.
[0096] Specifically, edge-layer communication, computing, and storage resource configuration and data offloading based on cloud layer configuration:
[0097] S201: Calculate the backlog of edge layer data based on the resource allocation issued by the cloud layer;
[0098] S202: Configure edge computing resources based on resource availability, data importance, data latency requirements, edge layer, cloud layer, and backlog of edge data from the previous iteration;
[0099] S203: Further calculate the communication resources required for the edge server to offload data transmission based on the cloud server's backhaul communication resources; at the same time, allocate the total communication resources required for each terminal to upload and back data between the edge and the terminal, as well as the communication resources required for the edge server to backhaul data to the terminal, based on data importance, edge layer data backlog, end layer data backlog, total bandwidth, etc.
[0100] S204: Complete the configuration of edge storage resources based on the data backlog of the edge server.
[0101] S205: Send edge layer resource configuration information to the end layer.
[0102] S206: Make data offloading decisions from edge servers to cloud servers based on the configuration of edge-cloud communication resources.
[0103] Please continue reading Figure 1 :
[0104] S300: Calculates terminal data backlog based on edge layer resource configuration, makes data offloading decisions from the terminal to the edge server based on edge-to-end communication resource configuration, calculates the communication resources required for terminal data offloading based on communication resources returned from the edge server, performs data processing based on cloud-edge-end communication computing and storage resource configuration and data offloading decisions, obtains the terminal data backlog result for this iteration, and then feeds back to adjust the cloud-edge resource configuration.
[0105] Specifically, the configuration of end-layer communication computing and storage resources and data offloading based on edge-layer configuration:
[0106] S301: Calculate the backlog of terminal layer data based on the resource allocation issued by the edge layer;
[0107] S302: Make a decision on data offloading from the terminal to the edge server based on the configuration of communication resources between the terminals.
[0108] S303: Calculate the communication resources required for the terminal to offload data transmission based on the communication resources returned by the edge server;
[0109] S304: Cloud-edge-device communication computing and storage resource configuration and data offloading decision execution data processing;
[0110] S305: After obtaining the backlog of terminal data for this iteration, provide feedback on adjusting the cloud-edge resource configuration.
[0111] like Figure 3 As shown, this embodiment further illustrates the hierarchical planning and configuration method for distribution network cloud-edge communication computing and storage in this application:
[0112] Cloud computing resource configuration:
[0113] The cloud layer integrates its own computing and storage resources, as well as the amount of data to be processed, through cloud servers, configures cloud server resources, and distributes the configuration results. Cloud data backlog can be represented as...
[0114] (1)
[0115] in, For cloud servers from terminals Data backlog Terminals offloaded from edge servers to cloud servers The amount of data, The available computing resources of the cloud server, namely the total CPU frequency of the cloud server. , Data density for cloud servers , The proportion of computing resources configured for terminal n in the cloud layer, and the cloud server for the terminal. Scoring of computing resource allocation It can be calculated as
[0116] (2)
[0117] in, For the terminal Data importance For edge-cloud communication targeting terminals The scoring of communication resource configuration for the data. For the terminal Data latency requirements For the terminal In the The data backlog at the end of the next iteration is introduced into the molecule. Meaning terminal No. The more data accumulates in each iteration, the more data is left to be processed, which in turn affects the terminal. Configure more computing resources. These are respectively the cloud server side and the terminal side. Data backlog weighting and cloud server side for terminals Weighting of communication resource allocation scores.
[0118] Cloud-to-edge data backhaul communication resource configuration:
[0119] After the cloud layer completes the processing of the data unloaded by the edge layer, it needs to use some communication resources between the cloud layer and the edge layer to transmit the data calculation results back. The total communication bandwidth between the cloud layer and the edge layer, depending on the terminal. Data latency requirements and edge cloud storage conditions for terminals Communication resources configured for data transmission between cloud and edge It can be calculated as
[0120] (3)
[0121] in, For the terminal Scoring of the communication resources required for data transmission between the cloud and the edge. For the terminal The proportion of communication resources required for data transmission between the cloud and the edge. Since both data uploading and backhauling consume total communication bandwidth, i.e. , This calculates the bandwidth required to upload computational data from the edge server to the cloud server; therefore, it also calculates the bandwidth required to transmit computational data back from the cloud server to the edge server. for
[0122] (4)
[0123] This refers to the ratio of the amount of data transmitted back through the cloud server to the total amount of data transmitted via the bandwidth.
[0124] Cloud storage resource configuration:
[0125] Furthermore, based on the backlog of data on cloud servers for terminals Data configuration storage resources offloaded to the cloud server can be represented as:
[0126] (5)
[0127] in, Total storage resources for the cloud server.
[0128] Cloud-based edge-layer communication, computing, and storage resource configuration and data offloading decisions:
[0129] Edge-layer computing resource configuration:
[0130] After receiving configuration information from the cloud server, the edge layer further adjusts the edge server resource configuration scheme and data offloading decisions. Edge layer data backlog can be represented as...
[0131]
[0132] in, For the terminal The amount of data offloaded to edge servers. The available computing resources for the edge server, i.e., the total CPU frequency of the edge server. , Calculate data density for edge servers , For edge servers as terminals The configured computing resource ratio, with edge servers serving as terminals. The scoring of computing resource allocation is as follows: The calculation formula is:
[0133] (6)
[0134] in, For the terminal Data importance For edge servers as terminals The maintained data queue is backlogged. For the terminal In the The data backlog at the end of the next iteration is introduced into the denominator. Its function is the same as that used when configuring cloud computing resources. For edge-to-end communication with terminal The scoring of communication resource allocation. For the terminal Data latency requirements These are the edge server side and the terminal side respectively. Data backlog weights and edge server side for terminals Weighting of communication resource configuration scores during data upload.
[0135] Edge-layer communication resource configuration:
[0136] Edge-to-cloud data upload communication resource configuration:
[0137] Based on the data returned from the cloud server, the remaining communication resources for data upload from the edge server can be determined, and the edge server data upload communication resource configuration can be performed. It can be represented as
[0138] (7)
[0139] Edge-to-end data backhaul communication resource configuration:
[0140] Similarly, for cloud-edge data upload and backhaul requirements, set up Given the total bandwidth of edge communication, therefore, for the terminal... The communication resources configured for transmission between edges can be calculated as follows:
[0141] (8)
[0142] in, For the terminal Scoring of the communication resources required for data transmission between edges. For the terminal The proportion of communication resources required for data transmission between endpoints. Meanwhile, since both data uploading and backloading consume total communication bandwidth, i.e. Therefore, the computational data is transmitted back from the edge server to the terminal. Required bandwidth for
[0143] (9)
[0144] Edge layer storage resource configuration:
[0145] Data backlog from edge servers is used for terminals Data configuration storage resources can be represented as
[0146] (10)
[0147] in, Total storage resources for edge servers.
[0148] Edge data unloading decision:
[0149] Based on the edge-cloud communication resource configuration and the fact that the edge server is the terminal The configured computing resources, and the decision on data offloading from the edge server to the cloud server, can be calculated as follows:
[0150] (11)
[0151] in, For edge servers targeting terminals Scoring of data when it is unloaded to the cloud server For edge servers targeting terminals The proportion of data offloaded to the cloud server. This is especially relevant when the edge server's computing power is weaker and the interaction with the cloud server is less focused on the terminal. The more communication resources a system has, the higher its data offloading score and the greater the proportion of offloaded data.
[0152] Edge-layer configuration-based end-layer communication computing and storage resource allocation and data offloading decision:
[0153] End-layer data offloading decision:
[0154] After receiving the edge server configuration information, the endpoint further calculates and adjusts the terminal data offloading decision. Terminal data backlog can be represented as...
[0155] (12)
[0156] in, For the t-th iteration terminal The total amount of data generated For the terminal Available computing resources For the terminal Data processing capabilities.
[0157] Based on the edge server's storage resource configuration and the fact that the edge server is a terminal The maintained data queue is backlogged, and the decision to offload data from the computing terminal to the edge server is...
[0158] (13)
[0159] in, For the terminal Scoring of data unloading to edge servers For the terminal The proportion of data offloaded to edge servers. (Terminal) The weaker the computing power and the more communication resources between the edge server, the higher the data offloading score and the higher the proportion of offloaded data.
[0160] End-to-edge data upload communication resource configuration:
[0161] Based on the data returned from the edge server, the remaining communication resources for the terminal to upload data can be obtained. Communication resource configuration required for data upload It can be represented as
[0162] (14)
[0163] Finally, based on the configuration of cloud-edge-device communication computing and storage resources and the decision on data offloading, data processing is executed; after the data backlog results of the computing-end terminal are processed, feedback is given to adjust the cloud-edge resource configuration.
[0164] It should be understood that although the steps in the flowchart are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order constraint on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the diagram may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the sub-steps or stages of other steps.
[0165] Please see Figure 4 One embodiment of this application provides a hierarchical planning and configuration device for cloud-edge-end communication, computing, and storage in a power distribution network, including a cloud layer configuration module 10, an edge layer configuration module 20, and an end layer configuration module 30; wherein,
[0166] The cloud configuration module 10 is used to integrate the cloud server resource status and the amount of data to be processed, configure cloud computing resources, allocate the total communication resources required for each terminal data to be transmitted between the cloud and the edge, as well as the communication resources required for the cloud server to transmit data back to the edge server, so as to complete the cloud storage resource configuration according to the data backlog of the cloud server and send the cloud resource configuration information to the edge layer.
[0167] The edge configuration module 20 is used to calculate the edge data backlog based on the cloud resource configuration and configure the edge computing resources. It calculates the communication resources required for the edge server to offload data transmission based on the cloud server backhaul communication resources. It allocates the total communication resources required for each terminal to upload and back data between the edge and the terminal, as well as the communication resources required for the edge server to backload data to the terminal. It completes the edge storage resource configuration based on the edge server data backlog and sends the edge resource configuration information to the edge layer. It makes the data offloading decision from the edge server to the cloud server based on the edge-cloud communication resource configuration.
[0168] The terminal layer configuration module 30 is used to calculate the terminal layer data backlog based on the edge layer resource configuration, make a data offloading decision from the terminal to the edge server based on the edge-end communication resource configuration, calculate the communication resources required for the terminal to offload data transmission based on the communication resources returned by the edge server, perform data processing based on the cloud-edge-terminal communication computing and storage resource configuration and data offloading decision, and after obtaining the terminal data backlog result of this iteration, it feeds back and adjusts the cloud-edge resource configuration.
[0169] Specific limitations regarding the aforementioned hierarchical planning and configuration device for distribution network cloud-edge-end communication, computing, and storage can be found in the limitations of the distribution network cloud-edge-end communication, computing, and storage hierarchical planning and configuration method described above, and will not be repeated here. Each module in the aforementioned distribution network cloud-edge-end communication, computing, and storage hierarchical planning and configuration device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device in hardware form, or stored in the memory of a computer device in software form, so that the processor can call and execute the operations corresponding to each module.
[0170] In another embodiment of this application, a computer device is provided, which may be a server, and its internal structure diagram may be as follows. Figure 5 As shown, the computer device includes a processor, memory, and a network interface connected via a system bus. The processor provides computing and control capabilities. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The database stores static and dynamic information data. The network interface communicates with external terminals via a network connection. When the computer program is executed by the processor, it implements the steps in the above method embodiments.
[0171] Those skilled in the art will understand that Figure 5 The structure shown is merely a block diagram of a portion of the structure related to the present invention and does not constitute a limitation on the computer device to which the present invention is applied. A specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0172] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon that, when executed by a processor, implements the steps in the method embodiments described above.
[0173] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the methods described above. Any references to memory, storage, databases, or other media used in the embodiments provided by this invention can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, or optical storage, etc. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc.
[0174] This invention is not limited to the structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this invention is limited only by the appended claims.
Claims
1. A hierarchical planning and configuration method for cloud-edge communication, computing, and storage in a power distribution network, characterized in that, include: The system integrates cloud server resources and the amount of data to be processed, configures cloud computing resources, allocates the total communication resources required for uploading and backloading data between the cloud and edge for each terminal, and the communication resources required for the cloud server to backload data to the edge server. Based on the data backlog of the cloud server, the system completes the configuration of cloud storage resources and sends the cloud resource configuration information to the edge layer. The edge layer data backlog is calculated based on the cloud layer resource configuration, and edge layer computing resources are configured. The communication resources required for the edge server to offload data transmission are calculated based on the cloud server backhaul communication resources. The total communication resources required for each terminal to upload and back data between the edge and the terminal, as well as the communication resources required for the edge server to backload data to the terminal, are allocated. The edge layer storage resources are configured based on the edge server data backlog, and the edge layer resource configuration information is sent to the edge layer. The data offloading decision from the edge server to the cloud server is made based on the edge-cloud communication resource configuration. The backlog of terminal data is calculated based on the edge layer resource configuration. The data offloading decision of the terminal to the edge server is made based on the edge-end communication resource configuration. The communication resources required for the terminal to offload data transmission are calculated based on the communication resources returned by the edge server. Data processing is performed based on the cloud-edge-end communication computing storage resource configuration and data offloading decision. After obtaining the terminal data backlog result of this iteration, the cloud-edge resource configuration is adjusted.
2. The method for hierarchical planning and configuration of cloud-edge communication, computing, and storage in a power distribution network according to claim 1, characterized in that, The steps of integrating cloud server resources and the amount of data to be processed, and configuring cloud computing resources, further include: The cloud server integrates its own resources and the amount of data to be processed, and configures the cloud computing resources according to its own resources, data importance, data latency requirements, and the backlog of data on the edge in the previous iteration.
3. The method for hierarchical planning and configuration of cloud-edge communication, computing, and storage in a power distribution network according to claim 2, characterized in that, The steps of allocating the total communication resources required for uploading and backloading data between the cloud and edge for each terminal, and the communication resources required for the cloud server to backload data to the edge server, further include: Based on the data importance of the cloud layer, the data backlog in the cloud layer, and the total bandwidth, the total communication resources required for each terminal to transmit data between the cloud and the edge, as well as the communication resources required for the cloud server to transmit data back to the edge server, are allocated respectively.
4. The hierarchical planning and configuration method for distribution network cloud-edge communication, computing, and storage according to claim 3, characterized in that, The steps of calculating edge-layer data backlog based on the cloud resource configuration and configuring edge-layer computing resources further include: Configure the edge layer computing resources based on the edge server's resource availability, data importance, data latency requirements, edge layer, cloud layer, and the backlog of edge data from the previous iteration.
5. The hierarchical planning and configuration method for distribution network cloud-edge communication, computing, and storage according to claim 4, characterized in that, The step of allocating the total communication resources required for uploading and transmitting data between the edge terminals and the communication resources required for the edge server to transmit data back to the terminal further includes: Based on the data importance of the edge layer, the data backlog of the edge layer, the data backlog of the end layer, and the total bandwidth, allocate the total communication resources required for each terminal to upload and transmit data between the edge and the end, as well as the communication resources required for the edge server to transmit data back to the terminal.
6. The method for hierarchical planning and configuration of cloud-edge communication, computing, and storage in a power distribution network according to claim 5, characterized in that, The step of allocating the total communication resources required for uploading and backloading data between the cloud and edge servers for each terminal data transmission based on the data importance of the cloud layer, cloud data backlog, and total bandwidth, as well as the communication resources required for the cloud server to backload data to the edge server, further includes: The cloud data backlog is represented as follows: In the formula, For the data backlog from terminal n on the cloud server, The amount of data from terminal n that is offloaded from the edge server to the cloud server. The available computing resources of the cloud server, namely the total CPU frequency of the cloud server, α c (t) represents the data computation density of the cloud server. The proportion of computing resources configured for terminal n in the cloud layer.
7. The hierarchical planning and configuration method for distribution network cloud-edge communication, computing, and storage according to claim 6, characterized in that, The cloud server provides a score for the computing resource configuration of terminal n. It can be calculated as: In the formula, Let n be the data importance of terminal n. Scoring is given to the communication resource configuration between the edge and the cloud for data from terminal n. For the data latency requirements of terminal n, For the data accumulation of terminal n at the completion of the (t-1)th iteration, the molecule is introduced... This means that the more data backlog there is in terminal n during the (t-1)th iteration, the more data it has to process, and therefore more computing resources should be allocated to terminal n. These are the data backlog weights on the cloud server side for terminal n and the weights for the communication resource configuration scores on the cloud server side for terminal n, respectively.
8. The method for hierarchical planning and configuration of cloud-edge communication, computing, and storage in a power distribution network according to claim 7, characterized in that, The step of allocating the total communication resources required for uploading and backloading data between the cloud and edge servers for each terminal data transmission based on the data importance of the cloud layer, cloud data backlog, and total bandwidth, as well as the communication resources required for the cloud server to backload data to the edge server, further includes: Set B e,c (t) represents the total communication bandwidth between the cloud layer and the edge layer. Based on the data latency requirements of terminal n and the edge-cloud storage situation, it represents the communication resources configured for data transmission between the cloud and edge for terminal n. The calculation is as follows: In the formula, Scoring the communication resources required for terminal n to transmit data between the cloud and the edge. The proportion of communication resources required for the transmission of terminal n data between the cloud and the edge; In the formula, In the formula, To calculate the bandwidth required to upload data from the edge server to the cloud server, This calculates the bandwidth required to transmit data from the cloud server back to the edge server. Based on the data backlog on the cloud server, the data offloaded to the cloud server by terminal n is configured with storage resources, which can be represented as follows: In the formula, store c (t) represents the total storage resources of the cloud server.
9. The hierarchical planning and configuration method for distribution network cloud-edge communication, computing, and storage according to claim 8, characterized in that, The steps of calculating edge-layer data backlog based on the cloud resource configuration and configuring edge-layer computing resources further include: The edge layer data backlog is represented as follows: In the formula, For the data backlog from terminal n on the edge server, The amount of data that the terminal n offloads to the edge server. The available computing resources for the edge server, i.e., the total CPU frequency of the edge server, α e (t) represents the data density calculated for the edge server. The proportion of computing resources configured for terminal n on the edge server.
10. The method for hierarchical planning and configuration of cloud-edge communication, computing, and storage in a power distribution network according to claim 9, characterized in that, The edge server provides a score for the computing resource allocation of terminal n. The calculation is as follows: In the formula, This represents a score for the communication resource configuration between edge devices for terminal n. These are the data backlog weights for terminal n on the edge server side and the weights for the communication resource configuration scores when terminal n uploads data on the edge server side. Set B d,e (t) represents the total bandwidth of edge communication. Therefore, the communication resources configured for the transmission between the edges of terminal n can be calculated as follows: In the formula, Scoring the communication resources required for data transmission between terminals n. Configure the proportion of communication resources required for data transmission between terminals n; simultaneously, since both data uploading and backloading consume the total communication bandwidth, i.e. Therefore, the bandwidth required to complete the backhaul of computational data from the edge server to terminal n for Based on the data backlog of the edge server, storage resources are configured for terminal n data, which can be represented as follows: In the formula, store e (t) represents the total storage resources of the edge server.
11. The method for hierarchical planning and configuration of cloud-edge communication, computing, and storage in a power distribution network according to claim 10, characterized in that, The step of making a data offloading decision from the edge server to the cloud server based on the edge-cloud communication resource configuration further includes: Based on the edge-cloud communication resource configuration and the computing resources configured by the edge server for terminal n, the data offloading decision from the edge server to the cloud server is calculated as follows: In the formula, This refers to the scoring of data from terminal n being offloaded to the cloud server from the edge server. This represents the proportion of data offloaded from the terminal n to the cloud server in the edge server.
12. The method for hierarchical planning and configuration of cloud-edge communication, computing, and storage in a power distribution network according to claim 11, characterized in that, The step of calculating end-layer data backlog based on the edge-layer resource configuration further includes: The end-layer data backlog is represented as follows: In the formula, The data backlog of terminal n at the completion of the t-th iteration. The total amount of data generated by terminal n in the t-th iteration. For terminal n, available computing resources This refers to the data processing capability of terminal n.
13. The hierarchical planning and configuration method for distribution network cloud-edge communication, computing, and storage according to claim 12, characterized in that, The step of calculating terminal data backlog based on the edge layer resource configuration and making a data offloading decision from the terminal to the edge server based on the inter-edge communication resource configuration further includes: Based on the edge server's storage resource configuration and the data backlog maintained by the edge server for terminal n, the data offloading decision for the terminal to the edge server is calculated as follows: In the formula, This is a scoring system for how terminal n unloads data to the edge server. The proportion of data offloaded from terminal n to the edge server; Based on the data returned by the edge server, the remaining communication resources for the terminal to upload data can be obtained, and the communication resource configuration required for the terminal n to upload data is determined. Represented as Based on cloud-edge-device communication, computing and storage resource configuration and data offloading decisions, data processing is executed; after the data backlog results at the computing end-layer terminal are processed, feedback is provided to adjust the cloud-edge resource configuration.
14. A hierarchical planning and configuration device for cloud-edge communication, computing, and storage in a power distribution network, characterized in that, It includes a cloud layer configuration module, an edge layer configuration module, and a terminal layer configuration module; among them, The cloud configuration module is used to integrate the cloud server resource status and the amount of data to be processed, configure cloud computing resources, allocate the total communication resources required for each terminal data to be transmitted between the cloud and the edge, as well as the communication resources required for the cloud server to transmit data back to the edge server, so as to complete the cloud storage resource configuration according to the data backlog of the cloud server, and send the cloud resource configuration information to the edge layer. The edge layer configuration module is used to calculate the edge layer data backlog based on the cloud layer resource configuration and configure the edge layer computing resources. It calculates the communication resources required for the edge server to offload data transmission based on the cloud server backhaul communication resources. It allocates the total communication resources required for each terminal to upload and back data between the edge and the terminal, as well as the communication resources required for the edge server to backhaul data to the terminal. It completes the edge layer storage resource configuration based on the edge server data backlog and sends the edge layer resource configuration information to the edge layer. It makes a data offloading decision from the edge server to the cloud server based on the edge-cloud communication resource configuration. The endpoint configuration module is used to calculate the endpoint data backlog based on the edge layer resource configuration, make a data offloading decision from the terminal to the edge server based on the edge-end communication resource configuration, calculate the communication resources required for the terminal to offload data transmission based on the communication resources returned by the edge server, perform data processing based on the cloud-edge-end communication calculation storage resource configuration and data offloading decision, and after obtaining the terminal data backlog result for this iteration, provide feedback to adjust the cloud-edge resource configuration.
15. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1-13.
16. A computer-readable storage medium, characterized in that, It stores a computer program thereon; the computer program is executed by a processor to implement the method as described in any one of claims 1-13.
Citation Information
Patent Citations
LTE power wireless private network task unloading and resource allocation method based on cloud side cooperation
CN111585916A
Time delay optimization method and device for cloud edge multilayer cooperation in edge computing network
CN111970323A