CN106973138A - A kind of control method of mobile terminal, device and mobile terminal - Google Patents

A kind of control method of mobile terminal, device and mobile terminal Download PDF

Info

Publication number
CN106973138A
CN106973138A CN201710142627.4A CN201710142627A CN106973138A CN 106973138 A CN106973138 A CN 106973138A CN 201710142627 A CN201710142627 A CN 201710142627A CN 106973138 A CN106973138 A CN 106973138A
Authority
CN
China
Prior art keywords
mobile terminal
battery
power consumption
electric quantity
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710142627.4A
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201710142627.4A priority Critical patent/CN106973138A/en
Publication of CN106973138A publication Critical patent/CN106973138A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/24Arrangements for testing
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The present invention provides a kind of control method of mobile terminal, device and mobile terminal, by the current electric quantity for obtaining battery of mobile terminal;Judge the current electric quantity whether higher than default electricity;If so, then controlling the mobile terminal to perform power consumption test operation;If it is not, then controlling the mobile terminal to perform charging operations.Therefore, the present invention can carry out the process of the charging of mobile terminal and power consumption seamless connection, only need to carry out an Initialize installation, just can just terminate test after the cycle-index of setting is reached with loop test.Whole test process goes to manage the process of the discharge and recharge of mobile terminal without manpower, and mobile terminal can carry out cycle charge-discharge automatically, and testing efficiency is high, and test period is short, consequently facilitating carrying out reliability testing to battery of mobile terminal in batches, rapidly.

Description

