CN109298774B - Adjusting method and device - Google Patents

Adjusting method and device Download PDF

Info

Publication number
CN109298774B
CN109298774B CN201811161464.5A CN201811161464A CN109298774B CN 109298774 B CN109298774 B CN 109298774B CN 201811161464 A CN201811161464 A CN 201811161464A CN 109298774 B CN109298774 B CN 109298774B
Authority
CN
China
Prior art keywords
processor
power
floating power
time
event
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811161464.5A
Other languages
Chinese (zh)
Other versions
CN109298774A (en
Inventor
张伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201811161464.5A priority Critical patent/CN109298774B/en
Publication of CN109298774A publication Critical patent/CN109298774A/en
Application granted granted Critical
Publication of CN109298774B publication Critical patent/CN109298774B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/3243Power saving in microcontroller unit
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3058Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The application discloses an adjustment method, comprising the following steps: obtaining preset floating power of the electronic equipment, wherein the preset floating power comprises long-time floating power and short-time floating power, and the floating power is used for representing the power of the electronic equipment processor accelerated to match with the current processed event; and adjusting the long-time floating power or the short-time floating power in the preset floating power of the electronic equipment according to the event corresponding to the electronic equipment processor and the statistical information of the power characteristics of the processor in the event, so as to realize that the real-time power of the electronic equipment processor adapts to the corresponding event processed by the processor. The application also discloses an adjusting device.

Description

Adjusting method and device
Technical Field
The present application relates to processor power adjustment technologies, and in particular, to an adjustment method and apparatus.
Background
The electronic device processor has various working environments and bearing tasks, and the requirement on the processor is not constant and more on the high requirement on the instantaneous processing capacity of the processor in the process of using the electronic device by a user. For example, at the instant of processing a large responsible program, the user expects the processor to respond quickly.
Disclosure of Invention
The embodiment of the application provides an adjusting method, which comprises the following steps:
obtaining preset floating power of the electronic equipment, wherein the preset floating power comprises long-time floating power and short-time floating power, and the floating power is used for representing the power of the electronic equipment processor accelerated to match with the current processed event;
and adjusting the long-time floating power or the short-time floating power in the preset floating power of the electronic equipment according to the event corresponding to the electronic equipment processor and the statistical information of the power characteristics of the processor in the event, so as to realize that the real-time power of the electronic equipment processor adapts to the corresponding event processed by the processor.
In the foregoing solution, the adjusting long-term floating power or short-term floating power in preset floating power of the electronic device according to an event corresponding to the processor of the electronic device and statistical information of power characteristics of the processor in the event includes:
determining the recurrence rate of events with the same power consumption characteristics according to the events corresponding to the processors and the statistical information of the power characteristics of the processors in the events;
and when the recurrence rate of the event is lower than a recurrence rate threshold, adjusting long-term floating power or short-term floating power in preset floating power of the processor based on the parameter information of the electronic equipment.
In the foregoing solution, the adjusting long-term floating power or short-term floating power in preset floating power of the electronic device based on the parameter information of the electronic device includes:
counting real-time power of the processor at fixed time intervals;
and adjusting the long-term floating power or the short-term floating power in the preset floating power of the electronic equipment according to the statistical result of the real-time power information of the processor and the shell temperature of the electronic equipment.
In the foregoing solution, the adjusting long-term floating power or short-term floating power in preset floating power of the electronic device according to a statistical result of real-time power information of the processor and a case temperature of the electronic device includes:
and when the real-time power of the processor is greater than or equal to the second long-time floating power maximum value of the processor and the case temperature of the electronic equipment is higher than the case set temperature of the electronic equipment, increasing and adjusting the preset floating power of the processor.
In the foregoing solution, the increasing and adjusting the preset floating power of the processor includes:
and adjusting the short-time floating power of the processor to the initial default short-time floating power of the processor, and increasing the maximum value of the long-time floating power of the processor.
In the foregoing solution, the adjusting long-term floating power or short-term floating power in preset floating power of the electronic device according to a statistical result of real-time power information of the processor and a case temperature of the electronic device includes:
and when the real-time power of the processor is smaller than the minimum value of the first long-term floating power of the processor and larger than the maximum value of the first long-term floating power of the processor in the statistical result of the real-time power information of the processor, and the case temperature of the electronic equipment is higher than the set case temperature of the electronic equipment, increasing and adjusting the preset floating power of the processor.
In the foregoing solution, the increasing and adjusting the preset floating power of the processor includes:
increasing the short-time floating power of the processor, and adjusting the long-time floating power of the processor to the initial default long-time floating power of the processor.
In the foregoing solution, the adjusting long-term floating power or short-term floating power in preset floating power of the electronic device according to a statistical result of real-time power information of the processor and a case temperature of the electronic device includes:
and when the real-time power of the processor is greater than or equal to the first long-time floating power minimum value of the processor and greater than the first long-time floating power maximum value of the processor in the statistical result of the real-time power information of the processor, and the case temperature of the electronic equipment is higher than the case set temperature of the electronic equipment, increasing and adjusting the preset floating power of the processor.
In the foregoing solution, the increasing and adjusting the preset floating power of the processor includes:
the short term floating power and the long term floating power of the processor are simultaneously increased.
In the above scheme, the increasing and adjusting the preset floating power of the processor includes at least one of:
step-by-step increasing and adjusting the preset floating power of the processor;
increasing and adjusting the preset floating power of the processor by a preset adjustment amount, wherein the preset adjustment amount is greater than the adjustment amount of the stepping increasing and adjusting;
adjusting the preset floating power of the processor to a fixed value.
In the foregoing solution, the adjusting long-term floating power or short-term floating power in preset floating power of the electronic device according to an event corresponding to the processor of the electronic device and statistical information of power characteristics of the processor in the event includes:
determining the recurrence rate of events with the same power consumption characteristics according to the events corresponding to the processors and the statistical information of the power characteristics of the processors in the events;
and when the recurrence rate of the event reaches a recurrence rate threshold, adjusting the preset floating power of the processor according to the power consumption characteristics corresponding to the recurrence rate.
In the foregoing solution, when the recurrence rate of the event reaches a recurrence rate threshold, adjusting the preset floating power of the processor according to a power consumption characteristic corresponding to the recurrence rate includes:
the recurrence rates of events having the same power consumption characteristics comprise recurrence rates in different dimensions;
and when the recurrence rate of the event reaches the recurrence rate threshold of the target dimension, adjusting the long-term floating power or the short-term floating power in the preset floating power of the electronic equipment according to the power consumption characteristics corresponding to the recurrence rate of the corresponding dimension.
In the foregoing solution, when the recurrence rate of the event reaches the recurrence rate threshold of the target dimension, adjusting, by the processor, the long-term floating power or the short-term floating power in the preset floating power of the electronic device according to the power consumption characteristic corresponding to the recurrence rate of the corresponding dimension, includes:
the adjustment dimension is a time adjustment dimension,
and when the recurrence rate of the event with the same processor power characteristic at the same moment in a plurality of statistical periods reaches a first recurrence rate threshold, setting the long-time floating power and the short-time floating power corresponding to the processor power characteristic as the floating power at the corresponding moment.
In the foregoing solution, when the recurrence rate of the event reaches the recurrence rate threshold of the target dimension, adjusting the preset floating power of the processor according to the power consumption characteristic corresponding to the recurrence rate of the corresponding dimension, includes:
the adjustment dimension is a temperature adjustment dimension,
and when the recurrence rate of the event with the same processor power characteristic at the same moment in at least one statistical period reaches a second recurrence rate threshold, setting the long-term floating power and the short-term floating power corresponding to the processor power characteristic at the same temperature as the preset floating power of the processor.
In the foregoing solution, when the recurrence rate of the event reaches the recurrence rate threshold of the target dimension, adjusting the preset floating power of the processor according to the power consumption characteristic corresponding to the recurrence rate of the corresponding dimension, includes:
the adjustment dimension is a logical adjustment dimension,
when the recurrence rate of an event with the same processor power characteristic and an associated event which is the same as the event in at least one statistical period reaches a third recurrence rate threshold, setting long-time floating power and short-time floating power corresponding to N +1 events in the logic adjustment dimension as preset floating power of the processor;
and N is a positive integer greater than 1.
An embodiment of the present application further provides an adjusting apparatus, including:
the information acquisition module is used for acquiring preset floating power of the electronic equipment, wherein the preset floating power comprises long-time floating power and short-time floating power, and the floating power is used for representing that the processor is accelerated to power matched with a current processed event;
and the processing module is used for adjusting the long-term floating power or the short-term floating power in the preset floating power of the electronic equipment according to the event corresponding to the electronic equipment processor and the statistical information of the power characteristics of the processor in the event so as to realize that the real-time power of the electronic equipment processor adapts to the corresponding event processed by the processor.
In the above scheme, the processing module is configured to determine a recurrence rate of events with the same power consumption characteristics according to an event corresponding to the processor and statistical information of power characteristics of the processor in the event;
the processing module is configured to adjust a long-term floating power or a short-term floating power of preset floating powers of the processor based on the parameter information of the electronic device when the recurrence rate of the event is lower than a recurrence rate threshold.
In the above scheme, the processing module is configured to count the real-time power of the processor at fixed time intervals;
and the processing module is used for adjusting the long-term floating power or the short-term floating power in the preset floating power of the electronic equipment according to the statistical result of the real-time power information of the processor and the shell temperature of the electronic equipment.
In the foregoing solution, the processing module is configured to increase and adjust the preset floating power of the processor when the real-time power of the processor is greater than or equal to the second long-term floating power maximum value of the processor and the case temperature of the electronic device is higher than the case set temperature of the electronic device in the statistical result of the real-time power information of the processor.
In the foregoing solution, the processing module is configured to adjust the short-time floating power of the processor to an initial default short-time floating power of the processor, and increase a maximum long-time floating power of the processor.
In the foregoing solution, the processing module is configured to increase and adjust the preset floating power of the processor when the real-time power of the processor appears in the statistical result of the real-time power information of the processor, where the real-time power of the processor is smaller than the first long-term floating power minimum value of the processor and larger than the first long-term floating power maximum value of the processor, and the case temperature of the electronic device is higher than the case set temperature of the electronic device.
In the above-mentioned scheme, the first step of the method,
the processing module is used for increasing the short-time floating power of the processor and adjusting the long-time floating power of the processor to the initial default long-time floating power of the processor.
In the foregoing solution, the processing module is configured to increase and adjust the preset floating power of the processor when the real-time power of the processor is greater than or equal to the first long-term floating power minimum value of the processor and greater than the first long-term floating power maximum value of the processor in the statistical result of the real-time power information of the processor, and the case temperature of the electronic device is higher than the case set temperature of the electronic device.
In the foregoing solution, the processing module is configured to increase the short-term floating power and the long-term floating power of the processor at the same time.
In the above scheme, the processing module is configured to perform step-by-step increase adjustment on a preset floating power of the processor;
increasing and adjusting the preset floating power of the processor by a preset adjustment amount, wherein the preset adjustment amount is greater than the adjustment amount of the stepping increasing and adjusting;
and adjusting the preset floating power of the processor to a fixed value.
In the above scheme, the processing module is configured to determine a recurrence rate of events with the same power consumption characteristics according to an event corresponding to the processor and statistical information of power characteristics of the processor in the event;
and the processing module is used for adjusting the preset floating power of the processor according to the power consumption characteristic corresponding to the recurrence rate when the recurrence rate of the event reaches a recurrence rate threshold value.
In the above scheme, the recurrence rates of the events with the same power consumption characteristics include recurrence rates in different dimensions;
and the processing module is used for adjusting and adjusting the long-term floating power or the short-term floating power in the preset floating power of the electronic equipment according to the power consumption characteristic corresponding to the recurrence rate of the corresponding dimension when the recurrence rate of the event reaches the recurrence rate threshold of the target dimension.
In the above scheme, the adjustment dimension is a time adjustment dimension,
the processing module is used for setting the long-time floating power and the short-time floating power corresponding to the processor power characteristics as the floating power at the corresponding time when the recurrence rate of the event with the same processor power characteristics at the same time in a plurality of statistical cycles reaches a first recurrence rate threshold value.
In the above scheme, the adjustment dimension is a temperature adjustment dimension,
the processing module is configured to set a long-term floating power and a short-term floating power corresponding to the processor power characteristic at the same temperature as a preset floating power of the processor when a recurrence rate of an event having the same processor power characteristic at the same time in at least one statistical period reaches a second recurrence rate threshold.
In the above scheme, the adjustment dimension is a logical adjustment dimension,
the processing module is configured to set long-term floating power and short-term floating power corresponding to N +1 events in the logic adjustment dimension as preset floating power of the processor when a recurrence rate of an event having the same processor power characteristic and an associated event identical to the event in at least one statistical period reaches a third recurrence rate threshold; and N is a positive integer greater than 1.
In the embodiment of the application, the long-term floating power or the short-term floating power in the preset floating power of the electronic equipment is adjusted according to the event corresponding to the electronic equipment processor and the statistical information of the power characteristics of the processor in the event, so that the floating power of the processor can be flexibly and timely adjusted, and the processor is more suitable for the working environment and the bearing task type.
Drawings
Fig. 1 is a schematic flow chart of an optional adjustment method provided in the embodiment of the present application;
fig. 2 is a schematic flow chart of an optional adjustment method provided in the embodiment of the present application;
fig. 3 is a schematic diagram of a use state in an adjustment method according to an embodiment of the present application;
fig. 4 is a schematic diagram of a use state in an adjustment method according to an embodiment of the present application;
fig. 5 is a schematic diagram of a use state in an adjustment method according to an embodiment of the present application;
fig. 6 is a schematic diagram of a use state in an adjustment method according to an embodiment of the present application;
fig. 7 is a schematic diagram of a use state in an adjustment method according to an embodiment of the present application;
fig. 8 is a schematic diagram of a use state in an adjustment method according to an embodiment of the present application;
fig. 9 is an alternative flow chart of the adjustment method according to the embodiment of the present application;
fig. 10 is a schematic view of an alternative structure of an adjusting device according to an embodiment of the present disclosure;
fig. 11 is an alternative structural schematic diagram of an adjusting device provided in an embodiment of the present application.
Detailed Description
In order to make the objectives, technical solutions and advantages of the present application clearer, the present application will be described in further detail with reference to the attached drawings, the described embodiments should not be considered as limiting the present application, and all other embodiments obtained by a person of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of the present application only and is not intended to be limiting of the application.
It should be noted that in the embodiments of the present application, the terms "comprises", "comprising" or any other variation thereof are intended to cover a non-exclusive inclusion, so that a method or apparatus including a series of elements includes not only the explicitly recited elements but also other elements not explicitly listed or inherent to the method or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other related elements in a method or apparatus including the element (e.g., steps in a method or elements in an apparatus, such as units that may be part of a circuit, part of a processor, part of a program or software, etc.).
For example, although the adjustment method provided in the embodiment of the present application includes a series of steps, the adjustment method provided in the embodiment of the present application is not limited to the described steps, and similarly, the apparatus provided in the embodiment of the present application includes a series of units, but the apparatus provided in the embodiment of the present application is not limited to include the explicitly described units, and may include units that are required to acquire related information or perform processing based on the information. It should be noted that in the following description, reference is made to "some embodiments" which describe a subset of all possible embodiments, but it is understood that "some embodiments" may be the same subset or different subsets of all possible embodiments, and may be combined with each other without conflict.
Before further detailed description of the embodiments of the present application, terms and expressions referred to in the embodiments of the present application will be described, and the terms and expressions referred to in the embodiments of the present application will be used for the following explanation.
1) And presetting floating power, wherein the presetting floating power comprises long-time floating power and short-time floating power, and the floating power is used for representing the power of the electronic equipment processor accelerated to match the current processed event. It should be noted that different processors produced by different processor manufacturers have different representations of the preset floating power, for example, the floating power in an Intel processor may be referred to as the Rui frequency TB (turbo boost), and the floating power in an AMD processor may be referred to as the Rui frequency TC (turbo core).
2) The long-time floating power is used for representing that when some running programs are run, the processor can automatically accelerate to proper power and keep the power in corresponding time so as to ensure the smooth running of the programs; when dealing with complex applications.
3) The short-time floating power is characterized in that when some running programs are started or run, the processor automatically accelerates to a proper power and maintains the power for a corresponding time, wherein the time is less than the time for which the long-time floating power is maintained, so that smooth starting of the programs is ensured. During use with the long term floating power, the controller may first attempt to adjust the short term floating power of the processor.
The following describes an exemplary application of an apparatus implementing an embodiment of the present application, and the apparatus provided in the embodiment of the present application may be implemented as various types of electronic devices with a power adjustment function, such as a tablet computer, a notebook computer, a central processing unit, and the like.
Fig. 1 is a schematic view of an optional flow in an adjustment method provided in an embodiment of the present application, and as shown in fig. 1, an optional flow in the adjustment method provided in the embodiment of the present application includes the following steps:
step 101: and obtaining the preset floating power of the electronic equipment.
The preset floating power comprises a long-time floating power and a short-time floating power, and the floating power is used for representing the power of the electronic equipment processor accelerated to match the current processed event;
step 102: and adjusting the long-time floating power or the short-time floating power in the preset floating power of the electronic equipment according to the event corresponding to the processor of the electronic equipment and the statistical information of the power characteristics of the processor in the event.
In an embodiment of the application, the adjusting long-term floating power or short-term floating power in preset floating power of the electronic device according to an event corresponding to the processor of the electronic device and statistical information of power characteristics of the processor in the event includes:
determining the recurrence rate of events with the same power consumption characteristics according to the events corresponding to the processors and the statistical information of the power characteristics of the processors in the events; and when the recurrence rate of the event is lower than a recurrence rate threshold, adjusting long-term floating power or short-term floating power in preset floating power of the processor based on the parameter information of the electronic equipment.
Further, in an embodiment of the present application, adjusting a long-term floating power or a short-term floating power of preset floating powers of the electronic device includes:
and only adjusting the long-time floating power in the preset floating power of the processor and keeping the short-time floating power unchanged.
Further, in an embodiment of the present application, adjusting a long-term floating power or a short-term floating power of preset floating powers of the electronic device includes:
and only adjusting the short-time floating power in the preset floating power of the processor and keeping the long-time floating power unchanged.
Further, in an embodiment of the present application, adjusting a long-term floating power or a short-term floating power of preset floating powers of the electronic device includes:
and simultaneously adjusting the short-term floating power and the long-term floating power in the preset floating power of the processor.
According to the technical scheme shown in the embodiment, the real-time power of the electronic device processor is adapted to the corresponding event processed by the processor by adjusting the long-time floating power or the short-time floating power in the preset floating power of the electronic device. The processor floating power can be flexibly and timely adjusted, and the long-time floating power and/or the short-time floating power can be selectively adjusted according to different use conditions, so that the processor is more suitable for the working environment and the bearing task type.
Fig. 2 is a schematic view of an optional flow in an adjustment method provided in the embodiment of the present application, and as shown in fig. 2, an optional flow in the adjustment method provided in the embodiment of the present application includes the following steps:
step 201: and obtaining the preset floating power of the electronic equipment.
The preset floating power comprises a long-time floating power and a short-time floating power, and the floating power is used for representing the power of the electronic equipment processor accelerated to match the current processed event;
step 202: determining the recurrence rate of events with the same power consumption characteristics according to the events corresponding to the processors and the statistical information of the power characteristics of the processors in the events;
step 203: judging whether the recurrence rate of the event reaches a recurrence rate threshold, if so, executing step 204, otherwise, executing step 205;
step 204: and when the recurrence rate of the event reaches a recurrence rate threshold, adjusting the preset floating power of the processor according to the power consumption characteristics corresponding to the recurrence rate.
Step 205: and when the recurrence rate of the event is lower than a recurrence rate threshold, adjusting long-term floating power or short-term floating power in preset floating power of the processor based on the parameter information of the electronic equipment.
In an embodiment of the application, the adjusting long-term floating power or short-term floating power of preset floating power of the electronic device based on the parameter information of the electronic device includes:
counting real-time power of the processor at fixed time intervals; and adjusting the long-term floating power or the short-term floating power in the preset floating power of the electronic equipment according to the statistical result of the real-time power information of the processor and the shell temperature of the electronic equipment. Through the technical scheme shown in this embodiment, the controller of the electronic device can count the real-time power of the processor, because the power of the processor of the electronic device is different when the processor processes different events, when the temperature of the shell of the electronic device is too high, the safe operation of the processor of the electronic device is influenced, and therefore, the temperature of the shell of the electronic device can be ensured to be at a safe level by adjusting the long-term floating power or the short-term floating power in the preset floating power of the electronic device, and the safe operation of the electronic device is ensured.
In an embodiment of the application, the adjusting long-term floating power or short-term floating power of preset floating power of the electronic device according to a statistical result of real-time power information of the processor and a case temperature of the electronic device includes:
and when the real-time power of the processor is greater than or equal to the second long-time floating power maximum value of the processor and the case temperature of the electronic equipment is higher than the case set temperature of the electronic equipment, increasing and adjusting the preset floating power of the processor. Through the technical scheme shown in the embodiment, when the casing temperature of the electronic device is higher than the casing set temperature of the electronic device, it is indicated that the real-time floating power of the processor is greater than or equal to the second long-time floating power maximum value of the processor, the current event cannot be processed, and therefore, the situation that the real-time floating power of the processor is in the two long-time floating power maximum value for a long time can be avoided through increasing and adjusting the preset floating power of the processor, so that the safe operation of the processor is ensured.
In an embodiment of the present application, the increasing and adjusting the preset floating power of the processor includes:
and adjusting the short-time floating power of the processor to the initial default short-time floating power of the processor, and increasing the maximum value of the long-time floating power of the processor. Through the technical scheme shown in the embodiment, in the process of starting and running some complex applications, the starting of the corresponding complex applications can be ensured by adjusting the power of the processor to the short-time floating power, and when the corresponding complex applications need to run and last for a period of time, the processor can be ensured to run the corresponding complex applications stably by adjusting the short-time floating power of the processor to the initial default short-time floating power of the processor and increasing the maximum value of the long-time floating power of the processor. Fig. 3 is a schematic diagram of a use state in an adjustment method according to an embodiment of the present application, and as shown in fig. 3, events processed in parallel by processors include: event 1, event 2, event 3 and event 4, wherein the change of the processor power required by the event 1, event 2, event 3 and event 4 along with the time is shown in the figure, the electronic device controller can determine that the event 1, event 2, event 3 and event 4 have finished starting by monitoring the power change of the processor, and needs the processor to be in a high power state for a long time, so that the processor can be ensured to smoothly run the event 1, event 2, event 3 and event 4 by adjusting the short-time floating power of the processor to the initial default short-time floating power of the processor and increasing the maximum value of the long-time floating power of the processor.
In an embodiment of the application, the adjusting long-term floating power or short-term floating power of preset floating power of the electronic device according to a statistical result of real-time power information of the processor and a case temperature of the electronic device includes:
and when the real-time power of the processor is smaller than the minimum value of the first long-term floating power of the processor and larger than the maximum value of the first long-term floating power of the processor in the statistical result of the real-time power information of the processor, and the case temperature of the electronic equipment is higher than the set case temperature of the electronic equipment, increasing and adjusting the preset floating power of the processor. According to the technical scheme shown in the embodiment, when the minimum value of the first long-term floating power of the processor is monitored to be larger than the maximum value of the first long-term floating power of the processor, and the casing temperature of the electronic equipment is higher than the casing set temperature of the electronic equipment, it is indicated that the preset floating power of the processor cannot meet the current event to be processed, and the processor can be guaranteed to continuously and safely process the complex application program by increasing and adjusting the preset floating power of the processor.
In an embodiment of the application, the increasing and adjusting the preset floating power of the processor includes:
increasing the short-time floating power of the processor, and adjusting the long-time floating power of the processor to the initial default long-time floating power of the processor. Through the technical scheme shown in the embodiment, the increase of the short-time floating power of the processor can ensure that the processor normally starts an application program which is more complex than the current processing event, and meanwhile, the long-time floating power of the processor is adjusted to the initial default long-time floating power of the processor, so that the processor can be prevented from being in a higher long-time floating power state for a long time, the power consumption of the processor is reduced, and the service life of the processor is effectively ensured. Fig. 4 is a schematic view of a use state in an adjustment method according to an embodiment of the present application, and as shown in fig. 4, events processed in parallel by processors include: and event 5 and event 6, wherein the change of the processor power required by the event 5 and event 6 and the change of the temperature of the shell of the corresponding electronic device along with time are shown in the figure, the electronic device controller can determine that the event 5 and event 6 need frequent starting by monitoring the power change of the processor, and the shell temperature of the electronic device can simultaneously change in the same trend in the starting process but does not need to continuously run, so that the controller of the electronic device can control the processor to increase the short-time floating power of the processor and adjust the long-time floating power of the processor to the initial default long-time floating power of the processor, thereby ensuring that the processor normally starts an application program which is more complicated than the current processing event.
In an embodiment of the application, the adjusting long-term floating power or short-term floating power of preset floating power of the electronic device according to a statistical result of real-time power information of the processor and a case temperature of the electronic device includes:
and when the real-time power of the processor is greater than or equal to the first long-time floating power minimum value of the processor and greater than the first long-time floating power maximum value of the processor in the statistical result of the real-time power information of the processor, and the case temperature of the electronic equipment is higher than the case set temperature of the electronic equipment, increasing and adjusting the preset floating power of the processor. According to the technical scheme shown in the embodiment, when the minimum value of the first long-term floating power of the processor is monitored to be larger than the maximum value of the first long-term floating power of the processor, and the casing temperature of the electronic equipment is higher than the casing set temperature of the electronic equipment, it is indicated that the preset floating power of the processor cannot meet the current event to be processed, and the processor can be guaranteed to continuously and safely process the complex application program by increasing and adjusting the preset floating power of the processor.
In an embodiment of the present application, the increasing and adjusting the preset floating power of the processor includes:
the short term floating power and the long term floating power of the processor are simultaneously increased. Through the technical scheme shown in the embodiment, when the processor needs to start a complex application program and runs the complex application program for a long time, the short-term floating power and the long-term floating power of the processor are simultaneously increased, so that the processor can be ensured to smoothly start the application program and can also be ensured to smoothly run the subsequent application program. Fig. 5 is a schematic view of a use state in an adjustment method according to an embodiment of the present application, and as shown in fig. 5, events processed by a processor include: an event 7, where the processor power required by the event 7 and the temperature change of the corresponding electronic device enclosure change with time as shown in fig. 5, and the electronic device controller may determine, by monitoring the power change of the processor, that the event 7 needs to be frequently started and continuously run, so that the short-term floating power and the long-term floating power of the processor are simultaneously increased, which may ensure that the processor smoothly starts the application program and may also ensure smooth running of the subsequent application program.
In one embodiment of the present application, the increasing and adjusting the preset floating power of the processor includes:
and step-by-step increasing and adjusting the preset floating power of the processor. Through the step-by-step increase adjustment shown in the embodiment, the processor can obtain the optimal floating power for processing different types of events, so that the service life of the processor is prevented from being shortened due to the fact that the floating power of the processor is adjusted greatly in a short time.
In an embodiment of the present application, the increasing and adjusting the preset floating power of the processor includes:
and increasing and adjusting the preset floating power of the processor by a preset adjustment amount, wherein the preset adjustment amount is greater than the adjustment amount of the stepping increasing and adjusting. Through the technical scheme shown in this embodiment, it is right to predetermine the adjustment volume it not only can realize fast right to increase the adjustment to the unsteady power of predetermineeing of treater the adjustment of the unsteady power of treater can avoid moreover because in the short time will the unsteady power of treater adjusts by a wide margin and causes the life of treater subtracts the weak point.
In one embodiment of the present application, the increasing and adjusting the preset floating power of the processor includes:
adjusting the preset floating power of the processor to a fixed value. Through the technical scheme shown in the embodiment, the preset floating power of the processor is adjusted to a fixed value, the preset floating power of the processor can be quickly adjusted, and when the processor processes a fixed complex application program or a complex event, the waiting time of a user can be effectively reduced.
In an embodiment of the application, the adjusting long-term floating power or short-term floating power in preset floating power of the electronic device according to an event corresponding to the processor of the electronic device and statistical information of power characteristics of the processor in the event includes:
determining the recurrence rate of events with the same power consumption characteristics according to the events corresponding to the processors and the statistical information of the power characteristics of the processors in the events;
and when the recurrence rate of the event reaches a recurrence rate threshold, adjusting the preset floating power of the processor according to the power consumption characteristics corresponding to the recurrence rate. Because the electronic device may process the same event at different times during the operation process, the preset floating power of the processor is adjusted according to the power consumption characteristic corresponding to the recurrence rate when the recurrence rate of the event reaches the recurrence rate threshold value as shown in this embodiment, so that the floating power of the processor can be effectively adjusted flexibly and timely, the processor is more suitable for the working environment and the type of the bearing task, the unstable operation of the processor caused by frequently adjusting the processor can be avoided, and the service life of the processor is effectively prolonged. Meanwhile, the preset floating power of the processor is adjusted according to the power consumption characteristic corresponding to the recurrence rate, so that the adjustment of the intelligent telephone of the floating power of the processor can be realized, the waiting time of a user is saved, and the use experience of the user is improved.
In an embodiment of the application, when the recurrence rate of the event reaches a recurrence rate threshold, adjusting a preset floating power of the processor according to a power consumption characteristic corresponding to the recurrence rate includes:
the recurrence rates of events having the same power consumption characteristics comprise recurrence rates in different dimensions; and when the recurrence rate of the event reaches the recurrence rate threshold of the target dimension, adjusting the long-term floating power or the short-term floating power in the preset floating power of the electronic equipment according to the power consumption characteristics corresponding to the recurrence rate of the corresponding dimension. Therefore, according to the technical scheme shown in this embodiment, when the recurrence rate of the event reaches the recurrence rate threshold of the target dimension, the long-term floating power or the short-term floating power in the preset floating power of the electronic device is adjusted according to the power consumption characteristic corresponding to the recurrence rate of the corresponding dimension, so that the processor of the electronic device can be quickly adjusted to a state of processing the corresponding event, and long-term waiting of a user is avoided.
In an embodiment of the application, when the recurrence rate of the event reaches a recurrence rate threshold of a target dimension, adjusting a long-term floating power or a short-term floating power of the preset floating power of the electronic device by the processor according to a power consumption characteristic corresponding to the recurrence rate of the corresponding dimension, includes:
the adjustment dimension is a time adjustment dimension,
and when the recurrence rate of the event with the same processor power characteristic at the same moment in a plurality of statistical periods reaches a first recurrence rate threshold, setting the long-time floating power and the short-time floating power corresponding to the processor power characteristic as the floating power at the corresponding moment. Therefore, by setting the long-time floating power and the short-time floating power corresponding to the power characteristics of the processor as the floating powers at the corresponding time points when the recurrence rate at the same time point in a plurality of statistical cycles reaches the first recurrence rate threshold value, the processor of the electronic device can automatically adjust the floating powers to adapt to different events to be periodically processed by the processor at different time points. Fig. 6 is a schematic usage state diagram in the adjustment method according to the embodiment of the present application, as shown in fig. 6, during a process of processing different events by an electronic device, when the different events may be periodically processed within 24 hours, and when a recurrence rate at the same time in a plurality of statistical periods reaches a first recurrence rate threshold, a long-time floating power and a short-time floating power corresponding to a power characteristic of a processor are set as floating powers at corresponding times, and preset floating powers of the electronic device processor at different times of each day may be set in an electronic device system to adapt to different events to be processed by the electronic device processor at different times.
In an embodiment of the present application, when the recurrence rate of the event reaches a recurrence rate threshold of a target dimension, adjusting a preset floating power of the processor according to a power consumption characteristic corresponding to the recurrence rate of the corresponding dimension, includes:
the adjustment dimension is a temperature adjustment dimension,
and when the recurrence rate of the event with the same processor power characteristic at the same moment in at least one statistical period reaches a second recurrence rate threshold, setting the long-term floating power and the short-term floating power corresponding to the processor power characteristic at the same temperature as the preset floating power of the processor. In the process of processing different event combinations in the use process of the electronic device processor, the real-time power of the processor may be the same, or the environment where the processor is located may be the same, so that the requirement of the processor for floating power in different use environments or different event combination states can be met by setting the long-time floating power and the short-time floating power corresponding to the power characteristics of the processor at the same temperature as the preset floating power of the processor. Fig. 7 is a schematic usage state diagram in the adjustment method according to the embodiment of the present application, as shown in fig. 7, in a process that an electronic device processes different events, and in different times of each year, temperatures of enclosures of the electronic device are different due to different powers, and a long-time floating power and a short-time floating power corresponding to power characteristics of a processor at the same temperature are set as a preset floating power of the processor, so that the electronic device can adapt to more different usage environments.
In an embodiment of the present application, when the recurrence rate of the event reaches a recurrence rate threshold of a target dimension, adjusting a preset floating power of the processor according to a power consumption characteristic corresponding to the recurrence rate of the corresponding dimension, includes:
the adjustment dimension is a logical adjustment dimension that,
when the recurrence rate of an event with the same processor power characteristic and an associated event which is the same as the event in at least one statistical period reaches a third recurrence rate threshold, setting long-time floating power and short-time floating power corresponding to N +1 events in the logic adjustment dimension as preset floating power of the processor; and N is a positive integer greater than 1. In the process of processing different events, the processing sequence of the different events may have a logical relationship, that is, the current event to be processed and the event to be processed have an association relationship, when the recurrence rate in at least one statistical period reaches a third recurrence rate threshold, the long-term floating power and the short-term floating power corresponding to N +1 events in the logical adjustment dimension are set as the preset floating power of the processor, so that the floating power of the processor can be flexibly and timely adjusted, and in the process of processing the associated events, the floating power of the processor does not need to be frequently adjusted to adapt to the associated event to be processed. Fig. 8 is a schematic usage state diagram in the adjustment method according to the embodiment of the present application, as shown in fig. 8, in a process that the electronic device processes different events, because different events may have different logical relationships, for example, when the electronic device processes a payment information request, a payment verification program associated with the electronic device is inevitably started, and long-term floating power and/or short-term floating power corresponding to N +1 events in the logical adjustment dimension are set as the preset floating power of the processor, so that flexible and timely adjustment of the floating power of the processor is achieved.
Fig. 9 is a schematic view of an optional flow in the adjustment method provided in the embodiment of the present application, and as shown in fig. 9, an optional flow step in the adjustment method provided in the embodiment of the present application is as follows:
step 901: the preset floating power and the 5-time real-time power of the electronic device are obtained within a fixed time interval.
Step 902: judging whether the recurrence rate of the processed event reaches a recurrence rate threshold value of 90%, if so, executing a step 903, otherwise, executing a step 904;
step 903: and the controller adjusts according to a preset adjusting strategy.
Step 904: judging whether the real-time power of the processor is larger than the maximum value of the long-term floating power, if so, executing a step 905, otherwise, executing a step 907;
step 905: judging whether the temperature of the processor is lower than the real-time temperature of the shell of the electronic equipment, if so, executing a step 906, otherwise, executing a step 908;
step 906: and adjusting the short-time floating power to a default value, and increasing the maximum value of the long-time floating power by 1W.
Step 907: judging whether the real-time power of the processor is larger than the maximum value of the long-term floating power and smaller than the minimum value of the long-term floating power, if so, executing a step 908, otherwise, executing a step 910;
step 908: judging whether the temperature of the processor is less than the real-time temperature of the shell of the electronic equipment, if so, executing a step 909, otherwise, executing a step 913;
step 909: the long-time floating power is adjusted to a default value, and the short-time floating power is increased by 2W.
Step 910: judging whether the real-time power of the processor is larger than or equal to the minimum value of the long-term floating power and larger than the maximum value of the long-term floating power, if so, executing step 911, otherwise, executing step 913;
step 911: judging whether the temperature of the processor is lower than the real-time temperature of the shell of the electronic equipment, if so, executing step 912, otherwise, executing step 913;
step 912: adjusting the long-term floating power to 25W; the short floating power is adjusted to 35W.
Step 913: and continuing monitoring.
Fig. 10 is a schematic view of an alternative composition structure of an adjusting apparatus provided in an embodiment of the present application, and as shown in fig. 10, an alternative composition structure of an adjusting apparatus provided in an embodiment of the present application includes:
an information obtaining module 1001, configured to obtain preset floating power of an electronic device, where the preset floating power includes a long-time floating power and a short-time floating power, and the floating power is used to represent that the processor accelerates to a power matching a current processed event;
the processing module 1002 is configured to adjust a long-term floating power or a short-term floating power in preset floating powers of the electronic device according to an event corresponding to the electronic device processor and statistical information of power characteristics of the processor in the event, so as to enable the real-time power of the electronic device processor to adapt to a corresponding event processed by the processor.
In an embodiment of the present application, the processing module 1002 is configured to determine, according to an event corresponding to the processor and statistical information of power characteristics of the processor in the event, a recurrence rate of events with the same power consumption characteristics; the processing module 1002 is configured to adjust a long-term floating power or a short-term floating power in preset floating powers of the processor based on the parameter information of the electronic device when the recurrence rate of the event is lower than a recurrence rate threshold.
In an embodiment of the present application, the processing module 1002 is configured to count real-time power of the processor at fixed time intervals;
the processing module 1002 is configured to adjust a long-term floating power or a short-term floating power in preset floating power of the electronic device according to a statistical result of the real-time power information of the processor and a case temperature of the electronic device. Through the technical scheme shown in this embodiment, the controller of the electronic device can count the real-time power of the processor, because the power of the processor of the electronic device is different when the processor processes different events, when the temperature of the shell of the electronic device is too high, the safe operation of the processor of the electronic device is influenced, and therefore, the temperature of the shell of the electronic device can be ensured to be at a safe level by adjusting the long-term floating power or the short-term floating power in the preset floating power of the electronic device, and the safe operation of the electronic device is ensured.
In an embodiment of the present application, the processing module 1002 is configured to increase and adjust a preset floating power of the processor when the real-time power of the processor is greater than or equal to a second long-term floating power maximum value of the processor and a case temperature of the electronic device is higher than a case set temperature of the electronic device occurs in a statistical result of real-time power information of the processor. Through the technical scheme shown in the embodiment, when the casing temperature of the electronic device is higher than the casing set temperature of the electronic device, it is indicated that the real-time floating power of the processor is greater than or equal to the second long-time floating power maximum value of the processor, the current event cannot be processed, and therefore, the situation that the real-time floating power of the processor is in the two long-time floating power maximum value for a long time can be avoided through increasing and adjusting the preset floating power of the processor, so that the safe operation of the processor is ensured.
In an embodiment of the present application, the processing module 1002 is configured to adjust the short-time floating power of the processor to an initial default short-time floating power of the processor, and increase a maximum long-time floating power of the processor. Through the technical scheme shown in the embodiment, in the process of starting and running some complex applications, the starting of the corresponding complex applications can be ensured by adjusting the power of the processor to the short-time floating power, and when the corresponding complex applications need to run and last for a period of time, the processor can be ensured to run the corresponding complex applications stably by adjusting the short-time floating power of the processor to the initial default short-time floating power of the processor and increasing the maximum value of the long-time floating power of the processor.
In an embodiment of the present application, the processing module 1002 is configured to increase and adjust the preset floating power of the processor when the real-time power of the processor is smaller than the first long-term floating power minimum value of the processor and larger than the first long-term floating power maximum value of the processor in the statistical result of the real-time power information of the processor, and the case temperature of the electronic device is higher than the case setting temperature of the electronic device. According to the technical scheme shown in the embodiment, when the minimum value of the first long-term floating power of the processor is monitored to be larger than the maximum value of the first long-term floating power of the processor, and the casing temperature of the electronic equipment is higher than the casing set temperature of the electronic equipment, it is indicated that the preset floating power of the processor cannot meet the current event to be processed, and the processor can be guaranteed to continuously and safely process the complex application program by increasing and adjusting the preset floating power of the processor.
In an embodiment of the present application, the processing module 1002 is configured to increase the short-term floating power of the processor and adjust the long-term floating power of the processor to the initial default long-term floating power of the processor. Through the technical scheme shown in the embodiment, the increase of the short-time floating power of the processor can ensure that the processor normally starts an application program which is more complex than the current processing event, and meanwhile, the long-time floating power of the processor is adjusted to the initial default long-time floating power of the processor, so that the processor can be prevented from being in a higher long-time floating power state for a long time, the power consumption of the processor is reduced, and the service life of the processor is effectively ensured.
In an embodiment of the present application, the processing module 1002 is configured to increase and adjust the preset floating power of the processor when the real-time power of the processor is greater than or equal to the first long-term floating power minimum value of the processor and greater than the first long-term floating power maximum value of the processor in the statistical result of the real-time power information of the processor, and the case temperature of the electronic device is higher than the case setting temperature of the electronic device. Through the technical scheme shown in the embodiment, when the minimum value of the first long-term floating power of the processor is monitored to be larger than the maximum value of the first long-term floating power of the processor, and the case temperature of the electronic equipment is higher than the set case temperature of the electronic equipment, the situation that the preset floating power of the processor cannot meet the current event to be processed is shown, and the processor can be ensured to continue to process the complex application program safely by increasing and adjusting the preset floating power of the processor.
In an embodiment of the present application, the processing module 1002 is configured to increase the short-term floating power and the long-term floating power of the processor at the same time. Through the technical scheme shown in the embodiment, when the processor needs to start a complex application program and runs the complex application program for a long time, the short-term floating power and the long-term floating power of the processor are simultaneously increased, so that the processor can be ensured to smoothly start the application program and can also be ensured to smoothly run the subsequent application program.
In an embodiment of the present application, the processing module 1002 is configured to perform a step-by-step increase adjustment on a preset floating power of the processor;
the processing module 1002 is configured to increase and adjust a preset floating power of the processor by a preset adjustment amount, where the preset adjustment amount is greater than an adjustment amount of the step-wise increase and adjustment;
the processing module 1002 is configured to adjust a preset floating power of the processor to a fixed value.
In an embodiment of the present application, the processing module is configured to determine, according to an event corresponding to the processor and statistical information of power characteristics of the processor in the event, a recurrence rate of events with the same power consumption characteristics;
the processing module 1002 is configured to, when the recurrence rate of the event reaches a recurrence rate threshold, adjust a preset floating power of the processor according to a power consumption characteristic corresponding to the recurrence rate. Through the technical scheme shown in the embodiment, the preset floating power of the processor is increased and adjusted by the preset adjustment amount, so that the adjustment of the preset floating power of the processor can be quickly realized, and the reduction of the service life of the processor caused by the fact that the floating power of the processor is adjusted greatly in a short time can be avoided.
In one embodiment of the application, the recurrence rates of events having the same power consumption characteristics comprise recurrence rates in different dimensions;
the processing module 1002 is configured to adjust a long-term floating power or a short-term floating power in preset floating powers of the electronic device according to a power consumption characteristic corresponding to a recurrence rate of a corresponding dimension when the recurrence rate of the event reaches a recurrence rate threshold of a target dimension.
In one embodiment of the present application, the adjustment dimension is a time adjustment dimension,
the processing module 1002 is configured to set a long-term floating power and a short-term floating power corresponding to the processor power characteristic as floating powers at corresponding times when a recurrence rate of an event with the same processor power characteristic at the same time in a plurality of statistical periods reaches a first recurrence rate threshold. Therefore, by setting the long-time floating power and the short-time floating power corresponding to the power characteristics of the processor as the floating powers at the corresponding time points when the recurrence rate at the same time point in a plurality of statistical cycles reaches the first recurrence rate threshold value, the processor of the electronic device can automatically adjust the floating powers to adapt to different events to be periodically processed by the processor at different time points.
In one embodiment of the present application, the adjustment dimension is a temperature adjustment dimension,
the processing module 1002 is configured to set, as the preset floating power of the processor, the long-term floating power and the short-term floating power that correspond to the processor power characteristic at the same temperature when the recurrence rate of an event with the same processor power characteristic at the same time in at least one statistical cycle reaches a second recurrence rate threshold. In the process of processing different event combinations in the use process of the electronic device processor, the real-time power of the processor may be the same, or the environment where the processor is located may be the same, so that the requirement of the processor for floating power in different use environments or different event combination states can be met by setting the long-time floating power and the short-time floating power corresponding to the power characteristics of the processor at the same temperature as the preset floating power of the processor.
In one embodiment of the present application, the adjustment dimension is a logical adjustment dimension,
the processing module 1002 is configured to set, as preset floating power of the processor, long-term floating power and short-term floating power corresponding to N +1 events in the logic adjustment dimension when a recurrence rate of an event having the same processor power characteristic and an associated event that is the same as the event in at least one statistical cycle reaches a third recurrence rate threshold; and N is a positive integer greater than 1. In the process of processing different events, the processing sequence of the different events may have a logical relationship, that is, the current event to be processed and the event to be processed have an association relationship, when the recurrence rate in at least one statistical period reaches a third recurrence rate threshold, the long-term floating power and the short-term floating power corresponding to N +1 events in the logical adjustment dimension are set as the preset floating power of the processor, so that the floating power of the processor can be flexibly and timely adjusted, and in the process of processing the associated events, the floating power of the processor does not need to be frequently adjusted to adapt to the associated event to be processed.
Fig. 11 is an alternative structural schematic diagram of the adjustment apparatus provided in the embodiment of the present application, and as shown in fig. 11, the adjustment apparatus 1100 may be a portable analyzer, a medical device with a monitoring information output function, or the like. The adjustment device 1100 shown in fig. 11 includes: at least one processor 1101, memory 1102, at least one network interface 1104, and a user interface 1103. The various components in the adjustment device 1100 are coupled together by a bus system 1105. It is understood that the bus system 1105 is used to enable communications among the components. The bus system 1105 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled in fig. 11 as the bus system 1105.
The user interface 1103 may include, among other things, a display, a keyboard, a mouse, a trackball, a click wheel, a key, a button, a touch pad, or a touch screen.
It will be appreciated that the memory 1102 can be either volatile memory or nonvolatile memory, or can include both volatile and nonvolatile memory. Among them, the nonvolatile Memory may be a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), a magnetic random access Memory (FRAM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical disk, or a Compact Disc Read-Only Memory (CD-ROM); the magnetic surface storage may be disk storage or tape storage. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of illustration and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM), Enhanced Synchronous Dynamic Random Access Memory (Enhanced DRAM), Synchronous Dynamic Random Access Memory (SLDRAM), Direct Memory (DRmb Access), and Random Access Memory (DRAM). The memory 1102 described in connection with the embodiments of the subject application is intended to comprise these and any other suitable types of memory.
The memory 1102 in the present embodiment includes, but is not limited to: the ternary content addressable memory, static random access memory, is capable of storing the received monitoring information, the resulting variety of data to support the operation of the regulating device 1100, and the like. Examples of such data include: any computer programs for operating on the tuning device 1100, such as an operating system 11021 and application programs 11022, monitoring parameters, power information, and the like. The operating system 11021 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, for implementing various basic services and processing hardware-based tasks. The application programs 11022 may include various application programs such as a client with an information processing function, or an application program, etc., for implementing operations including: acquiring monitoring parameters and outputting various application services including processing indication information corresponding to the monitoring parameters. Programs that implement the corresponding operations of the present embodiment may be included in application programs 11022.
The method disclosed in the embodiments of the present application may be applied to the processor 1101, or implemented by the processor 1101. The processor 1101 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by operations in the form of hardware integrated logic circuits or software in the processor 1101. The Processor 1101 described above may be a general purpose Processor, a Digital Signal Processor (DSP), or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. The processor 1101 may implement or perform the methods, steps and logic blocks disclosed in the embodiments of the present application. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed in the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software processors in the decoding processor. The software processor may reside in a storage medium that resides in the memory 1102, and the processor 1101 reads the information in the memory 1102 in conjunction with its hardware to perform the corresponding steps previously described.
In an exemplary embodiment, the monitoring information output system 1100 may be implemented by one or more Application Specific Integrated Circuits (ASICs), DSPs, Programmable Logic Devices (PLDs), Complex Programmable Logic Devices (CPLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, Micro Controllers (MCUs), microprocessors (microprocessors), or other electronic components configured to perform the monitoring information output method.
In an exemplary embodiment, the present application further provides a computer readable storage medium, such as a memory 1102 including a computer program, which can be executed by a processor 1101 of the monitoring information output system 1100 to perform the steps of the foregoing method. The computer readable storage medium can be Memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface Memory, optical disk, or CD-ROM; or may be various devices, such as a portable analyzer, etc., including one or any combination of the above-described memories.
Embodiments of the present application further provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, performs:
obtaining preset floating power of the electronic equipment, wherein the preset floating power comprises long-time floating power and short-time floating power, and the floating power is used for representing the power of the electronic equipment processor accelerated to match with the current processed event;
and adjusting the long-term floating power or the short-term floating power in the preset floating power of the electronic equipment according to the event corresponding to the electronic equipment processor and the statistical information of the power characteristics of the processor in the event so as to realize that the real-time power of the electronic equipment processor adapts to the corresponding event processed by the processor.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, embodiments of the present application may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including magnetic disk storage, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present application are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program operations. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the operations performed by the processor of the computer or other programmable data processing apparatus produce means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program operations may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the operations stored in the computer-readable memory produce an article of manufacture including operating means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program operations may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the operations executed on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only for the purpose of illustrating the preferred embodiments of the present application and is not intended to limit the scope of the present application, and any modifications, equivalents, improvements, etc. made within the spirit and principle of the present application should be included in the scope of the present application.

Claims (10)

1. A method of tuning, comprising:
obtaining preset floating power of the electronic equipment, wherein the preset floating power comprises long-time floating power and short-time floating power, the floating power is used for representing the power of the electronic equipment processor accelerated to match with the current processed event and keeping the power at the corresponding time, and the time kept by the short-time floating power is shorter than the time kept by the long-time floating power;
and adjusting the long-time floating power or the short-time floating power in the preset floating power of the electronic equipment according to the event corresponding to the electronic equipment processor and the statistical information of the power characteristics of the processor in the event, so as to realize that the real-time power of the electronic equipment processor adapts to the corresponding event processed by the processor.
2. The method of claim 1, wherein the adjusting the long-term floating power or the short-term floating power of the preset floating power of the electronic device according to the event corresponding to the processor of the electronic device and the statistical information of the power characteristics of the processor in the event comprises:
determining the recurrence rate of events with the same power consumption characteristics according to the events corresponding to the processors and the statistical information of the power characteristics of the processors in the events;
and when the recurrence rate of the event is lower than a recurrence rate threshold, adjusting long-term floating power or short-term floating power in preset floating power of the processor based on the parameter information of the electronic equipment.
3. The method of claim 2, wherein the adjusting the long-term floating power or the short-term floating power of the preset floating power of the electronic device based on the parameter information of the electronic device comprises:
counting real-time power of the processor at fixed time intervals;
and adjusting the long-term floating power or the short-term floating power in the preset floating power of the electronic equipment according to the statistical result of the real-time power information of the processor and the shell temperature of the electronic equipment.
4. The method of claim 3, wherein the adjusting the long-term floating power or the short-term floating power of the preset floating power of the electronic device according to the statistical result of the real-time power information of the processor and the case temperature of the electronic device comprises:
and when the real-time power of the processor is greater than or equal to the second long-time floating power maximum value of the processor and the case temperature of the electronic equipment is higher than the case set temperature of the electronic equipment, increasing and adjusting the preset floating power of the processor.
5. The method of claim 1, wherein the adjusting the long-term floating power or the short-term floating power of the preset floating power of the electronic device according to the event corresponding to the processor of the electronic device and the statistical information of the power characteristics of the processor in the event comprises:
determining the recurrence rate of events with the same power consumption characteristics according to the events corresponding to the processors and the statistical information of the power characteristics of the processors in the events;
and when the recurrence rate of the event reaches a recurrence rate threshold, adjusting the preset floating power of the processor according to the power consumption characteristics corresponding to the recurrence rate.
6. The method of claim 5, wherein when the recurrence rate of the event reaches a recurrence rate threshold, adjusting the preset floating power of the processor according to a power consumption characteristic corresponding to the recurrence rate comprises:
the recurrence rates of events having the same power consumption characteristics comprise recurrence rates in different dimensions;
and when the recurrence rate of the event reaches the recurrence rate threshold of the target dimension, adjusting the long-term floating power or the short-term floating power in the preset floating power of the electronic equipment according to the power consumption characteristics corresponding to the recurrence rate of the corresponding dimension.
7. The method of claim 6, when the recurrence rate of the event reaches a recurrence rate threshold of a target dimension, adjusting a long-term floating power or a short-term floating power of the processor in adjusting preset floating power of the electronic device according to a power consumption characteristic corresponding to the recurrence rate of the corresponding dimension, comprising:
the target dimension is a time adjustment dimension,
and when the recurrence rate of the event with the same processor power characteristic at the same moment in a plurality of statistical periods reaches a first recurrence rate threshold, setting the long-time floating power and the short-time floating power corresponding to the processor power characteristic as the floating power at the corresponding moment.
8. The method of claim 6, when the recurrence rate of the event reaches a recurrence rate threshold of a target dimension, adjusting the preset floating power of the processor according to a power consumption characteristic corresponding to the recurrence rate of the corresponding dimension, comprising:
the target dimension is a temperature adjustment dimension,
and when the recurrence rate of the events with the same processor power characteristic at the same moment in at least one statistical cycle reaches a second recurrence rate threshold, setting the long-term floating power and the short-term floating power corresponding to the processor power characteristic at the same temperature as the preset floating power of the processor.
9. The method of claim 6, when the recurrence rate of the event reaches a recurrence rate threshold of a target dimension, adjusting the preset floating power of the processor according to a power consumption characteristic corresponding to the recurrence rate of the corresponding dimension, comprising:
the target dimension is a logical adjustment dimension that,
when the recurrence rate of an event with the same processor power characteristic and an associated event which is the same as the event in at least one statistical period reaches a third recurrence rate threshold, setting long-time floating power and short-time floating power corresponding to N +1 events in the logic adjustment dimension as preset floating power of the processor;
and N is a positive integer greater than 1.
10. An adjustment device, comprising:
the information acquisition module is used for acquiring preset floating power of the electronic equipment, wherein the preset floating power comprises long-time floating power and short-time floating power, the floating power is used for representing the power of the electronic equipment processor accelerated to match with the current processed event and keeping the power at the corresponding time, and the time for keeping the short-time floating power is shorter than the time for keeping the long-time floating power;
and the processing module is used for adjusting the long-term floating power or the short-term floating power in the preset floating power of the electronic equipment according to the event corresponding to the electronic equipment processor and the statistical information of the power characteristics of the processor in the event so as to realize that the real-time power of the electronic equipment processor adapts to the corresponding event processed by the processor.
CN201811161464.5A 2018-09-30 2018-09-30 Adjusting method and device Active CN109298774B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811161464.5A CN109298774B (en) 2018-09-30 2018-09-30 Adjusting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811161464.5A CN109298774B (en) 2018-09-30 2018-09-30 Adjusting method and device

Publications (2)

Publication Number Publication Date
CN109298774A CN109298774A (en) 2019-02-01
CN109298774B true CN109298774B (en) 2022-05-31

Family

ID=65161640

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811161464.5A Active CN109298774B (en) 2018-09-30 2018-09-30 Adjusting method and device

Country Status (1)

Country Link
CN (1) CN109298774B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102929383A (en) * 2012-11-06 2013-02-13 山东大学 Method for reducing embedded system power consumption through central processing unit (CPU) dynamic frequency modulation technology
CN104424031A (en) * 2013-08-23 2015-03-18 中兴通讯股份有限公司 Working frequency control method and device for processor
CN105353865A (en) * 2015-10-28 2016-02-24 上海大学 Multiprocessor based dynamic frequency adjustment method
CN108121638A (en) * 2017-12-21 2018-06-05 曙光信息产业股份有限公司 Server flattens platform power consumption optimization method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102271389B (en) * 2010-06-04 2014-03-19 中兴通讯股份有限公司 Uplink power control method and system
WO2014151323A1 (en) * 2013-03-14 2014-09-25 Arizona Board Of Regents For And On Behalf Of Arizona State University Processor control system
JP6179344B2 (en) * 2013-10-24 2017-08-16 富士通株式会社 Information processing method, program, information processing apparatus, and computer system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102929383A (en) * 2012-11-06 2013-02-13 山东大学 Method for reducing embedded system power consumption through central processing unit (CPU) dynamic frequency modulation technology
CN104424031A (en) * 2013-08-23 2015-03-18 中兴通讯股份有限公司 Working frequency control method and device for processor
CN105353865A (en) * 2015-10-28 2016-02-24 上海大学 Multiprocessor based dynamic frequency adjustment method
CN108121638A (en) * 2017-12-21 2018-06-05 曙光信息产业股份有限公司 Server flattens platform power consumption optimization method and device

Also Published As

Publication number Publication date
CN109298774A (en) 2019-02-01

Similar Documents

Publication Publication Date Title
US7596705B2 (en) Automatically controlling processor mode of multi-core processor
US8695008B2 (en) Method and system for dynamically controlling power to multiple cores in a multicore processor of a portable computing device
CN106557135B (en) processor temperature regulation and control method and device
US20170177406A1 (en) Methods for managing a service or application for a smart device and a smart device utilizing the same
US20170026869A9 (en) Portable Communication Device with Multi-Tiered Power Save Operation
US8320898B2 (en) Systems and methods for optimizing the configuration of a set of performance scaling algorithms
CN108243032B (en) Method, device and equipment for acquiring service level information
US10153912B2 (en) Method and system for optimizing information pushing time according to alarm clock
CN107391564B (en) Data conversion method and device and electronic equipment
CN109298774B (en) Adjusting method and device
CN110783970B (en) Charging method, device, charging terminal and computer readable storage medium
US9632566B2 (en) Dynamically controlling power based on work-loop performance
US20180137131A1 (en) Data retentions
CN109933419B (en) Control method and device
CN110175450B (en) Information processing method, device and equipment
CN106873749B (en) Operation optimization method, operation optimization system and terminal
CN111400037A (en) Memory management method and device, computer storage medium and terminal
CN108769152B (en) Service refresh policy registration method, service refresh request method, device and equipment
CN110556101A (en) Voice control method, device, computer equipment and storage medium
US11880259B2 (en) Smart assertion management
CN113728294A (en) Power consumption control and scheme generation method, device, system and storage medium
CN111258676B (en) Module preloading method, device, equipment and readable storage medium
US20210303056A1 (en) Background process management for a device
CN111324328A (en) Volume adjusting method and device
CN110581920A (en) Equipment operation mode control method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant