Resource slicing method, device and equipment, readable storage medium and program product

By comparing and analyzing the demand for power business resource slicing with the initial allocation strategy and adjusting the resource allocation strategy, the problem of traditional resource slicing technology being unable to meet the low latency and high QoS, and efficient resource allocation and service quality assurance in the power system is achieved.

CN120529418APending Publication Date: 2025-08-22GUANGZHOU POWER SUPPLY BUREAU GUANGDONG POWER GRID CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510662853.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-22
Publication Date
2025-08-22

AI Technical Summary

Technical Problem

Traditional resource slicing technology is difficult to meet the business needs of low latency and high QoS guarantees, and cannot achieve efficient resource allocation and service quality assurance in the power system.

Method used

By obtaining the resource requirements of each resource slice in the power business, performing comparison and analysis, determining the resource utilization status, and adjusting the resource allocation strategy according to the status, optimizing resource configuration to meet the business needs of low-latency and high QoS.

Benefits of technology

It realizes low latency and high QoS service guarantee, reduces task processing time and data transmission delay, ensures business reliability and accuracy, responds to changes in business demand in a timely manner, avoids service degradation, and improves the overall network performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120529418A_ABST
    Figure CN120529418A_ABST
Patent Text Reader

Abstract

The invention relates to a resource slicing method and device, equipment, a readable storage medium and a program product. The method comprises the following steps: acquiring a resource demand of each resource slice in a power service; for each resource slice, performing comparative analysis on the resource demand of the resource slice and an initial allocation strategy, and determining a resource utilization state of the resource slice; and determining a target allocation strategy of the resource slices according to the resource utilization state. By adopting the method, the requirements of low time delay and high QoS guarantee service can be met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a resource slicing method, apparatus, device, readable storage medium, and program product. Background Art

[0002] The digital and intelligent transformation of the power industry is placing stringent demands on the real-time and efficient communication between power equipment and systems, including remote monitoring, fault diagnosis, and data analysis. Network slicing technology has emerged to precisely meet the diverse needs of diverse services in this new power system.

[0003] However, traditional resource slicing technology has difficulty meeting the performance requirements of low-latency, high-QoS services. Therefore, there is an urgent need for a slicing technology that can meet the needs of low-latency, high-QoS services. Summary of the Invention

[0004] Based on this, it is necessary to provide a resource slicing method, device, equipment, readable storage medium and program product that can meet the low latency and high QoS guarantee business requirements to address the above technical problems.

[0005] In a first aspect, the present application provides a resource slicing method, comprising:

[0006] Obtain resource requirements for each resource slice in the power business;

[0007] For each resource slice, compare and analyze the resource demand of the resource slice with the initial allocation strategy to determine the resource utilization status of the resource slice;

[0008] Determine the target allocation strategy for resource slices based on resource utilization status.

[0009] In one embodiment, determining a target allocation strategy for resource slices based on resource utilization status includes:

[0010] Sorting multiple resource utilization states to obtain sorting information;

[0011] Based on the sorting information and the total amount of available resources obtained in advance, resource slices are adjusted to generate a target allocation strategy that matches the resource utilization status.

[0012] In one embodiment, the resource slices are adjusted sequentially based on the ranking information and the pre-obtained total amount of available resources to generate a target allocation strategy that matches the resource utilization status, including:

[0013] Determine the resource status of the resource slice, which includes at least resource sufficient status, supply and demand balance status, and resource shortage status;

[0014] When a resource slice is in a resource shortage state, resource compensation is performed on the task resources corresponding to the resource slice according to the sorting information;

[0015] When the resource slice is in a state of sufficient resources, the corresponding task resources of the resource slice are adjusted according to the sorting information;

[0016] When the resource slice is in a state of supply and demand balance, the task resources corresponding to the resource slice will not be processed.

[0017] In one embodiment, the initial allocation strategy includes an initial total amount of resources allocated to the resource slice. For each resource slice, a comparison and analysis is performed between the resource demand of the resource slice and the initial allocation strategy to determine the resource utilization status of the resource slice, including:

[0018] Compare the resource requirements of the resource slice with the initial total resources and calculate the resource utilization difference of the resource slice;

[0019] Based on the resource utilization difference and the preset utilization threshold, the resource utilization status corresponding to the resource slice is determined.

[0020] In one embodiment, the method further includes:

[0021] Obtain the execution delay of tasks in each resource slice and determine the delay corresponding to the task with the largest delay in the resource slice;

[0022] Based on the delay and the preset QoS threshold, a set of resource slices that cannot guarantee QoS is constructed;

[0023] When the resource demand of the resource slice is not greater than the initial total resource amount, obtain the delay-insensitive tasks in the resource slice set that cannot guarantee QoS;

[0024] Perform resource update processing on the resource slices corresponding to latency-insensitive tasks.

[0025] In one embodiment, constructing a set of resource slices that cannot guarantee QoS based on the delay amount and a preset QoS threshold includes:

[0026] Compare the maximum delay of the task in each resource slice with the maximum allowed delay of the task;

[0027] When the delay amount exceeds a preset range threshold, the resource slice is determined as a set of resource slices that cannot guarantee QoS.

[0028] In a second aspect, the present application further provides a resource slicing device, comprising:

[0029] Resource acquisition module, used to obtain the resource requirements of each resource slice in the power business;

[0030] The comparison module is used to compare and analyze the resource requirements of each resource slice with the initial allocation strategy to determine the resource utilization status of the resource slice;

[0031] The determination module is used to determine the target allocation strategy of resource slices based on the resource utilization status.

[0032] In a third aspect, the present application further provides a computer device comprising a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:

[0033] Obtain resource requirements for each resource slice in the power business;

[0034] For each resource slice, compare and analyze the resource demand of the resource slice with the initial allocation strategy to determine the resource utilization status of the resource slice;

[0035] Determine the target allocation strategy for resource slices based on resource utilization status.

[0036] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the following steps:

[0037] Obtain resource requirements for each resource slice in the power business;

[0038] For each resource slice, compare and analyze the resource demand of the resource slice with the initial allocation strategy to determine the resource utilization status of the resource slice;

