CN112114975B - Processor frequency adjusting method and device, storage medium and electronic equipment - Google Patents

Processor frequency adjusting method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN112114975B
CN112114975B CN202011173375.XA CN202011173375A CN112114975B CN 112114975 B CN112114975 B CN 112114975B CN 202011173375 A CN202011173375 A CN 202011173375A CN 112114975 B CN112114975 B CN 112114975B
Authority
CN
China
Prior art keywords
frame
frequency
target
processor
thread
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
CN202011173375.XA
Other languages
Chinese (zh)
Other versions
CN112114975A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202011173375.XA priority Critical patent/CN112114975B/en
Publication of CN112114975A publication Critical patent/CN112114975A/en
Application granted granted Critical
Publication of CN112114975B publication Critical patent/CN112114975B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • G06F9/505Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering the load
    • 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
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Power Sources (AREA)

Abstract

The embodiment of the application discloses a method, a device, a storage medium and an electronic device for adjusting the frequency of a processor, wherein when frame drawing starts, a thread which determines the frame drawing length in a frame time of the frame drawing in a current scene is used as a key thread, in the frame drawing process of the preset number in the past, a thread with the longest running time of each frame in average in the key thread is selected as a target thread, the running time of each frame in average of the target thread is used as a target frame drawing load, and then the lower frequency limit of the current processor is adjusted according to the target frame drawing load. According to the scheme, the lower frequency limit of the current processor is dynamically adjusted based on the target frame drawing load, so that when the frequency of the processor is adjusted, the frequency adjustment can be more targeted based on the scene and the demand of key load in the scene on calculation force, and therefore the problems of frame loss and clamping caused by the fact that the frequency of the processor is too low in the scene with key thread operation are avoided.

Description

