CN105404381A - Terminal device operation frequency control method and system - Google Patents

Terminal device operation frequency control method and system Download PDF

Info

Publication number
CN105404381A
CN105404381A CN201510757442.5A CN201510757442A CN105404381A CN 105404381 A CN105404381 A CN 105404381A CN 201510757442 A CN201510757442 A CN 201510757442A CN 105404381 A CN105404381 A CN 105404381A
Authority
CN
China
Prior art keywords
scene
preset
triggering
scenario
terminal device
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.)
Pending
Application number
CN201510757442.5A
Other languages
Chinese (zh)
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.)
Allwinner Technology Co Ltd
Original Assignee
Allwinner Technology Co 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 Allwinner Technology Co Ltd filed Critical Allwinner Technology Co Ltd
Priority to CN201510757442.5A priority Critical patent/CN105404381A/en
Publication of CN105404381A publication Critical patent/CN105404381A/en
Pending legal-status Critical Current

Links

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention provides a terminal device operation frequency control method and system. The method comprises the following steps of: detecting a scene triggering event according to a preset triggering condition of a preset scene, and after the scene triggering event is detected, obtaining a triggered preset scene corresponding to the scene triggering event; determining a current preset scene according to a priority of the preset scene and a previous preset scene that is being run by a terminal device; determining a current operation frequency corresponding to the current preset scene according to a frequency corresponding relationship pre-stored in the terminal device; and controlling the terminal device to run at the current operation frequency. According to the terminal device operation frequency control method and system, the operation frequency of the terminal device is controlled according to the current preset scene, so that the frequency demand of the device running in the corresponding preset scene is met, the response speed of the device is increased, and the performance of the device is improved; and the terminal device does not need to be frequently adjusted, so that the power consumption of the device is reduced, the working life is prolonged, and the user experience is improved on the whole.

Description

