Load control method, system and device based on embedded system and medium

By acquiring and analyzing the CPU utilization rate of the embedded system, adjusting the output frequency and electrical parameters, the problem of unstable power consumption adjustment in the prior art is solved, and more efficient power consumption management is achieved.

CN120196430APending Publication Date: 2025-06-24CHINA SOUTHERN POWER GRID COMPANY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411974334.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-30
Publication Date
2025-06-24

AI Technical Summary

Technical Problem

In the prior art, when an embedded system adjusts power consumption through clock frequency division, the stability of the adjustment process is low, resulting in unstable power consumption adjustment.

Method used

By obtaining the first CPU utilization rate occupied by the load within 30 seconds before the current sampling time, the second CPU utilization rate of the load within 10 seconds after the current sampling time is determined, and the output frequency and output electrical parameters of the system are adjusted according to the second CPU utilization to achieve the preset optimal power consumption.

Benefits of technology

Improve the stability of system power consumption adjustment, so that the system can achieve the preset optimal power consumption more effectively.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120196430A_ABST
    Figure CN120196430A_ABST
Patent Text Reader

Abstract

The invention discloses a load control method, system and device based on an embedded system and a storage medium. The method comprises the steps that the first CPU utilization rate occupied by a load within 30 seconds before the current sampling moment is obtained; according to the first CPU utilization rate, determining a second CPU utilization rate of the load within 10 seconds after the current sampling moment; adjusting the output frequency and output electrical parameters of the system according to the second CPU utilization rate, so that the operation power consumption of the system reaches preset power consumption; the preset power consumption is used for representing the optimal power consumption of the system at the current sampling moment. The method can improve the stability of power consumption adjustment. The method can be widely applied to the technical field of system control.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of system control, and in particular to a load control method, system, device, and storage medium based on an embedded system. Background Art

[0002] With the continuous complexity of the functions of electronic devices, especially in mobile devices and embedded systems, how to balance performance and power consumption has become a key issue.

[0003] In view of the above problems, in the related art, an embedded system can adopt a clock frequency division technology to dynamically adjust the clock frequency of the embedded system, thereby reducing the overall power consumption of the embedded system. However, this clock frequency division often causes the electrical parameters to change accordingly during the adjustment process, resulting in the power consumption adjustment process of the system sometimes being successful and sometimes failing, and the stability of the adjustment is relatively low. Therefore, there are still technical problems to be solved in the related art. Summary of the Invention

[0004] The purpose of this application is to solve at least to some extent one of the technical problems existing in the prior art.

[0005] To this end, an object of an embodiment of this application is to provide a load control method, system, device, and storage medium based on an embedded system, and this solution can improve the stability of system power consumption adjustment.

[0006] To achieve the above technical purpose, the technical solutions adopted in the embodiments of this application include: a load control method based on an embedded system, including: obtaining a first CPU utilization rate occupied by the load within 30 seconds before the current sampling moment; determining a second CPU utilization rate of the load within 10 seconds after the current sampling moment according to the first CPU utilization rate; adjusting the output frequency and output electrical parameters of the system according to the second CPU utilization rate so that the operating power consumption of the system reaches a preset power consumption; the preset power consumption is used to represent the optimal power consumption of the system at the current sampling moment.

[0007] In addition, according to a load control method based on an embedded system in the above embodiment of the present invention, the following additional technical features may also be included:

[0008] Further, in the embodiment of this application, the adjusting the output frequency and output voltage of the system according to the second CPU utilization rate so that the operating power consumption of the system reaches a preset power consumption specifically includes:

[0009] Based on a preset utilization rate threshold, determining the magnitude relationship between the utilization rate threshold and the second CPU utilization rate;

[0010] Adjust the output frequency and output electrical parameters of the system according to the size relationship, so that the operating power consumption of the system reaches the preset power consumption.

[0011] Further, in the embodiment of the present application, the adjusting the output frequency and output electrical parameters of the system according to the size relationship so that the operating power consumption of the system reaches the preset power consumption specifically includes:

[0012] Adjust the output frequency and output voltage according to the size relationship, so that the operating power consumption of the system reaches the preset power consumption;

[0013] Or

[0014] Adjust the output frequency and output current according to the size relationship, so that the operating power consumption of the system reaches the preset power consumption.

