Edge resource allocation method and device for new power system

By configuring priority and resource request emergency factors for terminal devices in the power grid, combined with the transmission power consumption requirement, the resource allocation problem in the edge computing environment is solved, and the system utility of resource allocation is maximized, which is suitable for the edge of new power systems. Resource configuration.

CN117793934BActive Publication Date: 2024-12-27INFORMATION & COMMUNICATION BRANCH STATE GRID JIBEI ELECTRIC POWER CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311620489.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-30
Publication Date
2024-12-27
Estimated Expiration
2043-11-30

AI Technical Summary

Technical Problem

In an edge computing environment, computing resources are limited. How to reasonably allocate resources to cope with the challenges of high load, high bandwidth, high mobility and low latency, especially when resource and power consumption are limited, resource allocation problems need to be solved urgently.

Method used

By configuring priority and resource request emergency factors for terminal devices in the power grid, combining transmission power consumption requirements, measuring the resource benefit function of terminal devices, and determining resource allocation plans in combination with cost to optimize resource allocation.

Benefits of technology

The system utility of resource allocation is maximized, ensuring that terminal equipment with larger emergency factors obtains more transmission power consumption, and improving system utility, which is suitable for edge resource configuration for new power systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117793934B_ABST
    Figure CN117793934B_ABST
Patent Text Reader

Abstract

The present application discloses an edge resource allocation method and device for a new type of power system, and relates to the field of smart grid technology. The solution provided by the present application is: in response to the resource allocation problem in the edge computing environment in the prior art, by introducing resource request urgency factors such as priority and first demand degree, resources are allocated to terminal devices that can maximize the system utility with system utility as the optimization goal. The transmission power consumption is also reasonably allocated by introducing power consumption request urgency factors such as second demand degree, and more transmission power consumption is allocated to terminal devices with larger urgency factors. Taking into account the different urgency of resource demands of different terminal devices, starting from the benefits of the terminal devices, it helps to maximize the utility of the system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of smart grid technology, and in particular to an edge resource allocation method and device for a new power system. Background Art

[0002] With the continuous development of mobile Internet and industrial Internet of Things, 5G smart grid applications continue to emerge, and the number of mobile terminal devices in the power grid has increased dramatically, which in turn has put higher requirements on network services such as computing power, network quality, transmission rate, and response delay.

[0003] Nowadays, the explosive growth of traffic has brought unprecedented pressure to the power grid, greatly affecting the service quality. In order to effectively alleviate the challenges of high load, high bandwidth, high mobility, and low latency faced by the power grid, the concept of Mobile Edge Computing (MEC) came into being.

[0004] However, in response to the integration of network big data and a large number of edge devices in the power grid, the computing resources brought by MEC are still limited. How to reasonably allocate edge resources is still an urgent problem to be solved. However, due to limited computing resources, the problem of multi-dimensional resource allocation has always been a hot topic of discussion in the edge computing environment. In particular, when resources and power consumption are limited, how to reasonably allocate computing resources is still an urgent problem to be solved.

[0005] Application Contents

[0006] The present application provides an edge resource configuration method and device for a new power system, which optimizes the resource configuration of the terminal equipment based on the benefits of the terminal equipment and obtains a better resource configuration plan.

[0007] In order to achieve the above objectives, this application mainly provides the following technical solutions:

[0008] In a first aspect, the present application provides an edge resource configuration method for a new power system, the method comprising:

[0009] In the power grid, for an uplink transmission phase that occurs, a priority is configured for each terminal device, and a first demand degree is configured for a resource request applied for by the terminal device;

[0010] In the power grid, for a downlink transmission phase that occurs, configuring a second demand degree for the transmission power consumption requested from the terminal device;

[0011] Combining the first demand degree and the second demand degree corresponding to the same terminal device, to measure a first benefit function of the terminal device applying for resource allocation in the power grid;

[0012] The first benefit and the cost consumed by the terminal device when applying for resource allocation are comprehensively considered to determine a second benefit function corresponding to the terminal device, which is applied to edge resource configuration for new power systems.

