CN107315635A - The method of adjustment of the stock number of handheld device and the handheld device - Google Patents

The method of adjustment of the stock number of handheld device and the handheld device Download PDF

Info

Publication number
CN107315635A
CN107315635A CN201610264144.7A CN201610264144A CN107315635A CN 107315635 A CN107315635 A CN 107315635A CN 201610264144 A CN201610264144 A CN 201610264144A CN 107315635 A CN107315635 A CN 107315635A
Authority
CN
China
Prior art keywords
application program
handheld device
resource
adjust instruction
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610264144.7A
Other languages
Chinese (zh)
Inventor
吴志恒
张春雨
李杜芳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201610264144.7A priority Critical patent/CN107315635A/en
Publication of CN107315635A publication Critical patent/CN107315635A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5011Allocation 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/5016Allocation 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation 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)
  • Stored Programmes (AREA)

Abstract

The embodiments of the invention provide a kind of handheld device and the method for adjustment of the stock number of the handheld device.The method of adjustment includes:Obtain the resource adjust instruction that user inputs in the application program that handheld device is run;The handheld device is adjusted according to the resource adjust instruction and runs the stock number that the application program is used.The handheld device and method of adjustment of the embodiment of the present invention can be when application program be run, the instruction inputted according to user in application program, the stock number that adjustment handheld device operation application program is used, so that user needs the performance of the application program of tuning performance to be adjusted, the final Experience Degree for improving user.

Description