[0015] Further, in the embodiment of the present application, the adjusting the output frequency and output voltage according to the size relationship so that the operating power consumption of the system reaches the preset power consumption includes:

[0016] When the second CPU utilization rate is greater than the utilization rate threshold, adjust the output frequency to the first threshold and adjust the output voltage to the second threshold, so that the operating power consumption of the system reaches the preset power consumption;

[0017] When the second CPU utilization rate is less than or equal to the utilization rate threshold, adjust the output frequency to the third threshold and adjust the output voltage to the fourth threshold, so that the operating power consumption of the system reaches the preset power consumption.

[0018] Further, in the embodiment of the present application, the adjusting the output frequency and output current of the system according to the size relationship so that the operating power consumption of the system reaches the preset power consumption specifically includes:

[0019] When the second CPU utilization rate is greater than the utilization rate threshold, adjust the output frequency to the first threshold and adjust the output current to the fifth threshold, so that the operating power consumption of the system reaches the preset power consumption;

[0020] When the second CPU utilization rate is less than or equal to the utilization rate threshold, adjust the output frequency to the third threshold and adjust the output current to the sixth threshold, so that the operating power consumption of the system reaches the preset power consumption.

[0021] Further, in the embodiment of the present application, the when the second CPU utilization rate is greater than the utilization rate threshold, adjusting the output frequency to the first threshold and adjusting the output voltage to the second threshold so that the operating power consumption of the system reaches the preset power consumption specifically includes:

[0022] When the second CPU utilization rate is greater than the utilization rate threshold, the output frequency is adjusted to 2.4 - 2.6 GHz and the output voltage is adjusted to 1.15 - 1.25 V, so that the operating power consumption of the system reaches the preset power consumption.

[0023] Further, in the embodiment of the present application, the step of when the second CPU utilization rate is greater than the utilization rate threshold, the output frequency is adjusted to the first threshold and the output current is adjusted to the fifth threshold, so that the operating power consumption of the system reaches the preset power consumption, includes:

[0024] When the second CPU utilization rate is greater than the utilization rate threshold, the output frequency is adjusted to 2.4 - 2.6 GHz and the output current is adjusted to 750 - 850 mA, so that the operating power consumption of the system reaches the preset power consumption.

[0025] On the other hand, the embodiment of the present application also provides a load control system based on an embedded system, including:

[0026] An acquisition unit, configured to acquire the first CPU utilization rate occupied by the load within 30 seconds before the current sampling moment;

[0027] A first processing unit, configured to determine the second CPU utilization rate of the load within 10 seconds after the current sampling moment according to the first CPU utilization rate;

[0028] A second processing unit, configured to adjust the output frequency and output electrical parameters of the system according to the second CPU utilization rate, so that the operating power consumption of the system reaches the preset power consumption; the preset power consumption is used to characterize the optimal power consumption of the system at the current sampling moment.

[0029] On the other hand, the present application also provides a load control device based on an embedded system, including:

[0030] At least one processor;

[0031] At least one memory, configured to store at least one program;

[0032] When the at least one program is executed by the at least one processor, the at least one processor implements a load control method based on an embedded system as described in any one of the invention contents.

[0033] In addition, the present application also provides a computer-readable storage medium, in which processor-executable instructions are stored, and the processor-executable instructions are used to execute a load control method based on an embedded system as described in any one of the above when executed by a processor.

[0034] The advantages and beneficial effects of the present application will be partially given in the following description, partially become apparent from the following description, or be understood through the practice of the present application:

[0035] The present application can obtain the first CPU utilization rate occupied by the load within 30 seconds before the current sampling moment; determine the second CPU utilization rate of the load within 10 seconds after the current sampling moment according to the first CPU utilization rate; adjust the output frequency and output electrical parameters of the system according to the second CPU utilization rate, so that the operating power consumption of the system reaches a preset power consumption; the preset power consumption is used to represent the optimal power consumption of the system at the current sampling moment. The present application can determine the second CPU utilization rate of the load within 10 seconds after the current sampling moment according to the first CPU utilization rate occupied by the load within 30 seconds before the current sampling moment, and then adjust the output frequency and output electrical parameters of the system according to the second CPU utilization rate of the load within 10 seconds after the current sampling moment, so as to make the system reach the optimal power consumption at the current sampling moment. The present application not only adjusts the output frequency but also adjusts the output electrical parameters of the system, thereby improving the stability of the power consumption regulation of the present application. Description of the Drawings