The control method of terminal device running frequency and system
Technical field
The present invention relates to field of computer technology, particularly relate to a kind of control method and system of terminal device running frequency.
Background technology
The performance of terminal device and power consumption are by CPU (CentralProcessingUnit substantially, central processing unit), DRAM (DynamicRandomAccessMemory, dynamic RAM), GPU (GraphicsProcessingUnit, graphic process unit) determine.In the use procedure of reality, CPU, DRAM and GPU do not run with fixed frequency, but dynamic adjustments as required.Current realize the dispatching algorithm that CPU, DRAM and GPU regulate as required and be all within the regular hour generally, by sampling and calculating, dope CPU, DRAM and GPU frequency that next stage needs.If the time regulated is enough short, the effect so regulated more close to actual demand, but regulates the frequency of CPU, DRAM and GPU that algorithm expense and hardware time order expense can be caused very large frequently, brings the instability of hardware and the increase of power consumption; If the time interval regulated is long, hardware performance can be caused again not catch up with actual demand, specifically be reacted to terminal user and pause for interface card or respond slowly, thus reduce Consumer's Experience.Therefore choosing suitable time interval seems particularly important, but in the R&D process of actual product, and this time interval, both not easily reached Tradeoff point normally to a compromise of continuation of the journey and performance.
Summary of the invention
Given this, the invention provides a kind of low-power consumption, the control method of high performance terminal device running frequency and system.
For reaching goal of the invention, the invention provides a kind of control method of terminal device running frequency, comprising the following steps:
Preset trigger condition according to default scene detects scene trigger event, and after described scenario triggered event being detected, scene is preset in the triggering obtaining described scenario triggered event corresponding;
According to the last default scene determination current preset scene that priority and the terminal device of described default scene are running;
The current operation frequency that described current preset scene is corresponding is determined according to the frequency corresponding relation prestored in terminal device;
Control described terminal device to run according to described current operation frequency;
Wherein, described default scene is at least two kinds.
As a kind of embodiment, further comprising the steps of:
After described scenario triggered event being detected, judge that scene is preset in described triggering whether identical with described last default scene;
If identical, then do not process;
If different, then judge whether the switch that scene is preset in described triggering is opened, described switch determines that whether processing described triggering presets scene;
If open, then carry out the step of the last default scene determination current preset scene that the described priority according to described default scene and terminal device are running;
If do not open, then scene is not preset to described triggering and process.
As a kind of embodiment, described default scene comprises limit scene, at least two kinds of rotating in scene, application scenarios, video scene, main interface scenario and music scenario;
If the described scenario triggered event detected is that limit scene enters event, it is described limit scene that scene is preset in the described triggering of acquisition;
If the described scenario triggered event detected enters event for rotating scene, it is described rotation scene that scene is preset in the described triggering of acquisition;
If the described scenario triggered event detected is that application scenarios enters event, it is described application scenarios that scene is preset in the described triggering of acquisition;
If the described scenario triggered event detected is that video scene enters event, it is described video scene that scene is preset in the described triggering of acquisition;
If the described scenario triggered event detected is that main interface scenario enters event, it is described main interface scenario that scene is preset in the described triggering of acquisition;
If the described scenario triggered event detected is that music scenario enters event, it is described music scenario that scene is preset in the described triggering of acquisition.
As a kind of embodiment, when determining described current preset scene, described application scenarios scene by default;
The last default scene determination current preset scene that the described priority according to described default scene and terminal device are running, comprises the steps:
Judge that scene is preset in described triggering or whether described last default scene is described acquiescence scene;
If it is described acquiescence scene that scene is preset in described triggering, then described acquiescence scene is defined as described current preset scene;
If described last default scene is acquiescence scene, then described triggering is preset scene and be defined as described current preset scene;
If scene is preset in described triggering and described last default scene is not all described acquiescence scene, the priority of the priority and described last default scene of described triggering being preset scene compares;
If the priority of priority higher than described last default scene of scene is preset in described triggering, then described triggering is preset scene and be defined as described current preset scene;
If the priority of priority lower than described last default scene of scene is preset in described triggering, be first then described acquiescence scene by described last default scene conversion, preset scene by described acquiescence scene conversion to described triggering again, and described triggering is preset scene and be defined as described current preset scene.
As a kind of embodiment, the priority orders presetting scene described in each is: limit scene > rotates scene > application scenarios > video scene > main interface scenario > music scenario.
As a kind of embodiment, described current operation frequency comprises cpu frequency, DRAM frequency and GPU frequency.
The present invention also provides a kind of control system of terminal device running frequency, comprises scene detection module, scene determination module, frequency determining module and operation module, wherein:
Described scene detection module, the preset trigger condition be configured to according to presetting scene detects scene trigger event, and after described scenario triggered event being detected, scene is preset in the triggering obtaining described scenario triggered event corresponding;
Described scene determination module, is configured to the last default scene determination current preset scene run according to priority and the terminal device of described default scene;
Described frequency determining module, is configured to determine according to the frequency corresponding relation prestored in terminal device the current operation frequency that described current preset scene is corresponding;
Described operation module, is configured to control described terminal device and runs according to described current operation frequency;
Wherein, described default scene is at least two kinds.
As a kind of embodiment, also comprise the first judge module and the second judge module, wherein:
Described first judge module, after being configured to described scenario triggered event to be detected, judges that scene is preset in described triggering whether identical with described last default scene; If identical, then do not process; If different, then enter described second judge module;
Described second judging unit, is configured to judge whether the switch that scene is preset in described triggering is opened, and described switch determines that whether processing described triggering presets scene; If open, then enter described scene determination module; If do not open, then scene is not preset to described triggering and process.
As a kind of embodiment, described default scene comprises limit scene, at least two kinds of rotating in scene, application scenarios, video scene, main interface scenario and music scenario;
Described scene detection module comprises the first detecting unit, the second detecting unit, the 3rd detecting unit, the 4th detecting unit, the 5th detecting unit and the 6th detecting unit, wherein:
Described first detecting unit, the described scenario triggered event detected if be configured to is that limit scene enters event, and it is described limit scene that scene is preset in the described triggering of acquisition;
Described second detecting unit, the described scenario triggered event detected if be configured to enters event for rotating scene, and it is described rotation scene that scene is preset in the described triggering of acquisition;
Described 3rd detecting unit, the described scenario triggered event detected if be configured to is that application scenarios enters event, and it is described application scenarios that scene is preset in the described triggering of acquisition;
Described 4th detecting unit, the described scenario triggered event detected if be configured to is that video scene enters event, and it is described video scene that scene is preset in the described triggering of acquisition;
Described 5th detecting unit, the described scenario triggered event detected if be configured to is that main interface scenario enters event, and it is described main interface scenario that scene is preset in the described triggering of acquisition;
Described 6th detecting unit, the described scenario triggered event detected if be configured to is that music scenario enters event, and it is described music scenario that scene is preset in the described triggering of acquisition.
As a kind of embodiment, when determining described current preset scene, described application scenarios scene by default;
Described scene determination module comprises judging unit, the first determining unit, the second determining unit and comparing unit, wherein:
Described judging unit, is configured to judge that scene is preset in described triggering or whether described last default scene is described acquiescence scene;
Described first determining unit, if be configured to described triggering, to preset scene be described acquiescence scene, then described acquiescence scene is defined as described current preset scene;
Described second determining unit, if being configured to described last default scene is described acquiescence scene, then presets scene and is defined as described current preset scene by described triggering;
Described comparing unit, if when being configured to described triggering to preset scene and described last default scene be not all described acquiescence scene, the priority of the priority and described last default scene of described triggering being preset scene compares; If the priority of priority higher than described last default scene of scene is preset in described triggering, then described triggering is preset scene and be defined as described current preset scene; If the priority of priority lower than described last default scene of scene is preset in described triggering, then first be converted to described acquiescence scene, preset scene by described acquiescence scene conversion to described triggering again, and described triggering is preset scene described last default scene is defined as described current preset scene;
The priority orders presetting scene described in each is: limit scene > rotates scene > application scenarios > video scene > main interface scenario > music scenario.
As a kind of embodiment, described current operation frequency comprises cpu frequency, DRAM frequency and GPU frequency.
Beneficial effect of the present invention comprises:
The control method of terminal device running frequency of the present invention and system, detect to trigger according to the preset trigger condition of default scene and preset scene, and according to the priority determination current preset scene of scene, according to current preset scene and default frequency corresponding relation determination current operation frequency, and current operation frequency operation pressed by the corresponding hardware of control terminal, corresponding frequency is run for specific scene, reach the object of fixed point oriented control device hardware frequency, meet equipment operate in corresponding scene under frequency needs, enhance the reaction velocity of equipment, improve the performance of equipment, and it is without the need to frequent adjustment, reduce equipment power dissipation, the cruising time increased, improve Consumer's Experience on the whole.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of an embodiment of the control method of terminal device running frequency of the present invention;
The schematic flow sheet of the specific embodiment that Fig. 2 is step S100 shown in Fig. 1;
The schematic flow sheet of the specific embodiment that Fig. 3 is step S200 shown in Fig. 1;
Fig. 4 is the schematic flow sheet of another embodiment of the control method of terminal device running frequency of the present invention;
Fig. 5 is the schematic flow sheet of the another embodiment of the control method of terminal device running frequency of the present invention;
Fig. 6 is the structural representation of an embodiment of the control system of terminal device running frequency of the present invention;
Fig. 7 is the structural representation of another embodiment of the control system of terminal device running frequency of the present invention.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the control method of terminal device running frequency of the present invention and system are further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
See Fig. 1, a specific embodiment of the control method of a kind of terminal device running frequency provided by the invention, comprises the following steps:
S100, the preset trigger condition according to default scene detects scene trigger event, and after described scenario triggered event being detected, scene is preset in the triggering obtaining scenario triggered event corresponding.
In the present embodiment, each default scene is preset with corresponding trigger condition, trigger condition comprises scene and enters trigger condition and scene exits trigger condition, therefore when detecting scene trigger event according to trigger condition, the scenario triggered event detected may enter event (to enter trigger condition corresponding with scene) for scene, also may be that scene exits event (to exit trigger condition corresponding with scene), if the scenario triggered event detected is that scene enters event, the scene then entered is to trigger presets scene, if the scenario triggered event detected is that scene exits event, then trigger and preset scene for acquiescence scene.
S200, according to the last default scene determination current preset scene that priority and the terminal device of default scene are running, wherein, default scene is at least two kinds.
Default scene sets corresponding priority orders according to demand, running frequency corresponding to the scene that priority orders is high more greatly, running frequency corresponding to the scene that priority orders is low is less, the scene that priority is high can be switched to the low scene of priority, and the low scene of priority can not be switched to the high scene of priority, avoids power consumption to increase.Which is final current preset scene to determine to trigger default scene and last default scene according to the priority of default scene.
In a specific embodiment, each default scene has scene mode corresponding with it, after obtaining the default scene of triggering, scene mode is preset with regard to determining triggering corresponding with it, according to current preset scene mode corresponding to the priority determination current preset scene of scene mode (wherein, scene mode priority is corresponding with scene priority), finally according to the current preset scene mode determined and frequency corresponding relation, obtain current operation frequency.Wherein, terminal device is the intelligent electronic devices such as panel computer, learning machine, mobile phone, TV box.
S300, the current operation frequency corresponding according to the frequency corresponding relation determination current preset scene prestored in terminal device.
S400, control terminal runs according to current operation frequency.
Often kind of scene has the running frequency of a set of correspondence, after determining the current preset scene of terminal device, just can obtain corresponding running frequency according to frequency corresponding relation, thus control under corresponding hardware makes terminal device operate in corresponding frequency by corresponding self defined interface.Wherein, the mode that default corresponding relation can be shown by correspondence realizes.
The control method of the terminal device running frequency of one embodiment of the invention, scene trigger event is detected by preset trigger condition, obtain to trigger according to scenario triggered event and preset scene, according to the priority determination current preset scene of default scene, and the current operation frequency of terminal device is obtained by current preset scene and frequency corresponding relation, last control terminal runs according to current operation frequency.It does scene optimizes, and control terminal runs corresponding frequency under specific scene, reaches the object of fixed point oriented control device hardware frequency, the performance requirement of user can be met, again reduce power consumption, reach the effect of Low Power High Performance, improve Consumer's Experience.
In a specific embodiment, scene comprises limit scene, rotates scene, application scenarios, video scene, main interface scenario and music scenario.Wherein, it is judge that the application of current startup is that application in white list (stores a white list in system that scene corresponding to limit scene enters trigger condition, the application that limit scene is corresponding is stored in white list), it is that current application is withdrawn into backstage that the scene of its correspondence exits trigger condition; Rotating scene corresponding to scene, to enter trigger condition be that current application rotates, and it is that current application rotates complete that the scene of its correspondence exits trigger condition; The scene that application scenarios is corresponding enters trigger condition and occurs for there being touch event, and it is do not have touch event to occur in continuous Preset Time that the scene of its correspondence exits trigger condition; It is present terminal equipment played in full screen that the scene that video scene is corresponding enters trigger condition, and figure number of layers is less than 3, it is currently do not playing video or be not that the number of played in full screen video or layer is more than or equal to 3 that the scene of its correspondence exits trigger condition; It is that system enters main interface that the scene that main interface scenario is corresponding enters trigger condition, and does not have touch event in continuous Preset Time, and the scene of its correspondence exits trigger condition and occurs for there being touch event; It is that system is current in broadcasting music that the scene that music scenario is corresponding enters trigger condition, and screen is closed condition, and the scene exit criteria of its correspondence is that current system no longer plays music or screen is not closed condition.In the above-described embodiments, Preset Time is preferably 2s, and system is preferably android system.What deserves to be explained is, above-mentioned trigger condition presets, and it describes comparatively concrete and detailed, but is not limited to foregoing description, also can arrange corresponding trigger condition as the case may be.
As a kind of embodiment, see Fig. 2, default scene comprises limit scene, at least two kinds of rotating in scene, application scenarios, video scene, main interface scenario and music scenario.Step S100 comprises the steps:
S110, if the scenario triggered event detected is limit scene enter event, it is limit scene that scene is preset in the triggering of acquisition.
S120, if the scenario triggered event detected enters event for rotating scene, the triggering of acquisition presets scene for rotating scene.
S130, if the scenario triggered event detected is application scenarios enter event, it is application scenarios that scene is preset in the triggering of acquisition.
S140, if the scenario triggered event detected is video scene enter event, it is video scene that scene is preset in the triggering of acquisition.
S150, if the scenario triggered event detected is main interface scenario enter event, it is main interface scenario that scene is preset in the triggering of acquisition.
S160, if the scenario triggered event detected is music scenario enter event, it is music scenario that scene is preset in the triggering of acquisition.
In the above-described embodiments, default scene comprises limit scene, rotates the combination of two or more scene arbitrarily in scene, application scenarios, video scene, main interface scenario and music scenario, namely the selection of two kinds of scenes may be only had in step S100, namely step S100 may only include the part in step S110 to S170, can certainly comprise all.Preferably, scene comprises all scenes in limit scene, rotation scene, application scenarios, video scene, main interface scenario and music scenario.What deserves to be explained is, step S110 to S170 is relation arranged side by side, instead of relation in turn.
What deserves to be explained is, the application scenarios event of entering in above-described embodiment is that scene exits event, namely when there being the application scenarios event that enters to occur, being equivalent to scene and exiting event.Wherein, scene exit event comprise limit scene exit event, rotate scene exits event, video scene exits event, main interface scenario exits event and music scenario exits event.As last default scene be the limit scene time, detect that the application scenarios event that enters occurs, now scene is converted to application scenarios by limit scene, is namely equivalent to that limit scene occurs and exits event.
As a kind of concrete embodiment, see Fig. 3, when determining described current preset scene, described application scenarios scene by default.Step S200 comprises the steps:
S210, judges that scene is preset in triggering or whether last default scene is acquiescence scene.
S220, presets scene for acquiescence scene, then acquiescence scene is defined as current preset scene if trigger.
S230, if last default scene is acquiescence scene, then presets scene by triggering and is defined as current preset scene.
S240, presets scene if trigger and last default scene is not all acquiescence scene, then default for the triggering priority of scene and the priority of last default scene are compared;
S241, triggering higher than the priority of last default scene, is then preset scene and is defined as current preset scene by the priority presetting scene if trigger.
S242, last default scene conversion lower than the priority of last default scene, is then first acquiescence scene, then presets scene by acquiescence scene conversion to triggering, and default for triggering scene is defined as current preset scene by the priority presetting scene if trigger.
The rule presetting scene switching is that high priority can be switched to low priority, and low priority can not be directly switch to high priority.Wherein application scenarios scene by default in transfer process, it is comparatively special, is the intermediate state in scene conversion process, and its switching law can be switched to any default scene from acquiescence scene, also can be switched to acquiescence scene from any default scene.When terminal device need from the default scene conversion of high priority to the default scene of low priority time, then need the scene first exiting high priority, when making terminal device be in acquiescence scene, be transformed into the default scene of low priority again, function loss can be avoided to a certain extent, and the regulating time of device frequency can be shortened, improve the performance requirement of equipment.
Preferably, if preset scene to comprise limit scene, rotate scene, application scenarios, video scene, main interface scenario and music scenario, the priority orders of each default scene is that limit scene > rotates scene > application scenarios > video scene > main interface scenario > music scenario.
Illustrate, if the triggering obtained presets scene for rotating scene, and last default scene is video scene, scene is preset in triggering and last default scene is not acquiescence scene, from the priority orders of above-mentioned default scene, rotating the priority of priority higher than video scene of scene, therefore determining that current preset scene is for rotating scene.
As a kind of embodiment, current operation frequency comprises cpu frequency, DRAM frequency and GPU frequency, and see Fig. 4, step S300 comprises the steps:
S310, cpu frequency, DRAM frequency and the GPU frequency corresponding according to frequency corresponding relation determination current preset scene.
Step S400 comprises the steps:
S410, CPU, DRAM and GPU according to the cpu frequency obtained, DRAM frequency and GPU frequency terminal device run.
Frequency corresponding relation can be realized by frequency correspondence table, and frequency correspondence table comprises default scene information and the running frequency information corresponding with default scene information, customizes a set of running frequency information in advance namely to each default scene.Wherein, default scene information comprises all default scenes, and running frequency information comprises the running frequency information of the hardware such as CPU, DRAM and GPU.Run according to the frequency of correspondence according to the cpu frequency obtained, DRAM frequency and the corresponding hardware of GPU frequency control, make hardware frequency practical requirement, it presets the specific frequency of scene setting for specific, hardware can be made to meet the frequency needs of corresponding default scene, again without the need to adjusting hardware frequency frequently, reach low-power consumption and high performance object.
What deserves to be explained is, when the running frequency of control CPU, by the frequency values of self defined interface control CPU, during the running frequency of control DRAM, by the frequency values of self defined interface control DRAM, during the running frequency of control GPU, by the frequency values of self defined interface control GPU.The frequency values of CPU, DRAM and GPU can regulate between its minimax frequency.
As a kind of embodiment, after step sloo, see Fig. 5, further comprising the steps of:
S100a, after scenario triggered event being detected, judges to trigger default scene whether identical with last default scene; If identical, then do not process; Then perform step S100b.
S100b, judges whether trigger the switch presetting scene opens, and whether this switch determines to process to trigger presets scene; If open, then perform step S200; If do not open, then scene is not preset to triggering and process.
After scenario triggered event being detected, scene is preset in triggering corresponding to scenario triggered event may be different from last default scene, also may be identical.If identical, then do not need to perform subsequent step, still running by original running frequency of terminal device, it does not carry out frequency adjustment, saves power consumption to a certain extent.If different, then judge whether trigger the switch presetting scene opens, this switch determines whether process the switch that scene is preset in this triggering, if this switch opens, then preset scene to triggering to process, if this switch is not opened, then illustrate without the need to processing the default scene of triggering, equipment still runs by original running frequency just can meet performance requirement, because it does not just regulate hardware frequency when default scene changes, so reduce power consumption to a certain extent, wherein, what deserves to be explained is, often kind of corresponding switch of default scene, described switch is a configuration item in software, can control dynamically to open or close.Illustrate, default scene as triggered is video scene, but the switch that video scene is corresponding is not opened, illustrate that terminal device is current and do not apply video scene, now terminal device only need keep original running frequency just can meet corresponding frequency needs, it meets performance requirement, and does not increase power consumption, ensure that the high-performance low-power-consumption of equipment.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-OnlyMemory, ROM) or random store-memory body (RandomAccessMemory, RAM) etc.
Based on same inventive concept, present invention also offers a kind of control system of terminal device running frequency, the principle of dealing with problems due to this system is similar to the control method of aforementioned a kind of terminal device running frequency, therefore the enforcement of this system see the enforcement of preceding method, can repeat part and repeats no more.
The control system of the terminal device running frequency that one embodiment of the invention provides, see Fig. 6, comprises scene detection module 100, scene determination module 200, frequency determining module 300 and operation module 400.
Wherein: scene detection module 100, the preset trigger condition be configured to according to presetting scene detects scene trigger event, and after scenario triggered event being detected, scene is preset in the triggering obtaining scenario triggered event corresponding.
Scene determination module 200, be configured to the last default scene determination current preset scene run according to the priority and terminal device of presetting scene, wherein, default scene is at least two kinds.
Frequency determining module 300, is configured to the current operation frequency corresponding according to the frequency corresponding relation determination current preset scene prestored in terminal device.
Run module 400, be configured to control terminal and run according to current operation frequency.
One embodiment of the control system of terminal device running frequency of the present invention, detect to trigger according to the preset trigger condition of default scene and preset scene, and according to the priority determination current preset scene of default scene, often kind of default scene has corresponding running frequency, under operating in current operation frequency according to the hardware of current operation frequency control terminal corresponding to current preset scene, reach the object for the corresponding hardware frequency of specific scene setting, meet terminal device operate in corresponding default scene under frequency needs, improve equipment performance, add reaction velocity, and it is for the regulating frequency of special scenes orientation fixed point, without the need to regulating the frequency of hardware frequently, reduce the power consumption of equipment, add cruising time, enhance Consumer's Experience on the whole.
As a kind of embodiment, see Fig. 7, also comprise the first judge module 100a and the second judge module 100b.
Wherein: the first judge module 100a, after being configured to scenario triggered event to be detected, judge to trigger default scene whether identical with last default scene; If identical, then do not process; If different, then enter; Second judge module 100b;
Described second judging unit, be configured to judge whether trigger the switch presetting scene opens, whether switch determines to process to trigger presets scene, if open, then enters scene determination module 200, if do not open, does not then preset scene to triggering and processes.
As a kind of embodiment, scene comprises limit scene, at least two kinds of rotating in scene, application scenarios, video scene, main interface scenario and music scenario.
Scene detection module 100 comprises the first detecting unit 110, second detecting unit the 120, three detecting unit the 130, four detecting unit the 140, five detecting unit 150 and the 6th detecting unit 160.Wherein: the first detecting unit 110, the scenario triggered event detected if be configured to is that limit scene enters event, and it is limit scene that scene is preset in the triggering of acquisition.Second detecting unit 120, the scenario triggered event detected if be configured to enters event for rotating scene, and the triggering of acquisition presets scene for rotating scene.3rd detecting unit 130, the scenario triggered event detected if be configured to is that application scenarios enters event, and it is application scenarios that scene is preset in the triggering of acquisition.4th detecting unit 140, the scenario triggered event detected if be configured to is that video scene enters event, and it is video scene that scene is preset in the triggering of acquisition.5th detecting unit 150, the scenario triggered event detected if be configured to is that main interface scenario enters event, and it is main interface scenario that scene is preset in the triggering of acquisition.6th detecting unit 160, the scenario triggered event detected if be configured to is that music scenario enters event, and it is music scenario that scene is preset in the triggering of acquisition.
As a kind of embodiment, when determining described current preset scene, described application scenarios scene by default.Scene mode determination module 200 comprises judging unit 210, the first determining unit 220, second determining unit 230 and comparing unit 240.Wherein: judging unit 210, be configured to judge that scene is preset in triggering or whether last default scene is acquiescence scene.First determining unit 220, triggers if be configured to and presets scene for acquiescence scene, then acquiescence scene is defined as current preset scene.Second determining unit 230, if be configured to last default scene for acquiescence scene, then preset scene by triggering and is defined as current preset scene.Comparing unit 240, triggers default scene if be configured to and last default scene is not all when giving tacit consent to scene, default for the triggering priority of scene and the priority of last default scene is compared; Triggering higher than the priority of last default scene, is then preset scene and is defined as current preset scene by the priority presetting scene if trigger; The priority presetting scene if trigger is lower than the priority of last default scene, be first then described acquiescence scene by last default scene conversion, preset scene by described acquiescence scene conversion to described triggering again, and scene is preset in described triggering be defined as current preset scene.
As a kind of embodiment, the priority orders of each default scene is: limit scene > rotates scene > application scenarios > video scene > main interface scenario > music scenario.
As a kind of embodiment, current operation frequency comprises cpu frequency, DRAM frequency and GPU frequency.
The above embodiment only have expressed several embodiment of the present invention, and it describes comparatively concrete and detailed, but therefore can not be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be as the criterion with claims.