[0013] A second aspect of the present application provides an edge resource configuration device for a new power system, the device comprising:

[0014] A first configuration unit is used to configure a priority for each terminal device and a first demand degree for a resource request applied for by the terminal device in an uplink transmission phase occurring in the power grid;

[0015] A second configuration unit is used to configure a second requirement degree for the transmission power consumption requested from the terminal device for a downlink transmission phase occurring in the power grid;

[0016] A measuring unit, configured to measure a first benefit function of the terminal device applying for resource allocation in a power grid by combining the first demand degree and the second demand degree corresponding to the same terminal device;

[0017] The first application unit is used to comprehensively determine the first benefit and the cost consumed by the terminal device when applying for resource allocation, and apply it to the edge resource configuration for the new power system.

[0018] A third aspect of the present application provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the edge resource configuration method for the new power system as described above is implemented.

[0019] The fourth aspect of the present application provides an electronic device, comprising: a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the edge resource configuration method for the new power system as described above.

[0020] By means of the above technical solution, the technical solution provided by this application has at least the following advantages:

[0021] The present application provides an edge resource configuration method and device for a new type of power system. In the uplink transmission phase in the power grid, a priority is configured for each terminal device, a first demand degree is configured for the resource request applied for by the terminal device, and in the downlink transmission phase, a second demand degree is configured for the transmission power consumption applied for by the terminal device. The first demand degree and the second demand degree corresponding to the same terminal device are combined to measure the first benefit function of the terminal device applying for resource allocation in the power grid, and the second benefit function corresponding to the terminal device is determined in combination with the cost consumed by the terminal device when applying for resource allocation, which is applied to the edge resource configuration for the new type of power system.

[0022] In response to the resource allocation problem in the edge computing environment in the prior art, by introducing resource request urgency factors such as priority and first demand degree, resources are allocated to terminal devices that can maximize system utility with system utility as the optimization goal. In addition, by introducing power consumption request urgency factors such as second demand degree, transmission power consumption is reasonably allocated, and more transmission power consumption is allocated to terminal devices with larger urgency factors. Considering that different terminal devices have different urgency levels for resource requirements, the utility of the system is maximized based on the benefits of the terminal devices.

[0023] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present application. Also, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:

[0025] Figure 1 A flow chart of an edge resource configuration method for a new power system provided in an embodiment of the present application;

[0026] Figure 2 A block diagram of a device for configuring edge resources for a new type of power system provided in an embodiment of the present application;

[0027] Figure 3 A block diagram of the composition of another edge resource configuration device for a new power system provided in an embodiment of the present application. DETAILED DESCRIPTION

[0028] The exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present application and to fully convey the scope of the present application to those skilled in the art.

[0029] There are a large number of terminal devices in the edge computing environment of the power grid, and these terminal devices will continuously establish data communications with the corresponding edge servers. In the uplink transmission phase that occurs in the power grid (i.e., the terminal device sends a resource request to the edge server), the resource request sent by the terminal device generally includes requests for resources such as computing power, storage, and bandwidth. Since there are many types of resource requirements for terminal devices, after considering the urgency of events in real life, the embodiment of this application introduces the priority of the terminal device and the first demand degree of the terminal device for edge server resources.

[0030] Among them, the priority of the terminal device is the importance of each terminal device in the edge server. The more important the terminal device is, the higher its priority is. The priority is the VIP level. The first demand degree of the terminal device for edge server resources is used to characterize the demand degree of each terminal device for different types of server resources. Exemplarily, the embodiment of the present application can automatically measure and configure the "priority" and "first demand degree" according to the event content requested by the terminal device.

[0031] For example, when a terminal device wants to perform a task of playing a movie, among the resources it requests from the edge server, the demand for bandwidth resources is relatively high, so the first demand degree of the bandwidth resources of the terminal device can be increased accordingly.