[0036] Figure 1 It is a schematic diagram of the module of the hardware architecture used in a specific embodiment of the load control method based on an embedded system of the present invention;

[0037] Figure 2 It is a schematic diagram of the steps of a specific embodiment of the load control method based on an embedded system of the present invention;

[0038] Figure 3 It is a schematic flowchart of a specific embodiment of the load control method based on an embedded system of the present invention;

[0039] Figure 4 It is a schematic flowchart of a specific embodiment of the load control method based on an embedded system of the present invention;

[0040] Figure 5 It is a schematic flowchart of a specific embodiment of the load control method based on an embedded system of the present invention;

[0041] Figure 6 It is a schematic diagram of the structure of a load control system based on an embedded system in a specific embodiment of the present invention;

[0042] Figure 7 It is a schematic diagram of the structure of a load control device based on an embedded system in a specific embodiment of the present invention. Detailed Embodiments

[0043] The following describes in detail the embodiments of the present invention in conjunction with the accompanying drawings. The principles and processes of the load control method, system, device, and storage medium based on an embedded system in the embodiments of the present invention are described as follows.

[0044] Referring to Figure 1 , this application provides a load control method based on an embedded system. This method is implemented based on an embedded system. Referring to Figure 1 , the embedded system of this application at least includes a Cortex-M4 processor, a memory module, a CPU or GPU module, a load monitoring module, an ARIMA model module, and a power management chip. The memory module can send the historical utilization rate of the CPU or GPU to the load monitoring module. Referring to Figure 2 , the method may include step S101 - step S103.

[0045] S101. Obtain the first CPU utilization rate occupied by the load within 30 seconds before the current sampling moment.

[0046] S102. Determine the second CPU utilization rate of the load within 10 seconds after the current sampling moment according to the first CPU utilization rate.

[0047] S103. Adjust the output frequency and output electrical parameters of the system according to the second CPU utilization rate so that the operating power consumption of the system reaches a preset power consumption. The preset power consumption is used to represent the optimal power consumption of the system at the current sampling moment.

[0048] In summary, this application can obtain the first CPU utilization rate occupied by the load within 30 seconds before the current sampling moment; determine the second CPU utilization rate of the load within 10 seconds after the current sampling moment according to the first CPU utilization rate; adjust the output frequency and output electrical parameters of the system according to the second CPU utilization rate so that the operating power consumption of the system reaches a preset power consumption; the preset power consumption is used to represent the optimal power consumption of the system at the current sampling moment. This application can determine the second CPU utilization rate of the load within 10 seconds after the current sampling moment according to the first CPU utilization rate occupied by the load within 30 seconds before the current sampling moment, and then adjust the output frequency and output electrical parameters of the system according to the second CPU utilization rate of the load within 10 seconds after the current sampling moment, so as to make the system reach the optimal power consumption at the current sampling moment. This application not only adjusts the output frequency but also adjusts the output electrical parameters of the system, thereby improving the stability of power consumption regulation of this application

[0049] Further, the step of adjusting the output frequency and output voltage of the system according to the second CPU utilization rate so that the operating power consumption of the system reaches a preset power consumption may include step S201 - step S202.

[0050] S201. Determine the magnitude relationship between the utilization threshold and the second CPU utilization rate based on a preset utilization threshold.

[0051] S202. Adjust the output frequency and output electrical parameters of the system according to the magnitude relationship so that the operating power consumption of the system reaches a preset power consumption.

[0052] Further, the step of adjusting the output frequency and output electrical parameters of the system according to the magnitude relationship so that the operating power consumption of the system reaches a preset power consumption may specifically include step S301 or step S302.

[0053] S301. Adjust the output frequency and output voltage according to the magnitude relationship so that the operating power consumption of the system reaches a preset power consumption.

[0054] Or

[0055] S302. Adjust the output frequency and output current according to the magnitude relationship so that the operating power consumption of the system reaches a preset power consumption.

[0056] Further, the step of adjusting the output frequency and output voltage according to the magnitude relationship so that the operating power consumption of the system reaches a preset power consumption may include step S401 or step S402.

[0057] When the second CPU utilization rate is greater than the utilization threshold, adjust the output frequency to the first threshold and adjust the output voltage to the second threshold so that the operating power consumption of the system reaches a preset power consumption.

