CN105022647A - Application installation control method, and terminal - Google Patents

Application installation control method, and terminal Download PDF

Info

Publication number
CN105022647A
CN105022647A CN201510415145.2A CN201510415145A CN105022647A CN 105022647 A CN105022647 A CN 105022647A CN 201510415145 A CN201510415145 A CN 201510415145A CN 105022647 A CN105022647 A CN 105022647A
Authority
CN
China
Prior art keywords
power consumption
terminal
consumption parameter
target devices
intended application
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510415145.2A
Other languages
Chinese (zh)
Other versions
CN105022647B (en
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.)
Shenzhen Jinli Communication Equipment Co Ltd
Original Assignee
Shenzhen Jinli Communication Equipment 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 Shenzhen Jinli Communication Equipment Co Ltd filed Critical Shenzhen Jinli Communication Equipment Co Ltd
Priority to CN201510415145.2A priority Critical patent/CN105022647B/en
Publication of CN105022647A publication Critical patent/CN105022647A/en
Application granted granted Critical
Publication of CN105022647B publication Critical patent/CN105022647B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Power Sources (AREA)

Abstract

Embodiments of the invention disclose an application installation control method, and a terminal. According to the method, when an installation order of a target application is obtained, the installation order is responded so as to determine a target device capable of changing power consumption in the terminal; current power consumption parameters of the target device are obtained; whether the power consumption of the current power consumption parameters of the target device is greater than the power consumption of target power consumption parameters corresponding to the target device is judged; and if yes, the target device is controlled to run under the target power consumption parameters and the target application is installed. Through adoption of the application installation control method and the terminal, the consumption rate of the terminal electricity quantity can be lowered, and the application is installed effectively.

Description

