Frequency modulation control method and device
By parsing the energy-saving intention in the NFV architecture, detecting virtual CPU parameters, adjusting the CPU frequency and setting up a protection mechanism, the overload problem caused by frequency reduction in the CPU frequency regulation solution under the NFV architecture is solved, achieving more flexible and efficient frequency regulation and improving efficiency. System stability and energy efficiency.
Patent Information
- Application Number
- CN202310412361.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-10
- Publication Date
- 2024-10-15
AI Technical Summary
Under the network function virtualization (NFV) architecture, the processor's frequency regulation and energy-saving solution lacks a CPU protection mechanism, which may cause problems such as CPU overload alarms and incorrect flow control during frequency reduction, and it is difficult to adjust the frequency in real time to respond to load changes.
By analyzing the energy-saving intention, detecting the utilization and load of the virtual CPU, adjusting the CPU frequency, setting the CPU protection value and frequency reduction threshold, the CPU protection mechanism during frequency reduction is realized, and the CPU changes before and after frequency reduction are reflected through energy efficiency data, dynamically Manage the turning on and off of Turbo Frequency, and flexibly adjust the frequency to cope with different load scenarios.
It reduces CPU overload alarms and incorrect flow control problems caused by frequency reduction, improves the timeliness and flexibility of frequency control, reduces the problems of insufficient performance under high load and increased power consumption under low load, and enhances the efficiency of external operation and maintenance. ability.
Smart Images