Claims (11)

1. a control method for terminal device running frequency, is characterized in that, comprises the following steps:
Preset trigger condition according to default scene detects scene trigger event, and after described scenario triggered event being detected, scene is preset in the triggering obtaining described scenario triggered event corresponding;
According to the last default scene determination current preset scene that priority and the terminal device of described default scene are running;
The current operation frequency that described current preset scene is corresponding is determined according to the frequency corresponding relation prestored in terminal device;
Control described terminal device to run according to described current operation frequency;
Wherein, described default scene is at least two kinds.
2., according to the control method of claim 1 terminal device running frequency, it is characterized in that, further comprising the steps of:
After described scenario triggered event being detected, judge that scene is preset in described triggering whether identical with described last default scene;
If identical, then do not process;
If different, then judge whether the switch that scene is preset in described triggering is opened, described switch determines that whether processing described triggering presets scene;
If open, then carry out the step of the last default scene determination current preset scene that the described priority according to described default scene and terminal device are running;
If do not open, then scene is not preset to described triggering and process.
3. the control method of terminal device running frequency according to claim 1 and 2, is characterized in that, described default scene comprises limit scene, at least two kinds of rotating in scene, application scenarios, video scene, main interface scenario and music scenario;
If the described scenario triggered event detected is that limit scene enters event, it is described limit scene that scene is preset in the described triggering of acquisition;
If the described scenario triggered event detected enters event for rotating scene, it is described rotation scene that scene is preset in the described triggering of acquisition;
If the described scenario triggered event detected is that application scenarios enters event, it is described application scenarios that scene is preset in the described triggering of acquisition;
If the described scenario triggered event detected is that video scene enters event, it is described video scene that scene is preset in the described triggering of acquisition;
If the described scenario triggered event detected is that main interface scenario enters event, it is described main interface scenario that scene is preset in the described triggering of acquisition;
If the described scenario triggered event detected is that music scenario enters event, it is described music scenario that scene is preset in the described triggering of acquisition.
4. the control method of terminal device running frequency according to claim 3, is characterized in that, when determining described current preset scene, and described application scenarios scene by default;
The last default scene determination current preset scene that the described priority according to described default scene and terminal device are running, comprises the steps:
Judge that scene is preset in described triggering or whether described last default scene is acquiescence scene;
If it is described acquiescence scene that scene is preset in described triggering, then described acquiescence scene is defined as described current preset scene;
If described last default scene is acquiescence scene, then described triggering is preset scene and be defined as described current preset scene;
If scene is preset in described triggering and described last default scene is not all described acquiescence scene, the priority of the priority and described last default scene of described triggering being preset scene compares;
If the priority of priority higher than described last default scene of scene is preset in described triggering, then described triggering is preset scene and be defined as described current preset scene;
If the priority of priority lower than described last default scene of scene is preset in described triggering, be first then described acquiescence scene by described last default scene conversion, preset scene by described acquiescence scene conversion to described triggering again, and described triggering is preset scene and be defined as described current preset scene.
5. the control method of terminal device running frequency according to claim 4, is characterized in that:
The priority orders presetting scene described in each is: limit scene > rotates scene > application scenarios > video scene > main interface scenario > music scenario.
6. the control method of terminal device running frequency according to claim 1 and 2, is characterized in that, described current operation frequency comprises cpu frequency, DRAM frequency and GPU frequency.
7. a control system for terminal device running frequency, is characterized in that, comprises scene detection module, scene determination module, frequency determining module and operation module, wherein:
Described scene detection module, the preset trigger condition be configured to according to presetting scene detects scene trigger event, and after described scenario triggered event being detected, scene is preset in the triggering obtaining described scenario triggered event corresponding;
Described scene determination module, is configured to the last default scene determination current preset scene run according to priority and the terminal device of described default scene;
Described frequency determining module, is configured to determine according to the frequency corresponding relation prestored in terminal device the current operation frequency that described current preset scene is corresponding;
Described operation module, is configured to control described terminal device and runs according to described current operation frequency;
Wherein, described default scene is at least two kinds.
8. the control system of terminal device running frequency according to claim 7, is characterized in that, also comprises the first judge module and the second judge module, wherein:
Described first judge module, after being configured to described scenario triggered event to be detected, judges that scene is preset in described triggering whether identical with described last default scene; If identical, then do not process; If different, then enter described second judge module;
Described second judging unit, is configured to judge whether the switch that scene is preset in described triggering is opened, and described switch determines that whether processing described triggering presets scene; If open, then enter described scene determination module; If do not open, then scene is not preset to described triggering and process.
9. the control system of the terminal device running frequency according to claim 7 or 8, is characterized in that, described default scene comprises limit scene, at least two kinds of rotating in scene, application scenarios, video scene, main interface scenario and music scenario;
Described scene detection module comprises the first detecting unit, the second detecting unit, the 3rd detecting unit, the 4th detecting unit, the 5th detecting unit and the 6th detecting unit, wherein:
Described first detecting unit, the described scenario triggered event detected if be configured to is that limit scene enters event, and it is described limit scene that scene is preset in the described triggering of acquisition;
Described second detecting unit, the described scenario triggered event detected if be configured to enters event for rotating scene, and it is described rotation scene that scene is preset in the described triggering of acquisition;
Described 3rd detecting unit, the described scenario triggered event detected if be configured to is that application scenarios enters event, and it is described application scenarios that scene is preset in the described triggering of acquisition;
Described 4th detecting unit, the described scenario triggered event detected if be configured to is that video scene enters event, and it is described video scene that scene is preset in the described triggering of acquisition;
Described 5th detecting unit, the described scenario triggered event detected if be configured to is that main interface scenario enters event, and it is described main interface scenario that scene is preset in the described triggering of acquisition;
Described 6th detecting unit, the described scenario triggered event detected if be configured to is that music scenario enters event, and it is described music scenario that scene is preset in the described triggering of acquisition.
10. the control system of terminal device running frequency according to claim 9, is characterized in that, when determining described current preset scene, and described application scenarios scene by default;
Described scene determination module comprises judging unit, the first determining unit, the second determining unit and comparing unit, wherein:
Described judging unit, is configured to judge that scene is preset in described triggering or whether described last default scene is described acquiescence scene;
Described first determining unit, if be configured to described triggering, to preset scene be described acquiescence scene, then described acquiescence scene is defined as described current preset scene;
Described second determining unit, if being configured to described last default scene is described acquiescence scene, then presets scene and is defined as described current preset scene by described triggering;
Described comparing unit, if when being configured to described triggering to preset scene and described last default scene be not all described acquiescence scene, the priority of the priority and described last default scene of described triggering being preset scene compares; If the priority of priority higher than described last default scene of scene is preset in described triggering, then described triggering is preset scene and be defined as described current preset scene; If the priority of priority lower than described last default scene of scene is preset in described triggering, be first then described acquiescence scene by described last default scene conversion, preset scene by described acquiescence scene conversion to described triggering again, and described triggering is preset scene and be defined as described current preset scene;
The priority orders presetting scene described in each is: limit scene > rotates scene > application scenarios > video scene > main interface scenario > music scenario.
The control system of 11. terminal device running frequencies according to claim 7 or 8, it is characterized in that, described current operation frequency comprises cpu frequency, DRAM frequency and GPU frequency.
CN201510757442.5A 2015-11-06 2015-11-06 Terminal device operation frequency control method and system Pending CN105404381A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510757442.5A CN105404381A (en) 2015-11-06 2015-11-06 Terminal device operation frequency control method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510757442.5A CN105404381A (en) 2015-11-06 2015-11-06 Terminal device operation frequency control method and system