[0039] Determine the target allocation strategy for resource slices based on resource utilization status.

[0040] In a fifth aspect, the present application further provides a computer program product, comprising a computer program, which, when executed by a processor, implements the following steps:

[0041] Obtain resource requirements for each resource slice in the power business;

[0042] For each resource slice, compare and analyze the resource demand of the resource slice with the initial allocation strategy to determine the resource utilization status of the resource slice;

[0043] Determine the target allocation strategy for resource slices based on resource utilization status.

[0044] The resource slicing method, apparatus, device, readable storage medium, and program product described above first obtain the resource requirements of each resource slice in the power business; for each resource slice, the resource requirements of the resource slice are compared and analyzed with the initial allocation strategy to determine the resource utilization status of the resource slice; and finally, the target allocation strategy of the resource slice is determined based on the resource utilization status. In this method, by obtaining the resource requirements of the resource slice and comparing and analyzing them with the initial allocation strategy, the gap between resource allocation and the low-latency, high-QoS guarantee service requirements can be accurately identified. The target allocation strategy is then determined based on the resource utilization status. Resource allocation can be optimized in a targeted manner, prioritizing resource supply for low-latency, high-QoS services, reducing task processing time and data transmission delays, and ensuring service reliability and accuracy. At the same time, the dynamic adjustment mechanism can promptly respond to changes in business requirements, continuously ensuring service quality when business volume fluctuates, avoiding service degradation due to insufficient resources or unreasonable allocation, and achieving efficient convergence and optimized utilization of network resources for key businesses, comprehensively improving business service quality and overall network performance. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the following briefly introduces the drawings required for use in the embodiments of the present application or related technical descriptions. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying any creative work.

[0046] Figure 1 This is the dynamic slicing architecture diagram for the wireless side of the 5G power virtual private network;

[0047] Figure 2 Schematic diagram of a resource slicing method in one embodiment;

[0048] Figure 3 Schematic diagram of a resource slicing method according to another embodiment;

[0049] Figure 4 Schematic diagram of a resource slicing method according to another embodiment;

[0050] Figure 5 Schematic diagram of a resource slicing method according to another embodiment;

[0051] Figure 6 Schematic diagram of a resource slicing method according to another embodiment;

[0052] Figure 7 is a structural block diagram of a resource slicing device in one embodiment;

[0053] Figure 8FIG. 1 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0054] In order to make the purpose, technical solutions and advantages of this application more clear, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.

[0055] The resource slicing method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. Figure 1 This diagram shows the dynamic slicing architecture for the wireless side of a 5G power virtual private network. In this architecture, wireless access terminals carry a variety of services, including control services, data collection services, and mobile application services. These different services have varying requirements for network resources and service quality. Wireless resource slices exist between the wireless access terminals and 5G base stations. Through these resource slices, dedicated network resources are allocated to each service to meet its differentiated needs. The 5G base station is responsible for transmitting and receiving wireless signals and communicating with the wireless access terminal. The associated MEC server provides computing, storage, and other services close to the terminal, effectively reducing network latency.

[0056] On the right side of the architecture is the power system, which connects to wireless access terminals via 5G base stations and related network slices, enabling data exchange for power services. Between the 5G base stations and the power system are functional modules such as slicing strategy development, resource management, a dispatching and control center, and QoS assurance. These modules are responsible for developing resource slicing strategies, managing resource allocation, performing dispatching and control, and ensuring service quality. Together, they ensure the stable and efficient operation of the 5G power virtual private network.

[0057] In an exemplary embodiment, Figure 2 As shown, a resource slicing method is provided, which is applied to Figure 1 The server in the example is used for explanation, including the following S202 to S206.

[0058] S202, obtaining the resource requirements of each resource slice in the power business.

[0059] Among them, power business refers to various business activities involved in the operation of the power system, such as equipment control in the power production link, electricity consumption information collection, mobile application services, etc. These services carry and transmit data through the 5G power virtual private network.

[0060] Resource slicing refers to the division of physical or virtual resources (such as computing resources, storage resources, network resources, etc.) into multiple independent and dynamically adjustable resource subsets based on virtualization technology to meet the needs of different power businesses.

[0061] Resource requirements are the specific requirements that each resource slice places on various network resources in terms of quantity and performance to ensure the normal operation of the power services it carries. For example, a resource slice for a control-related service may have extremely high network latency requirements, requiring extremely low latency, as well as a certain amount of bandwidth and computing resources to ensure the timely and accurate transmission of control commands.

[0062] In an embodiment of the present application, first, the server establishes a stable data interface to connect with the business system and equipment management module in the 5G power virtual private network. The data interface adopts a standardized communication protocol to ensure the accuracy and stability of data transmission. On this basis, the power business is identified and classified, and the business data characteristics are analyzed using algorithms to accurately distinguish different business types such as control, acquisition, and mobile applications. Since different businesses have different resource demand characteristics, for each business corresponding to the resource slice, the monitoring equipment deployed at the network node is used to collect data traffic, computing task volume, storage usage and other indicators in the business operation in real time. Combined with the pre-built business resource demand model, the resource demand is converted into specific measurable values, including bandwidth size, computing resource power, storage capacity and other parameters, so as to achieve accurate acquisition of the resource demand of each resource slice.

[0063] S204: For each resource slice, compare and analyze the resource demand of the resource slice with the initial allocation strategy to determine the resource utilization status of the resource slice.

[0064] Among them, the initial allocation strategy is pre-set at the beginning stage. It is a network resource allocation plan for each resource slice, which stipulates the quantity and usage rules of each type of resources that can be obtained by each resource slice at the beginning.

[0065] The resource utilization status is determined by comparing and analyzing resource demand and the initial allocation strategy to determine the current resource usage status of the resource slice. It can generally be divided into states such as resource sufficient (actual allocated resources are greater than or equal to demand), supply and demand balance (actual allocated resources are roughly equal to demand), and resource shortage (actual allocated resources are less than demand).

[0066] In this embodiment of the present application, the server constructs a comparison model that includes multiple dimensions such as resource quantity, performance (such as network latency and data transmission rate), and type matching. The actual resource demand data of the resource slice is substituted into the model and a detailed calculation and comparison is performed with the resource configuration data in the initial allocation strategy. During the calculation process, precise numerical calculation methods are used to ensure the accuracy of the comparison results.

[0067] For example, quantitative analysis is performed by calculating the difference between actual bandwidth requirements and initially allocated bandwidth, and the difference between actual acceptable latency and the latency specified in the initial policy. Then, based on the comparison and calculation results, resource utilization is determined according to pre-defined judgment rules. These judgment rules use a tiered approach: when the actual allocated resources exceed 10% of the required resources and all performance indicators meet business requirements, resources are considered sufficient; when the difference between the actual allocated resources and the required resources is within ±5%, supply and demand are balanced; otherwise, resources are considered insufficient.

[0068] S206: Determine the target allocation strategy for resource slices based on the resource utilization status.

[0069] Among them, the target allocation strategy is determined after analysis and calculation based on the resource utilization status of the resource slice. It can better meet the power business needs carried by the resource slice. The optimized network resource allocation plan is used to guide subsequent resource allocation adjustments to the resource slice.

[0070] In the embodiment of the present application, a comprehensive policy library is pre-established, which is classified and stored according to different resource utilization status and service types. The policies in the policy library have been verified by a large number of experiments and practices and have high practicality and effectiveness. Based on the resource utilization status of the resource slice and the service type to which it belongs, the adapted resource allocation policy is screened from the policy library. The screening process uses an intelligent matching algorithm to quickly and accurately find the most suitable policy. For the screened policies, combined with factors such as the current overall network resource status and the status of other resource slices, further optimization and adjustment are performed through algorithm simulation and optimization algorithms.

[0071] Specifically, we can use optimization methods such as convex optimization algorithms to fine-tune the resource allocation parameters in the strategy, such as bandwidth allocation ratio, computing resource call priority, etc., and ultimately determine the target allocation strategy that meets resource slicing requirements.

[0072] In the above-mentioned resource slicing method, the resource requirements of each resource slice in the power business are first obtained. For each resource slice, the resource requirements of the resource slice are compared and analyzed with the initial allocation strategy to determine the resource utilization status of the resource slice. Finally, the target allocation strategy of the resource slice is determined based on the resource utilization status. In this method, by obtaining the resource requirements of the resource slice and comparing and analyzing them with the initial allocation strategy, the gap between resource allocation and the low-latency, high-QoS guarantee service requirements can be accurately identified. The target allocation strategy is then determined based on the resource utilization status. This allows for targeted resource optimization, prioritizing resource supply for low-latency, high-QoS services, reducing task processing time and data transmission delays, and ensuring service reliability and accuracy. Furthermore, this dynamic adjustment mechanism can promptly respond to changes in service requirements, continuously ensuring service quality during fluctuations in service volume, and avoiding service degradation caused by insufficient resources or improper allocation. This enables the efficient convergence and optimized utilization of network resources for critical services, comprehensively improving service quality and overall network performance.

[0073] In an exemplary embodiment, Figure 3 As shown, the above-mentioned “determining the target allocation strategy of resource slices according to the resource utilization status” includes S302 to S304. Among them:

[0074] S302: sorting the plurality of resource utilization states to obtain sorting information.

[0075] In an embodiment of the present application, the server needs to first clarify the indicators used for sorting, and these indicators comprehensively consider factors such as the degree of resource shortage, business priority, and delay sensitivity. For example, the degree of resource shortage is measured by calculating the ratio of the difference between the resource demand and the current allocation to the demand, the business priority is divided according to the importance of the power business, and the delay sensitivity is determined according to the business's tolerance for delay. Then, for each resource slice, the server collects data related to these indicators, covering the previously obtained resource demand, the current allocation strategy, and additional information such as the priority setting and delay requirements corresponding to the business type. Then, based on the defined indicators and the collected data, the indicator value is calculated for the resource utilization status of each resource slice, such as calculating the degree of shortage according to (resource demand-current allocation) / resource demand. Finally, the resource utilization status of multiple resource slices is sorted according to the calculation results, and ascending or descending order can be selected, such as sorting in descending order by the degree of resource shortage, to obtain sorting information containing resource slice sequence information.

[0076] S304: Based on the sorting information and the pre-acquired total amount of available resources, resource adjustment processing is performed on the resource slices to generate a target allocation strategy that matches the resource utilization status.

[0077] In this embodiment, the server first calls the system resource management module to obtain the total available resources in the current network, including specific data such as available bandwidth, computing resources, and storage resources, to determine the quantity and type of resources that can be allocated. Subsequently, the server determines resource adjustment principles based on the ranking information and service requirements. For example, resource slices with high priority and severe resource shortages are prioritized to ensure resource requirements for latency-sensitive services, while also balancing resource allocation fairness and overall network performance optimization. Next, resource adjustment calculations are performed on each resource slice in sequence according to the ranking information. Starting with the highest-ranked slice, the server calculates the additional resources available to each slice based on the adjustment principles and the total available resources, and dynamically updates the total available resources. During this calculation, the server strives to meet the needs of high-priority and severely resource-scarce slices as much as possible within the available resources. Finally, based on the resource adjustment calculation results, a new resource allocation plan, or target allocation policy, is generated for each resource slice. This plan specifies the specific allocation values ​​for bandwidth, computing resources, storage resources, and other aspects of each slice. The policy is then checked for plausibility. If any inconsistencies are identified, the resource adjustment calculations are retroactively revised until a target allocation policy that meets service needs and network performance requirements is generated.

[0078] In an exemplary embodiment, the above-mentioned “adjusting resources of resource slices sequentially based on the sorting information and the pre-obtained total amount of available resources to generate a target allocation strategy that matches the resource utilization status” includes:

[0079] Determine the resource status of the resource slice, which includes at least resource sufficient status, supply and demand balance status, and resource shortage status.