Processor frequency adjusting method and device, storage medium and electronic equipment
Technical Field
The present application relates to the field of terminal technologies, and in particular, to a method and an apparatus for adjusting a processor frequency, a storage medium, and an electronic device.
Background
With the development of technology, various applications installed in electronic devices are increasing, and the requirements of the applications on hardware of the electronic devices are also increasing. For example, applications such as games, multimedia video playback, and the like, need to provide users with a fluent use experience, and thus such applications have high performance requirements for electronic devices. In the related art, the electronic device is not reasonable when adjusting the frequency of the processor, which may cause a jam.
Disclosure of Invention
The embodiment of the application provides a method and a device for adjusting processor frequency, a storage medium and electronic equipment, which can improve the running fluency of the electronic equipment.
In a first aspect, an embodiment of the present application provides a method for adjusting a processor frequency, including:
determining a key thread corresponding to a current scene when frame drawing starts, wherein the key thread is a thread for determining the frame drawing length in a frame time of frame drawing;
selecting a thread with the longest running time of each frame in average among the key threads as a target thread in the frame drawing process of the preset number in the past, and taking the running time of each frame in average of the target thread as a target frame drawing load;
And adjusting the frequency lower limit of the current processor according to the target frame drawing load.
In a second aspect, an embodiment of the present application further provides an apparatus for adjusting a processor frequency, including:
the determining module is used for determining a key thread corresponding to the current scene when frame drawing starts, wherein the key thread is a thread for determining the frame drawing length within one frame time of frame drawing;
the processing module is used for selecting a thread with the longest running time of each frame in average in the key threads as a target thread in the frame drawing process of the preset number in the past, and taking the running time of each frame in average of the target thread as a target frame drawing load;
and the adjusting module is used for adjusting the frequency lower limit of the current processor according to the target frame drawing load.
In a third aspect, embodiments of the present application further provide a storage medium having stored thereon a computer program which, when run on a computer, causes the computer to perform a method for adjusting a processor frequency as provided in any embodiment of the present application.
In a fourth aspect, an embodiment of the present application further provides an electronic device, including a processor and a memory, where the memory has a computer program, and the processor is configured to execute the method for adjusting a processor frequency according to any embodiment of the present application by calling the computer program.
According to the technical scheme provided by the embodiment of the application, the key thread corresponding to the current scene is determined when frame drawing starts, wherein the key thread is a thread for determining the frame drawing length in one frame time of frame drawing, then, in the frame drawing process of the preset number in the past, a thread with the longest average running time per frame in the key thread is selected as a target thread, the average running time per frame of the target thread is taken as a target frame drawing load, and then, the frequency lower limit of the current processor is adjusted according to the target frame drawing load. In the prior art, when the frequency of the processor is adjusted, the frequency scheduler is staggered with the load change of the processor by one period, so that the problem of low frequency of the processor when key threads are executed is caused, and therefore, the problem of frame loss and blocking is caused. According to the scheme, the frequency curve of the processor and the actual load curve are overlapped as much as possible, the problem of blocking caused by load and frequency hysteresis is reduced, and the running fluency of the electronic equipment is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly introduced below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is an application scenario schematic diagram of a method for adjusting processor frequency according to an embodiment of the present application.
Fig. 2 is a first flowchart of a method for adjusting a processor frequency according to an embodiment of the present application.
Fig. 3 is a second flowchart of a method for adjusting a processor frequency according to an embodiment of the present application.
Fig. 4 is a third flowchart of a method for adjusting a processor frequency according to an embodiment of the present application.
Fig. 5 is a schematic structural diagram of a processor frequency adjusting device according to an embodiment of the present application.
Fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Fig. 7 is a schematic diagram of a second structure of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. It will be apparent that the described embodiments are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by a person skilled in the art without any inventive effort, are intended to be within the scope of the present application based on the embodiments herein.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the present application. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments.
The embodiment of the application provides a method for adjusting a processor frequency, and an execution body of the method for adjusting a processor frequency may be an adjusting device for the processor frequency provided in the embodiment of the application, or an electronic device integrated with the adjusting device for the processor frequency, where the adjusting device for the processor frequency may be implemented in a hardware or software manner. The electronic device may be a smart phone, a tablet computer, a palm computer, a notebook computer, or a desktop computer.
For example, taking the execution body of the method for adjusting the processor frequency as an electronic device as an example, as shown in fig. 1, the electronic device may determine a key thread corresponding to a current scene at the beginning of frame drawing, where frame drawing is simply referred to as a frame drawing period, and represents a process of drawing a certain frame picture, and specifically, the frame drawing period refers to a display interval of two adjacent frames. The key thread is a thread (for example, may be T1 (ux), T2 (ux)..tn (ux)) for determining a frame drawing duration within a frame time when frame drawing occurs, and the threads other than the key thread are non-key threads (for example, may be T1, T2..tn), then, in a frame drawing process of a preset number in the past, a thread with the longest running time per frame average in the key thread is selected as a target thread, and the running time per frame average in the target thread is taken as a target frame drawing load, and then, a frequency lower limit of the current processor is adjusted according to the target frame drawing load. In this way, the thread with the longest running time of each frame in average in all key threads is selected, the running time of each frame in average in the thread is used as a target frame drawing load, and then the frequency lower limit of the current processor is dynamically adjusted based on the target frame drawing load, so that when the frequency of the processor is adjusted, the frequency adjustment can be more targeted based on the scene and the demand of the key load in the scene on calculation force, and the problems of frame loss and clamping caused by the fact that the frequency of the processor is too low in the scene with the running of the key threads are avoided.
The following detailed description is given below, and the numbers of the following embodiments are not intended to limit the preferred order of the embodiments.
Referring to fig. 2, fig. 2 is a first flowchart of a method for adjusting processor frequency according to an embodiment of the present disclosure. The specific flow of the method for adjusting the processor frequency provided in the embodiment of the present application may be as follows:
101. and determining a key thread corresponding to the current scene when frame drawing starts, wherein the key thread is a thread for determining the frame drawing length within one frame time of frame drawing.
In the prior art, in Linux kernel (an open source computer operating system kernel) used in an Android (Android) system, a processor frequency regulator is generally used to regulate the frequency of a processor. One of the frequency regulators (SchedUtil Governor) based on the utilization rate is a frequency regulator which is currently used more, and the frequency regulator is based on information such as the utilization rate obtained by statistics of a Linux kernel scheduler and the like as a basis for carrying out CPU frequency adjustment. However, if the utilization rate counted by the scheduler and the critical thread of the current scenario are not strongly correlated, the frequency regulator may select a relatively high processor frequency, and the critical thread benefits from the frequency regulator very little, so that the problem of blocking and frame loss occurs in the process of using the electronic device by the user, and power consumption is lost, so that the cruising performance of the electronic device is affected.
Furthermore, since the scheduler's utilization statistics algorithm, e.g., WALT (Window Assisted Load Tracking ), is subject to predicting future characteristics based on the past, there must be some hysteresis in its statistical utilization with respect to changes in the actual processor load. In an application scenario like a game such a periodic drawing, the processor frequency is sometimes staggered from the processor load variation by one cycle: when the key thread is executed, the processor is at a relatively low frequency point, and when the key thread is asleep, the processor is at a relatively high frequency point, so that the problems of blocking and frame loss can be caused in the process of using the electronic equipment by a user.
In the embodiment of the application, the key thread in the periodically drawn scene like a game is identified, and the key thread is used as the access point, so that the problems are avoided. For example, in a scenario where users of games, multimedia video playback, and the like are concerned with fluency, a key thread associated with frame drawing is identified.
For example, where the application is a game, the scene may include lobby waiting, resource loading, grassland running, wild, driving, etc.
It should be noted that a critical thread is a set of threads that plays an important role in the frame drawing period and determines how long the drawing time is this time (i.e., the screen refresh rate of the current interface). In general, the thread that ends running last in the frame drawing period determines the length of this drawing time. The critical threads in the same scenario are typically some specific threads, such as UI (user interface) threads, render threads, engine threads, etc. The critical threads in different scenarios may vary.
102. And in the frame drawing process of the preset number in the past, selecting the thread with the longest running time of each frame in the average of the key threads as a target thread, and taking the running time of each frame of the average of the target thread as a target frame drawing load.
Wherein, the frame drawing process refers to a drawing process of one frame. The critical thread runs on the processor during one frame drawing cycle, loading the frame drawing.
Specifically, the key threads comprise a plurality of types of key threads, average running time per frame of the key threads of different types is calculated respectively in the past preset number of frame drawing processes, and then the average running time per frame of the key threads of the type with the longest average running time per frame is selected as a target frame drawing load.
103. And adjusting the frequency lower limit of the current processor according to the target frame drawing load.
The lower frequency limit of the processor is a default value, and is generally a factory default value. The processor (CPU, central processing unit) frequency, that is, the clock frequency of the processor, is the frequency of operation during processor operation, in Hz, and the processor frequency determines the operating speed of the computer.
In the embodiment of the application, because the critical threads exist in the current scene, the default value of the frequency lower limit is usually lower, and the normal running requirement of the critical threads in the current scene cannot be met, the frequency value of the processor which can meet the normal running of the threads with larger current load is taken as the frequency lower limit of the current processor, and thus the problems of frame loss and clamping can be reduced.
In particular, the present application is not limited by the order of execution of the steps described, and certain steps may be performed in other orders or concurrently without conflict.
As can be seen from the above, in the method for adjusting the processor frequency provided in the embodiment of the present application, the key thread corresponding to the current scene is determined at the beginning of frame drawing, where the key thread is a thread that determines the frame drawing duration within a frame time when frame drawing occurs, then, in a past preset number of frame drawing processes, a thread with the longest running time per frame average in the key thread is selected as a target thread, and the running time per frame average in the target thread is taken as a target frame drawing load, and then, the frequency lower limit of the current processor is adjusted according to the target frame drawing load. According to the scheme, the lower frequency limit of the current processor is dynamically adjusted based on the target frame drawing load, so that when the frequency of the processor is adjusted, the frequency adjustment can be more targeted based on the scene and the demand of key load in the scene on calculation force, and therefore the problems of frame loss and clamping caused by the fact that the frequency of the processor is too low in the scene with key thread operation are avoided.
The method described in the previous examples is described in further detail below by way of example.
Referring to fig. 3, fig. 3 is a second flowchart illustrating a method for adjusting a processor frequency according to an embodiment of the present disclosure. The method comprises the following steps:
201. and determining a key thread corresponding to the current scene when frame drawing starts, wherein the key thread is a thread for determining the frame drawing length within one frame time of frame drawing.
For example, by testing various types of scenes under an application related to frame drawing, recording and marking corresponding key threads in different types of scenes, the key threads in a certain type of scene can be directly determined by the marking when the key threads are identified. Wherein the application related to frame drawing may be a game application.
202. And in the frame drawing process of the preset number in the past, selecting the thread with the longest running time of each frame in the average of the key threads as a target thread, and taking the running time of each frame of the average of the target thread as a target frame drawing load.
For example, the preset number may be 10, in the past 10 frame drawing processes, there are a class a critical thread, a class B critical thread and a class C critical thread in the current scene to participate in running, and the average time of running each frame of the class a critical thread in the past 10 frame drawing processes is T1, the class B critical thread, the average time of running each frame in the past 10 frame drawing processes is T2, the average time of running each frame of the class C critical thread in the past 10 frame drawing processes is T3, where T3 is the largest, and then T3 is taken as the target frame drawing load.
203. And acquiring the average running time of each frame of the key thread in the past preset number of frame drawing processes, the average frequency of a processor during each frame drawing and the target frame rate of the current scene, wherein the target frame rate is a preset fixed value.
For example, the preset number may be 10 times, during the past 10 frame drawing processes, there are a class a critical thread, a class B critical thread and a class C critical thread in the current scene to participate in running, that is, the time that the three types of critical threads run per frame is calculated in the past 10 drawing processes, and the average frequency of the processor in the 10 drawing processes is calculated.
In one embodiment, the process of obtaining the target frame rate of the current scene in the plurality of preset fixed values 203 may include:
the frame rate in the current scene is obtained.
And selecting a preset fixed value closest to the frame rate as a target frame rate, wherein the target frame rate is not smaller than the frame rate.
The target frame rate is a preset fixed value of the current scene, and is generally 30FPS, 45FPS, 60FPS, 90FPS, 120FPS, and 144FPS.
When judging the target frame rate of the current scene, the corresponding judgment can be made according to the following table:
frame rate in current scene Preset fixed value of target frame rate
<=30FPS 30FPS
<=45FPS 45FPS
<=60FPS 60FPS
<=90FPS 90FPS
<=120FPS 120FPS
<=144FPS 144FPS
For example, if the frame rate in the current scene is 55FPS, which value 55FPS < =60 FPS, the target frame rate in the current scene is determined to be 60FPS. In practice, the target frame rate is the frame rate that makes the current scene not lose frames, and the target frame rate can be set manually, or can be changed automatically by a corresponding program according to the change of the current scene.
204. And obtaining a first target frequency according to the average running time of each frame of the key thread, the average frequency of the processor when each frame is drawn, the target frame rate of the current scene and the target frame drawing load.
The estimation method of the lowest frequency satisfying the target frame rate is as follows:
in the frame drawing process of the preset number in the past, the average running time of each frame of the key thread is Array (RunningAvgMs), the average frequency of the processor in each frame drawing is FreqAvg, the target frame drawing load is KeyRunningAvgMs, the target frame rate is FpsTarget, the drawing time of each frame corresponding to the target frame rate is TagetRenningMs=1000/FpsTarget, the first target frequency is Freq, and then the first target frequency Freq meeting the target frame rate FpsTarget is:
Freq=KeyRunningAvgMs*FreqAvg/TargetRunningMs
205. the lower frequency limit of the current processor is adjusted to a first target frequency.
I.e. updating the lower frequency limit of the current processor to the first target frequency obtained above.
In one embodiment, the method for adjusting the frequency of the processor may further include:
and associating the current scene with a first target frequency corresponding to the current scene and uploading the first target frequency to the cloud.
For example, where the application is a game, the scene may include lobby waiting, resource loading, grassland running, wild, driving, etc.
For example, a specific scene in an application related to frame drawing can be marked in a test environment, different types of scenes are distinguished, first target frequencies in the different types of scenes are calculated respectively, and the scene type and the first target frequency corresponding to the scene type are sent to a cloud as default first target frequencies of specific application scenes of an electronic device side.
In one embodiment, the method for adjusting the frequency of the processor may further include:
when the frequency of a processor of a current scene is adjusted, a first target frequency corresponding to the current scene is obtained from a cloud;
the lower limit frequency of the processor is adjusted according to the first target frequency.
For example, when the electronic device is in a certain type of scene, the first target frequency corresponding to the type of scene can be directly obtained from the cloud, so that the waiting time of the electronic device for collecting enough effective data can be reduced, and the frequency adjustment efficiency of the processor in the scheme is improved.
It will be appreciated that the first target frequency may be dynamically varied according to the frame drawing load of the critical thread over a period of time.
In one embodiment, the key thread types of different scenes in the application related to frame drawing also change, and the application related to frame drawing can send a scene change notification message to a scheduler through an operating system, and the adjustment mechanism of the processor frequency in the scheme is triggered in time to dynamically adjust the lower limit of the processor frequency of the current scene.
206. And after the frame drawing is finished, the lower frequency limit of the current processor is restored to a default value.
After the frame drawing is finished, no key thread participates in the operation in the current scene, and the demand on calculation force is smaller at the moment, so that the lower frequency limit is restored to a default value, and the power consumption can be saved.
In one embodiment, the threads other than the critical threads are non-critical threads, and after the process of restoring the lower frequency limit of the current processor to the default value in 206, the method may further include:
wherein the runtime of the non-critical thread on the processor is a frame rendering independent load during one frame rendering period.
Specifically, after frame drawing is finished, the average running time of each frame of non-critical threads in the past preset number of frame drawing processes is obtained as the frame drawing irrelevant load of the current scene, then, based on the frame drawing irrelevant load of the current scene, the second target frequency is determined according to the frequency regulator, and then, the lower frequency limit is adjusted to the second target frequency from a default value. The adjustment of the processor frequency in accordance with the frequency adjustor is prior art and will not be described in detail here.
As can be seen from the above, in the method for adjusting the processor frequency according to the embodiment of the present application, the key thread corresponding to the current scene is determined when frame drawing starts, where the key thread is a thread that determines the frame drawing length within a frame time when frame drawing occurs, then, in a frame drawing process of a preset number in the past, a thread with the longest running time of each frame in average among the key threads is selected as a target thread, the running time of each frame in average of the target thread is taken as a target frame drawing load, and then, the frequency lower limit of the current processor is adjusted according to the target frame drawing load. In the prior art, when the frequency of the processor is adjusted, the frequency scheduler is staggered with the load change of the processor by one period, so that the problem of low frequency of the processor when key threads are executed is caused, and therefore, the problem of frame loss and blocking is caused. According to the scheme, the frequency curve of the processor and the actual load curve are overlapped as much as possible, the problem of blocking caused by load and frequency hysteresis is reduced, and the running fluency of the electronic equipment is improved.
Referring to fig. 4, fig. 4 is a third flowchart of a method for adjusting a processor frequency according to an embodiment of the present disclosure. The method comprises the following steps:
301, determining a key thread corresponding to a current scene when frame drawing starts, wherein the key thread is a thread for determining the frame drawing length within one frame time when frame drawing occurs.
For example, by testing various types of scenes under the application of the frame drawing class, a thread which can determine the drawing length of the frame within the frame time when drawing occurs is recorded, the thread is marked as a key thread, and the thread can be determined by the mark when the key thread is identified.
For example, at the beginning of frame drawing, it is identified that the critical threads in the current scenario include class A threads, class B threads, and class C threads.
302, selecting a thread with the longest running time of each frame in average among key threads as a target thread in the frame drawing process of the preset number in the past, and taking the running time of each frame in average of the target thread as a target frame drawing load.
For example, the preset number may take a value of 3 times, and before the frame, the electronic device obtains the average running time of each frame of the class a thread, the class B thread and the class C thread in the past 3 frame drawing processes to be 10ms, 12ms and 8ms respectively, where the running time of the class B thread is the longest, i.e. 12ms is used as the target frame drawing load.
303, acquiring the average running time per frame of the key thread in the process of drawing the past preset number of frames, the average frequency of a processor during drawing each frame and the target frame rate of the current scene, wherein the target frame rate is a preset fixed value.
For example, following the example in flow 302, the time of average run of critical threads during the last 3 frame draws is obtained, namely: (10ms+12ms+8ms)/3=10ms.
For example, the processor frequency is 2.0GHZ during the first frame drawing, 1.5GHZ during the second frame drawing, and 2.5GHZ during the third frame drawing, and the average frequency of the processor per frame drawing is (2.0 ghz+1.5ghz+2.5 GHZ)/3=2 GHZ.
For example, if the frame rate in the current scene is 55FPS, which value 55FPS < =60 FPS, the target frame rate in the current scene is determined to be 60FPS.
304. And obtaining a first target frequency according to the average running time of each frame of the key thread, the average frequency of the processor when each frame is drawn, the target frame rate of the current scene and the target frame drawing load.
The method for estimating the lowest frequency satisfying the target frame rate is as follows:
in the frame drawing process of the preset number in the past, the average running time of each frame of the key thread is Array (RunningAvgMs), the average frequency of the processor in each frame drawing is FreqAvg, the target frame drawing load is KeyRunningAvgMs, the target frame rate is FpsTarget, the drawing time of each frame corresponding to the target frame rate is TagetRenningMs=1000/FpsTarget, the first target frequency is Freq, and then the first target frequency Freq meeting the target frame rate FpsTarget is:
Freq=KeyRunningAvgMs*FreqAvg/TargetRunningMs
For example, the values in the above examples are put into the formula calculation: freq=12×2/(1000/60) =1.44 GHZ, i.e., 1.44GHZ is the first target frequency.
305. And acquiring the data information of the running time of the key thread in the frame drawing process under the frequency of different processors in the current scene.
Due to the influence of hardware software or physical factors in practical situations, for example, the time for drawing a frame in an ideal state is 50ms when the D-thread is at the frequency of a 100MZ processor, but in practical situations, the time for drawing a frame in the frequency of the 100MZ processor can be longer than in an ideal state, for example, can be 60ms. Therefore, it is necessary to test the data information of the key thread in the drawing process under the frequency of different processors and make statistics to obtain a compensation value, i.e. a correction value.
306. A correction value of the first target frequency is calculated based on the data information.
For example, at a processor frequency of 2.0GHZ, the critical thread E ideally draws a frame for 2.5ms, and at a processor frequency of 2.0GHZ, the critical thread actually draws a frame for 3ms, and the correction value is 3/2.5=1.2.
It should be noted that, here, only the general idea of calculating the correction value is exemplified, more data information is obtained in the actual calculation process, and fitting is performed according to the performances of different scenes to obtain the correction value. In theory, the correction values corresponding to different scenes are fixed, the correction values corresponding to different scenes can be tested respectively and used as correction default values of the corresponding scenes, and the correction default values are directly called according to the scenes when the correction default values are needed to be used. Wherein the correction value is a constant greater than 1.
307. And performing correction processing on the first target frequency based on the correction value.
The corrected first target frequency Freq satisfying the target frame rate FpsTarget is:
Freq=C*KeyRunningAvgMs*FreqAvg/TargetRunningMs
for example, if the correction value c=2 for the current scene is recorded as C, then the example in the flow 304 brings the correction value c=2 into the above formula for calculation: freq=1.3x12×2/(1000/60) = 1.872GHZ, i.e., 1.872GHZ is used as the first target frequency after correction processing.
308. And adjusting the lower frequency limit of the current processor to the first target frequency after correction processing.
For example, if the default value of the lower frequency limit of the current processor is 500MHZ, the lower frequency limit of the current processor is updated from 500MHZ to 1.872GHZ.
309. And after the frame drawing is finished, the lower frequency limit of the current processor is restored to a default value.
For example, if the default value of the lower frequency limit of the current processor is 500MHZ, the lower frequency limit of the current processor is restored to 500MHZ from 1.872GHZ.
As can be seen from the above, in the method for adjusting the processor frequency according to the embodiment of the present application, the key thread corresponding to the current scene is determined when frame drawing starts, where the key thread is a thread that determines the frame drawing length within a frame time when frame drawing occurs, then, in a frame drawing process of a preset number in the past, a thread with the longest running time of each frame in average among the key threads is selected as a target thread, the running time of each frame in average of the target thread is taken as a target frame drawing load, and then, the frequency lower limit of the current processor is adjusted according to the target frame drawing load. According to the scheme, the lower frequency limit of the current processor is dynamically adjusted based on the target frame drawing load, so that when the frequency of the processor is adjusted, the frequency adjustment can be more targeted based on the scene and the demand of key load in the scene on calculation force, and therefore the problems of frame loss and clamping caused by the fact that the frequency of the processor is too low in the scene with key thread operation are avoided. In addition, the method and the device further comprises the steps of obtaining data information of the running time of the key thread in the frame drawing process under the frequencies of different processors in the current scene, calculating a correction value aiming at the first target frequency according to the data information, correcting the first target frequency based on the correction value, and adjusting the lower frequency limit of the current processor to the corrected first target frequency, so that the accuracy of adjustment is higher when the frequency of the processor is adjusted.
In one embodiment, an apparatus for adjusting a processor frequency is also provided. Referring to fig. 5, fig. 5 is a schematic structural diagram of a processor frequency adjusting device 400 according to an embodiment of the present disclosure. The processor frequency adjusting device 300 is applied to an electronic device, and the processor frequency adjusting device 300 includes a determining module 401, a processing module 402, and an adjusting module 403, as follows:
a determining module 401, configured to determine, when frame drawing starts, a key thread corresponding to a current scene, where the key thread is a thread that determines a frame drawing length within a frame time when frame drawing occurs;
the processing module 402 is configured to select, in a preset number of frame drawing processes in the past, a thread with a longest running time per frame in an average of the key threads as a target thread, and use the running time per frame in the average of the target thread as a target frame drawing load;
an adjusting module 403, configured to adjust a lower frequency limit of the current processor according to the target frame drawing load.
In one embodiment, the adjustment module 403 is configured to: acquiring the average running time of each frame of the key thread, the average frequency of a processor when each frame is drawn and the target frame rate of the current scene in the process of drawing the past preset number of frames, wherein the target frame rate is a preset fixed value; obtaining a first target frequency according to the average running time of each frame of the key thread, the average frequency of a processor during drawing each frame, the target frame rate of the current scene and the target frame drawing load; the lower frequency limit of the current processor is adjusted to the first target frequency.
In one embodiment, the adjustment module 403 may be configured to: and after the frame drawing is finished, restoring the lower frequency limit of the current processor to a default value.
In one embodiment, the threads other than the critical threads are non-critical threads, and the adjustment module 403 may be configured to: after the frame drawing is finished, acquiring the average running time of each frame of the non-key thread in the past preset number of frame drawing processes as a frame drawing irrelevant load of a current scene; determining a second target frequency according to a frequency regulator based on the frame drawing independent load of the current scene; and adjusting the lower frequency limit from the default value to the second target frequency.
In one embodiment, the adjustment module 403 may be configured to: marking the type of the current scene as a first type scene; transmitting the first target frequency corresponding to the first type scene to a cloud for storage; when the first type scene is processed, a first target frequency corresponding to the first type scene is obtained from a cloud; and adjusting the lower limit frequency of the processor according to the first target frequency.
In one embodiment, the adjustment module 403 may be configured to: acquiring data information of the running time of the key thread in the frame drawing process under the frequency of different processors in the current scene; calculating a correction value of the first target frequency according to the data information; and carrying out correction processing on the first target frequency based on the correction value.
In one embodiment, the preset fixed values are plural, and the adjustment module 403 may be configured to: acquiring a frame rate in a current scene; and selecting a preset fixed value closest to the frame rate as the target frame rate, wherein the target frame rate is not smaller than the frame rate.
It should be noted that, the processor frequency adjusting device provided in the embodiment of the present application and the processor frequency adjusting method in the above embodiment belong to the same concept, and any method provided in the processor frequency adjusting method embodiment may be implemented by the processor frequency adjusting device, and a detailed implementation process of the method is referred to in the processor frequency adjusting method embodiment and will not be described herein.
As can be seen from the foregoing, the adjusting device 400 for processor frequency according to the embodiment of the present application is configured to determine, by the determining module 401, a key thread corresponding to a current scene when frame drawing starts, where the key thread is a thread for determining a frame drawing length within a frame time when frame drawing occurs, select, by the processing module 402, a thread with a longest average running time per frame among the key threads as a target thread in a frame drawing process of a preset number in the past, and use a running time of the target thread as a target frame drawing load, and adjust, by the adjusting module 403, a frequency lower limit of a current processor according to the target frame drawing load. According to the scheme, the lower frequency limit of the current processor is dynamically adjusted based on the target frame drawing load, so that when the frequency of the processor is adjusted, the frequency adjustment can be more targeted based on the scene and the demand of key load in the scene on calculation force, and therefore the problems of frame loss and clamping caused by the fact that the frequency of the processor is too low in the scene with key thread operation are avoided.
The embodiment of the application also provides electronic equipment 500. The electronic device 500 may be a smart phone, a tablet computer, or the like. Referring to fig. 6, fig. 6 is a schematic diagram of a first structure of an electronic device according to an embodiment of the present application. The electronic device 500 includes a processor 500 and a memory 502. The processor 501 is electrically connected to the memory 502.
The processor 501 is a control center of the electronic device 500, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by running or calling computer programs stored in the memory 502, and calling data stored in the memory 502, thereby performing overall monitoring of the electronic device.
The memory 502 may be used to store software programs and modules, and the processor 501 may execute various functional applications and data processing by executing the computer programs and modules stored in the memory 502. The memory 502 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, a computer program (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like; the storage data area may store data created according to the use of the electronic device, etc. In addition, memory 502 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 502 may also include a memory controller to provide access to the memory 502 by the processor 501.
In this embodiment, the processor 501 in the electronic device 500 loads instructions corresponding to the processes of one or more computer programs into the memory 502 according to the following steps, and the processor 501 executes the computer programs stored in the memory 502, so as to implement various functions, as follows:
determining a key thread corresponding to a current scene when frame drawing starts, wherein the key thread is a thread for determining the frame drawing length within one frame time of frame drawing;
selecting a thread with the longest running time of each frame in average among the key threads as a target thread in the frame drawing process of the preset number in the past, and taking the running time of each frame in average of the target thread as a target frame drawing load;
and adjusting the frequency lower limit of the current processor according to the target frame drawing load.
In one embodiment, the processor 501 executing the adjustment of the current processor 501 lower frequency limit according to the target frame drawing load may perform: acquiring the average running time of each frame of the key thread, the average frequency of the processor 501 when each frame is drawn and the target frame rate of the current scene in the past preset number of frame drawing processes, wherein the target frame rate is a preset fixed value; obtaining a first target frequency according to the average running time of each frame of the key thread, the average frequency of the processor 501 during drawing each frame, the target frame rate of the current scene and the target frame drawing load; the lower frequency limit of the current processor 501 is adjusted to the first target frequency.
In one embodiment, after executing the adjustment of the lower frequency limit of the current processor 501 to the first target frequency, the processor 501 may execute: after the frame drawing is finished, the lower frequency limit of the current processor 501 is restored to a default value.
In an embodiment, where threads other than the critical thread are non-critical threads, the processor 501 may perform, after executing restoring the lower frequency limit of the current processor 501 to a default value: after the frame drawing is finished, acquiring the average running time of each frame of the non-key thread in the past preset number of frame drawing processes as a frame drawing irrelevant load of a current scene; determining a second target frequency according to a frequency regulator based on the frame drawing independent load of the current scene; and adjusting the lower frequency limit from the default value to the second target frequency.
In an embodiment, the processor 501 may perform, after performing the first target frequency according to the average time of running the critical thread per frame, the average frequency of the processor 501 per frame drawing, the target frame rate of the current scene, and the target frame drawing load: marking the type of the current scene as a first type scene; transmitting the first target frequency corresponding to the first type scene to a cloud for storage; when the first type scene is processed, a first target frequency corresponding to the first type scene is obtained from a cloud; the lower limit frequency of the processor 501 is adjusted according to the first target frequency.
In an embodiment, the processor 501, when executing to obtain the target frame rate of the current scene, may perform: acquiring a frame rate in a current scene; and selecting a preset fixed value closest to the frame rate as the target frame rate, wherein the target frame rate is not smaller than the frame rate.
As can be seen from the foregoing, in the embodiment of the present application, when frame drawing starts, a key thread corresponding to a current scene is determined, where the key thread is a thread that determines a frame drawing length within a frame time in which frame drawing occurs, then, in a frame drawing process of a preset number in the past, a thread with a longest running time per frame average among the key threads is selected as a target thread, and the running time per frame average of the target thread is taken as a target frame drawing load, and then, a frequency lower limit of a current processor is adjusted according to the target frame drawing load. According to the scheme, the lower frequency limit of the current processor is dynamically adjusted based on the target frame drawing load, so that when the frequency of the processor is adjusted, the frequency adjustment can be more targeted based on the scene and the demand of key load in the scene on calculation force, and therefore the problems of frame loss and clamping caused by the fact that the frequency of the processor is too low in the scene with key thread operation are avoided.
Referring to fig. 7, fig. 7 is a schematic diagram of a second structure of the electronic device according to the embodiment of the present application. In some implementations, the electronic device 500 may further include: a display 503, radio frequency circuitry 504, audio circuitry 505, and a power supply 506. The display 503, the radio frequency circuit 504, the audio circuit 505, and the power supply 506 are electrically connected to the processor 501.
The display 503 may be used to display information entered by a user or provided to a user as well as various graphical user interfaces that may be composed of graphics, text, icons, video, and any combination thereof. The display 503 may include a display panel, which in some embodiments may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), or an Organic Light-Emitting Diode (OLED), or the like.
The rf circuitry 504 may be configured to receive and transmit rf signals to and from a network device or other electronic device via wireless communication to establish wireless communication with the network device or other electronic device.
The audio circuit 505 may be used to provide an audio interface between a user and an electronic device through a speaker, microphone.
The power supply 506 may be used to power the various components of the electronic device 500. In some embodiments, the power supply 506 may be logically connected to the processor 501 through a power management system, so as to perform functions of managing charging, discharging, and power consumption management through the power management system.
Although not shown in fig. 7, the electronic device 500 may further include a camera, a bluetooth module, etc., which will not be described herein.
The embodiment of the present application further provides a storage medium, where a computer program is stored, where when the computer program runs on a computer, the computer executes the method for adjusting a processor frequency according to any one of the foregoing embodiments, for example: determining a key thread corresponding to a current scene when frame drawing starts, wherein the key thread is a thread for determining the frame drawing length within one frame time of frame drawing; selecting a thread with the longest running time of each frame in average among the key threads as a target thread in the frame drawing process of the preset number in the past, and taking the running time of each frame in average of the target thread as a target frame drawing load; and adjusting the frequency lower limit of the current processor according to the target frame drawing load.
It should be noted that, those skilled in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be implemented by a computer program to instruct related hardware, and the computer program may be stored in a computer readable storage medium, where the storage medium may include, but is not limited to: read Only Memory (ROM), random access Memory (RAM, random Access Memory), magnetic or optical disk, and the like.
Furthermore, the terms "first," "second," and "third," and the like, herein, are used for distinguishing between different objects and not for describing a particular sequential order. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or modules is not limited to the particular steps or modules listed and certain embodiments may include additional steps or modules not listed or inherent to such process, method, article, or apparatus.
The method, the device, the storage medium and the electronic equipment for adjusting the processor frequency provided by the embodiment of the application are described in detail. The principles and embodiments of the present application are described herein with specific examples, the above examples being provided only to assist in understanding the methods of the present application and their core ideas; meanwhile, those skilled in the art will have variations in the specific embodiments and application scope in light of the ideas of the present application, and the present description should not be construed as limiting the present application in view of the above.

Claims (10)

1. A method for adjusting a processor frequency, comprising:
determining a key thread corresponding to a current scene when frame drawing starts, wherein the key thread is a thread for determining the frame drawing length in a frame time of frame drawing;
in the frame drawing process of the preset number in the past, calculating the average running time of each frame of different types of key threads respectively, selecting one type of key thread with the longest running time of each frame as a target thread, and taking the average running time of each frame of the target thread as a target frame drawing load;
acquiring the average running time of each frame of the key thread, the average frequency of a processor during drawing each frame and the target frame rate of a current scene in the past preset number of frame drawing processes, wherein the target frame rate is a preset fixed value;
obtaining a first target frequency according to the average running time of each frame of the key thread, the average frequency of a processor during drawing each frame, the target frame rate of the current scene and the target frame drawing load;
and adjusting the lower frequency limit of the current processor to the first target frequency.
2. The method for adjusting a frequency of a processor according to claim 1, further comprising, after said adjusting a lower frequency limit of a current processor to said first target frequency:
and after the frame drawing is finished, restoring the lower frequency limit of the current processor to a default value.
3. The method for adjusting a processor frequency according to claim 2, wherein threads other than the critical thread are non-critical threads, and wherein after the lower frequency limit of the current processor is restored to a default value, the method further comprises:
after the frame drawing is finished, acquiring the average running time of each frame of the non-key thread in the past preset number of frame drawing processes as a frame drawing irrelevant load of a current scene;
determining a second target frequency according to a frequency regulator based on the frame drawing independent load of the current scene;
and adjusting the lower frequency limit from the default value to the second target frequency.
4. The method of adjusting a processor frequency of claim 1, further comprising:
and correlating the current scene with a first target frequency corresponding to the current scene and uploading the first target frequency to a cloud.
5. The method of adjusting a processor frequency of claim 1, further comprising:
when the processor frequency of the current scene is adjusted, acquiring the first target frequency corresponding to the current scene from a cloud;
and adjusting the frequency lower limit of the processor according to the first target frequency.
6. The method for adjusting a processor frequency according to claim 1, further comprising, after obtaining a first target frequency from an average time per frame run of the critical thread, an average frequency of the processor per frame drawing, a target frame rate of a current scene, and the target frame drawing load:
acquiring data information of the running time of the key thread in the frame drawing process under the frequency of different processors in the current scene;
calculating a correction value of the first target frequency according to the data information;
and carrying out correction processing on the first target frequency based on the correction value.
7. The method for adjusting the frequency of a processor according to claim 1, wherein the preset fixed values are plural, and the obtaining the target frame rate of the current scene includes:
acquiring a frame rate in a current scene;
And selecting a preset fixed value closest to the frame rate as the target frame rate, wherein the target frame rate is not smaller than the frame rate.
8. An apparatus for adjusting a processor frequency, comprising:
the determining module is used for determining a key thread corresponding to the current scene when frame drawing starts, wherein the key thread is a thread for determining the frame drawing length within one frame time of frame drawing;
the processing module is used for respectively calculating the average running time of each frame of different types of key threads in the frame drawing process of the preset number in the past, selecting the key thread with the longest running time of each frame as a target thread, and taking the average running time of each frame of the target thread as a target frame drawing load;
the adjustment module is used for acquiring the average running time of each frame of the key thread, the average frequency of the processor during each frame of drawing and the target frame rate of the current scene in the frame drawing process of the past preset number, wherein the target frame rate is a preset fixed value; obtaining a first target frequency according to the average running time of each frame of the key thread, the average frequency of a processor during drawing each frame, the target frame rate of the current scene and the target frame drawing load; and adjusting the lower frequency limit of the current processor to the first target frequency.
9. A storage medium having stored thereon a computer program which, when run on a computer, causes the computer to perform the method of adjusting the frequency of a processor according to any of claims 1 to 7.
10. An electronic device comprising a processor and a memory, the memory storing a computer program, characterized in that the processor is adapted to perform the method of adjusting the frequency of the processor according to any of claims 1 to 7 by invoking the computer program.
CN202011173375.XA 2020-10-28 2020-10-28 Processor frequency adjusting method and device, storage medium and electronic equipment Active CN112114975B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011173375.XA CN112114975B (en) 2020-10-28 2020-10-28 Processor frequency adjusting method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011173375.XA CN112114975B (en) 2020-10-28 2020-10-28 Processor frequency adjusting method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN112114975A CN112114975A (en) 2020-12-22
CN112114975B true CN112114975B (en) 2023-06-27

Family

ID=73795024

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011173375.XA Active CN112114975B (en) 2020-10-28 2020-10-28 Processor frequency adjusting method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN112114975B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114064431A (en) * 2021-11-11 2022-02-18 北京字节跳动网络技术有限公司 Stuck detection method and device, readable medium and electronic equipment
CN115017002B (en) * 2021-12-22 2023-04-18 荣耀终端有限公司 Frequency prediction method and frequency prediction device
CN115017003B (en) * 2021-12-22 2023-05-30 荣耀终端有限公司 Load prediction method and load prediction device
CN114461323B (en) * 2022-01-26 2023-04-28 海信电子科技(深圳)有限公司 Clamping and processing method and device, electronic equipment and storage medium
CN115103210B (en) * 2022-07-12 2024-02-20 北京字跳网络技术有限公司 Information processing method, device, terminal and storage medium
CN117149409A (en) * 2023-05-16 2023-12-01 荣耀终端有限公司 Method for adjusting CPU frequency and terminal equipment
CN116414215B (en) * 2023-06-05 2023-10-20 荣耀终端有限公司 Frequency modulation method and frequency modulation device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104460934A (en) * 2013-09-13 2015-03-25 华为终端有限公司 Scheduling method and device for multi central processing units (CPU)
CN106095052A (en) * 2016-05-31 2016-11-09 广东欧珀移动通信有限公司 The method and device of control CPU power consumption
WO2020073672A1 (en) * 2018-10-11 2020-04-16 华为技术有限公司 Resource scheduling method and terminal device
CN111221654A (en) * 2020-01-06 2020-06-02 北京小米移动软件有限公司 Method and device for adjusting working frequency of scheduler and storage medium
CN111240817A (en) * 2020-01-06 2020-06-05 北京小米移动软件有限公司 Resource scheduling method, resource scheduling apparatus, and storage medium
CN111338838A (en) * 2020-03-23 2020-06-26 Oppo广东移动通信有限公司 Method for controlling frequency of central processing unit and related device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104460934A (en) * 2013-09-13 2015-03-25 华为终端有限公司 Scheduling method and device for multi central processing units (CPU)
CN106095052A (en) * 2016-05-31 2016-11-09 广东欧珀移动通信有限公司 The method and device of control CPU power consumption
WO2020073672A1 (en) * 2018-10-11 2020-04-16 华为技术有限公司 Resource scheduling method and terminal device
CN111221654A (en) * 2020-01-06 2020-06-02 北京小米移动软件有限公司 Method and device for adjusting working frequency of scheduler and storage medium
CN111240817A (en) * 2020-01-06 2020-06-05 北京小米移动软件有限公司 Resource scheduling method, resource scheduling apparatus, and storage medium
CN111338838A (en) * 2020-03-23 2020-06-26 Oppo广东移动通信有限公司 Method for controlling frequency of central processing unit and related device