The control method that a kind of application is installed and terminal
Technical field
The present invention relates to electronic technology field, be specifically related to control method and the terminal of a kind of application installation.
Background technology
At present, in the terminal such as smart mobile phone, panel computer, usually various application can be installed, for the life of people, work and amusement offer convenience.In actual applications; for making these application operationally more smooth; terminal can carry out longer precompile consuming time operation usually when mounted, and stores the machine language code of precompile acquisition, makes directly to call machine language code to ensure application during follow-up startup and runs smooth.
Find in practice, the usual power consumption of precompile is more, when other device power consumption of terminal are also large, be easy to the installation affecting application, such as, when the brightness of terminal display screen is crossed bright, meeting power consumption is more, such meeting accelerating terminal electric quantity consumption, easily causes application to complete installation.
Summary of the invention
The control method that a kind of application that the embodiment of the present invention provides is installed and terminal, can reduce power consumption when installing application, effectively complete the installation of application.
The control method that the embodiment of the present invention provides a kind of application to install, comprising:
Obtain the installation instruction of intended application;
Respond described installation instruction, determine the target devices of variable power consumption in terminal;
Obtain the current power consumption parameter of described target devices;
Judge whether the power consumption of the current power consumption parameter of described target devices is greater than the power consumption of target power consumption parameter corresponding to described target devices;
If be greater than, then control described target devices and run under described target power consumption parameter and described intended application is installed.
Correspondingly, the embodiment of the present invention also provides a kind of terminal, comprising:
First acquiring unit, for obtaining the installation instruction of intended application;
Response unit, for responding the installation instruction that described acquiring unit obtains, determines the target devices of variable power consumption in terminal;
Second acquisition unit, for obtaining the current power consumption parameter of described target devices;
Judging unit, whether the power consumption for the current power consumption parameter judging described target devices is greater than the power consumption of target power consumption parameter corresponding to described target devices;
First control module, for when judging to be greater than at described judging unit, controlling described target devices and runs under described target power consumption parameter and install described intended application.
The embodiment of the present invention when obtaining the installation instruction of intended application, can respond this installation instruction, determining the target devices of variable power consumption in terminal; Obtain the current power consumption parameter of this target devices; Judge whether the power consumption of the current power consumption parameter of target devices is greater than the power consumption of target power consumption parameter corresponding to target devices; If be greater than, then control objectives device runs and installs this intended application under this target power consumption parameter, and the embodiment of the present invention can the power consumption parameter of adjustment aim device thus limiting terminal electric quantity consumption speed, effectively completes the installation of application.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, be briefly described to the accompanying drawing used required in embodiment below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of the control method that disclosed in the embodiment of the present invention, a kind of application is installed;
Fig. 2 is the schematic flow sheet of the control method that the disclosed another kind of application of the embodiment of the present invention is installed;
Fig. 3 is the schematic flow sheet of the control method that the embodiment of the present invention another application disclosed is installed;
Fig. 4 is the schematic diagram of the structure of a kind of terminal disclosed in the embodiment of the present invention;
Fig. 5 is the structural representation of another kind of terminal disclosed in the embodiment of the present invention;
Fig. 6 is the structural representation of the embodiment of the present invention another terminal disclosed.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the invention discloses control method and the terminal of a kind of application installation, power consumption when installing application can be reduced, effectively complete the installation of application.Below be described in detail respectively.
Refer to Fig. 1, Fig. 1 is the schematic flow sheet of the control method that disclosed in the embodiment of the present invention, a kind of application is installed.As shown in Figure 1, the control method that this application is installed can comprise the following steps.
S101, terminal obtain the installation instruction of intended application;
In the embodiment of the present invention, terminal can be mobile phone, panel computer, notebook computer, palm PC, mobile internet device, wearable device or other-end etc.; This intended application can for the arbitrary money in life, work or types of entertainment application; The double-click instruction for this intended application or long by instruction etc. that this installation instruction can be inputted by touch screen for user, this installation instruction also can for the triggering command for triggering for this intended application installation kit execution installation procedure.
This installation instruction of S102, terminal response, determines the target devices of variable power consumption in terminal;
In the embodiment of the present invention, this target devices can be CPU, LCD display, Double Data Rate synchronous DRAM DDR etc., these target devices all can carry out by arranging different parameters the electricity that adjusting device consumes in the unit interval, thus can adjust the spending rate of terminal power.
In the embodiment of the present invention, this installation instruction of terminal response, determine that the target devices of variable power consumption in terminal can specifically comprise the following steps:
11) this installation instruction of terminal response, determines the current device enabled in terminal;
12) terminal determines the target devices of variable power consumption from device.
For example, terminal is by step 11) to determine in terminal that the current device enabled is CPU and LCD display and peripheral earphone, by step 12) therefrom determine that the target devices of variable power consumption is CPU and LCD, and then step S103 to S106 can be performed respectively for target devices CPU and LCD.
S103, terminal obtain the current power consumption parameter of this target devices;
In the embodiment of the present invention, current power consumption parameter refers to the parameter relevant to device power consumption of target devices current setting, and for example, the current power consumption parameter of LCD display can be the brightness value of LCD display current setting.
Whether the power consumption of the current power consumption parameter of S104, terminal judges target devices is greater than the power consumption of target power consumption parameter corresponding to target devices; If be greater than, then continue to perform step S105, if be not more than, then directly perform step S106.
In the embodiment of the present invention, power consumption parameter storehouse comprises each parameter relevant to power consumption such as the different brightness values of LCD display, different refreshing frequencys.Wherein, the power consumption parameter that target power consumption parameter to be terminal be power consumption that target devices presets is lower, or this target devices user-defined installs in application the power consumption parameter that electricity has the best had in limited time.
This target devices of S105, terminal control runs under this target power consumption parameter;
S106, terminal install this intended application.
For example, terminal obtains the current power consumption parameter of this target devices can be the present intensity value of terminal acquisition LCD display; Then, whether the power consumption of the present intensity value of this LCD display of terminal judges is greater than the power consumption of target brightness value, if be greater than, then step S105 can be performed, control this LCD display run with this target brightness value and install this intended application, wherein, this target brightness value is target power consumption parameter.
In the embodiment of the present invention, the parameter relevant to power consumption that target devices is corresponding can have multiple, if when having multiple current power consumption parameter, terminal can obtain the target power consumption parameter corresponding to the plurality of current power consumption parameter in advance from power consumption parameter storehouse.
In the embodiment of the present invention, if in step S104, the power consumption that terminal judges goes out current power consumption parameter is not more than the power consumption of target power consumption parameter, then can directly install this intended application.
In the method described by Fig. 1, terminal can when obtaining the installation instruction of intended application, respond this installation instruction, determine the target devices of variable power consumption in terminal, and then obtain the current power consumption parameter of this target devices, and judge whether the power consumption of the current power consumption parameter of target devices is greater than the power consumption of target power consumption parameter corresponding to target devices, if be greater than, then can run under this target power consumption parameter by control objectives device, and this intended application is installed.Visible, can the spending rate of control terminal electricity in the method described by Fig. 1, thus effectively can complete the installation of application.
Refer to Fig. 2, Fig. 2 is the schematic flow sheet of the control method that the disclosed another kind of application of the embodiment of the present invention is installed.As shown in Figure 2, the control method that this application is installed can comprise the following steps.
S201, terminal obtain the installation instruction of intended application;
In the embodiment of the present invention, terminal can be mobile phone, panel computer, notebook computer, palm PC, mobile internet device, wearable device or other-end etc.; This intended application can for the arbitrary money in life, work or types of entertainment application; The double-click instruction for this intended application or long by instruction etc. that this installation instruction can be inputted by touch screen for user, this installation instruction also for obtaining this intended application installation kit for triggering, can perform the triggering command of installation procedure.
This installation instruction of S202, terminal response, the current external equipment enabled of sense terminals;
Connectivity port between S203, terminal control terminal and the external equipment that detects is in off-state;
In the embodiment of the present invention, this off-state can comprise this connectivity port be in lowest power consumption standby, idle, close or the state such as dormancy.
In the embodiment of the present invention, external equipment can be any one or more in sensor, mouse and each extended products, because terminal scarcely needs the sensor such as gravity sensor, temperature sensor when installation targets is applied, each extended products such as earphone, mouse, therefore, step S202, S203 can the spending rates of further control terminal electricity.
In the embodiment of the present invention, the external equipment that step S202 detects also can be set in by user is self-defined in advance the external equipment preferentially can closing connectivity port when installation is applied or reduces electric quantity consumption speed, correspondingly, step S202 can be: this installation instruction of terminal response, the external equipment preset in sense terminals.
The target devices of variable power consumption in S204, terminal determination terminal;
S205, terminal obtain the current power consumption parameter of target devices;
Whether the power consumption of the current power consumption parameter of S206, terminal judges target devices is greater than the power consumption of target power consumption parameter corresponding to target devices; If be greater than, then perform step S207, otherwise, directly perform step S208;
S207, terminal control target devices run under target power consumption parameter;
S208, terminal install this intended application.
Wherein, the elaboration of step S204 to S208 with reference to the step S103 to S106 in foregoing invention embodiment, no longer can be described in detail here.
In the method described by Fig. 2, terminal can when the installation instruction getting intended application, respond this installation instruction, the current external equipment enabled of sense terminals, and the connectivity port between control terminal and the external equipment that detects is in off-state, and then when the power consumption of the target devices and current power consumption parameter of determining variable power consumption in terminal is greater than the power consumption of target power consumption parameter, control objectives device runs and installs this intended application under this target power consumption parameter.Visible, the spending rate of electricity can be reduced in the method described by Fig. 2 from target devices two aspect of external equipment and variable power consumption, thus effectively can complete the installation of intended application.
Refer to Fig. 3, Fig. 3 is the schematic flow sheet of the control method that the embodiment of the present invention another application disclosed is installed, compared with the control method of installing with the application described by Fig. 1, Fig. 2, Fig. 3 can after intended application installation, perform corresponding operation to recover the state before the application of terminal installation targets, particularly, can see the detailed description of following composition graphs 3.
S301, terminal obtain the installation instruction of intended application;
In the embodiment of the present invention, terminal can be mobile phone, panel computer, notebook computer, palm PC, mobile internet device, wearable device or other-end etc.; This intended application can for the arbitrary money in life, work or types of entertainment application; The double-click instruction for this intended application or long by instruction etc. that this installation instruction can be inputted by touch screen for user, this installation instruction also for obtaining this intended application installation kit for triggering, can perform the triggering command of installation procedure.
This installation instruction of S302, terminal response, the current external equipment enabled of sense terminals;
The external equipment detected described in S303, terminal storage be identified in described presetting database;
Connectivity port between S304, terminal control terminal and the external equipment that detects is in off-state;
In the embodiment of the present invention, this off-state can comprise this connectivity port be in lowest power consumption standby, idle, close or the state such as dormancy.
In the embodiment of the present invention, external equipment can comprise any one or more in sensor, mouse and each extended products, owing to scarcely needing the sensor such as gravity sensor, temperature sensor when terminal installation targets is applied, each extended products such as earphone, mouse, therefore, can the spending rate of further control terminal electricity by step S302 to S304.
The target devices of variable power consumption in S305, terminal determination terminal;
S306, terminal obtain the current power consumption parameter of target devices;
The current power consumption parameter of acquisition is stored in presetting database as initial power consumption parameter by S307, terminal;
Whether the power consumption of the current power consumption parameter of S308, terminal judges target devices is greater than the power consumption of target power consumption parameter corresponding to target devices; If be greater than, then perform step S309, otherwise, directly perform step S310;
S309, terminal control target devices run under target power consumption parameter;
S310, terminal install this intended application;
In the embodiment of the present invention, the content of step S305 to S310 see the step S103 to S106 in foregoing invention embodiment, no longer can describe in detail here.
Whether S311, terminal detect installation targets application; If detect and install this intended application, then perform step S312, if do not detect, then continue the detection operation performing this step;
S312, terminal read the mark of storage from presetting database;
In the embodiment of the present invention, the symbol being designated external equipment corresponding stored in presetting database represents, such as, the filename that the mark that earphone is corresponding can map in terminal operating system for earphone, the sensor sequence number that the mark that sensor is corresponding can have for terminal.
Connectivity port between the external equipment that S313, terminal control terminal are corresponding with read mark is in running order;
For example, if the connectivity port between terminal and gravity sensor controls in off-state by step S304, then after intended application installation, by step S313, this connectivity port is controlled in working order.
S314, terminal read initial power consumption parameter from presetting database;
S315, terminal control target devices run under this initial power consumption parameter.
For example, if terminal makes LCD display run with lower brightness value B by step S305 to S309, then after intended application installation, by step S313 and S314 make LCD display with intended application install before store initial power consumption parameter---brightness value A runs.
In the method described by Fig. 3, terminal, when the installation instruction getting intended application, can respond this installation instruction, the current external equipment enabled of sense terminals, and the connectivity port between control terminal and the external equipment that detects is in off-state; In addition, determine the target devices of variable power consumption in terminal, and obtain the current power consumption parameter of target devices, and then judge whether the power consumption of current power consumption parameter of target devices is greater than the power consumption of target power consumption parameter corresponding to target devices, if be greater than, then can run under this target power consumption parameter and this intended application be installed by control objectives device.In addition, terminal can also when detecting this intended application installation, the mark of storage is read from presetting database, in running order with the connectivity port between the external equipment that control terminal is corresponding with this mark, also from presetting database, read initial power consumption parameter, run under this initial power consumption parameter with control objectives device.Visible, the embodiment of the present invention not only can slow down when applying and installing the spending rate of terminal power, and when applying installation, can recover the connectivity port of each external equipment of terminal and the running status of device, thus improving the operating experience of user.
Refer to Fig. 4, Fig. 4 is the structural representation of a kind of terminal disclosed in the embodiment of the present invention.Terminal shown in Fig. 4 can comprise:
First acquiring unit 401, for obtaining the installation instruction of intended application;
Response unit 402, for responding the installation instruction that the first acquiring unit 401 obtains, determines the target devices of variable power consumption in terminal;
Second acquisition unit 403, for obtaining the current power consumption parameter of target devices;
Judging unit 404, whether the power consumption for the current power consumption parameter judging target devices is greater than the power consumption of target power consumption parameter corresponding to target devices;
First control module 405, for when judging unit 404 is judged to be greater than, control objectives device runs and installation targets application under target power consumption parameter.
In the embodiment of the present invention, this intended application can for the arbitrary money in life, work or types of entertainment application; The double-click instruction for this intended application or long by instruction etc. that this installation instruction can be inputted by touch screen for user, this installation instruction also can for the triggering command for triggering for this intended application installation kit execution installation procedure.
In the embodiment of the present invention, this target devices can be CPU, LCD display, Double Data Rate synchronous DRAM DDR etc., these target devices all can carry out by arranging different parameters the electricity that adjusting device consumes in the unit interval, thus can adjust the spending rate of terminal power.
In the embodiment of the present invention, current power consumption parameter refers to the parameter relevant to device power consumption of target devices current setting, and for example, the current power consumption parameter of LCD display can be the brightness value of LCD display current setting.
In the embodiment of the present invention, LCD display has each parameter relevant to power consumption such as different brightness value, different refreshing frequencys.
For example, terminal obtains the current power consumption parameter of this target devices can be the present intensity value of terminal acquisition LCD display; Then, whether this current brightness value of terminal judges is greater than the target brightness value of this LCD display, if be greater than, then this target brightness value is target power consumption parameter, and the first control module 405 can control this LCD display and runs with this target brightness value and install this intended application.
In the embodiment of the present invention, the parameter relevant to power consumption that target devices is corresponding can have multiple, if when having multiple current power consumption parameter, can obtain the target power consumption parameter corresponding to the plurality of current power consumption parameter from power consumption parameter storehouse.
In the embodiment of the present invention, if judging unit 404 judges that the power consumption of current power consumption parameter is not more than the power consumption of the target power consumption parameter of the correspondence of this target devices, then directly can trigger the first control module 405 and this intended application is installed.
See also Fig. 5, Fig. 5 is the structural representation of another kind of terminal disclosed in the embodiment of the present invention.Wherein, the terminal shown in Fig. 5 is that terminal is as shown in Figure 4 optimized and obtains.Compared with the terminal shown in Fig. 4, the terminal shown in Fig. 5 can also comprise:
First detecting unit 406, for the current external equipment enabled of sense terminals;
Second control module 407, is in off-state for the connectivity port between the external equipment that control terminal and the first detecting unit detect.
In the embodiment of the present invention, this off-state can comprise this connectivity port be in lowest power consumption standby, idle, close or the state such as dormancy.
Accordingly, first detecting unit 406 can respond the installation instruction that the first acquiring unit 401 obtains, the current external equipment enabled of sense terminals, and the connectivity port of triggering between external equipment that the second control module 407 control terminal and the first detecting unit 406 detect is in off-state, further, second control module 407 can trigger response unit 402 and also respond this installation instruction, determines the target devices of variable power consumption in terminal; And then run under target power consumption parameter by second acquisition unit 403, judging unit 404 and the first control module 405 control objectives device and this intended application is installed.
In the embodiment of the present invention, external equipment can be any one or more in sensor, mouse and each extended products, because terminal scarcely needs the sensor such as gravity sensor, temperature sensor when installation targets is applied, each extended products such as earphone, mouse, therefore, the first detecting unit 406, second control module 407 can the spending rate of further control terminal electricity.
In the embodiment of the present invention, the external equipment that first detecting unit 406 detects also can be set in the external equipment that preferentially can disconnect port when installation is applied or reduces electric quantity consumption speed by user is self-defined in advance, correspondingly, first detecting unit 406 specifically can respond this installation instruction, the external equipment preset in sense terminals.
In the embodiment of the present invention, the terminal shown in Fig. 5 can also comprise:
First storage unit 408, for when judging unit 404 judges that the power consumption of current power consumption parameter is greater than the power consumption of target power consumption parameter, the current power consumption parameter obtained by second acquisition unit 403 is stored in presetting database as initial power consumption parameter.
Second storage unit 409, for when judging unit 404 judges that the power consumption of current power consumption parameter is greater than the power consumption of target power consumption parameter, stores being identified in presetting database of the external equipment of the first detecting unit 406 detection.
Correspondingly, the terminal shown in Fig. 5 can also comprise:
Whether second detecting unit 410, during for running also installation targets application under target power consumption parameter value at the first control module 405 control objectives device, detect installation targets application;
First reading unit 411, when installing this intended application for detecting at the second detecting unit 410, reads initial power consumption parameter from presetting database;
3rd control module 412, runs under the initial power consumption parameter read at the first reading unit 411 for control objectives device;
Second reading unit 413, during for detecting installation targets application at the second detecting unit 410, reads the mark of storage from presetting database;
4th control module 414, in running order for the connectivity port between the external equipment that control terminal is corresponding with the mark that the second reading unit 413 reads.
In the embodiment of the present invention, the symbol being designated external equipment corresponding stored in presetting database represents, such as, the filename that the mark that earphone is corresponding can map in terminal operating system for earphone, the sensor sequence number that the mark that sensor is corresponding can have for terminal.
For example, if the connectivity port between terminal and gravity sensor controls in off-state by the second control module 407, then after intended application installation, by the 4th control module 414, this connectivity port can be controlled in working order.
For example, if terminal makes LCD display run with lower brightness value B by the first control module 405, then after intended application installation, by the 3rd control module 412 make LCD display with intended application install before store initial power consumption parameter---brightness value A runs.
In the embodiment of the present invention, in the terminal shown in Fig. 5, response unit 402 can comprise:
Device determining unit 4021, for determining the current device enabled in terminal;
Target determination unit 4022, for determining the target devices of variable power consumption in the device determined from device determining unit 4021.
For example, by device determining unit 4021, terminal can to determine in terminal that the current device enabled is CPU and LCD display and peripheral earphone, therefrom determine that the target devices of variable power consumption is CPU and LCD by target determination unit 4022.
In terminal shown in Fig. 4 and Fig. 5, first acquiring unit can when obtaining the installation instruction of intended application, trigger response unit and respond this installation instruction, determine the target devices of variable power consumption in terminal, and then the current power consumption parameter of this target devices is obtained by second acquisition unit, and judge whether the power consumption of current power consumption parameter is greater than the power consumption of target power consumption parameter by judging unit, if be greater than, then can be run under target power consumption parameter by the first control module control objectives device, and this intended application is installed.Visible, the terminal described by Fig. 4 and Fig. 5 can the spending rate of control terminal electricity, thus effectively can complete the installation of application.Further, in terminal shown in Fig. 5, second detecting unit can when detecting this intended application installation, trigger the mark that the second reading unit reads storage from presetting database, in running order with the connectivity port controlled between the control terminal external equipment corresponding with this mark by the 4th, the first reading unit can also be triggered from presetting database, read initial power consumption parameter, to be run under this initial power consumption parameter by the 3rd control module control objectives device.Visible, the terminal shown in Fig. 5 not only can slow down when applying and installing the spending rate of terminal power, and when applying installation, can recover the connectivity port of each external equipment of terminal and the running status of device, thus improving the operating experience of user.
Refer to Fig. 6, Fig. 6 is the structural representation of the embodiment of the present invention another terminal disclosed.As shown in Figure 6, this terminal can comprise at least one processor 501, such as CPU, input media 502, storer 503, at least one communication bus 504, output unit 505.Wherein, communication bus 504 is for realizing the communication connection between these assemblies.Storer 503 can be high-speed RAM storer, also can be non-labile storer (non-volatile memory), such as at least one magnetic disk memory.Storer 503 can also be optionally that at least one is positioned at the memory storage away from aforementioned processor 501.Wherein, processor 501 can composition graphs 4 and the terminal described by Fig. 5, stores batch processing code in storer 503, and processor 501 calls the program code stored in storer 503, for performing following operation:
The installation instruction of intended application is obtained by input media 502;
Respond this installation instruction, determine the target devices of variable power consumption in terminal;
Obtain the current power consumption parameter of this target devices;
Judge whether the power consumption of the current power consumption parameter of target devices is greater than the power consumption of target power consumption parameter corresponding to target devices;
If be greater than, then control objectives device runs and installation targets application under target power consumption parameter.
In the embodiment of the present invention, this intended application can for the arbitrary money in life, work or types of entertainment application; The double-click instruction for this intended application or long by instruction etc. that this installation instruction can be inputted by touch screen for user, this installation instruction also can for the triggering command for triggering for this intended application installation kit execution installation procedure.
In the embodiment of the present invention, this target devices can be output unit 505, such as CPU, LCD display, Double Data Rate synchronous DRAM DDR etc., these target devices all can carry out by arranging different parameters the electricity that adjusting device consumes in the unit interval, thus can adjust the spending rate of terminal power.
In the embodiment of the present invention, current power consumption parameter refers to the parameter relevant to device power consumption of target devices current setting, and for example, the current power consumption parameter of LCD display can be the brightness value of LCD display current setting.
In the embodiment of the present invention, LCD display has each parameter relevant to power consumption such as different brightness value, different refreshing frequencys.
For example, terminal obtains the current power consumption parameter of this target devices can be the present intensity value of terminal acquisition LCD display; Then, whether the power consumption of this LCD display present intensity value of terminal judges is greater than the power consumption of the target brightness value of this LCD display, if be greater than, then this target brightness value is target power consumption parameter, and processor 501 can control this LCD display and runs with this target brightness value and install this intended application.
In the embodiment of the present invention, the parameter relevant to power consumption that target devices is corresponding can have multiple, if when having multiple current power consumption parameter, can be lower and the target power consumption parameter of power consumption parameter as this target devices of Consumer's Experience can not be affected from the plurality of current power consumption Selecting parameter power consumption.
In the embodiment of the present invention, if when processor 501 judges that the power consumption of current power consumption parameter is not more than the power consumption of target power consumption parameter, then this intended application can be directly installed.
In the embodiment of the present invention, processor 501 calls the program code in storer 503, and response is installed after instruction, and before the target devices determining variable power consumption in terminal, can perform following operation:
The current external equipment enabled of sense terminals;
Connectivity port between the external equipment of control terminal and detection is in off-state.
In the embodiment of the present invention, this off-state can comprise this connectivity port be in lowest power consumption standby, idle, close or the state such as dormancy.
In the embodiment of the present invention, external equipment can be any one or more in sensor, mouse and each extended products, because terminal scarcely needs the sensor such as gravity sensor, temperature sensor when installation targets is applied, each extended products such as earphone, mouse, therefore, this embodiment can the spending rate of further control terminal electricity.
In the embodiment of the present invention, processor 501 calls the program code in storer 503, if judge, the power consumption of the current power consumption parameter of target devices is greater than the power consumption of target power consumption parameter corresponding to described target devices, then before the described target devices of described control runs and installs described intended application under described target power consumption parameter value, following operation can be performed:
The current power consumption parameter of acquisition is stored in presetting database as initial power consumption parameter.
In the embodiment of the present invention, processor 501 calls the program code in storer 503, after the current external equipment enabled of sense terminals, and before the connectivity port between the external equipment of control terminal and detection is in off-state, can perform following operation:
Store being identified in presetting database of the external equipment detected.
In the embodiment of the present invention, the symbol being designated external equipment corresponding stored in presetting database represents, such as, the filename that the mark that earphone is corresponding can map in terminal operating system for earphone, the sensor sequence number that the mark that sensor is corresponding can have for terminal.
In the embodiment of the present invention, processor 501 calls the program code in storer 503, and control objectives device runs and after installation targets application, can perform following operation under target power consumption parameter value:
Detect whether installation targets application;
If installation targets application, then read initial power consumption parameter from presetting database;
Control objectives device runs under initial power consumption parameter.
For example, if processor 501 makes LCD display run with lower brightness value B, then after intended application installation, processor 501 can make LCD display with intended application install before store initial power consumption parameter---brightness value A runs.
In the embodiment of the present invention, processor 501 calls the program code in storer 503, if after installation targets has been applied, and read described initial power consumption parameter from presetting database before, can perform following operation:
The mark of described storage is read from presetting database;
Connectivity port between the external equipment that control terminal is corresponding with this mark is in running order.
In the embodiment of the present invention, processor 501 calls the program code in storer 503, determines the target devices of variable power consumption in terminal, can specifically perform following operation:
Determine the current device enabled in terminal;
The target devices of variable power consumption is determined from device.
In terminal shown in Fig. 6, processor can when obtaining the installation instruction of intended application, respond this installation instruction, determine the target devices of variable power consumption in terminal, and then obtain the current power consumption parameter of this target devices, and judge whether the power consumption of current power consumption parameter is greater than the power consumption of target power consumption parameter, if be greater than, then can run under target power consumption parameter by control objectives device, and this intended application is installed.Further, in terminal shown in Fig. 6, processor can when detecting this intended application installation, the mark of storage is read from presetting database, in running order with the connectivity port between the external equipment that control terminal is corresponding with this mark, initial power consumption parameter can also be read from presetting database, run under this initial power consumption parameter with control objectives device.Visible, the terminal shown in Fig. 6 not only can slow down when applying and installing the spending rate of terminal power, and when applying installation, can recover the connectivity port of each external equipment of terminal and the running status of device, thus improving the operating experience of user.
Concrete, the part or all of flow process in the control method embodiment that the application that the terminal introduced in the present embodiment can be implemented to introduce in composition graphs 1 to Fig. 3 of the present invention is installed.
Step in embodiment of the present invention method can be carried out order according to actual needs and be adjusted, merges and delete.
Unit in embodiment of the present invention terminal or equipment or subelement can carry out merging, divide and deleting according to actual needs.
It should be noted that, " first ", " second ", " the 3rd ", " the 4th " etc. only for differentiation each other, but not represent they significance level and order etc.Herein, " the first control module ", " the second control module " etc. are for distinguishing different control operations, and not representing them has different types; The different elements for distinguishing acquisition such as " the first acquiring unit ", " second acquisition unit ", not representing them has different types; " the first detecting unit ", " the second detecting unit " etc. operate for distinguishing detection the different elements detected, and do not represent them and have different types.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment can carry out the device-dependent hardware of command terminal by program to have come, this program can be stored in a computer-readable recording medium, storage medium can comprise: flash disk, ROM (read-only memory) (Read-OnlyMemory, ROM), random access device (Random Access Memory, RAM), disk or CD etc.
Above the control method and terminal that the embodiment of the invention discloses a kind of application installation are described in detail, apply specific case herein to set forth principle of the present invention and embodiment, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (10)

1. apply a control method for installation, it is characterized in that, comprising:
Obtain the installation instruction of intended application;
Respond described installation instruction, determine the target devices of variable power consumption in terminal;
Obtain the current power consumption parameter of described target devices;
The target power consumption parameter that described in inquiry power consumption parameter storehouse, target devices is corresponding;
Judge whether the power consumption of the current power consumption parameter of described target devices is greater than the power consumption of target power consumption parameter corresponding to described target devices;
If be greater than, then control described target devices and run under described target power consumption parameter and described intended application is installed.
2. control method according to claim 1, is characterized in that, after the described installation instruction of described response, and before the target devices determining variable power consumption in terminal, described method also comprises:
The current external equipment enabled of sense terminals;
Connectivity port between the external equipment controlling described terminal and described detection is in off-state.
3. control method according to claim 2, it is characterized in that, if judge, the power consumption of the current power consumption parameter of described target devices is greater than the power consumption of target power consumption parameter corresponding to described target devices, then before the described target devices of control runs and installs described intended application under described target power consumption parameter value, described method also comprises:
The described current power consumption parameter obtained is stored in presetting database as initial power consumption parameter.
4. control method according to claim 3, is characterized in that, the described target devices of described control runs under described target power consumption parameter value and after installing described intended application, described method also comprises:
Detect and whether described intended application has been installed;
If installed described intended application, then from described presetting database, read described initial power consumption parameter;
Control described target devices to run under described initial power consumption parameter.
5. control method according to claim 4, is characterized in that, after the current external equipment enabled of described sense terminals, and before the connectivity port between the external equipment of control terminal and described detection is in off-state, described method also comprises:
What store the external equipment of described detection is identified in described presetting database;
Described detect described intended application is installed after, and read described initial power consumption parameter from described presetting database before, described method also comprises:
The mark of described storage is read from described presetting database;
The connectivity port controlled between the described terminal external equipment corresponding with described mark is in running order.
6. a terminal, is characterized in that, comprising:
First acquiring unit, for obtaining the installation instruction of intended application;
Response unit, for responding the installation instruction that described first acquiring unit obtains, determines the target devices of variable power consumption in terminal;
Second acquisition unit, for obtaining the current power consumption parameter of described target devices;
Judging unit, whether the power consumption for the current power consumption parameter judging described target devices is greater than the power consumption of target power consumption parameter corresponding to described target devices;
First control module, for when described judging unit is judged to be greater than, controls described target devices and runs under described target power consumption parameter and install described intended application.
7. terminal according to claim 6, is characterized in that, described terminal also comprises:
First detecting unit, for detecting the current external equipment enabled of described terminal;
Second control module, is in off-state for the connectivity port controlled between described terminal and described external equipment.
8. terminal according to claim 7, is characterized in that, described terminal also comprises:
First storage unit, when power consumption for the current power consumption parameter judging described target devices at described judging unit is greater than the power consumption of target power consumption parameter corresponding to described target devices, the described current power consumption parameter obtained by described second acquisition unit is stored in presetting database as initial power consumption parameter.
9. terminal according to claim 8, is characterized in that, described terminal also comprises:
Second detecting unit, runs for controlling described target devices at described first control module and after installing described intended application, detects whether installed described intended application under described target power consumption parameter value;
First reading unit, when installing described intended application for detecting at described second detecting unit, reads described initial power consumption parameter from described presetting database;
3rd control module, runs under the initial power consumption parameter of described first reading unit reading for controlling described target devices.
10. terminal according to claim 9, is characterized in that, described terminal also comprises:
Second storage unit, for store described first detecting unit detect external equipment be identified in described presetting database;
Second reading unit, after detecting at described second detecting unit described intended application be installed, and before described first reading unit reads described initial power consumption parameter from described presetting database, from described presetting database, read the mark of described storage;
4th control module, in running order for the connectivity port controlled between the described terminal external equipment corresponding with the mark that described second reading unit reads.
CN201510415145.2A 2015-07-15 2015-07-15 A kind of control method and terminal of application installation Expired - Fee Related CN105022647B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510415145.2A CN105022647B (en) 2015-07-15 2015-07-15 A kind of control method and terminal of application installation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510415145.2A CN105022647B (en) 2015-07-15 2015-07-15 A kind of control method and terminal of application installation

