The content of the invention
Present invention solves the technical problem that it is to provide a kind of intelligent terminal and its resource allocation method, computer-readable deposits
Storage media, existing frequency modulation technology is not only optimized, reduce handheld terminal energy consumption, while improve in program operation process
The property delayed and interim card, provide the user more high-quality experience.
In order to solve the above technical problems, the invention provides a kind of method of intelligent terminal resource distribution, the configuration side
Method comprises the following steps:
The intelligent terminal obtains current application to be triggered;
Judge operationally whether required resource reaches default resource threshold for the application to be triggered;
If it is described it is to be triggered application operationally required resource reach the default resource threshold, it is described it is to be triggered should
During with starting, the controller resource of the intelligent terminal is adjusted.
Wherein, the intelligent terminal also includes before obtaining the step of current application to be triggered:
Establish the scheduling allocation list of individual subscriber;
The application of installation to the intelligent terminal judges one by one, determines that operationally required resource is for the application
It is no to reach the default resource threshold;
If reaching the default resource threshold, the application is added in the scheduling allocation list;
Operationally whether required resource reaches default resource threshold for the intelligent terminal detection application to be triggered
Step specifically includes:
The application surveyed application to be triggered and whether belonged in the scheduling allocation list pre-set is judged, to be treated described in determination
Operationally whether required resource reaches default resource threshold for triggering application.
The step of scheduling allocation list for establishing individual subscriber, also includes:
Application to intelligent terminal unloading judges, determines whether described apply matches default money in unloading
Source threshold value;
Judge the application whether application that the intelligent terminal currently unloads belongs in scheduling allocation list;
If the application that the application currently unloaded belongs in scheduling allocation list, after the completion of application unloading, by described in
Removed using from scheduling allocation list.
Wherein, the application specifically includes the step of operationally whether required resource reaches the default resource threshold:
The resource consumption information for the application record being currently installed on is searched, by the resource consumption information and the intelligence
The application of the installation of terminal is judged one by one, determines operationally whether required resource reaches the default resource for the application
Threshold value.
Wherein it is determined that the application is specifically wrapped the step of operationally whether required resource reaches the default resource threshold
Include:
Whether the number of run of detection current application reaches predetermined value;
When the number of run reaches the predetermined value, obtain the average resource using during each run and consume letter
Breath;
By the average resource consumption information compared with the predetermined threshold value, the current application is determined operationally
Whether required resource reaches the default resource threshold.
The step of controller resource for adjusting the intelligent terminal, specifically includes:
If it is described it is to be triggered application operationally required resource reach the default resource threshold, it is described it is to be triggered should
After startup, adjust the processor of presently described intelligent terminal working frequency or check figure in it is at least one.
Detection is current to be waited to close using whether operationally required resource reaches default resource threshold;
If it is described wait close application operationally required resource reach the default resource threshold, it is described it is to be triggered should
During with closing, the controller resource of the intelligent terminal is adjusted.
If it is described wait close application operationally required resource reach the default resource threshold, it is described it is to be triggered should
With close when, adjust the processor of presently described intelligent terminal working frequency or check figure in it is at least one.
During the working frequency and the check figure that adjust presently described intelligent terminal processor, it can also be believed according to predetermined threshold value
Breath, when the application to be triggered starts or closed, adjust current storage running frequency.
In order to solve the above technical problems, the invention provides a kind of intelligent terminal, the intelligent terminal include telecommunication circuit,
Memory and processor;
The telecommunication circuit is used to be communicated with other intelligent terminals;
The holder is used to store caused data and and controller resource information in the intelligent terminal operation;
Computer program described in the computing device, realizes following steps:
Obtain current application to be triggered;
Judge operationally whether required resource reaches default resource threshold for the application to be triggered;
If it is described it is to be triggered application operationally required resource reach the default resource threshold, it is described it is to be triggered should
During with starting, the controller resource of the intelligent terminal is adjusted.
In order to solve the above technical problems, the invention provides a kind of calculation machine readable storage medium storing program for executing, can handled for storing
The computer program run on device;The computer program is used for:
The intelligent terminal obtains current application to be triggered;
Judge operationally whether required resource reaches default resource threshold for the application to be triggered;
If it is described it is to be triggered application operationally required resource reach the default resource threshold, it is described it is to be triggered should
During with starting, the controller resource of the intelligent terminal is adjusted.
The beneficial effects of the invention are as follows:Prior art is different from, intelligent terminal acquisition is current to be triggered in present embodiment
Using according to default resource threshold, to be triggered shared controller resource after unlatching is applied to adjust intelligence by judging this
The controller resource of energy terminal, can make each application program to be assigned to rational controller resource, will not only make
Into the wasting of resources, intelligent terminal energy consumption is reduced, while the application program property delayed in the process of running and card can be effectively improved
, provide the user more high-quality experience.
Embodiment
Referring to Fig. 1, Fig. 1 is the schematic flow sheet of the embodiment of method one of intelligent terminal resource distribution of the present invention, should
Resource distribution specifically comprises the following steps:
101:The intelligent terminal obtains current application to be triggered.
Wherein, the application to be triggered is intelligent terminal downloaded application, such as the Games Software in intelligent terminal, video
Software etc., is not limited herein.
102:Judge operationally whether required resource reaches default resource threshold for the application to be triggered.
Due to some application programs upon actuation, required memory source is relatively large, and intelligent terminal has turned on the control of operation
Resource processed may mismatch, and therefore, in the present embodiment, after application is triggered, be opened before startup currently to be triggered
The judgement of resource needed for dynamic application progress.
Specifically, by the required resource compared with the resource threshold pre-set, determine to provide needed for the application program
Whether source reaches the predetermined threshold value.Wherein, the predetermined threshold value is to readjust a critical value of controller resource, such as ought
When preceding application program can take controller resource 40% upon actuation, determine that resource needed for the application program reaches the default threshold
Value.In other embodiments, it is default threshold that can also set and take controller resource 30% or 50% or other arbitrary proportions
Value, is not limited herein.
103:If operationally required resource reaches the default resource threshold for the application to be triggered, wait to touch described
When hair application starts, the controller resource of the intelligent terminal is adjusted.
Specifically, because normal controller resource can be embodied by processor frequencies or check figure, wherein, the processor
Frequency determines the speed of service of intelligent terminal, and multinuclear then can be assigned to computing power in the minds of different processor cores, avoid by
In the limited and caused interim card of monokaryon operational capability.Therefore, can be by adjusting current intelligent terminal processor frequencies and check figure
To complete the adjustment of controller resource.For example, the processor of current intelligent terminal is double-core, and a core is currently opened,
And operationally required resource reaches the default resource threshold for application to be triggered, and other one is opened before the application program is opened
Individual core, to redistribute the controller resource after the application program is opened, each application program opened is set to run
In a rational controller resource allocation environment, prolonging in application program running is applied therefore, it is possible to be effectively improved
Property and interim card afterwards.
In another embodiment, have when intelligent terminal detects currently using just when closed, detection currently is waited to close
Operationally whether required resource has exceeded above-mentioned default resource threshold for the application closed, if application to be closed is operationally required
Resource reaches the default resource threshold, when the application to be triggered is closed, specifically can adjust the control of the intelligent terminal
It is at least one in the working frequency or check figure of the processor of the presently described intelligent terminal of device resource adjustment.For example, current intelligence
The processor of terminal is double-core, and has currently had been switched on two cores, and operationally required resource reaches for application to be triggered
The default resource threshold, that is, a core is turned off, intelligent terminal still can be with normal operation, then in the closing application program
Afterwards, one of them core for being used to run the application is closed, and redistributes the controller resource after the closing application program, is made
Each application program opened can be operated in a rational controller resource allocation environment, can effectively save control
Device resource.
Prior art is different from, intelligent terminal obtains current application to be triggered according to default resource threshold in present embodiment
Value, by judge this it is to be triggered apply after unlatching shared controller resource to adjust the controller resource of intelligent terminal,
Each application program can be made to be assigned to rational controller resource, will not only cause the wasting of resources, reduce intelligence
Terminal energy consumption, while the property delayed and interim card of application program in the process of running can be effectively improved, provide the user more high-quality
Experience.
Refering to Fig. 2, Fig. 2 is the schematic flow sheet of the method second embodiment of intelligent terminal resource distribution of the present invention, this
The method of the terminal resource configuration of embodiment comprises the following steps:
201:Establish the scheduling allocation list of individual subscriber.
It is equal when same application program is often turned on and off in order to avoid in the above-described embodiment, being turned on and off every time
The trouble judged required controller resource is needed, can be required in present embodiment according to different user, establishes user
People dispatches allocation list;Wherein, the scheduling allocation list of the individual subscriber includes needing the application inventory for readjusting controller resource
And details.
202:The application of installation to the intelligent terminal judges one by one, determines the application operationally required money
Whether source reaches the default resource threshold.
203:If reaching the default resource threshold, the application is added in the scheduling allocation list.
In a specific embodiment, the resource consumption for the application record that intelligent terminal is currently installed on by searching is believed
Breath, the resource consumption information and the application of the installation of the intelligent terminal are judged one by one, determine that described apply is being transported
Whether required resource reaches the default resource threshold during row.Judge that the application program is being run when application program is installed
Whether Shi Suoxu memory sources have reached the default resource threshold, if reached, the application is added into scheduling allocation list
In, and the scheduling allocation list is updated.
In another particular embodiment of the invention, if the controller resource not required to application when application is installed is carried out
Judge, or be not known in its mount message the application operationally required controller resource when, in the application program
The controller resource needed for it is all recorded when running each time, and whether the number of run for detecting the application reaches predetermined value.
For example, judge whether the application has been running for 5 times, if having reached the predetermined value, by the consumed control of this 5 times operations
Device resource is averaged, that is, obtain predetermined value number average resource consumption information, and by average resource consumption information with it is described
Predetermined threshold value is compared, and determines operationally whether required resource reaches the default resource threshold to the current application.Such as
Fruit reaches, then the application is added in scheduling allocation list, and the scheduling allocation list is updated.
In any of the above-described embodiment, the application whether application currently unloaded belongs in scheduling allocation list is detected, such as
The application that the application that fruit currently unloads belongs in scheduling allocation list, after the completion of application unloading, applied described from scheduling
Removed in allocation list, and the scheduling allocation list is updated.
204:The application whether application to be triggered belongs in the scheduling allocation list pre-set is judged, with described in determination
Operationally whether required resource reaches default resource threshold for application to be triggered.
Specifically, current application to be triggered and inventory list or other information in scheduling allocation list are contrasted one by one,
Judge the application information for whether having with the application to be triggered in the scheduling allocation list, if, it is determined that this it is to be triggered should
It is to reach default resource threshold with operationally required resource.
205:If operationally required resource reaches the default resource threshold for the application to be triggered, wait to touch described
When hair application starts, the controller resource of the intelligent terminal is adjusted.
Specifically, because normal controller resource can be embodied by processor frequencies or check figure, wherein, the processor
Frequency determines the speed of service of intelligent terminal, and multinuclear then can be assigned to computing power in the minds of different processor cores, avoid by
In the limited and caused interim card of monokaryon operational capability.Therefore, can be by adjusting current intelligent terminal processor frequencies and check figure
To complete the adjustment of controller resource.For example, the processor of current intelligent terminal is double-core, and a core is currently opened,
And operationally required resource reaches the default resource threshold for application to be triggered, and other one is opened before the application program is opened
Individual core, to redistribute the controller resource after the application program is opened, each application program opened is set to run
In a rational controller resource allocation environment, prolonging in application program running is applied therefore, it is possible to be effectively improved
Property and interim card afterwards.
In another embodiment, have when intelligent terminal detects currently using just when closed, detection currently is waited to close
The application that the application closed belongs in scheduling allocation list, if belonging to the application in scheduling allocation list, it is determined that this waits to close application
Operationally required resource reaches the default resource threshold, when the application to be triggered is closed, specifically can adjust the intelligence
It is at least one in the working frequency or check figure of the processor of the presently described intelligent terminal of controller resource adjustment of energy terminal.Example
Such as, the processor of current intelligent terminal is double-core, and has currently had been switched on two cores, and application to be triggered operationally institute
Need resource to reach the default resource threshold, that is, turn off a core, intelligent terminal still can be with normal operation, then in the application
After stop, one of them core for being used to run the application is closed, and redistribute the control after the closing application program
Device resource, each application program opened is set to operate in a rational controller resource allocation environment, Neng Gouyou
Effect saves controller resource.
Prior art is different from, intelligent terminal obtains current application to be triggered according to default resource threshold in present embodiment
Value, by judge this it is to be triggered apply after unlatching shared controller resource to adjust the controller resource of intelligent terminal,
Each application program can be made to be assigned to rational controller resource, will not only cause the wasting of resources, reduce intelligence
Terminal energy consumption, while the property delayed and interim card of application program in the process of running can be effectively improved, provide the user more high-quality
Experience.
It is different from above-mentioned embodiment, the personal scheduling allocation list established in present embodiment according to user, to described
The application of the installation of intelligent terminal is judged one by one, determines operationally whether required resource reaches described default for the application
Resource threshold;If reaching the default resource threshold, the application is added in the scheduling allocation list;If described unload
It is to dispatch the application in allocation list to carry application, does reverse operating.Can effectively avoid in the above-described embodiment, every time open or
Close the trouble for being required to be judged required controller resource when same application program is often turned on and off, be user with
To facilitate.
Refering to Fig. 3, Fig. 3 is the structural representation of the embodiment of intelligent terminal one of the present invention.
As shown in figure 3, the intelligent terminal of present embodiment includes telecommunication circuit 301, memory 302 and processor 303.
Wherein, telecommunication circuit 301 is used to be communicated with other intelligent terminals, is additionally operable to transmitting telecommunication number.
Holder 302 is used to store caused data and and controller resource information in the intelligent terminal operation.
Processor 303 performs the computer program, realizes following steps:
Obtain current application to be triggered.
Wherein, the application to be triggered is intelligent terminal downloaded application, such as the Games Software in intelligent terminal, video
Software etc., is not limited herein.
Judge operationally whether required resource reaches default resource threshold for the application to be triggered.
Specifically, by the required resource compared with the resource threshold pre-set, determine to provide needed for the application program
Whether source reaches the predetermined threshold value.Wherein, the predetermined threshold value is to readjust a critical value of controller resource, such as ought
When preceding application program can take controller resource 40% upon actuation, determine that resource needed for the application program reaches the default threshold
Value.In other embodiments, it is default threshold that can also set and take controller resource 30% or 50% or other arbitrary proportions
Value, is not limited herein.
If it is described it is to be triggered application operationally required resource reach the default resource threshold, it is described it is to be triggered should
During with starting, the controller resource of the intelligent terminal is adjusted.
Specifically, because normal controller resource can be embodied by processor frequencies or check figure, wherein, the processor
Frequency determines the speed of service of intelligent terminal, and multinuclear then can be assigned to computing power in the minds of different processor cores, avoid by
In the limited and caused interim card of monokaryon operational capability.Therefore, can be by adjusting current intelligent terminal processor frequencies and check figure
To complete the adjustment of controller resource.For example, the processor of current intelligent terminal is double-core, and a core is currently opened,
And operationally required resource reaches the default resource threshold for application to be triggered, and other one is opened before the application program is opened
Individual core, to redistribute the controller resource after the application program is opened, each application program opened is set to run
In a rational controller resource allocation environment, prolonging in application program running is applied therefore, it is possible to be effectively improved
Property and interim card afterwards.
In another embodiment, have when processor 303 detects currently using just when closed, detection currently is waited to close
Operationally whether required resource has exceeded above-mentioned default resource threshold for the application closed, if application to be closed is operationally required
Resource reaches the default resource threshold, when the application to be triggered is closed, specifically can adjust the control of the intelligent terminal
It is at least one in the working frequency or check figure of the processor of the presently described intelligent terminal of device resource adjustment.For example, current intelligence
The processor of terminal is double-core, and has currently had been switched on two cores, and operationally required resource reaches for application to be triggered
The default resource threshold, that is, a core is turned off, intelligent terminal still can be with normal operation, then in the closing application program
Afterwards, one of them core for being used to run the application is closed, and redistributes the controller resource after the closing application program, is made
Each application program opened can be operated in a rational controller resource allocation environment, can effectively save control
Device resource.
It is equal when same application program is often turned on and off in order to avoid in the above-described embodiment, being turned on and off every time
The trouble judged required controller resource is needed, processor 303 is performing computer program, realizes to obtain and currently waits to touch
Before the step of hair application, required according to different user, establish individual subscriber scheduling allocation list;Wherein, the tune of the individual subscriber
Degree allocation list includes needing application inventory and the details of readjusting controller resource.
Specifically, the application of installation of the processor 303 to the intelligent terminal judges one by one, determines described apply
Whether required resource reaches the default resource threshold during operation.If reaching the default resource threshold, the application is added
It is added in the scheduling allocation list.
In a specific embodiment, the resource consumption for the application record that processor 303 is currently installed on by searching
Information, the resource consumption information and the application of the installation of the intelligent terminal are judged one by one, determine described apply
Whether required resource reaches the default resource threshold during operation.Judge that the application program is being transported when application program is installed
Whether required memory source has reached the default resource threshold during row, if reached, the application is added into scheduling configuration
In table, and the scheduling allocation list is updated.
In another particular embodiment of the invention, if the controller resource not required to application when application is installed is carried out
Judge, or be not known in its mount message the application operationally required controller resource when, in the application program
The controller resource needed for it is all recorded when running each time, and whether the number of run for detecting the application reaches predetermined value.
For example, judge whether the application has been running for 5 times, if having reached the predetermined value, by the consumed control of this 5 times operations
Device resource is averaged, that is, obtain predetermined value number average resource consumption information, and by average resource consumption information with it is described
Predetermined threshold value is compared, and determines operationally whether required resource reaches the default resource threshold to the current application.Such as
Fruit reaches, then the application is added in scheduling allocation list, and the scheduling allocation list is updated.
In any of the above-described embodiment, the application whether application currently unloaded belongs in scheduling allocation list is detected, such as
The application that the application that fruit currently unloads belongs in scheduling allocation list, after the completion of application unloading, applied described from scheduling
Removed in allocation list, and the scheduling allocation list is updated.
After current application is got, judge whether the application to be triggered belongs in the scheduling allocation list pre-set
Using to determine operationally whether required resource reaches default resource threshold for the application to be triggered.It is if described to be triggered
Reach the default resource threshold using operationally required resource, when the application to be triggered starts, adjust the intelligence
The controller resource of terminal.This implementation procedure is identical with the implementation procedure of a upper embodiment, referring specifically to related text
Statement, is not limited herein.
It is different from prior art, the processor of intelligent terminal obtains current application to be triggered according to default in present embodiment
Resource threshold, to be triggered apply after unlatching shared controller resource to adjust the control of intelligent terminal by judging this
Device resource, each application program can be made to be assigned to rational controller resource, will not only cause the wasting of resources, dropped
Low intelligent terminal energy consumption, while the property delayed and interim card of application program in the process of running can be effectively improved, provide the user
More high-quality experience.
In addition, the personal scheduling allocation list established according to user, the application of the installation to the intelligent terminal are entered one by one
Row judges, determines operationally whether required resource reaches the default resource threshold for the application;If reach described default
Resource threshold, the application is added in the scheduling allocation list;If the unloading application is to dispatch answering in allocation list
With doing reverse operating.It can effectively avoid in the above-described embodiment, be turned on and off same application program every time and often open
Or the trouble judged required controller resource is required to when closing, brought convenience for user.
The present invention also provides a kind of computer-readable recording medium, and the computer-readable recording medium is used to be stored in processing
The computer program run on device, it can be in terminal that the computer-readable recording medium, which includes the device with store function,
The instrument of storage chip, hard disk either other read-write storages such as mobile hard disk or flash disk, CD, can also be server
Etc..
Wherein the computer program can be performed the method for the resource distribution in Fig. 1~Fig. 2 any embodiments.
In the embodiment of method one of intelligent terminal resource distribution of the present invention, the computer program is used for:
Intelligent terminal obtains current application to be triggered.
Judge operationally whether required resource reaches default resource threshold for the application to be triggered.
If it is described it is to be triggered application operationally required resource reach the default resource threshold, it is described it is to be triggered should
During with starting, the controller resource of the intelligent terminal is adjusted.
In the embodiment of method two of intelligent terminal resource distribution of the present invention, the computer program is used for:
Establish the scheduling allocation list of individual subscriber.
The application of installation to the intelligent terminal judges one by one, determines that operationally required resource is for the application
It is no to reach the default resource threshold.
If reaching the default resource threshold, the application is added in the scheduling allocation list.
The application whether application to be triggered belongs in the scheduling allocation list pre-set is judged, to wait to touch described in determination
Operationally whether required resource reaches default resource threshold for hair application.
If it is described it is to be triggered application operationally required resource reach the default resource threshold, it is described it is to be triggered should
During with starting, the controller resource of the intelligent terminal is adjusted.
Specific implementation procedure refers to the related text description of Fig. 1~Fig. 2 and any embodiment, no longer superfluous herein
State.
Intelligent terminal obtains current application to be triggered according to default resource threshold in present embodiment, by judging that this is treated
Triggering applies shared controller resource after unlatching to adjust the controller resource of intelligent terminal, can make each application
Program can be assigned to rational controller resource, will not only cause the wasting of resources, reduce intelligent terminal energy consumption, while can
The property delayed and interim card of application program in the process of running are effectively improved, provides the user more high-quality experience.
In addition, the personal scheduling allocation list established according to user, the application of the installation to the intelligent terminal are entered one by one
Row judges, determines operationally whether required resource reaches the default resource threshold for the application;If reach described default
Resource threshold, the application is added in the scheduling allocation list;If the unloading application is to dispatch answering in allocation list
With doing reverse operating.It can effectively avoid in the above-described embodiment, be turned on and off same application program every time and often open
Or the trouble judged required controller resource is required to when closing, brought convenience for user.
Embodiments of the present invention are the foregoing is only, are not intended to limit the scope of the invention, it is every to utilize this
The equivalent structure or equivalent flow conversion that description of the invention and accompanying drawing content are made, or directly or indirectly it is used in other correlations
Technical field, it is included within the scope of the present invention.