CN104991634A - Terminal control method and device - Google Patents

Terminal control method and device Download PDF

Info

Publication number
CN104991634A
CN104991634A CN201510428700.5A CN201510428700A CN104991634A CN 104991634 A CN104991634 A CN 104991634A CN 201510428700 A CN201510428700 A CN 201510428700A CN 104991634 A CN104991634 A CN 104991634A
Authority
CN
China
Prior art keywords
terminal
described terminal
electric quantity
default
residual electric
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
CN201510428700.5A
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.)
Beijing Xiaomi Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510428700.5A priority Critical patent/CN104991634A/en
Publication of CN104991634A publication Critical patent/CN104991634A/en
Pending legal-status Critical Current

Links

Abstract

The invention relates to a terminal control method and device The method comprises: when charging a terminal, acquiring a residual electric quantity value of the terminal; determining a size relation between the residual electric quantity value of the terminal and a pre-set maximum residual electric quantity value; and when the residual electric quantity value is equal to greater than the pre-set maximum residual electric quantity value, controlling the terminal to be switched off. By virtue of the technical scheme, when the residual electric quantity value of the terminal is equal to greater than the pre-set maximum residual electric quantity value, the terminal can be automatically switched off, so that a phenomenon that the electric quantity of the terminal is wasted by application programs which are operated at a background after charging is avoided, and furthermore, the electric quantity of the terminal is saved and the use experience of users is improved.

Description