[0032] In the power grid, for the downlink transmission phase (i.e., the edge server responds to the resource request of the terminal device and transmits data information to the terminal device), the transmission of data information to the terminal device requires transmission power consumption. The transmission power consumption is only related to the power consumption allocated to the terminal device. The higher the allocated power consumption, the better the transmission effect.

[0033] For example, when a terminal device executes different tasks, the transmission power consumption required is different. For example, a task of downloading a movie requires a larger power consumption. In this case, the second demand degree of transmission power consumption configuration requested from the terminal device can be increased accordingly.

[0034] In the embodiment of the present application, it should be noted that the above “priority”, “first demand degree” and “second demand degree” are all for terminal devices and can all be called “resource request urgency factor”.

[0035] The embodiment of the present application introduces resource request urgency factors such as priority and first demand degree, and allocates resources to terminal devices that can maximize system utility with system utility as the optimization goal. It also introduces power consumption request urgency factors such as second demand degree to reasonably allocate transmission power consumption, and allocates more transmission power consumption to terminal devices with larger urgency factors. Taking into account the different urgency of resource requirements of different terminal devices, the utility of the system is maximized.

[0036] Based on the above considerations, the embodiment of the present application provides an edge resource configuration method for a new power system, such as Figure 1 As shown, starting from the benefits of the terminal device, in order to optimize the resource allocation of the terminal device, the embodiment of the present application provides the following specific steps:

[0037] 101. In the power grid, for an uplink transmission phase that occurs, configure a priority for each terminal device and configure a first demand for a resource request applied for by the terminal device.

[0038] Exemplarily, the embodiment of the present application uses a function to represent the first demand degree corresponding to the terminal device.

[0039] The priority of terminal device m is set to ω m , the first demand degree of terminal device m for the dth resource is set to r md , the terminal device wants to apply for resources α md Therefore, the first upper limit function of the terminal device's demand for edge server resources is expressed as:

[0040] The resource demand of the terminal device is in line with the trend of the ln() function. After the edge server meets the resource demand of the terminal device, the experience of the terminal device reaches a satisfactory level. At this time, allocating more resources cannot further improve the experience of the terminal device. The upward trend of the natural logarithm function is gradually flat, which is in line with this characteristic.

[0041] On this basis, priority and first demand are introduced. After combining these two emergency factors, the improved first demand upper limit function can better represent the highest price provided by a terminal device for a resource requested by a terminal device when the resource meets the demand. Therefore, the first demand upper limit function of the terminal device for edge server resources is constructed.

[0042] It should be noted that for the term "selling price", the embodiment of the present application applies the concepts of cost and benefit in the financial field to the resource allocation task to establish a "first demand upper limit function", in which the resources that each terminal device wants to allocate are presented in the form of a "selling price", and the constraints or costs imposed on each terminal device when allocating resources are presented in the form of a cost. Therefore, the "selling price" minus the "cost" is the effective "benefit".

[0043] 102. In the power grid, for a downlink transmission phase occurring, configure a second demand degree for transmission power consumption requested from the terminal device.

[0044] Similar to step 101, the second requirement of the terminal device m for transmission power consumption is set to v mp , the expression of the second upper limit function of the terminal device's demand for the transmission capacity of the transmission node is:

[0045] U2=ω m v mp ln(1+P m ), where P m represents the transmission power consumption of the terminal device m. The improved second upper limit function of the demand can better represent the highest price provided by the terminal device when the best experience of backhauling to a certain terminal device is met.

[0046] 103. Combining the first demand degree and the second demand degree corresponding to the same terminal device, a first benefit function of the terminal device applying for resource allocation in the power grid is measured.

[0047] For example, the “first demand upper limit function” and the “second demand upper limit function” actually obtain the “benefit” for the terminal device without considering the “cost”, which can be called the “first benefit function”.

[0048] 104. A second benefit function corresponding to the terminal device is determined by comprehensively considering the first benefit and the cost consumed by the terminal device when applying for resource allocation, and is applied to the edge resource configuration for the new power system.

