CN106549880A - A kind of resource allocation methods and terminal unit of terminal - Google Patents

A kind of resource allocation methods and terminal unit of terminal Download PDF

Info

Publication number
CN106549880A
CN106549880A CN201611052755.1A CN201611052755A CN106549880A CN 106549880 A CN106549880 A CN 106549880A CN 201611052755 A CN201611052755 A CN 201611052755A CN 106549880 A CN106549880 A CN 106549880A
Authority
CN
China
Prior art keywords
application
target
resource
terminal
intended application
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.)
Withdrawn
Application number
CN201611052755.1A
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.)
Meizu Technology Co Ltd
Original Assignee
Meizu 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 Meizu Technology Co Ltd filed Critical Meizu Technology Co Ltd
Priority to CN201611052755.1A priority Critical patent/CN106549880A/en
Publication of CN106549880A publication Critical patent/CN106549880A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/82Miscellaneous aspects
    • H04L47/824Applicable to portable or mobile terminals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/80Actions related to the user profile or the type of traffic

Abstract

The embodiment of the invention discloses the resource allocation methods and terminal unit of a kind of terminal, it is related to terminal control field, terminal can carry out diversity setting to system resource according to the attribute information of the application of front stage operation, compared to the prior art, can be more reasonably utilized system resource.The inventive method includes:The attribute information of intended application is obtained, target property information is obtained;The corresponding target resource allocative decision of intended application is determined according to target property information;When intended application is in front stage operation, the system resource of terminal is allocated according to target resource allocative decision.

Description