[0058] When the second CPU utilization rate is less than or equal to the utilization threshold, adjust the output frequency to the third threshold and adjust the output voltage to the fourth threshold so that the operating power consumption of the system reaches a preset power consumption.

[0059] Further, the step of adjusting the output frequency and output current of the system according to the magnitude relationship so that the operating power consumption of the system reaches a preset power consumption may specifically include step S501 or step S502.

[0060] When the second CPU utilization rate is greater than the utilization threshold, adjust the output frequency to the first threshold and adjust the output current to the fifth threshold so that the operating power consumption of the system reaches a preset power consumption.

[0061] When the second CPU utilization rate is less than or equal to the utilization threshold, adjust the output frequency to the third threshold and adjust the output current to the sixth threshold so that the operating power consumption of the system reaches a preset power consumption.

[0062] Further, when the second CPU utilization rate is greater than the utilization rate threshold, the step of adjusting the output frequency to the first threshold and adjusting the output voltage to the second threshold to make the operating power consumption of the system reach the preset power consumption may include step S601.

[0063] S601. When the second CPU utilization rate is greater than the utilization rate threshold, adjust the output frequency to 2.4 - 2.6 GHz and adjust the output voltage to 1.15 - 1.25 V to make the operating power consumption of the system reach the preset power consumption.

[0064] Further, when the second CPU utilization rate is greater than the utilization rate threshold, the step of adjusting the output frequency to the first threshold and adjusting the output current to the fifth threshold to make the operating power consumption of the system reach the preset power consumption may include step S701.

[0065] S701. When the second CPU utilization rate is greater than the utilization rate threshold, adjust the output frequency to 2.4 - 2.6 GHz and adjust the output current to 750 - 850 mA to make the operating power consumption of the system reach the preset power consumption.

[0066] The following describes the specific implementation principle of the present application with reference to the accompanying drawings:

[0067] Refer to Figure 3 、 Figure 4 and Figure 5 , in some embodiments, the processor may periodically collect the CPU utilization rate occupied by the system load within 30 seconds before the current sampling moment. After obtaining the CPU utilization rate, it can be input into the ARIMA model to obtain the CPU utilization rate occupied by the system load in the next 10 seconds at the current moment. If it is lower than the set threshold, such as lower than or equal to 45%, the system may reduce the output frequency to 1.5 GHz. If it is higher than 45%, the system may increase the output frequency to 1.5 GHz. After obtaining the result, the CPU utilization rate occupied by the system load in the next 10 seconds at the current moment predicted and the CPU utilization rate occupied by the system load within 30 seconds before the current sampling moment collected can be used for the subsequent training and updating of the ARIMA model, and the parameters of the updated model can be adjusted. The updated ARIMA model can be used at the next sampling moment.

[0068] In some embodiments, the processor may periodically collect the CPU utilization rate occupied by the system load within 30 seconds before the current sampling moment. After obtaining the CPU utilization rate, it can be input into the ARIMA model to obtain the CPU utilization rate occupied by the system load in the next 10 seconds at the current moment. If it is lower than the set threshold, such as lower than or equal to 45%, the system can reduce the output frequency to 1.5 GHz. If it is higher than 45%, the system can increase the output frequency to 1.5 GHz. After obtaining the result, the predicted CPU utilization rate occupied by the system load in the next 10 seconds at the current moment and the collected CPU utilization rate occupied by the system load within 30 seconds before the current sampling moment can be used for subsequent training and updating of the ARIMA model, and the parameters of the updated model can be adjusted. The updated ARIMA model can be used at the next sampling moment.

[0069] In some embodiments, the processor may periodically collect the CPU utilization rate occupied by the system load within 30 seconds before the current sampling moment. After obtaining the CPU utilization rate, it can be input into the ARIMA model to obtain the CPU utilization rate occupied by the system load in the next 10 seconds at the current moment. If it is lower than the set threshold, such as lower than or equal to 45%, the system can reduce the output frequency to 1.5 GHz and adjust the system output current to 500 mA or adjust the output voltage to 1.0 V. If it is higher than 45%, the system can increase the output frequency to 1.5 GHz and adjust the system output current to 800 mA or adjust the output voltage to 1.2 V. After obtaining the adjustment result with the lowest power consumption, the predicted CPU utilization rate occupied by the system load in the next 10 seconds at the current moment and the collected CPU utilization rate occupied by the system load within 30 seconds before the current sampling moment can be used for subsequent training and updating of the ARIMA model, and the parameters of the updated model can be adjusted. The updated ARIMA model can be used at the next sampling moment.

