Energy efficiency measurement method and device, equipment, storage medium and computer program product
By obtaining power and task load information with timestamps, the energy efficiency of the infrastructure is calculated, which solves the problem of inaccurate energy efficiency measurement in the existing technology and achieves accurate measurement of infrastructure energy efficiency and energy saving effects.
Patent Information
- Application Number
- CN202410365907.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-28
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2044-03-28
AI Technical Summary
Existing technology cannot accurately measure the energy efficiency of infrastructure. Especially when the same software is run on different platforms, the energy efficiency varies greatly. Moreover, due to differences in system architecture, the nominal computing power of hardware resources is not proportional to the actual energy efficiency. Traditional methods cannot be universally measured. An accurate measure of the energy efficiency level achieved by a resource.
By receiving control commands carrying infrastructure identifiers, obtain power information and task load information with timestamps, calculate the energy efficiency of the infrastructure, use the ratio of normalized load and power information to evaluate energy efficiency, and compare multiple timestamps The energy efficiency is weighted and averaged, and infrastructure with higher energy efficiency is prioritized for task deployment.
It improves the accuracy of energy efficiency measurement of infrastructure computing power, is suitable for high real-time tasks, avoids the influence of resource occupancy and binding relationships in traditional methods, and achieves accurate energy efficiency measurement and energy saving and consumption reduction.
Smart Images