[0049] The terminal device also needs to calculate the income based on the cost price. In the embodiment of the present application, the cost includes the cost of the terminal device when enjoying the service corresponding to the application resource. And the price you pay for enjoying the transmission rate p t P m Therefore, the terminal device benefit function can be finally expressed as:

[0050]

[0051] Among them, since there is more than one terminal device in the power grid, and the terminal device requests more than one resource type, the terminal device revenue function considering terminal device m needs to sum the revenue corresponding to all requested resource types, and the unit price of the dth type of resource sold to the terminal device is p d And the unit price of transmission power consumption is p t .

[0052] As described above, the embodiment of the present application provides an edge resource configuration method for a new type of power system. In the uplink transmission phase that occurs in the power grid, a priority is configured for each terminal device, and a first demand degree is configured for the resource request applied for by the terminal device. In the downlink transmission phase that occurs, a second demand degree is configured for the transmission power consumption applied for by the terminal device. The first demand degree and the second demand degree corresponding to the same terminal device are combined to measure the first benefit function of the terminal device applying for resource allocation in the power grid, and the second benefit function corresponding to the terminal device is determined in combination with the cost consumed by the terminal device when applying for resource allocation, which is applied to the edge resource configuration for the new power system.

[0053] In response to the resource allocation problem in the edge computing environment in the prior art, by introducing resource request urgency factors such as priority and first demand degree, resources are allocated to terminal devices that can maximize system utility with system utility as the optimization goal. In addition, by introducing power consumption request urgency factors such as second demand degree, transmission power consumption is reasonably allocated, and more transmission power consumption is allocated to terminal devices with larger urgency factors. Considering that different terminal devices have different urgency levels for resource requirements, the utility of the system is maximized based on the benefits of the terminal devices.

[0054] Furthermore, in addition to a large number of terminal devices, the edge computing environment in the power grid also includes edge servers and transmission nodes. When allocating resources, each end (terminal, edge server, transmission node) wants to maximize its own functions. For example, the edge server wants to allocate as many of its resources as possible, the terminal device wants to request as many of its resources as possible, and the transmission node wants to allocate as much transmission power consumption as possible to execute tasks.

[0055] However, each end cannot allocate resources without limit and will be restricted by other ends or the environment. Taking this into consideration, the embodiment of the present application provides a more detailed and optimal "edge resource configuration for new power systems" solution based on the relationship between terminal devices, edge servers and transmission nodes, as shown in the following steps A1-A3.

[0056] Step A1: construct a revenue function of the edge server based on resource requests applied by each terminal device to the edge server, unit resources of the edge server, and unit resource costs of the edge server in the power grid.

[0057] When constructing the edge server revenue function, the overall model of the edge server model must first be considered. Since the edge server model consists of several edge servers, the embodiment of the present application uses a "virtualized" approach to manage these physical resources in a unified manner. This model divides these resources into types, denoted as S = {S1, S2, ..., S D}, the upper limit of each type of resource is S d , The task resource request of terminal device m is α m ={α m1 , α m2 , ..., α mD}, c d is the unit cost price of the dth type of marginal resources, p d The unit price of the Class D resource sold to the terminal device.

[0058] Therefore, the benefits of the edge server resources are:

[0059]

[0060] Step A2: constructing a transmission node revenue function in the power grid based on the unit power consumption resources on the transmission node and the cost corresponding to the unit power consumption resources and the transmission power consumption;

[0061] The downlink transmission part of the transmission node model is only related to the allocated power consumption. The higher the allocated power consumption, the better the transmission effect and the higher the benefit. Therefore, the embodiment of the present application introduces a transmission power consumption vector P = {P1, P2, ..., P M} to reflect this situation. Among them, the unit cost price of transmission power consumption is c t , the unit price of transmission power consumption is p t .

[0062] Therefore, the benefit of the transmission node is:

[0063]

[0064] Step A3: Apply the revenue function of the edge server and the revenue function of the transmission node to the edge resource configuration for the new power system.

