WO2015027889A1 - 实现移动终端充满电后自动停止充电的方法及装置 - Google Patents

实现移动终端充满电后自动停止充电的方法及装置 Download PDF

Info

Publication number
WO2015027889A1
WO2015027889A1 PCT/CN2014/085144 CN2014085144W WO2015027889A1 WO 2015027889 A1 WO2015027889 A1 WO 2015027889A1 CN 2014085144 W CN2014085144 W CN 2014085144W WO 2015027889 A1 WO2015027889 A1 WO 2015027889A1
Authority
WO
WIPO (PCT)
Prior art keywords
mobile terminal
communication connection
usb interface
real
computer
Prior art date
Application number
PCT/CN2014/085144
Other languages
English (en)
French (fr)
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 WO2015027889A1 publication Critical patent/WO2015027889A1/zh

Links

Images

Classifications

    • 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
    • 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/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
    • H02J7/00302Overcharge protection
    • 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
    • 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

  • the present application relates to a mobile terminal charging technology, and in particular, to a method and apparatus for automatically stopping charging after a mobile terminal is fully charged.
  • mobile terminals usually use lithium batteries for power supply.
  • the power consumption of mobile terminals is increasing.
  • the operating system itself and the operation of various applications need to consume a large amount of power. Due to factors such as the size of the smart mobile terminal, the lithium battery is stored, and the user needs to replenish the power for the smart mobile terminal in time.
  • the mobile terminal can automatically stop charging after being fully charged, which can greatly facilitate the user and solve the problem of overcharging of the battery.
  • the hardware method is adopted to automatically stop charging after being fully charged, and only the method of charging the mobile terminal by the charger is suitable.
  • the way in which the mobile terminal performs charging has not yet been able to automatically stop charging after full charge.
  • the purpose of the embodiments of the present application is to provide a method and device for automatically stopping charging after the mobile terminal is fully charged, and to automatically charge the mobile terminal by connecting to the computer through the USB interface. Charging.
  • the embodiment of the present application provides a method for automatically stopping charging after a mobile terminal is fully charged, and is applied to a computer having a USB interface, including the steps of:
  • Determining whether the mobile terminal is fully charged according to the real-time power condition when determining that the mobile terminal is fully charged, deactivating the interface device of the USB interface, so that charging is automatically stopped.
  • the establishing a communication connection with the mobile terminal is: establishing a network communication connection by using a network protocol of the data interface of the USB interface; or using a wireless communication module of the mobile terminal and a wireless communication module of the computer, using a network protocol , establish a network communication connection.
  • the obtaining the real-time power status sent by the mobile terminal comprises: sending, by the communication connection, an instruction for transmitting a real-time power status to the mobile terminal; receiving a real-time power status or a predetermined power quantity that the mobile terminal periodically transmits according to the instruction.
  • the receiving mobile terminal after establishing a communication connection with the mobile terminal, the receiving mobile terminal periodically reports the real-time power status transmitted or reports the real-time power status transmitted when the predetermined power quantity changes.
  • the method further includes:
  • USB interface If the USB interface is disconnected, the user is prompted that the hardware connection of the mobile terminal being charged is disconnected, and the charging is stopped;
  • the communication connection is disconnected, the communication connection is re-established, and the user is prompted to disconnect from the charging mobile terminal, the communication connection is being re-established; or the user is re-established. Communication connection.
  • the real-time monitoring whether the USB interface is disconnected is: determining whether the USB interface disconnection notification sent by the computer system is received in real time, and if received, determining that the USB interface is disconnected;
  • the real-time monitoring whether the communication connection is disconnected is: starting a timer, determining whether the real-time power status transmitted by the mobile terminal is acquired within a preset timing time, and if yes, restarting the timer, otherwise determining The communication connection is broken.
  • the method further comprises: when it is determined that the mobile terminal is unplugged from the USB interface, enabling the interface device of the USB interface.
  • the wireless communication module of the mobile terminal and the wireless communication module of the computer use the network protocol to establish a network communication connection, after the interface device of the USB interface is deactivated And determining that the mobile terminal is not unplugged from the USB interface, further comprising:
  • the embodiment of the present application further provides a method for automatically stopping charging after a mobile terminal is fully charged, and is applied to a mobile terminal having a USB interface, including the following steps:
  • the real-time power condition is transmitted to the computer, so that the interface device of the mobile terminal as a USB interface is deactivated by the computer when fully charged, and charging is automatically stopped.
  • the establishing a communication connection with the computer is: establishing a network communication connection by using a network protocol of the data interface of the USB interface; or using a wireless communication module of the mobile terminal and a wireless communication module of the computer, using a network protocol, Establish a network communication connection.
  • the transmitting the real-time power status to the computer comprises:
  • the real-time power condition is reported to be transmitted periodically or the real-time power is reported when the predetermined power is changed.
  • the network communication connection established by using the network protocol by the wireless communication module of the mobile terminal and the wireless communication module of the computer;
  • the method further includes:
  • the computer Continuing to transmit the real-time power condition to the computer through the communication connection, so that when the power of the mobile terminal drops to the preset power, the computer enables the mobile terminal as the interface device of the USB interface to recharge.
  • the embodiment of the present application further provides a device for automatically stopping charging after the mobile terminal is fully charged, and is applied to a computer having a USB interface, including:
  • a USB charging unit configured to connect the mobile terminal through the USB interface, and charge the mobile terminal by the power end of the USB interface
  • a communication connection establishing unit configured to establish a communication connection with the mobile terminal
  • Obtaining a real-time power condition unit configured to acquire, by using the communication connection, a real-time power status transmitted by the mobile terminal;
  • the charging automatic stop unit is configured to determine whether the mobile terminal is fully charged according to the real-time power condition; when it is determined that the mobile terminal is fully charged, the interface device of the USB interface is deactivated, so that the charging is automatically stopped.
  • the communication connection establishing unit is a first communication connection establishing unit or a second communication connection establishing unit;
  • the first communication connection establishing unit is configured to establish a network communication connection by using a network protocol by using a data line of the USB interface;
  • the second communication connection establishing unit is configured to establish a network communication connection by using a network protocol by using a wireless communication module of the mobile terminal and a wireless communication module of the computer.
  • the acquiring a real-time power condition unit includes: an instruction sending subunit and a receiving subunit;
  • the instruction sending subunit configured to send a transmission to the mobile terminal by using the communication connection An instruction for the amount of electricity
  • the receiving subunit is configured to receive a real-time power status that is periodically transmitted by the mobile terminal according to the instruction or a real-time power status that is transmitted when the predetermined power quantity changes;
  • the obtaining a real-time power condition unit includes: receiving a reported power status sub-unit;
  • the receiving and reporting power status sub-unit is configured to receive, after establishing a communication connection with the mobile terminal, the mobile terminal to periodically report the transmitted real-time power status or report the transmitted real-time power status when the predetermined power quantity changes.
  • the device further comprises a user prompting unit;
  • the user prompting unit includes a monitoring subunit and a prompting subunit
  • the monitoring subunit is configured to monitor, in real time, whether the USB interface is disconnected and/or monitor the disconnection of the communication connection in real time after establishing a communication connection with the mobile terminal;
  • the prompting subunit is configured to prompt the user that the hardware connection of the mobile terminal being charged is disconnected when the USB interface is disconnected, and the charging is stopped; when the communication connection is disconnected, the communication connection is re-established, and the user is prompted to be charging The mobile terminal communication connection is disconnected, the communication connection is being re-established; or the user is redirected to re-establish the communication connection.
  • the monitoring subunit includes a USB interface monitoring subunit and a communication connection monitoring subunit;
  • the USB interface monitoring subunit is configured to determine in real time whether a USB interface disconnection notification sent by the computer system is received, and if received, determine that the USB interface is disconnected;
  • the communication connection monitoring sub-unit is configured to start a timer, and determine whether a real-time power status transmitted by the mobile terminal is acquired within a preset timing time, and if yes, restart the timer, otherwise determine the communication Disconnect.
  • the device further comprises an enabling unit,
  • the enabling unit after deactivating the interface device of the USB port, enables the interface device of the USB interface when it is determined that the mobile terminal is unplugged from the USB interface.
  • the communication connection establishing unit is a second communication connection establishing unit, further comprising: continuing to charge the unit;
  • the continuing charging unit after deactivating the interface device of the USB interface, and determining the shift
  • the mobile terminal is not pulled out from the USB interface, continue to obtain the real-time power status transmitted by the mobile terminal through the communication connection; when the power of the mobile terminal drops to the preset power level, enable the interface device of the USB interface to restart Charging the mobile terminal.
  • the embodiment of the present application further provides a device for automatically stopping charging after the mobile terminal is fully charged, and is applied to a mobile terminal having a USB interface, including:
  • a USB charging unit configured to connect to the computer through the USB interface, and charge the mobile terminal by the power end of the USB interface of the computer;
  • a communication connection establishing unit configured to establish a communication connection with the computer
  • the real-time power condition transmitting unit is configured to transmit the real-time power status to the computer through the communication connection, so that the interface device of the mobile terminal as the USB interface is disabled by the computer when the battery is fully charged, and the charging is automatically stopped.
  • the communication connection establishing unit is a first communication connection establishing unit or a second communication connection establishing unit;
  • the first communication connection establishing unit is configured to establish a network communication connection by using a network protocol by using a data line of the USB interface;
  • the second communication connection establishing unit is configured to establish a network communication connection by using a network protocol by using a wireless communication module of the mobile terminal and a wireless communication module of the computer.
  • the real-time power situation transmission unit includes: an instruction receiving subunit and a transmission subunit;
  • the instruction receiving subunit is configured to receive, by the communication connection, an instruction sent by a computer to transmit a real-time power status
  • the transmitting subunit is configured to periodically transmit a real-time power status according to the instruction or transmit a real-time power status to the computer when the predetermined power quantity changes, so that the mobile terminal is used as an interface device of the USB interface to be deactivated by the computer when fully charged. Charging is automatically stopped;
  • the real-time power situation transmission unit includes: a report power status sub-unit;
  • the reporting power status sub-unit is configured to periodically report the real-time power status after the communication connection is established with the computer, or report the real-time power status when the predetermined power quantity changes, so that the mobile terminal is full as an interface device of the USB interface.
  • the charging is automatically stopped. stop.
  • the communication connection establishing unit is a second communication connection establishing unit, further comprising: continuing to charge the unit;
  • the continuation charging unit continues to transmit the real-time power status to the computer through the communication connection, so that when the power of the mobile terminal drops to a preset power level, the mobile terminal that is the interface device of the USB interface is enabled to recharge.
  • the method and device for automatically stopping charging after the mobile terminal is fully charged are provided by the embodiment of the present application.
  • the computer charges the mobile terminal through the USB interface, establishing a communication connection with the mobile terminal, through the communication.
  • the connection obtains the real-time power status transmitted by the mobile terminal; when it is determined that the mobile terminal is fully charged, the interface device of the USB interface is deactivated, so that the charging is automatically stopped.
  • the present application is directed to a method of charging a mobile terminal by connecting to a computer through a USB interface, thereby automatically stopping charging after being fully charged, solving the problem of overcharging, and eliminating the need to increase hardware cost, and achieving convenience.
  • FIG. 1 is a schematic flowchart of a method for automatically stopping charging after a mobile terminal is fully charged according to an embodiment of the present application
  • FIG. 2 is a schematic flow chart of another method for automatically stopping charging after a mobile terminal is fully charged according to an embodiment of the present application
  • FIG. 3 is a schematic flow chart of another method for automatically stopping charging after a mobile terminal is fully charged according to an embodiment of the present application
  • FIG. 4 is a schematic flowchart of still another method for automatically stopping charging after a mobile terminal is fully charged according to an embodiment of the present application
  • FIG. 5 is a schematic structural diagram of an apparatus for automatically stopping charging after a mobile terminal is fully charged according to an embodiment of the present application
  • FIG. 6 is a schematic structural diagram of another apparatus for automatically stopping charging after a mobile terminal is fully charged according to an embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of another apparatus for automatically stopping charging after a mobile terminal is fully charged according to an embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of another apparatus for automatically stopping charging after a mobile terminal is fully charged according to an embodiment of the present application.
  • the embodiment of the present application provides a method and a device for automatically stopping charging after a mobile terminal is fully charged.
  • the method for charging a mobile terminal by connecting to a computer through a USB interface realizes automatic charging stop after full charge, the following respectively
  • the embodiment is described in detail.
  • a method for automatically stopping charging after a mobile terminal is fully charged is applied to a computer having a USB interface, including the following steps:
  • Step 101 Connect the mobile terminal through a USB interface, and charge the mobile terminal by the power terminal of the USB interface.
  • the computer is a USB device that enables the USB interface
  • the mobile terminal is an interface device that accesses the USB interface.
  • Step 102 Establish a communication connection with the mobile terminal.
  • a network communication connection can be established by using a network protocol through the data line of the USB interface.
  • the wireless communication module of the mobile terminal and the wireless communication module of the computer can also be used to establish a network communication connection by using a network protocol, for example, through Bluetooth, WiFi (Wireless Fidelity,
  • a wireless communication module such as a wireless local area network (WLAN) uses a HTTP (Hyper Text Transport Protocol) or a user-designed network protocol to establish a network communication connection.
  • HTTP Hyper Text Transport Protocol
  • Step 103 Obtain a real-time power status transmitted by the mobile terminal by using the communication connection.
  • the computer can send a command to the mobile terminal, and then receive the real-time power status transmitted by the mobile terminal, or the mobile terminal can actively report the real-time power status after the communication connection is established.
  • the mobile terminal transmits the real-time power status according to the command or actively reports the transmission of the real-time power status, and may be transmitted periodically, or may be transmitted according to the predetermined power quantity change (for example, when the power is increased by 2%, 3%, 5% or more).
  • Step 104 Determine, according to the real-time power situation, whether the mobile terminal is fully charged. When it is determined that the mobile terminal is fully charged, the interface device of the USB interface is disabled, so that charging is automatically stopped.
  • the USB interface has four terminals: ground, power line (Vcc) and two data lines (data+ and data-).
  • Vcc operates at a normal voltage and is capable of charging the connected mobile terminal.
  • the voltage of Vcc is the voltage at the time of deactivation, and the voltage at the time of the deactivation is low, and the connected mobile terminal cannot be charged. Therefore, when it is determined that the mobile terminal is fully charged, the charging can be automatically stopped as long as the interface device of the USB interface is deactivated.
  • the interface device that disables the USB interface is implemented by deactivating the USB interface of the computer. After the interface device of the USB interface is disabled, the interface device (ie, the mobile terminal) that accesses the USB interface is still physically connected to the USB interface of the computer, but the computer does not perform the interface device that is connected to the disabled USB interface. Charging.
  • the USB interface is disconnected, the user is prompted that the hardware connection of the mobile terminal being charged is disconnected and charging stops. If the communication connection is broken, the communication connection is re-established, and the user is prompted to disconnect from the charging mobile terminal, the communication connection is being re-established, or the user is redirected to re-establish the communication connection.
  • the computer can prompt the user that the mobile terminal battery is not fully charged, and can be connected to the mobile terminal for charging again through the USB interface.
  • the real-time monitoring whether the USB interface is disconnected may be: determining whether the USB interface disconnection notification sent by the computer system is received in real time, and if received, determining that the USB interface is disconnected.
  • the real-time monitoring whether the communication connection is disconnected may be: starting a timer, determining whether the real-time power status transmitted by the mobile terminal is acquired within a preset timing time, and if yes, restarting the timer, otherwise It is determined that the communication connection is broken.
  • the computer and the mobile terminal can also determine whether the communication connection is disconnected according to whether the heartbeat information is received or not by transmitting heartbeat information.
  • FIG. 2 another method for automatically stopping charging after a mobile terminal is fully charged is applied to a computer, and includes the following steps:
  • Step 201 Connect the mobile terminal through a USB interface, and charge the mobile terminal by the power terminal of the USB interface.
  • the computer is the USB device that enables the USB interface
  • the mobile terminal is the interface device that accesses the USB interface.
  • the step 101 of the embodiment shown in FIG. 1 in the step 201 in this embodiment is identical and will not be repeated here.
  • Step 202 Establish a communication connection with the mobile terminal.
  • the communication connection in this embodiment is a network communication connection established by a wireless communication module of the mobile terminal and a wireless communication module of the computer by using a network protocol.
  • Step 203 Send, by the communication connection, an instruction for transmitting a real-time power status to the mobile terminal.
  • Step 204 Receive a real-time power status transmitted by the mobile terminal according to the instruction.
  • a method is adopted in which a computer sends an instruction to a mobile terminal, and the mobile terminal transmits a real-time power status to the computer according to the instruction.
  • the mobile terminal after the communication connection is established, the mobile terminal actively reports and transmits the real-time power status.
  • the mobile terminal transmits the real-time power status according to the command or actively reports the real-time power status, and may be transmitted periodically, or may be changed according to the predetermined power quantity (for example, every 2%, 3%, 5% or more of the power is increased). When)).
  • USB interface is disconnected and/or real time monitoring whether the communication connection is disconnected. If the USB interface is disconnected, the user is prompted that the hardware connection of the mobile terminal being charged is disconnected and charging stops. If the communication connection is broken, the communication connection is re-established, and the user is prompted to disconnect from the charging mobile terminal, the communication connection is being re-established, or the user is redirected to re-establish the communication connection.
  • Step 205 Determine, according to the real-time power status, whether the mobile terminal is fully charged. When it is determined that the mobile terminal is fully charged, the interface device of the USB interface is disabled, so that charging is automatically stopped.
  • the interface device that disables the USB interface is implemented by deactivating the USB interface of the computer. After the interface device of the USB interface is disabled, the interface device (ie, the mobile terminal) that accesses the USB interface is still physically connected to the USB interface of the computer, but the computer does not perform the interface device that is connected to the disabled USB interface. Charging.
  • system API Application Programming Interface
  • the system API Application Programming Interface
  • the USB interface to which the mobile terminal is connected can be deactivated by directly calling a specific system API (Application Programming Interface) function.
  • Step 206 Determine whether the mobile terminal is pulled out from the USB interface. If yes, go to step 207, otherwise go to step 208.
  • the voltage of Vcc is the voltage at the time of deactivation. Although this voltage cannot charge the connected mobile terminal, it can still detect whether Vcc is the voltage at the time of deactivation or not connected to the USB device. When there is no voltage, when Vcc is the voltage at the time of deactivation, it is determined that the mobile terminal is not unplugged, and when Vcc has no voltage, it is determined that the mobile terminal is unplugged.
  • the system API function can be called to directly obtain the deactivated state of the interface device of the USB interface, and whether it is pulled out in the deactivated state.
  • Step 207 enabling an interface device of the USB interface.
  • the charging process ends. That is, the previously disabled USB interface is enabled to enable the interface device connected to the enabled USB interface to be enabled, and thus the charging process is ended.
  • the mobile terminal has been unplugged, in order to ensure the next interface connected through the USB interface.
  • the device can be charged or accessed by the computer.
  • the interface device of the USB interface is enabled. In this way, after the disabled USB interface is re-enabled, the interface device connected to the USB interface can be used normally.
  • the method for specifically enabling the interface device of the USB interface can be implemented by directly calling a system API function of an interface device that implements the USB interface.
  • Step 208 Continue to receive the real-time power status transmitted by the mobile terminal through the communication connection.
  • the present embodiment is a wireless communication module in the mobile terminal and a wireless communication module in the computer
  • the communication interface established by the network protocol is used, and the interface device of the USB interface is disabled (ie, the USB interface connected to the mobile terminal is deactivated), The communication connection is disconnected, so the computer can continue to receive the real-time power status transmitted by the mobile terminal.
  • Step 209 Determine whether the power of the mobile terminal drops to a preset power, and if yes, execute step 210; otherwise, return to step 208.
  • the preset power can be set according to the actual situation, for example, it drops to 80% of the total power, 70, 60, and so on.
  • Step 210 Enable an interface device of the USB interface to recharge the mobile terminal.
  • USB interface enabled interface device can be implemented by enabling the previously disabled USB interface so that the interface device (ie, the mobile terminal) connected to the enabled USB interface can continue to be charged.
  • step 205 it is possible to return to step 205, and it is possible to automatically stop charging after the battery is fully charged again.
  • FIG. 3 another method for automatically stopping charging after a mobile terminal is fully charged according to an embodiment of the present application is applied to a mobile terminal having a USB interface, including the following steps:
  • Step 301 Connect the computer through the USB interface, and charge the mobile terminal by the power end of the USB interface of the computer.
  • the computer is a USB device that enables the USB interface
  • the mobile terminal is an interface device that accesses the USB interface.
  • Step 302 Establish a communication connection with the computer.
  • Step 301 and step 302 in this embodiment correspond to step 101 and step 102 in the embodiment shown in FIG. 1.
  • the manner of establishing a communication connection is the same as that of the embodiment shown in FIG. 1, and will not be repeated here.
  • Step 303 The real-time power status is transmitted to the computer through the communication connection, so that the interface device of the mobile terminal as the USB interface is disabled by the computer when the battery is fully charged, and the charging is automatically stopped.
  • the interface device that disables the USB interface is implemented by deactivating the USB interface of the computer. After the interface device of the USB interface is disabled, the interface device (ie, the mobile terminal) that accesses the USB interface is still physically connected to the USB interface of the computer, but the computer does not perform the interface device that is connected to the disabled USB interface. Charging.
  • the mobile terminal can transmit the real-time power status to the computer in two ways: one is to receive the real-time power status command sent by the receiving computer, and the real-time power status is transmitted to the computer according to the instruction. The other is to actively report the real-time power to the computer after establishing a communication connection with the computer.
  • the computer deactivates the interface device of the USB interface after the mobile terminal is fully charged according to the real-time power condition, that is, the mobile terminal is deactivated. In this way, the charging is automatically stopped.
  • FIG. 4 another method for automatically stopping charging after a mobile terminal is fully charged according to an embodiment of the present application is applied to a mobile terminal having a USB interface, including the following steps:
  • Step 401 Connect the computer through the USB interface, and charge the mobile terminal by the power end of the USB interface of the computer.
  • Step 402 Establish a communication connection with the computer.
  • the communication connection in this embodiment is a network communication connection established by a wireless communication module of the mobile terminal and a wireless communication module of the computer by using a network protocol.
  • Step 401 and step 402 in this embodiment correspond to step 201 and step 202 in the embodiment shown in FIG. 2.
  • the manner of establishing a communication connection is the same as that of the embodiment shown in FIG. 2 and will not be repeated here.
  • Step 403 receiving, by the communication connection, an instruction sent by the computer to transmit a real-time power status.
  • Step 404 transmitting the real-time power condition to the computer, so that the interface device of the mobile terminal as the USB interface is disabled by the computer when the battery is fully charged, and the charging is automatically stopped.
  • the mobile terminal may actively report the transmission of the real-time power status after establishing the communication connection.
  • the mobile terminal transmits the real-time power status according to the command or actively reports the real-time power status, and may be transmitted periodically, or may be transmitted according to the predetermined power quantity (for example, when the power is increased by 2%, 3%, 5% or more). .
  • step 405 may be performed.
  • Step 405 Continue to send the real-time power status to the computer through the communication connection, so that when the power of the mobile terminal drops to the preset power, the mobile terminal is enabled as the interface device of the USB interface to recharge.
  • the present embodiment is a communication connection established by a network protocol through a wireless communication module of the mobile terminal and a wireless communication module in the computer. Disabling the interface device of the USB interface does not cause the communication connection to be disconnected, so the mobile terminal can continue to transmit real-time power to the computer.
  • USB interface enabled interface device can be implemented by enabling the previously disabled USB interface so that the interface device (ie, the mobile terminal) connected to the enabled USB interface can continue to be charged.
  • the client software for implementing the above functions may be separately installed on the computer and the mobile terminal, and after the mobile terminal is connected to the computer through the USB interface, the respective client softwares are respectively started.
  • This process of launching the client software can be done manually by the user. It can also be automatically implemented by a computer or a mobile terminal after detecting that the mobile terminal is connected to the computer through the USB interface.
  • the method for the computer or the mobile terminal to detect that the mobile terminal is connected to the computer through the USB interface is a prior art, and details are not described herein again.
  • an apparatus for automatically stopping charging after a mobile terminal is fully charged is applied to a computer having a USB interface.
  • This embodiment corresponds to the embodiment shown in FIG. 1.
  • the device includes a USB charging unit 501, a communication connection establishing unit 502, a real-time power consumption unit 503, and a charging automatic stopping unit 504.
  • the USB charging unit 501 is configured to connect to the mobile terminal by using the USB interface, and the power terminal of the USB interface charges the mobile terminal.
  • the communication connection establishing unit 502 is configured to establish a communication connection with the mobile terminal.
  • the communication connection establishing unit may be a first communication connection establishing unit or a second communication connection establishing unit.
  • the first communication connection establishing unit is configured to establish a network communication connection by using a network protocol by using a data line of the USB interface.
  • the second communication connection establishing unit is configured to establish a network communication connection by using a network protocol by using a wireless communication module of the mobile terminal and a wireless communication module of the computer.
  • the real-time power status unit 503 is configured to obtain a real-time power status transmitted by the mobile terminal by using the communication connection.
  • the charging automatic stop unit 504 is configured to determine, according to the real-time power situation, whether the mobile terminal is fully charged; when it is determined that the mobile terminal is fully charged, the interface device of the USB interface is disabled, so that charging is automatically stopped.
  • the embodiment may further include a user prompting unit (not shown in FIG. 5).
  • the user prompting unit includes a monitoring subunit and a prompting subunit.
  • the monitoring subunit is configured to monitor whether the USB interface is disconnected and/or monitor the communication connection in real time after establishing a communication connection with the mobile terminal.
  • the prompting subunit is configured to prompt the user that the hardware connection of the mobile terminal being charged is disconnected when the USB interface is disconnected, and the charging is stopped; when the communication connection is disconnected, the communication connection is re-established, and the user is prompted to The mobile terminal that is charging is disconnected, the communication connection is being re-established; or the user is redirected to re-establish the communication connection.
  • the monitoring subunit may include a USB interface monitoring subunit and a communication connection monitoring subunit.
  • the USB interface monitoring subunit is configured to determine in real time whether a USB interface disconnection notification sent by the computer system is received, and if received, determine that the USB interface is disconnected.
  • the communication connection monitoring sub-unit is configured to start a timer, and determine whether a real-time power status transmitted by the mobile terminal is acquired within a preset timing time, and if yes, restart the timer, otherwise determine the communication Disconnect.
  • This embodiment corresponds to the method embodiment shown in FIG. 1, and the specific implementation manner of each unit is described with reference to the text of the embodiment shown in FIG. 1.
  • FIG. 6 another apparatus for automatically stopping charging after a mobile terminal is fully charged is applied to a computer having a USB interface.
  • the present embodiment corresponds to the embodiment shown in FIG. 2, and the apparatus includes: USB charging unit 601, second communication connection establishing unit 602, acquiring real-time power The situation unit 603, the charging automatic stop unit 606, the enabling unit 607, and the continuing charging unit 608.
  • the USB charging unit 601 is the same as the USB charging unit 501 in the embodiment shown in FIG. 5, and is not repeated here.
  • the second communication connection establishing unit 602 is configured to establish a network communication connection by using a network protocol by using a wireless communication module of the mobile terminal and a wireless communication module of the computer.
  • the acquiring real-time circuit condition unit 603 includes an instruction transmitting sub-unit 604 and a receiving sub-unit 605.
  • the instruction sending subunit 604 is configured to send, by using the communication connection, an instruction for transmitting a real-time power status to the mobile terminal.
  • the receiving sub-unit 605 is configured to receive a real-time power status that is periodically transmitted by the mobile terminal according to the instruction or a real-time power status that is transmitted when the predetermined power quantity changes.
  • the real-time circuit condition unit 603 may be configured to: receive a reporting power status sub-unit, and the receiving and reporting power status sub-unit is configured to receive, after the communication connection with the mobile terminal, receive the mobile terminal to report the transmission periodically. Real-time power condition or real-time power status reported when the scheduled power changes.
  • the user prompting unit may also be included in the embodiment, which is the same as the above embodiment, and is not repeated here.
  • the charging automatic stop unit 606 in this embodiment is the same as the charging automatic stop unit 504 shown in FIG. 5 and will not be repeated here.
  • the enabling unit 607 in this embodiment after deactivating the interface device of the USB interface, enables the interface device of the USB interface when it is determined that the mobile terminal is unplugged from the USB interface.
  • the continuation charging unit 608 in the embodiment after deactivating the interface device of the USB interface, and determining that the mobile terminal is not unplugged from the USB interface, continues to obtain the mobile terminal transmission through the communication connection.
  • Real-time power condition when the power of the mobile terminal drops to a preset power, the interface device of the USB interface is enabled to recharge the mobile terminal.
  • This embodiment corresponds to the method embodiment shown in FIG. 2, and the specific implementation manner of each unit is described with reference to the text of the embodiment shown in FIG. 2.
  • FIG. 7 another apparatus for automatically stopping charging after a mobile terminal is fully charged is applied to a mobile terminal having a USB interface.
  • This embodiment corresponds to the embodiment shown in FIG. 3, and the apparatus includes: The USB charging unit 701, the communication connection establishing unit 702, and the real-time power status transmitting unit 703.
  • the USB charging unit 701 is configured to connect to the computer through the USB interface, and charge the mobile terminal by the power end of the USB interface of the computer.
  • the communication connection establishing unit 702 is configured to establish a communication connection with a computer.
  • the communication connection establishing unit 702 in this embodiment may be a first communication connection establishing unit or a second communication connection establishing unit.
  • the first communication connection establishing unit is configured to establish a network communication connection by using a network protocol by using a data line of the USB interface;
  • the second communication connection establishing unit is configured to establish a network communication connection by using a network protocol by using a wireless communication module of the mobile terminal and a wireless communication module of the computer.
  • the real-time power situation transmission unit 703 is configured to transmit a real-time power status to the computer through the communication connection, so that the interface device of the mobile terminal as a USB interface is disabled by the computer when the battery is fully charged, and the charging is automatically stopped. .
  • This embodiment corresponds to the method embodiment shown in FIG. 3, and the specific implementation manner of each unit is described with reference to the text of the embodiment shown in FIG. 3.
  • FIG. 8 another device for implementing the automatic stop charging after the mobile terminal is fully charged is applied to the mobile terminal having the USB interface.
  • the embodiment corresponds to the embodiment shown in FIG. 4 , and the device includes: The USB charging unit 801, the second communication connection establishing unit 802, the real-time power status transmitting unit 803, and the continuing charging unit 806.
  • the USB charging unit 801 is the same as the USB charging unit 701 shown in FIG. 7, and is not repeated here.
  • the second communication establishing unit 802 is configured to establish a network communication connection by using a network protocol by using a wireless communication module of the mobile terminal and a wireless communication module of the computer.
  • the real-time power situation transmitting unit 803 in this embodiment includes an instruction receiving sub-unit 804 and a transmitting sub-unit 805.
  • the instruction receiving subunit 804 is configured to receive, by using the communication connection, an instruction sent by a computer to transmit a real-time power condition.
  • the transmitting sub-unit 805 is configured to periodically transmit a real-time power status according to the instruction or transmit a real-time power status to the computer when the predetermined power quantity changes, so that the mobile terminal is disabled as a USB interface interface device when fully charged The charging is automatically stopped.
  • the real-time power situation transmission unit 803 may include reporting the power status.
  • the unit, the reporting power status sub-unit is configured to periodically report the real-time power status after the communication connection is established with the computer, or report the real-time power status when the predetermined power quantity changes, so that the mobile terminal functions as an interface device of the USB interface. When it is fully charged, it is disabled by the computer and charging is automatically stopped.
  • the continuation charging unit 806 in this embodiment continues to transmit the real-time power status to the computer through the communication connection, so that when the power of the mobile terminal drops to the preset power, the mobile terminal that is the interface device of the USB interface is enabled to perform the re-operation. Charging.
  • This embodiment corresponds to the method embodiment shown in FIG. 4, and the specific implementation manner of each unit is described with reference to the text of the embodiment shown in FIG. 4.
  • the method for charging the mobile terminal by connecting to the computer through the USB interface can automatically stop charging after the battery is fully charged, solve the problem of overcharge, and increase the hardware cost. Easy to implement.
  • a device in the embodiment of the present application may be specifically implemented by a chip or an entity, or by a product having a certain function.
  • the present application can be implemented by means of software plus a necessary general hardware platform. Based on such understanding, the technical solution of the present application may be embodied in the form of a software product in essence or in the form of a software product, which may be stored in a storage medium such as a ROM/RAM or a disk. , an optical disk, etc., includes instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various embodiments of the present application or portions of the embodiments.
  • a computer device which may be a personal computer, server, or network device, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Manufacturing & Machinery (AREA)
  • Chemical & Material Sciences (AREA)
  • Chemical Kinetics & Catalysis (AREA)
  • Electrochemistry (AREA)
  • General Chemical & Material Sciences (AREA)
  • Power Engineering (AREA)
  • Telephone Function (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

一种实现移动终端充满电后自动停止充电的方法及装置,计算机通过USB接口为移动终端充电时,与移动终端建立通信连接,通过所述通信连接,获取移动终端传送的实时电量情况;当确定移动终端充满电时,停用所述USB接口的接口设备,使得充电自动停止。针对通过USB接口与计算机相连来对移动终端进行充电的方式,实现了充满电后自动停止充电,解决了过充的问题,且无需增加硬件成本,实现方便。

Description

实现移动终端充满电后自动停止充电的方法及装置
本申请要求于2013年08月27日提交中国专利局、申请号为201310379068.0申请名称为“实现移动终端充满电后自动停止充电的方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及移动终端充电技术,特别涉及一种实现移动终端充满电后自动停止充电的方法及装置。
背景技术
目前,移动终端通常采用锂电池进行供电,随着移动终端应用的迅速增加,移动终端的耗电量越来越大。尤其是在智能移动终端领域,其操作系统本身以及各种应用程序的运行需要消耗大量的电量,由于智能移动终端的体积等因素局限着锂电池蓄电量,用户需要及时为智能移动终端补充电量。
为移动终端充电,现在有两种方式:一种是通过硬件充电器进行充电;另一种是通过USB接口将移动终端与计算机连接进行充电。然而,在充电过程中,用户不可能实时监控电池的充电情况,导致经常会出现电池过充现象。由于锂电池过充会损坏锂电池的蓄电量,破坏锂电池的性能。
因此,移动终端充满电后能够自动停止充电能够极大的方便用户,解决电池过充的问题。
对于通过硬件充电器进行充电的情况,目前能够实现充满电后自动断电,但都采用了硬件方式,比如移动终端充满电后自动断电的装置、充满电后自动断电的排插以及自动断电的万能充电器等。
从硬件的角度出发解决移动终端充满电后自动停止充电的缺陷存在以下问题:硬件设计本身较为复杂,消耗的时间和成本较高;其次从用户需要随身携带这些硬件装置才能够解决过充的问题。
另外,目前采用了硬件方式实现充满电后自动停止充电的方法,仅适合用充电器对移动终端进行充电的方式。针对通过USB接口与计算机相连来对 移动终端进行充电的方式,目前,还没有能够实现充满电后自动停止充电的方法。
发明内容
有鉴于此,本申请实施例的目的在于提供一种实现移动终端充满电后自动停止充电的方法及装置,针对通过USB接口与计算机相连来对移动终端进行充电的方式,实现充满电后自动停止充电。
为达到上述目的,本申请实施例提供了一种实现移动终端充满电后自动停止充电的方法,应用于具有USB接口的计算机,包括步骤:
通过所述USB接口连接移动终端,由所述USB接口的电源端为移动终端充电;
与移动终端建立通信连接;
通过所述通信连接,获取移动终端传送的实时电量情况;
根据所述实时电量情况,确定移动终端是否充满电;当确定移动终端充满电时,停用所述USB接口的接口设备,使得充电自动停止。
较佳地,所述与移动终端建立通信连接为:通过所述USB接口的数据线,利用网络协议,建立网络通信连接;或通过移动终端的无线通信模块和计算机的无线通信模块,利用网络协议,建立网络通信连接。
较佳地,所述获取移动终端发送的实时电量情况,包括:通过所述通信连接,向移动终端发送传送实时电量情况的指令;接收移动终端根据该指令定时传送的实时电量情况或在预定电量变化时传送的实时电量情况;
或在与移动终端建立通信连接后,接收移动终端定时上报传送的实时电量情况或在预定电量变化时上报传送的实时电量情况。
较佳地,在与移动终端建立通信连接后,还包括:
实时监测USB接口是否断开和/或实时监测所述通信连接是否断开;
如果USB接口断开,则提示用户正在充电的移动终端硬件连接断开,充电停止;
如果所述通信连接断开,则重新建立通信连接,并提示用户与正在充电的移动终端通信连接断开,正在重新建立通信连接;或者引导用户重新建立 通信连接。
较佳地,所述实时监测USB接口是否断开,为:实时判断是否接收到计算机系统发送的USB接口断开通知,如果收到,则确定USB接口断开;
所述实时监测所述通信连接是否断开,为:启动定时器,判断在预设的定时时间内,是否获取到移动终端传送的实时电量情况,如果是,则重启所述定时器,否则确定所述通信连接断开。
较佳地,在停用所述USB接口的接口设备后,该方法还包括:当判断出移动终端被从USB接口拔出时,启用所述USB接口的接口设备。
较佳地,若所述与移动终端建立通信连接为:通过移动终端的无线通信模块和计算机的无线通信模块,利用网络协议,建立的网络通信连接,则在停用该USB口的接口设备后,且判断出所述移动终端未被从USB接口拔出时,还包括:
继续通过所述通信连接,获取移动终端传送的实时电量情况;当移动终端的电量下降到预设电量时,启用所述USB接口的接口设备,以重新对所述移动终端进行充电。
本申请实施例还提供了一种实现移动终端充满电后自动停止充电的方法,应用于具有USB接口的移动终端,包括步骤:
通过所述USB接口连接计算机,由计算机的USB接口的电源端为移动终端充电;
与计算机建立通信连接;
通过所述通信连接,将实时电量情况传送给计算机,以使得所述移动终端作为USB接口的接口设备在充满电时被计算机停用,充电被自动停止。
较佳地,所述与计算机建立通信连接为:通过所述USB接口的数据线,利用网络协议,建立网络通信连接;或通过移动终端的无线通信模块和计算机的无线通信模块,利用网络协议,建立网络通信连接。
较佳地,所述将实时电量情况发送给计算机,包括:
通过所述通信连接,接收计算机发送的传送实时电量情况的指令;根据该指令定时传送实时电量情况或在预定电量变化时传送实时电量情况至计算机;
在与计算机建立通信连接后,定时上报传送实时电量情况或在预定电量变化时上报传送实时电量情况。
较佳地,若所述与计算机建立通信连接为:通过移动终端的无线通信模块和计算机的无线通信模块,利用网络协议,建立的网络通信连接;则
在所述移动终端作为USB接口的接口设备在充满电时被计算机停用后,还包括:
继续通过所述通信连接,将实时电量情况发送给计算机,使得计算机在移动终端的电量下降到预设电量时,启用作为USB接口的接口设备的移动终端,以重新进行充电。
本申请实施例还提供了一种实现移动终端充满电后自动停止充电的装置,应用于具有USB接口的计算机,包括:
USB充电单元,用于通过所述USB接口连接移动终端,由所述USB接口的电源端为移动终端充电;
通信连接建立单元,用于与移动终端建立通信连接;
获取实时电量情况单元,用于通过所述通信连接,获取移动终端传送的实时电量情况;
充电自动停止单元,用于根据所述实时电量情况,确定移动终端是否充满电;当确定移动终端充满电时,停用所述USB接口的接口设备,使得充电自动停止。
较佳地,所述通信连接建立单元为第一通信连接建立单元或第二通信连接建立单元;
所述第一通信连接建立单元,用于通过所述USB接口的数据线,利用网络协议,建立网络通信连接;
所述第二通信连接建立单元,用于通过移动终端的无线通信模块和计算机的无线通信模块,利用网络协议,建立网络通信连接。
较佳地,所述获取实时电量情况单元包括:指令发送子单元和接收子单元;
所述指令发送子单元,用于通过所述通信连接,向移动终端发送传送实 时电量情况的指令;
所述接收子单元,用于接收移动终端根据该指令定时传送的实时电量情况或在预定电量变化时传送的实时电量情况;
所述获取实时电量情况单元包括:接收上报电量情况子单元;
所述接收上报电量情况子单元,用于在与移动终端建立通信连接后,接收移动终端定时上报传送的实时电量情况或在预定电量变化时上报传送的实时电量情况。
较佳地,该装置还包括用户提示单元;
所述用户提示单元,包括监测子单元和提示子单元;
所述监测子单元,用于在与移动终端建立通信连接后,实时监测USB接口是否断开和/或实时监测所述通信连接是否断开;
所述提示子单元,用于在USB接口断开时,提示用户正在充电的移动终端硬件连接断开,充电停止;在所述通信连接断开时,重新建立通信连接,并提示用户与正在充电的移动终端通信连接断开,正在重新建立通信连接;或者引导用户重新建立通信连接。
较佳地,所述监测子单元,包括USB接口监测子单元和通信连接监测子单元;
所述USB接口监测子单元,用于实时判断是否接收到计算机系统发送的USB接口断开通知,如果收到,则确定USB接口断开;
所述通信连接监测子单元,用于启动定时器,并判断在预设的定时时间内,是否获取到移动终端传送的实时电量情况,如果是,则重启所述定时器,否则确定所述通信连接断开。
较佳地,该装置还包括启用单元,
所述启用单元,在停用所述USB口的接口设备后,当判断出移动终端被从USB接口拔出时,启用所述USB接口的接口设备。
较佳地,若所述通信连接建立单元为第二通信连接建立单元,则还包括:继续充电单元;
所述继续充电单元,在停用该USB接口的接口设备后,且判断出所述移 动终端未被从USB接口拔出时,继续通过所述通信连接,获取移动终端传送的实时电量情况;当移动终端的电量下降到预设电量时,启用所述USB接口的接口设备,以重新对所述移动终端进行充电。
本申请实施例还提供了一种实现移动终端充满电后自动停止充电的装置,应用于具有USB接口的移动终端,包括:
USB充电单元,用于通过所述USB接口连接计算机,由计算机的USB接口的电源端为移动终端充电;
通信连接建立单元,用于与计算机建立通信连接;
实时电量情况传送单元,用于通过所述通信连接,将实时电量情况传送给计算机,以使得所述移动终端作为USB接口的接口设备在充满电时被计算机停用,充电被自动停止。
较佳地,所述通信连接建立单元为第一通信连接建立单元或第二通信连接建立单元;
所述第一通信连接建立单元,用于通过所述USB接口的数据线,利用网络协议,建立网络通信连接;
所述第二通信连接建立单元,用于通过移动终端的无线通信模块和计算机的无线通信模块,利用网络协议,建立网络通信连接。
较佳地,所述实时电量情况传送单元包括:指令接收子单元和传送子单元;
所述指令接收子单元,用于通过所述通信连接,接收计算机发送的传送实时电量情况的指令;
所述传送子单元,用于根据该指令定时传送实时电量情况或在预定电量变化时传送实时电量情况至计算机,以使得所述移动终端作为USB接口的接口设备在充满电时被计算机停用,充电被自动停止;
所述实时电量情况传送单元包括:上报电量情况子单元;
所述上报电量情况子单元,用于在与计算机建立通信连接后,定时上报传送实时电量情况或在预定电量变化时上报传送实时电量情况,以使得所述移动终端作为USB接口的接口设备在充满电时被计算机停用,充电被自动停 止。
较佳地,若所述通信连接建立单元为第二通信连接建立单元,则还包括:继续充电单元;
所述继续充电单元,继续通过所述通信连接,传送实时电量情况至计算机,使得计算机在移动终端的电量下降到预设电量时,启用作为USB接口的接口设备的移动终端,重新进行充电。
由上述的技术方案可见,本申请实施例提供的一种实现移动终端充满电后自动停止充电的方法及装置,计算机通过USB接口为移动终端充电时,与移动终端建立通信连接,通过所述通信连接,获取移动终端传送的实时电量情况;当确定移动终端充满电时,停用所述USB接口的接口设备,使得充电自动停止。也就是说,本申请针对通过USB接口与计算机相连来对移动终端进行充电的方式,实现了充满电后自动停止充电,解决了过充的问题,且无需增加硬件成本,实现方便。
当然,实施本申请的任一产品或方法必不一定需要同时达到以上所述的所有优点。
附图说明
为了更清楚地说明本申请实施例和现有技术的技术方案,下面对实施例和现有技术中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为根据本申请实施例的一种实现移动终端充满电后自动停止充电的方法的流程示意图;
图2为根据本申请实施例的另一种实现移动终端充满电后自动停止充电的方法的流程示意图;
图3为根据本申请实施例的再一种实现移动终端充满电后自动停止充电的方法的流程示意图;
图4为根据本申请实施例的又一种实现移动终端充满电后自动停止充电的方法的流程示意图;
图5为根据本申请实施例的一种实现移动终端充满电后自动停止充电的装置结构示意图;
图6为根据本申请实施例的另一种实现移动终端充满电后自动停止充电的装置结构示意图;
图7为根据本申请实施例的再一种实现移动终端充满电后自动停止充电的装置结构示意图;
图8为根据本申请实施例的又一种实现移动终端充满电后自动停止充电的装置结构示意图。
具体实施方式
为使本申请的目的、技术方案、及优点更加清楚明白,以下参照附图并举实施例,对本申请进一步详细说明。显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
本申请实施例提供了一种实现移动终端充满电后自动停止充电的方法和装置,针对通过USB接口与计算机相连来对移动终端进行充电的方式,实现了充满电后自动停止充电,以下分别举实施例进行详细说明。
参见图1,本申请实施例的一种实现移动终端充满电后自动停止充电的方法,应用于具有USB接口的计算机,包括如下步骤:
步骤101,通过USB接口连接移动终端,由所述USB接口的电源端为移动终端充电。
这里,需要说明的是,此时计算机是启用该USB接口的USB设备的,而移动终端是接入该USB接口的接口设备。
步骤102,与移动终端建立通信连接。
本步骤中,可以通过所述USB接口的数据线,利用网络协议,建立网络通信连接。也可以通过移动终端的无线通信模块和计算机的无线通信模块,利用网络协议,建立网络通信连接,例如:通过蓝牙、WiFi(Wireless Fidelity, 无线局域网)等无线通信模块,利用HTTP(Hyper Text Transport Protocol,超文本传输协议)或用户自己设计的网络协议来建立网络通信连接。
利用网络协议,建立网络通信连接的方法为现有技术,这里不再赘述。
步骤103,通过所述通信连接,获取移动终端传送的实时电量情况。
实际应用中,计算机可以通过向移动终端发送指令,再接收移动终端传送的实时电量情况,也可以在建立通信连接后,由移动终端主动上报传送实时电量情况。
移动终端根据指令传送实时电量情况或主动上报传送实时电量情况,可以定时传送,也可以根据预定电量变化(如每增加2%、3%、5%或更多电量时)传送。
步骤104,根据所述实时电量情况,确定移动终端是否充满电;当确定移动终端充满电时,停用所述USB接口的接口设备,使得充电自动停止。
如果移动终端未充满电,则不做其他处理,继续接收移动终端传送的实时电量情况。
通常来讲,USB接口有4个接线端:地线、电源线(Vcc)和两条数据线(data+和data-)。在启用USB接口设备的情况下,Vcc工作在正常电压,能够为连接的移动终端充电。在停用USB接口的接口设备的情况下,Vcc的电压为停用时的电压,该停用时的电压很低,无法为连接的移动终端充电。因此,当确定移动终端充满电时,只要停用所述USB接口的接口设备,就能够使得充电自动停止。
可以理解,所谓停用USB接口的接口设备是通过停用计算机的USB接口来实现的。而停用USB接口的接口设备后,接入该USB接口的接口设备(即移动终端)仍然与计算机的USB接口物理连接,但计算机不再给已经停用的USB接口所接入的接口设备进行充电。
另外,本实施例中,在与移动终端建立通信连接后,还可以实时监测USB接口是否断开和/或实时监测所述通信连接是否断开。如果USB接口断开,则提示用户正在充电的移动终端硬件连接断开,充电停止。如果所述通信连接断开,则重新建立通信连接,并提示用户与正在充电的移动终端通信连接断开,正在重新建立通信连接;或者引导用户重新建立通信连接。
实际应用中,在USB接口断开而移动终端尚未充满电的情况下,计算机可以提示用户,移动终端电池未充满,可以再次通过USB接口连接移动终端进行充电。
其中,所述实时监测USB接口是否断开,可以为:实时判断是否接收到计算机系统发送的USB接口断开通知,如果收到,则确定USB接口断开。
所述实时监测所述通信连接是否断开,可以为:启动定时器,判断在预设的定时时间内,是否获取到移动终端传送的实时电量情况,如果是,则重启所述定时器,否则确定所述通信连接断开。当然,实际应用中,计算机和移动终端,还可以通过互发心跳信息,根据是否收到心跳信息来确定通信连接是否断开。
参见图2,本申请实施例的另一种实现移动终端充满电后自动停止充电的方法,应用于计算机,包括如下步骤:
步骤201,通过USB接口连接移动终端,由所述USB接口的电源端为移动终端充电。
同样的,此时计算机是启用该USB接口的USB设备的,而该移动终端是接入该USB接口的接口设备。本实施例中的步骤201图1所示实施例的步骤101完全相同,这里不再重复。
步骤202,与移动终端建立通信连接。
本实施例中的通信连接,是通过移动终端的无线通信模块和计算机的无线通信模块,利用网络协议,建立的网络通信连接。
步骤203,通过所述通信连接,向移动终端发送传送实时电量情况的指令。
步骤204,接收移动终端根据该指令传送的实时电量情况。
本实施例中,采用了计算机向移动终端发送指令,移动终端根据指令向计算机传送实时电量情况的方式。实际应用中,也可以在建立通信连接后,由移动终端主动上报传送实时电量情况。
同样的,本实施例中,移动终端根据指令传送实时电量情况或主动上报传送实时电量情况,可以定时传送,也可以根据预定电量变化(如每增加2%、3%、5%或更多电量时)传送。
同样的,本实施例中,在与移动终端建立通信连接后,还可以实时监测 USB接口是否断开和/或实时监测所述通信连接是否断开。如果USB接口断开,则提示用户正在充电的移动终端硬件连接断开,充电停止。如果所述通信连接断开,则重新建立通信连接,并提示用户与正在充电的移动终端通信连接断开,正在重新建立通信连接;或者引导用户重新建立通信连接。
步骤205,根据所述实时电量情况,确定移动终端是否充满电;当确定移动终端充满电时,停用所述USB接口的接口设备,使得充电自动停止。
如果移动终端未充满电,则不做其他处理,继续接收移动终端传送的实时电量情况。
可以理解,所谓停用USB接口的接口设备是通过停用计算机的USB接口来实现的。而停用USB接口的接口设备后,接入该USB接口的接口设备(即移动终端)仍然与计算机的USB接口物理连接,但计算机不再给已经停用的USB接口所接入的接口设备进行充电。
在实际应用中,可以直接调用实现停用USB接口的接口设备的系统API(Application Programming Interface,应用程序接口)函数来实现停用USB接口的接口设备。也就是,可以通过直接调用特定的系统API(Application Programming Interface,应用程序接口)函数的方式停用连接有移动终端的USB接口。
步骤206,判断移动终端是否被从USB接口拔出,如果是,则执行步骤207,否则执行步骤208。
在停用USB接口的接口设备的情况下,Vcc的电压为停用时的电压,该电压虽然无法为连接的移动终端充电,但仍可以通过检测Vcc为停用时的电压还是没有连接USB设备时的无电压,当Vcc为停用时的电压时,确定移动终端未被拔下,当Vcc无电压时,确定移动终端被拔下。在实际应用中,可以通过调用系统API函数,直接获取USB接口的接口设备的停用状态,以及在停用状态下是否被拔出。
步骤207,启用所述USB接口的接口设备。充电流程结束。也即,启用之前被停用的USB接口,以使得连接到所启用的USB接口的接口设备能够被启用,至此,结束了充电流程。
此时,移动终端已经被拔下,为保证下一次通过该USB接口连接的接口 设备能够被充电或被计算机访问,本实施例中,在移动终端被拔下后,启用所述USB接口的接口设备。这样,在被停用的USB接口被重新启用后,后续连接到该USB接口的接口设备才能正常使用。
具体启用所述USB接口的接口设备的方法,可以通过直接调用实现启用USB接口的接口设备的系统API函数来实现。
实际应用中,为了能够对保持USB接口连接的移动终端,在电量消耗后继续自动充电,在移动终端未被从USB接口拔出的情况下,可以执行下述步骤。
步骤208,通过所述通信连接,继续接收移动终端传送的实时电量情况。
由于本实施例是通过移动终端的无线通信模块和计算机中的无线通信模块,利用网络协议建立的通信连接,停用USB接口的接口设备(即停用连接有移动终端的USB接口),不会导致该通信连接断开,因此,计算机还可以继续接收移动终端传送的实时电量情况。
步骤209,判断移动终端的电量是否下降到预设的电量,如果是,则执行步骤210;否则返回步骤208。
预设的电量,可以根据实际情况设定,例如:下降到总电量的80%、70、60等等。
步骤210,启用所述USB接口的接口设备,以重新对所述移动终端进行充电。
可以理解的是,所谓启用USB接口的接口设备可以通过启用之前被停用的USB接口来实现,以使得连接到该所启用的USB接口的接口设备(即移动终端)能够继续被充电。
然后,可以返回到步骤205,可以实现再次充满电后自动停止充电。
参见图3,本申请实施例的另一种实现移动终端充满电后自动停止充电的方法,应用于具有USB接口的移动终端,包括如下步骤:
步骤301、通过所述USB接口连接计算机,由计算机的USB接口的电源端为移动终端充电。
其中,计算机是启用该USB接口的USB设备的,而该移动终端是接入该USB接口的接口设备。
步骤302、与计算机建立通信连接。
本实施例中的步骤301和步骤302与图1所示实施例中的步骤101和步骤102相对应。建立通信连接的方式与图1所示实施例相同,这里不再重复。
步骤303、通过所述通信连接,将实时电量情况传送给计算机,以使得所述移动终端作为USB接口的接口设备在充满电时被计算机停用,充电被自动停止。
可以理解,所谓停用USB接口的接口设备是通过停用计算机的USB接口来实现的。而停用USB接口的接口设备后,接入该USB接口的接口设备(即移动终端)仍然与计算机的USB接口物理连接,但计算机不再给已经停用的USB接口所接入的接口设备进行充电。
本步骤中,与图1所示实施例相对应。移动终端将实时电量情况传送给计算机也可以通过两种方式来实现:一种是接收计算机的发送的传送实时电量情况指令,根据该指令将实时电量情况传送给计算机。另一种,则是在与计算机建立通信连接后,主动向计算机上报传送实时电量情况。
计算机在根据实时电量情况,确定移动终端充满电后,停用该USB接口的接口设备,即停用该移动终端。这样,充电就被自动停止了。
参见图4,本申请实施例的另一种实现移动终端充满电后自动停止充电的方法,应用于具有USB接口的移动终端,包括如下步骤:
步骤401、通过所述USB接口连接计算机,由计算机的USB接口的电源端为移动终端充电。
步骤402、与计算机建立通信连接。
本实施例中的通信连接,是通过移动终端的无线通信模块和计算机的无线通信模块,利用网络协议,建立的网络通信连接。
本实施例中的步骤401和步骤402与图2所示实施例中的步骤201和步骤202相对应。建立通信连接的方式与图2所示实施例相同,这里不再重复。
步骤403,通过所述通信连接,接收计算机发送的传送实时电量情况的指令。
步骤404,根据该指令传送实时电量情况至计算机,以使得所述移动终端作为USB接口的接口设备在充满电时被计算机停用,充电被自动停止。
在其他实施例中,移动终端可以在建立通信连接后,主动上报传送实时电量情况。
本实施例中,移动终端根据指令传送实时电量情况或主动上报传送实时电量情况,可以定时传送,也可以根据预定电量变化(如每增加2%、3%、5%或更多电量时)传送。
此时,如果移动终端未被从USB接口拔出,则可以执行步骤405。
步骤405,继续通过所述通信连接,将实时电量情况发送给计算机,使得计算机在移动终端的电量下降到预设电量时,启用作为USB接口的接口设备的移动终端,以重新进行充电。
本实施例中,与图2所示实施例相对应。由于本实施例是通过移动终端的无线通信模块和计算机中的无线通信模块,利用网络协议建立的通信连接。停用USB接口的接口设备,不会导致该通信连接断开,因此,移动终端还可以继续向计算机传送实时电量情况。
可以理解的是,所谓启用USB接口的接口设备可以通过启用之前被停用的USB接口来实现,以使得连接到该所启用的USB接口的接口设备(即移动终端)能够继续被充电。
实际应用中,针对上述四个实施例,可以在计算机和移动终端上分别安装实现上述功能的客户端软件,移动终端通过USB接口连接到计算机后,分别启动各自的客户端软件。这个启动客户端软件的过程,可以由用户人工实现。也可以是由计算机或移动终端,分别在检测到移动终端通过USB接口连接到计算机后,自动实现。其中,计算机或移动终端分别检测到移动终端通过USB接口连接到计算机的方法为现有技术,这里不再赘述。
参见图5,本申请实施例的一种实现移动终端充满电后自动停止充电的装置,应用于具有USB接口的计算机。本实施例与图1所示的实施例相对应,该装置包括:USB充电单元501、通信连接建立单元502、获取实时电量情况单元503和充电自动停止单元504。
其中,所述USB充电单元501,用于通过所述USB接口连接移动终端,由所述USB接口的电源端为移动终端充电。
所述通信连接建立单元502,用于与移动终端建立通信连接。本实施例中 的通信连接建立单元可以为第一通信连接建立单元或第二通信连接建立单元。
其中,所述第一通信连接建立单元,用于通过所述USB接口的数据线,利用网络协议,建立网络通信连接。
所述第二通信连接建立单元,用于通过移动终端的无线通信模块和计算机的无线通信模块,利用网络协议,建立网络通信连接。
所述获取实时电量情况单元503,用于通过所述通信连接,获取移动终端传送的实时电量情况。
所述充电自动停止单元504,用于根据所述实时电量情况,确定移动终端是否充满电;当确定移动终端充满电时,停用所述USB接口的接口设备,使得充电自动停止。
另外,本实施例还可以还包括用户提示单元(图5中未示出)。所述用户提示单元,包括监测子单元和提示子单元;所述监测子单元,用于在与移动终端建立通信连接后,实时监测USB接口是否断开和/或实时监测所述通信连接是否断开;所述提示子单元,用于在USB接口断开时,提示用户正在充电的移动终端硬件连接断开,充电停止;在所述通信连接断开时,重新建立通信连接,并提示用户与正在充电的移动终端通信连接断开,正在重新建立通信连接;或者引导用户重新建立通信连接。
其中,所述监测子单元,可以包括USB接口监测子单元和通信连接监测子单元。所述USB接口监测子单元,用于实时判断是否接收到计算机系统发送的USB接口断开通知,如果收到,则确定USB接口断开。所述通信连接监测子单元,用于启动定时器,并判断在预设的定时时间内,是否获取到移动终端传送的实时电量情况,如果是,则重启所述定时器,否则确定所述通信连接断开。
本实施例与图1所示的方法实施例相对应,各个单元具体的实现方式,参照图1所示实施例的文字描述。
参见图6,本申请实施例的另一种实现移动终端充满电后自动停止充电的装置,应用于具有USB接口的计算机,本实施例与图2所示的实施例相对应,该装置包括:USB充电单元601、第二通信连接建立单元602、获取实时电量 情况单元603、充电自动停止单元606、启用单元607和继续充电单元608。
本实施例中,所述USB充电单元601与图5所示实施例中的USB充电单元501相同,这里不再重复。
所述第二通信连接建立单元602,用于通过移动终端的无线通信模块和计算机的无线通信模块,利用网络协议,建立网络通信连接。
所述获取实时电路情况单元603,包括:指令发送子单元604和接收子单元605。所述指令发送子单元604,用于通过所述通信连接,向移动终端发送传送实时电量情况的指令。所述接收子单元605,用于接收移动终端根据该指令定时传送的实时电量情况或在预定电量变化时传送的实时电量情况。
在其他实施例中,获取实时电路情况单元603,可以包括:接收上报电量情况子单元,所述接收上报电量情况子单元,用于在与移动终端建立通信连接后,接收移动终端定时上报传送的实时电量情况或在预定电量变化时上报传送的实时电量情况。
同样的,本实施例中也可以包括用户提示单元,具体与上述实施例相同,这里不再重复。
本实施例中的充电自动停止单元606,与图5所示的充电自动停止单元504相同,这里不再重复。
本实施例中的启用单元607,在停用该USB接口的接口设备后,当判断出移动终端被从USB接口拔出时,启用所述USB接口的接口设备。
本实施例中的继续充电单元608,在停用所述USB接口的接口设备后,且判断出所述移动终端未被从USB接口拔出时,继续通过所述通信连接,获取移动终端传送的实时电量情况;当移动终端的电量下降到预设电量时,启用所述USB接口的接口设备,以重新对所述移动终端进行充电。
本实施例与图2所示的方法实施例相对应,各个单元具体的实现方式,参照图2所示实施例的文字描述。
参见图7,本申请实施例的再一种实现移动终端充满电后自动停止充电的装置,应用于具有USB接口的移动终端,本实施例与图3所示实施例相对应,该装置包括:USB充电单元701、通信连接建立单元702和实时电量情况传送单元703。
其中,所述USB充电单元701,用于通过所述USB接口连接计算机,由计算机的USB接口的电源端为移动终端充电。
所述通信连接建立单元702,用于与计算机建立通信连接。本实施例中的通信连接建立单元702可以为第一通信连接建立单元或第二通信连接建立单元。
所述第一通信连接建立单元,用于通过所述USB接口的数据线,利用网络协议,建立网络通信连接;
所述第二通信连接建立单元,用于通过移动终端的无线通信模块和计算机的无线通信模块,利用网络协议,建立网络通信连接。
所述实时电量情况传送单元703,用于通过所述通信连接,将实时电量情况传送给计算机,以使得所述移动终端作为USB接口的接口设备在充满电时被计算机停用,充电被自动停止。
本实施例与图3所示的方法实施例相对应,各个单元具体的实现方式,参照图3所示实施例的文字描述。
参见图8,本申请实施例的又一种实现移动终端充满电后自动停止充电的装置,应用于具有USB接口的移动终端,本实施例与图4所示实施例相对应,该装置包括:USB充电单元801、第二通信连接建立单元802、实时电量情况传送单元803和继续充电单元806。
其中,所述USB充电单元801,与图7所示USB充电单元701相同,这里不再重复。
所述第二通信建立单元802,用于通过移动终端的无线通信模块和计算机的无线通信模块,利用网络协议,建立网络通信连接。
本实施例中的实时电量情况传送单元803,包括:指令接收子单元804和传送子单元805。所述指令接收子单元804,用于通过所述通信连接,接收计算机发送的传送实时电量情况的指令。所述传送子单元805,用于根据该指令定时传送实时电量情况或在预定电量变化时传送实时电量情况至计算机,以使得所述移动终端作为USB接口的接口设备在充满电时被计算机停用,充电被自动停止。
在其他实施例中,实时电量情况传送单元803,可以包括上报电量情况子 单元,所述上报电量情况子单元,用于在与计算机建立通信连接后,定时上报传送实时电量情况或在预定电量变化时上报传送实时电量情况,以使得所述移动终端作为USB接口的接口设备在充满电时被计算机停用,充电被自动停止。
本实施例中的继续充电单元806继续通过所述通信连接,传送实时电量情况至计算机,使得计算机在移动终端的电量下降到预设电量时,启用作为USB接口的接口设备的移动终端,重新进行充电。
本实施例与图4所示的方法实施例相对应,各个单元具体的实现方式,参照图4所示实施例的文字描述。
由上述的实施例可见,应用本申请实施例,针对通过USB接口与计算机相连来对移动终端进行充电的方式,能够实现充满电后自动停止充电,解决了过充的问题,且无需增加硬件成本,实现方便。
本申请实施例中某一装置具体可以由芯片或实体实现,或者由具有某种功能的产品来实现。
为了描述的方便,描述以上装置是以功能分为各种单元分别描述。当然,在实施本申请时可以把各单元的功能在同一个或多个软件和/或硬件中实现。
通过以上的实施方式的描述可知,本领域的技术人员可以清楚地了解到本申请可借助软件加必需的通用硬件平台的方式来实现。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例或者实施例的某些部分所述的方法。
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括 没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。
本说明书中的各个实施例均采用相关的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。
以上所述仅为本申请的较佳实施例而已,并不用以限制本申请,凡在本申请的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本申请保护的范围之内。

Claims (18)

  1. 一种实现移动终端充满电后自动停止充电的方法,应用于具有USB接口的计算机,其特征在于,包括步骤:
    通过所述USB接口连接移动终端,由所述USB接口的电源端为移动终端充电;
    与移动终端建立通信连接;
    通过所述通信连接,获取移动终端传送的实时电量情况;
    根据所述实时电量情况,确定移动终端是否充满电;当确定移动终端充满电时,停用所述USB接口的接口设备,使得充电自动停止。
  2. 根据权利要求1所述的方法,其特征在于,所述与移动终端建立通信连接为:通过所述USB接口的数据线,利用网络协议,建立网络通信连接;或通过移动终端的无线通信模块和计算机的无线通信模块,利用网络协议,建立网络通信连接。
  3. 根据权利要求2所述的方法,其特征在于,所述获取移动终端发送的实时电量情况,包括:
    通过所述通信连接,向移动终端发送传送实时电量情况的指令;接收移动终端根据该指令定时传送的实时电量情况或在预定电量变化时传送的实时电量情况;
    在与移动终端建立通信连接后,接收移动终端定时上报传送的实时电量情况或在预定电量变化时上报传送的实时电量情况。
  4. 根据权利要求1所述的方法,其特征在于,在与移动终端建立通信连接后,还包括:
    实时监测USB接口是否断开和/或实时监测所述通信连接是否断开;
    如果USB接口断开,则提示用户正在充电的移动终端硬件连接断开,充电停止;
    如果所述通信连接断开,则重新建立通信连接,并提示用户与正在充电的移动终端通信连接断开,正在重新建立通信连接;或者引导用户重新建立通信连接。
  5. 根据权利要求4所述的方法,其特征在于,
    所述实时监测USB接口是否断开,为:实时判断是否接收到计算机系统发送的USB接口断开通知,如果收到,则确定USB接口断开;
    所述实时监测所述通信连接是否断开,为:启动定时器,判断在预设的定时时间内,是否获取到移动终端传送的实时电量情况,如果是,则重启所述定时器,否则确定所述通信连接断开。
  6. 根据权利要求2所述的方法,其特征在于,在停用所述USB接口的接口设备后,该方法还包括:当判断出移动终端被从USB接口拔出时,启用所述USB接口的接口设备。
  7. 根据权利要求6所述的方法,其特征在于,若所述与移动终端建立通信连接为:通过移动终端的无线通信模块和计算机的无线通信模块,利用网络协议,建立的网络通信连接,则在停用该USB口的接口设备后,且判断出所述移动终端未被从USB接口拔出时,还包括:
    继续通过所述通信连接,获取移动终端传送的实时电量情况;当移动终端的电量下降到预设电量时,启用所述USB接口的接口设备,以重新对所述移动终端进行充电。
  8. 一种实现移动终端充满电后自动停止充电的方法,应用于具有USB接口的移动终端,其特征在于,包括步骤:
    通过所述USB接口连接计算机,由计算机的USB接口的电源端为移动终端充电;
    与计算机建立通信连接;
    通过所述通信连接,将实时电量情况传送给计算机,以使得所述移动终端作为USB接口的接口设备在充满电时被计算机停用,充电被自动停止。
  9. 根据权利要求8所述的方法,其特征在于,所述与计算机建立通信连接为:通过所述USB接口的数据线,利用网络协议,建立网络通信连接;或通过移动终端的无线通信模块和计算机的无线通信模块,利用网络协议,建立网络通信连接。
  10. 根据权利要求9所述的方法,其特征在于,所述将实时电量情况发送给计算机,包括:
    通过所述通信连接,接收计算机发送的传送实时电量情况的指令;根据该指令定时传送实时电量情况或在预定电量变化时传送实时电量情况至计算机;
    在与计算机建立通信连接后,定时上报传送实时电量情况或在预定电量变化时上报传送实时电量情况。
  11. 根据权利要求9所述的方法,其特征在于,若所述与计算机建立通信连接为:通过移动终端的无线通信模块和计算机的无线通信模块,利用网络协议,建立的网络通信连接;则
    在所述移动终端作为USB接口的接口设备在充满电时被计算机停用后,还包括:
    继续通过所述通信连接,将实时电量情况发送给计算机,使得计算机在移动终端的电量下降到预设电量时,启用作为USB接口的接口设备的移动终端,以重新进行充电。
  12. 一种实现移动终端充满电后自动停止充电的装置,应用于具有USB接口的计算机,其特征在于,包括:
    USB充电单元,用于通过所述USB接口连接移动终端,由所述USB接口的电源端为移动终端充电;
    通信连接建立单元,用于与移动终端建立通信连接;
    获取实时电量情况单元,用于通过所述通信连接,获取移动终端传送的实时电量情况;
    充电自动停止单元,用于根据所述实时电量情况,确定移动终端是否充满电;当确定移动终端充满电时,停用所述USB接口的接口设备,使得充电自动停止。
  13. 根据权利要求12所述的装置,其特征在于,所述通信连接建立单元为第一通信连接建立单元或第二通信连接建立单元;
    所述第一通信连接建立单元,用于通过所述USB接口的数据线,利用网络协议,建立网络通信连接;
    所述第二通信连接建立单元,用于通过移动终端的无线通信模块和计算 机的无线通信模块,利用网络协议,建立网络通信连接。
  14. 根据权利要求13所述的装置,其特征在于,所述获取实时电量情况单元包括:指令发送子单元和接收子单元;
    所述指令发送子单元,用于通过所述通信连接,向移动终端发送传送实时电量情况的指令;
    所述接收子单元,用于接收移动终端根据该指令定时传送的实时电量情况或在预定电量变化时传送的实时电量情况;
    所述获取实时电量情况单元包括:接收上报电量情况子单元;
    所述接收上报电量情况子单元,用于在与移动终端建立通信连接后,接收移动终端定时上报传送的实时电量情况或在预定电量变化时上报传送的实时电量情况。
  15. 根据权利要求12所述的装置,其特征在于,还包括用户提示单元;
    所述用户提示单元,包括监测子单元和提示子单元;
    所述监测子单元,用于在与移动终端建立通信连接后,实时监测USB接口是否断开和/或实时监测所述通信连接是否断开;
    所述提示子单元,用于在USB接口断开时,提示用户正在充电的移动终端硬件连接断开,充电停止;在所述通信连接断开时,重新建立通信连接,并提示用户与正在充电的移动终端通信连接断开,正在重新建立通信连接;或者引导用户重新建立通信连接。
  16. 根据权利要求15所述的装置,其特征在于,
    所述监测子单元,包括USB接口监测子单元和通信连接监测子单元;
    所述USB接口监测子单元,用于实时判断是否接收到计算机系统发送的USB接口断开通知,如果收到,则确定USB接口断开;
    所述通信连接监测子单元,用于启动定时器,并判断在预设的定时时间内,是否获取到移动终端传送的实时电量情况,如果是,则重启所述定时器,否则确定所述通信连接断开。
  17. 根据权利要求13所述的装置,其特征在于,还包括启用单元,
    所述启用单元,在停用所述USB口的接口设备后,当判断出移动终端被 从USB接口拔出时,启用所述USB接口的接口设备。
  18. 根据权利要求17所述的装置,其特征在于,若所述通信连接建立单元为第二通信连接建立单元,则还包括:继续充电单元;
    所述继续充电单元,在停用该USB接口的接口设备后,且判断出所述移动终端未被从USB接口拔出时,继续通过所述通信连接,获取移动终端传送的实时电量情况;当移动终端的电量下降到预设电量时,启用所述USB接口的接口设备,以重新对所述移动终端进行充电。
PCT/CN2014/085144 2013-08-27 2014-08-26 实现移动终端充满电后自动停止充电的方法及装置 WO2015027889A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2013103790680A CN103413986A (zh) 2013-08-27 2013-08-27 实现移动终端充满电后自动停止充电的方法及装置
CN201310379068.0 2013-08-27

Publications (1)

Publication Number Publication Date
WO2015027889A1 true WO2015027889A1 (zh) 2015-03-05

Family

ID=49606982

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/085144 WO2015027889A1 (zh) 2013-08-27 2014-08-26 实现移动终端充满电后自动停止充电的方法及装置

Country Status (2)

Country Link
CN (1) CN103413986A (zh)
WO (1) WO2015027889A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106684966A (zh) * 2016-11-23 2017-05-17 苏州海尔信息科技有限公司 一种个人电子护理产品充电控制方法和系统
CN114842593A (zh) * 2022-03-15 2022-08-02 合享佳智(深圳)充电桩科技有限公司 一种充电桩自动获取设备ip的方法、系统、设备及介质

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103413986A (zh) * 2013-08-27 2013-11-27 贝壳网际(北京)安全技术有限公司 实现移动终端充满电后自动停止充电的方法及装置
CN103700900B (zh) * 2013-12-19 2016-09-28 贝壳网际(北京)安全技术有限公司 移动终端充电的控制方法、装置、系统和移动终端
CN104167801A (zh) * 2014-08-29 2014-11-26 广东欧珀移动通信有限公司 一种显示移动电源的状态的方法、移动终端及移动电源
MA37584A1 (fr) * 2014-11-28 2016-06-30 Univ Int Rabat Chargeur electrique avec systeme gestion de charge
CN105006874A (zh) * 2015-08-04 2015-10-28 上海汉枫电子科技有限公司 一种确保智能移动终端在充满电后自动断电的方法及系统
CN105515092A (zh) * 2015-12-04 2016-04-20 小米科技有限责任公司 终端充电控制方法及装置
CN105977563A (zh) * 2016-06-28 2016-09-28 努比亚技术有限公司 一种充电方法、充电设备及终端
CN106026298A (zh) * 2016-07-25 2016-10-12 Tcl移动通信科技(宁波)有限公司 一种移动终端基于usb的充电调试的方法及系统
CN106527642A (zh) 2016-11-26 2017-03-22 北京小米移动软件有限公司 排插的供电控制方法、装置及排插
CN106981696B (zh) * 2017-06-05 2020-11-10 广州视源电子科技股份有限公司 一种用于电池的充电方法、电子设备及充电器
CN109360346A (zh) * 2018-11-01 2019-02-19 李文博 一种行李寄存方法及寄存控制器
CN109560581B (zh) * 2018-11-13 2020-12-01 Oppo广东移动通信有限公司 充电处理方法、充电处理电路、电子设备及存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6291965B1 (en) * 1999-01-11 2001-09-18 Sony Corporation Battery charger
CN201112502Y (zh) * 2007-08-14 2008-09-10 韩增奇 可定时充电器
CN202759259U (zh) * 2012-06-21 2013-02-27 深圳Tcl新技术有限公司 电视机外设充电装置及电视机
CN103413986A (zh) * 2013-08-27 2013-11-27 贝壳网际(北京)安全技术有限公司 实现移动终端充满电后自动停止充电的方法及装置

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1516507A (zh) * 2003-01-01 2004-07-28 宋春雨 内嵌usb接口快闪存储器的新型手机
CN2659054Y (zh) * 2003-08-07 2004-11-24 海信集团有限公司 手机的数据转换及充电装置
CN102290833A (zh) * 2010-06-17 2011-12-21 瀚宇彩晶股份有限公司 电子装置及其充电方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6291965B1 (en) * 1999-01-11 2001-09-18 Sony Corporation Battery charger
CN201112502Y (zh) * 2007-08-14 2008-09-10 韩增奇 可定时充电器
CN202759259U (zh) * 2012-06-21 2013-02-27 深圳Tcl新技术有限公司 电视机外设充电装置及电视机
CN103413986A (zh) * 2013-08-27 2013-11-27 贝壳网际(北京)安全技术有限公司 实现移动终端充满电后自动停止充电的方法及装置

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106684966A (zh) * 2016-11-23 2017-05-17 苏州海尔信息科技有限公司 一种个人电子护理产品充电控制方法和系统
CN114842593A (zh) * 2022-03-15 2022-08-02 合享佳智(深圳)充电桩科技有限公司 一种充电桩自动获取设备ip的方法、系统、设备及介质

Also Published As

Publication number Publication date
CN103413986A (zh) 2013-11-27

Similar Documents

Publication Publication Date Title
WO2015027889A1 (zh) 实现移动终端充满电后自动停止充电的方法及装置
KR102054719B1 (ko) 전원 어댑터, 단말기 및 충전 시스템
US8219721B2 (en) Mobile terminal and switching method for controlling data transmission via high speed or low speed interfaces based on preset threshold
JP6879623B2 (ja) 充電方法、端末および充電アダプタ
KR101986679B1 (ko) 쾌속 충전 방법, 전원 어댑터 및 모바일 단말기
US8253388B2 (en) System and method for charging a battery
US8841798B2 (en) Method, apparatus for emergency power supply and device associated thereto
WO2018072209A1 (zh) 充电方法及电子设备
CN104978296A (zh) 用于确定功率输送的方向的方法和装置
CN104967200A (zh) 一种快速充电方法及移动终端
WO2017063192A1 (zh) 充电方法、移动终端和充电装置
CN108988417B (zh) 电源适配器和终端
WO2016074160A1 (zh) 通信方法、电源适配器和终端
CN111149082A (zh) 用于为移动装置自动备份数据和充电的存储器站点
US20160124463A1 (en) System for controlling peripherals connected to a docking station
WO2022095961A1 (zh) 充电方法、充电装置和充电器
CN104158251A (zh) 终端、充电器和充电方法
WO2015090077A1 (zh) 移动终端充电的控制方法、装置、系统和移动终端
TW201338338A (zh) 直流充電系統之多方通訊控制系統及其充電流程
KR102048327B1 (ko) 근거리 무선 통신(nfc) 무선 충전 서비스를 활성화하는 방법 및 장치
WO2014089984A1 (zh) 一种终端及其实现功率自适应的方法
CN111988864A (zh) 基于无线充电设备的数据传输方法及装置
CN109792156A (zh) 一种充电链路的情况的实时监测的方法和设备
WO2018133643A1 (zh) 充电控制方法及装置
CN108282185B (zh) 一种通过充电器座传输对讲机信息的控制电路

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: 14839860

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: 14839860

Country of ref document: EP

Kind code of ref document: A1