Resource allocation method and device, equipment, storage medium and program product

By obtaining the resource utilization and priority of the functional components of the multi-function integrated wireless cloud base station network, and adjusting resource allocation, the problem of unreasonable resource allocation is solved, resource utilization and service quality are improved, and waste and energy consumption are reduced.

CN119155814APending Publication Date: 2024-12-17CHINA UNITED NETWORK COMM GRP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411237143.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-04
Publication Date
2024-12-17

AI Technical Summary

Technical Problem

In the prior art, when manually allocating resources to network functional components of multi-function integrated wireless cloud base stations based on experience, unreasonable resource allocation is prone to occur, resulting in low resource utilization and serious waste, and the service quality of the service cannot be guaranteed.

Method used

By obtaining the allocation resource utilization and priority of each network functional component, determining the target network functional component and adjusting its resource allocation, so that the resource utilization rate of each network functional component is within the preset range, realizing dynamic allocation of resources and optimization.

Benefits of technology

It improves resource utilization, ensures the service quality of the business, reduces resource waste and energy consumption, and can dynamically adjust resources to cope with load changes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119155814A_ABST
    Figure CN119155814A_ABST
Patent Text Reader

Abstract

The invention discloses a resource allocation method and device, equipment, a storage medium and a program product, relates to the technical field of communication, and is used for improving the rationality of resource allocation. The method comprises the following steps: in the running process of a plurality of network function components, acquiring the allocated resource utilization rate of each network function component and the priority of each network function component; the priority is used for representing the importance degree of each network function component; determining a target network function component from the plurality of network function components based on the allocated resource utilization rate and the priority; the target network function component is a network function component of a to-be-adjusted allocation resource; and adjusting the allocated resource of the target network function component, so that the allocated resource utilization rate of each network function component is within a preset range. The resource allocation method and device are applied to a scene of resource allocation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a resource allocation method, device, equipment, storage medium and program product. Background Art

[0002] A multifunctional integrated wireless cloud base station is a base station that combines cloud computing, wireless communication technology and integrated design. It can integrate multiple hardware devices (such as servers, central processing units (CPU), memory boards, etc.) and various network functional components (such as distributed units (DU), centralized units (CU), wireless intelligent controllers (RAN Intelligent Controller, RIC), user plane functions (UPF), etc.), and can access users through the wireless access network to provide services to users.

[0003] How to effectively utilize the resources provided by various hardware devices to efficiently run various network function components so that various network function components can perform corresponding services and thus ensure the service quality (QoS) of the services has become an urgent problem to be solved. Currently, resources can be allocated to various network function components manually based on experience to run various network function components.

[0004] However, when resources are manually allocated to various network functional components based on experience, unreasonable resource allocation is prone to occur, which in turn leads to low resource utilization and waste of resources, or insufficient resources and inability to guarantee the service quality of the business. As a result, the rationality of resource allocation is poor. Summary of the invention

[0005] The present application provides a resource allocation method, apparatus, device, storage medium and program product, which are used to solve the technical problem of unreasonable resource allocation when resources are manually allocated to various network functional components based on experience.

[0006] In order to achieve the above objectives, this application adopts the following technical solutions:

[0007] In a first aspect, a resource allocation method is provided, the method comprising: during the operation of multiple network function components, obtaining the allocated resource usage rate of each network function component and the priority of each network function component; the priority is used to indicate the importance of each network function component; based on the allocated resource usage rate and the priority, determining a target network function component from multiple network function components; the target network function component is the network function component whose allocated resources are to be adjusted; adjusting the allocated resources of the target network function component so that the allocated resource usage rate of each network function component is within a preset range.

[0008] In one possible implementation, a target network function component is determined from multiple network function components based on allocated resource usage and priority, including: when the priority of the first network function component is less than the priority of the second network function component, and the allocated resource usage of the second network function component exceeds a preset range, the first network function component and the second network function component are determined as target network function components.

[0009] In a possible implementation manner, adjusting the allocated resources of the target network function component includes: allocating the allocated resources of the first network function component to the second network function component.

[0010] In one possible implementation, when the allocated resources of the first network function component include prohibited allocated resources, allocating the allocated resources of the first network function component to the second network function component includes: allocating the allocated resources of the first network function component except the prohibited allocated resources to the second network function component.

[0011] In one possible implementation, a target network function component is determined from multiple network function components based on allocated resource usage and priority, including: when the priority of a third network function component is greater than the priority of a second network function component, and the allocated resource usage of the second network function component exceeds a preset range, the third network function component and the second network function component are determined as target network function components.

[0012] In a possible implementation manner, adjusting the allocated resources of the target network function component includes: allocating idle resources in the allocated resources of the third network function component to the second network function component.

[0013] In a possible implementation, adjusting the allocated resources of the target network function component includes: increasing total resources of a hardware device that provides the allocated resources, and allocating the increased resources to the target network function component.

[0014] In one possible implementation, the method also includes: obtaining the load rate of each hardware device among multiple hardware devices that provide allocated resources; based on the load rate of each hardware device, adjusting the amount of allocated resources provided by each hardware device so that the difference between the load rates of each hardware device is less than a preset value.

[0015] In one possible implementation, during the operation of multiple network function components, before obtaining the allocated resource utilization rate of each network function component and the priority of each network function component, the method also includes: determining the basic unit of each network function component based on the function of each type of network function component in the multiple network function components; the basic unit of a network function component is used to determine the resources required by the network function component; the required resources include at least one of the following: the maximum required resources and the minimum required resources; the resources required by the network function component are used to determine the resources allocated to the network function component.

[0016] In a second aspect, a resource allocation device is provided, which includes: a transmission unit and a processing unit; the transmission unit is used to obtain the allocated resource usage rate of each network function component and the priority of each network function component during the operation of multiple network function components; the priority is used to indicate the importance of each network function component; the processing unit is used to determine the target network function component from multiple network function components based on the allocated resource usage rate and the priority; the target network function component is the network function component whose allocated resources are to be adjusted; the processing unit is also used to adjust the allocated resources of the target network function component so that the allocated resource usage rate of each network function component is within a preset range.