[0080] In an embodiment of the present application, the server first obtains the resource demand data of each resource slice and the currently allocated resource data, which covers various types of network resources such as spectrum, computing, and storage. By comparing the resource demand with the quantity, performance and other dimensions of the allocated resources, the resource status is determined according to the pre-set judgment criteria. If the amount of allocated resources is greater than a certain proportion of the resource demand (such as more than 10%), and all performance indicators meet the business requirements, the resource slice is judged to be in a state of sufficient resources; if the difference between the amount of allocated resources and the amount of resource demand is within a reasonable error range (such as ±5%), it is judged to be in a state of supply and demand balance; if the amount of allocated resources is less than the resource demand, it is judged to be in a state of resource shortage. In this way, the server can clearly understand the current resource status of each resource slice.

[0081] When a resource slice is in a resource shortage state, resource compensation processing is performed on the task resources corresponding to the resource slice according to the sorting information.

[0082] In an embodiment of the present application, when the server determines that a resource slice is in a resource shortage state, the resource slice in the resource shortage state is processed according to the sorting priority from high to low based on the previously obtained sorting information. First, the server analyzes the current total amount of available resources in the system, including the remaining bandwidth, computing resources, and storage resources. Then, for the resource-shortage slice with the highest priority, resource compensation is performed according to the specific circumstances of its resource shortage within the scope allowed by the available resources. For example, if the slice is short of bandwidth resources, a certain amount of bandwidth is allocated from the available bandwidth to it; if it is short of computing resources, the corresponding computing power is allocated. In the process of allocating resources, the total amount of available resources is updated in real time to avoid over-allocation that causes other resource slices to not receive sufficient compensation. After completing the compensation for one resource slice, continue to process the next slice in the resource shortage state according to the sorting information until all the short-sliced ​​slices receive the corresponding resource compensation or the available resources have been allocated.

[0083] When the resource slice is in a state of sufficient resources, resource adjustment processing is performed on the task resources corresponding to the resource slice according to the sorting information.

[0084] In an embodiment of the present application, for resource slices in a resource-sufficient state, the server also processes these slices according to the sorting information, from low to high priority (or other reasonable order). The server first evaluates the situation of redundant resources in each resource-sufficient slice, and determines the amount of resources that can be safely released without affecting the normal operation of the business. Then, these redundant resources are gradually released back to the system resource pool, and the allocation strategy of the resource slice and the total amount of available resources in the system are updated. During the process of releasing resources, the operating status of the business in the resource slice is continuously monitored to ensure that the release operation does not have a negative impact on the business. If an abnormality is found in the business during the release process, the release operation is stopped immediately, and resources are appropriately replenished according to the situation to ensure the stable operation of the business. After completing the resource release of a resource-sufficient slice, continue to process the next slice until the resource release processing of all resource-sufficient slices is completed.

[0085] When the resource slice is in a state of supply and demand balance, the task resources corresponding to the resource slice will not be processed.

[0086] In this embodiment of the present application, when the server determines that a resource slice is in a state of supply and demand balance, no additional resource adjustment operations are performed on the resource slice because the current resource allocation basically meets the business needs and resource utilization is reasonable. The server only continuously monitors the operation status and resource usage status of the business within the resource slice so that when subsequent business needs change or the network environment changes, it can promptly re-evaluate the resource status and take appropriate measures.

[0087] In an exemplary embodiment, the above initial allocation strategy includes the initial total amount of resources allocated to the resource slice, based on which, Figure 4 As shown, the above-mentioned “determining the target allocation strategy of resource slices according to the resource utilization status” includes S402 to S404. Among them:

[0088] S402: Compare the resource demand of the resource slice with the initial total resource amount to calculate the resource utilization difference of the resource slice.

[0089] In this embodiment of the present application, the server first retrieves resource requirement data for each resource slice from the system resource management module. This data includes detailed information such as the amount of spectrum resources, computing resources, and storage resources required to run various power services on that slice. At the same time, the server also obtains the initial total resource amount, which is the sum of all resources available for allocation at the system's initial stage, including initial available bandwidth, total computing resource capacity, and total storage capacity.

[0090] Next, for each resource slice, its resource requirements are compared against the initial resource totals. During this comparison, the difference is calculated based on the resource type. For example, for bandwidth resources, the bandwidth requirement of the resource slice is subtracted from the allocable bandwidth portion of the initial resource totals. For compute resources, the difference between the slice's required compute power and the initial allocable compute power is calculated.

[0091] Finally, the differences between each resource type are integrated and calculated to obtain a resource utilization difference value that comprehensively reflects the resource utilization of the resource slice. A weighted summation approach can be used to assign corresponding weights to different resource types based on their importance to business operations. The weighted sum of the resource differences is then added together to obtain the final resource utilization difference value.

[0092] S404: Determine the resource utilization status corresponding to the resource slice based on the resource utilization difference and a preset utilization threshold.

[0093] In the embodiment of the present application, the server pre-sets different utilization thresholds, which are divided into multiple levels, corresponding to different resource utilization states. For example, a resource sufficiency threshold, a supply-demand balance threshold interval, and a resource shortage threshold are set. When the resource utilization difference is greater than the resource sufficiency threshold, it indicates that the resources are sufficient; when the resource utilization difference is within the supply-demand balance threshold interval, it indicates that the resources are in a supply-demand balance state; when the resource utilization difference is less than the resource shortage threshold, it is determined that the resources are in a shortage state.

[0094] After obtaining the resource utilization difference for a resource slice, the server compares this difference with the preset utilization threshold. If the resource utilization difference is greater than the resource sufficiency threshold, the server determines that the resource utilization status corresponding to the resource slice is sufficient. If the resource utilization difference falls within the supply-demand balance threshold, the server determines that the resource utilization status is balanced. If the resource utilization difference is less than the resource shortage threshold, the server determines that the resource utilization status is short. Through this comparison and judgment process, the server can clearly determine the current resource utilization status of each resource slice, providing an important basis for subsequent resource allocation and adjustment.

[0095] In an exemplary embodiment, Figure 5 As shown, the method further includes S502 to S508.

[0096] S502, obtaining the execution delay of the tasks in each resource slice, and determining the delay amount corresponding to the task with the largest delay in the resource slice.