Figure CN118802631A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to an energy efficiency measurement method, device, equipment, storage medium and computer program product. Background Art
[0002] In the prior art, the computing power of infrastructure is usually measured from the dimensions of computing, network, memory, and storage. However, when the infrastructure deploys software with the same business capabilities, the running efficiency of the same version of software on different platforms varies greatly. It does not entirely depend on the computing power of the hardware resources possessed by the infrastructure. The actual energy efficiency is not proportional to the nominal computing power of the hardware resources (such as the fixed-point / floating-point computing power of the CPU) due to differences in the system architecture of the infrastructure. The prior art cannot accurately measure the energy efficiency level of the infrastructure during operation by measuring general resources. Summary of the invention
[0003] Based on this, the present invention provides an energy efficiency measurement method, apparatus, equipment, storage medium and computer program product, which can calculate energy efficiency by obtaining task load information and power information of the infrastructure when running tasks, thereby improving the accuracy of the computing power energy efficiency measurement of the infrastructure.
[0004] To achieve the above object, an embodiment of the present invention provides an energy efficiency measurement method, including:
[0005] receiving a control command carrying an infrastructure identifier;
[0006] Acquire power information and task load information of the infrastructure corresponding to the infrastructure identifier; wherein the power information and the task load information are timestamped;
[0007] The energy efficiency of the infrastructure is calculated according to the power information and the task load information at the same time stamp.
[0008] As an improvement of the above solution, the task load information includes at least one cell key parameter defined by 3GPP and related to the processing overhead of the cell processed by the infrastructure.
[0009] As an improvement of the above solution, the calculating the energy efficiency of the infrastructure according to the power information and the task load information of the same timestamp includes:
[0010] Calculating a normalized load according to the cell key parameters in the task load information and their corresponding set weights;
[0011] The normalized load at the same time stamp is divided by the power information to obtain the energy efficiency of the infrastructure.
[0012] As an improvement of the above solution, the task load information includes at least one of RB utilization, number of users, modulation order and cell bandwidth.
[0013] As an improvement of the above solution, when the deviation between the timestamp of the task load information and the timestamp of the power information is less than a set deviation threshold, the timestamps of the two are considered to be the same timestamp.
[0014] As an improvement of the above solution, the power information is detected by a power detection circuit designed inside the infrastructure, or is detected by a power supply facility in a computer room where the infrastructure is located.
[0015] As an improvement of the above solution, it also includes: performing weighted average calculation on the energy efficiency of the infrastructure at multiple time stamps to obtain the average energy efficiency of the infrastructure.
[0016] As an improvement of the above scheme, it also includes:
[0017] From among the multiple infrastructures with the same infrastructure model and computer room conditions, the infrastructure with higher average energy efficiency is selected as a priority for new deployment of similar tasks.
[0018] As an improvement of the above scheme, the method is applied to the first unit; the control command is sent to the first unit by the second unit after being deployed to the infrastructure and starting the running task; the power information is obtained by the first unit from the infrastructure or the computer room where the infrastructure is located.
[0019] To achieve the above object, an embodiment of the present invention further provides an energy efficiency measurement device, including:
[0020] A command receiving module, used for receiving a control command carrying an infrastructure identifier;
[0021] An information acquisition module, used to acquire power information and task load information of the infrastructure corresponding to the infrastructure identifier; wherein the power information and the task load information are timestamped;
[0022] The energy efficiency measurement module is used to calculate the energy efficiency of the infrastructure according to the power information and the task load information of the same timestamp.
[0023] To achieve the above objectives, an embodiment of the present invention further provides an energy efficiency measurement device, comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein when the processor executes the computer program, the energy efficiency measurement method as described in any of the above embodiments is implemented.
[0024] To achieve the above objectives, an embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute the energy efficiency measurement method as described in any of the above embodiments.
[0025] To achieve the above objectives, an embodiment of the present invention further provides a computer program product, including a computer program / instruction, which, when executed by a processor, implements the steps of the energy efficiency measurement method as described in any of the above embodiments.
[0026] Compared with the prior art, the energy efficiency measurement method, apparatus, device, storage medium and computer program product disclosed in the embodiments of the present invention obtain power information and task load information of the infrastructure corresponding to the infrastructure identifier when running a task by receiving a control command carrying the infrastructure identifier, wherein the power information and the task load information are timestamped; and the energy efficiency of the infrastructure is calculated based on the power information and the task load information with the same timestamp, thereby improving the accuracy of the computing power energy efficiency measurement of the infrastructure. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] In order to more clearly illustrate the technical solution of the present invention, the drawings required for use in the implementation mode will be briefly introduced below. Obviously, the drawings described below are only some implementation modes of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0028] Figure 1 is a flow chart of an energy efficiency measurement method provided by an embodiment of the present invention;
[0029] Figure 2 is an architecture diagram of an energy efficiency measurement system provided by an embodiment of the present invention;
[0030] Figure 3 is a structural schematic diagram of an energy efficiency measurement device provided by an embodiment of the present invention;
[0031] Figure 4 It is a structural schematic diagram of an energy efficiency measurement device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0032] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0033] See also Figure 1 , is a flow chart of an energy efficiency measurement method provided by an embodiment of the present invention. Specifically, the energy efficiency measurement method includes steps S11 to S13:
[0034] S11, receiving a control command carrying an infrastructure identifier;
[0035] S12, obtaining power information and task load information of the infrastructure corresponding to the infrastructure identifier; wherein the power information and the task load information are timestamped;
[0036] S13. Calculate the energy efficiency of the infrastructure according to the power information and the task load information of the same timestamp.
[0037] It is worth noting that computing power networks have become an important driving force for promoting scientific and technological progress and promoting digital transformation. In computing power network applications, the computing power measurement of infrastructure is one of the basic technologies of computing power applications. In the existing technology, the measurement method for infrastructure is usually to measure the resource status of infrastructure nodes from the dimensions of computing, network, memory, and storage; however, this method depends on the runtime resource usage such as CPU occupancy, etc., and is not completely applicable to all high real-time services. And because in the computing power network, such as the baseband or protocol processing in the wireless base station, there are a large number of binding relationships to cope with sudden business changes, even if the current resource occupancy rate is very low, it does not mean that the bound processing unit can be shared, and the actual business load cannot directly correspond to the resource usage accurately obtained by the traditional measurement method; because the business load is directly related to the characteristics of the wireless air interface and user services, such as: weather changes, user location, number, and business changes, will affect the cell business processing overhead (business load). However, these factors have time-varying characteristics, which leads to time-varying characteristics of wireless communication service scenarios. The service load of the existing network changes at any time. Even if the types of user services and throughput are exactly the same, there are different processing overheads due to the differences in air interface characteristics in different coverage areas (such as the influence of buildings, weather, etc.). Therefore, traditional methods such as collecting user service information are difficult to accurately count the service load of the infrastructure in wireless service scenarios under multiple changing dimensions with time-varying air interface characteristics and time-varying user services. In addition, in terms of power consumption, when wireless infrastructure deploys software with the same wireless service capabilities, the running efficiency of the same version of software on different platforms varies greatly, which does not entirely depend on the size of the hardware resource computing power it has. It will also cause the actual energy efficiency to be disproportionate to the nominal computing power of the hardware resources (such as the fixed-point / floating-point computing power of the CPU) due to differences in heterogeneous system architectures. For example, a heterogeneous platform using a higher-performance CPU and accelerator may produce much higher system energy consumption than a platform using a lower-specification CPU and the same accelerator due to insufficient software optimization. Therefore, its energy efficiency level during operation cannot be simply achieved using the general resource measurement in the traditional solution. In addition, current explorations, such as measuring computing power through simulation tests, use estimated models rather than real business loads, and the same infrastructure must be provided specifically for offline measurement processing, which occupies infrastructure resources.
[0038] In this case, the embodiment of the present invention measures the infrastructure of the running task by receiving a control command carrying an infrastructure identifier. The specific measurement method is: by obtaining the power information and task load information of the infrastructure with a timestamp, the energy efficiency of the infrastructure is calculated. This method does not achieve energy efficiency measurement by measuring the resources of the infrastructure, does not depend on the resource usage of the infrastructure when the task is running, and is suitable for high real-time tasks. The binding relationship between the infrastructure and the task, the heterogeneous system architecture, etc. will not affect the accuracy of the load information and power information obtained in this embodiment. The energy efficiency of the infrastructure can be accurately measured, and this embodiment does not need to perform offline measurement processing through mode testing, and will not occupy a large amount of infrastructure resources.
[0039] It is worth noting that the method is applicable to the computing power energy efficiency measurement of wireless infrastructure, and is also applicable to the computing power measurement of other non-wireless infrastructure.
[0040] Compared with the prior art, the method provided by the embodiment of the present invention can ensure accurate energy efficiency measurement for infrastructure with high real-time requirements, relatively small computing power of a distributed single node, and task load and resource occupancy rate that cannot be directly matched due to limitations such as software optimization. In addition, the method can more efficiently complete the scheduling of such computing resources through accurate measurement of energy efficiency at the task level, thereby achieving the purpose of energy saving and consumption reduction, and has broad application prospects.
[0041] In one embodiment, the task load information includes at least one cell key parameter defined by 3GPP and related to the processing overhead of the cell processed by the infrastructure.
[0042] Further, the calculating the energy efficiency of the infrastructure according to the power information and the task load information of the same timestamp includes:
[0043] Calculating a normalized load according to the cell key parameters in the task load information and their corresponding set weights;
[0044] The normalized load at the same time stamp is divided by the power information to obtain the energy efficiency of the infrastructure.
[0045] Specifically, the energy efficiency calculation process of infrastructure is as follows:
[0046] (1) The normalized load is calculated based on the task load information. The following methods may be used, but are not limited to:
[0047] ① Use a separate cell key parameter to directly correspond to the normalized load; wherein the cell key parameter is the parameter that has the greatest impact on the processing overhead.
[0048] ② Use multiple key cell parameters, set weights for each parameter, and calculate the normalized load.
[0049] ③ Increase the load of the infrastructure under test to reach the specified load value through external test equipment simulation.
[0050] (2) Calculate the energy efficiency statistical results based on the actual specified real-time accuracy (the deviation between the task load information and the power information at the statistical time does not exceed a certain range). The specific calculation formula is: normalized load / power = normalized energy efficiency, where the power information is power.
[0051] Furthermore, the cell key parameters are parameters defined by 3GPP that are related to the processing overhead of the cells processed by the infrastructure, such as RB utilization, number of users, modulation order, cell bandwidth and frequency interval, etc. The specific parameter selection of the cell key parameters is set according to actual conditions and is not limited here.
[0052] For example, taking a communication base station as an example, a new radio (New Radio, NR) 100M bandwidth cell, the key parameters of the cell can be selected as needed, such as 1200 activated users, specific RB utilization conditions (RB's full name in English is ResourceB l ock, and its Chinese name is resource block) or specific cell air interface rate and other parameters that can affect the processing overhead. The actual task load is calculated with the maximum capacity of the cell as 100%, and the weighted sum of the weights of each parameter is adjusted according to the actual situation. For example: RB utilization 50%, 64QAM modulation mode (up to 256QAM, an exemplary proportion of 40%), 1200 activated users (100% of the maximum number of users). RB utilization weight 60%, modulation weight 35%, user number weight 5%, then the normalized load corresponding to the cell is: 50%*60%+40%*35%+100%*5%=29.5%. If two cells are deployed, the normalized loads corresponding to the two cells are summed to obtain the final normalized load.
[0053] It is worth noting that the specific types of the key cell parameters are not limited to the above specific examples and can be set according to actual conditions.
[0054] In one implementation, when the deviation between the timestamp of the task load information and the timestamp of the power information is less than a set deviation threshold, the timestamps of the two are considered to be the same timestamp.
[0055] It is understandable that in actual applications, the statistical time of the task load information and the statistical time of the power information may not completely coincide. Therefore, as long as the timestamps of the two types of information are close enough, they are considered to correspond to each other and belong to the same timestamp.
[0056] In one implementation, the power information is detected by a power detection circuit designed inside the infrastructure, or is detected by a power supply facility in a computer room where the infrastructure is located.
[0057] In one embodiment, the method further includes: performing weighted average calculation on the energy efficiency of the infrastructure at multiple time stamps to obtain an average energy efficiency of the infrastructure.
[0058] Furthermore, the method also includes: from a plurality of infrastructures having the same infrastructure model and computer room conditions, taking the infrastructure with higher average energy efficiency as a priority choice for new deployment of similar tasks.
[0059] Specifically, by calculating the energy efficiency of the infrastructure for the running tasks multiple times and taking a weighted average to obtain the average energy efficiency, the error can be reduced to a certain extent, and a more accurate energy efficiency evaluation result can be obtained. In subsequent applications, if similar tasks need to be deployed, infrastructure with higher average energy efficiency will be given priority for deployment and operation.
[0060] It is worth noting that, in the weighted average calculation of multiple energy efficiencies mentioned above, the weights of the various energy efficiencies may be the same or different, and are set according to actual application conditions, and are not limited here.
[0061] In one embodiment, the method is applied to a first unit; the control command is sent by the second unit to the first unit after being deployed to the infrastructure and starting the running task; the power information is obtained by the first unit from the infrastructure or the computer room where the infrastructure is located.
[0062] Specifically, the method provided in any of the above embodiments is applicable to an energy efficiency measurement system, see Figure 2 The system architecture diagram shown in the figure shows that the system architecture design is as follows:
[0063] 1. Measured infrastructure design:
[0064] (1) Infrastructure that can share computing power, such as wireless base station infrastructure that can share computing power, etc., where the wireless infrastructure is mainly based on BBU (Building Base band Unit, indoor baseband processing unit), which can also be integrated or in other different forms.
[0065] (2) The infrastructure needs to have time synchronization capabilities. Satellite synchronization such as the Global Positioning System (GPS) / Beidou, and / or IEEE 1588V2 synchronization can be used. In actual business, under normal circumstances, Network Time Protocol (NTP) synchronization can only be used for business with lower synchronization accuracy requirements, but in this embodiment, it can also be applied to the energy consumption measurement of the base station, such as obtaining power data in the computer room; if the base station can only provide NTP time synchronization technology for real-time load feedback, then NTP time synchronization technology can also be used for energy efficiency measurement.
[0066] (3) Optionally, the infrastructure needs to have an internal power detection circuit that can detect the power of the entire machine, such as integrated voltage, current detection or other power detection circuits or hardware modules.
[0067] (4) Optionally, the infrastructure is capable of detecting ambient temperature.
[0068] 2. Design of the computer room where the infrastructure is located:
[0069] (1) Optionally, the power supply facilities in the computer room have the ability to detect load power and can obtain load data while recording the time when the data is generated. It is worth noting that the power supply facilities in the computer room must have at least one of the two: the ability to detect load power and the power detection circuit designed inside the infrastructure.
[0070] (2) Optionally, the computer room has an ambient temperature monitoring function.
[0071] 3. Unit 1:
[0072] The first unit issues control instructions to the infrastructure being measured, specifying the requirements for reporting data content with timestamps, as well as information such as detection and reporting time and frequency.
[0073] The first unit sends control instructions to the equipment room facilities, specifying the requirements for reporting data content with time information, as well as the detection and reporting time, number of times and other information.
[0074] The first unit may be any functional unit or device in the core network, the infrastructure being measured, or other equipment in the computer room where the infrastructure is located, which is deployed with a functional control software module supporting the method described in any of the above embodiments.
[0075] 4. Unit 2:
[0076] The second unit is responsible for deploying tasks to the infrastructure and managing the lifecycle of the tasks, while collecting the energy efficiency measurement result data calculated by the first unit. The second unit may also have other functions, which are not limited here.
[0077] Based on the above system architecture, the specific energy efficiency measurement process is as follows:
[0078] 1. The second unit learns that the infrastructure that needs to perform the computing task is already running normally;
[0079] 2. After the second unit learns that the remaining computing resources of the infrastructure can meet the deployment of the specified task, it deploys the task to the infrastructure and starts running it, and sends a control command carrying the infrastructure identifier to the first unit;
[0080] 3. The first unit sends a control instruction to the infrastructure, requiring it to report the task load information, power information and other information of the infrastructure.
[0081] (1) In the control instruction, specify the task load information to be reported at a specific time and / or a specific time interval, and specify the number of periodic reports.
[0082] (2) Optionally, in the control instruction, a specific time for reporting and / or power information obtained by internal measurement at a specific time interval is specified, and the number of periodic reports is clearly specified.
[0083] (3) Optionally, in the control instruction, specify to report the ambient temperature information detected by the infrastructure at a specific time and / or period, and specify the number of periodic reports.
[0084] 4. The first unit sends a control instruction to the management node of the computer room where the infrastructure is located, requiring it to report information such as the output power and ambient temperature of the power supplied by the computer room to the infrastructure being measured.
[0085] (1) Optionally, in the control instruction, specify to report the output power information of the power supply to the infrastructure at a specific time and / or period, and specify the number of periodic reports (it is understandable that the power information can be reported by the computer room or by the infrastructure).
[0086] (2) Optionally, in the control instruction, specify to report the ambient temperature information of the location of the computer room where the infrastructure is located at a specific time and / or period, and specify the number of periodic reports (it is understandable that the ambient temperature information can be reported by the computer room or by the infrastructure).
[0087] 5. The first unit calculates the energy efficiency of the task on the specified infrastructure based on the task load information and power information at the same time.
[0088] In order to make the specific process of the above embodiment clearer, a specific example is used below for explanation:
[0089] Take 5G wireless base station as an example:
[0090] (1) The second unit sends a computing task to the base station infrastructure that can deploy the computing task to be measured (the infrastructure has no other tasks to process) and starts running. If it is already in the running state, it directly goes to the second step.
[0091] (2) The second unit notifies the first unit that the infrastructure is ready for measurement.
[0092] (3) The first unit sends an energy efficiency measurement request according to the format of Table 1, and controls the base station to periodically report measurement data parameters, including real-time task load, real-time power, and ambient temperature. (This information can be reported by the infrastructure after self-checking and / or by the computer room after checking). Among them, the real-time power can be reported in the format of Table 2.
[0093] (4) The task load information is determined by the key parameters of the cell. For example, the RB utilization rate of the cell carried by the infrastructure is used for normalized statistics. 100% RB utilization rate is normalized to 100 (this data is only an example, the specific value is determined according to the actual situation and is not limited here). Assuming that the infrastructure supports 4 cells, the RB utilization rate of each cell is a%, b%, c%, d%, and the power of the infrastructure is A kilowatts (kW), then the normalized energy efficiency is (a% + b% + c% + d%) / (A). Optionally, the key parameters of the cell in the task load information include but are not limited to: RB utilization rate, number of users, modulation order, cell bandwidth, etc.
[0094] (5) When there are multiple infrastructures for deployment, during the task operation, the energy efficiency of different infrastructures is counted and the data is stored. The number of statistical tests can be set to n times.
[0095] (6) The energy efficiency of n data is averaged or weighted averaged to obtain the average energy efficiency of each infrastructure. The infrastructure is graded according to the average energy efficiency or the average energy efficiency is directly used for horizontal measurement of energy efficiency.
[0096] (7) According to the infrastructure model and equipment room conditions, select infrastructure with higher energy efficiency for subsequent deployment of new similar tasks. That is, under the same conditions, select infrastructure with higher energy efficiency for task deployment.
[0097] The data format is as follows:
[0098] Table 1
[0099]
[0100] In Table 1, "M" indicates mandatory, "O" indicates optional, and "0..15" indicates 0 to 15.
[0101] Table 2
[0102]
[0103] In Table 2, "M" indicates mandatory, "O" indicates optional, "0..8" indicates 0 to 8, "0..15" indicates 0 to 15, "0..32" indicates 0 to 32, and "0..400" indicates 0 to 400.
[0104] Table 3
[0105]
[0106] Among them, in Table 3, "M" means mandatory, "O" means optional, "1..<maximum number of measurement result records>" means 1 to the maximum number of measurement result records (the value is set according to the actual situation), "1..<maximum measurement value>" means 1 to the maximum measurement value (the value is set according to the actual situation), "0..<maximum number of measurement information>" means 0 to the maximum number of measurement information (the value is set according to the actual situation), and "1..<maximum label length>" means 0 to the maximum label length (the value is set according to the actual situation).
[0107] Table 4
[0108]
[0109] In Table 4, "M" indicates mandatory.
[0110] Compared with the prior art, the method provided in this embodiment controls the acquisition of the real-time load of the tasks of the infrastructure that can be used to share computing power after the infrastructure is deployed with specific tasks (including but not limited to wireless communication services, computing power business tasks, or other split subtasks), and obtains the power information at the same time for accurate online measurement of energy efficiency. The method associates power with load in real time to accurately evaluate energy efficiency by carrying out task-level measurement online, adding timestamps to report key parameters of the cell, etc., which can effectively solve the problem of decreased measurement accuracy caused by the real-time dynamic changes in task loads of wireless base station products during operation and the asynchronization of the acquisition time of power measurement results data. The binding relationship between infrastructure and tasks, heterogeneous system architecture, etc. will not affect the accuracy of load information and power information obtained in this implementation, and can accurately measure the energy efficiency of the infrastructure. In addition, this implementation does not need to be processed offline by simulation tests, and will not occupy a large amount of infrastructure resources, and has broad application prospects.
[0111] See also Figure 3 , Figure 3 : is a schematic diagram of the structure of an energy efficiency measurement device provided by an embodiment of the present invention, wherein the energy efficiency measurement device 20 comprises:
[0112] A command receiving module 21, used for receiving a control command carrying an infrastructure identifier;
[0113] An information acquisition module 22, used to acquire power information and task load information of the infrastructure corresponding to the infrastructure identifier; wherein the power information and the task load information are timestamped;
[0114] The energy efficiency measurement module 23 is used to calculate the energy efficiency of the infrastructure according to the power information and the task load information of the same timestamp.
[0115] In one embodiment, the task load information includes at least one cell key parameter defined by 3GPP and related to the processing overhead of the cell processed by the infrastructure.
[0116] In one implementation, the energy efficiency measurement module 23 is specifically used to:
[0117] Calculating a normalized load according to the cell key parameters in the task load information and their corresponding set weights;
[0118] The normalized load at the same time stamp is divided by the power information to obtain the energy efficiency of the infrastructure.
[0119] In one implementation, the task load information includes at least one of RB utilization, number of users, modulation order, and cell bandwidth.
[0120] In one implementation, when the deviation between the timestamp of the task load information and the timestamp of the power information is less than a set deviation threshold, the timestamps of the two are considered to be the same timestamp.
[0121] In one implementation, the power information is detected by a power detection circuit designed inside the infrastructure, or is detected by a power supply facility in a computer room where the infrastructure is located.
[0122] In one embodiment, the device further includes an average calculation module, which is used to: perform weighted average calculation on the energy efficiency of the infrastructure at multiple time stamps to obtain the average energy efficiency of the infrastructure.
[0123] In one embodiment, the apparatus further comprises a device selection module, configured to:
[0124] From among the multiple infrastructures with the same infrastructure model and computer room conditions, the infrastructure with higher average energy efficiency is selected as a priority for new deployment of similar tasks.
[0125] In one implementation, the power information is acquired from the infrastructure or a computer room where the infrastructure is located.
[0126] It is worth noting that the specific working process of the energy efficiency measurement device can refer to the working process of the energy efficiency measurement method in any of the above embodiments, which will not be described in detail here.
[0127] Compared with the prior art, the energy efficiency measurement device disclosed in the embodiment of the present invention obtains the power information and task load information of the infrastructure corresponding to the infrastructure identifier when running a task by receiving a control command carrying the infrastructure identifier, wherein the power information and the task load information are timestamped; and the energy efficiency of the infrastructure is calculated based on the power information and the task load information with the same timestamp, thereby improving the accuracy of the computing power energy efficiency measurement of the infrastructure.
[0128] See also Figure 4 , Figure 4 is a schematic diagram of the structure of an energy efficiency measurement device provided in an embodiment of the present invention. The energy efficiency measurement device 30 includes a processor 31, a memory 32, and a computer program stored in the memory 32 and configured to be executed by the processor 31. When the processor 31 executes the computer program, the steps in the above energy efficiency measurement method embodiment are implemented, for example Figure 1 or, the processor 31 implements the functions of each module in the above-mentioned device embodiments when executing the computer program.
[0129] Exemplarily, the computer program may be divided into one or more modules, which are stored in the memory 32 and executed by the processor 31 to complete the present invention. The one or more modules may be a series of computer program instruction segments capable of completing specific functions, which are used to describe the execution process of the computer program in the energy efficiency measurement device. For example, the computer program may be divided into multiple modules, and the specific functions of each module are as follows:
[0130] A command receiving module 21, used for receiving a control command carrying an infrastructure identifier;
[0131] An information acquisition module 22, used to acquire power information and task load information of the infrastructure corresponding to the infrastructure identifier; wherein the power information and the task load information are timestamped;
[0132] The energy efficiency measurement module 23 is used to calculate the energy efficiency of the infrastructure according to the power information and the task load information of the same timestamp.
[0133] The specific working process of each module can refer to the working process of the energy efficiency measurement device described in the above embodiment, which will not be repeated here.
[0134] The energy efficiency measurement device may be a computing device such as a desktop computer, a notebook, a PDA, a cloud server, etc. The energy efficiency measurement device may include, but is not limited to, a processor 31 and a memory 32. Those skilled in the art may understand that the energy efficiency measurement device may also include an input / output device, a network access device, a bus, etc.
[0135] The processor 31 may be a central processing unit (CPU), or 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 any conventional processor, etc. The processor 31 is the control center of the energy efficiency measurement device, and uses various interfaces and lines to connect various parts of the entire energy efficiency measurement device.
[0136] The memory 32 can be used to store the computer program and / or module, and the processor 31 realizes various functions of the energy efficiency measurement device by running or executing the computer program and / or module stored in the memory 32, and calling the data stored in the memory 32. The memory 32 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application required for a function, etc.; the data storage area can store data created according to the use of the device, etc. In addition, the memory 32 can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Med ia Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one magnetic energy efficiency measurement storage device, a flash memory device, or other volatile solid-state storage devices.
[0137] Wherein, if the module integrated in the energy efficiency measurement device is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor 31, the steps of the above-mentioned method embodiments can be implemented. Wherein, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium can include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electrical carrier signal, telecommunication signal and software distribution medium, etc.
[0138] An embodiment of the present invention further provides a computer program product, including a computer program / instruction, which, when executed by a processor, implements the steps of the energy efficiency measurement method described in any of the above embodiments, such as steps S11 to S13.
[0139] The above is a preferred embodiment of the present invention. It should be pointed out that a person skilled in the art can make several improvements and modifications without departing from the principle of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.
Claims
1. A method for measuring energy efficiency, It is characterized in that include: receiving a control command carrying an infrastructure identifier; Acquire power information and task load information of the infrastructure corresponding to the infrastructure identifier; wherein the power information and the task load information are timestamped; The energy efficiency of the infrastructure is calculated according to the power information and the task load information at the same time stamp.
2. The energy efficiency measurement method according to claim 1, It is characterized in that The task load information includes at least one cell key parameter defined by 3GPP and related to the processing overhead of the cell processed by the infrastructure.
3. The energy efficiency measurement method according to claim 2, It is characterized in that The calculating the energy efficiency of the infrastructure according to the power information and the task load information of the same timestamp includes: Calculating a normalized load according to the cell key parameters in the task load information and their corresponding set weights; The normalized load at the same time stamp is divided by the power information to obtain the energy efficiency of the infrastructure.
4. The energy efficiency measurement method according to claim 3, It is characterized in that The task load information includes at least one of RB utilization, number of users, modulation order and cell bandwidth.
5. The energy efficiency measurement method according to claim 1, It is characterized in that When the deviation between the timestamp of the task load information and the timestamp of the power information is less than a set deviation threshold, it is considered that the timestamps of the two are the same timestamp.
6. The energy efficiency measurement method according to claim 1, It is characterized in that The power information is detected by a power detection circuit designed inside the infrastructure, or is detected by a power supply facility in a computer room where the infrastructure is located.
7. The energy efficiency measurement method according to any one of claims 1 to 6, It is characterized in that Also includes: A weighted average calculation is performed on the energy efficiency of the infrastructure at multiple time stamps to obtain the average energy efficiency of the infrastructure.
8. The energy efficiency measurement method according to any one of claim 7, It is characterized in that Also includes: From the multiple infrastructures with the same infrastructure model and computer room conditions, the infrastructure with higher average energy efficiency is selected as a priority for new deployment of similar tasks.
9. The energy efficiency measurement method according to claim 1, It is characterized in that The method is applied to the first unit; the control command is sent by the second unit to the first unit after being deployed to the infrastructure and starting the running task; the power information is acquired by the first unit from the infrastructure or the computer room where the infrastructure is located.
10. An energy efficiency measurement device, It is characterized in that include: A command receiving module, used for receiving a control command carrying an infrastructure identifier; An information acquisition module, used to acquire power information and task load information of the infrastructure corresponding to the infrastructure identifier; wherein the power information and the task load information are timestamped; The energy efficiency measurement module is used to calculate the energy efficiency of the infrastructure according to the power information and the task load information of the same timestamp.
11. An energy efficiency measurement device, It is characterized in that The method comprises a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor implements the energy efficiency measurement method according to any one of claims 1 to 9 when executing the computer program.
12. A computer-readable storage medium, It is characterized in that The computer-readable storage medium includes a stored computer program, wherein when the computer program is executed, the device where the computer-readable storage medium is located is controlled to execute the energy efficiency measurement method according to any one of claims 1 to 9.
13. A computer program product comprising a computer program / instructions, It is characterized in that When the computer program / instructions are executed by a processor, the energy efficiency measurement method according to any one of claims 1 to 9 is implemented.
Citation Information
Patent Citations
Method and device for determining energy efficiency of equipment
CN101650685A
Test method for reflecting WEB energy efficiency of computer equipment
CN103514082A
Scheduling method and device based on performance efficiency and computer-readable storage medium
CN112328376A
Load balancing method, device and system
CN113133058A
Energy consumption pressure measurement method and device of server, electronic equipment and storage medium
CN115269353A