[0017] In one possible implementation, the processing unit is also used to determine the first network function component and the second network function component as target network function components when the priority of the first network function component is lower than the priority of the second network function component and the allocated resource usage rate of the second network function component exceeds a preset range.

[0018] In a possible implementation, the processing unit is further configured to allocate the allocated resources of the first network function component to the second network function component.

[0019] In a possible implementation, the processing unit is further configured to allocate, among the allocated resources of the first network function component, resources other than prohibited allocated resources to the second network function component.

[0020] In one possible implementation, the processing unit is also used to determine the third network function component and the second network function component as target network function components when the priority of the third network function component is greater than the priority of the second network function component and the allocated resource usage rate of the second network function component exceeds a preset range.

[0021] In a possible implementation manner, the processing unit is further configured to allocate idle resources in the allocated resources of the third network function component to the second network function component.

[0022] In one possible implementation, the processing unit is also used to determine the first N network function components with the highest priority as target network function components when the allocated resource utilization rate of each network function component exceeds a preset range; N is a positive integer less than or equal to the number of network function components.

[0023] In a possible implementation, the processing unit is further configured to increase total resources of a hardware device that provides allocated resources, and allocate the increased resources to a target network function component.

[0024] In one possible implementation, the transmission unit is also used to obtain the load rate of each hardware device among multiple hardware devices that provide allocated resources; the processing unit is also used to adjust the amount of allocated resources provided by each hardware device based on the load rate of each hardware device, so that the difference between the load rates of each hardware device is less than a preset value.

[0025] In one possible implementation, the processing unit is also used to determine the basic unit of each network function component based on the function of each type of network function component in multiple network function components; the basic unit of a network function component is used to determine the resources required by the network function component; the required resources include at least one of the following: the maximum resources required and the minimum resources required; the resources required by the network function component are used to determine the resources allocated to the network function component.

[0026] In a third aspect, an electronic device comprises: a processor and a memory; wherein the memory is used to store one or more programs, and the one or more programs include computer execution instructions. When the electronic device is running, the processor executes the computer execution instructions stored in the memory to enable the electronic device to execute a resource allocation method as in the first aspect.

[0027] In a fourth aspect, a computer-readable storage medium storing one or more programs is provided. The one or more programs include instructions. When the instructions are executed by a computer, the computer executes a resource allocation method as described in the first aspect.

[0028] According to a fifth aspect, a computer program product is provided. When the computer instructions are executed on an electronic device, the electronic device executes a resource allocation method according to the first aspect.

[0029] The present application provides a resource allocation method, device, equipment, storage medium and program product, which are applied to the scenario of resource allocation. When it is necessary to allocate resources to a network function component, the allocation resource utilization rate and priority of the network function component can be obtained during the operation of the network function component. Further, based on the allocation resource utilization rate and priority, the network function component whose allocation resource is to be adjusted is determined to be adjusted so that the allocation resource utilization rate of the network function component is within a preset range. That is, if the allocation resource utilization rate is too low, it will lead to resource waste, and if the allocation resource utilization rate is too high, it will lead to the inability to guarantee the service quality. Therefore, resources can be migrated between the network function components so that the allocation resource utilization rate of each network function component is within a reasonable range. In addition, the higher the priority of a certain network function component, the more important the service provided by the network function component is, so that the rationality of resource allocation can be improved by preferentially allocating resources to the network function component.

[0030] Through the above method, the allocated resources of the network function component can be adjusted according to the allocated resource utilization rate and priority of the network function component, so that the allocated resource utilization rate of the network function component is within a preset range. Thus, the technical problem of unreasonable resource allocation when manually allocating resources to various network function components based on experience is solved, and the rationality of resource allocation is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 A schematic diagram of the structure of a resource allocation system provided in an embodiment of the present application;

[0032] Figure 2 A schematic diagram of a resource allocation method provided in an embodiment of the present application Figure 1 ;

[0033] Figure 3 A schematic diagram of a resource allocation method provided in an embodiment of the present application Figure 2 ;

[0034] Figure 4 A schematic diagram of a resource allocation method provided in an embodiment of the present application Figure 3 ;

[0035] Figure 5 A schematic diagram of a resource allocation method provided in an embodiment of the present application Figure 4 ;

[0036] Figure 6 A schematic diagram of a resource allocation method provided in an embodiment of the present application Figure 5 ;

[0037] Figure 7 A schematic diagram of a resource allocation method provided in an embodiment of the present application Figure 6 ;

[0038] Figure 8 A schematic diagram of the overall flow of a method for allocating resources provided in an embodiment of the present application;

[0039] Fig. 9 A schematic diagram of the structure of a resource allocation device provided in an embodiment of the present application;

[0040] Fig.10 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0041] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.

[0042] In the description of this application, unless otherwise specified, " / " means "or", for example, A / B can mean A or B. "And / or" in this article is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, "at least one" and "plurality" refer to two or more. The words "first", "second", etc. do not limit the quantity and execution order, and the words "first", "second", etc. do not limit them to be different.

[0043] With the increasing functions of multifunctional integrated wireless cloud base stations and the diversification of user needs, how to effectively utilize resources and cope with sudden load changes while ensuring service quality has become an urgent problem to be solved. Currently, hardware resources can be manually allocated to various network functional components based on experience to run various network functional components. This static resource allocation method is prone to unreasonable hardware resource allocation, which in turn leads to low hardware resource utilization and waste of hardware resources, or insufficient hardware resources cannot guarantee the service quality of the business. Therefore, it is difficult to meet the high dynamic and flexibility requirements of wireless cloud base stations, and there are problems such as serious resource waste and high energy consumption.

[0044] In order to solve the above problems and ensure the service quality of the business while improving resource utilization, the present application provides a resource allocation method, which adjusts the allocated resources of the network function components according to the allocated resource utilization rate of the network function components and the priority of the network function components, realizes dynamic allocation, adjustment and optimization of resources, improves resource utilization, ensures service quality, and realizes dynamic adjustment of resources to cope with load changes, while reducing resource waste and energy consumption.

