WO2016198003A1 - Mobile terminal power source management method and device, and mobile terminal - Google Patents

Mobile terminal power source management method and device, and mobile terminal Download PDF

Info

Publication number
WO2016198003A1
WO2016198003A1 PCT/CN2016/086448 CN2016086448W WO2016198003A1 WO 2016198003 A1 WO2016198003 A1 WO 2016198003A1 CN 2016086448 W CN2016086448 W CN 2016086448W WO 2016198003 A1 WO2016198003 A1 WO 2016198003A1
Authority
WO
WIPO (PCT)
Prior art keywords
mobile terminal
power
state
battery
threshold
Prior art date
Application number
PCT/CN2016/086448
Other languages
French (fr)
Chinese (zh)
Inventor
任斌
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016198003A1 publication Critical patent/WO2016198003A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0068Battery or charger load switching, e.g. concurrent charging and load supply
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M10/00Secondary cells; Manufacture thereof
    • H01M10/42Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
    • H01M10/44Methods for charging or discharging
    • H01M10/446Initial charging measures
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M10/00Secondary cells; Manufacture thereof
    • H01M10/42Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
    • H01M10/44Methods for charging or discharging
    • H01M10/448End of discharge regulating measures
    • 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
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Definitions

  • This document relates to, but is not limited to, power detection technology, and relates to a mobile terminal power management method, apparatus, and mobile terminal.
  • the power consumption of the mobile terminal is gradually accelerated. In this way, when using the mobile terminal, people need to charge the mobile terminal anytime and anywhere to maintain the normal operation of the mobile terminal.
  • Devices that can now charge mobile terminals have fixed power, mobile power, and devices with USB (Universal Serial Bus) interfaces, which can charge mobile terminals, and different charging devices to charge mobile terminals.
  • the current provided will be different; for the convenience of charging, most mobile terminals use the same line for charging and data.
  • Some application functions provided by mobile terminals such as: playing games on large screens, watching videos, data transmission consumption
  • the current tends to be large; in this case, when the mobile terminal is in use, when charging is required, the charging current may be smaller than the actual mobile terminal operating current consumption, and thus, the mobile terminal may be in use during use.
  • Even when charging there is a case where the power consumption is greater than the charging power, and then the mobile terminal automatically shuts down after the power is consumed. At this time, if the mobile terminal is charged, the mobile terminal will restart, but if the input power is insufficient to complete the power required for the entire booting operation and then shut down again, then it will continue to cycle until the power is gradually recovered.
  • Embodiments of the present invention provide a mobile terminal power management method, apparatus, and mobile terminal, which can implement good control of a mobile terminal power source that is charged during use.
  • the embodiment of the invention provides a mobile terminal power management method, and the method includes:
  • the charge and discharge state of the power supply of the mobile terminal is judged based on the detected differential pressure.
  • the power supply of the mobile terminal is in a discharged state when a voltage difference between a side to which the charging chip and the main board is connected and a side to which the positive electrode of the battery is connected is less than or equal to zero.
  • the method further includes:
  • the mobile terminal power supply is subjected to control processing.
  • the method further includes: setting a first threshold and a second threshold of the power state of the mobile terminal power;
  • performing control processing on the power of the mobile terminal includes:
  • the method further includes:
  • the charging and discharging state of the power supply of the mobile terminal is output.
  • the present invention also provides a mobile terminal power management apparatus, the apparatus comprising:
  • the power detecting unit is configured to detect a voltage difference between a side of the switch circuit connected to the charging chip and the main board and a side connected to the positive electrode of the battery when the battery is charged and discharged;
  • the state judging unit is configured to judge the state of charge and discharge of the power of the mobile terminal based on the detected voltage difference.
  • the state determining unit is configured to: when the voltage difference between the side connecting the charging chip and the main board and the side connecting the positive electrode of the battery is greater than zero, the power supply of the mobile terminal is in a charging state; The voltage difference between one side of the main board and the side connected to the positive pole of the battery is less than or equal to zero, and the power supply of the mobile terminal is in a discharged state.
  • the device further includes:
  • the power control unit is configured to perform control processing on the power of the mobile terminal when the power of the mobile terminal is in a discharged state.
  • the power detecting unit is further configured to set a first threshold and a second threshold of the power state of the mobile terminal power
  • the power control unit is configured to: detect a power state state value of the mobile terminal; and perform power reduction processing on the power of the mobile terminal when the power state value of the mobile terminal is less than the first threshold; When the power state value is greater than the first threshold, and the mobile terminal power state value is less than or equal to the second threshold, the power consumption of the mobile terminal is controlled.
  • the device further includes:
  • the output unit is configured to output a charge and discharge state of the power of the mobile terminal.
  • the embodiment of the present invention further provides a mobile terminal, where the mobile terminal includes any of the mobile terminal power management devices described above.
  • the embodiment of the present invention further provides a computer readable storage medium, where the computer readable storage medium stores computer executable instructions, and when the computer executable instructions are executed, implements a mobile terminal power management method.
  • the method and device for managing power of a mobile terminal and the mobile terminal provided by the embodiment of the present invention, when the battery is charged and discharged, detecting a voltage difference between a side of the switch circuit connecting the charging chip and the main board and a side connecting the positive electrode of the battery; The detected differential pressure determines the charge and discharge state of the mobile terminal power supply; and when it is determined that the mobile terminal power supply is in the discharged state, the mobile terminal power supply is subjected to control processing.
  • the above technical solution enables the user to know the input and output of the mobile terminal power and the state of the power supply of the mobile terminal in time, and can intuitively understand the time that the mobile terminal can still be used, and the mobile terminal can also reasonably control the power supply according to the state of the power source. Output. Other aspects will be apparent upon reading and understanding the drawings and detailed description.
  • FIG. 1 is a schematic flowchart of an implementation process of a power management method for a mobile terminal according to Embodiment 1 of the present invention
  • FIG. 2 is a schematic diagram of a monitoring point of a power supply of a mobile terminal according to Embodiment 2 of the present invention
  • FIG. 3 is a schematic flowchart of an implementation process of a power management method for a mobile terminal according to Embodiment 2 of the present invention.
  • FIG. 4 is a schematic diagram of a data detection process of a power supply of a mobile terminal according to Embodiment 2 of the present invention.
  • FIG. 5 is a schematic diagram of a control operation process of a system according to a state of a power source of a mobile terminal according to Embodiment 2 of the present invention
  • FIG. 6 is a schematic structural diagram of a structure of a power management device for a mobile terminal according to Embodiment 3 of the present invention.
  • FIG. 1 is a schematic flowchart of a method for implementing a power management method for a mobile terminal according to an embodiment of the present invention.
  • a power management method for a mobile terminal provided in this embodiment includes:
  • Step 101 when the battery is charged and discharged, detecting a voltage difference between the charging circuit and the side of the main board and the positive side of the connected battery;
  • Step 102 Determine a charging and discharging state of the power supply of the mobile terminal according to the detected pressure difference
  • the determining the charging and discharging state of the power supply of the mobile terminal comprises: when the voltage difference between the side connecting the charging chip and the main board and the side connecting the positive pole of the battery is greater than zero, the power supply of the mobile terminal is in a charging state; When the voltage difference between the side of the charging chip and the main board and the side connecting the positive electrode of the battery is less than or equal to zero, the power supply of the mobile terminal is in a discharged state.
  • the method further includes:
  • the mobile terminal power supply is controlled.
  • the method further includes: setting a first threshold and a second threshold of the power state of the mobile terminal power;
  • ten percent of the power state of the mobile terminal power source may be set as a first threshold.
  • the value and the twenty percent of the state of the mobile terminal power state are a second threshold;
  • performing control processing on the power of the mobile terminal includes:
  • controlling the power consumption of the mobile terminal may be to disable a part of the function of the mobile terminal, or set a wireless network card (WIFI) to a single input single output (SISO) mode.
  • WIFI wireless network card
  • SISO single input single output
  • the method further includes: outputting a charge and discharge state of the power of the mobile terminal.
  • the method further includes: setting the acquisition time; correspondingly, periodically collecting the voltage value of the point between the charging chip and the battery and the voltage value between the motherboard and the battery according to the set acquisition time.
  • the mobile terminal power management method is introduced in conjunction with the WIFI function of the mobile terminal.
  • the detection point of the mobile terminal power supply is briefly introduced. As shown in FIG. 2, the mobile terminal power supply detection is performed. The point A is located between the charging chip and the battery, the detection point B of the mobile terminal power is located between the main board and the battery, and the switching circuit between the detecting points A and B includes a diode.
  • the mobile terminal power management method is briefly introduced in conjunction with FIG. 2 and FIG. 3, and the mobile terminal power management method includes:
  • Step 301 When the external power supply (VCC, Volt Current Condenser) is connected to the mobile terminal charging chip, the central processing unit (CPU, Central Processing Unit) of the mobile terminal can detect that there is external through the General Purpose Input Output (GPIO). Charging power connection;
  • VCC Volt Current Condenser
  • CPU Central Processing Unit
  • Step 302 separately collect one end of the diode anode connected to the charging chip and two poles connected to the battery The voltage at one end of the anode of the tube can determine the state of charge and discharge of the battery according to the voltage of the collected diode;
  • Step 303 Control the operating system of the mobile terminal according to the state of charge and discharge of the battery, and prompt the user.
  • step 301 is to connect an external charging power source, which may be: a personal computer (PC) machine with a universal serial interface (USB) or a notebook. 5V power supply provided by various power adapters; after the external charging power supply is connected to the charging chip, the GPIO connected to the input end of the charging chip is pulled to a high level, and the CPU of the mobile terminal can detect the PC or the notebook as an external charging power source through the GPIO. Access. At the same time, the charging chip output current of the mobile terminal supplies power to the motherboard and the battery.
  • PC personal computer
  • USB universal serial interface
  • 5V power supply provided by various power adapters
  • the battery When the power consumption current of the motherboard is less than the output current of the charging chip, the battery will be in a charging state, and the voltage at point B will be higher than point A; the current consumed by the motherboard is greater than the charging current.
  • the battery When the current is output from the chip, the battery will also output a part of the current, which is added together with the output current of the charging chip to meet the power consumption of the motherboard. The battery will be in a discharging state, and the voltage at point A will be higher than point B.
  • the analog-to-digital (AD) conversion chip connected to the two points A and B collects the voltage, and the CPU obtains the voltage values of the two points A and B through the AD conversion chip, and further determines the charge and discharge state of the battery according to the voltage values of the two points. And according to the state of charge and battery power, the corresponding control operation.
  • AD analog-to-digital
  • the following describes the control of the mobile terminal according to the state of charge of the mobile terminal and the state of the battery state of the mobile terminal.
  • the mobile terminal is a Long Term Evolution (LTE) mobile broadband router device, and provides an access point (AP, Access Point) function of the WIFI access, with a liquid crystal display (LCD) display.
  • the screen can display system information on the screen.
  • the device has a dial switch, that is, physically has two states of switch: ON and OFF.
  • 4 is a schematic diagram of a data detection process of a power supply of a mobile terminal according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of a control process of a mobile terminal according to a state of a power supply of a mobile terminal according to an embodiment of the present invention.
  • the data detection process of the mobile terminal power supply includes:
  • Step 401 the software detection module starts a timer, wherein the period of the timer may be one second;
  • Step 402 reading the level of the GPIO and reading the battery power, when the battery power changes, transmitting the new power to the mobile terminal;
  • Step 403 when the GPIO level is high, send a message to the software control module to insert the charger, step 404 is performed, when the GPIO level is low, return to step 401;
  • Step 404 restart a timer to check the voltages of the two points A and B, and calculate the difference between the two voltages;
  • Step 405 Compare the magnitudes of the voltage values of points A and B. If B is greater than A, perform step 407 to send a message of battery charging to the software control module, and then perform step 401. If A is greater than B, execute step 406 to the software. The control module sends a message that the battery is discharged, and then step 401 is performed.
  • the operation process of controlling the mobile terminal according to the state of the power of the mobile terminal includes:
  • Step 501 The software control module receives a message for connecting to the charging power source.
  • Step 502 analyzing the status of the data
  • the data refers to an input voltage and an output voltage of a power supply of the mobile terminal
  • Step 503 it is determined whether it is a false shutdown state, if it is a false shutdown state, step 504 is performed; if it is not a false shutdown state, step 505 is performed;
  • Step 504 it is determined whether the battery power is less than 20% of the battery content, if it is less than 20% of the battery content, then return to step 501, if it is higher than or equal to 20% of the battery content, step 506 is performed;
  • Step 505 it is determined whether the power is connected, if the power is connected, step 507 is performed, if the power is not connected, then return to step 501;
  • Step 506 when the battery power is not lower than 20% of the battery content, turn on all system functions, return to step 501;
  • Step 507 in the state of connecting the power source, determining whether it is in a charging state, if it is charging State, step 508 is performed, if it is discharged state, step 509 is performed;
  • Step 508 displaying a charging icon, ending the current processing flow
  • Step 509 displaying a flashing battery icon
  • Step 510 it is determined whether the battery power is less than 20% of the battery content, if not less than 20% of the battery content, then return to step 501, if it is less than 20% of the battery content, step 511 is performed;
  • Step 511 determining the battery power, when the battery power is less than 10% of the battery content and greater than 0, step 512 is performed, when the battery power is equal to 0, step 513 is performed;
  • Step 512 setting WIFI (Wireless FIdelity) to SISO ((Simple Input Simple Output) mode, then return to step 501;
  • WIFI Wireless FIdelity
  • SISO Simple Input Simple Output
  • step 513 all functions are turned off, the mobile terminal enters a sleep state, and then returns to step 501.
  • the battery state can be displayed on the LCD (Liquid Crystal Display) according to the state of charge and discharge of the battery. If it is in the charging state, the icon is a scrolling charging animation. If the charger is connected and the battery is discharged, the display is green. Blinking state, prompting the user that although the charging power is connected, it is not charged.
  • LCD Liquid Crystal Display
  • the software control module modifies the SIFI mode from the MIMO (Multiple-Input Multiple-Output) mode to save power.
  • MIMO Multiple-Input Multiple-Output
  • the software control module turns off all functions of the system, but does not shut down the system.
  • the current consumed by the motherboard is very small, far less than the output current of the charging chip, so the battery will be charged at this time.
  • Only the software detection module and the software control module are running, and the mobile terminal is in an idle state and charged state. During the charging process, when the battery reaches 20%, the mobile terminal can turn on all normal functions again.
  • the mobile terminal power management method provided by the embodiment of the invention enables the user to know the input and output of the mobile terminal power and the state of the power supply of the mobile terminal in time, and can intuitively understand the available time of the mobile terminal, and the mobile terminal can also be based on the state of the power source. Reasonably control the output of its own power supply.
  • the embodiment of the invention further provides a mobile terminal power management device. As shown in FIG. 6, the device includes:
  • the power detecting unit 601 is configured to detect a voltage difference between the charging chip and the side of the main board and the side connecting the positive pole of the battery when the battery is charged and discharged;
  • the state judging unit 602 is configured to judge the state of charge and discharge of the power source of the mobile terminal based on the detected voltage difference.
  • the device further includes:
  • the power control unit is configured to perform control processing on the power of the mobile terminal when the power of the mobile terminal is in a discharged state.
  • the power detecting unit 601 is specifically configured to connect a charging chip and a side of the main board to a side opposite to a positive side of the battery to be greater than zero, and the mobile terminal power is in a charging state; otherwise, the mobile terminal power is in a Discharge status.
  • the power detecting unit 601 is further configured to set a first threshold and a second threshold of the power state of the mobile terminal; the power regulating unit is configured to: detect a power state value of the mobile terminal; When the mobile terminal power state value is less than the first threshold, performing power reduction processing on the mobile terminal power; the mobile terminal power state value is greater than a first threshold and the mobile terminal power state value is less than When the second threshold is equal to or equal to, the power consumption of the mobile terminal is controlled.
  • the device further includes:
  • the output unit is configured to output a charge and discharge state of the power of the mobile terminal.
  • the power detecting unit is in the switching circuit between the charging chip and the main board and the battery, and at any position on the side where the switching circuit is connected to the charging chip and the main board, and the sampling point is connected to the battery at any position on the side of the battery. Then, the state judging unit respectively collects voltage values of different collection points, and then judges the charging and discharging state of the mobile terminal power source according to the collected voltage values.
  • the embodiment of the present invention further provides a mobile terminal, which may include any of the foregoing mobile terminal power management devices.
  • the power detecting unit 601, the state determining unit 602, the power regulating unit, and the output unit may each be a CPU or a microprocessor (Micro Processor) located in the terminal. Unit, MPU), Digital Signal Processor (DSP), or Field Programmable Gate Array (FPGA).
  • MPU Micro Processor
  • DSP Digital Signal Processor
  • FPGA Field Programmable Gate Array
  • the mobile terminal power management method, device and mobile terminal provided by the embodiments of the present invention enable the user to know the input and output of the mobile terminal power and the power consumption of the mobile terminal in time by judging the charging and discharging state of the mobile terminal during the charging process of the mobile terminal.
  • the state can intuitively understand the time that the mobile terminal can also be used, and the mobile terminal can also reasonably control the output of its own power according to the state of its own power source.
  • each module/unit in the above embodiment may be implemented in the form of hardware, for example, by implementing an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, executing a program stored in the memory by a processor. / instruction to achieve its corresponding function.
  • This application is not limited to any specific combination of hardware and software.
  • the above technical solution enables the user to know the input and output of the mobile terminal power and the state of the power supply of the mobile terminal in time, and can intuitively understand the time that the mobile terminal can still be used, and the mobile terminal can also reasonably control the power supply according to the state of the power source. Output.