A kind of resource allocation methods and terminal unit of terminal
Technical field
The present invention relates to terminal control field, and in particular to a kind of resource allocation methods and terminal unit of terminal.
Background technology
With the development of intelligent terminal, the increase of user's request, the number of applications installed on intelligent terminal is increased rapidly, should Classification increases rapidly so that one machine of intelligent terminal just can realize the multiclass such as game machine, video camera, computer, music player The function of terminal, incorporates the every aspect of user's life.With the continuous extension of application function so that the place of intelligent terminal's operation Reason becomes increasingly complex, it is desirable to system resource it is more and more, than if desired for bigger internal memory, higher central processor CPU frequency Rate and graphic process unit GPU frequency etc..
Demand of the prior art according to popular application to system resource, formulates the Resource Allocation Formula of terminal, and according to system Fixed Resource Allocation Formula is configured to the cpu frequency of terminal, GPU frequencies, resources use right limit etc., with meet it is most of should Normal operation.
But in fact, the different application of attribute information, its demand to system resource is typically different, at intelligent end During the use at end, applying in front stage operation for different attribute information, using identical Resource Allocation Formula, is easily caused System resource waste, or because system resource allocation deficiency causes the operational effect applied not good, it is impossible to reasonably using system Resource.
The content of the invention
Embodiments provide the resource allocation methods and terminal unit of a kind of terminal, for solve prior art without Method is reasonably using the problem of system resource.
To reach above-mentioned purpose, the one side of the embodiment of the present invention provides a kind of resource allocation methods of terminal, described Method includes:
The attribute information of intended application is obtained, target property information is obtained;
The corresponding target resource allocative decision of the intended application is determined according to the target property information;
When the intended application is in front stage operation, the system of the terminal is provided according to the target resource allocative decision Source is allocated.
With reference in a first aspect, in the first possible implementation of first aspect, according to the target property information Determine that the corresponding target resource allocative decision of the intended application includes:
Obtain the target operating parameters of the intended application;
From the corresponding Resource Allocation Formula set of the target property information for prestoring, the mesh of the intended application is determined The corresponding Resource Allocation Formula of value of mark operational factor is used as the target resource allocative decision.
With reference to the first possible implementation of first aspect, in second possible implementation of first aspect In, before the target operating parameters for obtaining the intended application, methods described also includes:
The target property information is determined corresponding to target detection scheme, the target detection scheme is to indicate to described The target operating parameters of intended application are detected.
With reference to second possible implementation of the first possible implementation or first aspect of first aspect, In the third possible implementation of first aspect, the target operating parameters include the data traffic for uploading or downloading; Or it is included in the duration of front stage operation;Or including upload or the data traffic downloaded and continuing in front stage operation Duration.
Second possible reality of the first possible implementation, first aspect with reference to first aspect, first aspect Any one possible implementation in the third possible implementation of existing mode and first aspect, the of first aspect In four kinds of possible implementations, the system resource includes terminal resource and/or the access right to the terminal resource, institute Stating terminal resource includes central processor CPU resource, graphic process unit GPU resource, display screen resource, Internet resources and internal memory money One or more in source.
Second possible reality of the first possible implementation, first aspect with reference to first aspect, first aspect It is any one in 4th kind of possible implementation of existing mode, the third possible implementation of first aspect and first aspect Possible implementation is planted, in the 5th kind of possible implementation of first aspect, the attribute letter for obtaining intended application Breath includes:
The intended application is installed, and judges to apply whether include institute with the correspondence set of attribute information Intended application is stated, and the application obtains the attribute applied letter by platform being provided from application with the correspondence set of attribute information Breath is obtained;
If so, the attribute information of the intended application is then determined from the application with the correspondence set of attribute information For the target property information;
If it is not, then providing the request that platform sends the attribute information for obtaining the intended application to the application;
Receive the application and the target property information that platform sends is provided.
The second aspect of the embodiment of the present invention provides a kind of terminal unit, and the terminal unit includes:
Acquisition module, for obtaining the attribute information of intended application, obtains target property information;
First determining module, for determining the corresponding target resource point of the intended application according to the target property information With scheme;
Distribute module, for when the intended application is in front stage operation, according to the target resource allocative decision to institute The system resource for stating terminal is allocated.
With reference to second aspect, in the first possible implementation of second aspect, first determining module includes:
Acquiring unit, for obtaining the target operating parameters of the intended application;
First determining unit, for from the corresponding Resource Allocation Formula set of the target property information for prestoring, really The corresponding Resource Allocation Formula of value of the target operating parameters of the fixed intended application is used as the target resource allocative decision.
With reference to the first possible implementation of second aspect, in second possible implementation of second aspect In, the terminal unit also includes:
Second determining module, for determining the target property information corresponding to target detection scheme, the target detection Scheme is to indicate to detect the target operating parameters of the intended application.
With reference to second possible implementation of the first possible implementation or second aspect of second aspect, In the third possible implementation of second aspect, the target operating parameters include the data traffic for uploading or downloading; Or it is included in the duration of front stage operation;Or including upload or the data traffic downloaded and continuing in front stage operation Duration.
Second possible reality of the first possible implementation, second aspect with reference to second aspect, second aspect Any one possible implementation in the third possible implementation of existing mode and second aspect, the of second aspect In four kinds of possible implementations, the system resource includes terminal resource and/or the access right to the terminal resource, institute Stating terminal resource includes central processor CPU resource, graphic process unit GPU resource, display screen resource, Internet resources and internal memory money One or more in source.
Second possible reality of the first possible implementation, second aspect with reference to second aspect, second aspect It is any one in 4th kind of possible implementation of existing mode, the third possible implementation of second aspect and second aspect Possible implementation is planted, in the 5th kind of possible implementation of second aspect, the acquisition module includes:
Installation unit, for installing to the intended application;
Judging unit, for judging to apply whether include the intended application with the correspondence set of attribute information, The application is obtained by the attribute information of platform acquisition application is provided from application with the correspondence set of attribute information;
Second determining unit, for judging in correspondence set of the application with attribute information when the judging unit During including the intended application, the attribute of the intended application is determined from the application with the correspondence set of attribute information Information is the target property information;
Transmitting element, for judging not wrap in correspondence set of the application with attribute information when the judging unit When including the intended application, the request that platform sends the attribute information for obtaining the intended application is provided to the application;
Receiving unit, provides the target property information that platform sends for receiving the application.
As can be seen from the above technical solutions, the embodiment of the present invention has advantages below:
The different application of attribute information, its demand to system resource are typically different, category of the present invention according to application Property information determine this using corresponding Resource Allocation Formula, and when this is applied in front stage operation, according to its corresponding resource point The system resource of terminal is allocated with scheme so that terminal can be according to the attribute information of the application of front stage operation to system Resource carries out diversity setting, so as to be conducive to reasonably utilizing system resource.
Description of the drawings
Fig. 1 is resource allocation methods one embodiment schematic diagram of terminal of the present invention;
Fig. 2 is resource allocation methods another embodiment schematic diagram of terminal of the present invention;
Fig. 3 is resource allocation methods another embodiment schematic diagram of terminal of the present invention;
Fig. 4 is terminal unit one embodiment schematic diagram of the present invention;
Fig. 5 is another embodiment schematic diagram of terminal unit of the present invention.
Specific embodiment
The resource allocation methods and terminal unit of a kind of terminal are embodiments provided, for according to front stage operation Using attribute information diversity setting is carried out to system resource, to be more reasonably utilized system resource.
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention Accompanying drawing, is clearly and completely described to the technical scheme in the embodiment of the present invention, it is clear that described embodiment is only The embodiment of a part of the invention, rather than the embodiment of whole.Based on the embodiment in the present invention, ordinary skill people The every other embodiment obtained under the premise of creative work is not made by member, should all belong to the model of present invention protection Enclose.
Term " first ", " second ", " the 3rd " in description and claims of this specification and above-mentioned accompanying drawing, " Four " etc. (if present) is for distinguishing similar object, without for describing specific order or precedence.Should manage The data that solution is so used can be exchanged in the appropriate case, so that the embodiments described herein can be with except illustrating here Or the order beyond the content of description is implemented.Additionally, term " comprising " and " having " and their any deformation, it is intended that Covering is non-exclusive to be included, and for example, process, method, system, product or the equipment for containing series of steps or unit need not be limited In those steps or unit for clearly listing, but may include clearly not list or for these processes, method, product Other intrinsic steps of product or equipment or unit.
With the development of intelligent terminal, the increase of user's request, the number of applications installed on intelligent terminal is increased rapidly, should Classification increases rapidly so that one machine of intelligent terminal just can realize the multiclass such as game machine, video camera, computer, music player The function of terminal, incorporates the every aspect of user's life.The different application of attribute information is typically not to the demand of system resource With, terminal resource generally comprises central processor CPU resource, graphic process unit GPU resource, display screen resource, Internet resources With memory source etc..Such as video class application generally needs higher GPU frequencies, to improve definition, the aesthetics of picture, and Read class application and show word to user due to simply simple, thus it is relatively low to GPU frequency requirements.
Demand of the prior art according to popular application to system resource, formulates the Resource Allocation Formula of terminal, and according to system Fixed Resource Allocation Formula is configured to the cpu frequency of terminal, GPU frequencies, resources use right limit etc., with meet it is most of should Normal operation.So, even if the application of front stage operation is different, the allocative decision of system resource is but identical, will be led There is system resource waste, and the application for working as front stage operation is needed when the system resource that the application of front stage operation needs is less in cause When the system resource wanted is more, it is impossible to meet application demand, it is impossible to ensure the operational effect of application.
For this purpose, the present invention provides a kind of resource allocation methods and terminal unit of terminal, according to the application of front stage operation Attribute information carries out diversity setting to system resource, reasonably to utilize system resource.For the ease of those skilled in the art Understanding, the present invention illustrated to the process that implements of technical scheme that the present invention is provided by following examples.
Below the idiographic flow in the inventive method embodiment is described, Fig. 1, the resource of terminal of the present invention is referred to Distribution method one embodiment includes:
101st, the attribute information of intended application is obtained, target property information is obtained;
Terminal can obtain the attribute information of intended application, determine that the attribute information of intended application is target property information.
102nd, the corresponding target resource allocative decision of intended application is determined according to target property information;
After terminal determines the attribute information of intended application, can determine that intended application is corresponding according to target property information Resource Allocation Formula is target resource allocative decision.
103rd, the system resource of terminal is allocated according to target resource allocative decision.
After it is determined that intended application corresponds to target resource allocative decision, when intended application is in front stage operation, terminal The system resource of terminal can be allocated according to target resource allocative decision.
Due to the different application of attribute information, its demand to system resource is typically different, and the present invention is according to application Attribute information determine this using corresponding Resource Allocation Formula, and when this is applied in front stage operation, according to its corresponding money Source allocative decision is allocated to the system resource of terminal so that terminal can be according to the attribute information pair of the application of front stage operation System resource carries out diversity setting, is conducive to reasonably utilizing system resource.
The different application of attribute information is typically different to the demand of system resource, but, even if attribute information is identical, Its demand to system resource of different application is generally also different.In order to finer differentiation foreground application is to system resource Demand, to be more reasonably utilized system resource, terminal can be detected to the operational factor of mounted application, will The application of attribute information identical is further distinguished according to the value of the actual operation parameters of application, so that it is determined that the application The corresponding Resource Allocation Formula in front stage operation.Refer to Fig. 2, resource allocation methods another embodiment of terminal of the present invention Including:
201st, intended application is installed;
User is applied from unified interface polls and needed for obtaining for convenience, and existing many third-party applications provide flat Platform, such as ARIXTRA duration, application converge etc., using the attribute information for providing platform and providing each application, and will be using believing according to attribute Breath is classified, and required application is inquired about and obtained for user.The attribute information of the application stored in the data base for providing platform leads to Often include:Using title, unique mark, download address, classification, version, detailed description, thumbnail, bag name, size, exploitation The information such as person.The classification information that user's inquiry is usually applied using required key message, therefore, attribute letter described below Breath refers in particular to classification information.So, such as when user needs to obtain Video Applications, can check that attribute information is answering for video With, and therefrom find the concrete application of oneself needs.From providing using the application such as shop after platform downloads intended application, eventually Intended application can be installed at end.
202nd, judge to apply and whether include intended application with the correspondence set of attribute information, if so, then perform step Rapid 203, if it is not, then execution step 204;
In the installation process of intended application, or intended application complete install after, terminal may determine that using with Whether include intended application in the correspondence set of attribute information, if so, then execution step 203, if it is not, then execution step 204。
Be combined into using the set of correspondences with attribute information and be stored in advance in terminal, specifically, terminal can from should With the attribute information for providing platform acquisition application, such as, the attribute that terminal can obtain popular application from application offer platform is believed Breath, the corresponding relation being applied with attribute information, and be cached to local.Such as, the application for prestoring and attribute information Corresponding relation includes:The corresponding attribute information of Apply Names " youku.com " be " video ", " happily disappear pleasure " corresponding attribute information For " game ", " chasing after book emperorship " corresponding attribute information is " reading ".
203rd, determine intended application attribute information be target property information;
If it is determined that application and the correspondence set of attribute information include intended application, such as intended application it is entitled " youku.com ", then judge that application and the correspondence set of attribute information include intended application, now can be from application and attribute In the correspondence set of information, the attribute information of determination intended application is target property information, such as, if intended application is excellent Extremely, then target property information is video.
204th, the request that platform sends the attribute information for obtaining intended application is provided to application;
If it is determined that not including intended application in application and the correspondence set of attribute information, then platform is provided to application and sent out Send the request of the attribute information for obtaining intended application.Such as intended application is Tengxun's video, and application is corresponding with attribute information to close Assembly does not include Tengxun's video in closing, and now can provide platform to application and send request, be believed with the attribute for obtaining Tengxun's video Breath.
205th, receive application and the target property information that platform sends is provided;
After the request of terminal transmission is received using offer platform, the attribute information of intended application can be inquired about, it is determined that Its attribute information is target property information, and such as intended application is Tengxun's video, and it is video to find its corresponding attribute information, Query Result can be sent to terminal afterwards, Query Result at least includes target property information, and terminal can be received using offer The target property information that platform sends, so as to obtain the attribute information of intended application.
Step 201 is used for obtaining the attribute information of intended application to step 205, only as one kind preferred embodiment, Other modes can also be adopted in actual use to obtain the attribute information of intended application.
206th, the target operating parameters of intended application are obtained;
After obtaining the corresponding target property information of intended application, terminal can obtain the object run ginseng of intended application Number.Target operating parameters can include the data traffic for uploading or downloading;Or it is included in the duration of front stage operation;Or Duration including upload or the data traffic downloaded and in front stage operation etc..As an example, terminal should in acquisition target After with corresponding target property information, the target operating parameters of intended application can be detected, can such as detect mesh Mark applies the duration in preset duration in front stage operation, such as preset duration be set to the duration of a week.
It is assumed that according to step 201 to step 206, getting the attribute information of following application and continuing in front stage operation Duration:The attribute information of youku.com is video, and which is 25 hours in the duration of front stage operation;The attribute information of Tengxun's video is Video, which is 3 hours in the duration of front stage operation;The attribute information of book emperorship is chased after to read, its holding in front stage operation A length of 15 hours when continuous;To read, which is 1 hour in the duration of front stage operation to the attribute information of book flag novel;It is poly- U.S. excellent The attribute information of product is net purchase, and which is 1 hour in the duration of front stage operation, and the attribute information of day cat is net purchase, and which is front The duration of platform operation is 8 hours.
207th, determine the corresponding Resource Allocation Formula of value of the target operating parameters of intended application as target resource point With scheme;
Terminal can prestore the corresponding Resource Allocation Formula set of target property information.Such as, attribute information is video, should The corresponding Resource Allocation Formula set of generic attribute information includes:GPU frequencies are set to maximum by option A 1;Option A 2, maintains to work as Front GPU frequencies.Such as, to read, the corresponding Resource Allocation Formula set of such attribute information includes attribute information:Scheme (for the minima of GPU adjustable frequencies, rather than 0) GPU frequencies are set to minima by B1;Option b 2, maintains current GPU frequencies Rate.Such as, attribute information is net purchase, and the corresponding Resource Allocation Formula set of such attribute information includes:C1, is applied in internal memory Resident duration be set to t1;C2, the resident duration for being applied in internal memory are set to t2, t1>t2.
If the attribute information of certain application is video, then this is option A 1 or scheme using corresponding Resource Allocation Formula Which scheme A2, correspond specifically to, and can be judged according to the value of the target operating parameters of the application.Such as, target Operational factor is to apply the duration in front stage operation, if attribute information is the duration applied in front stage operation of video More than 15 hours, then corresponding to option A 1, if being less than 15 hours, the application was corresponding to option A 2 for the application;If attribute is believed It was the duration applied in front stage operation read more than 8 hours to cease, then the application is corresponding to option b 1, if little less than 8 When, then the application is corresponding to option b 2;If attribute information for net purchase the duration applied in front stage operation more than 5 hours, Then corresponding to scheme C1, if being less than 5 hours, the application is corresponding to scheme C2 for the application.
After determining that the attribute information of intended application is target property information, it may be determined that the corresponding money of target property information Source allocative decision set.After the value of target operating parameters of intended application is got, terminal can be believed from objective attribute target attribute Cease in corresponding Resource Allocation Formula set, determine the corresponding Resource Allocation Formula of value of the target operating parameters of intended application For target resource allocative decision.According to the citing in step 206, then youku.com is 25 hours in the duration of front stage operation, Which corresponds to option A 1;Tengxun's video is 3 hours in the duration of front stage operation, and which corresponds to option A 2;Chase after book emperorship to exist The duration of front stage operation is 15 hours, and which corresponds to option b 1;Book flag novel is 1 little in the duration of front stage operation When, which corresponds to option b 1;Poly- U.S.'s quality product is 1 hour in the duration of front stage operation, and which corresponds to scheme C2;Its cat is front The duration of platform operation is 8 hours, and which corresponds to scheme C1.
208th, the system resource of terminal is allocated according to target resource allocative decision.
After it is determined that intended application corresponds to target resource allocative decision, when intended application is in front stage operation, terminal The system resource of terminal can be allocated according to target resource allocative decision.Such as when youku.com is in front stage operation, by GPU Frequency is set to maximum, to improve display effect;When Tengxun's video is in front stage operation, due to its foreground duration very May be shorter, frequently to easily cause system unstable for adjustment GPU frequencies, therefore according to option A 2, maintains current GPU frequencies.
For the application of different attribute information, its real needs to system resource is different, the application of some attribute informations It is bigger to GPU resource demand, and the application of some attribute informations is bigger to the demand of cpu resource, for the demand according to terminal Being partial to needs the target operating parameters for obtaining to determine, can obtain different object runs to the application of different attribute information Parameter.Refer to Fig. 3, resource allocation methods another embodiment of terminal of the present invention includes:
301st, intended application is installed;
302nd, judge to apply and whether include intended application with the correspondence set of attribute information, if so, then perform step Rapid 303, if it is not, then execution step 304;
303rd, in the correspondence set from application with attribute information, the attribute information of determination intended application is objective attribute target attribute Information;
304th, the request that platform sends the attribute information for obtaining intended application is provided to application;
305th, receive application and the target property information that platform sends is provided;
Step 301 is used for obtaining the attribute information of intended application, the step in embodiment corresponding with Fig. 2 to step 305 201 to step 205 is identical, and here is omitted.
306th, determine that target property information corresponds to target detection scheme;
Terminal can prestore multiple detection schemes, and detection scheme is examined to indicate the operational factor to intended application Survey, such as, the first detection scheme is detected to indicate the duration to intended application in front stage operation, the second detection side , to the data traffic that indicates to upload intended application or download, the 3rd detection scheme is to the data that indicate to upload or download for case Flow and the duration in front stage operation.Different detection schemes correspond to different attribute informations, it is assumed that attribute information is Video, corresponding to the first detection scheme, attribute information is game, corresponding to the second detection scheme.Then it is determined that intended application pair Should be after target property information, it may be determined that the corresponding detection scheme of target property information is target detection scheme.Assume mesh Mark attribute information is game, then target detection scheme is the second detection scheme, and terminal can detect intended application front afterwards The data traffic for uploading when platform runs or downloading, and calculate the average data for uploading in the unit time of front stage operation or downloading Flow, using calculated average data flow as target operating parameters value.
307th, the target operating parameters of intended application are obtained;
After the target operating parameters of terminal-pair intended application are detected, the object run ginseng of intended application can be obtained Number, determines the value of target operating parameters.It is assumed that attribute information is the application of game, such as king's honor, its object run are joined Several values is 0.5M/ minutes;Attribute information is similarly the application of game, and such as happily disappear pleasure, its target operating parameters Value is 0.001M/ minutes.
308th, determine the corresponding Resource Allocation Formula of value of the target operating parameters of intended application as target resource point With scheme;
Terminal can prestore the corresponding Resource Allocation Formula set of target property information.Such as, attribute information is game, should The corresponding Resource Allocation Formula set of generic attribute information includes:Cpu frequency is set to maximum by scheme D1, forbids informing to make Used in the authority shown by screen, to forbid showing Pop-up message;Scheme D2, maintains current cpu frequency, maintains informing In the authority shown by screen.
If the attribute information of certain application is game, then this is scheme D1 or scheme using corresponding Resource Allocation Formula Which scheme D2, correspond specifically to, and can be judged according to the value of the target operating parameters of the application.Such as, if category Property information be game application, the value of its target operating parameters exceedes 0.08M/ minutes, then the application is possible for battle class Game, therefore its corresponding Resource Allocation Formula is D1;If attribute information is the application of game, the value of its target operating parameters Less than 0.08M/ minutes, then this is D2 using corresponding Resource Allocation Formula.
After determining that the attribute information of intended application is target property information, it may be determined that the corresponding money of target property information Source allocative decision set.After the value of target operating parameters of intended application is got, terminal can be believed from objective attribute target attribute Cease in corresponding Resource Allocation Formula set, determine the corresponding Resource Allocation Formula of value of the target operating parameters of intended application For target resource allocative decision.According to the citing in step 307, the value of the target operating parameters of king's honor is 0.5M/ point Clock, its corresponding Resource Allocation Formula are D1;Happily disappear happy target operating parameters value be 0.001M/ minutes, which is right The Resource Allocation Formula answered is D2.
309th, the system resource of terminal is allocated according to target resource allocative decision.
After it is determined that intended application corresponds to target resource allocative decision, when intended application is in front stage operation, terminal The system resource of terminal can be allocated according to target resource allocative decision.Such as when king's honor is in front stage operation, Cpu frequency is set to into maximum, to improve the processing speed of terminal, forbids informing using the authority shown in screen, To forbid showing Pop-up message;When the pleasure that happily disappears is in front stage operation, terminal can maintain current cpu frequency, remain logical Know the authority shown in screen by hurdle.
Above the resource allocation methods of terminal in the embodiment of the present invention are described, below in the embodiment of the present invention Terminal unit be described.
Fig. 4 is referred to, terminal unit one embodiment includes in the present invention:
Acquisition module 401, for obtaining the attribute information of intended application, obtains target property information;
First determining module 402, for determining the corresponding target resource distribution side of intended application according to target property information Case;
Distribute module 403, for when intended application is in front stage operation, according to target resource allocative decision to terminal being System resource is allocated.
In order to more fully utilize system resource, Fig. 5 is referred to, another embodiment bag of terminal unit in the present invention Include:
Acquisition module 501, for obtaining the attribute information of intended application, obtains target property information;
First determining module 502, for determining the corresponding target resource distribution side of intended application according to target property information Case;
Distribute module 503, for when intended application is in front stage operation, according to target resource allocative decision to terminal being System resource is allocated.
Wherein, it is preferred that acquisition module 501 includes:
Installation unit 5011, for installing to intended application;
Judging unit 5012, for judging whether include intended application using in the correspondence set with attribute information, Obtained by the attribute information of platform acquisition application is provided from application using with the correspondence set of attribute information;
Second determining unit 5013, for judging that application and the correspondence set of attribute information include when judging unit During intended application, determine that the attribute information of intended application is believed for objective attribute target attribute from correspondence set of the application with attribute information Breath;
Transmitting element 5014, for judging not including mesh in correspondence set of the application with attribute information when judging unit When mark is applied, the request that platform sends the attribute information for obtaining intended application is provided to application;
Receiving unit 5015, provides the target property information that platform sends for receiving application.
Preferably, the first determining module 502 includes:
Acquiring unit 5021, for obtaining the target operating parameters of intended application;
First determining unit 5022, for from the corresponding Resource Allocation Formula set of target property information for prestoring, really Set the goal application target operating parameters the corresponding Resource Allocation Formula of value as target resource allocative decision.
Preferably, terminal unit also includes:
Second determining module 504, for determining target property information corresponding to target detection scheme, target detection scheme is used To indicate to detect the target operating parameters of intended application.
Those skilled in the art can be understood that, for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, may be referred to the corresponding process in preceding method embodiment, will not be described here.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method can be with Realize by another way.For example, device embodiment described above is only schematically, for example division of unit, It is only a kind of division of logic function, when actually realizing, can has other dividing mode, such as multiple units or the component can be with With reference to or be desirably integrated into another system, or some features can be ignored, or not perform.It is another, it is shown or discussed Coupling each other or direct-coupling or communication connection can be INDIRECT COUPLING by some interfaces, device or unit or Communication connection, can be electrical, mechanical or other forms.
As the unit of separating component explanation can be or may not be physically separate, show as unit Part can be or may not be physical location, you can local to be located at one, or can also be distributed to multiple networks On unit.Some or all of unit therein can be selected according to the actual needs to realize the purpose of this embodiment scheme.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.Above-mentioned integrated list Unit both can be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If integrated unit realized using in the form of SFU software functional unit and as independent production marketing or use when, can To be stored in a computer read/write memory medium.Based on such understanding, technical scheme substantially or Say that all or part of the part or technical scheme contributed to prior art can be embodied in the form of software product Out, the computer software product is stored in a storage medium, is used so that a computer equipment including some instructions (can be personal computer, server, or network equipment etc.) performs all or part of each embodiment method of the invention Step.And aforesaid storage medium includes:USB flash disk, portable hard drive, read only memory (ROM, Read-OnlyMemory), deposit at random Access to memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.
More than, above example only to illustrate technical scheme, rather than a limitation;Although with reference to aforementioned reality Apply example to be described in detail the present invention, it will be understood by those within the art that:Which still can be to aforementioned each Technical scheme described in embodiment is modified, or carries out equivalent to which part technical characteristic;And these modifications Or replace, do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (12)