[0045] A resource allocation method provided in an embodiment of the present application can be applicable to a resource allocation system. Figure 1 FIG. 1 shows a schematic diagram of the structure of a resource allocation system. Figure 1 As shown, the resource allocation system (i.e., the multifunctional integrated wireless cloud base station) 10 includes: a hardware device (also referred to as a device hardware infrastructure) 11, a cloud platform (also referred to as a multifunctional wireless cloud platform) 12, and a network functional component 13. The hardware device 11 includes a plurality of hardware devices. The network functional component 13 includes a plurality of network functional components. The hardware device 11, the cloud platform 12, and the network functional component 13 may be connected by wire or by wireless, which is not limited in the embodiment of the present invention.

[0046] The hardware device 11 is used as the underlying device hardware infrastructure to provide resources for the operation of the network function component 13 through the cloud platform 12. The cloud platform 12 is used to allocate the resources provided by the hardware device 11 to the network function component 13. The network function component 13 is used as an upper-layer application to run based on the resources provided by the hardware device 11 to execute the user's business.

[0047] Optionally, the hardware device 11 may include at least one of the following: hardware devices such as servers, multi-core CPUs, and memory boards. The network function component 13 may include at least one of the following: software applications such as DU, CU, RIC, UPF, industry applications, and mobile edge computing platforms (Mobile Edge Computing Platform, MEP). The cloud platform 12 may be a software application that integrates hardware resources (also known as hardware devices) and software resources (also known as upper-layer applications) to provide users with the ability to access and manage computing resources. The multi-core CPU may be a quad-core CPU, an eight-core CPU, a sixteen-core CPU, etc.

[0048] The following describes a resource allocation method provided by an embodiment of the present application in conjunction with the accompanying drawings. Figure 2 As shown, a resource allocation method provided in an embodiment of the present application is applied to a cloud platform, and the method includes S201-S203:

[0049] S201. During the operation of multiple network function components, obtain the allocated resource usage rate of each network function component and the priority of each network function component.

[0050] The priority is used to indicate the importance of each network functional component.

[0051] It can be understood that during the operation of multiple network function components, the cloud platform can obtain the allocated resource usage rate of each network function component and the priority of each network function component.

[0052] Optionally, the network function component may be a software application such as DU, CU, RIC, UPF, industry application, MEP, etc. The network function component may provide a variety of services for users. The allocated resource utilization rate is the utilization rate of the allocated resources by the network function component. Resources may be provided by hardware devices, and the hardware devices may be servers, multi-core CPUs, and memory boards that can provide computing resources or memory.

[0053] In a possible implementation, before the above step 201, the method further includes: determining a basic unit of each network function component based on the function of each type of network function component in the multiple network function components.

[0054] Among them, the basic unit of a network function component is used to determine the resources required by the network function component; the required resources include at least one of the following: the maximum resources required and the minimum resources required; the resources required by the network function component are used to determine the resources allocated to the network function component.

[0055] Optionally, different types of network function components require different amounts of resources, and the resources required by different types of network function components can be standardized into basic units based on their functions.

[0056] For example, for DU, the CPU cores occupied by a basic cell (Cell) are used as the basic unit. If DU includes two cells (Cells), one cell needs to occupy 2 CPU cores, then the resources required for DU are 4 CPU cores; if one cell needs to occupy 4 CPU cores, then the resources required for DU are 8 CPU cores. The cell can be a 100M*1TR cell in the 5G network.

[0057] For network function components other than DU, the number of CPU cores that the network function component needs to occupy can be directly determined as the resources required for the network function component, that is, the network function components other than DU use the CPU cores they occupy as the basic unit by default. For example, CU needs to occupy 4 CPU cores, so the resources required for CU are 4 CPU cores. RIC needs to occupy 10 CPU cores, so the resources required for RIC are 10 CPU cores. UPF needs to occupy 5 CPU cores, so the resources required for UPF are 5 CPU cores. RIC needs to occupy 8 CPU cores, and the resources required for MEP are 8 CPU cores.

[0058] It should be noted that the resources required by DU are affected by the number and size of the cells currently included. Therefore, the required resources need to be determined based on the number and size of the cells currently included. The resources required by other network functional components are usually fixed. Therefore, the resources that need to be occupied by themselves can be directly determined as the required resources. Determining the basic unit of resources required by different network functional components can facilitate unified management and allocation.

[0059] Furthermore, the cloud platform can query and subscribe through virtual network functions (VNFs) to obtain the types and quantities of network function components included in the multifunctional integrated wireless cloud base station, and perform resource demand analysis on each network function component to determine the minimum and maximum resources required. Specifically, the resources required for different types of network function components are determined based on the basic units of different types of network function components.

[0060] For example, for DU, the CPU cores occupied by a basic cell are used as the basic unit to determine the minimum CPU resources (i.e., CPU cores) and maximum CPU resources required by DU. For network function components other than DU, the CPU cores occupied by them are used as the minimum CPU resources required by default.

[0061] Optionally, the resources required by different network function components can also be directly configured and issued by the operating personnel from the management plane according to the corresponding business models of different network function components. That is, the operating personnel can configure the resources required by different network function components according to the importance of the business that needs to be performed by different network function components. Generally, the more important the business, the more resources are configured.

[0062] Exemplarily, the resources required by the network function components issued by the operator are: the resources required by DU are 4 CPU cores, the resources required by RIC are 5 CPU cores, and the resources required by UPF are 8 CPU cores.

[0063] Optionally, the cloud platform can query and subscribe to the types and quantities of network function components included in the multifunctional integrated wireless cloud base station based on virtual network functions (VNF) to obtain the resources required for all network function components included in the multifunctional integrated wireless cloud base station.

[0064] For example, the cloud platform queries based on VNF that the multifunctional integrated wireless cloud base station includes six network functional components, including two DUs, one CU, one RIC, one UPF, and one MEP. Then it can be obtained that the resources required for all network functional components included in the multifunctional integrated wireless cloud base station are 2*2+4+10+5+8=31 CPU cores.