[0070] In some embodiments, the processor may periodically collect the CPU utilization rate occupied by the system load within 30 seconds before the current sampling moment. After obtaining the CPU utilization rate, it can be input into the ARIMA model to obtain the CPU utilization rate occupied by the system load in the next 10 seconds at the current moment. If it is lower than the set threshold, such as lower than or equal to 45%, the system can reduce the output frequency to 1.5 GHz, and at the same time adjust the system output current to 500 mA or adjust the output voltage to 1.0 V. If it is higher than 45%, the system can increase the output frequency to 1.5 GHz, and at the same time adjust the system output current to 800 mA and adjust the output voltage to 1.2 V. After obtaining the result that can be adjusted to the lowest power consumption, the predicted CPU utilization rate occupied by the system load in the next 10 seconds at the current moment and the collected CPU utilization rate occupied by the system load within 30 seconds before the current sampling moment can be used for the subsequent training and updating of the ARIMA model, and the parameters of the updated model can be adjusted. The updated ARIMA model can be used at the next sampling moment.

[0071] In summary, the load control method based on an embedded system of the present application has the following advantages:

[0072] The present application adopts a dynamic clock frequency adjustment method based on the workload, and intelligently selects an appropriate clock frequency by real-time monitoring of the system load to ensure the lowest power consumption in different working states; a dynamic power management mechanism is introduced to automatically adjust the system voltage and current according to the change of the clock frequency, forming a collaborative and optimized power management strategy. This method can not only adapt to different power consumption requirements in a variety of application scenarios, but also reduce energy waste through the cooperation of hardware and software, significantly improving the overall energy efficiency of the system.

[0073] In addition, referring to Figure 6 , and corresponding to the method of Figure 1 In the embodiments of the present application, a load control system based on an embedded system is further provided. The system may include: an acquisition unit 1001, a first processing unit 1002, and a second processing unit 1003. The acquisition unit 1001 may be configured to acquire the first CPU utilization rate occupied by the load within 30 seconds before the current sampling moment; the first processing unit 1002 may be configured to determine the second CPU utilization rate of the load within 10 seconds after the current sampling moment according to the first CPU utilization rate; the second processing unit 1003 may be configured to adjust the output frequency and output electrical parameters of the system according to the second CPU utilization rate so that the operating power consumption of the system reaches a preset power consumption; the preset power consumption is used to represent the optimal power consumption of the system at the current sampling moment.

[0074] It should be noted that the acquisition unit can be any integrated circuit unit or microprocessor unit obtained by integrating a processing function chip and its peripheral circuits through existing integration technologies. The first processing unit and the second processing unit can also be any integrated circuit module or microprocessor module obtained by integrating a processing function chip and its peripheral circuits through existing integration technologies. The first processing unit and the second processing unit can also include one or more memories. The one or more memories can be used to store the specific algorithms of this application. There are no restrictions on the specific connection methods and settings of the acquisition unit 1001 with the first processing unit 1002 and the first processing unit 1002 with the second processing unit 1003.

[0075] It should be noted that the content in the above-mentioned embodiment of the load control method based on an embedded system is applicable to the embodiment of the load control system based on an embedded system. The functions specifically implemented in the embodiment of the load control system based on an embedded system are the same as those in the above-mentioned embodiment of the load control method based on an embedded system, and the beneficial effects achieved are also the same as those achieved in the above-mentioned embodiment of the load control method based on an embedded system.

[0076] Corresponding to Figure 1 the method, an embodiment of the present application also provides a load control device based on an embedded system, and its specific structure can refer to Figure 7 , including:

[0077] At least one processor 1011;

[0078] At least one memory 1012, used to store at least one program;

[0079] When the at least one program is executed by the at least one processor, the at least one processor implements the above-mentioned load control method based on an embedded system.

[0080] The content in the above-mentioned method embodiment is applicable to the present device embodiment. The functions specifically implemented in the present device embodiment are the same as those in the above-mentioned method embodiment, and the beneficial effects achieved are also the same as those achieved in the above-mentioned method embodiment.