Abstract

A mobile terminal power source management method, comprising: when a battery is charged or discharged, detecting a voltage difference between one side of a switch circuit, which is connected to a charging chip and a mainboard, and the other side thereof connected to the positive electrode of the battery (101); and judging a charging or discharging state of a mobile terminal power source according to the detected voltage difference (102). By means of the technical solution, a user can promptly know the input and output of a mobile terminal power source and a state of the electric quantity of the mobile terminal power source, and can intuitively know how long the mobile terminal can be further used, and the mobile terminal can also rationally control the output of the power source thereof according to the state of the power source thereof.

Description

一种移动终端电源管理方法、装置和移动终端Mobile terminal power management method, device and mobile terminal 技术领域Technical field
本文涉及但不限于电源检测技术,涉及一种移动终端电源管理方法、装置和移动终端。This document relates to, but is not limited to, power detection technology, and relates to a mobile terminal power management method, apparatus, and mobile terminal.
背景技术Background technique
随着移动终端功能和硬件设备的增加,比如:提供上网功能、视频播放等娱乐功能,移动终端屏幕增大等等,都会使移动终端的耗电量逐渐加快。这样,人们在使用移动终端时,需要随时随地的对移动终端进行充电,以维持移动终端的正常工作。With the increase of mobile terminal functions and hardware devices, such as providing Internet access functions, video playback and other entertainment functions, increasing the screen of mobile terminals, etc., the power consumption of the mobile terminal is gradually accelerated. In this way, when using the mobile terminal, people need to charge the mobile terminal anytime and anywhere to maintain the normal operation of the mobile terminal.
现在能够为移动终端充电的设备有固定电源、移动电源以及具有USB(Universal Serial Bus,通用串行总线)接口的设备,这些设备都可以为移动终端充电,不同的充电设备,为移动终端电源充电时提供的电流会不同;为了充电方便,大多数移动终端充电和数据使用同一根线,对于移动终端提供的一些应用功能来说,如:在大屏幕上玩游戏、看视频,数据传输消耗的电流往往较大;这种情况下,移动终端使用过程中,需要充电时,可能会面临充电电流比实际移动终端工作消耗电流要小的情况发生,如此,就会导致移动终端在使用过程中,即使在充电,也会存在消耗电量大于充电电量的情况,进而出现电量被耗完后移动终端自动关机。这时,如果对移动终端充电,移动终端会重新启动,但又会由于输入的电量不够完成整个开机操作过程所需的电量而再次关机,那么,就会一直这样循环直到电量逐渐恢复。Devices that can now charge mobile terminals have fixed power, mobile power, and devices with USB (Universal Serial Bus) interfaces, which can charge mobile terminals, and different charging devices to charge mobile terminals. The current provided will be different; for the convenience of charging, most mobile terminals use the same line for charging and data. For some application functions provided by mobile terminals, such as: playing games on large screens, watching videos, data transmission consumption The current tends to be large; in this case, when the mobile terminal is in use, when charging is required, the charging current may be smaller than the actual mobile terminal operating current consumption, and thus, the mobile terminal may be in use during use. Even when charging, there is a case where the power consumption is greater than the charging power, and then the mobile terminal automatically shuts down after the power is consumed. At this time, if the mobile terminal is charged, the mobile terminal will restart, but if the input power is insufficient to complete the power required for the entire booting operation and then shut down again, then it will continue to cycle until the power is gradually recovered.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
本发明实施例提供一种移动终端电源管理方法、装置和移动终端,能够实现对使用过程中充电的移动终端电源的良好控制。Embodiments of the present invention provide a mobile terminal power management method, apparatus, and mobile terminal, which can implement good control of a mobile terminal power source that is charged during use.
本发明实施例提供了一种移动终端电源管理方法,所述方法包括: The embodiment of the invention provides a mobile terminal power management method, and the method includes:
在电池充放电时,检测开关电路连接充电芯片和主板的一侧与连接电池正极的一侧之间的压差;When the battery is charged and discharged, detecting a voltage difference between a side of the switch circuit connecting the charging chip and the main board and a side connecting the positive electrode of the battery;
根据所检测到的压差判断移动终端电源的充放电状态。The charge and discharge state of the power supply of the mobile terminal is judged based on the detected differential pressure.
可选地,所述判断移动终端电源的充放电状态包括:在连接充电芯片和主板的一侧与连接电池正极的一侧之间的压差大于零时,所述移动终端电源处于充电状态;在连接充电芯片和主板的一侧与连接电池正极的一侧之间的压差小于或等于零时,所述移动终端电源处于放电状态。Optionally, the determining, by the charging and discharging state of the power supply of the mobile terminal, that when the voltage difference between the side connecting the charging chip and the main board and the side connecting the positive pole of the battery is greater than zero, the power supply of the mobile terminal is in a charging state; The power supply of the mobile terminal is in a discharged state when a voltage difference between a side to which the charging chip and the main board is connected and a side to which the positive electrode of the battery is connected is less than or equal to zero.
可选地,所述方法还包括:Optionally, the method further includes:
在所述移动终端电源处于放电状态时,对所述移动终端电源进行控制处理。When the power of the mobile terminal is in a discharged state, the mobile terminal power supply is subjected to control processing.
可选地,所述方法还包括:设定所述移动终端电源电量状态的第一阈值和第二阈值;Optionally, the method further includes: setting a first threshold and a second threshold of the power state of the mobile terminal power;
在所述移动终端电源处于放电状态时,对所述移动终端电源进行控制处理包括:When the power of the mobile terminal is in a discharged state, performing control processing on the power of the mobile terminal includes:
检测所述移动终端电源电量状态值;Detecting a power state value of the mobile terminal;
在所述移动终端电源电量状态值小于所述第一阈值时,对所述移动终端电源做降功率处理;When the mobile terminal power state value is less than the first threshold, performing power reduction processing on the mobile terminal power supply;
在所述移动终端电源电量状态值大于第一阈值,且所述移动终端电源电量状态值小于或等于第二阈值时,控制所述移动终端的耗电量。And controlling the power consumption of the mobile terminal when the mobile terminal power state value is greater than a first threshold, and the mobile terminal power state value is less than or equal to a second threshold.
可选地,所述方法还包括:Optionally, the method further includes:
输出所述移动终端电源的充放电状态。The charging and discharging state of the power supply of the mobile terminal is output.
本发明还提供一种移动终端电源管理装置,所述装置包括:The present invention also provides a mobile terminal power management apparatus, the apparatus comprising:
电源检测单元,设置为在电池充放电时,检测开关电路连接充电芯片和主板的一侧与连接电池正极的一侧之间的压差;The power detecting unit is configured to detect a voltage difference between a side of the switch circuit connected to the charging chip and the main board and a side connected to the positive electrode of the battery when the battery is charged and discharged;
状态判断单元,设置为根据所检测到的压差判断移动终端电源的充放电状态。 The state judging unit is configured to judge the state of charge and discharge of the power of the mobile terminal based on the detected voltage difference.
可选地,所述状态判断单元,是设置为在连接充电芯片和主板的一侧与连接电池正极的一侧之间的压差大于零时,移动终端电源处于充电状态;在连接充电芯片和主板的一侧与连接电池正极的一侧之间的压差小于或等于零,移动终端电源处于放电状态。Optionally, the state determining unit is configured to: when the voltage difference between the side connecting the charging chip and the main board and the side connecting the positive electrode of the battery is greater than zero, the power supply of the mobile terminal is in a charging state; The voltage difference between one side of the main board and the side connected to the positive pole of the battery is less than or equal to zero, and the power supply of the mobile terminal is in a discharged state.
可选地,所述装置还包括:Optionally, the device further includes:
电源调控单元,设置为在所述移动终端电源处于放电状态时,对所述移动终端电源进行控制处理。The power control unit is configured to perform control processing on the power of the mobile terminal when the power of the mobile terminal is in a discharged state.
可选地,所述电源检测单元,还设置为设定所述移动终端电源电量状态的第一阈值和第二阈值;Optionally, the power detecting unit is further configured to set a first threshold and a second threshold of the power state of the mobile terminal power;
所述电源调控单元是设置为:检测移动终端电源电量状态值;在所述移动终端电源电量状态值小于所述第一阈值时,对所述移动终端电源做降功率处理;在所述移动终端电源电量状态值大于第一阈值,且所述移动终端电源电量状态值小于或等于第二阈值时,控制所述移动终端的耗电量。The power control unit is configured to: detect a power state state value of the mobile terminal; and perform power reduction processing on the power of the mobile terminal when the power state value of the mobile terminal is less than the first threshold; When the power state value is greater than the first threshold, and the mobile terminal power state value is less than or equal to the second threshold, the power consumption of the mobile terminal is controlled.
可选地,所述装置还包括:Optionally, the device further includes:
输出单元,设置为输出所述移动终端电源的充放电状态。The output unit is configured to output a charge and discharge state of the power of the mobile terminal.
本发明实施例又提供了一种移动终端,所述移动终端包括上述任一种所述的移动终端电源管理装置。The embodiment of the present invention further provides a mobile terminal, where the mobile terminal includes any of the mobile terminal power management devices described above.
本发明实施例还提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机可执行指令,所述计算机可执行指令被执行时实现移动终端电源管理方法。The embodiment of the present invention further provides a computer readable storage medium, where the computer readable storage medium stores computer executable instructions, and when the computer executable instructions are executed, implements a mobile terminal power management method.
本发明实施例提供的一种移动终端电源管理方法、装置和移动终端,在电池充放电时,检测开关电路连接充电芯片和主板的一侧与连接电池正极的一侧之间的压差;根据所检测到的压差判断移动终端电源的充放电状态;在判断移动终端电源处于放电状态时,对所述移动终端电源进行控制处理。上述技术方案使用户能够及时了解移动终端电源的输入输出、以及移动终端电源电量的状态,可以直观的了解到移动终端还能使用的时间,移动终端也可以根据自身电源的状态合理地控制自身电源的输出。在阅读并理解了附图和详细描述后,可以明白其它方面。 The method and device for managing power of a mobile terminal and the mobile terminal provided by the embodiment of the present invention, when the battery is charged and discharged, detecting a voltage difference between a side of the switch circuit connecting the charging chip and the main board and a side connecting the positive electrode of the battery; The detected differential pressure determines the charge and discharge state of the mobile terminal power supply; and when it is determined that the mobile terminal power supply is in the discharged state, the mobile terminal power supply is subjected to control processing. The above technical solution enables the user to know the input and output of the mobile terminal power and the state of the power supply of the mobile terminal in time, and can intuitively understand the time that the mobile terminal can still be used, and the mobile terminal can also reasonably control the power supply according to the state of the power source. Output. Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图说明DRAWINGS
图1为本发明实施例一提供的移动终端电源管理方法的实现流程示意图;1 is a schematic flowchart of an implementation process of a power management method for a mobile terminal according to Embodiment 1 of the present invention;
图2为本发明实施例二提供的移动终端电源的监测点的示意图;2 is a schematic diagram of a monitoring point of a power supply of a mobile terminal according to Embodiment 2 of the present invention;
图3为本发明实施例二提供的移动终端电源管理方法的实现流程示意图;3 is a schematic flowchart of an implementation process of a power management method for a mobile terminal according to Embodiment 2 of the present invention;
图4为本发明实施例二提供的移动终端电源的数据检测过程示意图;4 is a schematic diagram of a data detection process of a power supply of a mobile terminal according to Embodiment 2 of the present invention;
图5为本发明实施例二提供的根据移动终端电源的状态对系统的控制操作过程示意图;5 is a schematic diagram of a control operation process of a system according to a state of a power source of a mobile terminal according to Embodiment 2 of the present invention;
图6为本发明实施例三提供的移动终端电源管理装置的组成结构示意图。FIG. 6 is a schematic structural diagram of a structure of a power management device for a mobile terminal according to Embodiment 3 of the present invention.
具体实施方式detailed description
下面结合附图和实施例对本申请作进一步的详细说明。The present application will be further described in detail below with reference to the accompanying drawings and embodiments.
实施例一Embodiment 1
图1为本发明实施例提供的移动终端电源管理方法的实现流程示意图,如图1所示,本实施例提供的移动终端电源管理方法包括:FIG. 1 is a schematic flowchart of a method for implementing a power management method for a mobile terminal according to an embodiment of the present invention. As shown in FIG. 1 , a power management method for a mobile terminal provided in this embodiment includes:
步骤101,在电池充放电时,检测开关电路连接充电芯片和主板一侧与连接电池正极一侧之间的压差; Step 101, when the battery is charged and discharged, detecting a voltage difference between the charging circuit and the side of the main board and the positive side of the connected battery;
步骤102,根据所检测到的压差判断移动终端电源的充放电状态;Step 102: Determine a charging and discharging state of the power supply of the mobile terminal according to the detected pressure difference;
可选地,所述判断移动终端电源的充放电状态包括:在连接充电芯片和主板的一侧与连接电池正极的一侧之间的压差大于零时,移动终端电源处于充电状态;在连接充电芯片和主板的一侧与连接电池正极的一侧之间的压差小于或等于零时,移动终端电源处于放电状态。Optionally, the determining the charging and discharging state of the power supply of the mobile terminal comprises: when the voltage difference between the side connecting the charging chip and the main board and the side connecting the positive pole of the battery is greater than zero, the power supply of the mobile terminal is in a charging state; When the voltage difference between the side of the charging chip and the main board and the side connecting the positive electrode of the battery is less than or equal to zero, the power supply of the mobile terminal is in a discharged state.
可选地,所述方法还包括:Optionally, the method further includes:
所述移动终端电源处于放电状态时,对所述移动终端电源进行控制处理。When the power of the mobile terminal is in a discharging state, the mobile terminal power supply is controlled.
可选地,所述方法还包括:设定所述移动终端电源电量状态的第一阈值和第二阈值;Optionally, the method further includes: setting a first threshold and a second threshold of the power state of the mobile terminal power;
本实施例中,可以设定所述移动终端电源电量状态的百分之十为第一阈 值和所述移动终端电源电量状态的百分之二十为第二阈值;In this embodiment, ten percent of the power state of the mobile terminal power source may be set as a first threshold. The value and the twenty percent of the state of the mobile terminal power state are a second threshold;
可选地,在所述移动终端电源处于放电状态时,对所述移动终端电源进行控制处理包括:Optionally, when the power of the mobile terminal is in a discharged state, performing control processing on the power of the mobile terminal includes:
检测所述移动终端电源电量状态值;Detecting a power state value of the mobile terminal;
在所述移动终端电源电量状态值小于所述第一阈值时,对所述移动终端电源做降功率处理;When the mobile terminal power state value is less than the first threshold, performing power reduction processing on the mobile terminal power supply;
在所述移动终端电源电量状态值大于第一阈值,且所述移动终端电源电量状态值小于或等于第二阈值时,控制所述移动终端的耗电量。And controlling the power consumption of the mobile terminal when the mobile terminal power state value is greater than a first threshold, and the mobile terminal power state value is less than or equal to a second threshold.
本实施例中,控制所述移动终端的耗电量可以为关闭部分所述移动终端的功能,或将无线网卡(WIFI)设置为单输入单输出(Single Input Single Output,SISO)模式。In this embodiment, controlling the power consumption of the mobile terminal may be to disable a part of the function of the mobile terminal, or set a wireless network card (WIFI) to a single input single output (SISO) mode.
可选地,所述方法还包括:输出所述移动终端电源的充放电状态。Optionally, the method further includes: outputting a charge and discharge state of the power of the mobile terminal.
为了采集电压值,还可以包括:设定采集时间;相应的,可以按设定的采集时间周期性采集充电芯片与电池之间的点的电压值、以及主板与电池之间的点的电压值。In order to collect the voltage value, the method further includes: setting the acquisition time; correspondingly, periodically collecting the voltage value of the point between the charging chip and the battery and the voltage value between the motherboard and the battery according to the set acquisition time. .
实施例二Embodiment 2
在本实施例中,结合移动终端的WIFI功能介绍移动终端电源管理方法,为了便于本实施例的介绍,先简要介绍移动终端电源的检测点,如图2所示,所述移动终端电源的检测点A位于充电芯片与电池之间,所述移动终端电源的检测点B位于主板与电池之间,检测点A与B之间的开关电路包括二极管。In this embodiment, the mobile terminal power management method is introduced in conjunction with the WIFI function of the mobile terminal. To facilitate the introduction of the embodiment, the detection point of the mobile terminal power supply is briefly introduced. As shown in FIG. 2, the mobile terminal power supply detection is performed. The point A is located between the charging chip and the battery, the detection point B of the mobile terminal power is located between the main board and the battery, and the switching circuit between the detecting points A and B includes a diode.
结合图2和图3对移动终端电源管理方法进行简要介绍,移动终端电源管理方法包括:The mobile terminal power management method is briefly introduced in conjunction with FIG. 2 and FIG. 3, and the mobile terminal power management method includes:
步骤301:当外部电源(VCC,Volt Current Condenser)连接移动终端充电芯片时,移动终端的中央处理器(CPU,Central Processing Unit)通过通用输入输出(GPIO,General Purpose Input Output)可以检测到外部有充电电源连接;Step 301: When the external power supply (VCC, Volt Current Condenser) is connected to the mobile terminal charging chip, the central processing unit (CPU, Central Processing Unit) of the mobile terminal can detect that there is external through the General Purpose Input Output (GPIO). Charging power connection;
步骤302:分别采集连接充电芯片的二极管阳极一端和连接电池的二极 管阳极一端的电压,根据所采集的二极管的电压可以判断电池的充放电状态;Step 302: separately collect one end of the diode anode connected to the charging chip and two poles connected to the battery The voltage at one end of the anode of the tube can determine the state of charge and discharge of the battery according to the voltage of the collected diode;
具体的,如图2所示的采集点,如果A点电压高于B点,则电池处于充电状态;Specifically, as shown in FIG. 2, if the voltage at point A is higher than point B, the battery is in a charging state;
步骤303:根据电池的充放电状态对移动终端的操作系统进行控制,并对用户进行提示。Step 303: Control the operating system of the mobile terminal according to the state of charge and discharge of the battery, and prompt the user.
具体地,本实施例对充电过程各状态的判断和处理过程中,步骤301是连接外部充电电源,该外部充电电源可以为:带通用串行接口(USB)的个人电脑(PC)机或者笔记本、各种电源适配器提供的5V电源;外部充电电源连接充电芯片后,会将连接在充电芯片输入端的GPIO拉成高电平,移动终端的CPU可以通过GPIO检测到作为外部充电电源的PC或笔记本的接入。同时,移动终端的充电芯片输出电流给主板和电池供电,当主板耗电电流小于充电芯片输出电流时,电池会是在充电状态,B点的电压会高于A点;主板消耗的电流大于充电芯片输出的电流时,电池也会输出一部分电流,与充电芯片输出电流加在一起同时满足主板的功耗,电池会是在放电状态,此时A点的电压会高于B点。Specifically, in the process of determining and processing each state of the charging process, step 301 is to connect an external charging power source, which may be: a personal computer (PC) machine with a universal serial interface (USB) or a notebook. 5V power supply provided by various power adapters; after the external charging power supply is connected to the charging chip, the GPIO connected to the input end of the charging chip is pulled to a high level, and the CPU of the mobile terminal can detect the PC or the notebook as an external charging power source through the GPIO. Access. At the same time, the charging chip output current of the mobile terminal supplies power to the motherboard and the battery. When the power consumption current of the motherboard is less than the output current of the charging chip, the battery will be in a charging state, and the voltage at point B will be higher than point A; the current consumed by the motherboard is greater than the charging current. When the current is output from the chip, the battery will also output a part of the current, which is added together with the output current of the charging chip to meet the power consumption of the motherboard. The battery will be in a discharging state, and the voltage at point A will be higher than point B.
连接在A、B两点的模数(AD)转换芯片会采集到电压,CPU会通过AD转换芯片得到A、B两点的电压值,进一步根据这两点的电压值判断电池的充放电状态,并根据充电状态以及电池电量进行相应的控制操作。The analog-to-digital (AD) conversion chip connected to the two points A and B collects the voltage, and the CPU obtains the voltage values of the two points A and B through the AD conversion chip, and further determines the charge and discharge state of the battery according to the voltage values of the two points. And according to the state of charge and battery power, the corresponding control operation.
下面介绍根据移动终端的充电状态以及移动终端的电池电量状态对移动终端的控制。The following describes the control of the mobile terminal according to the state of charge of the mobile terminal and the state of the battery state of the mobile terminal.
本实施例中,移动终端是长期演进(LTE,Long Term Evolution)移动宽带路由器设备,提供WIFI接入的接入点(AP,Access Point)功能,带有液晶显示器(LCD,Liquid Crystal Display)显示屏,屏上可以显示系统信息,本实施例中只需要充电状态。并且,该设备具有拨码开关,即物理上有开关两个状态:ON和OFF。图4为本发明实施例提供的移动终端电源的数据检测过程示意图,图5为本发明实施例提供的根据移动终端电源的状态对移动终端的控制过程示意图。 In this embodiment, the mobile terminal is a Long Term Evolution (LTE) mobile broadband router device, and provides an access point (AP, Access Point) function of the WIFI access, with a liquid crystal display (LCD) display. The screen can display system information on the screen. In this embodiment, only the charging state is required. Moreover, the device has a dial switch, that is, physically has two states of switch: ON and OFF. 4 is a schematic diagram of a data detection process of a power supply of a mobile terminal according to an embodiment of the present invention. FIG. 5 is a schematic diagram of a control process of a mobile terminal according to a state of a power supply of a mobile terminal according to an embodiment of the present invention.
如图4所示,所述移动终端电源的数据检测过程包括:As shown in FIG. 4, the data detection process of the mobile terminal power supply includes:
步骤401,软件检测模块启动一个定时器,其中,定时器的周期可为一秒钟; Step 401, the software detection module starts a timer, wherein the period of the timer may be one second;
步骤402,读取GPIO的电平以及读取电池电量,当电池电量有变化时,将新的电量发送给所述移动终端; Step 402, reading the level of the GPIO and reading the battery power, when the battery power changes, transmitting the new power to the mobile terminal;
步骤403,当GPIO电平为高时,给软件控制模块发送插入充电器的消息,执行步骤404,当GPIO电平为低时,返回步骤401; Step 403, when the GPIO level is high, send a message to the software control module to insert the charger, step 404 is performed, when the GPIO level is low, return to step 401;
步骤404,重新启动一个定时器检查A、B两点的电压,计算两个电压之间差值; Step 404, restart a timer to check the voltages of the two points A and B, and calculate the difference between the two voltages;
步骤405,比较A点和B点的电压值的大小,如果B大于A,则执行步骤407给软件控制模块发送电池充电的消息,之后执行步骤401,如果A大于B,则执行步骤406给软件控制模块发送电池放电的消息,之后执行步骤401。Step 405: Compare the magnitudes of the voltage values of points A and B. If B is greater than A, perform step 407 to send a message of battery charging to the software control module, and then perform step 401. If A is greater than B, execute step 406 to the software. The control module sends a message that the battery is discharged, and then step 401 is performed.
如图5所示,所述根据移动终端电源的状态对所述移动终端的控制的操作过程包括:As shown in FIG. 5, the operation process of controlling the mobile terminal according to the state of the power of the mobile terminal includes:
步骤501,软件控制模块收到连接充电电源的消息;Step 501: The software control module receives a message for connecting to the charging power source.
步骤502,分析数据的状态; Step 502, analyzing the status of the data;
这里,所述数据是指移动终端电源的输入电压、输出电压;Here, the data refers to an input voltage and an output voltage of a power supply of the mobile terminal;
步骤503,判断是否为假关机状态,如果是假关机状态,则执行步骤504;如果不是假关机状态,则执行步骤505; Step 503, it is determined whether it is a false shutdown state, if it is a false shutdown state, step 504 is performed; if it is not a false shutdown state, step 505 is performed;
步骤504,判断电池电量是否低于电池含量的20%,如果低于电池含量的20%,则返回步骤501,如果高于或等于电池含量的20%,则执行步骤506; Step 504, it is determined whether the battery power is less than 20% of the battery content, if it is less than 20% of the battery content, then return to step 501, if it is higher than or equal to 20% of the battery content, step 506 is performed;
步骤505,判断是否连接电源,如果连接电源,则执行步骤507,如果不连接电源,则返回步骤501; Step 505, it is determined whether the power is connected, if the power is connected, step 507 is performed, if the power is not connected, then return to step 501;
步骤506,在电池的电量不低于电池含量的20%时,开启所有系统功能,返回步骤501; Step 506, when the battery power is not lower than 20% of the battery content, turn on all system functions, return to step 501;
步骤507,在连接电源的状态下,判断是否处于充电状态,如果是充电 状态,则执行步骤508,如果是放电状态,则执行步骤509; Step 507, in the state of connecting the power source, determining whether it is in a charging state, if it is charging State, step 508 is performed, if it is discharged state, step 509 is performed;
步骤508,显示充电图标,结束本次处理流程; Step 508, displaying a charging icon, ending the current processing flow;
步骤509,显示闪烁电池图标; Step 509, displaying a flashing battery icon;
步骤510,判断电池电量是否低于电池含量的20%,如果不低于电池含量的20%,则返回步骤501,如果低于电池含量的20%,则执行步骤511; Step 510, it is determined whether the battery power is less than 20% of the battery content, if not less than 20% of the battery content, then return to step 501, if it is less than 20% of the battery content, step 511 is performed;
步骤511,判断电池电量,在电池电量小于电池含量的10%且大于0时,执行步骤512,在电池电量等于0时,则执行步骤513; Step 511, determining the battery power, when the battery power is less than 10% of the battery content and greater than 0, step 512 is performed, when the battery power is equal to 0, step 513 is performed;
步骤512,设置WIFI(Wireless FIdelity)为SISO((Simple Input Simple Output,单输入单输出)模式,之后返回步骤501; Step 512, setting WIFI (Wireless FIdelity) to SISO ((Simple Input Simple Output) mode, then return to step 501;
步骤513,关闭所有功能,移动终端进入休眠状态,之后返回步骤501。In step 513, all functions are turned off, the mobile terminal enters a sleep state, and then returns to step 501.
本实施例中,可以根据电池充放电状态在LCD(Liquid Crystal Display,液晶显示器)上显示电池状态,如果是充电状态,则图标为滚动的充电动画,如果连接充电器且电池放电,则显示绿色闪烁状态,提示用户虽然连接有充电电源但并未充电。In this embodiment, the battery state can be displayed on the LCD (Liquid Crystal Display) according to the state of charge and discharge of the battery. If it is in the charging state, the icon is a scrolling charging animation. If the charger is connected and the battery is discharged, the display is green. Blinking state, prompting the user that although the charging power is connected, it is not charged.
当电池放电时,即使连接充电电源,只要电量小于10%时,软件控制模块将WIFI的状态从MIMO(Multiple-Input Multiple-Output,多输入多输出)模式修改SISO模式,以节省电源。When the battery is discharged, even if the charging power is connected, as long as the power is less than 10%, the software control module modifies the SIFI mode from the MIMO (Multiple-Input Multiple-Output) mode to save power.
当电池电量消耗到0%时,软件控制模块关闭系统所有功能,但不关闭系统,这个时候主板消耗的电流非常小,远远小于充电芯片输出电流,所以这个时候电池会是充电状态,此时,只有软件检测模块和软件控制模块在运行,移动终端处于空闲并且充电状态。在充电过程中,在电池电量到达20%时,移动终端可以重新开启所有正常功能。When the battery power consumption reaches 0%, the software control module turns off all functions of the system, but does not shut down the system. At this time, the current consumed by the motherboard is very small, far less than the output current of the charging chip, so the battery will be charged at this time. Only the software detection module and the software control module are running, and the mobile terminal is in an idle state and charged state. During the charging process, when the battery reaches 20%, the mobile terminal can turn on all normal functions again.
本发明实施例提供的移动终端电源管理方法,能使用户及时了解移动终端电源的输入输出以及移动终端电源电量的状态,可以直观地了解移动终端可使用时间,移动终端也可以根据自身电源的状态合理地控制自身电源的输出。The mobile terminal power management method provided by the embodiment of the invention enables the user to know the input and output of the mobile terminal power and the state of the power supply of the mobile terminal in time, and can intuitively understand the available time of the mobile terminal, and the mobile terminal can also be based on the state of the power source. Reasonably control the output of its own power supply.
实施例三 Embodiment 3
本发明实施例还提出了一种移动终端电源管理装置,如图6所示,所述装置包括:The embodiment of the invention further provides a mobile terminal power management device. As shown in FIG. 6, the device includes:
电源检测单元601,设置为在电池充放电时,检测开关电路连接充电芯片和主板一侧与连接电池正极的一侧之间的压差;The power detecting unit 601 is configured to detect a voltage difference between the charging chip and the side of the main board and the side connecting the positive pole of the battery when the battery is charged and discharged;
状态判断单元602,设置为根据所检测到的压差判断移动终端电源的充放电状态。The state judging unit 602 is configured to judge the state of charge and discharge of the power source of the mobile terminal based on the detected voltage difference.
可选地,所述装置还包括:Optionally, the device further includes:
电源调控单元,设置为所述移动终端电源处于放电状态时,对所述移动终端电源进行控制处理。The power control unit is configured to perform control processing on the power of the mobile terminal when the power of the mobile terminal is in a discharged state.
可选地,所述电源检测单元601,具体用于连接充电芯片和主板的一侧与连接电池正极的一侧之间的压差大于零,移动终端电源处于充电状态;否则,移动终端电源处于放电状态。Optionally, the power detecting unit 601 is specifically configured to connect a charging chip and a side of the main board to a side opposite to a positive side of the battery to be greater than zero, and the mobile terminal power is in a charging state; otherwise, the mobile terminal power is in a Discharge status.
可选地,所述电源检测单元601,还设置为设定所述移动终端电源电量状态的第一阈值和第二阈值;所述电源调控单元是设置为:检测移动终端电源电量状态值;在所述移动终端电源电量状态值小于所述第一阈值时,对所述移动终端电源做降功率处理;在所述移动终端电源电量状态值大于第一阈值且所述移动终端电源电量状态值小于或等于第二阈值时,控制所述移动终端的耗电量。Optionally, the power detecting unit 601 is further configured to set a first threshold and a second threshold of the power state of the mobile terminal; the power regulating unit is configured to: detect a power state value of the mobile terminal; When the mobile terminal power state value is less than the first threshold, performing power reduction processing on the mobile terminal power; the mobile terminal power state value is greater than a first threshold and the mobile terminal power state value is less than When the second threshold is equal to or equal to, the power consumption of the mobile terminal is controlled.
可选地,所述装置还包括:Optionally, the device further includes:
输出单元,设置为输出所述移动终端电源的充放电状态。The output unit is configured to output a charge and discharge state of the power of the mobile terminal.
本发明实施例中的电源检测单元在充电芯片和主板与电池之间的开关电路,并在开关电路连接充电芯片和主板的一侧任意位置和开关电路连接电池的一侧的任意位置的采集点,然后状态判断单元分别采集不同的采集点的电压值,之后再根据采集的电压值判断移动终端电源的充放电状态。In the embodiment of the present invention, the power detecting unit is in the switching circuit between the charging chip and the main board and the battery, and at any position on the side where the switching circuit is connected to the charging chip and the main board, and the sampling point is connected to the battery at any position on the side of the battery. Then, the state judging unit respectively collects voltage values of different collection points, and then judges the charging and discharging state of the mobile terminal power source according to the collected voltage values.
基于上述移动终端电源管理装置,本发明实施例还提供一种移动终端,可以包括上述任一种所述移动终端电源管理装置。Based on the foregoing mobile terminal power management device, the embodiment of the present invention further provides a mobile terminal, which may include any of the foregoing mobile terminal power management devices.
另外,在实际应用中,所述电源检测单元601、状态判断单元602、电源调控单元、输出单元均可由位于终端中的CPU、微处理器(Micro Processor  Unit,MPU)、数字信号处理器(Digital Signal Processor,DSP)、或现场可编程门阵列(Field Programmable Gate Array,FPGA)等实现。In addition, in practical applications, the power detecting unit 601, the state determining unit 602, the power regulating unit, and the output unit may each be a CPU or a microprocessor (Micro Processor) located in the terminal. Unit, MPU), Digital Signal Processor (DSP), or Field Programmable Gate Array (FPGA).
本发明实施例提供的一种移动终端电源管理方法、装置和移动终端,通过对移动终端充电过程中移动终端电源充放电状态的判断,使用户能够及时了解移动终端电源的输入输出以及移动终端电源电量的状态,可以直观的了解移动终端还可以使用的时间,移动终端也可以根据自身电源的状态合理地控制自身电源的输出。The mobile terminal power management method, device and mobile terminal provided by the embodiments of the present invention enable the user to know the input and output of the mobile terminal power and the power consumption of the mobile terminal in time by judging the charging and discharging state of the mobile terminal during the charging process of the mobile terminal. The state can intuitively understand the time that the mobile terminal can also be used, and the mobile terminal can also reasonably control the output of its own power according to the state of its own power source.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件(例如处理器)完成,所述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的各模块/单元可以采用硬件的形式实现,例如通过集成电路来实现其相应功能,也可以采用软件功能模块的形式实现,例如通过处理器执行存储于存储器中的程序/指令来实现其相应功能。本申请不限制于任何特定形式的硬件和软件的结合。本领域的普通技术人员应当理解,可以对本申请的技术方案进行修改或者等同替换,而不脱离本申请技术方案的精神和范围,均应涵盖在本申请的权利要求范围当中。One of ordinary skill in the art will appreciate that all or a portion of the above steps may be performed by a program to instruct related hardware, such as a processor, which may be stored in a computer readable storage medium, such as a read only memory, disk or optical disk. Wait. Alternatively, all or part of the steps of the above embodiments may also be implemented using one or more integrated circuits. Correspondingly, each module/unit in the above embodiment may be implemented in the form of hardware, for example, by implementing an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, executing a program stored in the memory by a processor. / instruction to achieve its corresponding function. This application is not limited to any specific combination of hardware and software. A person skilled in the art should understand that the technical solutions of the present application can be modified or equivalent, without departing from the spirit and scope of the technical solutions of the present application, and should be included in the scope of the claims of the present application.
工业实用性Industrial applicability
上述技术方案使用户能够及时了解移动终端电源的输入输出、以及移动终端电源电量的状态,可以直观的了解到移动终端还能使用的时间,移动终端也可以根据自身电源的状态合理地控制自身电源的输出。 The above technical solution enables the user to know the input and output of the mobile terminal power and the state of the power supply of the mobile terminal in time, and can intuitively understand the time that the mobile terminal can still be used, and the mobile terminal can also reasonably control the power supply according to the state of the power source. Output.

Claims (11)

  1. 一种移动终端电源管理方法,所述方法包括:A mobile terminal power management method, the method comprising:
    在电池充放电时,检测开关电路连接充电芯片和主板的一侧与连接电池正极的一侧之间的压差;When the battery is charged and discharged, detecting a voltage difference between a side of the switch circuit connecting the charging chip and the main board and a side connecting the positive electrode of the battery;
    根据所检测到的压差判断移动终端电源的充放电状态。The charge and discharge state of the power supply of the mobile terminal is judged based on the detected differential pressure.
  2. 根据权利要求1所述的方法,其中,所述判断移动终端电源的充放电状态包括:在连接充电芯片和主板的一侧与连接电池正极的一侧之间的压差大于零时,所述移动终端电源处于充电状态;在连接充电芯片和主板的一侧与连接电池正极的一侧之间的压差小于或等于零时,所述移动终端电源处于放电状态。The method according to claim 1, wherein said determining a state of charge and discharge of the power of the mobile terminal comprises: when a pressure difference between a side connecting the charging chip and the main board and a side connecting the positive electrode of the battery is greater than zero, The mobile terminal power source is in a charging state; when the voltage difference between the side connecting the charging chip and the main board and the side connecting the battery positive pole is less than or equal to zero, the mobile terminal power source is in a discharging state.
  3. 根据权利要求1所述的方法,所述方法还包括:The method of claim 1 further comprising:
    在所述移动终端电源处于放电状态时,对所述移动终端电源进行控制处理。When the power of the mobile terminal is in a discharged state, the mobile terminal power supply is subjected to control processing.
  4. 根据权利要求1、2或3所述的方法,所述方法还包括:设定所述移动终端电源电量状态的第一阈值和第二阈值;The method according to claim 1, 2 or 3, further comprising: setting a first threshold and a second threshold of the power state of the mobile terminal power;
    在所述移动终端电源处于放电状态时,对所述移动终端电源进行控制处理包括:When the power of the mobile terminal is in a discharged state, performing control processing on the power of the mobile terminal includes:
    检测所述移动终端电源电量状态值;Detecting a power state value of the mobile terminal;
    在所述移动终端电源电量状态值小于所述第一阈值时,对所述移动终端电源做降功率处理;When the mobile terminal power state value is less than the first threshold, performing power reduction processing on the mobile terminal power supply;
    在所述移动终端电源电量状态值大于第一阈值,且所述移动终端电源电量状态值小于或等于第二阈值时,控制所述移动终端的耗电量。And controlling the power consumption of the mobile terminal when the mobile terminal power state value is greater than a first threshold, and the mobile terminal power state value is less than or equal to a second threshold.
  5. 根据权利要求4所述的方法,所述方法还包括:The method of claim 4, further comprising:
    输出所述移动终端电源的充放电状态。The charging and discharging state of the power supply of the mobile terminal is output.
  6. 一种移动终端电源管理装置,所述装置包括:A mobile terminal power management device, the device comprising:
    电源检测单元,设置为在电池充放电时,检测开关电路连接充电芯片和主板的一侧与连接电池正极的一侧之间的压差; The power detecting unit is configured to detect a voltage difference between a side of the switch circuit connected to the charging chip and the main board and a side connected to the positive electrode of the battery when the battery is charged and discharged;
    状态判断单元,设置为根据所检测到的压差判断移动终端电源的充放电状态。The state judging unit is configured to judge the state of charge and discharge of the power of the mobile terminal based on the detected voltage difference.
  7. 根据权利要求6所述的装置,其中:The device of claim 6 wherein:
    所述状态判断单元,是设置为在连接充电芯片和主板的一侧与连接电池正极的一侧之间的压差大于零时,移动终端电源处于充电状态;在连接充电芯片和主板的一侧与连接电池正极的一侧之间的压差小于或等于零,移动终端电源处于放电状态。The state judging unit is configured to: when the voltage difference between the side connecting the charging chip and the main board and the side connecting the positive electrode of the battery is greater than zero, the power supply of the mobile terminal is in a charging state; on the side connecting the charging chip and the main board The voltage difference between the side connected to the positive side of the battery is less than or equal to zero, and the mobile terminal power supply is in a discharged state.
  8. 根据权利要求6所述的装置,所述装置还包括:The apparatus of claim 6 further comprising:
    电源调控单元,设置为在所述移动终端电源处于放电状态时,对所述移动终端电源进行控制处理。The power control unit is configured to perform control processing on the power of the mobile terminal when the power of the mobile terminal is in a discharged state.
  9. 根据权利要求6、7或8所述的装置,A device according to claim 6, 7 or 8,
    所述电源检测单元,还设置为设定所述移动终端电源电量状态的第一阈值和第二阈值;The power detecting unit is further configured to set a first threshold and a second threshold of the power state of the mobile terminal power;
    所述电源调控单元是设置为:检测移动终端电源电量状态值;在所述移动终端电源电量状态值小于所述第一阈值时,对所述移动终端电源做降功率处理;在所述移动终端电源电量状态值大于第一阈值,且所述移动终端电源电量状态值小于或等于第二阈值时,控制所述移动终端的耗电量。The power control unit is configured to: detect a power state state value of the mobile terminal; and perform power reduction processing on the power of the mobile terminal when the power state value of the mobile terminal is less than the first threshold; When the power state value is greater than the first threshold, and the mobile terminal power state value is less than or equal to the second threshold, the power consumption of the mobile terminal is controlled.
  10. 根据权利要求9所述的装置,所述装置还包括:The apparatus of claim 9 further comprising:
    输出单元,设置为输出所述移动终端电源的充放电状态。The output unit is configured to output a charge and discharge state of the power of the mobile terminal.
  11. 一种移动终端,所述移动终端包括权利要求6至10任一项所述的移动终端电源管理装置。 A mobile terminal comprising the mobile terminal power management device according to any one of claims 6 to 10.
PCT/CN2016/086448 2015-11-05 2016-06-20 Mobile terminal power source management method and device, and mobile terminal WO2016198003A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510746082.9A CN106684938A (en) 2015-11-05 2015-11-05 Method and device for mobile terminal power management and mobile terminal
CN201510746082.9 2015-11-05

Publications (1)

Publication Number Publication Date
WO2016198003A1 true WO2016198003A1 (en) 2016-12-15

Family

ID=57502952

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/086448 WO2016198003A1 (en) 2015-11-05 2016-06-20 Mobile terminal power source management method and device, and mobile terminal

Country Status (2)

Country Link
CN (1) CN106684938A (en)
WO (1) WO2016198003A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110632522A (en) * 2019-10-09 2019-12-31 赣州得辉达科技有限公司 Sound box electric quantity display method

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106849000B (en) * 2017-03-14 2020-02-18 Oppo广东移动通信有限公司 Short-circuit protection circuit, power adapter and mobile terminal
CN109149718A (en) * 2018-09-28 2019-01-04 北京汉能光伏投资有限公司 Wireless charging power supply and its control method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030149904A1 (en) * 2002-02-04 2003-08-07 Samsung Electronics Co., Ltd. Power management method for portable electronic terminals
CN101222713A (en) * 2008-02-04 2008-07-16 深圳华为通信技术有限公司 Electricity output control method, device and terminal
CN102340162A (en) * 2011-09-16 2012-02-01 宇龙计算机通信科技(深圳)有限公司 Charging state monitoring device, terminal and method
CN203086217U (en) * 2013-03-05 2013-07-24 湖南开启时代电子信息技术有限公司 Lithium battery management system used for electromobile
CN103440029A (en) * 2013-08-16 2013-12-11 广东欧珀移动通信有限公司 Method for prolonging service life of mobile terminal in low battery mode and mobile terminal
CN104037926A (en) * 2014-05-30 2014-09-10 南京邮电大学 Multi-power supply device of embedded equipment, and intelligent switching method of multi-power supply device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100585763B1 (en) * 2004-05-31 2006-06-07 엘지전자 주식회사 Charging device and method of mobile phone battery
KR100641165B1 (en) * 2004-09-15 2006-11-02 엘지전자 주식회사 A method and a apparatus of compensation charging current for mobile phone
CN104219397A (en) * 2014-09-03 2014-12-17 深圳市中兴移动通信有限公司 Mobile terminal and power saving method and system thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030149904A1 (en) * 2002-02-04 2003-08-07 Samsung Electronics Co., Ltd. Power management method for portable electronic terminals
CN101222713A (en) * 2008-02-04 2008-07-16 深圳华为通信技术有限公司 Electricity output control method, device and terminal
CN102340162A (en) * 2011-09-16 2012-02-01 宇龙计算机通信科技(深圳)有限公司 Charging state monitoring device, terminal and method
CN203086217U (en) * 2013-03-05 2013-07-24 湖南开启时代电子信息技术有限公司 Lithium battery management system used for electromobile
CN103440029A (en) * 2013-08-16 2013-12-11 广东欧珀移动通信有限公司 Method for prolonging service life of mobile terminal in low battery mode and mobile terminal
CN104037926A (en) * 2014-05-30 2014-09-10 南京邮电大学 Multi-power supply device of embedded equipment, and intelligent switching method of multi-power supply device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110632522A (en) * 2019-10-09 2019-12-31 赣州得辉达科技有限公司 Sound box electric quantity display method

Also Published As

Publication number Publication date
CN106684938A (en) 2017-05-17

Similar Documents

Publication Publication Date Title
EP2658231B1 (en) Energy-saving device and method for portable terminal
US9846472B2 (en) Firmware update method and power system thereof
EP2533064B1 (en) Apparatus and method for determining a remaining battery life of a portable terminal
US11463955B2 (en) Method for implementing low power consumption on standby for bluetooth security device and bluetooth security device
WO2015007244A1 (en) Mobile terminal and application program control method and device therefor
US9678554B2 (en) Low power mode operation when charging a device
US11086635B2 (en) Electronic device, method for controlling electronic device, and program
US20150033049A1 (en) Method, device and mobile terminal for information backup
CN110716631B (en) Power supply management method, device, equipment and readable storage medium
US9781682B2 (en) Method for power-on control of mobile terminal
WO2016198003A1 (en) Mobile terminal power source management method and device, and mobile terminal
US8970175B2 (en) Charging circuit employing a southbridge microchip to control charging when the electronic apparatus is shut down
CN103576092A (en) Remote controller and device and method for detecting electricity capacity of battery of remote controller
KR20150086932A (en) Method for processing data and an electronic device thereof
JP2007188472A (en) Power control method used with tv module of portable electronic apparatus
WO2016180241A1 (en) Energy-conservation management method and apparatus for terminal and terminal
US20120091823A1 (en) Mobile storage device and method for managing power consumption of the mobile storage device
US20150318719A1 (en) Charging method and electronic device
US20130318377A1 (en) Information processor, computer program product, and power saving setting method
US9763196B2 (en) Mobile hotspot UFI device and start-up method
US20150123875A1 (en) Power management device and method
CN107272864B (en) Reset circuit, battery and electronic equipment
JP2011086174A (en) Information processor and power consumption measuring device
KR20160050577A (en) Display apparatus and control method thereof
CN107977294B (en) Method and device for monitoring temperature of electronic element

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16806901

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16806901

Country of ref document: EP

Kind code of ref document: A1