[0065] Optionally, the cloud platform may allocate the resources required by each of the multiple network function components, and continuously monitor the resource usage of the virtual machine (VM) and container of each network function component (i.e., the usage of the allocated resources by each network function component) during the operation of each network function component. The resource usage may include at least one of the following: CPU usage, memory usage, etc.

[0066] For example, assuming that 4 CPU cores are allocated to a CU, and it is monitored that 2 CPU cores are actually used during the operation of the CU, then the resource usage rate of the allocated resources of the CU may be 50%.

[0067] Optionally, the cloud platform can also input the allocated resource usage rate of each monitored network function component into a prediction model (also known as a machine learning algorithm) to predict the estimated allocated resource usage rate (i.e., resource demand) of each network function component at certain moments in the future. The prediction model can be a time series analysis algorithm, a neural network algorithm, etc. The prediction model can be trained in the following way: obtain the allocated resource usage rate of each network function component at multiple historical moments, input the allocated resource usage rate of each network function component at multiple historical moments into the original algorithm for training, and obtain the prediction model.

[0068] Optionally, the importance of the network function component may be determined according to at least one of the business importance of the network function component, the service level agreement (SLA) level, the allocated resource utilization rate of the network function component, and the estimated allocated resource utilization rate. The higher the business importance of the network function component, the higher the SLA level, the greater the allocated resource utilization rate, and the greater the estimated allocated resource utilization rate, the higher the priority of the network function component, and vice versa.

[0069] Exemplarily, in order from high to low priority: DU has a priority of level 1, CU has a priority of level 2, MEP has a priority of level 3, RIC has a priority of level 4, and UPF has a priority of level 5.

[0070] S202. Determine a target network function component from multiple network function components based on the allocated resource usage and priority.

[0071] The target network function component is the network function component whose allocated resources are to be adjusted.

[0072] Optionally, based on the allocated resource usage rate and priority of each network function component, the cloud platform can determine the target network function component from multiple network function components. The network function components whose allocated resource usage rate is lower than the preset range and / or whose priority is low, and the network function components whose allocated resource usage rate is higher than the preset range and / or whose priority is high can be the network function components whose allocated resources are to be adjusted. The network function components whose allocated resource usage rate is within the preset range do not need to adjust the allocated resource of the network function components.

[0073] The preset range can be set to a value close to the maximum allocated resource utilization rate (ie, 100%), which can ensure high resource utilization and avoid wasting resources, and also avoid insufficient resources to ensure the service quality of the business.

[0074] For example, assuming that the preset range is 80% to 90%, the resource allocation utilization rate of a DU is 100%, and the priority of the DU is level 1, then the DU can be determined as a network function component whose allocated resources are to be adjusted. If the resource allocation utilization rate of a UPF is 50%, and the priority of the UPF is level 5, then the UPF can be determined as a network function component whose allocated resources are to be adjusted. If the resource allocation utilization rate of a MEP is 80%, then the MEP can be determined as a network function component that does not need to adjust the allocated resources.

[0075] S203: Adjust the allocated resources of the target network function component so that the utilization rate of the allocated resources of each network function component is within a preset range.

[0076] It can be understood that the cloud platform can adjust the allocated resources of the target network function components so that the allocated resource utilization rate of each network function component is within a preset range.

[0077] Optionally, the cloud platform may allocate resources of network function components whose allocated resource usage is lower than a preset range and / or whose priority is low, to network function components whose allocated resource usage is higher than a preset range and / or whose priority is high, so that the allocated resource usage of the network function components is within the preset range.

[0078] For example, assuming that the preset range is 80% to 90%, the allocated resource utilization rate of a DU is 100%, the allocated resource utilization rate of UPF is 50%, and the priority of DU is higher than that of UPF, then the resources of UPF can be allocated to DU so that the allocated resource utilization rate of DU is within 80% to 90%.

[0079] This application can dynamically adjust the resources of network function components according to the resource utilization rate and priority of the allocated resources to avoid the problem of unreasonable resource allocation caused by excessive or insufficient resource utilization. Combined with the priority, the resource requirements of key network function components with higher priority can be guaranteed first, avoiding key network function components and avoiding service degradation of key network function components due to resource competition.

[0080] In one design, Figure 3 As shown, a resource allocation method provided in an embodiment of the present application, the above step S202 specifically includes S301, and the above step S203 specifically includes S302:

[0081] S301. When the priority of the first network function component is lower than the priority of the second network function component and the usage rate of the allocated resources of the second network function component exceeds a preset range, the first network function component and the second network function component are determined as target network function components.

[0082] Optionally, when the priority of the first network function component is lower than the priority of the second network function component, and the allocated resource usage rate of the second network function component exceeds a preset range, the cloud platform may determine the first network function component and the second network function component as network function components whose allocated resources are to be adjusted.

[0083] It should be noted that the services of high-priority network function components are more critical. Therefore, when the priority resources of high-priority network function components are insufficient, the resource requirements of these high-priority network function components need to be guaranteed first, and the resources of lower-priority network function components need to be allocated to high-priority network function components.

[0084] For example, assuming that the allocated resource utilization rate of a DU is 100%, the priority of the DU is level one, and the allocated resource utilization rate of a UPF is 100%, and the priority of the UPF is level five, then the DU is the first network functional component, and the UPF is the second network functional component.

[0085] S302. Allocate the allocated resources of the first network function component to the second network function component.

[0086] Optionally, the cloud platform may allocate the allocated resources of the first network function component to the second network function component so that the utilization rate of the allocated resources of the second network function component is within a preset range.

[0087] Exemplarily, the preset range is 80% to 90%. The cloud platform may allocate the resources of the UPF to the DU so that the utilization rate of the allocated resources of the DU is within 80% to 90%.

[0088] The present application can allocate resources of lower-priority network function components to higher-priority network function components when the resource utilization rates of the network function components are all high, so as to ensure the services of the higher-priority network function components, thereby avoiding the quality of key services being unable to be guaranteed.

[0089] In one design, Figure 4 As shown, a resource allocation method provided by an embodiment of the present application, when the allocated resources of the first network function component include prohibiting the allocation of resources, the method in the above step S302 specifically includes S401:

