CN106802829A - A kind of method for managing resource and equipment - Google Patents
A kind of method for managing resource and equipment Download PDFInfo
- Publication number
- CN106802829A CN106802829A CN201611265290.8A CN201611265290A CN106802829A CN 106802829 A CN106802829 A CN 106802829A CN 201611265290 A CN201611265290 A CN 201611265290A CN 106802829 A CN106802829 A CN 106802829A
- Authority
- CN
- China
- Prior art keywords
- resource
- application
- process task
- called
- mobile terminal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- 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
- G06F9/5011—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
- G06F9/5016—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals the resource being the memory
-
- 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
- G06F9/5027—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
Abstract
The embodiment of the invention discloses a kind of method for managing resource and equipment, method includes:Obtain the usage record of the resource that at least one process task of the application is called;The usage record of the resource that at least one process task according to the application is called, by the customization resource of at least one process task that the default resource distribution of the mobile terminal is the application;When detecting the application and enabling, call the customization resource to complete at least one process task of the application.The embodiment of the present invention is conducive to improving the fluency of running of mobile terminal application, improves resources management efficiency of the mobile terminal for the high-frequency therapeutic treatment task of application.
Description
Technical field
The present invention relates to resource management techniques field, and in particular to a kind of method for managing resource and equipment.
Background technology
As a large amount of popularization and applications of smart mobile phone, the application that smart mobile phone can be supported are more and more, function is increasingly
Powerful, smart mobile phone develops towards variation, personalized direction, as indispensable appliance and electronic in user's life.Separately
On the one hand, existing smart mobile phone is also existed at the aspect such as ease for use, service time of battery, resource utilization ratio of function
It is not enough.Personalized function, it is high-effect be still target that smart phone user and system developer are pursued.How to user
While providing good interactive mode and experience, it is system developer facing challenges to improve system effectiveness.
Increasing research shows how software runs and how user uses smart mobile phone, is decision systems energy
The key element of consumption and efficiency.
The content of the invention
A kind of method for managing resource and equipment are the embodiment of the invention provides, the stream of running of mobile terminal application can be improved
Smooth property, improves resources management efficiency of the mobile terminal for the high-frequency therapeutic treatment task of application.
In a first aspect, the embodiment of the present invention provides a kind of method for managing resource, it is applied to be provided with the mobile terminal of application,
Methods described includes:
Obtain the usage record of the resource that at least one process task of the application is called;
The usage record of the resource that at least one process task according to the application is called, by the mobile terminal
Default resource distribution is the customization resource of at least one process task of the application;
When detecting the application and enabling, at least one treatment for calling the customization resource to complete the application is appointed
Business.
Second aspect, the embodiment of the invention provides a kind of resource management apparatus, and the device has realizes that the above method sets
The function of the behavior of mobile terminal in meter.The function can be realized by hardware, it is also possible to be performed by hardware corresponding soft
Part is realized.The hardware or software include one or more modules corresponding with above-mentioned functions.
The resource management apparatus include processing unit and communication unit, and the processing unit is used to pass through the communication unit
Obtain the usage record of the resource that at least one process task of the application is called;And for according to the application extremely
The usage record of the resource that a few process task is called, is the application by the default resource distribution of the mobile terminal
The customization resource of at least one process task;And for when detecting the application and enabling, being adjusted by the communication unit
Customize resource to complete at least one process task of the application with described.
The third aspect, the embodiment of the invention provides a kind of mobile terminal, and the mobile terminal includes processor, storage
Device, transceiver and bus;
The processor is in communication with each other by the bus with the memory, the transceiver;
The memory storage executable program instructions, the processor is used to call the executable program in the storage
Code, performs the part or all of step as described in embodiment of the present invention first aspect either method.
Fourth aspect, the embodiment of the invention provides a kind of computer-readable recording medium, wherein, the computer-readable
Storage medium is stored with the program code performed for computer equipment, and the program code specifically includes instruction, the instruction use
In part or all of step of the execution as described in embodiment of the present invention first aspect either method.
As can be seen that in the embodiment of the present invention, at least one process task that mobile terminal obtains application first is called
Resource usage record, secondly, the usage record of resource that at least one process task according to application is called, by movement
The default resource distribution of terminal is the customization resource of at least one process task of application, when detecting using enabling, is called
At least one process task of the customization resource to complete to apply.Because the high-frequency therapeutic treatment task applied has solely for customization resource
Account for power or pre-emption, so the application can be avoided to enable during because inadequate resource and caused by interim card situation generation,
Be conducive to improving the fluency of running of mobile terminal application, improve resource pipe of the mobile terminal for the high-frequency therapeutic treatment task of application
Reason efficiency.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with
Other accompanying drawings are obtained according to these accompanying drawings.
Figure 1A is a kind of schematic flow sheet of method for managing resource provided in an embodiment of the present invention;
Figure 1B is a kind of interaction mode exemplary plot that interface is set for process task provided in an embodiment of the present invention;
Fig. 2 is the schematic flow sheet of another method for managing resource disclosed in the embodiment of the present invention;
Fig. 3 is the schematic flow sheet of another method for managing resource disclosed in the embodiment of the present invention;
Fig. 4 A are a kind of structural representations of resource management apparatus disclosed in the embodiment of the present invention;
Fig. 4 B are a kind of structural representations of mobile terminal disclosed in the embodiment of the present invention;
Fig. 5 is the structural representation of another mobile terminal disclosed in the embodiment of the present invention.
Specific embodiment
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
A part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art
The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
Term " first ", " second " in description and claims of this specification and above-mentioned accompanying drawing etc. are for distinguishing
Different objects, rather than for describing particular order.Additionally, term " comprising " and " having " and their any deformations, it is intended that
It is to cover non-exclusive including.Process, method, system, product or the equipment for for example containing series of steps or unit do not have
The step of having listed or unit are defined in, but alternatively also include the step of not listing or unit, or alternatively also wrapped
Include for these processes, method, product or other intrinsic steps of equipment or unit.
Referenced herein " embodiment " is it is meant that the special characteristic, structure or the characteristic that describe can be wrapped in conjunction with the embodiments
Containing at least one embodiment of the present invention.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 invention can include the various handheld devices with radio communication function,
Mobile unit, wearable device, computing device are connected to other processing equipments of 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.The embodiment of the present invention is carried out in detail below
It is thin to introduce.
Figure 1A is referred to, Figure 1A is to the embodiment of the invention provides a kind of schematic flow sheet of method for managing resource, applied
In the mobile terminal for being provided with application, as illustrated, this method for managing resource includes:
S101, the usage record of the resource that at least one process task applied described in acquisition for mobile terminal is called.
Wherein, the application includes the various applications that mobile terminal is installed, such as wechat application, iqiyi.com, UC browsers,
And the application can be set by user preset, it is also possible to chosen according to preset strategy by mobile terminal, preset strategy is for example
Can be intended application of the use parameter (such as number of times, frequency, duration) more than parameter preset for choosing application in preset period of time,
The application determined according to the preset strategy can be the hot spot application that user commonly uses, such as wechat application, the embodiment of the present invention pair
The specific implementation how mobile terminal chooses the application does not do unique restriction.
Wherein, the usage record of the resource that at least one process task of the application is called can specifically include treatment
Resource quantity, the operation duration of process task, power consumption, consumed flow that the type of task, process task are called etc..
In a possible example, the resource includes at least one in following resource:
Process resource, storage resource, display resource, audio resource, the communication resource.
It is understood that the resource called of at least one process task applied described in the acquisition for mobile terminal
The implementation of usage record can be diversified, and the embodiment of the present invention does not do unique restriction.
For example, as shown in Figure 1B, in a possible example, applied at least described in the acquisition for mobile terminal
The specific implementation of the usage record of the resource that one process task is called can be:
The mobile terminal output process task sets interface, and the process task sets interface at least includes following treatment
Task:Image processing tasks, video processing duties, speech processing tasks and word processing task;
The mobile terminal sets the choosing of at least one of interface process task detecting for the process task
During extract operation, the usage record of the resource that at least one process task of the application is called is obtained.
Wherein, at least one process task for example can be speech processing tasks, or video processing duties etc..
It can be seen that, by providing Visual Intelligent Interface Model, independently setting needs configuration and customization resource to guiding user to mobile terminal
Application process task so that user can participate directly in customization resource configuration process in, be conducive to improve treatment appoint
Business and the relevance of user, improve user and use viscosity.
Again for example, in a possible example, at least one treatment applied described in the acquisition for mobile terminal
The specific implementation of the usage record of the resource that task is called can be:The mobile terminal determines the various of the application
Accounting of the resource that each process task in process task is called in the called resource of the application, it is described various
Process task at least includes image processing tasks, video processing duties, speech processing tasks and word processing task;The shifting
Dynamic terminal obtains usage record of the accounting more than the resource that at least one process task of default accounting threshold value is called.
It can be seen that, mobile terminal is provided by being more than at least one process task configuration and customization of default accounting threshold value for accounting
Source, can be recognized accurately the high-frequency therapeutic treatment task in application, be conducive to improving the degree of accuracy of identification high-frequency therapeutic treatment task.
S102, using for the resource that the mobile terminal is called according at least one process task of the application is remembered
Record, by the customization resource of at least one process task that the default resource distribution of the mobile terminal is the application.
It is understood that the resource called according at least one process task of the application of the mobile terminal
Usage record, by the customization resource of at least one process task that the default resource distribution of the mobile terminal is the application
Implementation can be diversified, and the embodiment of the present invention does not do unique restriction.
In a possible example, the mobile terminal is called according at least one process task of the application
The usage record of resource, by the customization of at least one process task that the default resource distribution of the mobile terminal is the application
The implementation of resource can be:The resource that the mobile terminal is called according at least one process task of the application
Usage record, determines that the reference resources of at least one process task of the application call period and the reference resources amount of calling;Institute
State mobile terminal and determine default resource of the resource transfer amount more than or equal to the mobile terminal of the reference resources amount of calling;
The mobile terminal calls at least one process task that the default resource distribution is the application in the reference resources
The private resource of period.
Wherein, private resource refers to the money dedicated for treatment particular procedure task (i.e. described at least one process task)
Source, the private resource will not be used as the operation resource of other process tasks, specially a kind of dedicated resources.When reference resources are called
Section refers to the period that the average call parameters of resource (such as number of times, frequency, duration) are more than default call parameters, such as language of wechat application
Resource average call parameters of the sound process task between 18 points to 22 points are more than default call parameters, then 18 points to 22 points is micro-
Believe the reference call period of the speech processing tasks of application.Reference call amount refers to the average resource of at least one task of application
Quantity is called, such as assumes that resource is process resource (such as running memory of mobile phone), the speech processing tasks institute according to wechat application
100 usage records of process resource are called to determine that speech processing tasks call the average treatment resource transfer of process resource
Quantity is 800MB, then the reference call amount of the speech processing tasks of wechat application is 800MB.
Further, it is to be appreciated that the default resource distribution is at least one of the application by the mobile terminal
It can be diversified, the present invention that process task calls the specific implementation of the private resource of period in the reference resources
Embodiment does not do unique restriction.
For example, the mobile terminal can set up the task identification of at least one process task of the application and described pre-
If the corresponding relation between resource, accordingly, the use on the corresponding relation is added in the resource transfer strategy of the application
Process, and use condition calls the period to detect present system time in the reference resources.
And for example, the mobile terminal can be the newly-increased customization resource pool of the application, be added in the customization resource pool default
Resource, accordingly, adds in the resource transfer strategy of the application and uses strategy on the customization resource pool, and use condition is
Detect present system time and call the period in the reference resources.
It can be seen that, in this possible example, mobile terminal is at least one process task configuration private resource of application, when should
When being enabled used in the reference call period, directly invoke the private resource to complete at least one process task of application, it is to avoid money
Source is not enough smooth cannot to run the process task applied, and be conducive to improving money of the mobile terminal for the high-frequency therapeutic treatment task of application
Source control efficiency.
In another possible example, the mobile terminal is called according at least one process task of the application
Resource usage record, by determining at least one process task that the default resource distribution of the mobile terminal is the application
The implementation of resource processed can be:The resource that the mobile terminal is called according at least one process task of the application
Usage record, determine that the reference resources of at least one process task of the application call period and the reference resources amount of calling;
The mobile terminal determines default money of the resource transfer amount more than or equal to the mobile terminal of the reference resources amount of calling
Source;The mobile terminal adjusts at least one process task that the default resource distribution is the application in the reference resources
With the preemption of resources of period.
Wherein, preemption of resources refer to preferentially to be called by particular procedure task (i.e. described at least one process task)
Resource, if mobile terminal need not currently run the particular procedure task, the preemption of resources can be by other process tasks
Called, that is to say, that particular procedure task will height for the priority of calling of the preemption of resources in the reference call period
In other process tasks.
Further, it is to be appreciated that the default resource distribution is at least one of the application by the mobile terminal
It can be diversified, sheet that process task calls the specific implementation of the preemption of resources of period in the reference resources
Inventive embodiments do not do unique restriction.
For example, at least one process task that mobile terminal can set application is directed to default resource in the reference call period
Occupancy priority be limit priority, accordingly, Priority Control Strategies are added in the resource transfer strategy of process task,
So as to when mobile terminal is in reference call period and enabling to be applied, can preferentially be called according to default limit priority default
Resource come complete application at least one process task.
And for example, mobile terminal can set up at least one process task of application and the binding relationship of default resource, accordingly
, the use process on the binding relationship, and use condition are added in the resource transfer strategy of process task to detect
Present system time calls the period in the reference resources.
It can be seen that, in this possible example, mobile terminal is that at least one process task configuration preference of application takes resource,
When applying when enabling the reference call period, at least one treatment for directly invoking the limited occupancy resource to complete application is appointed
Business, it is to avoid inadequate resource smooth cannot run the process task applied, is conducive to improving high frequency treatment of the mobile terminal for application
The resources management efficiency of reason task.
S103, the mobile terminal when detecting the application and enabling, call the customization resource with complete it is described should
At least one process task.
In implementing, it is described customization resource be private resource when, the mobile terminal call it is described customization resource with
The implementation for completing at least one process task of the application is:The mobile terminal calls the private resource to complete
At least one process task of the application.
When the customization resource is preemption of resources, the mobile terminal calls the customization resource described to complete
The implementation of at least one process task of application is:It is described to complete that the mobile terminal calls the limited occupancy resource
At least one process task of application.
As can be seen that in the embodiment of the present invention, at least one process task that mobile terminal obtains application first is called
Resource usage record, secondly, the usage record of resource that at least one process task according to application is called, by movement
The default resource distribution of terminal is the customization resource of at least one process task of application, when detecting using enabling, is called
At least one process task of the customization resource to complete to apply.Because the high-frequency therapeutic treatment task applied has solely for customization resource
Account for power or pre-emption, so the application can be avoided to enable during because inadequate resource and caused by interim card situation generation,
Be conducive to improving the fluency of running of mobile terminal application, improve resource pipe of the mobile terminal for the high-frequency therapeutic treatment task of application
Reason efficiency.
In a possible example, what at least one process task applied described in the acquisition for mobile terminal was called
Before the usage record of resource, methods described also includes:
The usage record of the resource that at least one process task applied described in the mobile terminal to update is called.
Wherein, the usage record of the application, the usage record of the application are generated by mobile terminal often enables once application
Include the usage record of the resource that at least one process task of the application is called, by the newly-generated application at least
The usage record of the resource that one process task is called updates the use of the resource that at least one process task is called
Record, it is possible to achieve the dynamic tracking of the resource called at least one process task, so as to realize dynamic to customization resource
Adjustment, is conducive to improving resources management efficiency of the mobile terminal for the high-frequency therapeutic treatment task of application.
In a possible example, the resource is process resource, and at least one process task of the application is micro-
Believe the image processing tasks of application;The resource that the mobile terminal is called according at least one process task of the application
Usage record, by the customization resource of at least one process task that the default resource distribution of the mobile terminal is the application,
Including:
The usage record of the process resource that the mobile terminal is called according to the image processing tasks of the wechat application,
The default process resource of the mobile terminal is configured to the customized treatment resource of the image processing tasks of the wechat application.
It can be seen that, in this possible example, mobile terminal by the image procossing configuration and customization process resource for wechat application,
Avoid being completed without enough resources the image processing tasks of wechat application, be conducive to improving the image processing tasks of wechat application
Operation fluency.
It is consistent with the embodiment shown in above-mentioned Figure 1A, Fig. 2 is referred to, Fig. 2 is another kind provided in an embodiment of the present invention
The schematic flow sheet of method for managing resource, is applied to be provided with the mobile terminal of application.As illustrated, this method for managing resource bag
Include:
S201, the usage record of the resource that at least one process task applied described in mobile terminal to update is called.
S202, mobile terminal output process task sets interface, the process task set interface at least include with
Lower process task:Image processing tasks, video processing duties, speech processing tasks and word processing task.
S203, the mobile terminal is being detected at least one of process task setting interface process task
Selection operation when, obtain the usage record of the resource that at least one process task of the application is called.
S204, using for the resource that the mobile terminal is called according at least one process task of the application is remembered
Record, determines that the reference resources of at least one process task of the application call period and the reference resources amount of calling.
S205, the mobile terminal determines the movement of the resource transfer amount more than or equal to the reference resources amount of calling
The default resource of terminal.
S206, the mobile terminal is by least one process task that the default resource distribution is the application described
Reference resources call the private resource of period.
S207, the mobile terminal when detecting the application and enabling, call the private resource with complete it is described should
At least one process task.
As can be seen that in the embodiment of the present invention, at least one process task that mobile terminal obtains application first is called
Resource usage record, secondly, the usage record of resource that at least one process task according to application is called, by movement
The default resource distribution of terminal is the customization resource of at least one process task of application, when detecting using enabling, is called
At least one process task of the customization resource to complete to apply.Because the high-frequency therapeutic treatment task applied has solely for customization resource
Account for power or pre-emption, so the application can be avoided to enable during because inadequate resource and caused by interim card situation generation,
Be conducive to improving the fluency of running of mobile terminal application, improve resource pipe of the mobile terminal for the high-frequency therapeutic treatment task of application
Reason efficiency.
Additionally, mobile terminal is by providing Visual Intelligent Interface Model, independently setting needs configuration and customization resource to guiding user
Application process task so that user can participate directly in customization resource configuration process in, be conducive to improve treatment appoint
Business and the relevance of user, improve user and use viscosity.
Additionally, mobile terminal is at least one process task configuration private resource of application, when applying in reference call
During Duan Qiyong, directly invoke the private resource to complete at least one process task of application, it is to avoid inadequate resource cannot be smooth
The process task of application is run, is conducive to improving resources management efficiency of the mobile terminal for the high-frequency therapeutic treatment task of application.
It is consistent with the embodiment shown in above-mentioned Figure 1A, Fig. 3 is referred to, Fig. 3 is another kind provided in an embodiment of the present invention
The schematic flow sheet of method for managing resource, is applied to be provided with the mobile terminal of application.As illustrated, this method for managing resource bag
Include:
S301, the mobile terminal determines what each process task in various process tasks of the application was called
Accounting of the resource in the called resource of the application, various process tasks at least include image processing tasks, video
Process task, speech processing tasks and word processing task.
S302, the acquisition for mobile terminal accounting is more than the money that at least one process task of default accounting threshold value is called
The usage record in source.
S303, the mobile terminal is called according at least one process task that the accounting is more than default accounting threshold value
Resource usage record, determine that the reference resources of at least one process task of the application call period and reference resources to adjust
Consumption.
S304, the mobile terminal determines the movement of the resource transfer amount more than or equal to the reference resources amount of calling
The default resource of terminal.
S305, the mobile terminal is by least one process task that the default resource distribution is the application described
Reference resources call the preemption of resources of period.
S306, the mobile terminal when detecting the application and enabling, call the customization resource with complete it is described should
At least one process task.
As can be seen that in the embodiment of the present invention, at least one process task that mobile terminal obtains application first is called
Resource usage record, secondly, the usage record of resource that at least one process task according to application is called, by movement
The default resource distribution of terminal is the customization resource of at least one process task of application, when detecting using enabling, is called
At least one process task of the customization resource to complete to apply.Because the high-frequency therapeutic treatment task applied has solely for customization resource
Account for power or pre-emption, so the application can be avoided to enable during because inadequate resource and caused by interim card situation generation,
Be conducive to improving the fluency of running of mobile terminal application, improve resource pipe of the mobile terminal for the high-frequency therapeutic treatment task of application
Reason efficiency.
Additionally, mobile terminal is provided by being more than at least one process task configuration and customization of default accounting threshold value for accounting
Source, can be recognized accurately the high-frequency therapeutic treatment task in application, be conducive to improving the degree of accuracy of identification high-frequency therapeutic treatment task.
Additionally, at least one process task configuration preference that mobile terminal is application takes resource, adjusted in reference when applying
When being enabled with the period, directly invoke the limited occupancy resource to complete at least one process task of application, it is to avoid inadequate resource
Smooth the process task applied cannot be run, be conducive to improving resource management of the mobile terminal for the high-frequency therapeutic treatment task of application
Efficiency.
It is above-mentioned that the scheme of the embodiment of the present invention is described from the angle of method side implementation procedure mainly.It is appreciated that
, mobile terminal in order to realize above-mentioned functions, 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, it is of the invention to be realized with the combining form of hardware or hardware and computer software.Certain function actually with
Hardware or computer software drive the mode of hardware to perform, depending on the application-specific and design constraint bar of technical scheme
Part.Professional and technical personnel can realize described function using distinct methods to each specific application, but this reality
Now it is not considered that beyond the scope of this invention.
The embodiment of the present invention can carry out the division of functional unit according to above method example to mobile terminal, for example, can
Each functional unit is divided to correspond to each function, it is also possible to which two or more functions are integrated in a processing unit
In.Above-mentioned integrated unit can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.Need
It is noted that the division in the embodiment of the present invention to unit is schematical, only a kind of division of logic function, it is actual real
There can be other dividing mode now.
In the case of using integrated unit, Fig. 4 A show a kind of knot of resource management apparatus that the present embodiment is provided
Structure schematic diagram.Resource management apparatus 400 include:Processing unit 402 and communication unit 403.Processing unit 402 is used for resource pipe
The action for managing device is controlled management, for example, processing unit 402 is used for the step that support resource management device is performed in Figure 1A
Step S301 to S306 in step S201 to 206 and Fig. 3 in S101 to S103, Fig. 2 and/or for described herein
Other processes of technology.Resource management apparatus can also include memory cell 401, for the program generation of SRM device
Code and data.
Wherein, processing unit 402 can be processor or controller, for example, can be central processing unit (Central
Processing Unit, CPU), general processor, digital signal processor (Digital Signal Processor, DSP),
Application specific integrated circuit (Application-Specific Integrated Circuit, ASIC), field programmable gate array
It is (Field Programmable Gate Array, FPGA) or other PLDs, transistor logic, hard
Part part or its any combination.What it can realize or perform with reference to described by the disclosure of invention various exemplary patrols
Collect square frame, module and circuit.The processor can also be the combination for realizing computing function, such as comprising one or more micro- places
Reason device combination, combination of DSP and microprocessor etc..Communication unit 403 can be communication interface, transceiver, transmission circuit etc.,
Wherein, communication interface is to be referred to as, and can include one or more interfaces.Memory cell 401 can be memory.
When processing unit 402 is processor, communication unit 403 is communication interface, when memory cell 401 is memory, this
Resource management apparatus involved by inventive embodiments can be the mobile terminal shown in Fig. 4 B.
Refering to shown in Fig. 4 B, the mobile terminal 410 includes:Processor 412, transceiver 413, memory 411.Optionally,
Mobile terminal 410 can also include bus 414.Wherein, processor 412 passes through bus 414 and transceiver 413, the phase of memory 411
Connect;Bus 414 can be Peripheral Component Interconnect standard (Peripheral Component Interconnect, abbreviation
PCI) bus or EISA (Extended Industry Standard Architecture, abbreviation EISA)
Bus etc..The bus 414 can be divided into address bus, data/address bus, controlling bus etc..For ease of representing, only used in Fig. 4 B
One thick line is represented, it is not intended that only one bus or a type of bus.
The mobile terminal shown in resource management apparatus or Fig. 4 B shown in above-mentioned Fig. 4 A is it can be appreciated that a kind of for moving
The device of dynamic terminal, the embodiment of the present invention is not limited.
The embodiment of the present invention additionally provides another mobile terminal, as shown in figure 5, for convenience of description, illustrate only with
The related part of the embodiment of the present invention, particular technique details is not disclosed, and refer to present invention method part.The movement
Terminal can be to include mobile phone, panel computer, PDA (Personal Digital Assistant, personal digital assistant), POS
Any terminal device such as (Point of Sales, point-of-sale terminal), vehicle-mounted computer, so that mobile terminal is as mobile phone as an example:
Fig. 5 is illustrated that the block diagram of the part-structure of the mobile phone related to mobile terminal provided in an embodiment of the present invention.Ginseng
Fig. 5 is examined, mobile phone includes:Radio frequency (Radio Frequency, RF) circuit 910, memory 920, input block 930, display unit
940th, sensor 950, voicefrequency circuit 960, Wireless Fidelity (Wireless Fidelity, WiFi) module 970, processor 980,
And the grade part of power supply 990.It will be understood by those skilled in the art that the handset structure shown in Fig. 5 is not constituted to mobile phone
Limit, part more more or less than diagram can be included, or combine some parts, or different part arrangements.
Each component parts of mobile phone is specifically introduced with reference to Fig. 5:
RF circuits 910 can be used for the reception of information and transmission.Generally, RF circuits 910 include but is not limited to antenna, at least one
Individual amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..Additionally,
RF circuits 910 can also be communicated by radio communication with network and other equipment.Above-mentioned radio communication can use any communication
Standard or agreement, including but not limited to global system for mobile communications (Global System of Mobile
Communication, GSM), general packet radio service (General Packet Radio Service, GPRS), code division it is many
Location (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division
Multiple Access, WCDMA), Long Term Evolution (Long Term Evolution, LTE), Email, Short Message Service
(Short Messaging Service, SMS) etc..
Memory 920 can be used to store software program and module, and processor 980 is by running storage in memory 920
Software program and module, so as to perform various function application and the data processing of mobile phone.Memory 920 can mainly include
Storing program area and storage data field, wherein, the application journey that storing program area can be needed for storage program area, at least one function
Sequence etc.;Storage data field can be stored and use created data (that such as applies uses parameter etc.) etc. according to mobile phone.Additionally,
Memory 920 can include high-speed random access memory, can also include nonvolatile memory, for example, at least one disk
Memory device, flush memory device or other volatile solid-state parts.
Input block 930 can be used to receive the numeral or character information of input, and produce with the user of mobile phone set with
And the relevant key signals input of function control.Specifically, input block 930 may include fingerprint recognition module 931 and other are defeated
Enter equipment 932.Fingerprint recognition module 931, can gather user's finger print data thereon.Except fingerprint recognition module 931, input
Unit 930 can also include other input equipments 932.Specifically, other input equipments 932 can include but is not limited to touch-control
One kind in screen, physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc.
Or it is various.
Display unit 940 can be used for show by user input information or be supplied to user information and mobile phone it is various
Menu.Display unit 940 may include display screen 941, optionally, can use liquid crystal display (Liquid Crystal
Display, LCD), the form such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) it is aobvious to configure
Display screen 941.Although in Figure 5, fingerprint recognition module 931 and display screen 941 are to realize mobile phone as two independent parts
Input and input function, but it is in some embodiments it is possible to fingerprint recognition module 931 is integrated and real with display screen 941
The input of existing mobile phone and playing function.
Mobile phone may also include at least one sensor 950, such as optical sensor, motion sensor and other sensors.
Specifically, optical sensor may include ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to ambient light
Light and shade adjust the brightness of display screen 941, proximity transducer can when mobile phone is moved in one's ear, close display screen 941 and/or
Backlight.Used as one kind of motion sensor, (generally three axles) acceleration is big in the detectable all directions of accelerometer sensor
It is small, size and the direction of gravity are can detect that when static, can be used to recognize application (such as horizontal/vertical screen switching, the phase of mobile phone attitude
Close game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Be can also configure as mobile phone
The other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared ray sensor, will not be repeated here.
Voicefrequency circuit 960, loudspeaker 961, microphone 962 can provide the COBBAIF between user and mobile phone.Audio-frequency electric
Electric signal after the voice data conversion that road 960 will can receive, is transferred to loudspeaker 961, and sound is converted to by loudspeaker 961
Signal is played;On the other hand, the voice signal of collection is converted to electric signal by microphone 962, is turned after being received by voicefrequency circuit 960
It is changed to voice data, then after voice data playback process device 980 is processed, through RF circuits 910 to be sent to such as another mobile phone,
Or play to memory 920 so as to further treatment voice data.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronicses postal by WiFi module 970
Part, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and has accessed.Although Fig. 5 shows
WiFi module 970, but it is understood that, it is simultaneously not belonging to must be configured into for mobile phone, can not change as needed completely
Become in the essential scope of invention and omit.
Processor 980 is the control centre of mobile phone, using various interfaces and the various pieces of connection whole mobile phone, is led to
Cross operation or perform software program of the storage in memory 920 and/or module, and call storage in memory 920
Data, perform the various functions and processing data of mobile phone, so as to carry out integral monitoring to mobile phone.Optionally, processor 980 can be wrapped
Include one or more processing units;Preferably, processor 980 can integrated application processor and modem processor, wherein, should
Operating system, user interface and application program etc. are mainly processed with processor, modem processor mainly processes radio communication.
It is understood that above-mentioned modem processor can not also be integrated into processor 980.
Mobile phone also includes the power supply 990 (such as battery) powered to all parts, it is preferred that power supply can be by power supply pipe
Reason system is logically contiguous with processor 980, so as to realize management charging, electric discharge and power managed by power-supply management system
Etc. function.
Although not shown, mobile phone can also will not be repeated here including camera, bluetooth module etc..
In embodiment shown in earlier figures 1A~Fig. 3, the structure that each step method flow can be based on the mobile phone is realized.
In embodiment shown in earlier figures 4A, the structure that each unit function can be based on the mobile phone is realized.
The embodiment of the present invention also provides a kind of computer-readable storage medium, wherein, the computer-readable storage medium can be stored with journey
Sequence, the part or all of step including any method for managing resource described in the above method embodiment when program is performed
Suddenly.
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 present invention not by described by sequence of movement limited because
According to the present invention, some steps can sequentially or simultaneously be carried out using other.Secondly, those skilled in the art should also know
Know, embodiment described in this description belongs to preferred embodiment, involved action and module is not necessarily of the invention
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 described in detail in certain embodiment
Point, 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 described unit is only one kind
Division of logic function, can there is 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.It is another, it is shown or discussed each other
Coupling or direct-coupling or communication connection can be the INDIRECT COUPLING or communication connection of device or unit by some interfaces,
Can be electrical or other forms.
The unit that is illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit
The part for showing 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 according to the actual needs selected to realize the mesh of this embodiment scheme
's.
In addition, during 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 can both 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 the integrated unit is to realize in the form of SFU software functional unit and as independent production marketing or use
When, can store in a computer-readable access to memory.Based on such understanding, technical scheme substantially or
Person say the part or technical scheme contributed to prior art 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 used to so that a computer equipment
(can be personal computer, server or network equipment etc.) performs all or part of each embodiment methods described of the invention
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
Completed with instructing the hardware of correlation by program, the program can be stored in a computer-readable memory, memory
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 invention is described in detail above, specific case used herein to principle of the invention and
Implementation method is set forth, and the explanation of above example is only intended to help and understands the method for the present invention and its core concept;
Simultaneously for those of ordinary skill in the art, according to thought of the invention, can in specific embodiments and applications
There is change part, in sum, this specification content should not be construed as limiting the invention.
Claims (10)
1. a kind of method for managing resource, it is characterised in that be applied to be provided with the mobile terminal of application, methods described includes:
Obtain the usage record of the resource that at least one process task of the application is called;
The usage record of the resource that at least one process task according to the application is called, by the default of the mobile terminal
Resource distribution is the customization resource of at least one process task of the application;
When detecting the application and enabling, call the customization resource to complete at least one process task of the application.
2. method according to claim 1, it is characterised in that at least one process task institute according to the application
The usage record of the resource called, by least one process task that the default resource distribution of the mobile terminal is the application
Customization resource, including:
The usage record of the resource that at least one process task according to the application is called, determines at least the one of the application
The reference resources of individual process task call period and the reference resources amount of calling;
Determine default resource of the resource transfer amount more than or equal to the mobile terminal of the reference resources amount of calling;
At least one process task that the default resource distribution is the application is called into the special of period in the reference resources
Use resource.
3. method according to claim 1, it is characterised in that at least one process task institute according to the application
The usage record of the resource called, by least one process task that the default resource distribution of the mobile terminal is the application
Customization resource, including:
The usage record of the resource that at least one process task according to the application is called, determines at least the one of the application
The reference resources of individual process task call period and the reference resources amount of calling;
Determine default resource of the resource transfer amount more than or equal to the mobile terminal of the reference resources amount of calling;
At least one process task that the default resource distribution is the application is called into the excellent of period in the reference resources
First take resource.
4. the method according to claim any one of 1-3, it is characterised in that at least one of the acquisition application
The usage record of the resource that reason task is called, including:
Output process task sets interface, and the process task sets interface at least includes following process task:Image procossing is appointed
Business, video processing duties, speech processing tasks and word processing task;
When the selection operation at least one of process task setting interface process task is detected, obtain described
The usage record of the resource that at least one process task of application is called.
5. the method according to claim any one of 1-3, it is characterised in that at least one of the acquisition application
The usage record of the resource that reason task is called, including:
Determine that the resource that each process task in various process tasks of the application is called is called in the application
Resource in accounting, various process tasks at least include image processing tasks, video processing duties, speech processing tasks
And word processing task;
Obtain usage record of the accounting more than the resource that at least one process task of default accounting threshold value is called.
6. the method according to claim any one of 1-5, it is characterised in that at least one of the acquisition application
Before the usage record of the resource that reason task is called, methods described also includes:
Update the usage record of the resource that at least one process task of the application is called.
7. a kind of resource management apparatus, it is characterised in that be applied to be provided with the mobile terminal of application, the resource management apparatus
Including processing unit and communication unit,
The processing unit is used for the money called by least one process task of the communication unit acquisition application
The usage record in source;And the usage record of the resource for being called according at least one process task of the application, will
The default resource distribution of the mobile terminal is the customization resource of at least one process task of the application;And in inspection
When measuring the application and enabling, the customization resource is called with complete the application at least one by the communication unit
Reason task.
8. resource management apparatus according to claim 7, it is characterised in that the processing unit specifically for:According to institute
The usage record of the resource that at least one process task of application is called is stated, at least one process task of the application is determined
Reference resources call period and the reference resources amount of calling;And for determining resource transfer amount more than or equal to described with reference to money
The default resource of the mobile terminal of the source amount of calling;And for by the default resource distribution is the application at least one
Individual process task calls the private resource of period in the reference resources.
9. resource management apparatus according to claim 7, it is characterised in that the processing unit specifically for:According to institute
The usage record of the resource that at least one process task of application is called is stated, at least one process task of the application is determined
Reference resources call period and the reference resources amount of calling;And for determining resource transfer amount more than or equal to described with reference to money
The default resource of the mobile terminal of the source amount of calling;And for by the default resource distribution is the application at least one
Individual process task calls the preemption of resources of period in the reference resources.
10. a kind of mobile terminal, it is characterised in that including processor, memory, transceiver and bus;
The processor is in communication with each other by the bus with the memory, the transceiver;
The memory storage executable program instructions, the processor is used to call the executable program generation in the storage
Code, performs the method described in as described in any one of claim 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611265290.8A CN106802829A (en) | 2016-12-30 | 2016-12-30 | A kind of method for managing resource and equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611265290.8A CN106802829A (en) | 2016-12-30 | 2016-12-30 | A kind of method for managing resource and equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106802829A true CN106802829A (en) | 2017-06-06 |
Family
ID=58985281
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611265290.8A Pending CN106802829A (en) | 2016-12-30 | 2016-12-30 | A kind of method for managing resource and equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106802829A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103197935A (en) * | 2012-01-09 | 2013-07-10 | 腾讯科技(深圳)有限公司 | Application loading method and system |
CN104391749A (en) * | 2014-11-26 | 2015-03-04 | 北京奇艺世纪科技有限公司 | Resource allocation method and device |
CN105700930A (en) * | 2016-02-22 | 2016-06-22 | 青岛海信移动通信技术股份有限公司 | Application accelerating method and device for embedded operation system |
CN105808328A (en) * | 2014-12-31 | 2016-07-27 | 杭州华为数字技术有限公司 | Task scheduling method, device and system |
-
2016
- 2016-12-30 CN CN201611265290.8A patent/CN106802829A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103197935A (en) * | 2012-01-09 | 2013-07-10 | 腾讯科技(深圳)有限公司 | Application loading method and system |
CN104391749A (en) * | 2014-11-26 | 2015-03-04 | 北京奇艺世纪科技有限公司 | Resource allocation method and device |
CN105808328A (en) * | 2014-12-31 | 2016-07-27 | 杭州华为数字技术有限公司 | Task scheduling method, device and system |
CN105700930A (en) * | 2016-02-22 | 2016-06-22 | 青岛海信移动通信技术股份有限公司 | Application accelerating method and device for embedded operation system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107219976A (en) | Application display method and related product | |
CN106776036A (en) | A kind of resource allocation methods and device | |
CN108156508B (en) | Barrage information processing method and device, mobile terminal, server and system | |
CN105630298A (en) | Folder management method and equipment | |
CN107766139B (en) | Application management method and device | |
CN106817540A (en) | A kind of camera control method and equipment | |
CN106155557B (en) | A kind of virtual key display methods and mobile terminal | |
CN106776038A (en) | A kind of popular application resource allocation methods and mobile terminal | |
CN108170500A (en) | Download progress method for refreshing, terminal device and computer readable storage medium | |
CN107302628A (en) | The control method and Related product of application function | |
CN107422962A (en) | A kind of bright screen control method and equipment | |
CN106850983A (en) | One kind puts out screen control method, device and terminal | |
CN107153576A (en) | The distribution method and terminal device of a kind of memory source | |
CN107317918A (en) | Parameter setting method and related product | |
CN107066324A (en) | A kind of control method and equipment of finger prints processing resource | |
CN108052356A (en) | A kind of method and terminal device for starting calculator | |
CN106249992A (en) | A kind of webpage control method and mobile terminal | |
CN106227542A (en) | A kind of screen locking magazine content is play and mobile terminal | |
CN109107164A (en) | The method and apparatus that mobile terminal and its game performance are adjusted | |
CN109960581A (en) | Hardware resource configuration method, device, mobile terminal and storage medium | |
CN104090743B (en) | Music localization method, device and mobile terminal for mobile terminal | |
CN106815079A (en) | The method and mobile terminal of a kind of popular application control | |
CN106776040A (en) | A kind of resource allocation methods and device | |
CN106815078A (en) | A kind of internal memory control method and equipment | |
CN107423150A (en) | A kind of fingerprint module control method and equipment |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170606 |