Also Published As

Publication number Publication date
CN112114975A (en) 2020-12-22

Similar Documents

Publication Publication Date Title
CN112114975B (en) Processor frequency adjusting method and device, storage medium and electronic equipment
US11849399B2 (en) Method for reducing power consumption of terminal, and terminal
EP2551741A2 (en) Method for controlling temperature of terminal and terminal supporting the same
US20120110360A1 (en) Application-specific power management
US10862992B2 (en) Resource cache management method and system and apparatus
CN109157839A (en) Frame per second regulates and controls method, apparatus, storage medium and terminal
CN108196482B (en) Power consumption control method and device, storage medium and electronic equipment
WO2019024641A1 (en) Data synchronization method and apparatus, storage medium and electronic device
CN107613315A (en) Video image quality adjustment method, device, terminal device and storage medium
CN111581174A (en) Resource management method and device based on distributed cluster system
CN104572150B (en) Information processing method and device
CN110572704A (en) method, device, equipment and medium for controlling bullet screen playing speed
CN107943571B (en) Background application control method and device, storage medium and electronic equipment
CN111007932A (en) Temperature control system, temperature control method based on temperature control system and electronic equipment
CN107341094B (en) Method and device for measuring time consumed by starting item
CN109802994B (en) Message pushing method and system based on content distribution network
WO2020133408A1 (en) Application program priority level adjustment method and apparatus, and storage medium and electronic device
CN107908273B (en) Application management method and device, storage medium and electronic equipment
CN108038050B (en) Performance adjusting method and device, storage medium and electronic equipment
CN109669528B (en) Terminal processing component control method and device, computer equipment and storage medium
CN116578422A (en) Resource allocation method and electronic equipment
CN108377162B (en) Antenna control method, antenna control device, storage medium and electronic equipment
US20150282084A1 (en) Communication control device, communication control method, and recording medium
US11693756B2 (en) Technologies for managing memory on a compute device
CN112925478B (en) Camera storage space control method, intelligent terminal and computer readable storage medium

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