[0090] S401. Allocate the allocated resources of the first network function component, except the prohibited allocation resources, to the second network function component.

[0091] Optionally, the cloud platform can set a dedicated pool to set part of the allocated resources of certain network function components as prohibited allocation resources, that is, the prohibited allocation resources are only exclusive to certain network function components and cannot be allocated to other network function components. In the case where the allocated resources of the first network function component include prohibited allocation resources, the cloud platform can allocate the allocated resources of the first network function component, except for the prohibited allocation resources, to the second network function component.

[0092] Then the cloud platform can set up a dedicated pool to set allocable resources except prohibited resources as allowed resources, that is, the allowed resources can be allocated to other network function components.

[0093] The cloud platform can recycle and add resources in the shared pool and the exclusive pool according to the business operation of the network function component. For example, when the business operation of the network function component is good, the allowed allocation resources can be increased and the prohibited allocation resources can be reduced. When the business operation of the network function component is poor, the allowed allocation resources can be reduced and the prohibited allocation resources can be increased.

[0094] By setting the prohibited resource allocation and allowed resource allocation of network function components, the present application can control the amount of resource migration, ensure the business operation of the network function components, and avoid the problem of deterioration of the business operation of the network function components and impact on service quality due to the adjustment and allocation of resources.

[0095] In one design, Figure 5 As shown, a resource allocation method provided in an embodiment of the present application, the above step S202 specifically includes S501, and the above step S203 specifically includes S502:

[0096] S501. When the priority of the third network function component is greater than the priority of the second network function component and the allocated resource usage rate of the second network function component exceeds a preset range, the third network function component and the second network function component are determined as target network function components.

[0097] Optionally, when the priority of the third network function component is greater than the priority of the second network function component, and the allocated resource usage of the second network function component exceeds a preset range, the cloud platform may determine the third network function component and the second network function component as target network function components.

[0098] It should be noted that when a network function component has a higher priority but has idle resources, the idle resources of the network function component can be allocated to a network function component with a lower priority than the network function component and insufficient resources. In this way, the idle resources of the network function component can be effectively utilized to improve resource utilization, while ensuring that the services of the network function component with a higher priority are not affected.

[0099] For example, assuming that the allocated resource utilization rate of a DU is 70% and the priority of the DU is level one, and the allocated resource utilization rate of a CU is 100% and the priority of the CU is level two, then the DU is the third network functional component and the CU is the second network functional component.

[0100] S502: Allocate idle resources in the allocated resources of the third network function component to the second network function component.

[0101] Optionally, the cloud platform may allocate idle resources from the allocated resources of the third network function component to the second network function component so that the utilization rate of the allocated resources of the second network function component is within a preset range.

[0102] Exemplarily, the preset range is 80% to 90%. The cloud platform may allocate the idle resources of the DU to the CU so that the utilization rate of the allocated resources of the CU is within 80% to 90%.

[0103] The present application can allocate the idle resources of higher-priority network function components to lower-priority but insufficient-resource network function components, so as to effectively utilize the idle resources of the network function components, improve resource utilization, and ensure that the services of the higher-priority network function components are not affected.

[0104] In one design, Figure 6 As shown, a resource allocation method provided in an embodiment of the present application, the method in the above step S202 specifically includes S601, and the method in the above step S203 specifically includes S602:

[0105] S601. When the usage rate of allocated resources of each network function component exceeds a preset range, the first N network function components with the highest priority are determined as target network function components.

[0106] Wherein, N is a positive integer less than or equal to the number of network functional components.

[0107] Optionally, when the cloud platform monitors that the allocated resource usage rate of each network function component among multiple network function components exceeds a preset range, the cloud platform may determine the first N network function components with the highest priority among the multiple network function components as the network function components whose allocated resources are to be adjusted.

[0108] It should be noted that the resource utilization rate of each network function component exceeds the preset range, which means that when migrating resources between each network function component, only the resources of some network function components with higher priority can be guaranteed, and there will inevitably be a problem of insufficient or even serious insufficient resources for some network function components. Then, it is possible to consider increasing the total resources of the hardware devices included in the multifunctional integrated wireless cloud base station, that is, increasing the resources that the hardware devices can provide for the network function components, so as to allocate the increased resources to some network function components with higher priority, thereby avoiding the problem of insufficient resources of network function components and affecting the service quality.

[0109] Optionally, the hardware device may be a server, a multi-core CPU, a memory card, or other hardware devices.

[0110] S602: Increase the total resources of the hardware device that provides the allocated resources, and allocate the increased resources to the target network function component.

[0111] Optionally, the cloud platform can notify the operator to manually start the resource scale-out process, or automatically start the resource scale-out process. The resource scale-out process is used to increase the total resources of the hardware devices that provide allocated resources by expansion, upgrading or scale-out. Expansion can be to increase the capacity of the hardware device, for example, to expand the capacity of a quad-core CPU to an eight-core CPU. Upgrading can be to replace existing hardware devices with higher-performance hardware devices, for example, replacing a server with a higher-performance server. Scale-out can be to increase the number of hardware devices, for example, the number of multi-core CPUs is 4, and now it is increased to 6.

[0112] Furthermore, the cloud platform can allocate increased resources to target network function components.

[0113] For example, assume that two CPU cores are added, N is 2, and the multifunctional integrated wireless cloud base station includes two DUs, one CU, one RIC, one UPF, and one MEP, and the resource utilization rate of each network function component is 100%. DU has the highest priority, so these two DUs can be determined as network function components whose resource allocation is to be adjusted. The two additional CPU cores are allocated to the two DUs respectively, so that the resource utilization rate of the two DUs is within the preset range.

[0114] In one possible implementation, assuming that after adjusting the allocated resources of the network function components whose allocated resources are to be adjusted, the cloud platform still detects that there are network function components among multiple components whose allocated resource usage exceeds the preset range, and the duration of the allocated resource usage of the network function component exceeding the preset range is greater than the preset duration (i.e., the allocated resource usage of the network function component is continuously overloaded), then an alarm can be triggered or the resource horizontal expansion process can be started.

[0115] By setting a preset duration to trigger an alarm, operators can be promptly reminded to handle the issue or initiate a horizontal resource expansion process to avoid equipment damage caused by long-term overload, as well as poor service quality and user experience.

[0116] In one design, Figure 7 As shown, a resource allocation method provided in an embodiment of the present application, after the above step S203, the method further includes S701-S702:

[0117] S701: Obtain a load rate of each hardware device among a plurality of hardware devices providing allocated resources.

[0118] Optionally, the cloud platform may periodically obtain the load rate of each hardware device among the multiple hardware devices that provide allocated resources. The load rate is the proportion of occupied resources in the maximum resources that the hardware device can provide.

[0119] For example, assuming that the multifunctional integrated wireless cloud base station includes 3 quad-core CPUs, namely quad-core CPUA, quad-core CPUB, and quad-core CPUC, then 2 cores of quad-core CPUA are occupied, so the load rate of quad-core CPUA is 50%, 1 core of quad-core CPUB is occupied, so the load rate of quad-core CPUB is 25%, and 3 cores of quad-core CPUC are occupied, so the load rate of quad-core CPUC is 75%.

[0120] S702: Based on the load rate of each hardware device, adjust the amount of allocated resources provided by each hardware device so that the difference between the load rates of each hardware device is less than a preset value.

[0121] Optionally, the more resources provided to the hardware device, the greater the load rate of the hardware device, and vice versa. Based on the load rate of each hardware device, the cloud platform can adjust the amount of resources provided by each hardware device so that the difference between the load rates of each hardware device is less than a preset value.

[0122] Exemplarily, the preset value may be 5%. The cloud platform may migrate the amount of resources provided by CPUC to quad-core CPUB, so that the load rate of quad-core CPUB increases from 25% to 50%, and the load rate of quad-core CPUC decreases from 75% to 50%. In this way, the difference between quad-core CPUA, quad-core CPUB and quad-core CPUC is 0%, which is less than the preset value of 5%.

[0123] This application performs load balancing according to the load rates of different hardware devices and allocates resources to different hardware devices, thereby avoiding overloading of a single hardware device and improving overall performance and throughput.

[0124] In one possible implementation, the cloud platform may regularly monitor the load rate of each of the multiple hardware devices included in the multifunctional integrated wireless cloud base station for providing resources. If the load rate of some hardware devices exceeds the preset load rate for a duration longer than the preset duration, the cloud platform may recycle the resources of these hardware devices that are under low utilization for a long time to optimize resource allocation.

[0125] Optionally, the energy saving function of the multifunctional integrated wireless cloud base station can be used to recycle released resources, thereby reducing energy consumption while meeting performance requirements.

[0126] In one possible implementation, Figure 8 The overall flow chart of a method for allocating resources provided in this application is as follows: Figure 8 As shown, 1. Start the cloud platform CPU resource allocation and scheduling algorithm.

[0127] 2. CPU resource unit standardization. Specifically, different types of network functional components are standardized into basic units according to their functions: (1) For DU, the CPU cores occupied by a basic cell are used as the basic unit. For example, for the fifth generation mobile communication technology (5G), the number of CPU cores occupied by a 100M*1TR cell is the basic unit for DU CPU resource allocation and scheduling. (2) For network functional components other than DU, the CPU cores they occupy are used as the basic unit by default.

[0128] 3. Query and subscribe to VNF information.

[0129] 4. Perform CPU resource demand analysis on each network functional component to determine the minimum and maximum resources required. The specific analysis algorithm is as follows: (1) For DU, the CPU cores occupied by a basic cell are used as the basic unit to determine the minimum and maximum CPU resources required by DU. (2) For network functional components other than DU, the CPU cores they occupy are used as the minimum CPU resources by default. The initial CPU resources of each network functional component can also be directly configured and issued by the management plane according to the corresponding business model.

[0130] 5. Perform resource monitoring and forecasting. Specifically, monitor the CPU usage, memory usage, network traffic, etc. of the virtual machines and containers of each network functional component in real time. Use forecasting models (such as time series analysis, neural networks, etc.) to predict resource requirements in the future.

[0131] 6. Perform resource evaluation and priority setting. Specifically, evaluate the resource usage of the virtual machines / containers of each network function component, and identify bottleneck resources and idle resources. Set priorities based on business importance, SLA, and predicted resource requirements. The priority setting rules are as follows: (1) Dynamic shared pool method, the management plane sets and allocates the initial shared pool, and then dynamically recycles and adds shared pools based on the base station business operation status. The CPU cores entering the shared pool can be used by all network function components; (2) Exclusive pool method, set or bind certain CPU cores to be exclusive to a certain network function component, for example, set certain CPU cores to be exclusive to CU or DU, and other functional entities cannot use them; (3) Priority method, high-priority applications are given priority in allocating CPU resources, or high-priority applications can preempt low-priority applications or idle cores in high-priority applications; (4) Prediction method, set priorities based on predicted resource requirements according to certain rules.

[0132] 7. Dynamic resource allocation (i.e., making resource allocation decisions). Specifically, make initial adjustments based on priority settings and predicted resource requirements to determine the initial CPU resource allocation. Make real-time judgments based on set rules or policies to dynamically adjust resources (for example, dynamically adjust CPU resource allocation when resource usage exceeds a threshold or predicted demand changes). Regularly check and adjust load balancing to achieve balanced use of overall resources by migrating virtual machines or containers to nodes with lower loads. Prioritize resource requirements of key components (such as CU, DU, MEP) to avoid service degradation due to resource competition. Perform energy saving and recycling based on other set commands, rules, or policies.

[0133] 8. Resource overload detection and warning. Specifically, set the resource overload alarm threshold, and trigger an alarm when the CPU usage of any component reaches or exceeds the threshold for a certain period of time. If the overall resources are still overloaded for a long time after adjustment, notify the system administrator or automatically start the resource scale out mechanism.