Publications (2)

Publication Number Publication Date
CN105022647A true CN105022647A (en) 2015-11-04
CN105022647B CN105022647B (en) 2019-05-14

Family

ID=54412637

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510415145.2A Expired - Fee Related CN105022647B (en) 2015-07-15 2015-07-15 A kind of control method and terminal of application installation

Country Status (1)

Country Link
CN (1) CN105022647B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109274804A (en) * 2018-09-27 2019-01-25 英望科技(深圳)有限公司 A kind of mobile telephone power consumption analysis system and method
WO2021129489A1 (en) * 2019-12-24 2021-07-01 Oppo广东移动通信有限公司 Application precompiling method and apparatus, electronic device, and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102819313A (en) * 2012-07-17 2012-12-12 腾讯科技(深圳)有限公司 Operating method of terminal equipment and terminal equipment
CN103631359A (en) * 2013-11-15 2014-03-12 联想(北京)有限公司 Information processing method and electronic equipment
CN103729052A (en) * 2013-12-31 2014-04-16 贝壳网际(北京)安全技术有限公司 Processing method and system for power consumption of application program and mobile terminal
CN104572218A (en) * 2015-01-28 2015-04-29 宇龙计算机通信科技(深圳)有限公司 Application operation control method and system and terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102819313A (en) * 2012-07-17 2012-12-12 腾讯科技(深圳)有限公司 Operating method of terminal equipment and terminal equipment
CN103631359A (en) * 2013-11-15 2014-03-12 联想(北京)有限公司 Information processing method and electronic equipment
CN103729052A (en) * 2013-12-31 2014-04-16 贝壳网际(北京)安全技术有限公司 Processing method and system for power consumption of application program and mobile terminal
CN104572218A (en) * 2015-01-28 2015-04-29 宇龙计算机通信科技(深圳)有限公司 Application operation control method and system and terminal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109274804A (en) * 2018-09-27 2019-01-25 英望科技(深圳)有限公司 A kind of mobile telephone power consumption analysis system and method
CN109274804B (en) * 2018-09-27 2021-09-14 英望科技(深圳)有限公司 System and method for analyzing power consumption of mobile phone
WO2021129489A1 (en) * 2019-12-24 2021-07-01 Oppo广东移动通信有限公司 Application precompiling method and apparatus, electronic device, and storage medium