[0081] Corresponding to Figure 1 the method, an embodiment of the present application also provides a computer-readable storage medium, in which processor-executable instructions are stored, and the processor-executable instructions are used to execute the above-mentioned load control method based on an embedded system when executed by a processor.

[0082] The content in the above embodiments of the load control method based on an embedded system is applicable to the embodiments of this storage medium. The functions specifically implemented in the embodiments of this storage medium are the same as those in the above embodiments of the load control method based on an embedded system, and the beneficial effects achieved are also the same as those achieved in the above embodiments of the load control method based on an embedded system.

[0083] In some alternative embodiments, the functions / operations mentioned in the block diagrams may not occur in the order mentioned in the operation diagrams. For example, depending on the functions / operations involved, two consecutive blocks shown may actually be executed substantially simultaneously or the blocks can sometimes be executed in the reverse order. Additionally, the embodiments presented and described in the flowcharts of this application are provided by way of example for the purpose of providing a more comprehensive understanding of the technology. The disclosed methods are not limited to the operations and logical flows presented herein. Alternative embodiments are contemplated where the order of various operations is changed and where sub-operations described as part of a larger operation are executed independently.

[0084] Furthermore, although this application is described in the context of functional modules, it should be understood that, unless otherwise stated to the contrary, one or more of the functions and / or features may be integrated in a single physical device and / or software module, or one or more functions and / or features may be implemented in separate physical devices or software modules. It is also understood that a detailed discussion of the actual implementation of each module is not necessary for understanding this application. Rather, considering the attributes, functions, and internal relationships of the various functional modules in the devices disclosed herein, the actual implementation of the module will be understood within the ordinary skills of an engineer. Therefore, those skilled in the art can implement this application as set forth in the claims without undue experimentation. It is also understood that the specific concepts disclosed are illustrative only and are not intended to limit the scope of this application, which is determined by the full scope of the appended claims and their equivalents.

[0085] If the above-mentioned functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several programs for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of this application. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), magnetic disks, or optical discs.

[0086] The logic and / or steps represented in the flowchart or described in other ways herein, for example, can be considered as a sequenced list of executable programs for implementing logical functions, and can be specifically implemented in any computer-readable medium for use by a program execution system, apparatus, or device (such as a computer-based system, a system including a processor, or other systems that can retrieve and execute programs from a program execution system, apparatus, or device), or in conjunction with these program execution systems, apparatus, or devices. For the purposes of this specification, a "computer-readable medium" can be any device that can contain, store, communicate, propagate, or transport a program for use by or in conjunction with a program execution system, apparatus, or device.

[0087] More specific examples (non-exhaustive list) of computer-readable media include the following: an electrical connection part with one or more wirings (electronic device), a portable computer disk cartridge (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, a computer-readable medium can even be paper or other suitable media on which the program can be printed, because the program can be obtained electronically, for example, by optically scanning the paper or other media, then editing, interpreting, or otherwise processing it as appropriate, and then storing it in a computer memory.

[0088] It should be understood that each part of the present application can be implemented by hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable program execution system. For example, if implemented by hardware, as in another embodiment, any one or a combination of the following techniques well known in the art can be used: discrete logic circuits having logic gate circuits for implementing logic functions on data signals, application specific integrated circuits having appropriate combinational logic gate circuits, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), etc.

[0089] In the foregoing description of the present specification, the descriptions referring to the terms "one embodiment / example", "another embodiment / example", or "certain embodiments / examples", etc. mean that the specific features, structures, materials, or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present application. In the present specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0090] Although the embodiments of the present application have been shown and described, those of ordinary skill in the art can understand that various changes, modifications, substitutions, and variations can be made to these embodiments without departing from the principles and spirit of the present application. The scope of the present application is defined by the claims and their equivalents.

[0091] The above is a specific description of the preferred embodiments of the present application, but the present application is not limited to the described embodiments. Those skilled in the art can also make various equivalent deformations or substitutions without departing from the spirit of the present application, and these equivalent deformations or substitutions are all included within the scope defined by the claims of the present application.

Claims

1. A load control method based on an embedded system, characterized in that: The following steps are involved: Get the first CPU utilization occupied by the load within 30 seconds before the current sampling time; Determine a second CPU utilization rate of the load within 10 seconds after the current sampling time according to the first CPU utilization rate; According to the second CPU utilization rate, the output frequency and output electrical parameters of the system are adjusted so that the operating power consumption of the system reaches a preset power consumption; the preset power consumption is used to characterize the optimal power consumption of the system at the current sampling moment.