[0134] 9. The resource scale-out mechanism specifically includes: when a resource overload alarm is detected, the resource scale-out process is automatically or manually started to increase CPU resources to meet demand. Scale-out can be achieved in the following ways: (1) Capacity expansion: increase the number of CPU cores on the existing node. (2) Upgrade: replace with a higher-performance CPU or server. (3) Horizontal expansion: add new server nodes to share the load of existing nodes.

[0135] 10. If resources are not overloaded, recycle and optimize resources. Specifically, regularly check resource usage, recycle CPU resources with low utilization, and optimize resource allocation. Implement energy-saving strategies, combined with the Energy Saving function of the base station, when the corresponding base station energy-saving function is started, recycle the released CPU resources to reduce energy consumption while meeting performance requirements.

[0136] The above mainly introduces the solution provided by the embodiment of the present application from the perspective of the method. In order to realize the above functions, it includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiment disclosed herein, the embodiment of the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present application.

[0137] The embodiment of the present application can divide the functional modules of a resource allocation method according to the above method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware or in the form of software functional modules. Optionally, the division of modules in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.

[0138] Fig. 9 A schematic diagram of the structure of a resource allocation device provided in an embodiment of the present application. Fig. 9 As shown, a resource allocation device 90 is used to improve the rationality of resource allocation, for example, to perform Figure 2 A resource allocation method is shown. The resource allocation device 90 includes: a transmission unit 901 and a processing unit 902.

[0139] Transmission unit 901 is used to obtain the allocated resource utilization rate of each network function component and the priority of each network function component during the operation of multiple network function components; the priority is used to indicate the importance of each network function component; processing unit 902 is used to determine the target network function component from multiple network function components based on the allocated resource utilization rate and the priority; the target network function component is the network function component whose allocated resources are to be adjusted; processing unit 902 is also used to adjust the allocated resources of the target network function component so that the allocated resource utilization rate of each network function component is within a preset range.

[0140] In a possible implementation, the transmission unit 901 is further used to obtain the first time delay and the flight speed of the UAV; the processing unit 902 is further used to determine the product of the first time delay and the flight speed as the flight distance; and determine the second position point based on the first position point and the flight distance.

[0141] In one possible implementation, the processing unit 902 is also used to determine the first network function component and the second network function component as target network function components when the priority of the first network function component is lower than the priority of the second network function component and the allocated resource usage rate of the second network function component exceeds a preset range.

[0142] In a possible implementation, the processing unit 902 is further configured to allocate the allocated resources of the first network function component to the second network function component.

[0143] In a possible implementation, the processing unit 902 is further configured to allocate, among the allocated resources of the first network function component, resources other than prohibited allocated resources to the second network function component.

[0144] In one possible implementation, the processing unit 902 is also used to determine the third network function component and the second network function component as target network function components when the priority of the third network function component is greater than the priority of the second network function component and the allocated resource usage rate of the second network function component exceeds a preset range.

[0145] In a possible implementation, the processing unit 902 is further configured to allocate idle resources in the allocated resources of the third network function component to the second network function component.

[0146] In one possible implementation, the processing unit 902 is further used to determine the first N network function components with the highest priority as target network function components when the allocated resource utilization rate of each network function component exceeds a preset range; N is a positive integer less than or equal to the number of network function components.

[0147] In a possible implementation, the processing unit 902 is further configured to increase the total resources of the hardware device that provides the allocated resources, and allocate the increased resources to the target network function component.

[0148] In one possible implementation, the transmission unit 901 is also used to obtain the load rate of each hardware device among the multiple hardware devices that provide allocated resources; the processing unit 902 is also used to adjust the amount of allocated resources provided by each hardware device based on the load rate of each hardware device, so that the difference between the load rates of each hardware device is less than a preset value.

[0149] In one possible implementation, the processing unit 902 is also used to determine the basic unit of each network function component based on the function of each type of network function component in multiple network function components; the basic unit of a network function component is used to determine the resources required by the network function component; the required resources include at least one of the following: the maximum resources required and the minimum resources required; the resources required by the network function component are used to determine the resources allocated to the network function component.

[0150] In the case of implementing the functions of the above-mentioned integrated modules in the form of hardware, the embodiment of the present application provides a possible structural diagram of the electronic device involved in the above-mentioned embodiment. Fig.10 As shown, an electronic device 100 is used to improve the rationality of resource allocation, for example, for executing Figure 2 A resource allocation method is shown. The electronic device 100 includes a processor 1001, a memory 1002 and a bus 1003. The processor 1001 and the memory 1002 may be connected via the bus 1003.

[0151] The processor 1001 is the control center of the communication device, which can be a processor or a general term for multiple processing elements. For example, the processor 1001 can be a general-purpose central processing unit (CPU) or other general-purpose processors. Among them, the general-purpose processor can be a microprocessor or any conventional processor.

[0152] As an embodiment, the processor 1001 may include one or more CPUs, such as Fig.10 CPU 0 and CPU 1 are shown in .

[0153] The memory 1002 may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type of dynamic storage device that can store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited to these.

[0154] As a possible implementation, the memory 1002 may exist independently of the processor 1001, and the memory 1002 may be connected to the processor 1001 via the bus 1003 to store instructions or program codes. When the processor 1001 calls and executes the instructions or program codes stored in the memory 1002, a resource allocation method provided in an embodiment of the present application can be implemented.

[0155] In another possible implementation, the memory 1002 may also be integrated with the processor 1001 .

[0156] The bus 1003 may be an industry standard architecture (ISA) bus, a peripheral component interconnect (PCI) bus, or an extended industry standard architecture (EISA) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.10 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0157] It should be pointed out that Fig.10 The structure shown does not constitute a limitation on the electronic device 100. Fig.10 In addition to the components shown, the electronic device 100 may include more or fewer components than shown, or combine certain components, or arrange the components differently.

[0158] As an example, combining Fig. 9 The functions implemented by the transmission unit 901 and the processing unit 902 in the resource allocation device 90 are similar to those Fig.10 The function of processor 1001 in is the same.

[0159] Optional, such as Fig.10 As shown, the electronic device 100 provided in the embodiment of the present application may further include a communication interface 1004 .