[0097] In an embodiment of the present application, the server first collects real-time execution delay data for tasks in each resource slice through a monitoring module deployed at the wireless access point of the 5G power virtual private network. These monitoring modules are distributed in key locations such as network nodes and task processing units, and can accurately record the time interval from the initiation of a task request to its completion. For each resource slice, the server sorts and analyzes all collected task execution delay data, and uses data sorting algorithms such as quick sort or heap sort to find the task with the largest delay from the delay data of many tasks.

[0098] S504: Construct a set of resource slices that cannot guarantee QoS based on the delay amount and a preset QoS threshold.

[0099] In an embodiment of the present application, the server pre-sets a quality of service (QoS) threshold, which is formulated based on the requirements of different services of the 5G power virtual private network for delay sensitivity. For example, control services have extremely high requirements for delay, and their QoS thresholds are relatively higher, while the QoS thresholds of some acquisition services can be appropriately relaxed. The delay amount corresponding to the task with the largest delay in each resource slice is compared one by one with the preset QoS threshold. If the delay amount of the task with the largest delay in a resource slice exceeds the QoS threshold, it means that the resource slice cannot guarantee the service quality of the tasks therein, and the server will include the resource slice in the set of resource slices that cannot guarantee QoS; otherwise, it will be excluded. Through such a screening process, the construction of the set of resource slices that cannot guarantee QoS is completed.

[0100] S506: When the resource demand of the resource slice is not greater than the initial total resource amount, obtain the delay-insensitive task in the resource slice set that cannot guarantee QoS.

[0101] In an embodiment of the present application, when the resource demand of a resource slice is not greater than the total initial resource amount, for a set of resource slices that have been constructed and cannot guarantee QoS, the server identifies the delay-insensitive tasks therein based on the business attributes and parameter settings of the tasks. When each task is created or connected to the system, it will be assigned a corresponding attribute tag to clarify its sensitivity to delay. By retrieving these attribute tags, the server filters out tasks marked as delay-insensitive from all tasks in the set of resource slices that cannot guarantee QoS, forming a set of delay-insensitive tasks. In addition, for tasks that are not clearly marked with delay sensitivity, the server can use preset judgment rules to analyze and classify them based on information such as the type of task and data transmission characteristics to determine whether they are delay-insensitive tasks.

[0102] S508: Perform resource update processing on the resource slice corresponding to the delay-insensitive task.

[0103] In an embodiment of the present application, the server starts a resource update processing flow for the resource slices corresponding to the delay-insensitive tasks. First, the current resource allocation of the resource slice is analyzed, including the specific quantity and usage status of the allocated bandwidth, computing resources, storage resources, etc. Then, based on the current resource status of the system and the needs of other resource slices, some redundant or deployable resources are recovered from the resource slices corresponding to these delay-insensitive tasks. For example, the bandwidth allocated to these slices is appropriately reduced to reduce the occupancy of idle computing resources. The recovered resources will be reincorporated into the system resource pool to supplement other resource slices with higher service quality requirements, or to optimize the resource allocation layout of the entire network. During the resource update process, the server continuously monitors the running status of delay-insensitive tasks to ensure that resource adjustments will not have a serious impact on the normal execution of these tasks, and regularly evaluates the effects of resource updates for subsequent optimization adjustments.

[0104] In an exemplary embodiment, Figure 6 As shown, the above-mentioned "constructing a resource slice set that cannot guarantee QoS based on the delay amount and the preset service quality QoS threshold" includes S602 to S604. Among them:

[0105] S602: Compare the maximum delay of the task in each resource slice with the maximum allowed delay of the task.

[0106] In the embodiment of the present application, first, the server collects the execution delay data of each task in each resource slice in real time through the monitoring system deployed in the 5G power virtual private network. These monitoring systems are distributed in key locations such as network nodes and data processing units, and can accurately record the time interval from the initiation to the completion of the task. For each resource slice, the server uses a data screening algorithm to find the delay data with the largest value from all the collected task delay data. This data is the delay of the task with the largest delay in that resource slice.

[0107] The server also pre-sets the maximum permissible latency for each resource slice based on the quality of service requirements of different power services. For example, for resource slices dedicated to power control services, which require extremely high real-time performance, the maximum permissible latency is set to a lower value; however, for resource slices dedicated to power data collection services, the maximum permissible latency can be relaxed appropriately. These maximum permissible latency values ​​are stored in the system's service parameter configuration table and can be accessed by the server at any time.

[0108] S604: When the delay amount exceeds a preset range threshold, the resource slice is determined as a set of resource slices that cannot guarantee QoS.

[0109] In this embodiment of the present application, the server compares the delay of the longest-delayed task in each resource slice with its corresponding maximum allowable delay. During the comparison process, the difference between the two is determined and compared with a preset range threshold. The preset range threshold is a standard value set based on network operation stability and service quality assurance requirements, which is used to determine whether the resource slice can guarantee service quality.

[0110] If the difference between the delay of the maximum delayed task in a resource slice and the maximum allowed delay exceeds the preset range threshold, it means that the resource slice cannot meet the service quality requirements of the business, and the server marks the resource slice as a resource slice that cannot guarantee QoS; conversely, if the difference does not exceed the preset range threshold, it is considered that the resource slice can guarantee the service quality of the business and no special mark is made.

[0111] The server iterates through the marking results of all resource slices and aggregates all resource slices marked as not guaranteeing QoS, thereby constructing a set of resource slices that cannot guarantee QoS. This set clearly lists all resource slices in the current network whose service quality cannot be effectively guaranteed, providing a clear target for subsequent resource optimization and adjustment. The server also updates this set in real time to ensure that the resource slice information in the set accurately reflects the actual operating status of the network.

[0112] In an exemplary embodiment, the above method may further include:

[0113] The wireless access point of the 5G power virtual private network includes wireless access terminals, 5G base stations, and MEC servers. Power services interact with the power grid system through the 5G base stations. When power services access the wireless 5G network, dynamic resource slicing strategies must be developed based on network resources, channel status, service volume, and service QoS to flexibly match service needs with network resources.

[0114] Power services are divided into control services, data collection services, and mobile application services. Different services correspond to different application scenarios. For example, mobile application services include drone / robot remote inspections, emergency command, mobile photovoltaic testing, etc., which have high requirements for network bandwidth and mobility.

[0115] Dynamic resource slicing technology is implemented based on network service types and QoS guarantees. The resources involved include spectrum, computing, and storage resources. Assume that there is a type of power service in the 5G power virtual private network, which belongs to one of the three types of control services, collection services, and mobile application services. The resource slice is set to S i , that is, power business i corresponds to a network resource slice. Then there are S I Resource slicing.

[0116] Assume that each power business has N tasks to perform. Define a four-tuple (r i n (t),f i n (t), t), r i n (t),f i n (t), Denote the wireless spectrum, computing resources, and storage resources required by task n in power service i during time slot t, respectively. To describe dynamic system resource slicing, assume the system is divided into T time slots. Within each time slot t, the resource slicing strategy remains unchanged, while the slicing strategy between time slots is customized. Let the task QoS of each service type be the latency metric.

[0117] Define F(·), H(·) and G(·) as the delay solution functions corresponding to wireless spectrum, computing resources and storage resources respectively. Set α i (t) is the resource slicing strategy. The delay corresponding to each resource slicing strategy is It can be considered as the task QoS as a latency indicator.

[0118] S1, obtain the total resource requirements of all tasks in each resource slice i And satisfy the following constraints:

[0119]

[0120] Among them, r i n (t),f i n (t), They represent the wireless spectrum, computing resources, and storage resources required by task n in power service i at time slot t.

[0121] S2: Get the task n with the longest latency in each resource slice i, denoted as D i (t), i.e.

[0122]

[0123] Among them, F(·), H(·) and G(·) are the delay solution functions corresponding to the wireless spectrum, computing resources and storage resources respectively.

[0124] S3, obtain the set Ω i (t),Ψ i (t), which are respectively represented as the resource slice sets that cannot guarantee the task QoS and can guarantee the task QoS, as follows:

[0125]

[0126] S4, obtain the total resource demand and slicing strategy α of each resource slice i task in time slot t i The difference β of (t) i (t), i.e. It can illustrate the utilization of resource slice resources. This means that the remaining resources in resource slice i either just meet the task requirements, or the resources are insufficient.

[0127] S5, for β i (t) Sort by large to small, and satisfy the constraints Next, for Ω i (t) is scheduled so that tasks that do not meet the latency requirements can be executed in the remaining resource slices (i.e., β i (t)>0 in the resource slice). If it is not satisfied When , get the delay-insensitive task set Θ i ={1,2,...,N'}, so that it is carried out in the next time slot. At the same time, increase the resource allocation of this resource slice and obtain a new resource slice strategy Among them, S total is the total initial resources.

[0128] In an exemplary embodiment, the method further includes:

[0129] Step 1: Obtain the resource requirements of each resource slice in the power business.

[0130] Step 2: For each resource slice, compare the resource demand of the resource slice with the initial total resource amount and calculate the resource utilization difference of the resource slice.

[0131] Step 3: Determine the resource utilization status corresponding to the resource slice based on the resource utilization difference and the preset utilization threshold.

[0132] Step 4: sort the multiple resource utilization states to obtain sorting information.

[0133] Step 5: Determine the resource status of the resource slice. The resource status includes at least resource sufficient state, supply and demand balanced state, and resource shortage state. If the resource slice is in resource shortage state, resource compensation processing is performed on the task resources corresponding to the resource slice according to the sorting information. If the resource slice is in resource sufficient state, resource adjustment processing is performed on the task resources corresponding to the resource slice according to the sorting information. If the resource slice is in supply and demand balanced state, no processing is performed on the task resources corresponding to the resource slice.

[0134] Step 6: When the resource demand of the resource slice is not greater than the initial total resource amount, obtain the execution delay of the task in each resource slice and determine the delay amount corresponding to the task with the largest delay in the resource slice.

[0135] Step 7: Compare the maximum delay of the task in each resource slice with the maximum allowed delay of the task.

[0136] Step 8: When the delay exceeds a preset range threshold, the resource slice is determined as a set of resource slices that cannot guarantee QoS.

[0137] Step 9: Obtain delay-insensitive tasks in the resource slice set that cannot guarantee QoS.

[0138] Step 10: Perform resource update processing on the resource slices corresponding to the delay-insensitive tasks.

[0139] It should be understood that, although the steps in the flowcharts of the above embodiments are shown in sequence as indicated by the arrows, these steps are not necessarily performed in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be performed in other orders. Moreover, at least a portion of the steps in the flowcharts of the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily performed at the same time, but can be performed at different times. The execution order of these steps or stages is not necessarily to be performed in sequence, but can be performed in turn or alternately with other steps or at least a portion of steps or stages in other steps.

[0140] Based on the same inventive concept, the embodiment of the present application also provides a resource slicing device for implementing the resource slicing method involved above. The implementation solution provided by the device is similar to the implementation solution described in the above method. Therefore, the specific limitations in one or more resource slicing device embodiments provided below can be found in the above limitations on the resource slicing method, and will not be repeated here.

[0141] In an exemplary embodiment, Figure 7 As shown, a resource slicing device is provided, including: a resource acquisition module 702, a comparison module 704 and a determination module 706, wherein:

[0142] Resource acquisition module 702, used to obtain the resource requirements of each resource slice in the power business;

[0143] Comparison module 704, for comparing and analyzing the resource requirements of each resource slice with the initial allocation strategy to determine the resource utilization status of the resource slice;

[0144] Determination module 706 is used to determine the target allocation strategy of resource slices based on the resource utilization status.

[0145] In an exemplary embodiment, the determining module 706 is specifically configured to sort the plurality of resource utilization states to obtain sorting information;

[0146] Based on the sorting information and the total amount of available resources obtained in advance, resource slices are adjusted to generate a target allocation strategy that matches the resource utilization status.

[0147] In an exemplary embodiment, the above-mentioned determination module 706 is specifically used to determine the resource status of the resource slice, and the resource status includes at least a resource-sufficient state, a supply-demand balance state, and a resource shortage state; when the resource slice is in a resource-shortage state, resource compensation processing is performed on the task resources corresponding to the resource slice according to the sorting information; when the resource slice is in a resource-sufficient state, resource adjustment processing is performed on the task resources corresponding to the resource slice according to the sorting information; when the resource slice is in a supply-demand balance state, the task resources corresponding to the resource slice are not processed.

[0148] In an exemplary embodiment, the above-mentioned comparison module 704 is specifically used to compare the resource demand of the resource slice with the initial total resource amount, calculate the resource utilization difference of the resource slice; and determine the resource utilization status corresponding to the resource slice based on the resource utilization difference and the preset utilization threshold.

[0149] In an exemplary embodiment, the apparatus further comprises:

[0150] The delay acquisition module is used to obtain the execution delay of tasks in each resource slice and determine the delay corresponding to the task with the largest delay in the resource slice;

[0151] A construction module is used to construct a set of resource slices that cannot guarantee QoS based on the delay amount and a preset quality of service (QoS) threshold;

[0152] The task acquisition module is used to obtain delay-insensitive tasks from a set of resource slices that cannot guarantee QoS when the resource demand of the resource slice is not greater than the initial total resource amount;

[0153] The update module is used to update the resource slices corresponding to the delay-insensitive tasks.

[0154] In an exemplary embodiment, the above-mentioned construction module is specifically used to compare the maximum delay amount of the task in each resource slice with the maximum allowable delay amount of the task; when the delay amount exceeds the preset range threshold, the resource slice is determined as a set of resource slices that cannot guarantee QoS.

[0155] Each module in the resource slicing device can be implemented in whole or in part through software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in hardware form, or can be stored in a memory in a computer device in software form, so that the processor can call and execute the corresponding operations of each module.

[0156] In an exemplary embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in FIG. Figure 8As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, abbreviated as I / O) and a communication interface. The processor, memory and input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and computer program in the non-volatile storage medium. The database of the computer device is used to store relevant data in the resource slicing process. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a resource slicing method is implemented.