The method of adjustment of the stock number of handheld device and the handheld device
Technical field
The present invention relates to the resource of areas of information technology, more particularly to a kind of handheld device and the handheld device The method of adjustment of amount.
Background technology
The performance and power consumption of handheld device (such as mobile phone) are linear, the i.e. performances of handheld device Gao Shi, its power consumption is also high., can be with handheld device in order to which the electricity for extending handheld device uses duration Power consumption is controlled.Such as handheld device work is led in the normal mode (when such as not high to performance requirement) Cross using low power consumption processing module (such as small nut) or reduction central processing unit (Central Processing Unit, The modes such as frequency CPU), the application program only run provides the basic performance for the demand that meets.
In the high performance application program operation of some needs (such as taxi driver needs rapidity competition for orders), Handheld device is according to the application scenarios or strategy wherein pre-set, the automatic identification application scenarios, then Its performance (Radio Resource that the application program such as increase taxi driver's competition for orders is used) is lifted, to meet Demand of the application program to performance.
But, when handheld device, which has run some, needs high performance application program, handheld device can be because Not identify the application program, without the Experience Degree for its improving performance, eventually reduction user.
The content of the invention
A kind of method that the present invention provides handheld device and adjusts the stock number of the handheld device.Solve hand The technical problem for needing the performance of the application program of tuning performance not to be adjusted in holding equipment;Can be When application program is run, the instruction inputted according to user in application program, adjustment handheld device operation should The stock number used with program so that user needs the performance of the application program of tuning performance to be adjusted, The final Experience Degree for improving user.
First aspect there is provided a kind of method of adjustment of the stock number of handheld device, including:Obtain user The resource adjust instruction inputted in the application program that handheld device is run;According to the resource adjust instruction Adjust the handheld device and run the stock number that the application program is used.
In the embodiment of the present invention, user inputs resource adjust instruction in application program so that handheld device Can be when application program be run, the instruction inputted according to user in application program adjusts handheld device The stock number that operation application program is used, so as to realize that user needs the performance of the application program of tuning performance It is adjusted, the final Experience Degree for improving user.
It is described hand-held to be set according to resource adjust instruction adjustment is described in a kind of possible implementation The stock number that application program described in received shipment row is used, including:According to resource adjust instruction increase Handheld device runs the stock number that the application program is used.
In the embodiment of the present invention, user inputs resource adjust instruction in application program so that handheld device Can be when application program be run, the instruction inputted according to user in application program increases handheld device The stock number that operation application program is used, so as to realize that user needs to put forward the performance of high performance application program It is improved, the final Experience Degree for improving user.
In a kind of possible implementation, the acquisition user is in the application program that handheld device is run The resource adjust instruction of input, including:Obtain the resource that user inputs in the interface of the application program Adjust instruction.
In the embodiment of the present invention, the resource adjust instruction that user can input in the interface of application program, Allow user is more directly perceived more quickly to input resource adjust instruction, further improve the experience of user Degree.
It is described to obtain the resource adjustment that user inputs in the interface in a kind of possible implementation Instruction, including:The user is obtained by clicking on the resource adjust instruction that the icon in the interface is inputted.
In a kind of possible implementation, the icon is first in multiple icons in the interface Icon;The method of adjustment also includes:The user is obtained by clicking on second in the multiple icon The Secondary resource adjust instruction of icon input;Described hand-held set is reduced according to the Secondary resource adjust instruction The stock number that application program described in received shipment row is used.
In the embodiment of the present invention, user can click on another icon in the interface of application program, with defeated Enter resource adjust instruction and indicate that handheld device reduces the stock number for running the application program.This method can not only It is enough that the performance that handheld device runs application program is reduced according to the demand of user, and distinguish improve performance and The icon of performance is reduced, user can be caused more accurately to input resource adjust instruction, further improves and uses The Experience Degree at family.
In a kind of possible implementation, the method for adjustment also includes:The user is obtained to pass through again The secondary information resources adjust instruction for clicking on the icon input;Reduced according to the information resources adjust instruction The handheld device runs the stock number that the application program is used.
In the embodiment of the present invention, user can click on the same icon in the interface of application program, with defeated Enter resource adjust instruction and indicate that handheld device reduces the stock number for running the application program.This method can not only It is enough that the performance that handheld device runs application program is reduced according to the demand of user, and it is multiplexed same figure Mark, can cause simple interface to understand, further improve the Experience Degree of user.
It is described to obtain the resource adjustment that user inputs on the interface in a kind of possible implementation Instruction, including:Obtain the 4th resource adjust instruction that the user is inputted by interface described in weight;Institute Stating the resource adjust instruction inputted according to the user increases the handheld device operation application program The resource used, including:According to the 4th resource adjust instruction increases the handheld device operation The stock number that application program is used is to first resource amount.
In a kind of possible implementation, the method for adjustment also includes:The user is obtained to pass through again The 5th resource adjust instruction that interface described in secondary weight is inputted, the 5th resource adjust instruction is corresponding heavy The pressure of pressure is more than the pressure of the corresponding weight of the 4th resource adjust instruction;According to the 5th resource Adjust instruction increases the handheld device and runs stock number that the application program uses to Secondary resource amount, The Secondary resource amount is more than the first resource amount.
In the embodiment of the present invention, the performance mould of different stage in the weight correspondence handheld device of different pressures value More formula, can more neatly adjust the stock number of operation application program, i.e., according to the demand of user The demand of the performance of user's handheld device is reasonably met using the resource and power consumption of fair amount.
In a kind of possible implementation, the method for adjustment also includes:The user is obtained to pass through again 6th resource adjust instruction of the secondary pressing interface input;Reduced according to the 6th resource adjust instruction The handheld device runs the stock number that the application program is used.
It is described to obtain the resource adjustment that user inputs on the interface in a kind of possible implementation Instruction, including:The user is obtained by referring to the resource adjust instruction that button mode operates the interface to input.
In a kind of possible implementation, the method for adjustment also includes:The user is obtained by Two finger button modes operate the 6th resource adjust instruction of the interface input;Adjusted according to the 6th resource Instruction reduces the handheld device and runs the stock number that the application program is used.
It is described hand-held to be set according to resource adjust instruction increase is described in a kind of possible implementation The stock number that application program described in received shipment row is used, including:The resource adjustment inputted according to the user refers to Order, increases the handheld device by following at least one operation and runs the resource that the application program is used Amount:Other applications are temporarily interrupted, all free memories in the handheld device are used to run institute Application program is stated, increases the operation quantity of the central processor CPU of the handheld device, improves described The CPU currently run in handheld device operation frequency.
In the embodiment of the present invention, the resource of operation application program can be increased by least one mode Amount, in order to which handheld device can meet demand of the user to the performance of application program as far as possible.
In a kind of possible implementation, the method for adjustment also includes:At the end of the application program, Discharge the handheld device and run the resource that the application program is used.
In the embodiment of the present invention, after application program terminates or switches, resource can be discharged, to save work( Consumption.
Second aspect there is provided a kind of handheld device, including:Input module, for obtaining user in hand The resource adjust instruction of input in the application program of holding equipment operation;Power consumption control module, for according to institute State resource adjust instruction and adjust the stock number that the handheld device operation application program is used.
In the embodiment of the present invention, user inputs resource adjust instruction in application program so that handheld device Can be when application program be run, the instruction inputted according to user in application program adjusts handheld device The stock number that operation application program is used, so as to realize that user needs the performance of the application program of tuning performance It is adjusted, the final Experience Degree for improving user.
In a kind of possible implementation, the input module specifically for:Adjusted according to the resource The instruction increase handheld device runs the stock number that the application program is used.
In a kind of possible implementation, the input module specifically for:User is obtained to answer described With the resource adjust instruction inputted in the interface of program.
In a kind of possible implementation, it is characterised in that the acquisition user is defeated in the interface The resource adjust instruction entered, including:Obtain what the user inputted by clicking on the icon in the interface Resource adjust instruction.
In a kind of possible implementation, the icon is first in multiple icons in the interface Icon;The input module is additionally operable to obtain the user by clicking on the second figure in the multiple icon Mark the Secondary resource adjust instruction of input;The power consumption control module is additionally operable to be adjusted according to the Secondary resource Whole instruction reduces the handheld device and runs the stock number that the application program is used.
In a kind of possible implementation, the input module, which is additionally operable to obtain the user, to be passed through again Click on the information resources adjust instruction of the icon input;The power consumption control module is additionally operable to according to described Information resources adjust instruction reduces the handheld device and runs the stock number that the application program is used.
In a kind of possible implementation, the input module passes through weight specifically for obtaining the user Press the 4th resource adjust instruction of the interface input;The power consumption control module is specifically for according to described 4th resource adjust instruction, increases the handheld device and runs stock number that the application program uses to the One stock number.
In a kind of possible implementation, the input module, which is additionally operable to obtain the user, to be passed through again The 5th resource adjust instruction that interface described in weight is inputted, the corresponding weight of the 5th resource adjust instruction Pressure be more than the corresponding weight of the 4th resource adjust instruction pressure;The power consumption control module is also Used for increasing the handheld device operation application program according to the 5th resource adjust instruction Stock number to Secondary resource amount, the Secondary resource amount is more than the first resource amount.
In a kind of possible implementation, the input module, which is additionally operable to obtain the user, to be passed through again Press the 6th resource adjust instruction of the interface input;The power consumption control module is additionally operable to according to described 6th resource adjust instruction reduces the handheld device and runs the stock number that the application program is used.
In a kind of possible implementation, the input module is specifically for obtaining the user by referring to Button mode operates the resource adjust instruction of the interface input.
In a kind of possible implementation, the input module is additionally operable to obtain the user by second Refer to the 6th resource adjust instruction that button mode operates the interface input;The power consumption control module is additionally operable to The handheld device is reduced according to the 6th resource adjust instruction and runs the money that the application program is used Measure in source.
In a kind of possible implementation, the power consumption control module specifically for:According to the user The resource adjust instruction of input, being increased by following at least one operation should described in the handheld device operation The stock number used with program:Other applications are temporarily interrupted, can by all in the handheld device It is used to run the application program with internal memory, increases the fortune of the central processor CPU of the handheld device Line number amount, improves the CPU currently run in the handheld device operation frequency.
In a kind of possible implementation, the handheld device also includes process monitoring module, for supervising Control the application program and terminate operation:The power consumption control module is additionally operable to monitor institute in the monitoring module At the end of stating application program, discharge the handheld device and run the resource that the application program is used.
The third aspect there is provided a kind of System on Chip/SoC, including input interface, output interface, at least one Processor, memory, lead between the input interface, output interface, the processor and memory Cross bus to be connected, the processor is used to perform the code in the memory, when the code is performed When, the processor realizes the method in first aspect.
Fourth aspect is used for there is provided a kind of computer-readable medium, the computer-readable medium storage The program code of the stock number in handheld device is adjusted, described program code includes being used to perform first aspect In method instruction.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be in the embodiment of the present invention The required accompanying drawing used is briefly described, it should be apparent that, drawings described below is only this Some embodiments of invention, for those of ordinary skill in the art, are not paying creative work Under the premise of, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is the indicative flowchart of the method for the stock number of the adjustment handheld device of the embodiment of the present invention.
Fig. 2 is the schematic frame diagram of the handheld device of the embodiment of the present invention.
Fig. 3 is the schematic frame diagram of the System on Chip/SoC of the embodiment of the present invention,
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out Clearly and completely describe, it is clear that described embodiment is a part of embodiment of the invention, rather than Whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not making wound The every other embodiment obtained under the premise of the property made work, belongs to the scope of protection of the invention.
Handheld device (handheld device) in the embodiment of the present invention generally has a small display screen Curtain, touch-control input, or small-sized keyboard (or dummy keyboard), some handheld devices can also be at any time Various information are obtained by network access everywhere.
Typical handheld device has smart mobile phone (Smart Phone), personal digital assistant (Personal Digital Assistant, PDA) and handheld device (Handheld game console) etc..
So-called smart mobile phone, which is exactly one, arbitrarily can install and/or unload the mobile phone of application program.Individual number Code assistant generally refers to palmtop computer.Handheld device (Handheld game console) also known as just Take formula game machine, portable game machine or portable Game device, referred to as palm machine, refer to be convenient for carrying it is small-sized specially Door game machine, it can converting video Games Software whenever and wherever possible.It is a class of portable game, existing portion Departure machine is also put into the row of palm machine.
Fig. 1 is the indicative flowchart of the method for adjustment of the stock number of the handheld device of the embodiment of the present invention. It should be understood that Fig. 1 shows detailed step or the operation of the method for adjustment of the stock number of handheld device, but this A little steps or operation are can also carry out in other operations or Fig. 1 in example, the embodiment of the present invention The deformation of each operation.In addition, part steps in Fig. 1 can according to from Fig. 1 present it is different suitable Sequence is performed, and it is possible to do not really want to perform all operationss in Fig. 1.
S102, handheld device operation application program.Handheld device can only run an application program, Multiple application programs can be run simultaneously.
S104, user inputs resource adjust instruction in the application program.When application program is run, meeting The interface of application program is shown to user by the display device of handheld device, user can be in application program Interface on or by the input units such as physical button to application program input resource adjust instruction, Ran Houying The resource adjust instruction that user inputs from input unit is transferred to other processing of handheld device with program Module or unit, other processing modules or unit carry out subsequent treatment according to resource adjust instruction.
S106, handheld device obtains the resource adjust instruction of user's input.User passes through the defeated of handheld device Enter device to input after resource adjust instruction to application program, the power consumption control module of handheld device is from applying journey The resource adjust instruction is obtained at sequence.
S108, handheld device is adjusted according to the resource adjust instruction runs the resource that the application program is used Amount.Handheld device is got at application program after the resource adjust instruction, according to advance in handheld device The implication adjustment handheld device that the resource adjust instruction of setting is represented runs the resource that the application program is used Amount.
In the embodiment of the present invention, user inputs resource adjust instruction in application program so that handheld device Can be when application program be run, the instruction inputted according to user in application program adjusts handheld device The stock number that operation application program is used, so as to realize that user needs the performance of the application program of tuning performance It is adjusted, the final Experience Degree for improving user.
In the embodiment of the present invention, handheld device runs the application program according to resource adjust instruction adjustment to be made Stock number, both can be that according to resource adjust instruction increase operation, the application program makes handheld device Stock number or handheld device run the application program according to resource adjust instruction reduction to be made Stock number.
When application program brings into operation, handheld device can distribute normal resource, i.e. handheld device for it Performance is in normal condition, and the operational mode of handheld device now typically is turned into normal module;And due to After the stock number of handheld device increase operation application program private, the performance of handheld device can be lifted, therefore Under normal circumstances, the operation module of now handheld device can be referred to as performance mode.
, can when handheld device runs the stock number that the application program is used according to resource adjust instruction increase To be accomplished in several ways, the portion of other applications or other applications is such as temporarily interrupted or closed Point process so that the handheld device resource that uses these other applications or process is used for running this Application program;Or the amount of ram of the application program is run in increase handheld device;Or such as by handheld device All available internal memories are all for running the application program;Or as improved and currently run in handheld device The operation frequency of central processing unit (Central Processing Unit, CPU);Or, set when hand-held For when including multiple CPU, increase the CPU currently run quantity;Etc..
, can when handheld device runs the stock number that the application program is used according to resource adjust instruction reduction The implementation of energy includes:Reduce the internal memory for running the application program;Currently run in reduction handheld device Central processing unit (Central Processing Unit, CPU) operation frequency;Reduce current operation CPU quantity;Etc..
In the embodiment of the present invention, user refers in the interface of application program to application program input resource adjustment When making, it can realize in several ways.Be described in detail below user in the interface of application program to The method that application program inputs resource adjust instruction.
User in the interface of application program to application program input resource adjust instruction a kind of method be: Application program can be provided when interface is presented to user in the display device by handheld device on interface The icon (in order to which subsequent descriptions are convenient, the icon is referred to as the first icon) that user can click on, and in advance Set in the application:First icon is clicked, i.e., application program receives resource increase instruction, so Application program manages module (such as power consumption control module) the transmission resource of resource allocation into handheld device afterwards Increase message, ask module increase to run the stock number of the application program.
So, when user clicks on the first icon, application program will be sent out to the module of management resource allocation Resource is sent to increase request message, the module receives the resource increase request message of application program transmission Afterwards, increase runs the stock number of the application program.The method of the stock number of increase operation application program is as before Described, here is omitted.
Alternatively, it can also set in the application in advance:First icon is clicked, i.e. application program Resource increase instruction is received, then application program manages the module of resource allocation (such as into handheld device Power consumption control module) resource increase request message is sent, ask module increase to run the application program Stock number;Then the first icon, i.e. application program are clicked on again and receives the less instruction of resource, are then applied Module (such as power consumption control module) the transmission resource reduction that program manages resource allocation into handheld device please Message is sought, asks the module to reduce the stock number for running the application program;Then the first icon is clicked on again, I.e. application program receives resource increase instruction, next performs subsequent operation.
Alternatively, it can also set in the application in advance:First icon is clicked, i.e. application program Resource increase instruction is received, then application program manages the module of resource allocation (such as into handheld device Power consumption control module) resource increase request message is sent, ask module increase to run the application program Stock number;Then the first icon, i.e. application program are clicked on again and receives resource increase instruction, are then applied The module that program manages resource allocation into handheld device sends resource increase request message, asks the module It is further added by running the stock number of the application program on the basis of original stock number.Often click on the first figure Mark, application program receives and all sends resource increase to the module of management resource allocation after resource increase instruction Request message, asks the module to be further added by running the resource of the application program on the basis of original stock number Amount, next performs subsequent operation.Until handheld device can not be more for the application assigned again Resource.
When handheld device can not again for the application assigned more resources when, if user clicks on again First icon, can prompt the user with the stock number of the application program can not be lifted again, to avoid using Make invalid clicks in family;Or, when user clicks on the first icon again, application program can be to management resource The module of distribution sends resource and reduces request message, asks the module to reduce the resource for running the application program Amount.
Alternatively, application program, can be with when interface is presented to user in the display device by handheld device The icon that two users of offer can click on interface is (in order to which subsequent descriptions are convenient, by one of icon Referred to as the first icon, another icon is referred to as the second icon).So, if the first icon is clicked, i.e., Application program receives resource increase instruction, and then application program manages resource allocation into handheld device Module (such as power consumption control module) sends resource increase request message, and asking module increase operation to be somebody's turn to do should With the stock number of program;If the second icon is clicked, i.e., application program receives resource and reduces instruction, so Application program manages module (such as power consumption control module) the transmission resource of resource allocation into handheld device afterwards Request message is reduced, asks the module to reduce the stock number for running the application program.
User inputs another method of resource adjust instruction in the interface of application program to application program For:User's weight interface, i.e. application program receive resource increase adjust instruction, then application program to The module (such as power consumption control module) that resource allocation is managed in handheld device sends resource increase request message, Module increase is asked to run the stock number of the application program.
Alternatively, user's weight interface, i.e. application program receive resource increase instruction, application program Module (such as power consumption control module) the transmission resource increase request that resource allocation is managed into handheld device disappears Breath, asks module increase to run after the stock number of the application program, if user weight interface again, What then application program was received be resource reduce instruction, then application program to management resource allocation module Send resource and reduce request message, ask the module to reduce the stock number for running the application program.
Alternatively, user's weight interface, i.e. application program receive resource increase instruction, application program Module (such as power consumption control module) the transmission resource increase request that resource allocation is managed into handheld device disappears Breath, asks module increase to run after the stock number of the application program, if user weight interface again, Then application program continues to resource increase instruction, and then the module of application program to management resource allocation is sent out Send resource to increase request message, ask the module to continue increase on the basis of former stock number and run the application The stock number of program.
It is alternatively possible to the increase of stock number in handheld device is divided into multiple grades, then user's weight The corresponding different increased grade of stock number of different pressures value that the interface of application program is used, i.e., different pressures The performance mode of the weight correspondence different stage of force value.Such as, the pressure value at user's weight interface is bigger, Then handheld device is that the increased stock number of the application program is more.At this point it is possible to be that application program can root Different grades of money is sent according to the module of size to the management resource allocation of the pressure value at user's weight interface Source increases the mould that the pressure value is sent to management resource allocation by request message or application program Block, by the module of management resource allocation it is determined that increasing the stock number of which corresponding grade.
By the way that the performance mode of handheld device is classified, more neatly it can be adjusted according to the demand of user The stock number of whole operation application program, i.e., more reasonably met using the resource and power consumption of fair amount The demand of the performance of user's handheld device.
User inputs another method of resource adjust instruction in the interface of application program to application program For:User inputs some figure (such as U-shaped) in the interface of the application program by referring to button mode, And the figure has been pre-set in handheld device represent user's input resource increase instruction, ask hand-held to set It is standby to run resource, then the user interface management system that application program passes through handheld device for application program increase System is received after resource increase adjust instruction, and module (such as work(of resource allocation is managed into handheld device Consume control module) resource increase request message is sent, ask module increase to run the money of the application program Measure in source.
Alternatively, when user inputs some figure in the interface of the application program by referring to button mode (such as U-shaped), and handheld device is according to the corresponding resource increase instruction increase operation application program of the figure Stock number after, user can input another and resource again and reduce the corresponding figure of instruction, to ask hand Holding equipment reduces the stock number for running the application program.
Alternatively, when user inputs some figure in the interface of the application program by referring to button mode (such as U-shaped), and handheld device is according to the corresponding resource adjust instruction increase operation application program of the figure Stock number after, when user can input the figure again, handheld device can be according to the corresponding money of the figure Source adjust instruction reduces the stock number for running the application program.
Alternatively, user in the interface of the application program by refer to button mode input different figures can be with The different resource adjust instruction of correspondence, i.e., the stock number of the corresponding different stage of different resource adjust instructions. Specifically, user inputs different figures by referring to button mode, and handheld device gets figure correspondence Resource adjust instruction after, can for the application program increase varying number resource.
What the above was mainly introduced is that user inputs resource in the interface of application program to handheld device Increase the method for instruction, refer to because user is reduced in the interface of application program to handheld device input resource The method of order is similar, for simplicity, and here is omitted.When handheld device reduces operation application program When resource, the stock number when stock number for being is less than normal mode, the operational mode of handheld device can be with As energy saver mode.
In the embodiment of the present invention, handheld device is that application program is adjusted after the stock number run, and can be passed through The interface of application program or the system interface of handheld device prompt the user with the current stock number of application program The information such as grade or resource using status, in order to user can according to the information determine next whether need Input resource adjust instruction or input resource increase instruction or the less instruction of resource.
In the embodiment of the present invention, user refers in the interface of application program to application program input resource adjustment The method of order can also include in addition to the several method of foregoing detailed description:User double-clicks application program Interface so that handheld device obtain user double-click application program interface input resource adjustment refer to Order;Or user by physical button existing or newly-increased on the virtual key or handheld device on interface to Application program inputs resource adjust instruction;Or user by the speech input device of handheld device to applying journey Sequence inputs resource adjust instruction;Or user inputs resource adjusting apparatus by camera device to application program; Etc..
In the embodiment of the present invention, when application program terminates operation or operation suspension, such as user exits application Program or application program are automatically exited from, or user, when being temporarily switched to other applications, handheld device can The resource that the application program is used is run to discharge, i.e. handheld device exits performance mode, recovers normal mode Formula, in order to which handheld device can save unnecessary power consumption.
Alternatively, handheld device, can be to user before release runs the resource that the application program is used Prompting will move out performance mode, discharge resource;Then user's input determines exit instruction or cancelled to exit Instruction, handheld device receives the determination exit instruction of user's input or cancelled after exit instruction, performs corresponding Operation, performance mode is exited to realize according to the demand of user, finally also improves the Experience Degree of user.
The resources-type method of adjustment of the handheld device of the embodiment of the present invention is described above in conjunction with Fig. 1, under Face combines the handheld device that Fig. 2 and Fig. 3 introduces the embodiment of the present invention.
Fig. 2 is a kind of schematic diagram of the handheld device of the embodiment of the present invention.Hand-held in Fig. 2 sets Standby 200 include input module 210 and power consumption control module 220.
Input module 210, for obtaining the resource that user inputs in the application program that handheld device is run Adjust instruction.
Power consumption control module 220, runs for adjusting the handheld device according to the resource adjust instruction The stock number that the application program is used.
In the embodiment of the present invention, user inputs resource adjust instruction in application program so that handheld device Can be when application program be run, the instruction inputted according to user in application program adjusts handheld device The stock number that operation application program is used, so as to realize that user needs the performance of the application program of tuning performance It is adjusted, the final Experience Degree for improving user.
Alternatively, the input module 210 according to the resource adjust instruction specifically for increasing the hand Holding equipment runs the stock number that the application program is used.
Alternatively, the input module 210 is specifically for obtaining user in the interface of the application program The resource adjust instruction of input.
Alternatively, the input module 210 is specifically for obtaining the user by clicking in the interface Icon input resource adjust instruction.
Alternatively, the icon is the first icon in multiple icons in the interface;The input mould Block 210 is additionally operable to obtain the user by clicking on the second icon in the multiple icon is inputted second Resource adjust instruction;The power consumption control module 220 is additionally operable to be subtracted according to the Secondary resource adjust instruction Few handheld device runs the stock number that the application program is used.
Alternatively, the input module 210 is additionally operable to obtain the user by again tapping on the icon The information resources adjust instruction of input;The power consumption control module 220 is additionally operable to according to the information resources Adjust instruction reduces the handheld device and runs the stock number that the application program is used.
Alternatively, the input module 210 is defeated by interface described in weight specifically for obtaining the user The 4th resource adjust instruction entered;The power consumption control module 220 is specifically for according to the 4th resource Adjust instruction, the stock number that the increase handheld device operation application program is used to first resource Amount.
Alternatively, the input module 210, which is additionally operable to obtain the user, passes through interface described in weight again 5th resource adjust instruction of input, the pressure of the corresponding weight of the 5th resource adjust instruction is more than institute State the pressure of the corresponding weight of the 4th resource adjust instruction;The power consumption control module 220 is additionally operable to basis The 5th resource adjust instruction increases the handheld device and runs the stock number that the application program is used To Secondary resource amount, the Secondary resource amount is more than the first resource amount.
Alternatively, the input module 210 is additionally operable to obtain the user by pressing the interface again 6th resource adjust instruction of input;The power consumption control module 220 is additionally operable to according to the 6th resource Adjust instruction reduces the handheld device and runs the stock number that the application program is used.
Alternatively, the input module 210 operates institute specifically for the acquisition user by referring to button mode State the resource adjust instruction of interface input.
Alternatively, the input module 210 is additionally operable to obtain the user and operated by the second finger button mode 6th resource adjust instruction of the interface input;The power consumption control module is additionally operable to according to the described 6th Resource adjust instruction reduces the handheld device and runs the stock number that the application program is used.
Alternatively, the power consumption control module 220 specifically for:The resource inputted according to the user is adjusted Whole instruction, increases the handheld device by following at least one operation and runs what the application program was used Stock number:Other applications are temporarily interrupted, all free memories in the handheld device are used to transport The row application program, increases the operation quantity of the central processor CPU of the handheld device, improves The CPU currently run in the handheld device operation frequency.
Alternatively, the handheld device also includes process monitoring module, for monitoring the application program knot Shu Yunhang:The power consumption control module 220 is additionally operable to monitor the application program knot in the monitoring module Shu Shi, discharges the handheld device and runs the resource that the application program is used.
Each operation that the handheld device that handheld device 200 is able to carry out in Fig. 1 method of adjustment is performed, For simplicity, here is omitted.
Fig. 3 is the schematic diagram of the System on Chip/SoC of the embodiment of the present invention.Fig. 3 System on Chip/SoC 300 It is described including input interface 310, output interface 320, at least one processor 330, memory 340 By total between input interface 310, output interface 320, the processor 330 and memory 340 Line is connected, and the processor 330 is used to perform the code in the memory 340, when the code quilt During execution, the processor 330 realizes the method in Fig. 1.
In the embodiment of the present invention, user inputs resource adjust instruction in application program so that handheld device Can be when application program be run, the instruction inputted according to user in application program adjusts handheld device The stock number that operation application program is used, so as to realize that user needs the performance of the application program of tuning performance It is adjusted, the final Experience Degree for improving user.
Those of ordinary skill in the art are it is to be appreciated that with reference to each of the embodiments described herein description The unit and algorithm steps of example, can be with electronic hardware or the knot of computer software and electronic hardware Close to realize.These functions are performed with hardware or software mode actually, depending on the spy of technical scheme Fixed application and design constraint.Professional and technical personnel can use not Tongfang to each specific application Method realizes described function, but this realization is it is not considered that beyond the scope of this invention.
It is apparent to those skilled in the art that, it is for convenience and simplicity of description, above-mentioned to retouch The specific work process of system, device and the unit stated, may be referred to the correspondence in preceding method embodiment Process, will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed system, device and Method, can be realized by another way.For example, device embodiment described above is only to show Meaning property, for example, the division of the unit, only a kind of division of logic function can when actually realizing To there is other dividing mode, such as multiple units or component can combine or be desirably 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 of device or unit by some interfaces Or communication connection, can be electrical, machinery or other forms.
The unit illustrated as separating component can be or may not be it is physically separate, make It can be for the part that unit is shown or may not be physical location, you can with positioned at a place, Or can also be distributed on multiple NEs.Can select according to the actual needs part therein or Person's whole units realize the purpose of this embodiment scheme.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit In or unit be individually physically present, can also two or more units be integrated in one In individual unit.
If the function is realized using in the form of SFU software functional unit and as independent production marketing or made Used time, it can be stored in a computer read/write memory medium.Understood based on such, the present invention The part that is substantially contributed in other words to prior art of technical scheme or the technical scheme portion Dividing can be embodied in the form of software product, and the computer software product is stored in a storage medium In, including some instructions to cause a computer equipment (can be personal computer, server, Or the network equipment etc.) perform all or part of step of each embodiment methods described of the invention.And it is preceding The storage medium stated includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), Random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can With the medium of store program codes.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited to In this, any one skilled in the art the invention discloses technical scope in, can be easily Expect change or replacement, should all be included within the scope of the present invention.Therefore, protection of the invention Scope described should be defined by scope of the claims.

Claims (26)

1. a kind of method of adjustment of the stock number of handheld device, it is characterised in that including:
Obtain the resource adjust instruction that user inputs in the application program that handheld device is run;
The handheld device is adjusted according to the resource adjust instruction and runs the money that the application program is used Measure in source.
2. method of adjustment as claimed in claim 1, it is characterised in that described to be adjusted according to the resource The whole instruction adjustment handheld device runs the stock number that the application program is used, including:
The handheld device is increased according to the resource adjust instruction and runs the money that the application program is used Measure in source.
3. method of adjustment as claimed in claim 2, it is characterised in that the acquisition user is hand-held The resource adjust instruction of input in the application program of equipment operation, including:
Obtain the resource adjust instruction that user inputs in the interface of the application program.
4. method of adjustment as claimed in claim 3, it is characterised in that the acquisition user is described The resource adjust instruction inputted in interface, including:
The user is obtained by clicking on the resource adjust instruction that the icon in the interface is inputted.
5. method of adjustment as claimed in claim 4, it is characterised in that the icon is the interface The first icon in interior multiple icons;
The method of adjustment also includes:
Obtain the user and adjusted by clicking on the Secondary resource that the second icon in the multiple icon is inputted Whole instruction;
The handheld device operation application program is reduced according to the Secondary resource adjust instruction to use Stock number.
6. method of adjustment as claimed in claim 4, it is characterised in that the method for adjustment also includes:
The user is obtained by again tapping on the information resources adjust instruction that the icon is inputted;
The handheld device operation application program is reduced according to the information resources adjust instruction to use Stock number.
7. method of adjustment as claimed in claim 3, it is characterised in that the acquisition user is described The resource adjust instruction inputted on interface, including:
Obtain the 4th resource adjust instruction that the user is inputted by interface described in weight;
The resource adjust instruction inputted according to the user increases should described in the handheld device operation The resource used with program, including:
Increase the handheld device operation application program according to the 4th resource adjust instruction to use Stock number to first resource amount.
8. method of adjustment as claimed in claim 7, it is characterised in that the method for adjustment also includes:
Obtain the 5th resource adjust instruction that the user is inputted by interface described in weight again, described the The pressure of the corresponding weight of five resource adjust instructions is more than the corresponding weight of the 4th resource adjust instruction Pressure;
Increase the handheld device operation application program according to the 5th resource adjust instruction to use Stock number to Secondary resource amount, the Secondary resource amount is more than the first resource amount.
9. method of adjustment as claimed in claim 7, it is characterised in that the method for adjustment also includes:
The user is obtained by pressing the 6th resource adjust instruction that the interface is inputted again;
The handheld device operation application program is reduced according to the 6th resource adjust instruction to use Stock number.
10. method of adjustment as claimed in claim 3, it is characterised in that the acquisition user is described The resource adjust instruction inputted on interface, including:
The user is obtained by referring to the resource adjust instruction that button mode operates the interface to input.
11. method of adjustment as claimed in claim 10, it is characterised in that the method for adjustment is also wrapped Include:
Obtain the user operates the 6th resource adjustment of the interface input to refer to by the second finger button mode Order;
The handheld device operation application program is reduced according to the 6th resource adjust instruction to use Stock number.
12. the method for adjustment as any one of claim 1 to 11, it is characterised in that described The handheld device is increased according to the resource adjust instruction and runs the stock number that the application program is used, Including:
The resource adjust instruction inputted according to the user, the hand is increased by following at least one operation Holding equipment runs the stock number that the application program is used:Other applications are temporarily interrupted, by the hand All free memories in holding equipment are used to run the application program, increase the center of the handheld device Processor CPU operation quantity, improves the CPU currently run in the handheld device operation frequency.
13. the method for adjustment as any one of claim 1 to 12, it is characterised in that described Method of adjustment also includes:
At the end of the application program, discharge the handheld device and run the money that the application program is used Source.
14. a kind of handheld device, it is characterised in that including:
Input module, for obtaining the resource adjustment that user inputs in the application program that handheld device is run Instruction;
Power consumption control module, described in adjusting the handheld device operation according to the resource adjust instruction The stock number that application program is used.
15. handheld device as claimed in claim 14, it is characterised in that the input module is specific For:The handheld device is increased according to the resource adjust instruction and runs the money that the application program is used Measure in source.
16. handheld device as claimed in claim 15, it is characterised in that the input module is specific For:Obtain the resource adjust instruction that user inputs in the interface of the application program.
17. handheld device as claimed in claim 16, it is characterised in that the acquisition user is in institute The resource adjust instruction inputted in interface is stated, including:
The user is obtained by clicking on the resource adjust instruction that the icon in the interface is inputted.
18. handheld device as claimed in claim 17, it is characterised in that the icon is the boundary The first icon in multiple icons in face;
The input module is additionally operable to obtain the user by clicking on the second figure in the multiple icon Mark the Secondary resource adjust instruction of input;
The power consumption control module is additionally operable to reduce described hand-held set according to the Secondary resource adjust instruction The stock number that application program described in received shipment row is used.
19. handheld device as claimed in claim 17, it is characterised in that the input module is also used In the acquisition user by again tapping on the information resources adjust instruction that the icon is inputted;
The power consumption control module is additionally operable to reduce described hand-held set according to the information resources adjust instruction The stock number that application program described in received shipment row is used.
20. handheld device as claimed in claim 16, it is characterised in that the input module is specific For obtaining the 4th resource adjust instruction that the user is inputted by interface described in weight;
The power consumption control module is specifically for according to the 4th resource adjust instruction, increasing described hand-held Equipment runs stock number that the application program uses to first resource amount.
21. handheld device as claimed in claim 20, it is characterised in that the input module is also used The 5th resource adjust instruction inputted in the acquisition user by interface described in weight again, the described 5th The pressure of the corresponding weight of resource adjust instruction is more than the corresponding weight of the 4th resource adjust instruction Pressure;
The power consumption control module is additionally operable to hand-held set according to the 5th resource adjust instruction increase is described The stock number that application program described in received shipment row is used to Secondary resource amount, the Secondary resource amount is more than described First resource amount.
22. handheld device as claimed in claim 20, it is characterised in that the input module is also used In the acquisition user by pressing the 6th resource adjust instruction that the interface is inputted again;
The power consumption control module is additionally operable to reduce described hand-held set according to the 6th resource adjust instruction The stock number that application program described in received shipment row is used.
23. handheld device as claimed in claim 16, it is characterised in that the input module is specific For obtaining the user by referring to the resource adjust instruction that button mode operates the interface to input.
24. handheld device as claimed in claim 23, it is characterised in that the input module is also used The 6th resource adjust instruction that the interface is inputted is operated by the second finger button mode in the acquisition user;
The power consumption control module is additionally operable to reduce described hand-held set according to the 6th resource adjust instruction The stock number that application program described in received shipment row is used.
25. the handheld device as any one of claim 1 to 24, it is characterised in that described Power consumption control module specifically for:
The resource adjust instruction inputted according to the user, the hand is increased by following at least one operation Holding equipment runs the stock number that the application program is used:Other applications are temporarily interrupted, by the hand All free memories in holding equipment are used to run the application program, increase the center of the handheld device Processor CPU operation quantity, improves the CPU currently run in the handheld device operation frequency.
26. the handheld device as any one of claim 1 to 25, it is characterised in that described Handheld device also includes process monitoring module, and operation is terminated for monitoring the application program:
The power consumption control module is additionally operable at the end of the monitoring module monitors the application program, release Put the handheld device and run the resource that the application program is used.
CN201610264144.7A 2016-04-26 2016-04-26 The method of adjustment of the stock number of handheld device and the handheld device Pending CN107315635A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610264144.7A CN107315635A (en) 2016-04-26 2016-04-26 The method of adjustment of the stock number of handheld device and the handheld device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610264144.7A CN107315635A (en) 2016-04-26 2016-04-26 The method of adjustment of the stock number of handheld device and the handheld device

Publications (1)

Publication Number Publication Date
CN107315635A true CN107315635A (en) 2017-11-03

Family

ID=60185054

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610264144.7A Pending CN107315635A (en) 2016-04-26 2016-04-26 The method of adjustment of the stock number of handheld device and the handheld device

Country Status (1)

Country Link
CN (1) CN107315635A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109144358A (en) * 2018-06-13 2019-01-04 努比亚技术有限公司 Property regulation method, mobile terminal and computer readable storage medium
CN109542208A (en) * 2018-12-10 2019-03-29 广州知弘科技有限公司 A kind of low power consuming monitoring method based on net about vehicle service
CN112083849A (en) * 2020-09-24 2020-12-15 深圳市艾酷通信软件有限公司 Information display method, device, equipment and medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102510422A (en) * 2011-10-09 2012-06-20 惠州Tcl移动通信有限公司 Mobile terminal and method for regulating operating load thereof
US8305062B2 (en) * 2008-06-13 2012-11-06 Stmicroelectronics S.R.L. Method for controlling a voltage regulator, in particular a converter of the multiphase interleaving type and corresponding controller
CN103218307A (en) * 2013-04-18 2013-07-24 海信集团有限公司 Memory management system and memory management method
CN103226382A (en) * 2012-01-31 2013-07-31 联想(北京)有限公司 Application operating method and electronic device
CN103677995A (en) * 2012-09-24 2014-03-26 联想(北京)有限公司 Control method and electronic equipment
CN104007804A (en) * 2013-02-21 2014-08-27 北京金山安全软件有限公司 Operation method and device of mobile equipment
CN104378484A (en) * 2013-08-15 2015-02-25 联想(北京)有限公司 Volume control method and electronic device
CN106814959A (en) * 2015-11-30 2017-06-09 东莞酷派软件技术有限公司 A kind of U.S. face photographic method, device and terminal

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8305062B2 (en) * 2008-06-13 2012-11-06 Stmicroelectronics S.R.L. Method for controlling a voltage regulator, in particular a converter of the multiphase interleaving type and corresponding controller
CN102510422A (en) * 2011-10-09 2012-06-20 惠州Tcl移动通信有限公司 Mobile terminal and method for regulating operating load thereof
CN103226382A (en) * 2012-01-31 2013-07-31 联想(北京)有限公司 Application operating method and electronic device
CN103677995A (en) * 2012-09-24 2014-03-26 联想(北京)有限公司 Control method and electronic equipment
CN104007804A (en) * 2013-02-21 2014-08-27 北京金山安全软件有限公司 Operation method and device of mobile equipment
CN103218307A (en) * 2013-04-18 2013-07-24 海信集团有限公司 Memory management system and memory management method
CN104378484A (en) * 2013-08-15 2015-02-25 联想(北京)有限公司 Volume control method and electronic device
CN106814959A (en) * 2015-11-30 2017-06-09 东莞酷派软件技术有限公司 A kind of U.S. face photographic method, device and terminal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109144358A (en) * 2018-06-13 2019-01-04 努比亚技术有限公司 Property regulation method, mobile terminal and computer readable storage medium
CN109542208A (en) * 2018-12-10 2019-03-29 广州知弘科技有限公司 A kind of low power consuming monitoring method based on net about vehicle service
CN112083849A (en) * 2020-09-24 2020-12-15 深圳市艾酷通信软件有限公司 Information display method, device, equipment and medium

Similar Documents

Publication Publication Date Title
US8355709B2 (en) Device that determines whether to launch an application locally or remotely as a webapp
CN107111553B (en) System and method for providing dynamic caching extension in more cluster heterogeneous processor frameworks
CN104503889B (en) A kind of information processing method and electronic equipment
CN106776036A (en) A kind of resource allocation methods and device
CN112165140B (en) Charging and discharging control method and device and power supply equipment
CN111158455A (en) Power consumption control method and device, storage medium and terminal
CN103593038B (en) A kind of method and apparatus controlling to apply
CN110381130A (en) The long connection method of keep-alive, device, communication terminal and storage medium
CN107315635A (en) The method of adjustment of the stock number of handheld device and the handheld device
CN107634962A (en) The management method and Related product of network bandwidth
CN111240454B (en) RISC-V based power consumption dynamic adjustment system and method
CN103870331A (en) Dynamic processor core distribution method and electronic equipment
CN106462352A (en) Fingerprint event processing method, apparatus, and terminal
CN107045864A (en) The adjusting method and device of a kind of screen intensity
CN107239345A (en) Data processing method and device
CN107391254B (en) Intelligent terminal, resource allocation method thereof and computer-readable storage medium
CN105208607A (en) Scheduling method and apparatus of network data transmission of terminal, and mobile terminal
CN105828421A (en) Terminal and terminal power saving method
CN109670932A (en) Credit data calculate method, apparatus, system and computer storage medium
CN112764564B (en) Touch information processing method and device, storage medium and electronic equipment
CN108803857A (en) Application software energy consumption monitoring method, mobile terminal and readable storage medium storing program for executing
CN113220106A (en) Power saving control method and power saving control device
CN106776041A (en) A kind of data processing method and device
CN106802828A (en) A kind of application data processing method and equipment
CN113225830A (en) Data network uplink scheduling method and device and electronic 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

Application publication date: 20171103

RJ01 Rejection of invention patent application after publication