1. a kind of resource allocation methods of terminal, it is characterised in that include:
The attribute information of intended application is obtained, target property information is obtained;
The corresponding target resource allocative decision of the intended application is determined according to the target property information;
When the intended application is in front stage operation, the system resource of the terminal is entered according to the target resource allocative decision Row distribution.
2. resource allocation methods of terminal according to claim 1, it is characterised in that true according to the target property information Determining the corresponding target resource allocative decision of the intended application includes:
Obtain the target operating parameters of the intended application;
From the corresponding Resource Allocation Formula set of the target property information for prestoring, the target fortune of the intended application is determined The corresponding Resource Allocation Formula of value of line parameter is used as the target resource allocative decision.
3. resource allocation methods of terminal according to claim 2, it is characterised in that obtain the intended application described Target operating parameters before, methods described also includes:
The target property information is determined corresponding to target detection scheme, the target detection scheme is to indicate to the target Using target operating parameters detected.
4. resource allocation methods of terminal according to claim 2, it is characterised in that the target operating parameters include The data traffic for passing or downloading;Or it is included in the duration of front stage operation;Or including the data traffic for uploading or download And in the duration of front stage operation.
5. resource allocation methods of terminal according to any one of claim 1 to 4, it is characterised in that the system money Source includes terminal resource and/or the access right to the terminal resource, and the terminal resource includes that central processor CPU is provided One or more in source, graphic process unit GPU resource, display screen resource, Internet resources and memory source.
6. resource allocation methods of terminal according to any one of claim 1 to 4, it is characterised in that the acquisition mesh The attribute information of mark application includes:
The intended application is installed, and judges to apply whether include the mesh with the correspondence set of attribute information Mark application, the application are obtained by the attribute information of application is obtained from application offer platform with the correspondence set of attribute information Arrive;
If so, then determine that the attribute information of the intended application is institute from the application with the correspondence set of attribute information State target property information;
If it is not, then providing the request that platform sends the attribute information for obtaining the intended application to the application;
Receive the application and the target property information that platform sends is provided.
7. a kind of terminal unit, it is characterised in that include:
Acquisition module, for obtaining the attribute information of intended application, obtains target property information;
First determining module, for determining the corresponding target resource distribution side of the intended application according to the target property information Case;
Distribute module, for when the intended application is in front stage operation, according to the target resource allocative decision to the end The system resource at end is allocated.
8. terminal unit according to claim 7, it is characterised in that first determining module includes:
Acquiring unit, for obtaining the target operating parameters of the intended application;
First determining unit, for, from the corresponding Resource Allocation Formula set of the target property information for prestoring, determining institute The corresponding Resource Allocation Formula of value of the target operating parameters of intended application is stated as the target resource allocative decision.
9. terminal unit according to claim 8, it is characterised in that the terminal unit also includes:
Second determining module, for determining the target property information corresponding to target detection scheme, the target detection scheme To indicate to detect the target operating parameters of the intended application.
10. terminal unit according to claim 8, it is characterised in that the target operating parameters include uploading or download Data traffic;Or it is included in the duration of front stage operation;Or including upload or the data traffic downloaded and front The duration of platform operation.
11. terminal units according to any one of claim 7 to 10, it is characterised in that the system resource includes end End resource and/or the access right to the terminal resource, the terminal resource are included at central processor CPU resource, figure One or more in reason device GPU resource, display screen resource, Internet resources and memory source.
12. terminal units according to any one of claim 7 to 10, it is characterised in that the acquisition module includes:
Installation unit, for installing to the intended application;
Judging unit, it is for judging to apply and whether including the intended application in the correspondence set of attribute information, described Obtained by the attribute information of platform acquisition application is provided from application using with the correspondence set of attribute information;
Second determining unit, for judging that the application and the correspondence set of attribute information include when the judging unit During the intended application, the attribute information of the intended application is determined from the application with the correspondence set of attribute information For the target property information;
Transmitting element, for judging not including institute in correspondence set of the application with attribute information when the judging unit When stating intended application, the request that platform sends the attribute information for obtaining the intended application is provided to the application;
Receiving unit, provides the target property information that platform sends for receiving the application.
CN201611052755.1A 2016-11-25 2016-11-25 A kind of resource allocation methods and terminal unit of terminal Withdrawn CN106549880A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611052755.1A CN106549880A (en) 2016-11-25 2016-11-25 A kind of resource allocation methods and terminal unit of terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611052755.1A CN106549880A (en) 2016-11-25 2016-11-25 A kind of resource allocation methods and terminal unit of terminal