[0157] Those skilled in the art will understand that Figure 8 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.

[0158] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:

[0159] Obtain resource requirements for each resource slice in the power business;

[0160] For each resource slice, compare and analyze the resource demand of the resource slice with the initial allocation strategy to determine the resource utilization status of the resource slice;

[0161] Determine the target allocation strategy for resource slices based on resource utilization status.

[0162] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0163] Sorting multiple resource utilization states to obtain sorting information;

[0164] Based on the sorting information and the total amount of available resources obtained in advance, resource slices are adjusted to generate a target allocation strategy that matches the resource utilization status.

[0165] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0166] Determine the resource status of the resource slice, which includes at least resource sufficient status, supply and demand balance status, and resource shortage status;

[0167] When a resource slice is in a resource shortage state, resource compensation is performed on the task resources corresponding to the resource slice according to the sorting information;

[0168] When the resource slice is in a state of sufficient resources, the task resources corresponding to the resource slice are adjusted according to the sorting information;

[0169] When the resource slice is in a state of supply and demand balance, the task resources corresponding to the resource slice will not be processed.

[0170] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0171] Compare the resource requirements of the resource slice with the initial total resources and calculate the resource utilization difference of the resource slice;

[0172] Based on the resource utilization difference and the preset utilization threshold, the resource utilization status corresponding to the resource slice is determined.

[0173] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0174] Obtain the execution delay of tasks in each resource slice and determine the delay corresponding to the task with the largest delay in the resource slice;

[0175] Based on the delay and the preset QoS threshold, a set of resource slices that cannot guarantee QoS is constructed;

[0176] When the resource demand of the resource slice is not greater than the initial total resource amount, obtain the delay-insensitive tasks in the resource slice set that cannot guarantee QoS;

[0177] Perform resource update processing on the resource slices corresponding to latency-insensitive tasks.

[0178] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0179] Compare the maximum delay of the task in each resource slice with the maximum allowed delay of the task;

[0180] When the delay amount exceeds a preset range threshold, the resource slice is determined as a set of resource slices that cannot guarantee QoS.

[0181] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented:

[0182] Obtain resource requirements for each resource slice in the power business;

[0183] For each resource slice, compare and analyze the resource demand of the resource slice with the initial allocation strategy to determine the resource utilization status of the resource slice;

[0184] Determine the target allocation strategy for resource slices based on resource utilization status.

[0185] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0186] Sorting multiple resource utilization states to obtain sorting information;

[0187] Based on the sorting information and the total amount of available resources obtained in advance, resource slices are adjusted to generate a target allocation strategy that matches the resource utilization status.

[0188] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0189] Determine the resource status of the resource slice, which includes at least resource sufficient status, supply and demand balance status, and resource shortage status;

[0190] When a resource slice is in a resource shortage state, resource compensation is performed on the task resources corresponding to the resource slice according to the sorting information;

[0191] When the resource slice is in a state of sufficient resources, the task resources corresponding to the resource slice are adjusted according to the sorting information;

[0192] When the resource slice is in a state of supply and demand balance, the task resources corresponding to the resource slice will not be processed.

[0193] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0194] Compare the resource requirements of the resource slice with the initial total resources and calculate the resource utilization difference of the resource slice;

[0195] Based on the resource utilization difference and the preset utilization threshold, the resource utilization status corresponding to the resource slice is determined.

[0196] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0197] Obtain the execution delay of tasks in each resource slice and determine the delay corresponding to the task with the largest delay in the resource slice;

[0198] Based on the delay and the preset QoS threshold, a set of resource slices that cannot guarantee QoS is constructed;

[0199] When the resource demand of the resource slice is not greater than the initial total resource amount, obtain the delay-insensitive tasks in the resource slice set that cannot guarantee QoS;

[0200] Perform resource update processing on the resource slices corresponding to latency-insensitive tasks.

[0201] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0202] Compare the maximum delay of the task in each resource slice with the maximum allowed delay of the task;