A kind of control method of mobile terminal, device and mobile terminal
Technical field
The present invention relates to control technology field, more particularly to a kind of control method of mobile terminal, device and mobile terminal.
Background technology
With the development of the communication technology, terminal also becomes increasingly as popularization, its institute's role in people live Also become increasingly to be important.By terminal, people can not only be communicated, but also can be done shopping or entertained etc. many Plant activity.
Mobile phone terminal is in development, it is necessary to carry out prolonged discharge and recharge burn-in test to battery of mobile phone.It is existing Technology automaticity is low, and the process of whole mobile phone cell degradation test can undergo following steps:(1) laboratory technician is in mobile phone Terminal installs software, and the test initial time of mobile phone terminal is recorded with paper list;(2) laboratory technician garrisons laboratory, and disconnection is filled Electric installation, starts power consumption program, waits every mobile phone terminal power consumption to automatic shutdown;(3) laboratory technician reopens mobile phone terminal, And open all charging devices mobile phone terminal is charged, wait mobile phone terminal fully charged;(4) laboratory technician waits all mobile phones After terminal is fully charged, power consumption program is restarted, and disconnects charging device, into next round cycle charge discharge electrical testing.Entirely grind The hair stage, it is necessary to mobile phone terminal carry out 500 times step (1) arrive (4) loop test.Accordingly, it would be desirable to expend substantial amounts of people Power and time go to control mobile phone charge and discharge process, and operating procedure is loaded down with trivial details, and testing efficiency is easily by personnel's execution efficiency and work Make the influence of time, so that cause testing efficiency low, the problems such as test period is long.
The content of the invention
The purpose of the embodiment of the present invention is to provide a kind of control method of mobile terminal, device and mobile terminal, its nothing Manpower is needed to go to manage the process of the discharge and recharge of mobile terminal, mobile terminal can carry out cycle charge-discharge automatically, and testing efficiency is high, surveys The examination cycle is short, consequently facilitating carrying out reliability testing to battery of mobile terminal in batches, rapidly.
The embodiments of the invention provide a kind of control method of mobile terminal, comprise the following steps:
Obtain the current electric quantity of battery of mobile terminal;
Judge the current electric quantity whether higher than default electricity;
If so, then controlling the mobile terminal to perform power consumption test operation;
If it is not, then controlling the mobile terminal to perform charging operations.
The embodiment of the present invention additionally provides a kind of control device of mobile terminal, including:
Electricity acquisition module, the current electric quantity for obtaining battery of mobile terminal;
Electricity judge module, for judging the current electric quantity whether higher than default electricity;
Power consumption control module, judges that the current electric quantity is higher than default electricity for working as, then controls the mobile terminal Perform power consumption test operation;
Charge control module, judges that the current electric quantity is less than or equal to default electricity for working as, then controls the shifting Dynamic terminal performs charging operations.
The embodiment of the present invention additionally provides a kind of mobile terminal, including memory and processor, the processor and described Memory is connected by bus;The memory is used to store batch processing code, and the processor is used to call the storage The program code stored in device, performs following operation:
Obtain the current electric quantity of battery of mobile terminal;
Judge the current electric quantity whether higher than default electricity;
If so, then controlling the mobile terminal to perform power consumption test operation;
If it is not, then controlling the mobile terminal to perform charging operations.
Control method, device and the mobile terminal for the mobile terminal that the present invention is provided, by obtaining battery of mobile terminal Current electric quantity;Judge the current electric quantity whether higher than default electricity;If so, then controlling the mobile terminal to perform power consumption test Operation;If it is not, then controlling the mobile terminal to perform charging operations.Therefore, the present invention can be by the charging of mobile terminal and consumption The process of electricity carries out seamless connection, only need to carry out an Initialize installation, just can be with loop test, until the cycle-index of setting Just test is terminated after arrival.Whole test process goes to manage the process of the discharge and recharge of mobile terminal, mobile terminal energy without manpower Automatic to carry out cycle charge-discharge, testing efficiency is high, and test period is short, consequently facilitating in batches, rapidly entering to battery of mobile terminal Row reliability testing.
Brief description of the drawings
Fig. 1 is the implementation process schematic diagram of the control method for the mobile terminal that one embodiment of the invention is provided.
Fig. 2 is the implementation process signal that the control mobile terminal that one embodiment of the invention is provided performs power consumption test operation Figure.
Fig. 3 is the implementation process schematic diagram for the testing time that one embodiment of the invention is provided.
Fig. 4 is the implementation process schematic diagram that the control mobile terminal that one embodiment of the invention is provided performs charging operations.
Fig. 5 is the implementation process schematic diagram for the testing time that another embodiment of the present invention is provided.
Fig. 6 is the module diagram of the control device for the mobile terminal that one embodiment of the invention is provided.
Fig. 7 is the detailed module diagram of the control device for the mobile terminal that another embodiment of the present invention is provided.
Fig. 8 is the module diagram of mobile terminal provided in an embodiment of the present invention.
Embodiment
Refer to the schema in accompanying drawing, wherein identical element numbers represent identical component, principle of the invention be with Implement to illustrate in an appropriate computing environment.The following description is based on exemplified specific implementation of the invention Example, it is not construed as the limitation present invention other specific embodiments not detailed herein.
The principle of the invention illustrates that it is not represented as a kind of limitation with above-mentioned word, and those skilled in the art can Solve plurality of step as described below and operation also may be implemented among hardware.The principle of the present invention uses many other wide usages Or specific purpose computing, communication environment or configuration are operated.
Referring to Fig. 1, showing the control method of the mobile terminal of one embodiment of the invention offer.
The control method of the mobile terminal, applied in mobile terminal, comprises the following steps:
In step S101, the current electric quantity of battery of mobile terminal is obtained.
In embodiments of the present invention, first, test software is installed in the terminal, user is in the test software interface The relevant information of self-defined test, for example, set default electricity, preset interval time, default testing time, full of value, default Power consumption program etc. relevant information, mobile terminal preserves the information of above-mentioned setting, called during for subsequent operation it is above-mentioned these The information of setting.
It is understood, however, that default power consumption program can include one or more programs.For example, mobile whole Multiple software programs, such as video player, music player, recorder, QQ softwares, browser are installed in end.So use Family can such as select video player, music player, and/or recorder when selecting power consumption program.So, when performing consumption When electrical testing is operated, then test software can be according to the selection of user, to open video player, music player, and/or record Sound machine, the video player after unlatching can play the video preserved in the terminal automatically, and music player can be followed automatically Ring plays the music preserved in the terminal, and recorder can record to surrounding environment sound, to carry out consumption movement The battery electric quantity of terminal.
However, it is possible to which different power consumption suites gets up according to demand, can so consume different electric currents, with up to To the purpose of control power consumption rate, the power consumption time is reduced.
After the completion of all information are respectively provided with, then user, which clicks on, starts testing button to carry out beginning test operation, this When, the test software starts to perform the current electric quantity of the acquisition battery of mobile terminal in step S101, meanwhile, also obtain above-mentioned set The default electricity put, so that step S102 is judged.
In step s 102, judge the current electric quantity whether higher than default electricity.
In step s 103, if so, then controlling the mobile terminal to perform power consumption test operation.
In embodiments of the present invention, charging device (such as charger) is connected with mobile terminal always, therefore need not be artificial The connection of disconnection charging device and mobile terminal is gone, and need not manually remove connection charging device and mobile terminal.This implementation Example be using the power management chip inside mobile terminal and charging path disconnection and connect, to reach charging device to movement The electric discharge and charging of end cell.That is, by the power management chip (PMIC) of programme-control mobile terminal bottom, to its battery Supply access and charging path are controlled.Realize during power consumption, disconnect charging path, only connection battery supply access;From And reach without personnel's plug charging device to control the process of discharge and recharge.It is implemented as follows:
Referring to Fig. 2, wherein, the step of control mobile terminal performs power consumption test operation specifically includes:
In step S1031, the charging path of the mobile terminal and the power management chip of mobile terminal is controlled to disconnect Connection, so as to reach that charging device can not carry out charging operations to the battery of mobile terminal.Such as, the charging of control mobile terminal is led to The pin of triode in road, disconnects the pin of power management chip.
In step S1032, the supply access of the battery of mobile terminal is controlled to be connected with the circuit system of mobile terminal, So as to reach that the battery of mobile terminal is powered to circuit system, to perform power consumption program.
It is understood that the supply access of the charging path of the mobile terminal and the battery of mobile terminal can be It is connection or disconnected, because during power consumption test operation, relating only to battery of mobile terminal to circuit system Power supply, therefore it may only be necessary to which the supply access of the battery of mobile terminal is connected with the circuit system of mobile terminal.
In step S1033, default power consumption program is opened, to carry out the battery electric quantity for consuming mobile terminal.
For example, when performing power consumption test operation, then test software can be according to the selection of user, to open video playback Device, music player, and/or recorder, the video player after unlatching can be played automatically has preserved regarding in the terminal Frequently, music player meeting automatic cycle plays the music preserved in the terminal, and recorder can enter to surrounding environment sound Row recording, to carry out the battery electric quantity for consuming mobile terminal.
Wherein, during the battery electric quantity of consumption mobile terminal, the current electricity of battery can be shown in the way of view The information such as amount, voltage, electric current and charging and discharging state, are easy to user to be visually known the progress of test.
As one embodiment of the invention, after the step of control mobile terminal performs power consumption test operation, also wrap Include:
Judge whether current time reaches preset interval time;If so, then monitoring the dump energy of battery;When remaining for battery When remaining electricity is less than or equal to the default electricity, the corresponding relevant information of the power consumption test operation is recorded.
For example, default power consumption program is opened, to carry out the battery electric quantity for consuming mobile terminal, in consumption mobile terminal During battery electric quantity, test software can monitor the dump energy of battery, either, certain interval of time, test software in real time Just the current electric quantity of battery of mobile terminal is obtained, then, current electric quantity is compared with default electricity, if the current electricity When amount is less than or equal to the default electricity, illustrate that battery electric quantity has been depleted to bottom, at this moment, to stop power consumption test, test Software can record the information such as test power consumption time this time.
It is understood that during the battery electric quantity of consumption mobile terminal, when the current electric quantity is also above institute When stating default electricity, then still continue executing with the power consumption test operation, i.e. power consumption program works on, to carry out consumption shifting The battery electric quantity of dynamic terminal.
Referring to Fig. 3, as another embodiment of the present invention, the step of power consumption test operation is performed in the control mobile terminal After rapid, in addition to:
In step s 11, judge whether testing time reaches default testing time.
In step s 12, if reaching default testing time, test is terminated;If not reaching default testing time, hold The step of row control mobile terminal performs charging operations.
For example, during the battery electric quantity of consumption mobile terminal, when test software monitors that battery current electric quantity is less than Or during equal to the default electricity, then test software can record the information such as test power consumption time this time.Meanwhile, test soft Part can also judge this time test whether reach default testing time, if reaching default testing time, terminate test, without The step of performing charging operations again.If not reaching default testing time, jump directly in step S104 perform charging The step of operation.
In step S104, if it is not, then controlling the mobile terminal to perform charging operations.
In embodiments of the present invention, charging device (such as charger) is connected with mobile terminal always, therefore need not be artificial The connection of disconnection charging device and mobile terminal is gone, and need not manually remove connection charging device and mobile terminal.This implementation Example be using the power management chip inside mobile terminal and charging path disconnection and connect, to reach charging device to movement The electric discharge and charging of end cell.That is, by the power management chip (PMIC) of programme-control mobile terminal bottom, to its battery Supply access and charging path are controlled.In charging process, connection charging path and battery supply access.Need not so as to reach Personnel's plug charging device controls the process of discharge and recharge.
Referring to Fig. 4, in embodiments of the present invention, the step of control mobile terminal performs charging operations, specific bag Include:
In step S1041, the power consumption program is closed, to stop power consumption test operation.
In step S1042, the charging path of the mobile terminal is controlled to be connected with the power management chip of mobile terminal, So as to reach that charging device carries out charging operations to the battery of mobile terminal.Such as, three in the charging path of control mobile terminal The pin of pole pipe, connects the pin of power management chip.
In step S1043, the charging path of the mobile terminal and the supply access of the battery of mobile terminal are controlled Connection, to be charged to battery of mobile terminal.
In step S1044, the supply access of the battery of mobile terminal and the circuit system of mobile terminal is controlled to disconnect Connection, so that battery of mobile terminal is not powered to circuit system.
As one embodiment of the invention, after the step of control mobile terminal performs charging operations, in addition to:
Judge whether battery electric quantity is reached full of value;If so, then recording the corresponding relevant information of the charging operations.
Such as, during charging operations are performed, whether test software can monitor battery fully charged, if filled with electricity, then, survey Examination software can record the information such as charging interval this time.Then, jump directly in step S103 perform power consumption test behaviour The step of making.If test software monitoring battery is not fully charged, then then continue to keep charged state.
Referring to Fig. 5, it is preferred that, it is described judge battery electric quantity whether reach full of value the step of after, in addition to:
In the step s 21, judge whether testing time reaches default testing time.
In step S22, if reaching default testing time, terminate test;If not reaching default testing time, jump Go to the step of control mobile terminal performs power consumption test operation.
For example, during charging operations are performed, when test software monitors that battery is fully charged, then test software can be remembered The information such as the charging interval of record this time.Meanwhile, test software can also judge this time test whether reach default test time Number, if reaching default testing time, terminates test, the step of without performing power consumption test operation again.If not reaching default Testing time, then the step of jumping directly in step S103 to perform power consumption test operation.
It is understood that during charging operations are performed, the current electricity of battery, electricity can be shown in the way of view The information such as pressure, electric current and charging and discharging state, are easy to user to be visually known the progress of test.
From the foregoing, it will be observed that the control method of mobile terminal provided in an embodiment of the present invention, by obtaining battery of mobile terminal Current electric quantity;Judge the current electric quantity whether higher than default electricity;If so, then controlling the mobile terminal to perform power consumption test Operation;If it is not, then controlling the mobile terminal to perform charging operations.Therefore, the present invention can be by the charging of mobile terminal and consumption The process of electricity carries out seamless connection, only need to carry out an Initialize installation, just can be with loop test, until the cycle-index of setting Just test is terminated after arrival.Whole test process goes to manage the process of the discharge and recharge of mobile terminal, mobile terminal energy without manpower Automatic to carry out cycle charge-discharge, testing efficiency is high, and test period is short, consequently facilitating in batches, rapidly entering to battery of mobile terminal Row reliability testing.
The control method of mobile terminal provided in an embodiment of the present invention is described in detail below by citing.
First, test software is installed in mobile phone, the relevant information of user's self-defined test in the test software interface, As user can be self-defined to cut-off electricity, cycle-index, the progress of power consumption test item.Charging device (such as charger) always with hand Machine is connected.
After user, which clicks on, starts testing button, then following steps can be performed:
Step 1:Start test.Mobile phone obtains the current electric quantity of its battery.The current electric quantity is compared with cut-off electricity Compared with, if battery of mobile phone current electric quantity is higher than cut-off electricity, execution step 2;If current electric quantity is less than cut-off electricity, redirect To step 3.
Step 2:Perform power consumption test.It is specific as follows:The charging path of mobile phone is disconnected, battery supply access, loading is kept User-defined parameter, opens power consumption program, to start to consume cell-phone battery electric-charge quantity.Cut when mobile phone electricity is depleted to be less than Only during electricity, the information such as record test power consumption time.If loop test does not terminate, step 3 is performed.If completing loop test, Then perform step 4.
Step 3:Perform charging measurement.It is specific as follows:Charging path and battery supply access are connected, starts to put out mobile phone screen Charging.When mobile phone electricity is filled, the information such as record test charging interval.If loop test does not terminate, routine executing step 2.If completing loop test, step 4 is performed.
Step 4:Terminate test.Store the information such as abnormal information, test execution time.
From the foregoing, it will be observed that the technical program can carry out the process for charging, discharging seamless connection, experimenter only needs to carry out Software design patterns, just can be with loop test, and until terminating test after the cycle-index of setting, whole process is without experimenter Charging device (charger) is controlled, without carrying out switching on and shutting down operation to mobile phone, mobile phone test software meeting auto switching fills Circuit, automatic execution power consumption program and charging operations, and recording test time and testing time.
It is understood, however, that the flow of charging/power consumption can use external device to realize, by external power supply control Device realizes control logic, is easy to implement scheme in planless terminal.
It is the module signal of the control device of mobile terminal provided in an embodiment of the present invention also referring to Fig. 6 and Fig. 7 Figure;For convenience of description, it illustrate only the part related to the embodiment of the present invention.The control device of the mobile terminal includes: Electricity acquisition module 101, electricity judge module 102, power consumption control module 103 and charge control module 104.The movement The control device of terminal can be software unit, the list of hardware cell either software and hardware combining being built in mobile terminal Member.
Electricity acquisition module 101, the current electric quantity for obtaining battery of mobile terminal.
Electricity judge module 102, for judging the current electric quantity whether higher than default electricity.
Power consumption control module 103, for when judging the current electric quantity higher than default electricity, then controlling described mobile whole End performs power consumption test operation.
Charge control module 104, described in when judging the current electric quantity less than or equal to default electricity, then controlling Mobile terminal performs charging operations.
In embodiments of the present invention, the power consumption control module 103, including:First, which disconnects control module 1031, first, connects Logical control module 1032 and program opening module 1033.
First disconnects control module 1031, for controlling the charging path of the mobile terminal and the power supply pipe of mobile terminal Manage chip and disconnect connection.
First connection control module 1032, for controlling the supply access and mobile terminal of the battery of mobile terminal to be System circuit communication.
Program opening module 1033, for opening default power consumption program, to carry out the battery electric quantity for consuming mobile terminal.
As one embodiment of the invention, the control device of the mobile terminal, in addition to:Time judgment module 105, electricity Monitoring modular 106, the first logging modle 107.
Time judgment module 105, for judging whether current time reaches preset interval time.
Electric quantity monitoring module 106, for if it is judged that current time reaches preset interval time, then monitoring battery to be surplus Remaining electricity.
First logging modle 107, for when the dump energy of battery is less than or equal to the default electricity, record to be described The corresponding relevant information of power consumption test operation.
As another embodiment of the present invention, the control device of the mobile terminal, in addition to:First number judge module 109th, the first terminate module 111.
First number judge module 109, for judging whether testing time reaches default testing time.
First terminate module 111, if for reaching default testing time, terminating test.
The charge control module 104, if being additionally operable to not reach default testing time, controls the mobile terminal to hold Row charging operations.
In embodiments of the present invention, the charge control module 104, including:The connection control of stop module 1041, second Molding block 1042, third connecting control module 1043, second disconnect control module 1044.
Stop module 1041, for closing the power consumption program, to stop power consumption test operation.
Second connection control module 1042, for controlling the charging path of the mobile terminal and the power supply pipe of mobile terminal Manage chip connection.
Third connecting control module 1043, charging path and the battery of mobile terminal for controlling the mobile terminal Supply access connection, to be charged to battery of mobile terminal.
Second disconnects control module 1044, for controlling the supply access and mobile terminal of the battery of mobile terminal to be Circuit of uniting disconnects connection, so that battery of mobile terminal is not powered to circuit system.
As one embodiment of the invention, the control device of the mobile terminal, in addition to:Electricity full value judge module 201, Second logging modle 202.
Electricity full value judge module 201, for judging whether battery electric quantity is reached full of value.
Second logging modle 202, for if it is judged that battery electric quantity is reached full of value, then recording the charging operations pair The relevant information answered.
As another embodiment of the present invention, the control device of the mobile terminal, in addition to:Second number judge module 203rd, the second terminate module 204, jump module 205.
Second number judge module 203, for judging whether testing time reaches default testing time.
Second terminate module 204, if for reaching default testing time, terminating test.
Jump module 205, if for not reaching default testing time, jumping in the power consumption control module to control Make the mobile terminal and perform power consumption test operation.
From the foregoing, it will be observed that the control device of mobile terminal provided in an embodiment of the present invention, by obtaining battery of mobile terminal Current electric quantity;Judge the current electric quantity whether higher than default electricity;If so, then controlling the mobile terminal to perform power consumption test Operation;If it is not, then controlling the mobile terminal to perform charging operations.Therefore, the present invention can be by the charging of mobile terminal and consumption The process of electricity carries out seamless connection, only need to carry out an Initialize installation, just can be with loop test, until the cycle-index of setting Just test is terminated after arrival.Whole test process goes to manage the process of the discharge and recharge of mobile terminal, mobile terminal energy without manpower Automatic to carry out cycle charge-discharge, testing efficiency is high, and test period is short, consequently facilitating in batches, rapidly entering to battery of mobile terminal Row reliability testing.
The control method and device of mobile terminal provided in an embodiment of the present invention belong to same design, and it implements process Refer to specification in full, here is omitted.
Fig. 8 shows the concrete structure block diagram of mobile terminal provided in an embodiment of the present invention, and the mobile terminal can be used for Control method/the device of mobile terminal provided in above-described embodiment is provided.The mobile terminal 1 200 can for smart mobile phone or Tablet personal computer.
As shown in figure 8, mobile terminal 1 200 can include RF (Radio Frequency, radio frequency) circuit 110, include The memory 120 of one or more (one is only shown in figure) computer-readable recording mediums, input block 130, display Unit 140, sensor 150, voicefrequency circuit 160, transport module 170, include one or more than one (only shows one in figure It is individual) processor 180 and the grade part of power supply 190 of processing core.It will be understood by those skilled in the art that the shifting shown in Fig. 8 The dynamic structure of terminal 1200 does not constitute the restriction to mobile terminal 1 200, can include parts more more or less than diagram, or Person combines some parts, or different part arrangements.Wherein:
RF circuits 110 are used to receiving and sending electromagnetic wave, realize the mutual conversion of electromagnetic wave and electric signal, so that with leading to News network or other equipment are communicated.RF circuits 110 may include the various existing circuit elements for being used to perform these functions Part, for example, antenna, RF transceiver, digital signal processor, encryption/solution lock core chip, subscriber identity module (SIM) card, storage Device etc..RF circuits 110 can be communicated or by wireless with various networks such as internet, intranet, wireless network Network is communicated with other equipment.Above-mentioned wireless network may include cellular telephone networks, WLAN or Metropolitan Area Network (MAN). Above-mentioned wireless network can use various communication standards, agreement and technology, including but not limited to global system for mobile communications (Global System for Mobile Communication, GSM), enhanced mobile communication technology (Enhanced Data GSM Environment, EDGE), Wideband CDMA Technology (Wideband Code Division Multiple Access, WCDMA), CDMA (Code Division Access, CDMA), TDMA (Time Division Multiple Access, TDMA), adopting wireless fidelity technology (Wireless Fidelity, Wi-Fi) (such as U.S.'s electricity Gas and Electronic Engineering Association standard IEEE 802.11a, IEEE 802.11b, IEEE802.11g and/or IEEE 802.11n), the networking telephone (Voice over Internet Protocol, VoIP), worldwide interoperability for microwave accesses (Worldwide Interoperability for Microwave Access, Wi-Max), other be used for mail, IMU The agreement of news and short message, and any other suitable communications protocol, or even may include that those are not developed currently yet Agreement.
Memory 120 can be used for the control method of mobile terminal in storage software program and module, such as above-mentioned embodiment/ Corresponding programmed instruction/the module of device, processor 180 is stored in software program and module in memory 120 by operation, So as to perform various function application and data processing, that is, realize the function of the control of mobile terminal.Memory 120 may include height Fast random access memory, may also include nonvolatile memory, such as one or more magnetic storage device, flash memory or other Non-volatile solid state memory.In some instances, memory 120 can further comprise remotely located relative to processor 180 Memory, these remote memories can pass through network connection to mobile terminal 1 200.The example of above-mentioned network is included but not It is limited to internet, intranet, LAN, mobile radio communication and combinations thereof.
Input block 130 can be used for the numeral or character information for receiving input, and generation to be set with user and function The relevant keyboard of control, mouse, action bars, optics or the input of trace ball signal.Specifically, input block 130 may include to touch Sensitive surfaces 131 and other input equipments 132.Touch sensitive surface 131, also referred to as touch display screen or Trackpad, collect and use (such as user is using any suitable objects such as finger, stylus or annex in touch-sensitive table for touch operation of the family on or near it Operation on face 131 or near touch sensitive surface 131), and corresponding attachment means are driven according to formula set in advance.It is optional , touch sensitive surface 131 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus detection is used The touch orientation at family, and the signal that touch operation is brought is detected, transmit a signal to touch controller;Touch controller is from touch Touch information is received in detection means, and is converted into contact coordinate, then gives processor 180, and can reception processing device 180 The order sent simultaneously is performed.Furthermore, it is possible to using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves Realize touch sensitive surface 131.Except touch sensitive surface 131, input block 130 can also include other input equipments 132.Specifically, Other input equipments 132 can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.), One or more in trace ball, mouse, action bars etc..
Display unit 140 can be used for the information and mobile terminal for showing the information inputted by user or being supplied to user 1200 various graphical user interface, these graphical user interface can be by figure, text, icon, video and its any combination To constitute.Display unit 140 may include display panel 141, optionally, can use LCD (Liquid Crystal Display, liquid crystal display), the form such as OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) comes Configure display panel 141.Further, touch sensitive surface 131 can cover display panel 141, when touch sensitive surface 131 is detected at it On or near touch operation after, send processor 180 to determine the type of touch event, with preprocessor 180 according to touch The type for touching event provides corresponding visual output on display panel 141.Although in fig. 8, touch sensitive surface 131 and display surface Plate 141 is that input and input function are realized as two independent parts, but in some embodiments it is possible to by touch-sensitive table Face 131 and display panel 141 are integrated and realize input and output function.
Mobile terminal 1 200 may also include at least one sensor 150, such as optical sensor, motion sensor and other Sensor.Specifically, optical sensor may include ambient light sensor and proximity transducer, wherein, ambient light sensor can basis The light and shade of ambient light adjusts the brightness of display panel 141, proximity transducer can when mobile terminal 1 200 is moved in one's ear, Close display panel 141 and/or backlight.As one kind of motion sensor, gravity accelerometer can detect all directions The size of upper (generally three axles) acceleration, can detect that size and the direction of gravity, available for identification mobile phone posture when static Application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, strikes Hit) etc.;Gyroscope, barometer, hygrometer, thermometer, infrared ray sensor for can also configure as mobile terminal 1 200 etc. its His sensor, will not be repeated here.
Voicefrequency circuit 160, loudspeaker 161, the audio that microphone 162 can be provided between user and mobile terminal 1 200 connect Mouthful.Electric signal after the voice data received conversion can be transferred to loudspeaker 161, by loudspeaker 161 by voicefrequency circuit 160 Be converted to voice signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 162, by voicefrequency circuit 160 receive after be converted to voice data, then after voice data output processor 180 is handled, through RF circuits 110 to be sent to ratio Such as another terminal, or voice data is exported to memory 120 so as to further processing.Voicefrequency circuit 160 is also possible that Earphone jack, to provide the communication of peripheral hardware earphone and mobile terminal 1 200.
Mobile terminal 1 200 by transport module 170 (for example Wi-Fi module or, the mobile data of mobile terminal itself Network) user can be helped to pay, send and receive e-mail, webpage is browsed and access streaming video etc., it has provided the user nothing The broadband internet of line is accessed.Although Fig. 8 shows transport module 170, but it is understood that, it is simultaneously not belonging to mobile whole Must be configured into for end 1200, can be omitted in the essential scope for do not change invention as needed completely.
Processor 180 is the control centre of mobile terminal 1 200, utilizes each of various interfaces and connection whole mobile phone Individual part, by operation or performs and is stored in software program and/or module in memory 120, and calls and be stored in storage Data in device 120, perform the various functions and processing data of mobile terminal 1 200, so as to carry out integral monitoring to mobile phone.Can Choosing, processor 180 may include one or more processing cores;It is preferred that, processor 180 can integrated application processor and modulation Demodulation processor, wherein, application processor mainly handles operating system, user interface and application program etc., modulation /demodulation processing Device mainly handles radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 180.
Mobile terminal 1 200 also includes the power supply 190 (such as battery) powered to all parts, it is preferred that power supply can lead to Cross power-supply management system and processor 180 be logically contiguous, thus by power-supply management system realize management charging, electric discharge and The functions such as power managed.Power supply 190 can also include one or more direct current or AC power, recharging system, electricity The random component such as source failure detector circuit, power supply changeover device or inverter, power supply status indicator.
Although not shown, mobile terminal 1 200 can also include camera, bluetooth module etc..It will not be repeated here.In addition, Mobile terminal also includes memory, and one or more than one program, and one of them or more than one program is deposited It is stored in memory, and is configured to by one or more than one computing device one or more than one program bag are containing using In the instruction for carrying out following operation:
Obtain the current electric quantity of battery of mobile terminal;
Judge the current electric quantity whether higher than default electricity;
If so, then controlling the mobile terminal to perform power consumption test operation;
If it is not, then controlling the mobile terminal to perform charging operations.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can To instruct the hardware of correlation to complete by program, the program can be stored in a computer-readable recording medium, storage Medium can include:Read-only storage (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc..
In summary, although the present invention it is disclosed above with preferred embodiment, but above preferred embodiment and be not used to limit The system present invention, one of ordinary skill in the art without departing from the spirit and scope of the present invention, can make various changes and profit Adorn, therefore protection scope of the present invention is defined by the scope that claim is defined.

Claims (15)

1. a kind of control method of mobile terminal, it is characterised in that comprise the following steps:
Obtain the current electric quantity of battery of mobile terminal;
Judge the current electric quantity whether higher than default electricity;
If so, then controlling the mobile terminal to perform power consumption test operation;
If it is not, then controlling the mobile terminal to perform charging operations.
2. the control method of mobile terminal as claimed in claim 1, it is characterised in that the control mobile terminal performs power consumption The step of test operation, including:
Control the charging path of the mobile terminal to disconnect with the power management chip of mobile terminal to connect;
The supply access of the battery of mobile terminal is controlled to be connected with the circuit system of mobile terminal;
Default power consumption program is opened, to carry out the battery electric quantity for consuming mobile terminal.
3. the control method of mobile terminal as claimed in claim 1 or 2, it is characterised in that held in the control mobile terminal After the step of row power consumption test operation, in addition to:
Judge whether current time reaches preset interval time;
If so, then monitoring the dump energy of battery;
When the dump energy of battery is less than or equal to the default electricity, the corresponding related letter of the power consumption test operation is recorded Breath.
4. the control method of the mobile terminal as described in claim 1 or 2 or 3, it is characterised in that in the control mobile terminal After the step of performing power consumption test operation, in addition to:
Judge whether testing time reaches default testing time;
If reaching default testing time, terminate test;
If not reaching default testing time, the step of control mobile terminal performs charging operations is performed.
5. the control method of mobile terminal as claimed in claim 1, it is characterised in that the control mobile terminal performs charging The step of operation, including:
The power consumption program is closed, to stop power consumption test operation;
The charging path of the mobile terminal is controlled to be connected with the power management chip of mobile terminal;
The charging path of the mobile terminal is controlled to be connected with the supply access of the battery of mobile terminal, with to mobile terminal electricity Charge in pond;
Control the supply access of the battery of mobile terminal to disconnect with the circuit system of mobile terminal to connect, so that mobile terminal is electric Pond does not power to circuit system.
6. the control method of the mobile terminal as described in claim 1 or 5, it is characterised in that held in the control mobile terminal After the step of row charging operations, in addition to:
Judge whether battery electric quantity is reached full of value;
If so, then recording the corresponding relevant information of the charging operations.
7. the control method of mobile terminal as claimed in claim 6, it is characterised in that judge whether battery electric quantity reaches described After the step of to full of value, in addition to:
Judge whether testing time reaches default testing time;
If reaching default testing time, terminate test;
If not reaching default testing time, the step that the control mobile terminal performs power consumption test operation is jumped to Suddenly.
8. a kind of control device of mobile terminal, it is characterised in that including:
Electricity acquisition module, the current electric quantity for obtaining battery of mobile terminal;
Electricity judge module, for judging the current electric quantity whether higher than default electricity;
Power consumption control module, for when judging the current electric quantity higher than default electricity, then controlling the mobile terminal execution Power consumption test operation;
Charge control module, for when judging the current electric quantity less than or equal to default electricity, then controlling described mobile whole End performs charging operations.
9. the control device of mobile terminal as claimed in claim 8, it is characterised in that the power consumption control module, including:
First disconnects control module, for controlling the charging path of the mobile terminal and the power management chip of mobile terminal to break Open connection;
First connection control module, for controlling the supply access of the battery of mobile terminal and the circuit system of mobile terminal to connect It is logical;
Program opening module, for opening default power consumption program, to carry out the battery electric quantity for consuming mobile terminal.
10. the control device of mobile terminal as claimed in claim 8 or 9, it is characterised in that also include:
Time judgment module, for judging whether current time reaches preset interval time;
Electric quantity monitoring module, for if it is judged that current time arrival preset interval time, then monitor the dump energy of battery;
First logging modle, for when the dump energy of battery is less than or equal to the default electricity, recording the power consumption and surveying The corresponding relevant information of examination operation.
11. the control device of mobile terminal as claimed in claim 10, it is characterised in that also include:
First number judge module, for judging whether testing time reaches default testing time;
First terminate module, if for reaching default testing time, terminating test;
The charge control module, if being additionally operable to not reach default testing time, controls the mobile terminal to perform charging Operation.
12. the control device of mobile terminal as claimed in claim 8, it is characterised in that the charge control module, including:
Stop module, for closing the power consumption program, to stop power consumption test operation;
Second connection control module, for controlling the charging path of the mobile terminal and the power management chip of mobile terminal to connect It is logical;
Third connecting control module, for controlling the charging path of the mobile terminal to lead to the power supply of the battery of mobile terminal Road is connected, to be charged to battery of mobile terminal;
Second disconnects control module, for controlling the supply access of the battery of mobile terminal and the circuit system of mobile terminal to break Connection is opened, so that battery of mobile terminal is not powered to circuit system.
13. the control device of the mobile terminal as described in claim 8 or 12, it is characterised in that also include:
Electricity full value judge module, for judging whether battery electric quantity is reached full of value;
Second logging modle, for if it is judged that battery electric quantity is reached full of value, then recording the corresponding phase of the charging operations Close information.
14. the control device of mobile terminal as claimed in claim 13, it is characterised in that also include:
Second number judge module, for judging whether testing time reaches default testing time;
Second terminate module, if for reaching default testing time, terminating test;
Jump module, if for not reaching default testing time, jumping to described to control in the power consumption control module Mobile terminal performs power consumption test operation.
15. a kind of mobile terminal, it is characterised in that including memory and processor, the processor and the memory pass through Bus is connected;The memory is used to store batch processing code, and the processor is used to call what is stored in the memory Program code, performs following operation:
Obtain the current electric quantity of battery of mobile terminal;
Judge the current electric quantity whether higher than default electricity;
If so, then controlling the mobile terminal to perform power consumption test operation;
If it is not, then controlling the mobile terminal to perform charging operations.
CN201710142627.4A 2017-03-10 2017-03-10 A kind of control method of mobile terminal, device and mobile terminal Pending CN106973138A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710142627.4A CN106973138A (en) 2017-03-10 2017-03-10 A kind of control method of mobile terminal, device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710142627.4A CN106973138A (en) 2017-03-10 2017-03-10 A kind of control method of mobile terminal, device and mobile terminal

Publications (1)

Publication Number Publication Date
CN106973138A true CN106973138A (en) 2017-07-21

Family

ID=59329640

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710142627.4A Pending CN106973138A (en) 2017-03-10 2017-03-10 A kind of control method of mobile terminal, device and mobile terminal

Country Status (1)

Country Link
CN (1) CN106973138A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107942260A (en) * 2017-12-11 2018-04-20 上海木爷机器人技术有限公司 A kind of control method and system of battery charging and discharging test
CN110767946A (en) * 2018-07-27 2020-02-07 Oppo(重庆)智能科技有限公司 Method and device for controlling discharging of mobile terminal and mobile terminal
CN111221736A (en) * 2020-01-08 2020-06-02 北京金山安全软件有限公司 Equipment power consumption method and device and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1355586A (en) * 2000-12-01 2002-06-26 神基科技股份有限公司 Automatic test method and device for battery
US20120041698A1 (en) * 2011-10-27 2012-02-16 Sakti3, Inc. Method and system for operating a battery in a selected application
CN102752429A (en) * 2012-06-30 2012-10-24 成都西可科技有限公司 Automatic mobile phone battery endurance test method based on Android system
CN103376413A (en) * 2012-04-20 2013-10-30 凹凸电子(武汉)有限公司 Test system of battery and method for controlling test system of battery
CN104635164A (en) * 2015-01-26 2015-05-20 上海天奕达电子科技有限公司 Battery charging and discharging stability testing method of intelligent terminal and intelligent terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1355586A (en) * 2000-12-01 2002-06-26 神基科技股份有限公司 Automatic test method and device for battery
US20120041698A1 (en) * 2011-10-27 2012-02-16 Sakti3, Inc. Method and system for operating a battery in a selected application
CN103376413A (en) * 2012-04-20 2013-10-30 凹凸电子(武汉)有限公司 Test system of battery and method for controlling test system of battery
CN102752429A (en) * 2012-06-30 2012-10-24 成都西可科技有限公司 Automatic mobile phone battery endurance test method based on Android system
CN104635164A (en) * 2015-01-26 2015-05-20 上海天奕达电子科技有限公司 Battery charging and discharging stability testing method of intelligent terminal and intelligent terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107942260A (en) * 2017-12-11 2018-04-20 上海木爷机器人技术有限公司 A kind of control method and system of battery charging and discharging test
CN110767946A (en) * 2018-07-27 2020-02-07 Oppo(重庆)智能科技有限公司 Method and device for controlling discharging of mobile terminal and mobile terminal
CN110767946B (en) * 2018-07-27 2021-08-24 Oppo(重庆)智能科技有限公司 Method and device for controlling discharging of mobile terminal and mobile terminal
CN111221736A (en) * 2020-01-08 2020-06-02 北京金山安全软件有限公司 Equipment power consumption method and device and electronic equipment

Similar Documents

Publication Publication Date Title
CN105320598B (en) Method for testing software and device
CN103500002B (en) The method of application program management, device and terminal unit
CN106340925B (en) A kind of charge control method, device and terminal
CN107092520A (en) Recommendation method, device, storage medium and the mobile terminal of application program
CN110035447A (en) A kind of measuring configuration method and terminal device
CN107203147B (en) Internet of Things network control system based on cloud platform and method
CN104346276B (en) The method and device of software test
CN106484326B (en) A kind of data transmission processing method and mobile terminal
CN110085934A (en) A kind of charging method and mobile terminal of end cell
CN110058850A (en) A kind of development approach of application, device and storage medium
CN106708633B (en) The method and mobile terminal of increasing terminal WiFi workstation mode closing velocities
CN108594120A (en) Detection method, device and the computer readable storage medium of battery status
CN106649010A (en) Terminal device testing method and terminal device
CN106973138A (en) A kind of control method of mobile terminal, device and mobile terminal
CN108879842A (en) Charge control method, mobile terminal and computer readable storage medium
CN106454976B (en) A kind of switching method of wireless network, device and terminal
CN108874708A (en) OTG equipment, terminal charging method, mobile terminal and computer readable storage medium
WO2021114699A1 (en) Signal strength reporting method and apparatus, storage medium and terminal device
CN105357657B (en) The construction method and device of Mesh network
CN109245195A (en) The method, apparatus and storage device of mobile terminal and charging process
CN107066374A (en) A kind of data processing method and mobile terminal
CN105635553A (en) Image shooting method and device
CN109189515A (en) A kind of application starting method, terminal and computer readable storage medium
CN106484141B (en) The setting method and mobile terminal of threshold value
CN105282330B (en) The method and device of automatic connection network

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170721