Also Published As

Publication number Publication date
CN105022647B (en) 2019-05-14

Similar Documents

Publication Publication Date Title
CN106775425B (en) A kind of terminal and its function button display methods
CN106507445B (en) Wireless fidelity Wi-Fi scanning method and mobile terminal
CN104460935A (en) Information processing method and electronic equipment
CN104618588A (en) Method for regulating terminal screen brightness
CN103050097B (en) Method and device for regulating brightness of backlight lamp
CN103631359A (en) Information processing method and electronic equipment
CN105159530A (en) Application display object switching method and apparatus
CN103430151A (en) Method and apparatus for configuring resource
CN103309575B (en) The method of display icon and terminal
CN103092551B (en) The method of adjustment display effect and device
CN104536643A (en) Icon dragging method and terminal
CN104850321A (en) Terminal
CN104850398A (en) Control method for terminal screen
CN105528171A (en) Method and system for quickly starting application of intelligent terminal, and intelligent terminal
CN104750358A (en) Terminal
CN105183314A (en) Bright screen duration adjustment method and mobile terminal
CN103294583A (en) Terminal screen control method and mobile terminal
CN105068838A (en) Information processing method and electronic device
CN105744034A (en) Screen brightness output method and device
CN105022647A (en) Application installation control method, and terminal
CN105022633A (en) Solving method of hotkey conflict and terminal
CN105549857B (en) A kind of control method and electric terminal of electric terminal
WO2015181830A1 (en) User account switching interface
CN107291213B (en) Mode selection method, device, terminal and computer readable storage medium
CN106775296B (en) Terminal control method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190514

Termination date: 20200715