Publications (1)

Publication Number Publication Date
CN106549880A true CN106549880A (en) 2017-03-29

Family

ID=58395100

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611052755.1A Withdrawn CN106549880A (en) 2016-11-25 2016-11-25 A kind of resource allocation methods and terminal unit of terminal

Country Status (1)

Country Link
CN (1) CN106549880A (en)

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107426114A (en) * 2017-08-28 2017-12-01 西安万像电子科技有限公司 Resource allocation methods and system
CN107426432A (en) * 2017-07-31 2017-12-01 广东欧珀移动通信有限公司 Resource allocation method and Related product
CN107450988A (en) * 2017-07-31 2017-12-08 广东欧珀移动通信有限公司 Resource allocation method and Related product
CN107479970A (en) * 2017-07-31 2017-12-15 广东欧珀移动通信有限公司 Resource allocation method and Related product
CN107483725A (en) * 2017-07-31 2017-12-15 广东欧珀移动通信有限公司 Resource allocation method and Related product
CN107479972A (en) * 2017-07-31 2017-12-15 广东欧珀移动通信有限公司 Resource allocation method and Related product
CN107515787A (en) * 2017-08-31 2017-12-26 广东欧珀移动通信有限公司 Resource allocation method and Related product
CN107528977A (en) * 2017-08-31 2017-12-29 广东欧珀移动通信有限公司 Resource allocation method and Related product
CN107577536A (en) * 2017-08-31 2018-01-12 广东欧珀移动通信有限公司 Optimizing application method and Related product
CN107707768A (en) * 2017-10-27 2018-02-16 广东欧珀移动通信有限公司 The processing method and Related product of running game application
CN107748699A (en) * 2017-10-27 2018-03-02 广东欧珀移动通信有限公司 Resource allocation methods and Related product
CN107783803A (en) * 2017-11-21 2018-03-09 广东欧珀移动通信有限公司 System optimization method, device, storage medium and the intelligent terminal of intelligent terminal
CN107832142A (en) * 2017-10-11 2018-03-23 广东欧珀移动通信有限公司 The resource allocation method and equipment of application program
CN107864294A (en) * 2017-12-18 2018-03-30 维沃移动通信有限公司 A kind of interruption-free mode starting method and mobile terminal
CN107967178A (en) * 2017-12-06 2018-04-27 广东欧珀移动通信有限公司 Resource allocation method and Related product
CN108834157A (en) * 2018-04-27 2018-11-16 努比亚技术有限公司 Internet wide band distribution, mobile terminal and computer readable storage medium
WO2019024789A1 (en) * 2017-07-31 2019-02-07 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for resource allocation and terminal device
CN109639498A (en) * 2018-12-27 2019-04-16 国网江苏省电力有限公司南京供电分公司 A kind of resource flexibility configuration method of the service-oriented quality based on SDN and NFV
US11016812B2 (en) 2017-07-31 2021-05-25 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for resource allocation and terminal device
CN116033584A (en) * 2023-02-03 2023-04-28 阿里巴巴(中国)有限公司 Air interface resource scheduling method, network access equipment and communication network

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103430151A (en) * 2012-07-06 2013-12-04 华为终端有限公司 Method and apparatus for configuring resource
CN103440172A (en) * 2013-08-19 2013-12-11 深圳创维数字技术股份有限公司 Resource management method and terminal device
CN103778007A (en) * 2014-02-14 2014-05-07 贝壳网际(北京)安全技术有限公司 Application managing method and device
CN104077191A (en) * 2014-07-18 2014-10-01 广州金山网络科技有限公司 Method and device used for managing memory resources
CN104734996A (en) * 2015-04-07 2015-06-24 广东维沃软件技术有限公司 Network bandwidth allocation method and terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103430151A (en) * 2012-07-06 2013-12-04 华为终端有限公司 Method and apparatus for configuring resource
CN103440172A (en) * 2013-08-19 2013-12-11 深圳创维数字技术股份有限公司 Resource management method and terminal device
CN103778007A (en) * 2014-02-14 2014-05-07 贝壳网际(北京)安全技术有限公司 Application managing method and device
CN104077191A (en) * 2014-07-18 2014-10-01 广州金山网络科技有限公司 Method and device used for managing memory resources
CN104734996A (en) * 2015-04-07 2015-06-24 广东维沃软件技术有限公司 Network bandwidth allocation method and terminal