Terminal control method and device
Technical field
The disclosure relates to field of terminal technology, particularly relates to a kind of terminal control method and device.
Background technology
Existing charging behavior after the filling, can end charging, if do not pull up charger, just charges once again to a certain extent at electric quantity consumption.Like this, after being full of electricity, also have consumption, cause the waste of electricity.
Summary of the invention
Disclosure embodiment provides a kind of terminal control method and device, comprises following technical scheme:
According to the first aspect of disclosure embodiment, a kind of terminal control method is provided, comprises:
When described terminal charge, obtain the residual electric quantity of described terminal;
Judge the magnitude relationship between the residual electric quantity of described terminal and default maximum residual charge value;
When described residual electric quantity is equal to or greater than default maximum residual charge value, controls described terminal and close.
In one embodiment, when described terminal charge, before obtaining the residual electric quantity of described terminal, described method also comprises:
Judge whether described terminal is open at the function controlling the closedown of described terminal when described residual electric quantity is equal to or greater than default maximum residual charge value;
When opening described function, performing when described terminal charge, obtaining the step of the residual electric quantity of described terminal.
In one embodiment, the residual electric quantity of described acquisition terminal, comprising:
Obtain the charging complete state that described terminal is broadcasted when charging complete;
Described when described residual electric quantity equals default maximum residual charge value, control described terminal and close, comprising:
After getting described charging complete state, control described terminal and close.
In one embodiment, before the described terminal of control is closed, described method also comprises:
Judge whether current time is in the first preset time period;
When described current time is in the first preset time period, perform the step controlling described terminal and close.
In one embodiment, before the described terminal of control is closed, described method also comprises:
Judge in the second preset time period before current time, whether the CPU usage whether described terminal uses default application program or use the duration of default application program whether to be more than or equal to preset duration or described terminal is more than or equal to default occupancy;
When described terminal uses the CPU usage presetting application program or use the duration of default application program to be more than or equal to preset duration or described terminal to be more than or equal to default occupancy, perform the step controlling described terminal and close.
In one embodiment, described method also comprises:
When described residual electric quantity is less than default maximum residual charge value, automatically terminate at least one application process of described terminal, make the power consumption in the unit interval of described terminal be less than default power consumption.
According to the second aspect of disclosure embodiment, a kind of terminal control mechanism is provided, comprises:
Acquisition module, for when described terminal charge, obtains the residual electric quantity of described terminal;
Judge module, for judging the magnitude relationship between the residual electric quantity of described terminal and default maximum residual charge value;
Closing module, during for being equal to or greater than default maximum residual charge value in described residual electric quantity, controlling described terminal and closes.
In one embodiment, described device also comprises:
First judge module, for judging whether described terminal is open at the function controlling the closedown of described terminal when described residual electric quantity is equal to or greater than default maximum residual charge value;
First trigger module, for when opening described function, triggers described acquisition module.
In one embodiment, described acquisition module comprises:
State obtains submodule, for obtaining the charging complete state that described terminal is broadcasted when charging complete;
Described closing module comprises:
Close closed submodule, for after getting described charging complete state, control described terminal and close.
In one embodiment, described device also comprises:
Second judge module, for judging whether current time is in the first preset time period;
Second trigger module, for when described current time is in the first preset time period, triggers described closing module.
In one embodiment, described device also comprises:
3rd judge module, for judging in the second preset time period before current time, whether the CPU usage whether described terminal uses default application program or use the duration of default application program whether to be more than or equal to preset duration or described terminal is more than or equal to default occupancy;
3rd trigger module, when being more than or equal to default occupancy for using the CPU usage presetting application program or use the duration of default application program to be more than or equal to preset duration or described terminal in described terminal, controlling described terminal and closes.
In one embodiment, described device also comprises:
Process terminates module, during for being less than default maximum residual charge value in described residual electric quantity, automatically terminates at least one application process of described terminal, makes the power consumption in the unit interval of described terminal be less than default power consumption.
According to the third aspect of disclosure embodiment, a kind of terminal control mechanism is provided, comprises:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
When described terminal charge, obtain the residual electric quantity of described terminal;
When described residual electric quantity is equal to or greater than default maximum residual charge value, controls described terminal and close.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect:
Technique scheme, terminal, when residual electric quantity is equal to or greater than default maximum residual value, can be closed automatically, thus avoids the application program etc. of running background to expend the electricity of terminal after charging in vain, thus saves the electricity of terminal.And if judge in a section before current time, the CPU usage that terminal employs default application program or uses the duration of default application program to be more than or equal to preset duration or terminal is more than or equal to default occupancy, also can automatically close, thus help user to control to use the time of terminal, user is avoided to use terminal for a long time, or take too much cpu resource, promote the experience of user.And when residual electric quantity is less than default maximum residual charge value, the process of terminal also automatically can be terminated, thus reduce the power consumption of terminal, reach the object of saving electricity.
Should be understood that, it is only exemplary and explanatory that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing to be herein merged in instructions and to form the part of this instructions, shows and meets embodiment of the present disclosure, and is used from instructions one and explains principle of the present disclosure.
Fig. 1 is the process flow diagram of the terminal control method according to an exemplary embodiment.
Fig. 2 is the process flow diagram of step S103 in the terminal control method according to an exemplary embodiment.
Fig. 3 is the process flow diagram of step S101 in the terminal control method according to an exemplary embodiment.
Fig. 4 is the process flow diagram of automatically closing step in a kind of terminal control method according to an exemplary embodiment.
Fig. 5 is the process flow diagram of automatically closing step in the another kind of terminal control method according to an exemplary embodiment.
Fig. 6 is the process flow diagram of the another kind of terminal control method according to an exemplary embodiment.
Fig. 7 is the block diagram of the terminal control mechanism according to an exemplary embodiment.
Fig. 8 is the block diagram of closing module in a kind of terminal control mechanism according to an exemplary embodiment.
Fig. 9 is the block diagram of acquisition module in a kind of terminal control mechanism according to an exemplary embodiment.
Figure 10 is the block diagram of closing module in another terminal control mechanism according to an exemplary embodiment.
Figure 11 is the block diagram of closing module in another terminal control mechanism according to an exemplary embodiment.
Figure 12 is the block diagram of closing module in another terminal control mechanism according to an exemplary embodiment.
Figure 13 is the block diagram of the another kind of terminal control mechanism according to an exemplary embodiment.
Figure 14 is the block diagram being applicable to terminal control mechanism according to an exemplary embodiment.
Embodiment
Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Embodiment described in following exemplary embodiment does not represent all embodiments consistent with the disclosure.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that aspects more of the present disclosure are consistent.
Disclosure embodiment provides a kind of terminal control method, the method can be used in chargeable terminal device, terminal device can be mobile phone, notebook computer, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc.As shown in Figure 1, the method can comprise step S101-S103:
In step S101, terminal, when charging, obtains the residual electric quantity of terminal;
In step s 102, the magnitude relationship between the residual electric quantity of terminal and default maximum residual charge value is judged;
In step s 103, when residual electric quantity is equal to or greater than default maximum residual charge value, control terminal is closed.Wherein, user or manufacturer can arrange default maximum residual charge value as required, and default maximum residual charge value both can be the full electric residual electric quantity of electricity when being full of, and namely 100%, also can be the part of full electric residual electric quantity, as 90%, 80% etc.
In this embodiment, terminal is in charging process, if when residual electric quantity is equal to or greater than default maximum residual value, can automatically close, like this, can avoid continuing to start shooting and consumes power after terminal charge, such as, if user is terminal charge when sleeping at night, when residual electric quantity is after charging equal to or greater than default maximum residual value, can close by control terminal, thus avoid the application program etc. of running background to expend the electricity of terminal after charging, thus save the electricity of terminal.
As shown in Figure 2, in one embodiment, before step S101, step S201-S202 can be comprised:
In step s 201, whether terminal judges is open at the function that when residual electric quantity is equal to or greater than default maximum residual charge value, control terminal is closed;
In step S202, when opening this function, perform step S101.
In this embodiment, user can open according to individual demand or be closed in the function that when residual electric quantity is equal to or greater than default maximum residual charge value, control terminal is closed, if this function is opened, terminal is when residual electric quantity is equal to or greater than default maximum residual charge value, can automatically close, if this function is not opened, then terminal is when residual electric quantity is equal to or greater than default maximum residual charge value, does not perform the operation of automatically closing.Like this, the different demands of user can be met, promote the experience of user.
As shown in Figure 3, in one embodiment, above-mentioned steps S101 can comprise step S301:
In step S301, terminal obtains the charging complete state broadcasted when charging complete.
Now, above-mentioned steps S103 comprises step S302:
In step s 302, after getting charging complete state, control terminal is closed.
In this embodiment, terminal, after charging complete, can broadcast a state, BatteryManager.BATTERY_STATUS_FULL, as long as a registration reveiver just can obtain this state, after getting this state, can close by control terminal.
As shown in Figure 4, in one embodiment, before control terminal is closed, step S401-S402 can be comprised:
In step S401, whether terminal judges current time is in the first preset time period;
In step S402, when current time is in the first preset time period, control terminal is closed.
In this embodiment, terminal can judge current time whether in the first preset time period, and its in the first preset time period time, automatically close.Wherein, first preset time period can be the time period that some users unlikely use terminal, such as the length of one's sleep section, as point at 11 in evening to morning 5, 12 noon is at 1 in afternoon etc., such as, first preset time period is set for evening 11 is to 5 points morning, if when terminal detects that the residual electric quantity of terminal within this time period is equal to or greater than default maximum residual charge value, when such as current time is morning 3, then can automatically close, like this, during owing to being terminal charge within this time period, user is generally in sleep state, terminal can not be used, therefore, terminal can residual electric quantity after charging when reaching condition, automatic closedown, so both can not affect the use of user, the terminal power after charging can be avoided again to be consumed in vain, save the electricity of terminal.
And for student, the first preset time period can also be learning time section, if morning 8 is to late 6 points, like this, when being terminal charge within this time period, because user is generally in learning state, terminal can not be used, therefore, terminal can residual electric quantity after charging when reaching condition, automatically closes, so both avoids user use terminal in learning time and divert one's attention, the terminal power after charging can be avoided again to be consumed in vain, save the electricity of terminal.
Wherein, this embodiment can superpose with above-mentioned any embodiment and use.Such as, when the residual electric quantity of terminal is equal to or greater than default maximum residual charge value, judge whether the function of opening control terminal closedown, when judged result is for opening this function, terminal judges current time more whether in the first preset time period, when judged result is in the first preset time period, automatically close.Or when after the charging complete state getting terminal, whether terminal judges current time, in the first preset time period, when judged result is in the first preset time period, closes automatically.
In one embodiment, automatically can also close for terminal and increase some trigger conditions, meet residual electric quantity in trigger condition and be equal to or greater than default maximum residual charge value, and when meeting the trigger condition increased, terminal is closed automatically, otherwise, automatically can not close, also can keep the normal operation of terminal.Below for a trigger condition, describe the technical scheme of the present embodiment in detail.As shown in Figure 5, said method also can comprise step S501-S503:
In step S501, judge in the second preset time period before current time, whether the CPU usage whether terminal uses default application program or use the duration of default application program whether to be more than or equal to preset duration or terminal is more than or equal to default occupancy;
In step S502, when terminal uses the CPU usage presetting application program or use the duration of default application program to be more than or equal to preset duration or terminal to be more than or equal to default occupancy, control terminal is closed.
In step S503, when the CPU usage that terminal does not use default application program or uses the duration of default application program to be less than preset duration or terminal is less than default occupancy, keep the normal operation of terminal.
In this embodiment, default application program can be the application program that game class application program, video class application program, music application program etc. are lain fallow for user.In above-described embodiment, in second preset time period of terminal judges before current time, whether application program is preset in use, such as, in before current time two hours of terminal judges, whether use some for the application program of user's leisure, if employed, then when the residual electric quantity of terminal is more than or equal to default maximum residual charge value, control terminal is closed, thus avoids user to continue amusement and recreation after charging, controls the amusement and recreation time of user; If do not used, then terminal is when its residual electric quantity is more than or equal to default maximum residual charge value, keep the normal operation of terminal, can not automatically close, thus make user normally can use terminal, avoid user run with work, learn relevant application program time, close a terminal suddenly and cause the experience of user to decline.
Or, terminal is when its residual electric quantity is more than or equal to default maximum residual charge value, if when using the duration presetting application program to be more than or equal to preset duration, such as, if terminal used some about the duration of application program of game more than one hour, then automatically close, thus while the saving terminal power, user can also be avoided to proceed stress-relieving activities such as playing games after charging, control the leisure time of user; And if terminal used some about the duration of the application program of game more than one hour, then keep the normal operation of terminal, can not automatically close, thus make user normally can use terminal, avoid user run with work, learn relevant application program time, close a terminal suddenly and cause the experience of user to decline.
Or, terminal is when its residual electric quantity is more than or equal to default maximum residual charge value, if the CPU usage of terminal is more than or equal to default occupancy, such as, CPU usage is more than or equal to 80%, then now also can automatically close, like this, the CPU usage due to terminal can be avoided too high, and cause the power consumption of terminal excessive, thus save the electricity of terminal further.And if the CPU usage of terminal is less than greatly 80%, then can keep the normal operation of terminal, can not automatically close, thus make user normally can use terminal, avoid user run with work, learn relevant application program time, close a terminal suddenly and cause the experience of user to decline.
As shown in Figure 6, in one embodiment, after the step S102 of said method, also step S104 can be comprised:
In step S104, terminal, when residual electric quantity is less than default maximum residual charge value, terminates at least one application process of terminal automatically, makes the power consumption in the unit interval of terminal be less than default power consumption.
In this embodiment, terminal, when its residual electric quantity is less than default maximum residual electricity, can terminate at least one application process of terminal automatically, thus makes the power consumption in the unit interval of terminal be less than default power consumption.Wherein, when the residual electric quantity that user can be preset in terminal is less than default maximum residual electricity, the application process that can terminate, or the application process that cannot terminate, thus ensure while saving terminal power, do not affect the use of the important application of user, promote the experience of user.
Wherein, at least one application process can be that game class, video class, music class etc. are unimportant, can not affect the application process of the important affairs such as the work of user, study after terminating.
Following is disclosure device embodiment, may be used for performing disclosure embodiment of the method.
Fig. 7 is the block diagram of a kind of terminal control mechanism according to an exemplary embodiment, and this device can realize becoming the some or all of of terminal by software, hardware or both combinations.As shown in Figure 7, this terminal control mechanism comprises:
Acquisition module 71 is configured to, when described terminal charge, obtain the residual electric quantity of described terminal;
Judge module 72 is configured to judge the magnitude relationship between the residual electric quantity of described terminal and default maximum residual charge value;
Closing module 73 is configured to when described residual electric quantity is equal to or greater than default maximum residual charge value, controls described terminal and closes.
As shown in Figure 8, in one embodiment, described device also comprises:
First judge module 81 is configured to judge whether described terminal is open at the function controlling the closedown of described terminal when described residual electric quantity is equal to or greater than default maximum residual charge value;
First trigger module 82 is configured to, when opening described function, trigger described acquisition module 71.
As shown in Figure 9, in one embodiment, described acquisition module 71 comprises:
State obtains submodule 91 and is configured to obtain the charging complete state that described terminal broadcasts when charging complete.
As shown in Figure 10, in one embodiment, described closing module 73 comprises:
Closing closed submodule 1001 is configured to after getting described charging complete state, controls described terminal and closes.
As shown in figure 11, in one embodiment, described device can also comprise:
Second judge module 1101 is configured to judge whether current time is in the first preset time period;
Second trigger module 1102 is configured to, when described current time is in the first preset time period, trigger described closing module 73.
As shown in figure 12, in one embodiment, described device can also comprise:
3rd judge module 1201 is configured to judge in the second preset time period before current time, and whether the CPU usage whether described terminal uses default application program or use the duration of default application program whether to be more than or equal to preset duration or described terminal is more than or equal to default occupancy;
3rd trigger module 1202 is configured to, when described terminal uses the CPU usage presetting application program or use the duration of default application program to be more than or equal to preset duration or described terminal to be more than or equal to default occupancy, trigger described closing module 73.
As shown in figure 13, in one embodiment, said apparatus also comprises:
Process terminates module 1301 and is configured to, when described residual electric quantity is less than default maximum residual charge value, automatically terminates at least one application process of described terminal, make the power consumption in the unit interval of described terminal be less than default power consumption.
According to the third aspect of disclosure embodiment, a kind of terminal control mechanism is provided, comprises:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
When described terminal charge, obtain the residual electric quantity of described terminal;
Judge the magnitude relationship between the residual electric quantity of described terminal and default maximum residual charge value;
When described residual electric quantity is equal to or greater than default maximum residual charge value, controls described terminal and close.
Above-mentioned processor also can be configured to:
When described terminal charge, before obtaining the residual electric quantity of described terminal, described method also comprises:
Judge whether described terminal is open at the function controlling the closedown of described terminal when described residual electric quantity is equal to or greater than default maximum residual charge value;
When opening described function, performing when described terminal charge, obtaining the step of the residual electric quantity of described terminal.
Above-mentioned processor also can be configured to:
The residual electric quantity of described acquisition terminal, comprising:
Obtain the charging complete state that described terminal is broadcasted when charging complete;
Described when described residual electric quantity equals default maximum residual charge value, control described terminal and close, comprising:
After getting described charging complete state, control described terminal and close.
Above-mentioned processor also can be configured to:
Before the described terminal of control is closed, described method also comprises:
Judge whether current time is in the first preset time period;
When described current time is in the first preset time period, perform the step controlling described terminal and close.
Above-mentioned processor also can be configured to:
Before the described terminal of control is closed, described method also comprises:
Judge in the second preset time period before current time, whether the CPU usage whether described terminal uses default application program or use the duration of default application program whether to be more than or equal to preset duration or described terminal is more than or equal to default occupancy;
When described terminal uses the CPU usage presetting application program or use the duration of default application program to be more than or equal to preset duration or described terminal to be more than or equal to default occupancy, perform the step controlling described terminal and close.
Above-mentioned processor also can be configured to:
Described method also comprises:
When described residual electric quantity is less than default maximum residual charge value, automatically terminate at least one application process of described terminal, make the power consumption in the unit interval of described terminal be less than default power consumption.
About the device in above-described embodiment, wherein the concrete mode of modules executable operations has been described in detail in about the embodiment of the method, will not elaborate explanation herein.
Figure 14 is a kind of block diagram for terminal control mechanism according to an exemplary embodiment, and this device is applicable to terminal device.Such as, device 1400 can be mobile phone, computing machine, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc.
Device 1400 can comprise following one or more assembly: processing components 1402, storer 1404, power supply module 1406, multimedia groupware 1408, audio-frequency assembly 1410, the interface 1412 of I/O (I/O), sensor module 1414, and communications component 1416.
The integrated operation of the usual control device 1400 of processing components 1402, such as with display, call, data communication, camera operation and record operate the operation be associated.Treatment element 1402 can comprise one or more processor 1420 to perform instruction, to complete all or part of step of above-mentioned method.In addition, processing components 1402 can comprise one or more module, and what be convenient between processing components 1402 and other assemblies is mutual.Such as, processing element 1402 can comprise multi-media module, mutual with what facilitate between multimedia groupware 1408 and processing components 1402.
Storer 1404 is configured to store various types of data to be supported in the operation of equipment 1400.The example of these data comprises for any application program of operation on device 1400 or the instruction of method, contact data, telephone book data, message, picture, video etc.Storer 1404 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), ROM (read-only memory) (ROM), magnetic store, flash memory, disk or CD.
The various assemblies that electric power assembly 1406 is device 1400 provide electric power.Electric power assembly 1406 can comprise power-supply management system, one or more power supply, and other and the assembly generating, manage and distribute electric power for device 1400 and be associated.
Multimedia groupware 1408 is included in the screen providing an output interface between described device 1400 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises one or more touch sensor with the gesture on sensing touch, slip and touch panel.Described touch sensor can the border of not only sensing touch or sliding action, but also detects the duration relevant to described touch or slide and pressure.In certain embodiments, multimedia groupware 1408 comprises a front-facing camera and/or post-positioned pick-up head.When equipment 1400 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 1410 is configured to export and/or input audio signal.Such as, audio-frequency assembly 1410 comprises a microphone (MIC), and when device 1400 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The sound signal received can be stored in storer 1404 further or be sent via communications component 1416.In certain embodiments, audio-frequency assembly 1410 also comprises a loudspeaker, for output audio signal.
I/O interface 1412 is for providing interface between processing components 1402 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor module 1414 comprises one or more sensor, for providing the state estimation of various aspects for device 1400.Such as, sensor module 1414 can detect the opening/closing state of equipment 1400, the relative positioning of assembly, such as described assembly is display and the keypad of device 1400, the position of all right pick-up unit 1400 of sensor module 1414 or device 1400 assemblies changes, the presence or absence that user contacts with device 1400, the temperature variation of device 1400 orientation or acceleration/deceleration and device 1400.Sensor module 1414 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor module 1414 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor module 1414 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communications component 1416 is configured to the communication being convenient to wired or wireless mode between device 1400 and other equipment.Device 1400 can access the wireless network based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communication component 1416 receives from the broadcast singal of external broadcasting management system or broadcast related information via broadcast channel.In one exemplary embodiment, described communication component 1416 also comprises near-field communication (NFC) module, to promote junction service.Such as, can based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 1400 can be realized, for performing said method by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD) (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the storer 1404 of instruction, above-mentioned instruction can perform said method by the processor 820 of device 1400.Such as, described non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.
A kind of non-transitory computer-readable recording medium, when the instruction in described storage medium is performed by the processor of device 1400, make device 1400 can perform above-mentioned terminal control method, described method comprises:
When described terminal charge, obtain the residual electric quantity of described terminal;
Judge the magnitude relationship between the residual electric quantity of described terminal and default maximum residual charge value;
When described residual electric quantity is equal to or greater than default maximum residual charge value, controls described terminal and close.
In one embodiment, when described terminal charge, before obtaining the residual electric quantity of described terminal, described method also comprises:
Judge whether described terminal is open at the function controlling the closedown of described terminal when described residual electric quantity is equal to or greater than default maximum residual charge value;
When opening described function, performing when described terminal charge, obtaining the step of the residual electric quantity of described terminal.
In one embodiment, the residual electric quantity of described acquisition terminal, comprising:
Obtain the charging complete state that described terminal is broadcasted when charging complete;
Described when described residual electric quantity equals default maximum residual charge value, control described terminal and close, comprising:
After getting described charging complete state, control described terminal and close.
In one embodiment, before the described terminal of control is closed, described method also comprises:
Judge whether current time is in the first preset time period;
When described current time is in the first preset time period, perform the step controlling described terminal and close.
In one embodiment, before the described terminal of control is closed, described method also comprises:
Judge in the second preset time period before current time, whether the CPU usage whether described terminal uses default application program or use the duration of default application program whether to be more than or equal to preset duration or described terminal is more than or equal to default occupancy;
When described terminal uses the CPU usage presetting application program or use the duration of default application program to be more than or equal to preset duration or described terminal to be more than or equal to default occupancy, perform the step controlling described terminal and close.
In one embodiment, described method also comprises:
When described residual electric quantity is less than default maximum residual charge value, automatically terminate at least one application process of described terminal, make the power consumption in the unit interval of described terminal be less than default power consumption.
Those skilled in the art, at consideration instructions and after putting into practice disclosed herein disclosing, will easily expect other embodiment of the present disclosure.The application is intended to contain any modification of the present disclosure, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present disclosure and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Instructions and embodiment are only regarded as exemplary, and true scope of the present disclosure and spirit are pointed out by claim below.
Should be understood that, the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.The scope of the present disclosure is only limited by appended claim.

Claims (15)

1. a terminal control method, is characterized in that, comprising:
When described terminal charge, obtain the residual electric quantity of described terminal;
Judge the magnitude relationship between the residual electric quantity of described terminal and default maximum residual charge value;
When described residual electric quantity is equal to or greater than default maximum residual charge value, controls described terminal and close.
2. method according to claim 1, is characterized in that, when described terminal charge, before obtaining the residual electric quantity of described terminal, described method also comprises:
Judge whether described terminal is open at the function controlling the closedown of described terminal when described residual electric quantity is equal to or greater than default maximum residual charge value;
When opening described function, performing when described terminal charge, obtaining the step of the residual electric quantity of described terminal.
3. method according to claim 1, is characterized in that, the residual electric quantity of described acquisition terminal, comprising:
Obtain the charging complete state that described terminal is broadcasted when charging complete.
4. method according to claim 3, is characterized in that, described when described residual electric quantity equals default maximum residual charge value, controls described terminal and closes, comprising:
After getting described charging complete state, control described terminal and close.
5. method according to any one of claim 1 to 4, is characterized in that, before the described terminal of control is closed, described method also comprises:
Judge whether current time is in the first preset time period;
When described current time is in the first preset time period, perform the step controlling described terminal and close.
6. method according to any one of claim 1 to 4, is characterized in that, before the described terminal of control is closed, described method also comprises:
Judge in the second preset time period before current time, whether the CPU usage whether described terminal uses default application program or use the duration of default application program whether to be more than or equal to preset duration or described terminal is more than or equal to default occupancy;
When described terminal uses the CPU usage presetting application program or use the duration of default application program to be more than or equal to preset duration or described terminal to be more than or equal to default occupancy, perform the step controlling described terminal and close.
7. method according to claim 1, is characterized in that, described method also comprises:
When described residual electric quantity is less than default maximum residual charge value, automatically terminate at least one application process of described terminal, make the power consumption in the unit interval of described terminal be less than default power consumption.
8. a terminal control mechanism, is characterized in that, comprising:
Acquisition module, for when described terminal charge, obtains the residual electric quantity of described terminal;
Judge module, for judging the magnitude relationship between the residual electric quantity of described terminal and default maximum residual charge value;
Closing module, during for being equal to or greater than default maximum residual charge value in described residual electric quantity, controlling described terminal and closes.
9. device according to claim 8, is characterized in that, described device also comprises:
First judge module, for judging whether described terminal is open at the function controlling the closedown of described terminal when described residual electric quantity is equal to or greater than default maximum residual charge value;
First trigger module, for when opening described function, triggers described acquisition module.
10. device according to claim 8, is characterized in that, described acquisition module comprises:
State obtains submodule, for obtaining the charging complete state that described terminal is broadcasted when charging complete.
11. devices according to claim 10, is characterized in that,
Described closing module comprises:
Close closed submodule, for after getting described charging complete state, control described terminal and close.
Device according to any one of 12. according to Claim 8 to 11, is characterized in that, described device also comprises:
Second judge module, for judging whether current time is in the first preset time period;
Second triggers module, for when described current time is in the first preset time period, triggers described closing module.
Device according to any one of 13. according to Claim 8 to 11, is characterized in that, described device also comprises:
3rd judge module, for judging in the second preset time period before current time, whether the CPU usage whether described terminal uses default application program or use the duration of default application program whether to be more than or equal to preset duration or described terminal is more than or equal to default occupancy;
3rd trigger module, when being more than or equal to default occupancy for using the CPU usage presetting application program or use the duration of default application program to be more than or equal to preset duration or described terminal in described terminal, triggers described closing module.
14. devices according to claim 8, is characterized in that, described device also comprises:
Process terminates module, during for being less than default maximum residual charge value in described residual electric quantity, automatically terminates at least one application process of described terminal, makes the power consumption in the unit interval of described terminal be less than default power consumption.
15. 1 kinds of terminal control mechanisms, is characterized in that, comprising:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
When described terminal charge, obtain the residual electric quantity of described terminal;
Judge the magnitude relationship between the residual electric quantity of described terminal and default maximum residual charge value;
When described residual electric quantity is equal to or greater than default maximum residual charge value, controls described terminal and close.
CN201510428700.5A 2015-07-20 2015-07-20 Terminal control method and device Pending CN104991634A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510428700.5A CN104991634A (en) 2015-07-20 2015-07-20 Terminal control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510428700.5A CN104991634A (en) 2015-07-20 2015-07-20 Terminal control method and device

Publications (1)

Publication Number Publication Date
CN104991634A true CN104991634A (en) 2015-10-21

Family

ID=54303450

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510428700.5A Pending CN104991634A (en) 2015-07-20 2015-07-20 Terminal control method and device

Country Status (1)

Country Link
CN (1) CN104991634A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105896657A (en) * 2016-04-25 2016-08-24 来安县新元机电设备设计有限公司 Method of charging mobile terminal and mobile terminal
CN108762467A (en) * 2018-05-10 2018-11-06 Oppo广东移动通信有限公司 Application processing method, device, electronic equipment and computer readable storage medium
CN109728360A (en) * 2017-10-27 2019-05-07 神讯电脑(昆山)有限公司 The monitoring method and electronic device of battery module

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0936996A (en) * 1995-07-19 1997-02-07 Canon Inc Facsimile equipment
CN102403546A (en) * 2010-09-19 2012-04-04 纬创资通股份有限公司 Electronic apparatus and charging method thereof
CN104066076A (en) * 2013-03-22 2014-09-24 华为终端有限公司 Mobile terminal parameter configuration method and parameter configuration device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0936996A (en) * 1995-07-19 1997-02-07 Canon Inc Facsimile equipment
CN102403546A (en) * 2010-09-19 2012-04-04 纬创资通股份有限公司 Electronic apparatus and charging method thereof
CN104066076A (en) * 2013-03-22 2014-09-24 华为终端有限公司 Mobile terminal parameter configuration method and parameter configuration device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王翼飞: "电子产品可持续设计理念及材料应用研究-以手机为例", 《中国优秀硕士学位论文全文数据库》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105896657A (en) * 2016-04-25 2016-08-24 来安县新元机电设备设计有限公司 Method of charging mobile terminal and mobile terminal
CN105896657B (en) * 2016-04-25 2018-07-31 珠海爱康美智能电器科技有限公司 A kind of method and mobile terminal of mobile terminal charging
CN109728360A (en) * 2017-10-27 2019-05-07 神讯电脑(昆山)有限公司 The monitoring method and electronic device of battery module
CN109728360B (en) * 2017-10-27 2022-04-19 神讯电脑(昆山)有限公司 Monitoring method of battery module and electronic device
CN108762467A (en) * 2018-05-10 2018-11-06 Oppo广东移动通信有限公司 Application processing method, device, electronic equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN106375604B (en) The method and apparatus of controlling terminal electricity
CN104219383A (en) Terminal power information prompting method and device
CN105049923A (en) Method and apparatus for waking up electronic device
CN104578372B (en) The method and device of control terminal equipment charge
CN104023129A (en) Power saving method and device thereof
CN104750597A (en) User guide method and device during low power
CN104915123A (en) Terminal display method and device
CN105528055A (en) Running object processing method and device
CN104320542A (en) Method and device for sending reminding message
CN105098273A (en) Charging method and device
CN103905653A (en) Mobile equipment data service control method and device
CN105530384A (en) Method and device for power reminding based on alarm clock
CN105487857A (en) Method and apparatus for prompting image shooting part to be started
CN105807894A (en) Processing method and device of lock holding of application
CN103927200A (en) Electronic equipment awakening method and related device
CN104010072A (en) Electric quantity prompt method and device
CN105356529A (en) Prompting method and apparatus for rapid charging state
CN103944991A (en) Method and device for controlling data synchronization
CN104811821A (en) Drawing display frame rate adjusting method and device
CN108539804B (en) Battery charging control method, battery charging control device and electronic equipment
CN104703255A (en) Resident network adjustment method and device and electronic device
CN105867592B (en) A kind of method and apparatus managing electric quantity consumption
CN105577523A (en) Message sending methods and apparatuses
CN105390120A (en) Bright screen control method and device
CN104991634A (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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20151021