Publications (1)

Publication Number Publication Date
CN105404381A true CN105404381A (en) 2016-03-16

Family

ID=55469909

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510757442.5A Pending CN105404381A (en) 2015-11-06 2015-11-06 Terminal device operation frequency control method and system

Country Status (1)

Country Link
CN (1) CN105404381A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106406502A (en) * 2016-11-21 2017-02-15 滁州职业技术学院 Method for operating frequency of mobile terminal and mobile terminal
CN107517308A (en) * 2017-08-07 2017-12-26 惠州Tcl移动通信有限公司 Application program for mobile terminal abnormal detection method, storage device and mobile terminal
CN109005578A (en) * 2018-08-14 2018-12-14 广东小天才科技有限公司 A kind of method and wearable device for reducing video calling power consumption
CN109889896A (en) * 2019-03-27 2019-06-14 努比亚技术有限公司 Method, mobile terminal and the storage medium of dynamic regulation CPU running frequency
CN110103987A (en) * 2019-05-21 2019-08-09 北京百度网讯科技有限公司 Decision rule method and apparatus applied to automatic driving vehicle
CN110719400A (en) * 2019-09-17 2020-01-21 北京兆维电子(集团)有限责任公司 Image acquisition method and system
CN111427316A (en) * 2020-03-19 2020-07-17 海尔优家智能科技(北京)有限公司 Scene triggering method and device, storage medium and electronic device
CN111708642A (en) * 2020-08-20 2020-09-25 北京爱奇艺智能科技有限公司 Processor performance optimization method and device in VR system and VR equipment
WO2023207084A1 (en) * 2022-04-29 2023-11-02 广东小天才科技有限公司 Event detection method and apparatus, terminal device, and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102722610A (en) * 2012-05-29 2012-10-10 李姮乐 Method and device for automatically generating coverage rate codes by flow chart
WO2013163804A1 (en) * 2012-05-03 2013-11-07 华为技术有限公司 Method and device for adjusting word bank
CN103699802A (en) * 2013-12-31 2014-04-02 北京像素软件科技股份有限公司 Method and system for controlling scene logic of game scene uniformly
CN104348736A (en) * 2013-07-31 2015-02-11 北京华为数字技术有限公司 Method for selecting route under multicast load scene and routers
CN104731304A (en) * 2015-03-20 2015-06-24 广东欧珀移动通信有限公司 Adjusting method and device for CPU frequency adjustment mode in terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013163804A1 (en) * 2012-05-03 2013-11-07 华为技术有限公司 Method and device for adjusting word bank
CN102722610A (en) * 2012-05-29 2012-10-10 李姮乐 Method and device for automatically generating coverage rate codes by flow chart
CN104348736A (en) * 2013-07-31 2015-02-11 北京华为数字技术有限公司 Method for selecting route under multicast load scene and routers
CN103699802A (en) * 2013-12-31 2014-04-02 北京像素软件科技股份有限公司 Method and system for controlling scene logic of game scene uniformly
CN104731304A (en) * 2015-03-20 2015-06-24 广东欧珀移动通信有限公司 Adjusting method and device for CPU frequency adjustment mode in terminal

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106406502A (en) * 2016-11-21 2017-02-15 滁州职业技术学院 Method for operating frequency of mobile terminal and mobile terminal
CN106406502B (en) * 2016-11-21 2019-08-06 滁州职业技术学院 A kind of method of mobile terminal control running frequency
CN110413095A (en) * 2016-11-21 2019-11-05 滁州职业技术学院 A kind of mobile terminal adjusting running frequency function with dynamic
CN110413095B (en) * 2016-11-21 2022-11-29 滁州职业技术学院 Mobile terminal with function of dynamically adjusting operating frequency
CN107517308A (en) * 2017-08-07 2017-12-26 惠州Tcl移动通信有限公司 Application program for mobile terminal abnormal detection method, storage device and mobile terminal
CN109005578A (en) * 2018-08-14 2018-12-14 广东小天才科技有限公司 A kind of method and wearable device for reducing video calling power consumption
CN109889896A (en) * 2019-03-27 2019-06-14 努比亚技术有限公司 Method, mobile terminal and the storage medium of dynamic regulation CPU running frequency
CN110103987A (en) * 2019-05-21 2019-08-09 北京百度网讯科技有限公司 Decision rule method and apparatus applied to automatic driving vehicle
CN110719400A (en) * 2019-09-17 2020-01-21 北京兆维电子(集团)有限责任公司 Image acquisition method and system
CN111427316A (en) * 2020-03-19 2020-07-17 海尔优家智能科技(北京)有限公司 Scene triggering method and device, storage medium and electronic device
CN111708642A (en) * 2020-08-20 2020-09-25 北京爱奇艺智能科技有限公司 Processor performance optimization method and device in VR system and VR equipment
WO2023207084A1 (en) * 2022-04-29 2023-11-02 广东小天才科技有限公司 Event detection method and apparatus, terminal device, and storage medium