Figure CN118779093A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communications, and in particular to a frequency modulation control method and device in a network function virtualization network. Background Art
[0002] In order to cope with future competitive challenges and avoid being piped, operators have followed the current development trends of virtualization, cloud computing and other technologies and proposed a new network function virtualization (NFV) standard architecture.
[0003] NFV uses general-purpose hardware such as x86 and virtualization technology to make network equipment functions no longer dependent on dedicated hardware. Resources can be shared flexibly and fully, enabling rapid development and deployment of new services. It can also perform automatic deployment, elastic scaling, fault isolation, and self-healing based on actual business needs.
[0004] NFV is based on modern IT virtualization technology and provides a new network product environment to reduce costs, improve efficiency, and increase agility. By using general-purpose hardware such as x86 and virtualization technology to carry software processing of many functions, the cost of expensive network equipment can be reduced. It includes (1) Software and hardware decoupling: that is, layered decoupling, which means decoupling the upper-layer virtual network function (VNF) software from the lower-layer general-purpose hardware through the virtualization of computing, storage, and network resources. (2) Computing virtualization: virtualizing the access and management of computer resources including central processing unit (CPU) and memory, and providing standard input and output interfaces for these resources. Virtualizing and running multiple virtual machines on a physical machine can improve the utilization of computer hardware resources. (3) Storage virtualization: virtualizing different storage devices, shielding the differences in storage device capabilities, interface protocols, etc., and transforming various storage resources into uniformly managed digital storage resources. (4) Network virtualization: providing Layer 2 network functions for virtual machines on the physical machine through virtual switches, realizing internal network interconnection and external network access of virtual machines.
[0005] At present, there are still some problems with the frequency modulation and energy saving solution of processors under the NFV architecture, such as the lack of CPU protection mechanism. Summary of the invention
[0006] The present application provides a frequency modulation control method and device, which implements the CPU frequency modulation control method by means of intention transmission, provides a CPU protection method when the frequency is reduced, and can solve problems such as overload alarm / false flow control and automatic expansion and contraction caused by frequency reduction.
[0007] In a first aspect, a frequency modulation control method is provided, the method comprising: parsing energy-saving intentions, the energy-saving intentions comprising a central processing unit (CPU) protection value; detecting a first parameter of a virtual CPU, the first parameter comprising a utilization rate; adjusting the frequency of a first CPU according to the first parameter, the first CPU comprising at least one of the virtual CPUs, the adjustment comprising: when the frequency of the first CPU is lower than a base frequency, if the utilization rate of the first CPU is higher than the CPU protection value, adjusting the frequency of the first CPU to be equal to the base frequency.
[0008] According to the present application scheme, a CPU protection mechanism is set during energy-saving frequency reduction, which can reduce problems such as CPU overload alarm / false flow control and automatic expansion and contraction caused by frequency reduction.
[0009] It should be understood that the method can be executed in a frequency modulation control module.
[0010] Optionally, the energy-saving intention includes a frequency reduction threshold, the first parameter includes utilization and / or load, and the adjustment includes: when the load of the first CPU is lower than the frequency reduction threshold for a period of time exceeding the first threshold and the utilization of the first CPU is lower than the CPU protection value, adjusting the frequency of the first CPU to be lower than the base frequency.
[0011] According to the solution of the present application, by setting the frequency reduction threshold, the frequency can be adjusted in real time according to the CPU load, making the frequency reduction control more timely and flexible.
[0012] Optionally, the energy-saving intention also includes a turbo switch and a turbo threshold, wherein the turbo switch is used to indicate whether the first CPU is allowed to run at a frequency higher than the base frequency, and the adjustment also includes: when the load of the first CPU is higher than the turbo threshold for a duration exceeding a second threshold, adjusting the frequency of the first CPU to be higher than or equal to the base frequency; when the load of the first CPU is higher than the frequency reduction threshold and lower than the turbo threshold, adjusting the frequency of the first CPU to be equal to the base frequency.
[0013] According to the present application scheme, the CPU turbo frequency information is provided in the intent, and the turbo frequency can be dynamically managed on and off according to the intent, which can reduce the problems of insufficient server performance under high load and increased power consumption under low load.
[0014] In combination with the first aspect, in certain implementations of the first aspect, the method also includes reporting energy efficiency data, which is used to adjust the energy-saving intention, and the energy efficiency data includes at least one of a reference CPU load value, a first CPU load, a first CPU power consumption, and a first CPU frequency, wherein the reference CPU load value is determined based on the ratio of the first CPU working time and the frequency of the first CPU to the base frequency.
[0015] According to the present application scheme, a reference CPU scheme is provided to reflect the changes in the CPU before and after frequency reduction, which can improve external operation and maintenance capabilities and reduce the problem of misleading people into thinking that the CPU processing capacity is insufficient.
[0016] Optionally, the energy efficiency data is uploaded to an instance node through a third interface, where the instance node is a container instance service CIS or a virtual network function instance VNFI.
[0017] Optionally, the energy-saving intention also includes a frequency reduction time period and a first list, the frequency reduction time period is used to indicate the time period in which the operating frequency of the first CPU is allowed to be lower than the base frequency, the first list includes at least one business process, and the first list is used to indicate whether the frequency of the first CPU is allowed to be lower than the base frequency when processing the business process.
[0018] Optionally, the energy-saving intention also includes a frequency modulation granularity, which is used to indicate a first CPU, which corresponds to at least one container unit POD or at least one virtual machine VM or at least one virtual network function VNF or at least one host group HA.
[0019] According to the solution of this application, the time, business object and CPU object of frequency reduction can be flexibly adjusted, making the frequency modulation control more accurate and efficient.
[0020] In a second aspect, a frequency modulation control method is provided, the method comprising: creating an energy-saving intention, the energy-saving intention comprising a central processing unit (CPU) protection value, the energy-saving intention being used to instruct a frequency modulation processing module to adjust the frequency of a first CPU according to a first parameter, the first parameter being obtained by detecting a virtual CPU, the first parameter comprising a utilization rate, the first CPU comprising at least one virtual CPU, the adjustment comprising: when the frequency of the first CPU is lower than a base frequency, if the utilization rate of the first CPU is higher than the CPU protection value, adjusting the frequency of the first CPU to be equal to the base frequency; sending the energy-saving intention.
[0021] According to the present application scheme, a CPU protection mechanism is set during energy-saving frequency reduction, which can reduce problems such as CPU overload alarm / false flow control and automatic expansion and contraction caused by frequency reduction.
[0022] It should be understood that the method can be executed in a management plane network element.
[0023] Optionally, the energy-saving intention includes a frequency reduction threshold, the first parameter includes utilization and / or load, and the adjustment includes: when the load of the first CPU is lower than the frequency reduction threshold for a period of time exceeding the first threshold and the utilization of the first CPU is lower than the CPU protection value, adjusting the frequency of the first CPU to be lower than the base frequency.
[0024] According to the solution of the present application, by setting the frequency reduction threshold, the frequency can be adjusted in real time according to the CPU load, making the frequency reduction control more timely and flexible.
[0025] Optionally, the energy-saving intention also includes a turbo switch and a turbo threshold. The turbo switch is used to indicate whether the first CPU is allowed to run at a frequency higher than the base frequency. The adjustment also includes: when the load of the first CPU is higher than the turbo threshold for a duration exceeding a second threshold, adjusting the frequency of the first CPU to be higher than or equal to the base frequency; when the load of the first CPU is higher than the frequency reduction threshold and lower than the turbo threshold, adjusting the frequency of the first CPU to be equal to the base frequency.
[0026] According to the present application scheme, the CPU turbo frequency information is provided in the intent, and the turbo frequency can be dynamically managed on and off according to the intent, which can reduce the problems of insufficient server performance under high load and increased power consumption under low load.
[0027] In combination with the second aspect, in certain embodiments of the second aspect, the method also includes: receiving energy efficiency data, the energy efficiency data is used to adjust the energy-saving intention, the energy efficiency data includes at least one of a reference CPU load value, a first CPU load, a first CPU power consumption, and a first CPU frequency, wherein the reference CPU load value is determined based on the ratio of the first CPU working time and the frequency of the first CPU to the base frequency.
[0028] According to the present application scheme, a reference CPU scheme is provided to reflect the changes in the CPU before and after frequency reduction, which can improve external operation and maintenance capabilities and reduce the problem of misleading people into thinking that the CPU processing capacity is insufficient.
[0029] Optionally, the energy-saving intention also includes a frequency reduction time period and a first list, the frequency reduction time period is used to indicate the time period in which the operating frequency of the first CPU is allowed to be lower than the base frequency, the first list includes at least one business process, and the first list is used to indicate whether the first CPU is allowed to run at a frequency lower than the base frequency to process the business process.
[0030] Optionally, the energy-saving intention also includes frequency modulation granularity, and the frequency modulation granularity is used to indicate the first CPU, and the first CPU corresponds to at least one container unit POD or at least one virtual machine VM or at least one virtual network function VNF or at least one host group HA.
[0031] According to the solution of this application, the time, business object and CPU object of frequency reduction can be flexibly adjusted, making the frequency modulation control more accurate and efficient.
[0032] Optionally, the energy-saving intention is sent by the management plane network element through the first interface, the management plane network element is the virtual network function manager VNFM or the management data analysis function MDAF, and the energy efficiency data is received through the fourth interface.
[0033] According to the solution of this application, a new intent transfer interface is added between the management plane network element and the VNF, which can realize the intent transfer between the management plane and the VNF.
[0034] In a third aspect, a frequency modulation control method is provided, the method comprising: receiving an energy-saving intention, the energy-saving intention comprising a central processing unit (CPU) protection value, the energy-saving intention being used to instruct a frequency modulation processing module to adjust the frequency of a first CPU according to a first parameter, the first parameter being obtained by detecting a virtual CPU, the first parameter comprising a utilization rate, the first CPU comprising at least one virtual CPU, the adjustment comprising: when the frequency of the first CPU is lower than a base frequency, if the utilization rate of the first CPU is higher than the CPU protection value, then adjusting the frequency of the first CPU to be equal to the base frequency.
[0035] According to the present application scheme, a CPU protection mechanism is set during energy-saving frequency reduction, which can reduce problems such as CPU overload alarm / false flow control and automatic expansion and contraction caused by frequency reduction.
[0036] It should be understood that the method can be executed in a container instance service CIS or a virtual network function instance VNFI.
[0037] Optionally, the energy-saving intention includes a frequency reduction threshold, the first parameter includes utilization and / or load, and the adjustment includes: when the load of the first CPU is lower than the frequency reduction threshold for a period of time exceeding the first threshold and the utilization of the first CPU is lower than the CPU protection value, adjusting the frequency of the first CPU to be lower than the base frequency.
[0038] According to the solution of the present application, by setting the frequency reduction threshold, the frequency can be adjusted in real time according to the CPU load, making the frequency reduction control more timely and flexible.
[0039] Optionally, the energy-saving intention also includes a turbo switch and a turbo threshold, the turbo switch is used to indicate whether the first CPU is allowed to run at a frequency higher than the base frequency, and the adjustment also includes: when the load of the first CPU is higher than the turbo threshold for a duration exceeding a second threshold, adjusting the frequency of the first CPU to be higher than or equal to the base frequency; when the load of the first CPU is higher than the frequency reduction threshold and lower than the turbo threshold, adjusting the frequency of the first CPU to be equal to the base frequency.
[0040] According to the present application scheme, the CPU turbo frequency information is provided in the intent, and the turbo frequency can be dynamically managed on and off according to the intent, which can reduce the problems of insufficient server performance under high load and increased power consumption under low load.
[0041] Optionally, the energy-saving intention also includes a frequency reduction time period and a first list, the frequency reduction time period is used to indicate the time period in which the operating frequency of the first CPU is allowed to be lower than the base frequency, the first list includes at least one business process, and the first list is used to indicate whether the first CPU is allowed to run at a frequency lower than the base frequency to process the business process.
[0042] Optionally, the energy-saving intention also includes a frequency modulation granularity, and the frequency modulation granularity is used to indicate a first CPU, which corresponds to at least one container unit POD or at least one virtual machine VM or at least one virtual network function VNF or at least one host group HA.
[0043] According to the solution of this application, the time, business object and CPU object of frequency reduction can be flexibly adjusted, making the frequency modulation control more accurate and efficient.
[0044] In combination with the third aspect, in some embodiments of the third aspect, the method further includes: creating a container unit POD and deploying a POD instance.
[0045] In combination with the third aspect, in certain embodiments of the third aspect, the method also includes: reporting energy efficiency data, the energy efficiency data is used to adjust the energy-saving intention, the energy efficiency data includes at least one of a reference CPU load value, a first CPU load, a first CPU power consumption, and a first CPU frequency, wherein the reference CPU load value is determined based on the ratio of the first CPU working time and the first CPU frequency to the base frequency.
[0046] According to the present application scheme, a reference CPU scheme is provided to reflect the changes in the CPU before and after frequency reduction, which can improve external operation and maintenance capabilities and reduce the problem of misleading people into thinking that the CPU processing capacity is insufficient.
[0047] Optionally, the energy efficiency data is uploaded to a management plane network element through a fourth interface, where the management plane network element is a virtual network function manager VNFM or a management data analysis function MDAF.
[0048] According to the solution of the present application, the energy efficiency data interface of the CIS and the management plane network element is expanded, and the energy efficiency data information can be effectively transmitted.
[0049] In a fourth aspect, a frequency modulation control method is provided, the method comprising: receiving an energy-saving intention, the energy-saving intention comprising a central processing unit (CPU) protection value, the energy-saving intention being used to instruct a frequency modulation processing module to adjust the frequency of a first CPU according to a first parameter, the first parameter being obtained by detecting a virtual CPU, the first parameter comprising a utilization rate, the first CPU comprising at least one of the virtual CPUs, the adjustment comprising: when the frequency of the first CPU is lower than the base frequency, if the utilization rate of the first CPU is higher than the CPU protection value, adjusting the frequency of the first CPU to be equal to the base frequency; and sending the energy-saving intention through a second interface.
[0050] According to the present application scheme, a CPU protection mechanism is set during energy-saving frequency reduction, which can reduce problems such as CPU overload alarm / false flow control and automatic expansion and contraction caused by frequency reduction.
[0051] It should be understood that the method can be performed in a virtual network function VNF.
[0052] Optionally, the energy-saving intention includes a frequency reduction threshold, the first parameter includes utilization and / or load, and the adjustment includes: when the load of the first CPU is lower than the frequency reduction threshold for a period of time exceeding the first threshold and the utilization of the first CPU is lower than the CPU protection value, adjusting the frequency of the first CPU to be lower than the base frequency.
[0053] According to the solution of the present application, by setting the frequency reduction threshold, the frequency can be adjusted in real time according to the CPU load, making the frequency reduction control more timely and flexible.
[0054] Optionally, the energy-saving intention also includes a turbo switch and a turbo threshold. The turbo switch is used to indicate whether the first CPU is allowed to run at a frequency higher than the base frequency. The adjustment also includes: when the load of the first CPU is higher than the turbo threshold for a duration exceeding a second threshold, adjusting the frequency of the first CPU to be higher than or equal to the base frequency; when the load of the first CPU is higher than the frequency reduction threshold and lower than the turbo threshold, adjusting the frequency of the first CPU to be equal to the base frequency.
[0055] According to the present application scheme, the CPU turbo frequency information is provided in the intent, and the turbo frequency can be dynamically managed on and off according to the intent, which can reduce the problems of insufficient server performance under high load and increased power consumption under low load.
[0056] Optionally, the energy-saving intention also includes a frequency reduction time period and a first list, the frequency reduction time period is used to indicate the time period in which the operating frequency of the first CPU is allowed to be lower than the base frequency, the first list includes at least one business process, and the first list is used to indicate whether the first CPU is allowed to run at a frequency lower than the base frequency to process the business process.
[0057] Optionally, the energy-saving intention also includes a frequency modulation granularity, which is used to indicate a first CPU, which corresponds to at least one container unit POD or at least one virtual machine VM or at least one virtual network function VNF or at least one host group HA.
[0058] According to the solution of this application, the time, business object and CPU object of frequency reduction can be flexibly adjusted, making the frequency modulation control more accurate and efficient.
[0059] In a fifth aspect, a frequency modulation control device is provided, which includes: a processing module for parsing energy-saving intentions, which include a central processing unit CPU protection value; detecting a first parameter of a virtual CPU, which includes a utilization rate; adjusting the frequency of a first CPU according to the first parameter, the first CPU including at least one of the virtual CPUs, and the adjustment includes: when the frequency of the first CPU is lower than the base frequency, if the utilization rate of the first CPU is higher than the CPU protection value, adjusting the frequency of the first CPU to be equal to the base frequency.
[0060] Optionally, the energy-saving intention includes a frequency reduction threshold, the first parameter includes utilization and / or load, and the adjustment includes: when the load of the first CPU is lower than the frequency reduction threshold for a period of time exceeding the first threshold and the utilization of the first CPU is lower than the CPU protection value, adjusting the frequency of the first CPU to be lower than the base frequency.
[0061] Optionally, the energy-saving intention also includes a turbo switch and a turbo threshold, wherein the turbo switch is used to indicate whether the first CPU is allowed to run at a frequency higher than the base frequency, and the adjustment also includes: when the load of the first CPU is higher than the turbo threshold for a duration exceeding a second threshold, adjusting the frequency of the first CPU to be higher than or equal to the base frequency; when the load of the first CPU is higher than the frequency reduction threshold and lower than the turbo threshold, adjusting the frequency of the first CPU to be equal to the base frequency.
[0062] In combination with the fifth aspect, in certain implementations of the fifth aspect, the device also includes: a sending unit, used to report energy efficiency data, the energy efficiency data is used to adjust the energy-saving intention, the energy efficiency data includes at least one of a reference CPU load value, a first CPU load, a first CPU power consumption, and a first CPU frequency, wherein the reference CPU load value is determined based on the ratio of the first CPU working time and the frequency of the first CPU to the base frequency.
[0063] Optionally, the energy efficiency data is uploaded to an instance node through a third interface, where the instance node is a container instance service CIS or a virtual network function instance VNFI.
[0064] Optionally, the energy-saving intention also includes a frequency reduction time period and a first list, the frequency reduction time period is used to indicate the time period in which the operating frequency of the first CPU is allowed to be lower than the base frequency, the first list includes at least one business process, and the first list is used to indicate whether the frequency of the first CPU is allowed to be lower than the base frequency when processing the business process.
[0065] Optionally, the energy-saving intention also includes a frequency modulation granularity, which is used to indicate a first CPU, which corresponds to at least one container unit POD or at least one virtual machine VM or at least one virtual network function VNF or at least one host group HA.
[0066] In a sixth aspect, a frequency modulation control device is provided, which includes: a processing unit, used to create an energy-saving intention, the energy-saving intention includes a central processing unit CPU protection value, the energy-saving intention is used to instruct the frequency modulation processing module to adjust the frequency of the first CPU according to a first parameter, the first parameter is obtained by detecting a virtual CPU, the first parameter includes a utilization rate, the first CPU includes at least one virtual CPU, and the adjustment includes: when the frequency of the first CPU is lower than the base frequency, if the utilization rate of the first CPU is higher than the CPU protection value, then the frequency of the first CPU is adjusted to be equal to the base frequency; a sending unit, used to send the energy-saving intention.
[0067] Optionally, the energy-saving intention includes a frequency reduction threshold, the first parameter includes utilization and / or load, and the adjustment includes: when the load of the first CPU is lower than the frequency reduction threshold for a period of time exceeding the first threshold and the utilization of the first CPU is lower than the CPU protection value, adjusting the frequency of the first CPU to be lower than the base frequency.
[0068] Optionally, the energy-saving intention also includes a turbo switch and a turbo threshold. The turbo switch is used to indicate whether the first CPU is allowed to run at a frequency higher than the base frequency. The adjustment also includes: when the load of the first CPU is higher than the turbo threshold for a duration exceeding a second threshold, adjusting the frequency of the first CPU to be higher than or equal to the base frequency; when the load of the first CPU is higher than the frequency reduction threshold and lower than the turbo threshold, adjusting the frequency of the first CPU to be equal to the base frequency.
[0069] In combination with the sixth aspect, in certain embodiments of the sixth aspect, the device also includes: a receiving unit, used to receive energy efficiency data, the energy efficiency data is used to adjust the energy-saving intention, the energy efficiency data includes at least one of a reference CPU load value, a first CPU load, a first CPU power consumption, and a first CPU frequency, wherein the reference CPU load value is determined based on the ratio of the first CPU working time and the frequency of the first CPU to the base frequency.
[0070] Optionally, the energy-saving intention also includes a frequency reduction time period and a first list, the frequency reduction time period is used to indicate the time period in which the operating frequency of the first CPU is allowed to be lower than the base frequency, the first list includes at least one business process, and the first list is used to indicate whether the first CPU is allowed to run at a frequency lower than the base frequency to process the business process.
[0071] Optionally, the energy-saving intention also includes frequency modulation granularity, and the frequency modulation granularity is used to indicate the first CPU, and the first CPU corresponds to at least one container unit POD or at least one virtual machine VM or at least one virtual network function VNF or at least one host group HA.
[0072] Optionally, the energy-saving intention is sent by the management plane network element through the first interface, the management plane network element is the virtual network function manager VNFM or the management data analysis function MDAF, and the energy efficiency data is received through the fourth interface.
[0073] In the seventh aspect, a frequency modulation control device is provided, which includes: a receiving unit, used to receive an energy-saving intention, the energy-saving intention includes a central processing unit CPU protection value, the energy-saving intention is used to instruct the frequency modulation processing module to adjust the frequency of the first CPU according to a first parameter, the first parameter is obtained by detecting a virtual CPU, the first parameter includes a utilization rate, the first CPU includes at least one virtual CPU, and the adjustment includes: when the frequency of the first CPU is lower than the base frequency, if the utilization rate of the first CPU is higher than the CPU protection value, then the frequency of the first CPU is adjusted to be equal to the base frequency.
[0074] Optionally, the energy-saving intention includes a frequency reduction threshold, the first parameter includes utilization and / or load, and the adjustment includes: when the load of the first CPU is lower than the frequency reduction threshold for a period of time exceeding the first threshold and the utilization of the first CPU is lower than the CPU protection value, adjusting the frequency of the first CPU to be lower than the base frequency.
[0075] Optionally, the energy-saving intention also includes a turbo switch and a turbo threshold, the turbo switch is used to indicate whether the first CPU is allowed to run at a frequency higher than the base frequency, and the adjustment also includes: when the load of the first CPU is higher than the turbo threshold for a duration exceeding a second threshold, adjusting the frequency of the first CPU to be higher than or equal to the base frequency; when the load of the first CPU is higher than the frequency reduction threshold and lower than the turbo threshold, adjusting the frequency of the first CPU to be equal to the base frequency.
[0076] Optionally, the energy-saving intention also includes a frequency reduction time period and a first list, the frequency reduction time period is used to indicate the time period in which the operating frequency of the first CPU is allowed to be lower than the base frequency, the first list includes at least one business process, and the first list is used to indicate whether the first CPU is allowed to run at a frequency lower than the base frequency to process the business process.
[0077] Optionally, the energy-saving intention also includes a frequency modulation granularity, and the frequency modulation granularity is used to indicate a first CPU, which corresponds to at least one container unit POD or at least one virtual machine VM or at least one virtual network function VNF or at least one host group HA.
[0078] In combination with the seventh aspect, in some methods of the first aspect, the device also includes: a processing unit, used to create a container unit POD and deploy a POD instance.
[0079] In combination with the seventh aspect, in certain embodiments of the seventh aspect, the device also includes: a sending unit, used to report energy efficiency data, the energy efficiency data is used to adjust the energy-saving intention, the energy efficiency data includes at least one of a reference CPU load value, a first CPU load, a first CPU power consumption, and a first CPU frequency, wherein the reference CPU load value is determined based on the ratio of the first CPU working time and the first CPU frequency to the base frequency.
[0080] Optionally, the energy efficiency data is uploaded to a management plane network element through a fourth interface, where the management plane network element is a virtual network function manager VNFM or a management data analysis function MDAF.
[0081] In an eighth aspect, a frequency modulation control device is provided, which includes: a receiving unit, used to receive an energy-saving intention, the energy-saving intention includes a central processing unit CPU protection value, the energy-saving intention is used to instruct the frequency modulation processing module to adjust the frequency of the first CPU according to a first parameter, the first parameter is obtained by detecting a virtual CPU, the first parameter includes a utilization rate, the first CPU includes at least one of the virtual CPUs, and the adjustment includes: when the frequency of the first CPU is lower than the base frequency, if the utilization rate of the first CPU is higher than the CPU protection value, then the frequency of the first CPU is adjusted to be equal to the base frequency; a sending unit, which sends the energy-saving intention through a second interface.
[0082] Optionally, the energy-saving intention includes a frequency reduction threshold, the first parameter includes utilization and / or load, and the adjustment includes: when the load of the first CPU is lower than the frequency reduction threshold for a period of time exceeding the first threshold and the utilization of the first CPU is lower than the CPU protection value, adjusting the frequency of the first CPU to be lower than the base frequency.
[0083] Optionally, the energy-saving intention also includes a turbo switch and a turbo threshold. The turbo switch is used to indicate whether the first CPU is allowed to run at a frequency higher than the base frequency. The adjustment also includes: when the load of the first CPU is higher than the turbo threshold for a duration exceeding a second threshold, adjusting the frequency of the first CPU to be higher than or equal to the base frequency; when the load of the first CPU is higher than the frequency reduction threshold and lower than the turbo threshold, adjusting the frequency of the first CPU to be equal to the base frequency.
[0084] Optionally, the energy-saving intention also includes a frequency reduction time period and a first list, the frequency reduction time period is used to indicate the time period in which the operating frequency of the first CPU is allowed to be lower than the base frequency, the first list includes at least one business process, and the first list is used to indicate whether the first CPU is allowed to run at a frequency lower than the base frequency to process the business process.
[0085] Optionally, the energy-saving intention also includes a frequency modulation granularity, which is used to indicate a first CPU, which corresponds to at least one container unit POD or at least one virtual machine VM or at least one virtual network function VNF or at least one host group HA.
[0086] In a ninth aspect, a frequency modulation control device is provided, comprising a transceiver, a processor and a memory. The processor is used to control the transceiver to receive and transmit signals, the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that the method in the first aspect and possible implementations thereof is executed.
[0087] In a tenth aspect, a frequency modulation control device is provided, comprising a transceiver, a processor and a memory. The processor is used to control the transceiver to receive and transmit signals, the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that the method in the second aspect and possible implementations thereof is executed.
[0088] In an eleventh aspect, a frequency modulation control device is provided, comprising a transceiver, a processor and a memory. The processor is used to control the transceiver to receive and transmit signals, the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that the method in the third aspect and possible implementations thereof is executed.
[0089] In a twelfth aspect, a frequency modulation control device is provided, comprising a transceiver, a processor and a memory. The processor is used to control the transceiver to receive and transmit signals, the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that the method in the fourth aspect and possible implementations thereof is executed.
[0090] In the thirteenth aspect, a computer program product is provided, which includes: a computer program (also referred to as code, or instruction), which, when executed, enables a computer to execute the method in the above-mentioned first to fourth aspects and any possible implementation of the first to fourth aspects.
[0091] In the fourteenth aspect, a computer-readable medium is provided, which stores a computer program (also referred to as code, or instructions) which, when executed on a computer, enables the computer to execute the method in the above-mentioned first to fourth aspects and any possible implementation of the first to fourth aspects.
[0092] In a fifteenth aspect, a chip is provided, comprising: a processing unit, which can execute instructions to enable the method of any possible implementation method of the above-mentioned first to fourth aspects or the first to fourth aspects to be executed.
[0093] Specifically, the beneficial effects of other aspects can refer to the beneficial effects described in the first to fourth aspects. BRIEF DESCRIPTION OF THE DRAWINGS
[0094] Figure 1 It is a schematic diagram of a network function virtualization architecture applicable to an embodiment of the present application;
[0095] Figure 2 It is a flow chart of a frequency modulation control method provided by an embodiment of the present application;
[0096] Figure 3 It is a flowchart of another frequency modulation control method provided by an embodiment of the present application;
[0097] Figure 4 This is a schematic diagram of CPU frequency adjustment provided in an embodiment of the present application;
[0098] Figure 5It is a schematic diagram of a frequency modulation control method provided in an embodiment of the present application;
[0099] Figure 6 is a schematic diagram of another frequency modulation control method provided in an embodiment of the present application;
[0100] Figure 7 is a schematic block diagram of a device provided in an embodiment of the present application;
[0101] Figure 8 This is another schematic block diagram of a device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0102] The technical solution in this application will be described below in conjunction with the accompanying drawings.
[0103] Figure 1 Schematic diagram of a network function virtualization architecture applicable to the embodiment of the present application. Figure 1 As shown, the architecture consists of the following main functional components:
[0104] The NFV infrastructure layer (network function virtualization infrastructure, NFVI) includes the required hardware and software. It provides an operating environment for VNF. The hardware layer (hardware) includes hardware devices that provide computing, network, and storage resource capabilities. The virtualization layer (virtualization layer) mainly abstracts hardware resources to form virtual resources, such as virtual computing resources, virtual storage resources, and virtual network resources. Its virtualization function is implemented by virtualization software (for example, Hypervisor) virtualization management program. NFVI provides the virtualization resources required to support the execution of NFV, including commercial off the shelf (COTS) hardware, necessary accelerator components, and a software layer that virtualizes and abstracts the underlying hardware.
[0105] For example, NFVI may include a hardware resource layer consisting of computing hardware, storage hardware, and network hardware, a virtualization layer, and a virtual resource layer consisting of virtual computing (e.g., virtual machines), virtual storage, and virtual networks.
[0106] Container infrastructure service (cluster) (CIS) provides a service that provides an operating environment for one or more container virtualization technologies. This service can run on CIS cluster nodes. Container infrastructure service management (CIS management, CISM) usually runs in the corresponding infrastructure site. Its main functions include: resource discovery, container object management and scheduling, etc.
[0107] VNF is a software implementation of a network function (NF) that can run on NFVI, and may also be accompanied by an element management system (EMS or EM) to understand and manage individual VNFs and their features. VNF is equivalent to the entity of a network node and is expected to be delivered as pure software without hardware dependence. The main functions of element management (EM) are consistent with traditional element management functions, with additional management functions added in a virtualized environment.
[0108] NFV management and orchestration (M&O or MANO) includes orchestration, lifecycle management of physical and / or software resources supporting infrastructure virtualization, and lifecycle management of VNFs. NFV M&O focuses on virtualization-specific management tasks within the NFV framework. NFV M&O also interacts with the operations support system (OSS) / business support system (BSS) external to NFV to allow NFV to be integrated into an existing network-wide management landscape.
[0109] The above mentioned components interact through defined reference points so that different entities can be clearly decoupled, thus facilitating an open and innovative NFV ecosystem. The reference points between VNF and NFVI (and between entities inside NFVI) deal with the abstraction and virtualization of resources, as well as the hosting of VNFs, so that VNFs can not only be moved from one to another in NFVI, but also ensure that the choice of different underlying hardware is possible. The reference points between NFV M&O and VNF and NFVI (and between entities inside NFV M&O) deal with the management and operation of the NFV system. The related components are designed in a way that allows the reuse of existing solutions (such as cloud management systems) and also interacts with existing OSS / BSS environments that the NFV system needs to connect to.
[0110] The following functional components are further defined within NFV M&O:
[0111] NFV orchestrator (NFVO) orchestrates and manages the entire NFV infrastructure, software resources, and network services. It includes service orchestration and resource orchestration, controls new network services, integrates VNFs into the virtual architecture, and verifies and authorizes resource requests for NFV infrastructure.
[0112] The VNF manager (VNFM) mainly controls the life cycle of VNF (instantiation, configuration, shutdown, etc.). Each VNF is assumed to have an associated VNFM, and a VNFM can be assigned to manage a single VNF instance or multiple VNF instances of the same or different types. Its available capabilities include: VNF instantiation, VNF configuration of NFV resources, VNF instance update, VNF instance scaling, collection of NFVI performance metrics and events related to VNF instances and association with VNF instance related events, VNF instance assistance or automatic recovery, VNF instance termination, VNF instance integrity management throughout its life cycle, and global coordination and adaptation for configuration and event reporting between NFVI and EMS.
[0113] The virtualized infrastructure manager (VIM) usually runs in the corresponding infrastructure site. Its main functions include: resource discovery, management and allocation of virtual resources, fault handling, etc. A VIM can handle a certain type of NFV resources or can manage multiple types of NFV resources. Its available capabilities include: orchestrating the allocation / upgrade / deallocation / recycling of NFV resources, managing the association of virtualized resources with computing, storage, and network resources; managing the catalog of hardware resources (computing, storage, and network) and software resources (such as hypervisors); collecting and forwarding performance metrics and events of virtualized resources, etc.
[0114] Container Infrastructure Service Cluster Management (CIS cluster management, CCM) is a management system for container images / packages and CIS clusters in the resource pool. It supports CIS cluster lifecycle management functions and maintenance management functions for CISM and CIS nodes. The container image registry (container image registry, CIR) is responsible for storing and maintaining information about operating system container software images.
[0115] In order to facilitate understanding of the embodiments of the present application, first, a brief introduction is given to the concepts and technologies involved in the embodiments of the application.
[0116] It should be understood that the related terms and explanations in the following text are common to all embodiments throughout the text, and different embodiments can be used independently or in combination based on certain internal or external connections, and different implementation methods in the embodiments can be used independently or in combination.
[0117] 1. Network Management Service Intent (also referred to as Intent)
[0118] The network management service intention refers to the demand of the network management service consuming entity for the network management service, which may also be called the network management service demand, and the embodiment of the present application does not limit this name. Exemplarily, the network management service intention may be an optical dedicated line service intention.
[0119] In the intentional interaction scenario of this application, there are mainly two roles, namely the network management service provider entity and the network management service consumer entity. Among them, the network management service provider entity can also be called a network management service provider, or an intent provider (intent provider), or an intent handler (intent handler), etc. The network management service consumer entity can also be called a network management service consumer, or an intent consumer (intent consumer), or an intent owner (intent owner), etc.
[0120] Among them, the network management service consumption entity can be the caller of the network management service, and can perform operations such as creation, modification, deletion, and query of network management service intent expressions. It can be configured in a network management system (network management system, NMS), or an element management system (element management system, EMS), or network equipment (network equipment, NE). It can be a management function, or a management function entity, or a management entity, or a network device, or a network element, etc., and this application does not limit this.
[0121] Intent can be applied to network systems to achieve the expected goals for the specified performance indicators of network devices within a specific range. Intent can express expectations for network systems through formal specifications and description information. Among them, formal specifications can refer to the specific syntax or semantics of intent, and description information can be used to describe the requirements, goals, and constraints of intent.
[0122] The network management service intent template refers to the template description information of the network management service intent, which may also be called the network management service requirement template. The embodiment of the present application does not limit this name. Specifically, the network management service intent template may include a network object information template and a performance indicator information template. Optionally, the network management service intent template may also include a context information template.
[0123] The network object information template indicates a templated target network object, wherein the target network object is a physical entity or a logical entity used to implement a network management service. The target network object is a network object that can be managed by a network management service providing entity.
[0124] Exemplarily, the network object may also be referred to as the expected object, wherein the expected object may refer to a network service, a network element, a network area, a network service, etc., wherein the network area may be a logical network area, or a physical network area. It is understandable that the network object at this time may not be a specific network object, but is only used to indicate one or more types of network objects. In addition, in a possible design, in the network management service intent template, it may not be specifically indicated which type or types of network objects the network object is, which means that the physical entity or logical entity used to implement the network management service is determined by the network management service consumer entity. Exemplarily, the network object may be a base station in a certain urban area, may be a network slice 001, or may be a subnet 002.
[0125] The performance indicator information template indicates a templated expected target, which is used to indicate the target indicator requirements that can be proposed by the network management service consuming entity or the target indicator requirements that can be met by the network management service providing entity regarding the performance of the target network object indicated by the network object information template, and can be expressed by a service-level agreement (SLA) for the network management service.
[0126] Exemplarily, the performance indicator information may also be referred to as an expected target, wherein the expected target template may include one or more target indicator requirements, for example, the expected target template may include at least one of a latency parameter, a service availability parameter, and a bandwidth parameter. For example, the service availability parameter may be understood as the ratio of the difference between the service duration of the service within a preset time period and the interruption duration of the service within the preset time period to the service duration of the service within the preset time period. It is understandable that the target indicator requirements included in the above-mentioned expected information template are only examples, and the expected information template may also include other target indicator requirements.
[0127] The context information template is used to indicate the constraints of the templated network management service. The constraints can be used to indicate the environment of the target network object indicated by the network object information template, or to configure the effective time or period of the network management service intent expression. In the network management service intent template, the context information template may include specific constraint parameters or may not include specific constraint parameters. The latter means that the network management service consumer entity determines the specific constraint parameters included in the context information template.
[0128] 2. Intent Expression
[0129] In the embodiment of the present application, the intent expression is the instantiation result of the network management service intent template. Consumers of the network management service intent can instantiate the intent according to the intent template to generate an intent expression, and then the instantiated intent expression can be used for a specific network service. For example, the intent expression can be represented by a list of a set of intent attribute and value key-value pairs (for example, a set of [attribute, value]).
[0130] Exemplarily, the intent expression includes a performance indicator information instance, a network object information instance, and a context information instance.
[0131] For example, the performance indicator information instance may include the value or value range of the target indicator requirement corresponding to the performance indicator information. For example, the target indicator requirement corresponding to the performance indicator information template includes a bandwidth parameter, and the performance indicator information instance includes a bandwidth parameter value of 20M, or a bandwidth parameter value range of 10M to 15M. For example, the target indicator requirement corresponding to the performance indicator information template includes a delay parameter, and the delay parameter instance includes a delay parameter value of 2s, or a delay parameter value range of 1s to 5s.
[0132] The target network object indicated by the network object information instance is the instantiation result of the target network object indicated by the network object information template. Exemplarily, the target network object indicated by the network object information instance is one of the target network objects indicated by the network object information template, that is, one of the physical entities or logical entities used to implement the network management service. At this time, the network object information instance indicates a specific network object.
[0133] The context information instance is used to indicate the constraint conditions of the network management service intent expression. Exemplarily, the context information instance includes the constraint parameters of the network management service intent expression. For example, the context information instance may include the source and destination information corresponding to the target network object indicated by the network object instance. For another example, the context information instance may include the effective time or period of the network management service intent expression.
[0134] Intent expectation information instances include performance indicator information instances and network object information instances.
[0135] 3. Intent Examples
[0136] A network management service intent instance refers to a network management service intent processing process created locally by a network management service providing entity based on a received network management service intent expression (e.g., a performance indicator information instance, a network object information instance, a context information instance).
[0137] The network management service intent processing process is used to process the network management service intent expression. Exemplarily, the network management service intent processing process may include an identifier used to identify the process; the network management service intent processing process may include computing resources used to perform operations such as network management service intent translation and querying a database (e.g., a semantic knowledge base); and may include storage resources used to store network management service intent expressions, network management service intent translation results, etc.
[0138] Among them, the network management service intent translation is used to convert the network management service intent expression into a corresponding management action group, which can be an instruction acting on a physical entity or a logical entity.
[0139] 4. Frequency modulation algorithm
[0140] Common CPU frequency adjustment algorithms are as follows:
[0141] Power saving mode (powersave): The CPU will operate at the lowest supported operating frequency.
[0142] User space manual configuration mode (userspace): The decision-making power of the frequency change strategy is given to the user space application. The kernel space detection provides the corresponding interface for the user space application to adjust the CPU operating frequency.
[0143] Automatic frequency adjustment mode (ondemand): The CPU frequency is adjusted dynamically and quickly on demand. Once a task with CPU computing load is encountered, the CPU will immediately reach the maximum frequency and return to the lowest frequency immediately after the task is completed.
[0144] Smooth automatic frequency adjustment mode (conservative): Smoothly adjust the CPU frequency. The frequency increase or decrease is gradual. The difference from ondemand is that it allocates frequency on demand instead of blindly pursuing the highest frequency.
[0145] The Advanced Power Configuration Power Interface (ACPI) defines the power state of the system processor, which is either active or sleep. The processor power state is designed as C0, C1, C2, C3...Cn. The CPU will execute instructions in the C0 state, but even in the C0 state, the Operation System Directed Configuration and Power Management (OSPM) can still reduce the power consumption of the processor by adjusting the CPU operating voltage and frequency to achieve the purpose of energy saving, that is, adjusting the P-State (of course, under certain special conditions, the processor's main frequency can also be increased to meet special needs). P-state on the Intel platform usually refers to Intel Enhanced Intel Speedstep Technology (EIST). EIST allows multiple cores to dynamically switch voltages and frequencies, and dynamically adjust the system's power consumption.
[0146] Turbo Mode is a new function introduced under the new CPU architecture, which can also be called overclocking or turbo function. In Turbo Mode, the CPU can access the relevant thermal, current, and power information, and dynamically increase the frequency of the CPU and graphics processing unit (GPU) based on this information. The CPU can operate at any frequency between [Max Non-Turbo, Max Turbo] ratio. The basic input output system (BIOS) can enable or disable Turbo Mode. When Turbo Mode exists, it will be reported to OSPM as the highest Performance State P0 of EIST. In addition, the ratio of Turbo Mode is obtained through MSR TURBO_RATIO_LIMIT. Turbo Mode is limited by the threshold values of thermal, current, and power. BIOS can affect the performance of the processor by setting these parameters. Frequency adjustment and overclocking are not the same concept. Although overclocking is also a change in the processor's P-State, it refers to the behavior of making the processor work at a non-standard frequency by increasing the core voltage, which will result in a shortened CPU life and reduced system stability. Frequency conversion technology means that the CPU hardware itself supports running at different frequencies, and the system can dynamically switch between these different operating frequencies according to the system load, thereby achieving the goal of balancing performance and power consumption.
[0147] 5. CPU related terms
[0148] Virtual CPU (vCPU): A CPU virtualized using virtualization technology. Usually, an X86 server physical core virtualizes two vCPUs, and an advanced reduced instruction set machine ARM server physical core virtualizes one vCPU. In the embodiment of the present application, the vCPU and the CPU core are equivalent, and the CPU physical core refers to two vCPUs virtualized from the same physical core.
[0149] CPU usage: The percentage of time the CPU spends processing non-idle tasks.
[0150] CPU utilization: The CPU utilization in the embodiment of the present application is the CPU occupancy rate measured in the kernel state at millisecond intervals. The CPU utilization can only be measured within a specified time interval.
[0151] CPU load: The CPU load in the embodiment of the present application is the CPU occupancy rate measured by the operating system OS at intervals of seconds.
[0152] In order to solve the problem of high power consumption of data center servers, the problem can be solved by adjusting the frequency of the CPU.
[0153] In one possible implementation, the change in the demand for virtual network functions during future workloads is predicted based on historical workload data, and then the corresponding CPU operating frequency is adjusted according to the change in demand. The target frequency is determined by predicting the VNF workload, and feedback is obtained through the VNF performance after the frequency adjustment.
[0154] It should be understood that the frequency adjustment caused by the prediction method is directly related to the prediction accuracy. It is difficult to achieve real-time frequency adjustment based on the feedback of VNF performance after frequency adjustment. In burst traffic scenarios, overload alarms, false flow control and other problems may occur. In the frequency reduction process, there is a lack of CPU protection mechanism, and overload alarms and flow control may occur due to the increase of CPU load caused by CPU frequency reduction.
[0155] In another possible implementation, the operation scenario of the CPU at the next moment is predicted in advance based on the current state data of the CPU, so that the CPU frequency is adjusted in advance according to the predicted operation scenario.
[0156] It should be understood that it is currently difficult to accurately predict scenarios with sudden business volume. Even in the same scenario, the CPU performance requirements at different times may vary, and real-time frequency adjustment is required to obtain the best energy efficiency benefits.
[0157] In another possible implementation, a correlation analysis is performed on clusters and servers based on load data and predefined application type data, and clusters are divided into computing intensive, intensive, idle, and others, and different energy-saving strategies are proposed.
[0158] It should be understood that the granularity of different energy-saving strategies set by cluster division is relatively large. For computing-intensive, intensive, and idle tasks, the CPU load changes in real time. It is difficult to meet the performance and power consumption requirements by using a unified frequency modulation mode (such as performance and powersave). In addition, in virtualization scenarios, a physical machine may be part of multiple virtual machines, and different virtual machines are responsible for processing different services. The CPU frequency modulation solution needs to support different frequency modulation granularities.
[0159] As mentioned above, the current frequency modulation energy-saving solution still lacks a CPU protection mechanism during the frequency reduction process, which may cause CPU overload problems caused by CPU frequency reduction. At the same time, the CPU load prediction method may have problems such as inaccurate prediction of business volume bursts and untimely frequency adjustment, and lack of turbo frequency control during business peaks to temporarily improve CPU performance to meet business needs. In addition, there is no solution provided during the frequency reduction process to reflect the changes in the CPU before and after the frequency reduction, which cannot eliminate the problem of external operation and maintenance.
[0160] Based on the above problems, an embodiment of the present application provides a method for implementing CPU frequency modulation control by means of intent transmission.
[0161] Figure 2 A schematic diagram of a frequency modulation control method provided in an embodiment of the present application. Figure 2 As shown, the method comprises at least the following steps:
[0162] S110, analyzing energy saving intention.
[0163] The energy-saving intention is created by the management plane network element according to the specifications of the VNF network element. The VNF obtains the energy-saving intention from the management plane network element through the first interface, namely the intention transmission interface, and transmits the energy-saving intention to NFVI. The frequency modulation control module deployed at the I layer completes the intention analysis and frequency modulation control.
[0164] The energy saving intention includes a central processing unit CPU protection value.
[0165] According to the present application scheme, a CPU protection mechanism is set during energy-saving frequency reduction, which can reduce problems such as CPU overload alarm / false flow control and automatic expansion and contraction caused by frequency reduction.
[0166] Optionally, the energy saving intention may include a frequency reduction threshold.
[0167] S120, detecting a first parameter of the virtual CPU.
[0168] It should be understood that the frequency modulation control module can detect the first parameter of the CPU core in real time, including CPU utilization and / or load.
[0169] S130: Adjust the frequency of the first CPU according to the first parameter.
[0170] It should be understood that the first CPU includes at least one of the virtual CPUs.
[0171] It should be understood that the energy-saving intention includes frequency modulation granularity, and the frequency modulation granularity is used to indicate the first CPU, and the first CPU corresponds to at least one container unit POD or at least one virtual machine VM or at least one virtual network function VNF or at least one host group HA.
[0172] It should be understood that the method provided in the embodiment of the present application is applicable to container scenarios, virtual machine scenarios or bare metal scenarios. The frequency control module can perform frequency control on the vCPU occupied by the virtual machine according to the intention, or the frequency control module can perform frequency control on all CPU cores of the bare metal according to the intention.
[0173] The above adjustment includes: when the frequency of the first CPU is lower than the base frequency, if the utilization rate of the first CPU is higher than the CPU protection value, adjusting the frequency of the first CPU to be equal to the base frequency.
[0174] Optionally, S140 reports energy efficiency data.
[0175] It should be understood that the energy efficiency data is used to adjust the energy-saving intention, and the energy efficiency data includes at least one of a reference CPU load value, a first CPU load, a first CPU power consumption, and a first CPU frequency, wherein the reference CPU load value is determined based on the ratio of the first CPU working time and the frequency of the first CPU to the base frequency.
[0176] It should be understood that when collecting energy efficiency data, the CPU load after frequency reduction can be converted to the CPU load of base frequency operation. The reference CPU load value provides information about the increase in CPU load caused by frequency reduction, which is convenient for eliminating the problem of misleading external operations and maintenance into thinking that the CPU processing capacity is insufficient.
[0177] The reported energy efficiency data may include the following information: CPU identification ID (vCPU number), maximum VNF / HA / HOST power consumption, minimum VNF / HA / HOST power consumption, average VNF / HA / HOST power consumption, maximum reference CPU load (relative to the CPU load running at base frequency), minimum reference CPU load (relative to the CPU load running at base frequency), average reference CPU load (relative to the CPU load running at base frequency), maximum actual CPU load, minimum actual CPU load, average actual CPU load, maximum CPU frequency, minimum CPU frequency and average CPU frequency.
[0178] Exemplarily, the reference CPU load value can be calculated by the following formula:
[0179]
[0180]
[0181] The energy efficiency data is uploaded to the instance node through the third interface. The instance node can be a container instance service CIS or a virtual network function instance VNFI.
[0182] The instance node uploads the energy efficiency data to the management plane network element through the fourth interface, and the management plane network element presents the collected relevant energy efficiency data. The energy efficiency data directly reflects the changes in CPU load, CPU frequency and server power consumption before and after frequency reduction.
[0183] According to the solution of the present application, a solution for visualizing energy efficiency data is provided, which can observe the energy efficiency data related to the CPU, reference CPU, and power consumption data before and after frequency reduction on the monitoring page. In particular, the reference CPU can solve the problem of avoiding being misled into thinking that the CPU processing capacity is insufficient in external operation and maintenance.
[0184] Figure 3 Schematic diagram of another frequency modulation control method provided in an embodiment of the present application. Figure 3 As shown, the method may include the following steps:
[0185] S210, analyzing energy saving intentions
[0186] The energy-saving intention is created by the management plane network element according to the specifications of the VNF network element. The VNF obtains the energy-saving intention from the management plane network element through the first interface, namely the intention transmission interface, and transmits the energy-saving intention to NFVI. The frequency modulation control module deployed at the I layer completes the intention analysis and frequency modulation control.
[0187] The energy saving intention includes a central processing unit CPU protection value.
[0188] Optionally, the energy-saving intention may include a frequency reduction threshold, a turbo switch and a turbo threshold, a frequency reduction time period and a high priority service list, i.e., the first category, a frequency modulation granularity, and a frequency modulation algorithm.
[0189] Exemplarily, the energy-saving intention includes the following information: frequency reduction time period (this parameter determines the time range for turning on the energy-saving mode); frequency reduction threshold k1 (when the load on the CPU core is lower than k1 for t1 seconds, the frequency reduction will be entered, and when the load on the CPU core is higher than k1 for t1 seconds, the frequency reduction will be exited (performance mode will be restored)); CPU protection value k3 (the kernel state detects the utilization of the CPU core in real time (millisecond level), and when it is higher than k3, the frequency will be temporarily restored to the base frequency, so the CPU after frequency reduction will not exceed this value); frequency adjustment algorithm (select the frequency reduction algorithm (ondemand, conservative, etc.) according to the aggressiveness of the frequency reduction); turbo switch (this parameter determines whether to turn on the CPU turbo capability (the CPU frequency exceeds the base frequency)); turbo threshold k2 (when the load of the CPU core is higher than k2 for t2 seconds, the CPU turbo mode will be entered); frequency adjustment granularity (this parameter indicates that the CPU cores allowed to enter the energy-saving mode are set in the way of POD / VM / VNF / HA); high-priority task list (the frequency reduction mode is not enabled for specific high-priority tasks).
[0190] S220, detecting a first parameter of the virtual CPU.
[0191] It should be understood that the first parameter includes CPU utilization and / or load.
[0192] S230: Adjust the frequency of the first CPU according to the first parameter.
[0193] It should be understood that the first CPU includes at least one of the virtual CPUs.
[0194] Optionally, the energy-saving intention includes frequency modulation granularity, and the frequency modulation granularity is used to indicate a first CPU, where the first CPU corresponds to at least one container unit POD or at least one virtual machine VM or at least one virtual network function VNF or at least one host group HA.
[0195] Adjusting the frequency of the first CPU includes: when the frequency of the first CPU is lower than the base frequency, if the utilization rate of the first CPU is higher than the CPU protection value, adjusting the frequency of the first CPU to be equal to the base frequency.
[0196] Optionally, the adjustment further includes: when the load of the first CPU is lower than the frequency reduction threshold for a duration exceeding a first threshold and the utilization rate of the first CPU is lower than the CPU protection value, adjusting the frequency of the first CPU to be lower than the base frequency.
[0197] Optionally, the turbo switch is used to indicate whether the first CPU is allowed to run at a frequency higher than the base frequency, and the adjustment also includes: when the load of the first CPU is higher than the turbo threshold for a duration exceeding a second threshold, adjusting the frequency of the first CPU to be higher than or equal to the base frequency; when the load of the first CPU is higher than the frequency reduction threshold and lower than the turbo threshold, adjusting the frequency of the first CPU to be equal to the base frequency.
[0198] Optionally, the frequency reduction time period is used to indicate the time period in which the operating frequency of the first CPU is allowed to be lower than the base frequency. The first list includes at least one business process. The first list is used to indicate whether the frequency of the first CPU is allowed to be lower than the base frequency when processing the business process. The frequency modulation control module can determine whether the frequency reduction is allowed based on the frequency reduction time period and the first list, i.e., the high-priority task list.
[0199] Exemplarily, first determine whether to enable the energy-saving model based on the turbo switch and frequency reduction time period in the energy-saving intention, and then determine whether the type of business process being processed is a high-priority application based on the first list. If so, determine whether the detected CPU load is higher than the turbo threshold k2. If it does not exceed k2, it is restored to the base frequency. If it is higher than k2, turbo control is performed according to the turbo information in the energy-saving intention. For non-high-priority applications, determine whether the detected CPU load is lower than the frequency reduction threshold k1. If it is lower than the frequency reduction threshold k1, the frequency reduction algorithm is used for frequency adjustment, and the CPU utilization is detected at the same time. When the utilization is higher than the CPU protection value, it is adjusted to restore to the base frequency. If it is higher than the frequency reduction threshold k1, determine whether the CPU load is higher than the turbo threshold k2. If it does not exceed k2, it is restored to the base frequency. If it is higher than k2, turbo control is performed according to the turbo information in the energy-saving intention.
[0200] It should be understood that when the load is less than k1, the frequency reduction is started, and when it exceeds k1, the base frequency is restored; when the load is greater than k2, the turbo frequency is started, and when the load is less than or equal to k2, the turbo frequency is turned off. In particular, the CPU core will detect the CPU utilization at the millisecond level in the kernel. Once the utilization is higher than the CPU protection value k3, the CPU frequency will be restored to the base frequency, so that the CPU utilization after the frequency reduction will not exceed the protection CPU value. The CPU protection value can avoid problems such as overload alarm / false flow control and automatic expansion and contraction caused by frequency reduction.
[0201] According to the application scheme, when the business is continuously busy, Turbo Boost is turned on, and when the business is idle, Turbo Boost is turned off, solving the problems of insufficient server performance under high load and increased power consumption under low load.
[0202] S240 reports energy efficiency data.
[0203] Figure 4 This is a schematic diagram of CPU frequency adjustment in an embodiment of the present application.
[0204] like Figure 4 As shown in the figure, frequency control includes two modes, frequency reduction mode and turbo frequency mode, and these two modes are relatively independent, that is, in scenarios where frequency reduction is not allowed, performance and power consumption requirements can still be achieved through dynamic turbo frequency management. For example, in non-frequency reduction mode, performance is maintained during normal business volume, and turbo frequency mode can be temporarily entered during peak business volume to temporarily improve processor performance.
[0205] It can be seen that if the detected PCU load is lower than the frequency reduction threshold k1, the CPU frequency is adjusted to be lower than the base frequency; if the detected PCU load is higher than the frequency reduction threshold k1 and lower than the turbo frequency threshold k2, the CPU is adjusted to run at the base frequency; if the detected PCU load is higher than the turbo frequency threshold k2, the CPU frequency is adjusted to be higher than or equal to the base frequency.
[0206] Figure 5 A schematic diagram of another frequency modulation control method provided in an embodiment of the present application.
[0207] S310, the management plane network element generates a network element energy-saving intention according to the specifications of the VNF network element. The energy-saving intention includes: frequency reduction time period, frequency reduction threshold, CPU protection value, frequency modulation algorithm, turbo switch, turbo threshold, frequency modulation granularity, high priority task list and other frequency modulation energy-saving related information.
[0208] S320, the VNF network element obtains the network element intent from the VNFM network element or the MDAF network element through the first interface.
[0209] S330, CIS calls the second interface to obtain energy-saving intention from VNF.
[0210] S340, CIS creates a POD according to the specifications of the VNF network element and deploys the POD instance.
[0211] S350, the frequency modulation control model queries the vCPU of the POD.
[0212] S360, the frequency modulation control module analyzes the energy-saving intention of the VNF and performs actual frequency modulation control on the corresponding CPU, including: 1) analyzing the energy-saving intention of the VNF, performing frequency modulation control, and determining whether frequency reduction is allowed based on the frequency reduction time period and high-priority tasks; 2) detecting whether the CPU utilization exceeds the protection CPU, and if so, restoring to the base frequency; 3) detecting whether the CPU load exceeds the frequency reduction threshold k1, and if so, exiting the frequency reduction model (changing to performance); 4) turning on the turbo frequency when the CPU load is higher than the turbo frequency threshold k2; 5) calculating the reference CPU load value; 6) collecting energy efficiency data (including CPU identification, reference CPU load value, actual CPU load value, CPU frequency, and power consumption data).
[0213] S370, the frequency modulation control module reports the collected energy efficiency data to the CIS through the third interface.
[0214] S380: CIS reports the energy efficiency data to VNFM or MDAF through the fourth interface.
[0215] Figure 6 A schematic flow chart of another frequency modulation control method provided in an embodiment of the present application.
[0216] S410, the management plane network element generates a network element energy-saving intention according to the specifications of the VNF network element. The energy-saving intention includes: frequency reduction time period, frequency reduction threshold, CPU protection value, frequency modulation algorithm, turbo switch, turbo threshold, frequency modulation granularity, high priority task list and other frequency modulation energy-saving related information.
[0217] S420, the VNF obtains the network element intent from the VNFM or MDAF through the first interface.
[0218] S430, VNFI calls the second interface to obtain energy-saving intention from VNF.
[0219] S440, the frequency modulation control model queries the vCPU information corresponding to the VNF network element.
[0220] S450, the frequency modulation control module executes the energy-saving intention of the VNF and performs actual frequency modulation control on the corresponding CPU, including: 1) parsing the energy-saving intention of the VNF, performing frequency modulation control, and judging whether frequency reduction is allowed according to the frequency reduction time period and high-priority tasks; 2) detecting whether the CPU utilization exceeds the protection CPU, and if it exceeds, it will be restored to the base frequency; 3) detecting whether the CPU load exceeds the frequency reduction threshold k1, and if it exceeds, the frequency reduction model will be exited (changed to performance); 4) the CPU load is higher than the turbo frequency threshold k2, and the turbo frequency is turned on; 5) calculating the reference CPU load value; 6) collecting energy efficiency data (including CPU identification, reference CPU load value, actual CPU load value, CPU frequency, power consumption data).
[0221] S460, the frequency modulation control module transmits the collected energy efficiency data to the VNFI through the third interface.
[0222] S470, VNFI reports the energy efficiency data to VNFM or MDAF through the fourth interface.
[0223] According to the above method, Figure 7 A frequency modulation control device is provided in an embodiment of the present application, and the frequency modulation control device includes a transceiver unit 510 and a processing unit 520. The transceiver unit 510 can be used to implement the receiving and sending functions in the method embodiment. Other functions in the method embodiment can be implemented by the processing unit 520. The transceiver unit can be implemented through the input interface and the output interface in the data processing chip, and the sending and receiving in the method embodiment correspond to the output and input in the chip respectively. The transceiver unit 510 can also be split into a receiving unit and a sending unit, the receiving unit can be used to implement the receiving function in the method embodiment, and the sending unit can be used to implement the sending function in the method embodiment. The receiving unit can be implemented through the output interface in the data processing chip, and the sending unit can be implemented through the input interface of the data processing chip. In addition, the transceiver unit and the processing unit can be implemented by the same chip, which is not limited in this application. It should be understood that the transceiver unit 510 in the embodiment of the present application can also be implemented by a transceiver (including a transmitter and a receiver) or a transceiver-related circuit component, and the processing unit 520 can also be implemented by a processor or a processor-related circuit component (or, referred to as a processing circuit).
[0224] Exemplarily, when the frequency modulation control device is a frequency modulation control module, the transceiver unit 510 and the processing unit 520 can support the actions performed by the frequency modulation control module in the above method example. For example, the transceiver unit 510 can perform the analysis of energy-saving intentions in the above method embodiment, detect the first parameter of the virtual CPU, adjust the frequency of the first CPU according to the first parameter, and other processes in the technical solution described herein; the processing unit 520 can complete the reporting of energy efficiency data, and other processes in the technical solution described herein.
[0225] Exemplarily, when the frequency modulation control device is a management plane network element, the transceiver unit 510 and the processing unit 520 can support the actions performed by the management plane network element in the above method example. For example, the processing unit 520 can complete the creation of energy-saving intentions in the above method embodiment, as well as other processes in the technical solution described herein; the transceiver unit 510 can complete the sending of energy-saving intentions in the above method embodiment, receive energy efficiency data, and other processes in the technical solution described herein.
[0226] Exemplarily, when the frequency modulation control device is a CIS or a VNFI, the transceiver unit 510 and the processing unit 520 can support the actions performed by the CIS or the VNFI in the above method example. For example, the transceiver unit 510 can complete the receiving of energy-saving intentions, reporting of energy efficiency data, and other processes in the technical solution described in this article in the above method embodiment; the processing unit 520 can complete the creation of a POD and the deployment of a POD instance, as well as other processes in the technical solution described in this article.
[0227] Exemplarily, when the frequency modulation control device is a VNF, the transceiver unit 510 and the processing unit 520 can support the actions performed by the VNF in the above method example. For example, the transceiver unit 510 can complete the receiving energy saving intention in the above method embodiment, as well as other processes in the technical solution described in this article; the processing unit 520 can complete other processes in the technical solution described in this article.
[0228] The present application also provides a frequency modulation control device, such as Figure 8As shown, it includes: a processor 610, an interface 620, and a memory 630. Among them, the processor 610, the interface 620 and the memory 630 can be connected to each other through a bus; the bus can be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The above bus can be divided into an address bus, a data bus and a control bus, etc. The processor 610 can be a central processing unit (CPU), a network processor (NP) or a combination of a CPU and a NP. The processor can further include a hardware chip. The above hardware chip can be an application-specific integrated circuit (ASIC), a programmable logic device (PLD) or a combination thereof. The above PLD can be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL) or any combination thereof. The memory 630 may be a volatile memory or a nonvolatile memory, or may include both volatile and nonvolatile memories. Among them, the nonvolatile memory may be a read-only memory (ROM), a programmable ROM (PROM), an erasable programmable ROM (EPROM), an electrically erasable programmable ROM (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache.
[0229] The processor 610 is used to implement the processing operation of the frequency modulation control device. The interface 620 is used to implement the receiving and sending operation of the frequency modulation control device.
[0230] Exemplarily, when the frequency modulation control device is a frequency modulation control module, the processor 610, the interface 620 and the memory 630 can support the actions performed by the frequency modulation control module in the above method example. For example, the processor 610 can complete the analysis of energy-saving intentions in the above method embodiment, detect the first parameter of the virtual CPU, adjust the frequency of the first CPU according to the first parameter, and other processes in the technical solution described herein; the interface 620 can complete the reporting of energy efficiency data in the above method embodiment, and other processes in the technical solution described herein.
[0231] Exemplarily, when the frequency modulation control device is a management plane network element, the processor 610, the interface 620 and the memory 630 can support the actions performed by the management plane network element in the above method example. For example, the processor 610 can complete the creation of energy-saving intentions in the above method embodiment, as well as other processes in the technical solution described herein; the interface 620 can complete the sending of energy-saving intentions in the above method embodiment, receiving energy efficiency data, and other processes in the technical solution described herein.
[0232] Exemplarily, when the frequency modulation control device is a CIS or a VNFI, the processor 610, the interface 620 and the memory 630 can support the actions performed by the CIS or the VNFI in the above method example. For example, the interface 620 can complete the receiving of energy-saving intentions, reporting of energy efficiency data, and other processes in the technical solution described in this article in the above method embodiment; the processor 610 can complete the creation of a POD and the deployment of a POD instance, as well as other processes in the technical solution described in this article.
[0233] Exemplarily, when the frequency modulation control device is a VNF, the processor 610, the interface 620 and the memory 630 can support the actions performed by the VNF in the above method example. For example, the interface 620 can complete the receiving energy saving intention in the above method embodiment, as well as other processes in the technical solution described in this article; the memory 630 can complete other processes in the technical solution described in this article.
[0234] The embodiment of the present application also provides a computer-readable storage medium on which are stored computer instructions for implementing the method in the above method embodiment.
[0235] For example, when the computer program is executed by a computer, the computer can implement the method in the above method embodiment.
[0236] The embodiment of the present application also provides a computer program product including instructions, which, when executed by a computer, enables the computer to implement the method in the above method embodiment.
[0237] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software 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 be beyond the scope of this application.
[0238] It should be understood that in the embodiments of the present application, the processor may be a central processing unit (CPU), and the processor may also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0239] It should also be understood that the memory in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of random access memory (RAM) are available, such as static RAM (SRAM), dynamic random access memory (DRAM), synchronous DRAM (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct rambus RAM (DR RAM).
[0240] The above embodiments can be implemented in whole or in part by software, hardware, firmware or any other combination. When implemented by software, the above embodiments can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that contains one or more available media sets. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium. The semiconductor medium can be a solid-state hard disk.
[0241] It should be understood that the term "and / or" in this article is only a description of the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0242] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0243] It will be appreciated by those skilled in the art that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or in combination with computer software and electronic hardware. Whether these functions are performed in hardware or software 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 be beyond the scope of this application. It will be clearly understood by those skilled in the art that for the convenience and simplicity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. In several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of the units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, which may be electrical, mechanical or other forms.
[0244] The unit described as a separate component may or may not be physically separated, and the component displayed as a unit may or may not be a physical unit, that is, it may be located in one place, or it may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, the functional units in each embodiment of the present application may be integrated in a processing unit, or each unit may exist physically alone, or two or more units may be integrated in one unit. If the function is implemented in the form of a software functional unit and sold or used as an independent product, it may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including several instructions for a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a U disk, a mobile hard disk, a read-only memory, a random access memory, a disk or an optical disk.
[0245] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A frequency modulation control method, characterized in that: The method comprises: Analyzing energy-saving intentions, wherein the energy-saving intentions include a central processing unit (CPU) protection value; Detecting a first parameter of the virtual CPU, the first parameter comprising utilization; The frequency of the first CPU is adjusted according to the first parameter, where the first CPU includes at least one of the virtual CPUs, and the adjustment includes: When the frequency of the first CPU is lower than the base frequency, if the utilization rate of the first CPU is higher than the CPU protection value, the frequency of the first CPU is adjusted to be equal to the base frequency.
2. The method according to claim 1, characterized in that: The energy saving intention includes a frequency reduction threshold, the first parameter includes utilization and / or load, and the adjustment includes: When the load of the first CPU is lower than the frequency reduction threshold for a duration exceeding a first threshold and the utilization rate of the first CPU is lower than the CPU protection value, the frequency of the first CPU is adjusted to be lower than the base frequency.
3. The method according to claim 2, characterized in that The energy saving intention further includes a turbo frequency switch and a turbo frequency threshold, wherein the turbo frequency switch is used to indicate whether the first CPU is allowed to run at a frequency higher than a base frequency, and the adjustment further includes: When the load of the first CPU is higher than the turbo frequency threshold for a duration exceeding a second threshold, adjusting the frequency of the first CPU to be higher than or equal to the base frequency; When the load of the first CPU is higher than the frequency reduction threshold and lower than the turbo frequency threshold, the frequency of the first CPU is adjusted to be equal to the base frequency.
4. The method according to any one of claims 1 to 3, characterized in that The method further comprises: Report energy efficiency data, where the energy efficiency data is used to adjust the energy-saving intention, and the energy efficiency data includes at least one of a reference CPU load value, the first CPU load, the first CPU power consumption, and the first CPU frequency, wherein the reference CPU load value is determined based on the working time of the first CPU and the ratio of the frequency of the first CPU to the base frequency.
5. The method according to any one of claims 1 to 4, characterized in that The energy-saving intention also includes a frequency reduction time period and a first list, wherein the frequency reduction time period is used to indicate a time period in which the operating frequency of the first CPU is allowed to be lower than the base frequency, and the first list includes at least one business process, and the first list is used to indicate whether the frequency of the first CPU is allowed to be lower than the base frequency when processing the business process.
6. The method according to any one of claims 1 to 5, characterized in that The energy-saving intention also includes a frequency modulation granularity, and the frequency modulation granularity is used to indicate a first CPU, where the first CPU corresponds to at least one container unit POD or at least one virtual machine VM or at least one virtual network function VNF or at least one host group HA.
7. The method according to any one of claims 4 to 6, characterized in that The energy efficiency data is uploaded to an instance node through a third interface, and the instance node is a container instance service CIS or a virtual network function instance VNFI.
8. A frequency modulation control method, characterized in that: The method comprises: Creating an energy-saving intention, the energy-saving intention including a central processing unit (CPU) protection value, the energy-saving intention being used to instruct a frequency modulation processing module to adjust the frequency of a first CPU according to a first parameter, the first parameter being obtained by detecting a virtual CPU, the first parameter including a utilization rate, the first CPU including at least one of the virtual CPUs, the adjustment comprising: when the frequency of the first CPU is lower than a base frequency, if the utilization rate of the first CPU is higher than the CPU protection value, adjusting the frequency of the first CPU to be equal to the base frequency; The energy saving intention is sent.
9. The method according to claim 8, characterized in that The energy saving intention includes a frequency reduction threshold, the first parameter includes utilization and / or load, and the adjustment includes: When the load of the first CPU is lower than the frequency reduction threshold for a duration exceeding a first threshold and the utilization rate of the first CPU is lower than the CPU protection value, the frequency of the first CPU is adjusted to be lower than the base frequency.
10. The method according to claim 9, characterized in that The energy-saving intention further includes a turbo frequency switch and a turbo frequency threshold, wherein the turbo frequency switch is used to indicate whether the first CPU is allowed to run at a frequency higher than a base frequency, and the adjustment further includes: when the load of the first CPU is higher than the turbo frequency threshold for a duration exceeding a second threshold, adjusting the frequency of the first CPU to be higher than or equal to the base frequency; When the load of the first CPU is higher than the frequency reduction threshold and lower than the turbo frequency threshold, the frequency of the first CPU is adjusted to be equal to the base frequency.
11. The method according to any one of claims 8 to 10, characterized in that The method further comprises: Receive energy efficiency data, where the energy efficiency data is used to adjust the energy-saving intention, and the energy efficiency data includes at least one of a reference CPU load value, the first CPU load, the first CPU power consumption, and the first CPU frequency, wherein the reference CPU load value is determined based on the first CPU working time and the ratio of the first CPU frequency to the base frequency.
12. The method according to any one of claims 8 to 11, characterized in that The energy-saving intention also includes a frequency reduction time period and a first list, wherein the frequency reduction time period is used to indicate a time period in which the operating frequency of the first CPU is allowed to be lower than the base frequency, the first list includes at least one business process, and the first list is used to indicate whether the first CPU is allowed to run at a frequency lower than the base frequency to process the business process.
13. The method according to any one of claims 8 to 12, characterized in that The energy-saving intention also includes a frequency modulation granularity, and the frequency modulation granularity is used to indicate a first CPU, where the first CPU corresponds to at least one container unit POD or at least one virtual machine VM or at least one virtual network function VNF or at least one host group HA.
14. The method according to any one of claims 11 to 13, characterized in that The energy-saving intention is sent by a management plane network element through a first interface, the management plane network element is a virtual network function manager VNFM or a management data analysis function MDAF, and the energy efficiency data is received through a fourth interface.
15. A frequency modulation control method, characterized in that: The method comprises: An energy-saving intention is received, wherein the energy-saving intention includes a central processing unit (CPU) protection value, and the energy-saving intention is used to instruct a frequency modulation processing module to adjust the frequency of a first CPU according to a first parameter, wherein the first parameter is obtained by detecting a virtual CPU, wherein the first parameter includes a utilization rate, and the first CPU includes at least one of the virtual CPUs, and the adjustment includes: when the frequency of the first CPU is lower than a base frequency, if the utilization rate of the first CPU is higher than the CPU protection value, then adjusting the frequency of the first CPU to be equal to the base frequency.
16. The method according to claim 15, characterized in that The energy saving intention includes a frequency reduction threshold, the first parameter includes utilization and / or load, and the adjustment includes: When the load of the first CPU is lower than the frequency reduction threshold for a duration exceeding a first threshold and the utilization rate of the first CPU is lower than the CPU protection value, the frequency of the first CPU is adjusted to be lower than the base frequency.
17. The method according to claim 16, characterized in that The energy-saving intention further includes a turbo frequency switch and a turbo frequency threshold, wherein the turbo frequency switch is used to indicate whether the first CPU is allowed to run at a frequency higher than a base frequency, and the adjustment further includes: when the load of the first CPU is higher than the turbo frequency threshold for a duration exceeding a second threshold, adjusting the frequency of the first CPU to be higher than or equal to the base frequency; When the load of the first CPU is higher than the frequency reduction threshold and lower than the turbo frequency threshold, the frequency of the first CPU is adjusted to be equal to the base frequency.
18. The method according to any one of claims 15 to 17, characterized in that The energy-saving intention also includes a frequency reduction time period and a first list, wherein the frequency reduction time period is used to indicate a time period in which the operating frequency of the first CPU is allowed to be lower than the base frequency, the first list includes at least one business process, and the first list is used to indicate whether the first CPU is allowed to run at a frequency lower than the base frequency to process the business process.
19. The method according to any one of claims 15 to 18, characterized in that The energy-saving intention also includes a frequency modulation granularity, and the frequency modulation granularity is used to indicate a first CPU, where the first CPU corresponds to at least one container unit POD or at least one virtual machine VM or at least one virtual network function VNF or at least one host group HA.
20. The method according to any one of claims 15 to 19, characterized in that The method further comprises: Create a container unit POD and deploy a POD instance.
21. The method according to any one of claims 15 to 20, characterized in that The method further comprises: Report energy efficiency data, where the energy efficiency data is used to adjust the energy-saving intention, and the energy efficiency data includes at least one of a reference CPU load value, the first CPU load, the first CPU power consumption, and the first CPU frequency, wherein the reference CPU load value is determined based on the ratio of the first CPU working time and the first CPU frequency to the base frequency.
22. The method according to claim 21, characterized in that The energy efficiency data is uploaded to a management plane network element through a fourth interface, and the management plane network element is a virtual network function manager VNFM or a management data analysis function MDAF.
23. A frequency modulation control method, characterized in that: The method comprises: receiving an energy-saving intention, the energy-saving intention including a central processing unit (CPU) protection value, the energy-saving intention being used to instruct a frequency modulation processing module to adjust a frequency of a first CPU according to a first parameter, the first parameter being obtained by detecting a virtual CPU, the first parameter including a utilization rate, the first CPU including at least one of the virtual CPUs, the adjustment comprising: when the frequency of the first CPU is lower than a base frequency, if the utilization rate of the first CPU is higher than the CPU protection value, adjusting the frequency of the first CPU to be equal to the base frequency; The energy saving intention is sent through the second interface.
24. The method according to claim 23, characterized in that The energy saving intention includes a frequency reduction threshold, the first parameter includes utilization and / or load, and the adjustment includes: When the load of the first CPU is lower than the frequency reduction threshold for a duration exceeding a first threshold and the utilization rate of the first CPU is lower than the CPU protection value, the frequency of the first CPU is adjusted to be lower than the base frequency.
25. The method according to claim 24, characterized in that The energy-saving intention further includes a turbo frequency switch and a turbo frequency threshold, wherein the turbo frequency switch is used to indicate whether the first CPU is allowed to run at a frequency higher than a base frequency, and the adjustment further includes: when the load of the first CPU is higher than the turbo frequency threshold for a duration exceeding a second threshold, adjusting the frequency of the first CPU to be higher than or equal to the base frequency; When the load of the first CPU is higher than the frequency reduction threshold and lower than the turbo frequency threshold, the frequency of the first CPU is adjusted to be equal to the base frequency.
26. The method according to any one of claims 23 to 25, characterized in that The energy-saving intention also includes a frequency reduction time period and a first list, wherein the frequency reduction time period is used to indicate a time period in which the operating frequency of the first CPU is allowed to be lower than the base frequency, the first list includes at least one business process, and the first list is used to indicate whether the first CPU is allowed to run at a frequency lower than the base frequency to process the business process.
27. The method according to any one of claims 23 to 26, characterized in that The energy-saving intention also includes a frequency modulation granularity, and the frequency modulation granularity is used to indicate a first CPU, where the first CPU corresponds to at least one container unit POD or at least one virtual machine VM or at least one virtual network function VNF or at least one host group HA.
28. A frequency modulation control device, characterized in that: include: a processor and a memory, wherein the processor is configured to execute computer programs or instructions stored in the memory, The frequency modulation control device executes the method as claimed in any one of claims 1 to 7; or, The frequency modulation control device executes the method as claimed in any one of claims 8 to 14; or, The frequency modulation control device executes the method as claimed in any one of claims 15 to 22; or, The frequency modulation control device is enabled to perform the method as described in any one of claims 23-27.
29. A computer-readable storage medium, characterized in that: includes a computer program or instructions which, when executed on a computer, causing the computer to execute the method according to any one of claims 1 to 7; or, causing the computer to execute the method according to any one of claims 8 to 14; or, causing the computer to execute the method according to any one of claims 15 to 22; or, The computer is enabled to execute the method according to any one of claims 23 to 27.
30. A chip system, characterized in that: include: at least one processor for executing computer programs or instructions in the memory, So that the method according to any one of claims 1 to 7 is implemented; or, So that the method according to any one of claims 8 to 14 is implemented; or, So that the method according to any one of claims 15 to 22 is implemented; or, The method as claimed in any one of claims 23 to 27 is implemented.