Cited By (30)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107479970B (en) * 2017-07-31 2022-09-09 Oppo广东移动通信有限公司 Resource allocation method and related product
CN107426432A (en) * 2017-07-31 2017-12-01 广东欧珀移动通信有限公司 Resource allocation method and Related product
CN107450988A (en) * 2017-07-31 2017-12-08 广东欧珀移动通信有限公司 Resource allocation method and Related product
CN107479970A (en) * 2017-07-31 2017-12-15 广东欧珀移动通信有限公司 Resource allocation method and Related product
CN107483725A (en) * 2017-07-31 2017-12-15 广东欧珀移动通信有限公司 Resource allocation method and Related product
CN107479972A (en) * 2017-07-31 2017-12-15 广东欧珀移动通信有限公司 Resource allocation method and Related product
WO2019024828A1 (en) * 2017-07-31 2019-02-07 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Resource configuration method, mobile terminal and storage medium
US11182210B2 (en) 2017-07-31 2021-11-23 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for resource allocation and terminal device
US11151010B2 (en) 2017-07-31 2021-10-19 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Resource configuration method, mobile terminal and storage medium
US11016812B2 (en) 2017-07-31 2021-05-25 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for resource allocation and terminal device
CN107426432B (en) * 2017-07-31 2019-09-17 Oppo广东移动通信有限公司 Resource allocation method and Related product
WO2019024789A1 (en) * 2017-07-31 2019-02-07 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for resource allocation and terminal device
CN107426114A (en) * 2017-08-28 2017-12-01 西安万像电子科技有限公司 Resource allocation methods and system
CN107528977B (en) * 2017-08-31 2020-07-07 Oppo广东移动通信有限公司 Resource allocation method and related product
CN107515787A (en) * 2017-08-31 2017-12-26 广东欧珀移动通信有限公司 Resource allocation method and Related product
CN107528977A (en) * 2017-08-31 2017-12-29 广东欧珀移动通信有限公司 Resource allocation method and Related product
CN107577536A (en) * 2017-08-31 2018-01-12 广东欧珀移动通信有限公司 Optimizing application method and Related product
CN107832142A (en) * 2017-10-11 2018-03-23 广东欧珀移动通信有限公司 The resource allocation method and equipment of application program
CN107748699A (en) * 2017-10-27 2018-03-02 广东欧珀移动通信有限公司 Resource allocation methods and Related product
CN107707768A (en) * 2017-10-27 2018-02-16 广东欧珀移动通信有限公司 The processing method and Related product of running game application
CN107783803B (en) * 2017-11-21 2021-04-06 Oppo广东移动通信有限公司 System optimization method and device of intelligent terminal, storage medium and intelligent terminal
CN107783803A (en) * 2017-11-21 2018-03-09 广东欧珀移动通信有限公司 System optimization method, device, storage medium and the intelligent terminal of intelligent terminal
CN107967178A (en) * 2017-12-06 2018-04-27 广东欧珀移动通信有限公司 Resource allocation method and Related product
CN107864294A (en) * 2017-12-18 2018-03-30 维沃移动通信有限公司 A kind of interruption-free mode starting method and mobile terminal
CN108834157A (en) * 2018-04-27 2018-11-16 努比亚技术有限公司 Internet wide band distribution, mobile terminal and computer readable storage medium
WO2020134133A1 (en) * 2018-12-27 2020-07-02 国网江苏省电力有限公司南京供电分公司 Resource allocation method, substation, and computer-readable storage medium
CN109639498B (en) * 2018-12-27 2021-08-31 国网江苏省电力有限公司南京供电分公司 Service quality oriented resource flexible configuration method based on SDN and NFV
CN109639498A (en) * 2018-12-27 2019-04-16 国网江苏省电力有限公司南京供电分公司 A kind of resource flexibility configuration method of the service-oriented quality based on SDN and NFV
CN116033584A (en) * 2023-02-03 2023-04-28 阿里巴巴(中国)有限公司 Air interface resource scheduling method, network access equipment and communication network
CN116033584B (en) * 2023-02-03 2023-10-20 阿里巴巴(中国)有限公司 Air interface resource scheduling method, network access equipment and communication network