Similar Documents

Publication Publication Date Title
CN105404381A (en) Terminal device operation frequency control method and system
US20220358833A1 (en) Methods, systems, and media for controlling a remote device using a touch screen of a mobile device in a display inhibited state
AU2016335982B2 (en) History-based key phrase suggestions for voice control of a home automation system
CN105472423B (en) For controlling the user terminal and its control method of display equipment
WO2022152201A1 (en) Display device, and playing method during multi-device switching
CN104298554A (en) Multi-task application program management method and device
US10594140B2 (en) Systems, apparatus, and methods for power management
US20160110155A1 (en) Communication terminal, home network system, and control method thereof
US20150363091A1 (en) Electronic device and method of controlling same
CN102117163B (en) Method for changing speed of browsing resource
CN105824424A (en) Music control method and terminal
CN104035651A (en) Control method and electronic device
CN106154853A (en) A kind of control method and mobile terminal
US20220342537A1 (en) Proximity-Based Controls On A Second Device
KR100753804B1 (en) Appaturus and method for background music control in mobile communication system
CN108549575B (en) Processing method and device for quitting split screen, storage medium and electronic equipment
CN113220365A (en) Control method and control device
CN107291370A (en) A kind of cloud storage system dispatching method and device
CN112817426B (en) Terminal control method in doze mode, terminal and storage medium
EP3709764B1 (en) Method for adjusting terminal setting, and apparatus
CN113190199A (en) Content display method, device, terminal, vehicle and readable storage medium
CN102486710A (en) Resource browsing speed changing method
US9741242B2 (en) Handheld terminal with integrated wireless appliance control
US20240069710A1 (en) Electronic apparatus and ui providing method thereof
CN104461601A (en) Method for adjusting parameter values and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160316

RJ01 Rejection of invention patent application after publication