[0203] When the delay amount exceeds a preset range threshold, the resource slice is determined as a set of resource slices that cannot guarantee QoS.

[0204] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:

[0205] Obtain resource requirements for each resource slice in the power business;

[0206] For each resource slice, compare and analyze the resource demand of the resource slice with the initial allocation strategy to determine the resource utilization status of the resource slice;

[0207] Determine the target allocation strategy for resource slices based on resource utilization status.

[0208] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0209] Sorting multiple resource utilization states to obtain sorting information;

[0210] Based on the sorting information and the total amount of available resources obtained in advance, resource slices are adjusted to generate a target allocation strategy that matches the resource utilization status.

[0211] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0212] Determine the resource status of the resource slice, which includes at least resource sufficient status, supply and demand balance status, and resource shortage status;

[0213] When a resource slice is in a resource shortage state, resource compensation is performed on the task resources corresponding to the resource slice according to the sorting information;

[0214] When the resource slice is in a state of sufficient resources, the task resources corresponding to the resource slice are adjusted according to the sorting information;

[0215] When the resource slice is in a state of supply and demand balance, the task resources corresponding to the resource slice will not be processed.

[0216] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0217] Compare the resource requirements of the resource slice with the initial total resources and calculate the resource utilization difference of the resource slice;

[0218] Based on the resource utilization difference and the preset utilization threshold, the resource utilization status corresponding to the resource slice is determined.

[0219] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0220] Obtain the execution delay of tasks in each resource slice and determine the delay corresponding to the task with the largest delay in the resource slice;

[0221] Based on the delay and the preset QoS threshold, a set of resource slices that cannot guarantee QoS is constructed;

[0222] When the resource demand of the resource slice is not greater than the initial total resource amount, obtain the delay-insensitive tasks in the resource slice set that cannot guarantee QoS;

[0223] Perform resource update processing on the resource slices corresponding to latency-insensitive tasks.

[0224] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0225] Compare the maximum delay of the task in each resource slice with the maximum allowed delay of the task;

[0226] When the delay amount exceeds a preset range threshold, the resource slice is determined as a set of resource slices that cannot guarantee QoS.

[0227] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.

[0228] Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, database or other media used in the embodiments provided in this application may include at least one of non-volatile memory and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory may include random access memory (RAM) or external cache memory, etc. 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). The database involved in the various embodiments provided herein may include at least one of a relational database and a non-relational database. Non-relational databases may include, but are not limited to, distributed databases based on blockchains. The processor involved in the various embodiments provided herein may be, but are not limited to, a general-purpose processor, a central processing unit (CPU), a graphics processing unit (GPU), a digital signal processor (DSP), a programmable logic unit (PLC), a data processing logic unit based on quantum computing, an artificial intelligence (AI) processor, and the like.

[0229] The technical features of the above embodiments can be combined arbitrarily. In order to make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0230] The above-described embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present application. It should be noted that a person of ordinary skill in the art may make various modifications and improvements without departing from the spirit of the present application, and these modifications and improvements fall within the scope of protection of the present application. Therefore, the scope of protection of the present application shall be determined by the appended claims.

Claims

1. A resource slicing method, characterized in that: The method comprises: Obtain resource requirements for each resource slice in the power business; For each resource slice, comparing and analyzing the resource demand of the resource slice with the initial allocation strategy to determine the resource utilization status of the resource slice; Determine the target allocation strategy of the resource slice based on the resource utilization status.

2. The method according to claim 1, characterized in that Determining the target allocation strategy of the resource slice according to the resource utilization status includes: Sorting the plurality of resource utilization states to obtain sorting information; Based on the sorting information and the pre-acquired total amount of available resources, resource adjustment processing is performed on the resource slice to generate a target allocation strategy that matches the resource utilization status.

3. The method according to claim 2, characterized in that The step of adjusting the resource slices in sequence based on the sorting information and the pre-obtained total amount of available resources to generate a target allocation strategy that matches the resource utilization status includes: Determine the resource status of the resource slice, where the resource status includes at least a resource sufficient state, a supply and demand balanced state, and a resource shortage state; When the resource slice is in a resource shortage state, performing resource compensation processing on the task resources corresponding to the resource slice according to the sorting information; When the resource slice is in a state of sufficient resources, performing resource adjustment processing on the task resources corresponding to the resource slice according to the sorting information; When the resource slice is in a supply-demand balance state, the task resources corresponding to the resource slice are not processed.

4. The method according to claim 1, wherein The initial allocation strategy includes an initial total amount of resources allocated to the resource slice, and the comparative analysis of the resource demand of the resource slice with the initial allocation strategy to determine the resource utilization status of the resource slice includes: Comparing the resource demand of the resource slice with the initial total amount of resources, and calculating the resource utilization difference of the resource slice; Based on the resource utilization difference and a preset utilization threshold, the resource utilization status corresponding to the resource slice is determined.

5. The method according to claim 4, characterized in that The method further comprises: Obtaining the execution delay of tasks in each of the resource slices, and determining the delay amount corresponding to the task with the largest delay in the resource slice; Constructing a set of resource slices that cannot guarantee QoS according to the delay amount and a preset quality of service (QoS) threshold; When the resource demand of the resource slice is not greater than the initial total resource amount, obtaining a delay-insensitive task in the set of resource slices for which QoS cannot be guaranteed; Perform resource update processing on the resource slice corresponding to the delay-insensitive task.

6. The method according to claim 5, characterized in that The constructing a set of resource slices that cannot guarantee QoS according to the delay amount and a preset quality of service (QoS) threshold includes: Compare the maximum delay of the task in each resource slice with the maximum allowed delay of the task; When the delay amount exceeds a preset range threshold, the resource slice is determined as the resource slice set that cannot guarantee QoS.

7. A resource slicing device, characterized in that: The device comprises: Resource acquisition module, used to obtain the resource requirements of each resource slice in the power business; a comparison module, configured to compare and analyze the resource requirements of each resource slice with the initial allocation strategy, and determine the resource utilization status of the resource slice; A determination module is used to determine the target allocation strategy of the resource slice based on the resource utilization status.

8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

10. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.