Similar Documents

Publication Publication Date Title
CN106549880A (en) A kind of resource allocation methods and terminal unit of terminal
CN106547615A (en) A kind of management method and management module of background application
CN107995285B (en) Information display method, device, server and readable storage medium
CN104345876B (en) A kind of information processing method and electronic equipment
CN104915306B (en) A kind of data manipulation control method and equipment manager
CN105487760A (en) Method and device for displaying message and electronic equipment
CN110113393A (en) A kind of information push method, device, electronic equipment and medium
CN107872534B (en) Information pushing method and device, server and readable storage medium
CN107222560A (en) A kind of multinode Hui Yuan method, device and storage medium
CN106341438A (en) Request processing method and device
CN106911943A (en) A kind of video display method and its device
CN106156346A (en) The automatic classification method of icon and device
CN109714393A (en) A kind of method and device that application program is recommended
CN105354293A (en) Assisted implementation method and apparatus for pushing playing object in mobile terminal
CN110896578A (en) Music rhythm-based in-vehicle atmosphere lamp adjusting method and system and electronic equipment
US20200195564A1 (en) Data transmission boosting device
CN109246467A (en) Label is to the method, apparatus of sharing video frequency, video camera and smart phone
CN113396572B (en) Content push method and related product
CN107678788A (en) Five application page display methods, device, computer installation and storage medium
CN103109550A (en) Polyphonic ringtone configuration method, user terminal and application platform
CN110231923A (en) Data managing method and device
CN105824645A (en) Information processing method and terminal
CN106293851A (en) A kind of firmware upgrade method and equipment
US10291740B2 (en) Method and apparatus for determining application to be recommended
CN106936652A (en) The data transmission method of multi-terminal equipment, apparatus and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20170329