[0160] The communication interface 1004 is used to connect with other devices through a communication network. The communication network may be Ethernet, wireless access network, wireless local area network (WLAN), etc. The communication interface 1004 may include a receiving unit for receiving data and a sending unit for sending data.

[0161] In one design, in the electronic device provided in the embodiment of the present application, the communication interface can also be integrated into the processor.

[0162] Through the description of the above implementation methods, those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above functional units is used as an example. In practical applications, the above functions can be assigned to different functional units as needed, that is, the internal structure of the device can be divided into different functional units to complete all or part of the functions described above. The specific working process of the system, device and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0163] An embodiment of the present application also provides a computer-readable storage medium, in which instructions are stored. When a computer executes the instructions, the computer executes each step in the method flow shown in the above method embodiment.

[0164] An embodiment of the present application provides a computer program product. When a computer instruction runs on an electronic device, the electronic device executes a resource allocation method in the above method embodiment.

[0165] Among them, the computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable computer disk, a hard disk. Random access memory (random access memory, RAM), read-only memory (read-only memory, ROM), erasable programmable read only memory (erasable programmable read only memory, EPROM), registers, hard disks, optical fibers, portable compact disc read-only memory (compact disc read-only memory, CD-ROM), optical storage devices, magnetic storage devices, or the above in a suitable combination, or any other form of computer-readable storage medium of numerical value in the art.

[0166] An exemplary storage medium is coupled to a processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be an integral part of the processor. The processor and the storage medium can be located in an application specific integrated circuit (ASIC).

[0167] In the embodiments of the present application, a computer-readable storage medium may be any tangible medium that contains or stores a program, which may be used by or in conjunction with an instruction execution system, apparatus, or device.

[0168] Since the electronic device, computer-readable storage medium, and computer program product in the embodiments of the present application can be applied to the above-mentioned method, the technical effects that can be obtained can also refer to the above-mentioned method embodiments, and the embodiments of the present application will not be repeated here.

[0169] The above are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application.

Claims

1. A resource allocation method, characterized in that: The method comprises: During the operation of multiple network function components, obtaining the allocated resource usage rate of each network function component and the priority of each network function component; the priority is used to indicate the importance of each network function component; Based on the allocated resource usage rate and the priority, determining a target network function component from the multiple network function components; the target network function component is a network function component whose allocated resources are to be adjusted; The allocated resources of the target network function component are adjusted so that the utilization rate of the allocated resources of each network function component is within a preset range.

2. The method according to claim 1, characterized in that The determining a target network function component from the plurality of network function components based on the allocated resource usage rate and the priority comprises: When the priority of the first network function component is lower than the priority of the second network function component and the allocated resource usage rate of the second network function component exceeds the preset range, the first network function component and the second network function component are determined as the target network function components.

3. The method according to claim 2, characterized in that The adjusting the allocated resources of the target network function component comprises: Allocate the allocated resources of the first network function to the second network function.

4. The method according to claim 3, characterized in that In a case where the allocated resources of the first network function component include prohibiting the allocation of resources, allocating the allocated resources of the first network function component to the second network function component includes: Allocate the allocated resources of the first network function component, except the prohibited allocation resources, to the second network function component.

5. The method according to claim 1, characterized in that: The determining a target network function component from the plurality of network function components based on the allocated resource usage rate and the priority comprises: When the priority of the third network function component is greater than the priority of the second network function component and the allocated resource usage rate of the second network function component exceeds the preset range, the third network function component and the second network function component are determined as the target network function components.

6. The method according to claim 5, characterized in that The adjusting the allocated resources of the target network function component comprises: Allocate idle resources among the allocated resources of the third network function component to the second network function component.

7. The method according to claim 1, characterized in that The determining a target network function component from the plurality of network function components based on the allocated resource usage rate and the priority comprises: When the allocated resource usage rate of each network function component exceeds the preset range, the first N network function components with the highest priority are determined as the target network function components; N is a positive integer less than or equal to the number of the network function components.

8. The method according to claim 1, characterized in that The adjusting the allocated resources of the target network function component comprises: The total resources of the hardware device providing the allocated resources are increased, and the increased resources are allocated to the target network function component.

9. The method according to claim 1, characterized in that: The method further comprises: Obtaining a load rate of each hardware device among a plurality of hardware devices providing the allocated resources; Based on the load rate of each hardware device, the resource amount of the allocated resource provided by each hardware device is adjusted so that the difference between the load rates of each hardware device is less than a preset value.

10. The method according to claim 1, characterized in that Before obtaining the allocated resource usage rate of each network function component and the priority of each network function component during the operation of the plurality of network function components, the method further includes: Based on the functions of each type of network function components in the multiple network function components, a basic unit of each network function component is determined; a basic unit of a network function component is used to determine the resources required by the network function component; the required resources include at least one of the following: the maximum resources required and the minimum resources required; the resources required by the network function component are used to determine the resources allocated to the network function component.

11. A resource allocation device, characterized in that: The resource allocation device comprises: a transmission unit and a processing unit; The transmission unit is used to obtain the allocated resource usage rate of each network function component and the priority of each network function component during the operation of multiple network function components; the priority is used to indicate the importance of each network function component; The processing unit is configured to determine a target network function component from the plurality of network function components based on the allocated resource usage rate and the priority; the target network function component is a network function component for which allocated resources are to be adjusted; The processing unit is further used to adjust the allocated resources of the target network function component so that the utilization rate of the allocated resources of each network function component is within a preset range.

12. An electronic device, characterized in that: include: Processor and memory; The memory is used to store one or more programs, and the one or more programs include computer-executable instructions. When the electronic device is running, the processor executes the computer-executable instructions stored in the memory to enable the electronic device to perform the method described in any one of claims 1-10.

13. A computer-readable storage medium storing one or more programs, characterized in that: The one or more programs include instructions which, when executed by a computer, cause the computer to perform the method of any one of claims 1-10.

14. A computer program product, characterized in that The computer program product comprises computer instructions, and when the computer instructions are executed on an electronic device, the electronic device executes the method according to any one of claims 1 to 10.