[0065] Furthermore, in addition to obtaining the edge server-side revenue and the transmission node-side revenue, the embodiment of the present application also takes into account some constraints, such as: resource constraints and power grid power constraints; resource constraints, which are used to limit the total resource requests sent by the terminal devices of the resource configuration system to not exceed the resource upper limit provided by the edge server; power grid power constraints, which are used to limit the total transmission power consumption of the transmission nodes of the resource configuration system to not exceed the power consumption resource upper limit provided by the power grid. Specifically, these constraints are constructed, such as step B1 and step B2.

[0066] Step B1: Set in the power grid that the total of resource requests sent by each terminal device does not exceed the resource upper limit provided by each edge server as a resource constraint condition.

[0067] Step B2: setting the total transmission power consumption of each transmission node in the power grid not to exceed the upper limit of power consumption resources provided by the power grid as a power consumption constraint condition of the power grid.

[0068] For resource constraints, the sum of resource requests of all types of terminal devices in the system cannot exceed the upper limit of edge resources, that is:

[0069]

[0070] The power consumption constraints of the power grid are as follows:

[0071]

[0072] in, is the total number of terminal devices in the resource configuration system, m is the terminal device serial number, d is the type serial number of the edge server resource, is the total number of resource types of edge servers, φ d is the unit energy consumption of the d-th resource, α md is the task resource request of terminal device m for the dth resource, P m is the transmission power consumption vector of terminal device m, P max Total transmission power consumption provided to the grid.

[0073] Step B3: Apply resource constraints and grid power consumption constraints to edge resource configuration for new power systems.

[0074] Step C: Based on the second benefit function corresponding to the terminal device, the benefit function of the edge server, the transmission node benefit function, the resource constraints and the power grid power constraints, an objective function is constructed to solve the resource configuration of the edge server and the transmission node.

[0075] Based on the benefit function and constraints of each end, the resource configuration results of the edge server and the transmission node are determined, including: based on the objective function, optimization objectives and constraints, the optimal solution of the objective function is solved by the external approximation method; based on the optimal solution, the resource configuration results of the edge server and the transmission node are determined.

[0076] The final objective function is constructed as:

[0077]

[0078] The optimization problem determined based on the objective function and constraints is:

[0079]

[0080]

[0081] The objective function U(α, P) is a The function of the element, Therefore, the total revenue corresponding to each terminal device and demand can be expressed as U i =ωr·ln(1+x)-cx, where the domain is [0, +∞), so U is in X=[x1 * , x1 * , x1 * , ..., x M*(D+1) * ] to obtain the maximum value.

[0082] The Polyblock outer approximation method is used to solve the optimal solution. The maximum value of the strictly increasing function defined on the Polyblock is always obtained at a vertex of the Polyblock. Therefore, the maximum value of the strictly increasing function can be effectively obtained by traversing the vertices of the Polyblock.

[0083] Establish the initial block. According to the relationship between the extreme point and the boundary of the feasible region, the initial block has the following two situations:

[0084] (1) The vertex is within or on the boundary of the feasible region. Since the function reaches its maximum value at the value point and satisfies the constraints, the point is the optimal solution.

[0085] (2) When the vertex is outside the boundary of the feasible region, when the block formed by the extreme point completely contains the feasible region, the function satisfies the monotonic condition in the feasible region, so the block boundary is reduced, and X1 = [S1…S1,......,S D …S D , P max …P max ], then this point is the initial block vertex.

[0086] Another case: When the block formed by the extreme point contains part of the feasible domain, the property of the extreme point shows that the function is monotonically increasing in the block formed by the extreme point X, while the area outside the block is monotonically decreasing. Let any point in the feasible domain outside the block be X. * , the block function on the S1 axis is monotonically decreasing, so X2>X3, and P max The axis is in the block area, and the function increases monotonically, so X3>X * , so any point outside the block X2>X * It always holds true, that is, there is no optimal solution outside the block, so let X1 be the initial block vertex.

