CN107426432A - Resource allocation method and Related product - Google Patents
Resource allocation method and Related product Download PDFInfo
- Publication number
- CN107426432A CN107426432A CN201710640040.6A CN201710640040A CN107426432A CN 107426432 A CN107426432 A CN 107426432A CN 201710640040 A CN201710640040 A CN 201710640040A CN 107426432 A CN107426432 A CN 107426432A
- Authority
- CN
- China
- Prior art keywords
- destination application
- application
- data bag
- contextual data
- policy module
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
Abstract
The embodiment of the present application discloses a kind of resource allocation method and Related product.Method includes:Management module receives the contextual data bag from the destination application being currently running, and the application type that contextual data bag includes destination application identifies;Management module determine in multiple policy modules with the corresponding policy module of application type mark;Policy module determines the performance boost strategy of destination application according to contextual data bag;Operating system according to the system resource of performance boost Developing Tactics destination application distribution.The embodiment of the present application is advantageous to improve real-time and accuracy that mobile terminal control targe application program carries out performance optimization.
Description
Technical field
The application is related to technical field of mobile terminals, and in particular to resource allocation method and Related product.
Background technology
With the fast development of smart mobile phone correlation technique, increasing application is installed in user mobile phone, is such as read
Read class application, pay class application, game class application, the application of music class etc., the clothing, food, lodging and transportion -- basic necessities of life of people are inseparable with mobile phone.
The content of the invention
The embodiment of the present application provides resource allocation method and Related product, can improve the intended application journey of mobile terminal
The performance and stability of sequence in the process of running.
In a first aspect, the embodiment of the present application provides a kind of resource allocation method, the running of mobile terminal has operating system
With one or more application programs, the operating system, which includes management module and multiple policy modules, methods described, to be included:
The management module receives the contextual data bag that the destination application being currently running is sent, the scene number
Identified according to the application type for including the destination application;
The management module determine in the multiple policy module with the corresponding policy module of application type mark;
The policy module determines the performance boost strategy of the destination application according to the contextual data bag;
The operating system according to the system resource of destination application described in the performance boost Developing Tactics distribution.
Second aspect, the embodiment of the present application provide a kind of device for allocating resources, applied to mobile terminal, the mobile terminal
Operation has operating system and one or more application programs, and the operating system includes management module and multiple policy modules, institute
Stating device for allocating resources includes processing unit and communication unit,
The processing unit, for controlling the management module to receive the mesh being currently running by the communication unit
The contextual data bag that application program is sent is marked, the application type that the contextual data bag includes the destination application identifies;
And for controlling the management module to determine tactful mould corresponding with application type mark in the multiple policy module
Block;And for controlling the policy module to determine according to the contextual data bag performance boost plan of the destination application
Slightly;And the control operating system is according to point of the system resource of destination application described in the performance boost Developing Tactics
Match somebody with somebody.
The third aspect, the embodiment of the present application provide a kind of mobile terminal, including processor, memory, communication interface and
One or more programs, wherein, said one or multiple programs are stored in above-mentioned memory, and are configured by above-mentioned
Manage device to perform, said procedure includes being used for the instruction for performing the step in the embodiment of the present application first aspect either method.
Fourth aspect, the embodiment of the present application provide a kind of computer-readable recording medium, wherein, above computer is readable
Storage medium stores the computer program for electronic data interchange, wherein, above computer program causes computer to perform such as
Part or all of step described in the embodiment of the present application first aspect either method, above computer include mobile terminal.
5th aspect, the embodiment of the present application provide a kind of computer program product, wherein, above computer program product
Non-transient computer-readable recording medium including storing computer program, above computer program are operable to make calculating
Machine is performed such as the part or all of step described in the embodiment of the present application first aspect either method.The computer program product
Can be a software installation bag, above computer includes mobile terminal.
As can be seen that in the embodiment of the present application, the management module in the operating system of mobile terminal receives first transports
The contextual data bag that capable destination application is sent, the application type that contextual data bag includes destination application identify;Its
It is secondary, management module determine in multiple policy modules with the corresponding policy module of application type mark;Again, the plan in operating system
The slightly performance boost strategy for the destination application that module determines to be currently running according to contextual data bag;Finally, operating system is pressed
According to the distribution of the system resource of performance boost Developing Tactics destination application.Be advantageous to improve mobile terminal control targe application
Program carries out the real-time and accuracy of performance optimization.
Brief description of the drawings
The accompanying drawing involved by the embodiment of the present application will be briefly described below.
Figure 1A is a kind of schematic diagram of the program running space of smart mobile phone;
Figure 1B is a kind of system architecture diagram of Android system;
Fig. 2 is a kind of schematic flow sheet for resource allocation method that the embodiment of the present application provides;
Fig. 3 is a kind of schematic flow sheet of resource allocation method disclosed in the embodiment of the present application;
Fig. 4 is a kind of schematic flow sheet of resource allocation method disclosed in the embodiment of the present application;
Fig. 5 is a kind of structural representation of mobile terminal disclosed in the embodiment of the present application;
Fig. 6 is a kind of functional unit composition block diagram of mobile terminal disclosed in the embodiment of the present application;
Fig. 7 is a kind of structural representation of smart mobile phone disclosed in the embodiment of the present application.
Embodiment
In order that those skilled in the art more fully understand application scheme, below in conjunction with the embodiment of the present application
Accompanying drawing, the technical scheme in the embodiment of the present application is clearly and completely described, it is clear that described embodiment is only
Some embodiments of the present application, rather than whole embodiments.Based on the embodiment in the application, those of ordinary skill in the art
The every other embodiment obtained under the premise of creative work is not made, belong to the scope of the application protection.
Term " first ", " second " in the description and claims of this application and above-mentioned accompanying drawing etc. are to be used to distinguish
Different objects, rather than for describing particular order.In addition, term " comprising " and " having " and their any deformations, it is intended that
It is to cover non-exclusive include.Such as process, method, system, product or the equipment for containing series of steps or unit do not have
The step of being defined in the step of having listed or unit, but alternatively also including not listing or unit, or alternatively also wrap
Include for other intrinsic steps of these processes, method, product or equipment or unit.
Referenced herein " embodiment " is it is meant that the special characteristic, structure or the characteristic that describe can wrap in conjunction with the embodiments
It is contained at least one embodiment of the application.Each position in the description occur the phrase might not each mean it is identical
Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and
Implicitly understand, embodiment described herein can be combined with other embodiments.
Mobile terminal involved by the embodiment of the present application can include the various handheld devices with radio communication function,
Mobile unit, wearable device, computing device or other processing equipments for being connected to radio modem, and various forms
User equipment (User Equipment, UE), mobile station (Mobile Station, MS), terminal device (terminal
Device) etc..For convenience of description, apparatus mentioned above is referred to as mobile terminal.Behaviour involved by the embodiment of the present invention
It is that hardware resource is managed collectively as system, and provides a user the software systems of business interface.
As shown in Figure 1A, the mobile terminal such as smart mobile phone is typically provided with program running space at present, and program operation is empty
Between include user's space and operating system space, wherein, user's space operation have one or more application programs, this or more
Individual application program is the third party application of mobile terminal installation, and operating system space motion has the operation system of mobile terminal
System.The mobile terminal can specifically run Android android system, Mobile operating system iOS that Apple Inc. develops etc., herein
Unique restriction is not done.As shown in Figure 1B, so that above-mentioned running of mobile terminal has android system as an example, corresponding user's space bag
The application layer (Applications) in the android system is included, operating system space can include in the android system
Application framework layer (Application Framework), system operation storehouse layer (including system operation storehouse layer Libraries
Android Runtime when being run with Android), Linux inner core (Linux Kernel).Wherein, include in application layer each
Class and the application program of user's direct interaction, or the service routine for running on backstage write by Java language.For example, intelligent hand
The program for the common basic function realized on machine, such as short message service (Short Messaging Service, SMS) short message,
The programs such as dialing, Photo Browser, calendar, game, map, WWW (World Wide Web, Web) browser, with
And the other applications of developer's exploitation.Application framework layer provides the system needed for exploitation Android application programs
It row class libraries, can be used in reusing component, personalized extension can also be realized by inheriting.System operation storehouse layer is application program
The support of framework, service is provided for each component in android system.System operation storehouse layer is by system class libraries and Android
Formed during operation.Android includes core library and Dalvik virtual machine two parts when running.Linux inner core is used to realize firmly
The Core Features such as part device drives, process and memory management, network protocol stack, power management, radio communication.
The process that above-mentioned third party application is created operates in user's space at the beginning, when it will perform network
When sending the action such as data, reading disk resource, it is necessary to connect by the standard for calling write, send etc. to be provided by operating system
Mouthful function is completed, i.e., is operated by the code of CPU call operation system spaces to complete the request of user.It can be seen that third party should
The function of call operation system offer is wanted with program, the standard interface function that it can only be called to provide.Meanwhile operating system is not
Know third party application specifically perform which function, destination application can not command operation system perform it is special
Operation, both is separate, and this causes operating system to cannot be distinguished by the internal operation scene of destination application, can only
Go to be adapted to using standard set parameter, it is excellent that targetedly performance can not be carried out for the internal operation scene of destination application
Change.
For the above situation, the embodiment of the present application proposes a kind of system resource of destination application for mobile terminal
Collocation method, in this method, the management module in the operating system of mobile terminal receives the intended application journey being currently running first
The contextual data bag that sequence is sent, the application type that contextual data bag includes destination application identify;Secondly, management module determines
In multiple policy modules with the corresponding policy module of application type mark;Again, the policy module in operating system is according to scene
Packet determines the performance boost strategy for the destination application being currently running;Finally, operating system is according to performance boost strategy
Adjust the distribution of the system resource of destination application.It is excellent to be advantageous to raising mobile terminal control targe application program progress performance
The real-time and accuracy of change.
The embodiment of the present application is introduced below in conjunction with the accompanying drawings.
A kind of schematic flow sheet of resource allocation method, the shifting are provided referring to Fig. 2, Fig. 2 is the embodiment of the present application
Dynamic terminal operating has operating system and one or more application programs, and the operating system includes management module and multiple tactful moulds
Block, as illustrated, this resource allocation method includes:
S201, the management module receives the contextual data bag that the destination application being currently running is sent, described
The application type that contextual data bag includes the destination application identifies.
Wherein, destination application refer to installed in mobile terminal user's space third party application, the 3rd
Such as can be the application of instant messaging class, game class application, the third party application can be pacified square application program by user
Dress, can also be pre-installed before mobile terminal dispatches from the factory by developer, does not do unique restriction herein.
Wherein, the scene relating letter of internal operation scene when contextual data bag is currently running including destination application
Breath, the internal operation scene can be divided according to different preparatory conditions, such as interior according to whether there is user mutual to divide
Portion's Run-time scenario is interactive scene and non-interactive type scene, or, according to the complexity of task be divided into single user scene and
Multi-user scene, or be divided into according to different behaviors and start scene, resource updates scene, account login scene, store field
Scape, main interface scene etc., in addition, the preparatory condition can also associate the application of different application types, i.e. different application type
Identical or different internal operation scene can be marked off according to preparatory condition, does not do unique restriction herein.
Wherein, the scene relating information can include current internal operation scene with destination application it is following extremely
A kind of few information:Scene identity, critical performance parameters, wherein, scene markers can be by the current internal operation field that collects
The key message of scape determines that key message can include starting information, resource updates information, account logon information, interface type
Information etc., critical performance parameters can include information such as the frame per second of current internal operation scene, frame losing, interim card etc., herein not
Do unique restriction.In addition, the form of contextual data bag for example can be java script object tag (JavaScript Object
Notation, JSON), agreement buffering area (ProtocolBuffer, Protobuf), the data transmission format such as user-defined format,
Unique restriction is not done herein.
In a possible example, lead between the destination application and the operating system including preset data
Road;The management module receives the contextual data bag that the destination application being currently running is sent, including:The management mould
Block receives the contextual data bag sent by the destination application being currently running described in the preset data channel reception.
Wherein, when the preset data passage is currently running for destination application, destination application and operating system
Between the effective data transmission link established, not after operation, the data transmission link can be eliminated destination application.
In this possible example, the destination application includes Data connection module, and the operating system includes number
According to connection management module;Methods described also includes:Described in the data connection management module and the Data connection module are established
Preset data passage.
In this possible example, destination application can also include data collection module, data preparation module, preferential
Level management module, data reception module, wherein, data reception module is used to collect the crucial letter of destination application operationally
Breath;Data preparation module is used for the key message that finishing collecting arrives, and such as merges the information repeated, deletes information of redundancy etc.;It is excellent
First level management module is used to classify to the key message being collected into according to the significance level of key message, and priority treatment is preferential
The high key message of level, the relatively low key message of filtering priority, or reduction priority is relatively low in packet generating process
Key message use;Data reception module is used to receive and parse through the data that the system application of operating system is sent, and will
It is passed to inside destination application.
S202, the management module determine tactful mould corresponding with application type mark in the multiple policy module
Block.
Wherein, each policy module in the multiple policy module is applicable to same type of application, and such as first
Policy module is applied to game class application, and the second policy module is applied to instant messaging class application, etc..
Wherein, the management module determines tactful mould corresponding with application type mark in the multiple policy module
Block, including:The management module is identified as inquiry mark with application type, inquires about default policy module and application type mark
Between mapping relations, determine in contextual data bag application type mark corresponding to policy module.
S203, the policy module determine the performance boost plan of the destination application according to the contextual data bag
Slightly.
Wherein, performance boost strategy refers to the money of the runnability for improving the above-mentioned destination application being currently running
Source configuration strategy, as cpu resource adjustable strategies, GPU resource adjustable strategies, memory bandwidth resource adjusting strategies, disk resource are adjusted
Whole strategy, Internet resources adjustable strategies etc., do not do unique restriction herein.
S204, the operating system is according to the system resource of destination application described in the performance boost Developing Tactics
Distribution.
In a possible example, the system resource includes at least one in the following resource of the mobile terminal
Kind::Cpu resource, GPU resource, memory bandwidth resource, disk resource, Internet resources.Wherein, Internet resources include mobile terminal
The Internet resources of data network, the Internet resources of Wireless Fidelity Wi-Fi network, the control parameter resource etc. of bluetooth module.
Wherein, when the resource is at least one of cpu resource, GPU resource memory bandwidth resource, disk resource,
Operating system adjusts the configuration of the resource by direct-connected communication mode, and direct-connected communication mode refers to compile by abstract application program
Journey interface (Application Programming Interface, API) direct communication.
Wherein, when the system resource is Internet resources, operating system can be by indirect communication mode and operation
The inner nuclear layer communication in system space, adjusts the configuration of the system resource, indirect communication mode refers to by calling agency service come between
Letter is connected, as the Wi-Fi subsystems in Internet resources or data network subsystem do not operate in same system with operating system
In system, it is necessary to by way of some agencies, these system resources of dereference, Wi-Fi agency is provided in operating system
Service, by calling the interface of the agency service come indirect and Wi-Fi subsystem communications.
As can be seen that in the embodiment of the present application, the operating system of mobile terminal receives the intended application being currently running first
The contextual data bag that program is sent, the application type that contextual data bag includes destination application identify;Secondly, operating system is adjusted
With management module determine in multiple policy modules with the corresponding policy module of application type mark;Again, operating system calls plan
The slightly performance boost strategy for the destination application that module determines to be currently running according to contextual data bag;Finally, operating system is pressed
According to the distribution of the system resource of performance boost Developing Tactics destination application.Because contextual data bag is by the target that is currently running
Application program is sent, and the management module of operating system becomes more meticulous the intended application journey for determining to be currently running according to the contextual data bag
The performance boost strategy of sequence, and adjust by operating system the system resource of destination application in real time according to the performance boost strategy
Configuration, realize and real-time performance optimization carried out to the destination application in running by operating system, be advantageous to carry
High mobile terminal control targe application program carries out the real-time and accuracy of performance optimization.And multiple policy modules can be realized
To the Precise control of different type application, mobile terminal is without loading whole policy modules simultaneously, it is only necessary to which loading is mobile eventually
Policy module corresponding to holding the destination application of front stage operation, resource occupation is advantageously reduced, improve resource utilization and control
Efficiency processed.
In a possible example, the contextual data bag includes the scene relating information of the destination application;
The policy module determines the performance boost strategy of the destination application according to the contextual data bag, including:The plan
Slightly module obtains the scene relating information in the contextual data bag;The policy module is according to the scene relating information
Determine the performance boost strategy of the destination application.
It can be seen that in this example, due to the destination application that scene relating information association is currently running, be advantageous to accurately
The performance boost strategy of destination application when determining to be adapted to current operation under scene, improve the degree of accuracy of resource distribution.
In a possible example, the scene relating information includes the scene identity of the destination application;Institute
The performance boost strategy that policy module determines the destination application according to the scene relating information is stated, including:The plan
Slightly module determines the performance boost strategy that performance boost strategy corresponding to the scene identity is the destination application.
Wherein, the policy module of system application call can identify by inquiry of scene identity, inquire about default performance boost
Mapping relations between strategy and scene identity, determine performance boost strategy corresponding to the scene identity.
It can be seen that in this example, because scene identity and performance boost strategy correspond, and the scene in contextual data bag
The current scene for the destination application that mark association is currently running, that is to say, that the performance boost strategy association determined is
The current operating conditions of the destination application of operation, therefore can be accurate according to the configuration of the performance boost Developing Tactics resource
The current operating conditions of optimization aim application program, be advantageous to improve the destination application that mobile terminal control is currently running
The degree of accuracy.
In a possible example, the key performance that the scene relating information includes the destination application is joined
Number;The policy module determines the performance boost strategy of the destination application according to the scene relating information, including:Institute
State the performance boost strategy that policy module determines the destination application according to the critical performance parameters.
Wherein, critical performance parameters are used for the critical data index for describing destination application, and the critical data for example may be used
To be the information such as frame per second, frame losing, interim card.
In one implementation, the policy module determines to determine the intended application according to the critical performance parameters
The performance boost strategy of program, including:The policy module determines that the resource of the critical performance parameters association is to be adjusted
System resource, the adjustment amount of the system resource to be adjusted is determined according to the critical performance parameters, according to the adjustment amount
Generate the performance boost strategy of the destination application.The adjustment amount of resource can accurately be calculated by being arranged such, and be advantageous to
Improve the degree of accuracy of performance boost strategy.
As an example it is assumed that the critical performance parameters in scene relating information are frame per second X FPS, policy module determines first
The system resource to be adjusted of frame per second association is cpu resource and GPU resource, secondly, CPU tune is determined according to frame per second X FPS
Whole amount is A, and the adjustment amount for determining GPU is B, finally, the performance of destination application is generated according to adjustment amount A and adjustment amount B
Promotion Strategy is that CPU performance parameter is improved into A, and GPU performance parameter is improved into B.
In another implementation, the policy module determines to determine that the target should according to the critical performance parameters
With the performance boost strategy of program, including:The policy module determines the parameter type and parameter number of the critical performance parameters
It is worth section, determines performance boost strategy bag corresponding to the parameter type, is identified by inquiry of the parameter values section, it is determined that
It is applied to the performance boost strategy in the parameter values section in the performance boost strategy bag.Wherein, policy module can manage
Multiple performance boost strategy bags corresponding to many kinds of parameters type, is included in each performance boost strategy bag and is applied to different parameters
The performance boost strategy of numerical intervals, it is arranged such without real-time computing resource adjustment amount, it is only necessary to which inquiry can both obtain, and have
Performance Promotion Strategy is determined beneficial to quick.
It can be seen that in this example, the critical performance parameters that destination application can not collect operating system originally pass
Pass operating system so that operating system can be targetedly to the performance of the current internal operation scene of destination application
Optimize, i.e., the performance boost strategy of high accuracy is quickly determined according to critical performance parameters, to adjust in real time
The configuration of the system resource of the destination application of operation, be advantageous to improve mobile terminal destination application run it is excellent
The real-time of change and the degree of accuracy.
In a possible example, the scene relating information includes scene identity and the pass of the destination application
Key performance parameter;The policy module determines the performance boost plan of the destination application according to the scene relating information
Omit, including:The policy module determines system resource to be adjusted corresponding to the scene identity;The policy module is according to institute
State system resource to be adjusted and the critical performance parameters determine the performance boost strategy of the destination application.
Wherein, system resource corresponding to scene identity is that destination application can be influenceed in mobile terminal in current
The system resource of the runnability of portion's Run-time scenario, if an internal operation scene of game type applications is " game store circle
Face " scene, should the scene markers of " game store interface " scene be store interface, the cpu resource and disk resource of mobile terminal
The runnability of the scene is influenceed, then system resource corresponding to the interface of store is cpu resource and disk resource.
In one implementation, the policy module is joined according to the system resource to be adjusted and the key performance
Number determines the performance boost strategy of the destination application, including:The policy module is according in the critical performance parameters
The parameter associated with the system resource to be adjusted determines the adjustment amount of the system resource to be adjusted, according to the adjustment
Amount generates the performance boost strategy of the destination application.
It can be seen that in this example, corresponding system resource to be adjusted is identified by scene set, and set key performance to join
Number is used for the adjustment amount for determining system resource to be adjusted, so as to generate the current internal operation scene of destination application
Performance boost strategy, the redundancy in critical performance parameters with system resource onrelevant to be adjusted can be avoided to cause additionally
Computed losses, be advantageous to improve the degree of accuracy and effect that mobile terminal carries out operating destination application system resource configuration
Rate.
In a possible example, the contextual data bag identifies including data format;The policy module obtains institute
The scene relating information in contextual data bag is stated, including:
The management module identifies indicated data format according to the data format and parses the contextual data bag, really
The scene relating information of the fixed destination application, and send the scene relating information to the policy module;It can be seen that by
Contextual data bag is uniformly processed management module, and policy module only needs directly to receive the result of policy module on the spot
Scape related information, the function of being advantageous to lightweight and the policy module that becomes more meticulous is arranged such, be easy to safeguard policy module,
The operation such as addition, improves the stability of a system.
Or
The management module sends the contextual data bag to the policy module;The policy module is according to the data
Data format indicated by format identification (FID) parses the contextual data bag, determines the scene relating letter of the destination application
Breath;Wherein, after the management module sends the contextual data bag to the policy module, resting state can be entered to drop
Low-power consumption;It can be seen that management module is only transmitted processing to contextual data bag, directly pass it at policy module
Reason, so as to policy module after contextual data bag is transmitted need not persistently enable, can quick dormancy, advantageously reduce operating system
Overall power, improve efficiency.
Or
The management module determines the first data format of the policy module association, is detecting the first data lattice
When formula and inconsistent the second data format of the contextual data bag, the second data format for changing the contextual data bag is institute
The first data format is stated, and the contextual data bag after the conversion is sent to the policy module;The policy module is pressed
The contextual data bag after the conversion is parsed according to first data format, determines that the scene of the destination application is closed
Join information.It can be identified it can be seen that the contextual data bag of policy module None- identified can be converted into policy module by management module
Contextual data bag, and pass to policy module and handled, avoid because format differences can not correctly determine that scene relating is believed
Breath, be advantageous to success rate of the mobile terminal for the progress accurate resource configuration of operating destination application.
It is consistent with the embodiment shown in above-mentioned Fig. 2, referring to Fig. 3, Fig. 3 is a kind of resource that the embodiment of the present application provides
The schematic flow sheet of collocation method, applied to the mobile terminal for including destination application and operating system, the intended application
Program runs on the user's space of the mobile terminal, and the operating system is empty in the operating system of the mobile terminal
Between, the operating system includes operating system application, and the operating system includes management module and multiple policy modules.As schemed
Show, this resource allocation method includes:
S301, the management module receives the contextual data bag that the destination application being currently running is sent, described
The application type that contextual data bag includes the destination application identifies.
S302, the management module determine tactful mould corresponding with application type mark in the multiple policy module
Block.
S303, the policy module obtain the scene relating information in the contextual data bag;
S304, the policy module determine the performance boost plan of the destination application according to the scene relating information
Slightly.
S305, the operating system is according to the system resource of destination application described in the performance boost Developing Tactics
Distribution.
As can be seen that in the embodiment of the present application, the management module of mobile terminal receives the intended application being currently running first
The contextual data bag that program is sent, the application type that contextual data bag includes destination application identify;Secondly, operating system is adjusted
With management module determine in multiple policy modules with the corresponding policy module of application type mark;Again, operating system calls plan
The destination application that slightly module determines to be currently running according to the scene relating information obtained in the contextual data bag
Performance boost strategy;Finally, operating system according to the system resource of performance boost Developing Tactics destination application distribution.By
Sent in contextual data bag by the destination application being currently running, the management module of operating system is according to contextual data bag essence
Refinement determines the performance boost strategy for the destination application being currently running, and real according to the performance boost strategy by operating system
When adjust destination application system resource configuration, realize by operating system to the destination application in running
Real-time performance optimization is carried out, is advantageous to improve real-time and essence that mobile terminal control targe application program carries out performance optimization
Exactness.And multiple policy modules can realize the Precise control to different type application, mobile terminal is without loading entirely simultaneously
Portion's policy module, it is only necessary to policy module corresponding to loading the destination application of mobile terminal front stage operation, advantageously reduce
Resource occupation, improve resource utilization and control efficiency.
Further, since the destination application that scene relating information association is currently running, is advantageous to accurately determine to fit
The performance boost strategy of destination application during with current operation under scene, improve the degree of accuracy of resource distribution.
It is consistent with the embodiment shown in above-mentioned Fig. 2, referring to Fig. 4, Fig. 4 is a kind of resource that the embodiment of the present application provides
The schematic flow sheet of collocation method, applied to the mobile terminal for including destination application and operating system, the intended application
Program runs on the user's space of the mobile terminal, and the operating system is empty in the operating system of the mobile terminal
Between, the operating system includes operating system application, and the operating system includes management module and multiple policy modules.As schemed
Show, this resource allocation method includes:
S401, the data connection management module establish preset data passage breath with the Data connection module.
S402, the data connection management module are sent by destination application described in the preset data channel reception
Contextual data bag.
S403, the management module determine tactful mould corresponding with application type mark in the multiple policy module
Block.
S404, the management module identify indicated data format according to the data format and parse the contextual data
Bag, the scene relating information of the destination application is determined, and the scene relating information is sent to the policy module.
Wherein, the scene relating information includes the scene identity of the destination application.
S405, the policy module determine that performance boost strategy corresponding to the scene identity is the destination application
Performance boost strategy.
S406, the operating system is according to the system resource of destination application described in the performance boost Developing Tactics
Distribution.
As can be seen that in the embodiment of the present application, the operating system of mobile terminal receives the intended application being currently running first
The contextual data bag that program is sent, the application type that contextual data bag includes destination application identify;Secondly, operating system is adjusted
With management module determine in multiple policy modules with the corresponding policy module of application type mark;Again, operating system calls plan
The slightly performance boost strategy for the destination application that module determines to be currently running according to contextual data bag;Finally, operating system is pressed
According to the distribution of the system resource of performance boost Developing Tactics destination application.Because contextual data bag is by the target that is currently running
Application program is sent, and the management module of operating system becomes more meticulous the intended application journey for determining to be currently running according to the contextual data bag
The performance boost strategy of sequence, and adjust by operating system the system resource of destination application in real time according to the performance boost strategy
Configuration, realize and real-time performance optimization carried out to the destination application in running by operating system, be advantageous to carry
High mobile terminal control targe application program carries out the real-time and accuracy of performance optimization.And multiple policy modules can be realized
To the Precise control of different type application, mobile terminal is without loading whole policy modules simultaneously, it is only necessary to which loading is mobile eventually
Policy module corresponding to holding the destination application of front stage operation, resource occupation is advantageously reduced, improve resource utilization and control
Efficiency processed.
Further, since scene identity corresponds with performance boost strategy, and the scene identity association in contextual data bag
The current scene for the destination application being currently running, that is to say, that the mesh that the performance boost strategy association determined is currently running
The current operating conditions of application program are marked, therefore being capable of accurate optimization aim according to the configuration of the performance boost Developing Tactics resource
The current operating conditions of application program, be advantageous to improve the degree of accuracy for the destination application that mobile terminal control is currently running.
In addition, contextual data bag is uniformly processed by management module, policy module only needs directly to receive tactful mould
The result of block is scene related information, is arranged such the function of being advantageous to lightweight and the policy module that becomes more meticulous, and is easy to pair
Policy module such as is safeguarded, added at the operation, improves the stability of a system.
It is consistent with the embodiment shown in above-mentioned Fig. 2, Fig. 3, Fig. 4, provided referring to Fig. 5, Fig. 5 is the embodiment of the present application
A kind of structural representation of mobile terminal, the running of mobile terminal have one or more application programs and operating system, as schemed institute
Showing, the mobile terminal includes processor, memory, communication interface and one or more programs, wherein, said one or multiple
Program is different from said one or multiple application programs, and said one or multiple programs are stored in above-mentioned memory, and
And be configured by above-mentioned computing device, said procedure includes being used for the instruction for performing following steps;
The management module is controlled to receive the contextual data bag that the destination application being currently running is sent, the field
The application type that scape packet includes the destination application identifies;
The management module is controlled to determine tactful mould corresponding with application type mark in the multiple policy module
Block;
The policy module is controlled to determine the performance boost strategy of the destination application according to the contextual data bag;
The operating system is controlled according to the system resource of destination application described in the performance boost Developing Tactics
Distribution.
As can be seen that in the embodiment of the present application, the management module in the operating system of mobile terminal receives first transports
The contextual data bag that capable destination application is sent, the application type that contextual data bag includes destination application identify;Its
It is secondary, operating system call management module determine in multiple policy modules with the corresponding policy module of application type mark;Again, grasp
Make the performance boost strategy for the destination application that system regulative strategy module determines to be currently running according to contextual data bag;Most
Afterwards, operating system according to the system resource of performance boost Developing Tactics destination application distribution.Due to contextual data bag by
The destination application being currently running is sent, and the management module of operating system becomes more meticulous according to the contextual data bag to be determined transporting
The performance boost strategy of capable destination application, and intended application is adjusted in real time according to the performance boost strategy by operating system
The configuration of the system resource of program, realize and real-time performance is carried out to the destination application in running by operating system
Optimization, be advantageous to improve real-time and accuracy that mobile terminal control targe application program carries out performance optimization.And multiple plans
Slightly module can realize the Precise control to different type application, and mobile terminal is without loading whole policy modules simultaneously, only
Policy module corresponding to needing the destination application of loading mobile terminal front stage operation, advantageously reduces resource occupation, improves
Resource utilization and control efficiency.
In a possible example, the contextual data bag includes the scene relating information of the destination application;
The performance boost strategy side of the destination application is determined according to the contextual data bag in the control policy module
Face, the instruction in described program are specifically used for performing following operate:The policy module is controlled to obtain in the contextual data bag
The scene relating information;And the control policy module determines the intended application journey according to the scene relating information
The performance boost strategy of sequence.
In a possible example, the scene relating information includes the scene identity of the destination application;Institute
Stating scene relating information includes the scene identity of the destination application;In the control policy module according to the field
In terms of scape related information determines the performance boost strategy of the destination application, the instruction in described program is specifically used for performing
Operate below:The policy module is controlled to determine that performance boost strategy corresponding to the scene identity is the destination application
Performance boost strategy.
In a possible example, the key performance that the scene relating information includes the destination application is joined
Number;The performance boost plan of the destination application is determined according to the scene relating information in the control policy module
In terms of slightly, the instruction in described program is specifically used for performing following operate:The policy module is controlled according to the key performance
Parameter determines the performance boost strategy of the destination application.
In a possible example, the scene relating information includes scene identity and the pass of the destination application
Key performance parameter;The property of the destination application is determined according to the scene relating information in the control policy module
In terms of energy Promotion Strategy, the instruction in described program is specifically used for performing following operation:Control described in the policy module determination
System resource to be adjusted corresponding to scene identity;And the control policy module according to the system resource to be adjusted and
The critical performance parameters determine the performance boost strategy of the destination application.
In a possible example, the contextual data bag identifies including data format;In the control strategy
Module obtains the scene relating message context in the contextual data bag, the instruction in described program be specifically used for performing with
Lower operation:Control the management module to identify indicated data format according to the data format and parse the contextual data
Bag, the scene relating information of the destination application is determined, and the scene relating information is sent to the policy module;Or
Person,
The management module is controlled to send the contextual data bag to the policy module;And the control policy module
The contextual data bag is parsed according to the indicated data format of data format mark, determines the destination application
Scene relating information;Or
Control the management module to determine the first data format of the policy module association, detect first number
According to the second data format of form and the contextual data bag it is inconsistent when, change the second data format of the contextual data bag
For first data format, and the contextual data bag after the conversion is sent to the policy module;And control institute
State policy module and parse the contextual data bag after the conversion according to first data format, determine the intended application
The scene relating information of program.
In a possible example, the destination application includes Data connection module, and the operating system includes
Data connection management module;The field for the destination application transmission being currently running is received in the control operating system
In terms of scape packet, the instruction in described program is specifically used for performing following operate:Control the data connection management module with
The Data connection module establishes preset data passage breath;And the control data connection management module passes through the present count
The contextual data bag sent according to destination application described in channel reception.
In a possible example, the system resource includes at least one in the following resource of the mobile terminal
Kind::Cpu resource, GPU resource, memory bandwidth resource, disk resource, Internet resources.
It is above-mentioned that mainly the scheme of the embodiment of the present application is described from the angle of method side implementation procedure.It is appreciated that
, for mobile terminal in order to realize above-mentioned function, it comprises perform the corresponding hardware configuration of each function and/or software mould
Block.Those skilled in the art should be readily appreciated that, with reference to the unit of each example of the embodiments described herein description
And algorithm steps, the application can be realized with the combining form of hardware or hardware and computer software.Some function actually with
The mode of hardware or computer software driving hardware performs, application-specific and design constraint bar depending on technical scheme
Part.Professional and technical personnel can specifically realize described function to each using distinct methods, but this reality
Now it is not considered that exceeding scope of the present application.
The embodiment of the present application can carry out the division of functional unit according to above method example to mobile terminal, for example, can
Each functional unit is divided with corresponding each function, two or more functions can also be integrated in a processing unit
In.Above-mentioned integrated unit can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.Need
It is noted that the division in the embodiment of the present application to unit is schematical, only a kind of division of logic function is actual real
There can be other dividing mode now.
In the case of using integrated unit, Fig. 6 shows device for allocating resources involved in above-described embodiment
A kind of possible functional unit composition block diagram.Device for allocating resources 600 is applied to mobile terminal, and the running of mobile terminal has behaviour
Make system and one or more application programs, the operating system includes management module and multiple policy modules, and the resource is matched somebody with somebody
Putting device 600 includes:Processing unit 602 and communication unit 603.The action that processing unit 602 is used for device for allocating resources is entered
Row control management, for example, processing unit 602 is used to support device for allocating resources to perform in step S201-S204, Fig. 3 in Fig. 2
Step S301-S305, Fig. 4 in step S401-S406 and/or other processes for techniques described herein.Resource
Configuration device can also include memory cell 601, for store program codes and data.
The processing unit 602, for controlling the management module to receive what is be currently running by the communication unit 603
The contextual data bag that the destination application is sent, the contextual data bag include the application type of the destination application
Mark;And for control the management module determine in the multiple policy module with the corresponding plan of application type mark
Slightly module;And the control policy module determines the performance boost plan of the destination application according to the contextual data bag
Slightly;And for the distribution according to the system resource of destination application described in the performance boost Developing Tactics.
In a possible example, the contextual data bag includes the scene relating information of the destination application;
The performance boost strategy side of the destination application is determined according to the contextual data bag in the control policy module
Face, the processing unit 602 are specifically used for:The policy module is controlled to obtain the scene relating in the contextual data bag
Information;And the control policy module determines the performance boost plan of the destination application according to the scene relating information
Slightly.
In a possible example, the scene relating information includes the scene identity of the destination application;
The control policy module determines the performance boost strategy side of the destination application according to the scene relating information
Face, the processing unit 602 are specifically used for:The policy module is controlled to determine performance boost strategy corresponding to the scene identity
For the performance boost strategy of the destination application.
In a possible example, the key performance that the scene relating information includes the destination application is joined
Number;The performance boost plan of the destination application is determined according to the scene relating information in the control policy module
Slightly aspect, the processing unit 602 are specifically used for:The policy module is controlled to determine the mesh according to the critical performance parameters
Mark the performance boost strategy of application program.
In a possible example, the scene relating information includes scene identity and the pass of the destination application
Key performance parameter;The property of the destination application is determined according to the scene relating information in the control policy module
In terms of energy Promotion Strategy, the processing unit 602 is specifically used for:The policy module is controlled to determine corresponding to the scene identity
System resource to be adjusted;And the control policy module is joined according to the system resource to be adjusted and the key performance
Number determines the performance boost strategy of the destination application.
In a possible example, the contextual data bag identifies including data format;In the control strategy
Module obtains the scene relating message context in the contextual data bag, and the processing unit 602 is specifically used for:Control institute
State management module and the indicated data format parsing contextual data bag is identified according to the data format, determine the target
The scene relating information of application program, and send the scene relating information to the policy module;Or
The management module is controlled to send the contextual data bag to the policy module;And the control policy module
The contextual data bag is parsed according to the indicated data format of data format mark, determines the destination application
Scene relating information;Or
Control the management module to determine the first data format of the policy module association, detect first number
According to the second data format of form and the contextual data bag it is inconsistent when, change the second data format of the contextual data bag
For first data format, and the contextual data bag after the conversion is sent to the policy module;And control institute
State policy module and parse the contextual data bag after the conversion according to first data format, determine the intended application
The scene relating information of program.
In a possible example, lead between the destination application and the operating system including preset data
Road;In the contextual data Bao Fang that the destination application being currently running transmission is received by the communication unit 603
Face, the processing unit 602 are specifically used for:By the communication unit 603 by described in the preset data channel reception just
In the contextual data bag that the destination application of operation is sent.
Wherein, the destination application includes Data connection module, and the operating system includes data connection management mould
Block;The device for allocating resources also includes Path Setup unit, the Path Setup unit, for control data connection management mould
Block establishes the preset data passage with the Data connection module.
In a possible example, the system resource includes at least one in the following resource of the mobile terminal
Kind::Cpu resource, GPU resource, memory bandwidth resource, disk resource, Internet resources.Wherein, Internet resources include mobile terminal
The Internet resources of data network, the Internet resources of Wireless Fidelity Wi-Fi network, the control parameter resource etc. of bluetooth module.
Wherein, processing unit 602 can be processor or controller, and communication unit 603 can be processor and program fortune
Internal communications interface between row space, such as processor and the communication interface in operating system space, or processor and user's sky
Between communication interface etc., memory cell 601 can be memory.
A kind of structural representation of smart mobile phone 700, above-mentioned intelligence are provided referring to Fig. 7, Fig. 7 is the embodiment of the present application
Mobile phone 700 includes:Housing 710, touching display screen 720, mainboard 730, battery 740 and subplate 750, before being provided with mainboard 730
Camera 731, processor 732, memory 733, power management chip 734 etc. are put, oscillator 751, integral sound are provided with subplate
Chamber 752, VOOC, which dodge, fills interface 753 and fingerprint recognition module 754.
Wherein, operation has operating system and one or more application programs, destination application operation on the smart mobile phone
In user's space, in operating system space, operating system receives the destination application being currently running and sent operating system
Contextual data bag;Operating system determines the performance boost strategy of destination application according to contextual data bag;Operating system is pressed
The distribution of the system resource for the destination application being currently running according to performance boost Developing Tactics.
Above-mentioned processor 732 is the control centre of smart mobile phone, utilizes various interfaces and the whole smart mobile phone of connection
Various pieces, by running or performing the software program and/or module that are stored in memory 733, and call and be stored in
Data in memory 733, the various functions and processing data of smart mobile phone are performed, so as to carry out overall prison to smart mobile phone
Control.Optionally, processor 732 may include one or more processing units;Preferably, processor 732 can integrate application processor
And modem processor, wherein, application processor mainly handles operating system, user interface and application program etc., modulatedemodulate
Processor is adjusted mainly to handle radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor
In 732.The processor 732 for example can be central processing unit (Central Processing Unit, CPU), general procedure
Device, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application-
Specific Integrated Circuit, ASIC), field programmable gate array (Field Programmable Gate
Array, FPGA) either other PLDs, transistor logic, hardware component or its any combination.It can
To realize or perform the various exemplary logic blocks with reference to described by present disclosure, module and circuit.Above-mentioned place
It can also be the combination for realizing computing function to manage device, such as is combined comprising one or more microprocessors, DSP and microprocessor
Combination etc..
Above-mentioned memory 733 can be used for storage software program and module, and processor 732 is stored in memory by operation
733 software program and module, so as to perform the various function application of smart mobile phone and data processing.Memory 733 can
Mainly include storing program area and storage data field, wherein, storing program area can storage program area, needed at least one function
Application program etc.;Storage data field can store uses created data etc. according to smart mobile phone.In addition, memory 733
High-speed random access memory can be included, can also include nonvolatile memory, a for example, at least disk memory,
Flush memory device or other volatile solid-state parts.The memory 733 for example can be random access memory (Random
Access Memory, RAM), flash memory, read-only storage (Read Only Memory, ROM), the read-only storage of erasable programmable
Device (Erasable Programmable ROM, EPROM), EEPROM (Electrically
EPROM, EEPROM), register, hard disk, mobile hard disk, read-only optical disc (CD-ROM) or any other shape well known in the art
The storage medium of formula.
The embodiment of the present application also provides a kind of computer-readable storage medium, wherein, the computer-readable storage medium is stored for electricity
The computer program that subdata exchanges, the computer program cause computer to perform any as described in above-mentioned embodiment of the method
The part or all of step of method, above computer include mobile terminal.
The embodiment of the present application also provides a kind of computer program product, and above computer program product includes storing calculating
The non-transient computer-readable recording medium of machine program, above computer program are operable to make computer perform side as described above
The part or all of step of either method described in method embodiment.The computer program product can be a software installation
Bag, above computer include mobile terminal.
It should be noted that for foregoing each method embodiment, in order to be briefly described, therefore it is all expressed as a series of
Combination of actions, but those skilled in the art should know, the application is not limited by described sequence of movement because
According to the application, some steps can use other orders or carry out simultaneously.Secondly, those skilled in the art should also know
Know, embodiment described in this description belongs to preferred embodiment, involved action and module not necessarily the application
It is necessary.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion being described in detail in some embodiment
Point, it may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed device, can be by another way
Realize.For example, device embodiment described above is only schematical, such as the division of said units, it is only one kind
Division of logic function, can there is an other dividing mode when actually realizing, such as multiple units or component can combine or can
To be integrated into another system, or some features can be ignored, or not perform.Another, shown or discussed is mutual
Coupling direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING or communication connection of device or unit,
Can be electrical or other forms.
The above-mentioned unit illustrated as separating component can be or may not be physically separate, show as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs
's.
In addition, each functional unit in each embodiment of the application can be integrated in a processing unit, can also
That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list
Member can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If above-mentioned integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or use
When, it can be stored in a computer-readable access to memory.Based on such understanding, the technical scheme of the application substantially or
Person say the part to be contributed to prior art or the technical scheme all or part can in the form of software product body
Reveal and, the computer software product is stored in a memory, including some instructions are causing a computer equipment
(can be personal computer, server or network equipment etc.) performs all or part of each embodiment above method of the application
Step.And foregoing memory includes:USB flash disk, read-only storage (ROM, Read-Only Memory), random access memory
(RAM, Random Access Memory), mobile hard disk, magnetic disc or CD etc. are various can be with the medium of store program codes.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can
To instruct the hardware of correlation to complete by program, the program can be stored in a computer-readable memory, memory
It can include:Flash disk, read-only storage (English:Read-Only Memory, referred to as:ROM), random access device (English:
Random Access Memory, referred to as:RAM), disk or CD etc..
The embodiment of the present application is described in detail above, specific case used herein to the principle of the application and
Embodiment is set forth, and the explanation of above example is only intended to help and understands the present processes and its core concept;
Meanwhile for those of ordinary skill in the art, according to the thought of the application, can in specific embodiments and applications
There is change part, to sum up above-mentioned, this specification content should not be construed as the limitation to the application.
Claims (10)
- A kind of 1. resource allocation method, it is characterised in that applied to mobile terminal, the running of mobile terminal have operating system and One or more application programs, the operating system, which includes management module and multiple policy modules, methods described, to be included:The management module receives the contextual data bag from the destination application being currently running, the contextual data bag Application type mark including the destination application;The management module determine in the multiple policy module with the corresponding policy module of application type mark;The policy module determines the performance boost strategy of the destination application according to the contextual data bag;The operating system according to the system resource of destination application described in the performance boost Developing Tactics distribution.
- 2. according to the method for claim 1, it is characterised in that the contextual data bag includes the destination application Scene relating information;The policy module determines the performance boost plan of the destination application according to the contextual data bag Omit, including:The policy module obtains the scene relating information in the contextual data bag;The policy module determines the performance boost strategy of the destination application according to the scene relating information.
- 3. according to the method for claim 2, it is characterised in that the scene relating information includes the destination application Scene identity;The policy module determines the performance boost plan of the destination application according to the scene relating information Omit, including:The policy module determines that the performance that performance boost strategy corresponding to the scene identity is the destination application carries Rise strategy.
- 4. according to the method for claim 2, it is characterised in that the scene relating information includes the destination application Critical performance parameters;The policy module determines the performance boost of the destination application according to the scene relating information Strategy, including:The policy module determines the performance boost strategy of the destination application according to the critical performance parameters.
- 5. according to the method for claim 2, it is characterised in that the scene relating information includes the destination application Scene identity and critical performance parameters;The policy module determines the destination application according to the scene relating information Performance boost strategy, including:The policy module determines system resource to be adjusted corresponding to the scene identity;The policy module determines the intended application journey according to the system resource to be adjusted and the critical performance parameters The performance boost strategy of sequence.
- 6. according to the method described in claim any one of 2-5, it is characterised in that the contextual data bag includes data format mark Know;The policy module obtains the scene relating information in the contextual data bag, including:The management module identifies indicated data format according to the data format and parses the contextual data bag, determines institute The scene relating information of destination application is stated, and the scene relating information is sent to the policy module;OrThe management module sends the contextual data bag to the policy module;The policy module identifies indicated data format according to the data format and parses the contextual data bag, determines institute State the scene relating information of destination application;OrThe management module determines the first data format of policy module association, detect first data format and When second data format of the contextual data bag is inconsistent, the second data format of the contextual data bag is changed as described One data format, and send the contextual data bag after the conversion to the policy module;The policy module parses the contextual data bag after the conversion according to first data format, determines the mesh Mark the scene relating information of application program.
- 7. according to the method described in claim any one of 1-6, it is characterised in that the destination application and the operation system Include preset data passage between system;The operating system receives the scene number that the destination application being currently running is sent According to bag, including:The operating system receives to be sent out by the destination application being currently running described in the preset data channel reception The contextual data bag sent.
- A kind of 8. device for allocating resources, it is characterised in that applied to mobile terminal, the running of mobile terminal have operating system and One or more application programs, the operating system include management module and multiple policy modules, the device for allocating resources bag Processing unit and communication unit are included,The processing unit, should for controlling the management module to receive the target being currently running by the communication unit The contextual data bag sent with program, the application type that the contextual data bag includes the destination application identify;And For control the management module determine in the multiple policy module with the corresponding policy module of application type mark;With And the control policy module determines the performance boost strategy of the destination application according to the contextual data bag;And use In the distribution according to the system resource of destination application described in the performance boost Developing Tactics.
- A kind of 9. mobile terminal, it is characterised in that including processor, memory, communication interface and one or more programs, its In, one or more of programs are stored in the memory, and are configured by the computing device, described program Instruction including requiring the step in any one of 1-7 method for perform claim.
- 10. a kind of computer-readable recording medium, it is characterised in that the computer-readable recording medium storage is used for electron number According to the computer program of exchange, wherein, the computer program causes computer to perform as described in claim any one of 1-7 Method, the computer include mobile terminal.
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710640040.6A CN107426432B (en) | 2017-07-31 | 2017-07-31 | Resource allocation method and Related product |
US16/046,460 US11182210B2 (en) | 2017-07-31 | 2018-07-26 | Method for resource allocation and terminal device |
PCT/CN2018/097484 WO2019024789A1 (en) | 2017-07-31 | 2018-07-27 | Method for resource allocation and terminal device |
EP18186160.0A EP3438824A1 (en) | 2017-07-31 | 2018-07-27 | Method for resource allocation and terminal device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710640040.6A CN107426432B (en) | 2017-07-31 | 2017-07-31 | Resource allocation method and Related product |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107426432A true CN107426432A (en) | 2017-12-01 |
CN107426432B CN107426432B (en) | 2019-09-17 |
Family
ID=60431528
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710640040.6A Active CN107426432B (en) | 2017-07-31 | 2017-07-31 | Resource allocation method and Related product |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107426432B (en) |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108733427A (en) * | 2018-03-13 | 2018-11-02 | 广东欧珀移动通信有限公司 | Configuration method, device, terminal and the storage medium of input module |
WO2019024789A1 (en) * | 2017-07-31 | 2019-02-07 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Method for resource allocation and terminal device |
WO2019024800A1 (en) * | 2017-07-31 | 2019-02-07 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Method for resource allocation and terminal device |
WO2019042171A1 (en) * | 2017-08-31 | 2019-03-07 | Oppo广东移动通信有限公司 | Resource allocation method and product related thereto |
WO2019042294A1 (en) * | 2017-08-31 | 2019-03-07 | Oppo广东移动通信有限公司 | Resource allocation method and related product |
WO2019047709A1 (en) * | 2017-09-06 | 2019-03-14 | Oppo广东移动通信有限公司 | Resource configuration method and related product |
CN109542614A (en) * | 2018-05-30 | 2019-03-29 | Oppo广东移动通信有限公司 | Resource allocation method, device, terminal and storage medium |
WO2019109868A1 (en) * | 2017-12-06 | 2019-06-13 | Oppo广东移动通信有限公司 | Resource allocation method and related product |
CN111353608A (en) * | 2020-02-26 | 2020-06-30 | Oppo广东移动通信有限公司 | Model transplanting method and related equipment |
WO2020206697A1 (en) * | 2019-04-12 | 2020-10-15 | 深圳市欢太科技有限公司 | Application processing method, apparatus, storage medium and electronic device |
CN111898035A (en) * | 2020-06-19 | 2020-11-06 | 深圳奇迹智慧网络有限公司 | Data processing strategy configuration method and device based on Internet of things and computer equipment |
CN113110887A (en) * | 2021-03-31 | 2021-07-13 | 联想(北京)有限公司 | Information processing method and device, electronic equipment and storage medium |
CN113157544A (en) * | 2021-05-17 | 2021-07-23 | 北京字节跳动网络技术有限公司 | Equipment performance adjusting method, device, equipment and medium |
CN113296831A (en) * | 2021-06-11 | 2021-08-24 | 恒安嘉新(北京)科技股份公司 | Application identifier extraction method and device, computer equipment and storage medium |
CN115185442A (en) * | 2022-07-07 | 2022-10-14 | 广东明创软件科技有限公司 | Operation parameter control method, processor, terminal and storage medium |
WO2022262433A1 (en) * | 2021-06-16 | 2022-12-22 | 中兴通讯股份有限公司 | Resource allocation method, and terminal and computer-readable storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104991775A (en) * | 2015-07-03 | 2015-10-21 | 北京奇虎科技有限公司 | Game acceleration method and apparatus |
US20150317189A1 (en) * | 2013-01-10 | 2015-11-05 | Fujitsu Limited | Application execution controller and application execution method |
CN105183560A (en) * | 2015-09-01 | 2015-12-23 | 北京金山安全软件有限公司 | Method for adjusting picture, picture adjusting device and system |
CN106549880A (en) * | 2016-11-25 | 2017-03-29 | 珠海市魅族科技有限公司 | A kind of resource allocation methods and terminal unit of terminal |
-
2017
- 2017-07-31 CN CN201710640040.6A patent/CN107426432B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150317189A1 (en) * | 2013-01-10 | 2015-11-05 | Fujitsu Limited | Application execution controller and application execution method |
CN104991775A (en) * | 2015-07-03 | 2015-10-21 | 北京奇虎科技有限公司 | Game acceleration method and apparatus |
CN105183560A (en) * | 2015-09-01 | 2015-12-23 | 北京金山安全软件有限公司 | Method for adjusting picture, picture adjusting device and system |
CN106549880A (en) * | 2016-11-25 | 2017-03-29 | 珠海市魅族科技有限公司 | A kind of resource allocation methods and terminal unit of terminal |
Cited By (30)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11016812B2 (en) | 2017-07-31 | 2021-05-25 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Method for resource allocation and terminal device |
WO2019024789A1 (en) * | 2017-07-31 | 2019-02-07 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Method for resource allocation and terminal device |
WO2019024800A1 (en) * | 2017-07-31 | 2019-02-07 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Method for resource allocation and terminal device |
WO2019042171A1 (en) * | 2017-08-31 | 2019-03-07 | Oppo广东移动通信有限公司 | Resource allocation method and product related thereto |
WO2019042294A1 (en) * | 2017-08-31 | 2019-03-07 | Oppo广东移动通信有限公司 | Resource allocation method and related product |
WO2019047709A1 (en) * | 2017-09-06 | 2019-03-14 | Oppo广东移动通信有限公司 | Resource configuration method and related product |
WO2019109868A1 (en) * | 2017-12-06 | 2019-06-13 | Oppo广东移动通信有限公司 | Resource allocation method and related product |
US11698815B2 (en) | 2017-12-06 | 2023-07-11 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Method for resource allocation and related products |
JP2021516395A (en) * | 2018-03-13 | 2021-07-01 | オッポ広東移動通信有限公司Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Resource configuration method, equipment, terminals, and storage media |
AU2019233201B2 (en) * | 2018-03-13 | 2021-12-23 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Resource configuration method and apparatus, terminal, and storage medium |
WO2019174595A1 (en) * | 2018-03-13 | 2019-09-19 | Oppo广东移动通信有限公司 | Resource configuration method and apparatus, terminal, and storage medium |
KR20200113276A (en) * | 2018-03-13 | 2020-10-06 | 광동 오포 모바일 텔레커뮤니케이션즈 코포레이션 리미티드 | Resource arrangement method, device, terminal and storage medium |
CN108733427A (en) * | 2018-03-13 | 2018-11-02 | 广东欧珀移动通信有限公司 | Configuration method, device, terminal and the storage medium of input module |
US11513820B2 (en) | 2018-03-13 | 2022-11-29 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Method for resource allocation, terminal, and computer-readable storage medium |
KR102389235B1 (en) | 2018-03-13 | 2022-04-20 | 광동 오포 모바일 텔레커뮤니케이션즈 코포레이션 리미티드 | Resource placement methods, devices, terminals and storage media |
JP6996005B2 (en) | 2018-03-13 | 2022-01-17 | オッポ広東移動通信有限公司 | Resource configuration method, equipment, terminals, and storage media |
CN108733427B (en) * | 2018-03-13 | 2020-04-21 | Oppo广东移动通信有限公司 | Configuration method and device of input assembly, terminal and storage medium |
CN109542614A (en) * | 2018-05-30 | 2019-03-29 | Oppo广东移动通信有限公司 | Resource allocation method, device, terminal and storage medium |
CN109542614B (en) * | 2018-05-30 | 2023-06-23 | Oppo广东移动通信有限公司 | Resource allocation method, device, terminal and storage medium |
WO2020206697A1 (en) * | 2019-04-12 | 2020-10-15 | 深圳市欢太科技有限公司 | Application processing method, apparatus, storage medium and electronic device |
CN111353608A (en) * | 2020-02-26 | 2020-06-30 | Oppo广东移动通信有限公司 | Model transplanting method and related equipment |
CN111353608B (en) * | 2020-02-26 | 2023-09-12 | Oppo广东移动通信有限公司 | Model transplanting method and related equipment |
CN111898035B (en) * | 2020-06-19 | 2023-10-31 | 深圳奇迹智慧网络有限公司 | Data processing strategy configuration method and device based on Internet of things and computer equipment |
CN111898035A (en) * | 2020-06-19 | 2020-11-06 | 深圳奇迹智慧网络有限公司 | Data processing strategy configuration method and device based on Internet of things and computer equipment |
CN113110887A (en) * | 2021-03-31 | 2021-07-13 | 联想(北京)有限公司 | Information processing method and device, electronic equipment and storage medium |
CN113157544A (en) * | 2021-05-17 | 2021-07-23 | 北京字节跳动网络技术有限公司 | Equipment performance adjusting method, device, equipment and medium |
CN113296831B (en) * | 2021-06-11 | 2023-08-25 | 恒安嘉新(北京)科技股份公司 | Application identifier extraction method and device, computer equipment and storage medium |
CN113296831A (en) * | 2021-06-11 | 2021-08-24 | 恒安嘉新(北京)科技股份公司 | Application identifier extraction method and device, computer equipment and storage medium |
WO2022262433A1 (en) * | 2021-06-16 | 2022-12-22 | 中兴通讯股份有限公司 | Resource allocation method, and terminal and computer-readable storage medium |
CN115185442A (en) * | 2022-07-07 | 2022-10-14 | 广东明创软件科技有限公司 | Operation parameter control method, processor, terminal and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN107426432B (en) | 2019-09-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107426432B (en) | Resource allocation method and Related product | |
CN107483725A (en) | Resource allocation method and Related product | |
CN107577537A (en) | Resource allocation method and Related product | |
CN107589998A (en) | Resource allocation method and Related product | |
CN107577533A (en) | Resource allocation method and Related product | |
CN107613107A (en) | Resource allocation method and related product | |
CN107547746A (en) | Resource allocation method and related product | |
CN107479970A (en) | Resource allocation method and Related product | |
CN107450988A (en) | Resource allocation method and Related product | |
CN107547745A (en) | Resource allocation method and Related product | |
CN107515787A (en) | Resource allocation method and Related product | |
CN107517306A (en) | Resource allocation method and Related product | |
CN107807852A (en) | Application program capacity control method and equipment | |
CN108037999A (en) | Resource allocation method and Related product | |
CN107547744A (en) | Resource allocation method and Related product | |
CN107528976A (en) | Resource allocation method and Related product | |
CN107894920A (en) | Resource allocation method and Related product | |
CN107621981A (en) | Resource allocation method and Related product | |
CN107832141A (en) | Application program progress control method and equipment | |
CN107861814A (en) | Resource allocation method and equipment | |
CN107589977A (en) | Resource allocation method and related product | |
CN107861603A (en) | Power consumption control method and equipment | |
CN107797868A (en) | resource adjusting method and device | |
CN108199786A (en) | Transmission power adjustment method and device | |
CN107635078A (en) | Game control method and equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
REG | Reference to a national code |
Ref country code: HK Ref legal event code: DE Ref document number: 1247479 Country of ref document: HK |
|
CB02 | Change of applicant information |
Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant after: OPPO Guangdong Mobile Communications Co., Ltd. Address before: 523860 No. 18 Wusha Haibin Road, Chang'an Town, Dongguan City, Guangdong Province Applicant before: Guangdong OPPO Mobile Communications Co., Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |