Method and device for controlling working frequency of central processing unit (CPU)
A technology of operating frequency and control method, which is applied in the field of CPU operating frequency control, can solve problems such as inability to adjust CPU operating frequency in time, inaccuracy, and reduce power consumption, so as to avoid the use of CPU operating frequency, reduce power consumption, Play smooth effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0053] see figure 1 , figure 1 It is a schematic flow chart of the method for controlling the operating frequency of the CPU provided by Embodiment 1 of the present invention. like figure 1 As shown, the control method includes the following steps:
[0054] S11. Determine whether the audio and video player is in the audio and video playback state:
[0055]The user plays the audio and video source, and the audio and video player detects that the audio and video player is in the audio and video playing state. If the audio and video player is in the audio and video playing state, step S12 is performed.
[0056] S12. Detect the encoding format of the audio and video source being played:
[0057] It should be noted that there are multiple encoding formats for audio and video, and audio and video sources of different encoding formats may be decoded by the same type of decoder, or may need to be decoded by different types of decoders. Regardless of whether the same type of decod...
Embodiment 2
[0081] The CPU operating frequency control method described in Embodiment 2 has many similarities with the CPU operating frequency control method described in Embodiment 1. For the sake of brevity, this embodiment only focuses on the differences. The same For details, please refer to the description of Embodiment 1.
[0082] see figure 2 , the method for controlling the CPU operating frequency described in Embodiment 2 comprises the following steps:
[0083] Steps S21 to S23 are the same as steps S11 to S13 described in the first embodiment, and for the sake of brevity, no detailed description is given here. For details, refer to the description of the first embodiment.
[0084] S24, storing the CPU operating frequency when the audio and video player is in a non-audio and video playback state:
[0085] As an example of the present invention, in Embodiment 2 of the present invention, the step of storing the CPU operating frequency when the audio and video player is in a non-...
Embodiment 3
[0095] see image 3 , image 3 It is a schematic structural diagram of the CPU operating frequency control device provided by Embodiment 3 of the present invention. Such as image 3 As shown, the control unit includes:
[0096] The first judging unit 31 is used to judge whether the audio-video player is in the audio-video playback state;
[0097] The detection unit 32 is used to detect the encoding format of the audio and video source being played after receiving the judgment result that the first judgment unit outputs yes;
[0098] The first acquisition unit 33 is used to obtain the CPU operating frequency corresponding to the encoding format of the audio and video source according to the detected encoding format of the audio and video source;
[0099] The CPU frequency configuration unit 34 configures the CPU operating frequency as the CPU operating frequency corresponding to the encoding format of the audio and video source.
[0100] In the CPU operating frequency cont...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 