[0087] Find the optimal solution by updating the blocks;

[0088] First, construct the "0-X" straight line through the "two-point method", as shown below:

[0089] x1=k*x1 *

[0090] x2=k*x2 *

[0091]

[0092] x M(D+1) =k*x M(D+1) *

[0093] Then, the constraints form a Substituting the "0-X" line into the feasible domain boundary can get the intersection of the two, as shown in the following formula:

[0094]

[0095]

[0096] The common solution of the proportional factor k that satisfies the D+1 constraints in the above formula is:

[0097] k=min(k1,k1,k1…k D+1 ), and then substitute it into the “0-X” line to find the intersection point:

[0098] R = [x1, x1, x1, ..., x M*(D+1) ].

[0099] Finally, calculate the function values ​​at the vertex and the intersection. If the utility value at the vertex is infinitely close to the utility value at the intersection, then this point is the optimal solution and the algorithm ends. Otherwise, generate a new vertex system and select the new vertex by comparing the function utility values, and so on, until the optimal solution is found.

[0100] Furthermore, as a response to the above Figure 1 The implementation of the method shown in the figure, the embodiment of the present application provides an edge resource configuration device for a new power system. The device embodiment corresponds to the aforementioned method embodiment. For ease of reading, the device embodiment will no longer repeat the details of the aforementioned method embodiment one by one, but it should be clear that the device in this embodiment can correspond to all the contents of the aforementioned method embodiment. The device is used to provide a better resource configuration solution for the edge computing environment, specifically as Figure 2 As shown, the device comprises:

[0101] A first configuration unit 21 is used to configure a priority for each terminal device and a first demand degree for a resource request applied for by the terminal device in an uplink transmission phase occurring in the power grid;

[0102] A second configuration unit 22 is used to configure a second requirement degree for the transmission power consumption requested from the terminal device in the downlink transmission phase that occurs in the power grid;

[0103] A measuring unit 23, configured to combine the first demand degree and the second demand degree corresponding to the same terminal device to measure a first benefit function of the terminal device applying for resource allocation in the power grid;

[0104] The first application unit 24 is used to comprehensively consider the first benefit and the cost consumed by the terminal device when applying for resource allocation, determine a second benefit function corresponding to the terminal device, and apply it to edge resource configuration for new power systems.

[0105] Further, such as Figure 3 As shown, the device also includes:

[0106] A first constructing unit 25 is used to construct a revenue function of the edge server in the power grid based on resource requests applied by each terminal device to the edge server, unit resources of the edge server, and unit resource costs of the edge server;

[0107] A second construction unit 26 is used to construct a transmission node benefit function based on the unit power consumption resources and the cost corresponding to the unit power consumption resources and the transmission power consumption on the transmission node in the power grid;

[0108] The first application unit 24 is used to apply the revenue function of the edge server and the transmission node revenue function to the edge resource configuration for the new power system.

[0109] Further, such as Figure 3 As shown, the device also includes:

[0110] A first determining unit 27, configured to set in the power grid that the sum of resource requests sent by each terminal device does not exceed the resource upper limit provided by each edge server as a resource constraint condition;

[0111] A second determining unit 28 is used to set the total transmission power consumption of each transmission node in the power grid not to exceed the upper limit of the power consumption resources provided by the power grid as a power consumption constraint condition of the power grid;

[0112] The first application unit 24 is used to apply the resource constraint condition and the power grid power consumption constraint condition to edge resource configuration for a new power system.

[0113] Further, such as Figure 3 As shown, the device also includes:

[0114] A third construction unit 29 is used to construct an objective function for solving resource configuration for the edge server and the transmission node based on the second benefit function corresponding to the terminal device, the benefit function of the edge server, the transmission node benefit function, the resource constraint condition and the power grid power consumption constraint condition;

[0115] The second application unit 210 is further configured to apply the objective function to obtain resource allocation to the edge server and the transmission node.

[0116] In summary, the embodiments of the present application provide an edge resource configuration method and device for a new type of power system. In response to the resource configuration problem in the edge computing environment in the prior art, the embodiments of the present application introduce resource request urgency factors such as priority and first demand degree, and allocate resources to terminal devices that can maximize system utility with system utility as the optimization goal. The transmission power consumption is also reasonably allocated by introducing power consumption request urgency factors such as second demand degree, and more transmission power consumption is allocated to terminal devices with larger urgency factors. Taking into account the different urgency of resource requirements of different terminal devices, the utility of the system is maximized based on the benefits of the terminal devices. In addition, considering that in addition to a large number of terminal devices, the edge computing environment in the power grid also includes edge servers and transmission nodes, the embodiments of the present application optimize the solution based on the relationship between terminal devices, edge servers and transmission nodes.

[0117] The edge resource configuration device for the new power system includes a processor and a memory. The above-mentioned first configuration unit, second configuration unit, measurement unit and first application unit are all stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to realize corresponding functions.

[0118] The processor contains a kernel, which calls the corresponding program unit from the memory. One or more kernels can be set, and the solution is optimized by adjusting the kernel parameters according to the relationship between the terminal device, edge server and transmission node to achieve effective resource allocation in the edge computing environment.

[0119] An embodiment of the present application provides a storage medium on which a program is stored. When the program is executed by a processor, the edge resource configuration method for the new power system is implemented.

[0120] An embodiment of the present application provides a processor, which is used to run a program, wherein the edge resource configuration method for the new power system is executed when the program is running.

[0121] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program that initializes the steps of the edge resource configuration method for a new power system.

[0122] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0123] In a typical configuration, the device includes one or more processors (CPU), memory and bus. The device may also include input / output interface, network interface and the like.

[0124] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip. The memory is an example of a computer-readable medium.

[0125] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0126] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0127] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0128] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.

Claims

1. A method for configuring edge resources for a new power system, characterized in that The method is applied to synthesizing the benefit functions of each terminal device in the uplink transmission phase and the downlink transmission phase to perform edge resource configuration, and the method includes: In the power grid, for an uplink transmission phase that occurs, a priority is configured for each terminal device, and a first demand degree is configured for a resource request applied for by the terminal device. The uplink transmission phase is for the terminal device to send a resource request to an edge server. The first demand degree is represented by a first demand upper limit function. The first demand upper limit function is a function whose rising trend gradually tends to be flat, which is used to represent that after the edge server meets the resource demand applied for by the terminal device and the experience of the terminal device reaches a satisfactory level, more allocated resources will not further improve the experience of the terminal device. For the downlink transmission phase that occurs in the power grid, a second demand degree is configured for the transmission power consumption requested by the terminal device. The downlink transmission phase is when the edge server responds to the resource request of the terminal device and transmits data information to the terminal device. The second demand degree is represented by a second demand upper limit function. The second demand upper limit function is used to characterize: when the backhaul to the terminal device is satisfied, the corresponding selling price provided by the terminal device is satisfied. The selling price corresponds to the meaning of applying the concept of cost and benefit in the financial field to the resource allocation task. Combining the first demand degree and the second demand degree corresponding to the same terminal device, to measure a first benefit function of the terminal device applying for resource allocation in the power grid; The first benefit and the cost consumed by the terminal device when applying for resource allocation are comprehensively considered to determine a second benefit function corresponding to the terminal device, which is applied to edge resource configuration for new power systems.

2. The method according to claim 1, characterized in that: The method further comprises: In the power grid, based on resource requests corresponding to the requests made by the terminal devices to the edge server, the unit resources of the edge server, and the cost of the unit resources of the edge server, a revenue function of the edge server is constructed; In the power grid, based on the unit power consumption resources on the transmission nodes and the cost and transmission power consumption corresponding to the unit power consumption resources, a transmission node revenue function is constructed; The revenue function of the edge server and the revenue function of the transmission node are applied to the edge resource configuration for the new power system.