2. According to claim 1, a load control method based on an embedded system is characterized in that: The adjusting the output frequency and output voltage of the system according to the second CPU utilization rate so that the operating power consumption of the system reaches the preset power consumption specifically includes: Based on a preset utilization threshold, determining a magnitude relationship between the utilization threshold and the second CPU utilization; According to the magnitude relationship, the output frequency and output electrical parameters of the system are adjusted so that the operating power consumption of the system reaches the preset power consumption.

3. According to claim 2, a load control method based on an embedded system is characterized in that: The adjusting the output frequency and output electrical parameters of the system according to the magnitude relationship so that the operating power consumption of the system reaches the preset power consumption specifically includes: According to the magnitude relationship, adjusting the output frequency and the output voltage so that the operating power consumption of the system reaches a preset power consumption; or According to the magnitude relationship, the output frequency and the output current are adjusted so that the operating power consumption of the system reaches the preset power consumption.

4. The load control method based on embedded system according to claim 3, characterized in that: The step of adjusting the output frequency and the output voltage according to the magnitude relationship so that the operating power consumption of the system reaches a preset power consumption includes: When the utilization rate of the second CPU is greater than the utilization rate threshold, the output frequency is adjusted to the first threshold and the output voltage is adjusted to the second threshold, so that the operating power consumption of the system reaches the preset power consumption; When the second CPU utilization is less than or equal to the utilization threshold, the output frequency is adjusted to a third threshold and the output voltage is adjusted to a fourth threshold, so that the operating power consumption of the system reaches a preset power consumption.

5. The load control method based on embedded system according to claim 3, characterized in that: The adjusting the output frequency and the output current of the system according to the magnitude relationship so that the operating power consumption of the system reaches the preset power consumption specifically includes: When the utilization rate of the second CPU is greater than the utilization rate threshold, the output frequency is adjusted to the first threshold and the output current is adjusted to the fifth threshold, so that the operating power consumption of the system reaches the preset power consumption; When the second CPU utilization is less than or equal to the utilization threshold, the output frequency is adjusted to a third threshold and the output current is adjusted to a sixth threshold, so that the operating power consumption of the system reaches a preset power consumption.

6. The load control method based on embedded system according to claim 4, characterized in that: When the utilization rate of the second CPU is greater than the utilization rate threshold, the output frequency is adjusted to the first threshold and the output voltage is adjusted to the second threshold so that the operating power consumption of the system reaches the preset power consumption, specifically including: When the second CPU utilization is greater than the utilization threshold, the output frequency is adjusted to 2.4-2.6 GH and the output voltage is adjusted to 1.15-1.25 V, so that the operating power consumption of the system reaches the preset power consumption.

7. The load control method based on embedded system according to claim 5, characterized in that: When the utilization rate of the second CPU is greater than the utilization rate threshold, the output frequency is adjusted to the first threshold and the output current is adjusted to the fifth threshold so that the operating power consumption of the system reaches the preset power consumption, including: When the utilization rate of the second CPU is greater than the utilization rate threshold, the output frequency is adjusted to 2.4-2.6 GHz and the output current is adjusted to 750-850 mA, so that the operating power consumption of the system reaches the preset power consumption.

8. A load control system based on an embedded system, characterized in that: include: An acquisition unit, used to acquire the first CPU utilization occupied by the load within 30 seconds before the current sampling time; A first processing unit, configured to determine a second CPU utilization rate of a load within 10 seconds after a current sampling moment according to the first CPU utilization rate; The second processing unit is used to adjust the output frequency and output electrical parameters of the system according to the utilization rate of the second CPU so that the operating power consumption of the system reaches a preset power consumption; the preset power consumption is used to characterize the optimal power consumption of the system at the current sampling moment.

9. A load control device based on an embedded system, characterized in that include: at least one processor; at least one memory for storing at least one program; When the at least one program is executed by the at least one processor, the at least one processor implements the load control method based on an embedded system as described in any one of claims 1 to 7.

10. A computer-readable storage medium storing instructions executable by a processor, characterized in that: The processor-executable instructions are used to execute a load control method based on an embedded system as described in any one of claims 1 to 7 when executed by the processor.