3. The method according to claim 2, characterized in that The method further comprises: In the power grid, the sum of resource requests sent by each terminal device is set not to exceed the upper limit of resources provided by each edge server as a resource constraint condition; The total transmission power consumption of each transmission node in the power grid is set not to exceed the upper limit of the power consumption resources provided by the power grid, as a power consumption constraint condition of the power grid; The resource constraint condition and the power grid power consumption constraint condition are applied to edge resource configuration for a new power system.

4. The method according to claim 3, characterized in that The method further comprises: Based on the second benefit function corresponding to the terminal device, the benefit function of the edge server, the transmission node benefit function, the resource constraint condition and the power grid power consumption constraint condition, an objective function is constructed to solve the resource configuration of the edge server and the transmission node.

5. An edge resource configuration device for a new power system, characterized in that The device is used to integrate the benefit functions of each terminal device in the uplink transmission phase and the downlink transmission phase to perform edge resource configuration, and the device includes: A first configuration unit is used to configure a priority for each terminal device and a first demand degree for a resource request applied for by the terminal device in an uplink transmission phase that occurs in the power grid, wherein the uplink transmission phase is when the terminal device sends a resource request to the edge server, and the first demand degree is represented by a first demand upper limit function, wherein the first demand upper limit function is a function whose rising trend gradually tends to be flat, and is used to represent that after the edge server meets the resource demand applied for by the terminal device and the experience of the terminal device reaches a satisfactory level, more allocated resources will not further improve the experience of the terminal device; A second configuration unit is used to configure a second demand degree for the transmission power consumption requested by the terminal device for a downlink transmission phase that occurs in the power grid, wherein the downlink transmission phase is when the edge server responds to the resource request of the terminal device and transmits data information to the terminal device, and the second demand degree is represented by a second demand upper limit function, and the second demand upper limit function is used to characterize: when the backhaul to the terminal device is satisfied, the selling price corresponding to the selling price corresponds to the meaning of using the concept of cost and benefit in the financial field in the resource allocation task; A measuring unit, configured to measure a first benefit function of the terminal device applying for resource allocation in a power grid by combining the first demand degree and the second demand degree corresponding to the same terminal device; The first application unit is used to comprehensively determine the first benefit and the cost consumed by the terminal device when applying for resource allocation, and apply it to the edge resource configuration for the new power system.

6. The device according to claim 5, characterized in that The device also includes: A first construction unit is used to construct a revenue function of the edge server in the power grid based on resource requests applied by each terminal device to the edge server, unit resources of the edge server, and cost of the unit resources of the edge server; A second construction unit is used to construct a transmission node benefit function in the power grid based on the unit power consumption resources on the transmission node and the cost corresponding to the unit power consumption resources and the transmission power consumption; The first application unit is used to apply the revenue function of the edge server and the transmission node revenue function to edge resource configuration for a new power system.

7. The device according to claim 6, characterized in that The device also includes: A first determining unit, configured to set in the power grid that the sum of resource requests sent by each terminal device does not exceed the resource upper limit provided by each edge server as a resource constraint condition; A second determining unit is used to set the total transmission power consumption of each transmission node in the power grid not exceeding the upper limit of the power consumption resources provided by the power grid as a power consumption constraint condition of the power grid; The first application unit is used to apply the resource constraint condition and the power grid power consumption constraint condition to edge resource configuration for a new power system.

8. The device according to claim 7, characterized in that The device also includes: A third construction unit is used to construct an objective function for solving resource configuration for the edge server and the transmission node based on the second benefit function corresponding to the terminal device, the benefit function of the edge server, the transmission node benefit function, the resource constraint condition and the power grid power consumption constraint condition; The second application unit is further configured to apply the objective function to obtain resource allocation to the edge server and the transmission node.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the edge resource configuration method for a new power system according to any one of claims 1 to 4 is implemented.

10. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements an edge resource configuration method for a new power system as described in any one of claims 1 to 4.