WO2017101047A1 - 控制充电的方法、装置、电源适配器和移动终端 - Google Patents

控制充电的方法、装置、电源适配器和移动终端 Download PDF

Info

Publication number
WO2017101047A1
WO2017101047A1 PCT/CN2015/097603 CN2015097603W WO2017101047A1 WO 2017101047 A1 WO2017101047 A1 WO 2017101047A1 CN 2015097603 W CN2015097603 W CN 2015097603W WO 2017101047 A1 WO2017101047 A1 WO 2017101047A1
Authority
WO
WIPO (PCT)
Prior art keywords
power adapter
mobile terminal
connection
signal
voltage
Prior art date
Application number
PCT/CN2015/097603
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 广东欧珀移动通信有限公司
Priority to PCT/CN2015/097603 priority Critical patent/WO2017101047A1/zh
Priority to CN201580033772.8A priority patent/CN106471697A/zh
Priority to EP15897377.6A priority patent/EP3206279B1/en
Priority to TW105118557A priority patent/TWI626814B/zh
Priority to US15/453,099 priority patent/US20170179741A1/en
Publication of WO2017101047A1 publication Critical patent/WO2017101047A1/zh

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
    • H02J7/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
    • H02J7/0031Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits using battery or load disconnect circuits
    • 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/007Regulation of charging or discharging current or voltage
    • 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/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
    • H02J7/00304Overcurrent 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
    • H02J7/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
    • H02J7/00308Overvoltage 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
    • H02J7/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
    • H02J7/00309Overheat or overtemperature 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
    • H02J7/0042Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by the mechanical construction
    • H02J7/0044Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by the mechanical construction specially adapted for holding portable devices containing batteries
    • 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/425Structural combination with electronic components, e.g. electronic circuits integrated to the outside of the casing
    • H01M10/4257Smart batteries, e.g. electronic circuits inside the housing of the cells or 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 invention relates to the field of charging technology, and more particularly to a method, apparatus, power adapter, and mobile terminal for controlling charging.
  • mobile mobile terminals such as mobile phones are usually equipped with a rechargeable battery so that the battery can be charged by the power adapter.
  • abnormalities may occur in the charging circuit.
  • output abnormalities such as output voltage overvoltage or output current overcurrent of the power adapter may occur.
  • the charging interface is not inserted tightly or both ends of the battery have The dirt causes the charging circuit impedance to be abnormal, and for example, the charging interface is overheated due to the above abnormality.
  • the above abnormalities may cause damage or even explosion of the device, which seriously affects the safety of use.
  • a method for controlling charging is provided, which is applied to a power adapter, and when the power adapter is connected to the mobile terminal, a charging circuit for transmitting a direct current is formed between the power adapter and the mobile terminal, and the method includes: The power adapter provides a DC voltage based on an AC voltage obtained from an external power source; the power adapter is connected to the first mobile terminal, and the first charging circuit formed between the power adapter and the first mobile terminal is forwarded to the first The mobile terminal transmits a DC current formed based on the DC voltage; the power adapter prohibits providing a DC voltage when determining that the first charging loop is abnormal; the power adapter determines a connection between the power adapter and the first mobile terminal, and When the connection is a disconnection condition between the power adapter and the first mobile terminal, a DC voltage is allowed to be supplied.
  • a communication loop for transmitting a signal is formed between the power adapter and the mobile terminal, and the power adapter determines The connection between the power adapter and the first mobile terminal includes: the power adapter detects a transmission condition of the first signal transmitted through the communication loop, wherein a connection between the power adapter and the first mobile terminal is The transmission of the first signal Corresponding; the power adapter determines a connection between the power adapter and the first mobile terminal according to the detected transmission condition of the first signal.
  • the first signal is specifically that the first mobile terminal detects that the first charging circuit is abnormal until the first mobile is detected During the disconnection of the connection between the terminal and the power adapter, the first mobile terminal sends an abnormality indication signal to the power adapter according to a preset period, and the power adapter determines the power adapter and the first according to the transmission condition of the first signal.
  • the connection between the mobile terminals includes: after receiving the abnormality indication signal, the power adapter detects the reception condition of the abnormality indication signal, and when the abnormality indication signal is not received within a preset time, Determining that the connection between the power adapter and the first mobile terminal is disconnected, wherein the preset time is greater than the preset period.
  • the method further includes: after receiving the abnormal indication signal, the power adapter sends the first mobile terminal to the first mobile terminal by using the communication loop And responding to the abnormality indication signal, so that the first mobile terminal determines a connection state between the power adapter and the first mobile terminal according to the response signal sent by the power adapter.
  • the abnormality indication signal is specifically used to indicate that a battery voltage of the mobile terminal is greater than or equal to a preset voltage.
  • the first signal is specifically a connection indication signal sent by the second mobile terminal when detecting the connection with the external device
  • the power adapter Determining, according to the transmission condition of the first signal, the connection between the power adapter and the first mobile terminal, comprising: after receiving the connection indication signal, determining, by the power adapter, the connection between the power adapter and the first mobile terminal A disconnection has occurred.
  • a sixth implementation manner of the first aspect when the power adapter is connected to the external power source, a power supply loop formed between the power adapter and the external power source, and the power source
  • the adapter prohibits providing the DC voltage when determining that the first charging circuit is abnormal, including: the power adapter disconnecting the power supply circuit when determining that the first charging circuit is abnormal.
  • a device for controlling charging is provided.
  • the power adapter is configured to form a charging circuit for transmitting a direct current between the power adapter and the mobile terminal when the power adapter is connected to the mobile terminal, where the direct current is Based on the power adapter obtained from the external power source Forming a DC voltage provided by the current voltage, the device comprising: a detecting unit, configured to detect whether an abnormality occurs in the first charging circuit formed when the power adapter is connected to the first mobile terminal; and a control unit configured to determine at the detecting unit When the first charging circuit is abnormal, the power adapter is prohibited from providing a DC voltage; the detecting unit is further configured to detect a connection between the power adapter and the first mobile terminal; the control unit is further configured to detect at the detecting unit
  • the connection condition is that when the connection between the power adapter and the first mobile terminal is disconnected, the power adapter is allowed to provide a DC voltage, and the device is used to implement the control charging of the first aspect and the embodiments of the first aspect. The steps of the method.
  • a power adapter when the power adapter is connected to the mobile terminal, a charging circuit for transmitting a direct current is formed between the power adapter and the mobile terminal, the power adapter includes: an adapter body, configured to An AC voltage obtained from an external power source, providing a DC voltage, and transmitting, when connected to the first mobile terminal, a first charging circuit formed between the power adapter and the first mobile terminal to the first mobile terminal based on the DC a DC current formed by the voltage; a processor, configured to disable the adapter body from providing a DC voltage when determining that the first charging circuit is abnormal; the processor is further configured to detect a connection between the power adapter and the first mobile terminal And allowing the adapter body to provide a DC voltage when the connection is a disconnection between the power adapter and the first mobile terminal, the power adapter being used to implement the first aspect and the implementation of the first aspect The various steps of the method of controlling charging.
  • a computer program product comprising: computer program code, when the computer program code is run by each unit or device of a power adapter, causing the power adapter to perform the first aspect and The method of controlling charging of each of the embodiments of the first aspect.
  • a computer readable storage medium in a fifth aspect, storing a program causing a power adapter to perform the method of controlling charging of the first aspect and the embodiments of the first aspect.
  • a sixth aspect provides a method for controlling charging, which is applied to a mobile terminal, and when the mobile terminal is connected to a power adapter, a charging circuit for transmitting a direct current is formed between the mobile terminal and the power adapter and is used for transmission.
  • a communication loop of the signal wherein the direct current is formed based on a direct current voltage that is provided by the power adapter based on an alternating voltage obtained from an external power source
  • the method comprising: the mobile terminal determining that the charging loop is abnormal Sending an abnormality indication signal to the power adapter through the communication loop, so that the power adapter according to the abnormality indication Signal, prohibiting the supply of a DC voltage; the mobile terminal sends a first signal to the power adapter through the communication loop, wherein a connection between the power adapter and the mobile terminal corresponds to a transmission condition of the first signal, so as to facilitate the
  • the power adapter determines the connection between the power adapter and the mobile terminal according to the transmission condition of the first signal, and allows the DC to be provided when the
  • the first signal is specifically the abnormality indication signal
  • the mobile terminal sends an abnormality indication signal to the power adapter when determining that the charging circuit is abnormal.
  • the method includes: the mobile terminal transmitting the abnormality indication signal to the power adapter according to a preset period during detecting that the charging loop is abnormal, and detecting that the power adapter is disconnected from the mobile terminal, so that the power adapter is receiving
  • the reception condition of the abnormality indication signal is detected, and when the abnormality indication signal is not received within a preset time, it is determined that the connection between the power adapter and the mobile terminal is disconnected.
  • the preset time is greater than the preset period.
  • the method further includes: receiving, by the mobile terminal, a response signal sent by the power adapter for the abnormality indication signal, and The receiving condition of the response signal is detected; the mobile terminal determines the connection between the power adapter and the mobile terminal according to the receiving condition of the response signal.
  • the mobile terminal determines, according to the receiving condition of the response signal, a connection between the power adapter and the mobile terminal, including: When the mobile terminal does not receive the response signal sent by the power adapter within a predetermined time after detecting the abnormality indication signal sent to the power adapter, it determines that the connection between the power adapter and the mobile terminal is disconnected.
  • the abnormality indication signal is specifically used to indicate that the battery voltage of the mobile terminal is greater than or equal to a preset voltage.
  • the first signal is specifically a connection indication signal sent by the mobile terminal when detecting connection with an external device, to facilitate the power adapter. After receiving the connection indication signal, it is determined that the connection between the power adapter and the mobile terminal is disconnected.
  • a device for controlling charging is provided.
  • the mobile terminal is configured to transmit a DC between the mobile terminal and the power adapter when the mobile terminal is connected to the power adapter.
  • a charging circuit for current and a communication loop for transmitting a signal the DC current being formed based on a DC voltage that is provided by the power adapter based on an AC voltage obtained from an external power source
  • the device comprising: a detecting unit, configured to: Detecting whether the charging circuit is abnormal; the communication unit is configured to send an abnormality indication signal to the power adapter through the communication loop when the detecting unit detects that the charging circuit is abnormal, so that the power adapter is configured according to the abnormality indication signal.
  • the communication unit is further configured to send a first signal to the power adapter through the communication loop, wherein a connection between the power adapter and the mobile terminal corresponds to a transmission condition of the first signal, so as to facilitate the
  • the power adapter determines the connection between the power adapter and the mobile terminal according to the transmission condition of the first signal, and allows the DC to be provided when the connection between the mobile terminal and the power adapter is disconnected. Voltage, the device is used to implement the sixth aspect above Steps of the method of controlling the charging of the respective embodiment six aspects.
  • a mobile terminal when the mobile terminal is connected to a power adapter, a charging circuit for transmitting a direct current and a communication circuit for transmitting a signal are formed between the mobile terminal and the power adapter, where The DC current is formed based on a DC voltage that is provided by the power adapter based on an AC voltage obtained from an external power source, the mobile terminal comprising: a transceiver for transmitting a signal through the communication loop; and a processor for When determining that the charging circuit is abnormal, the transceiver is controlled to send an abnormality indication signal to the power adapter through the communication loop, so that the power adapter prohibits providing a DC voltage according to the abnormality indication signal; the processor is configured to control the transceiver Transmitting, by the communication loop, a first signal to the power adapter, wherein a connection between the power adapter and the mobile terminal corresponds to a transmission condition of the first signal, so that the power adapter transmits according to the first signal.
  • the connection is a disconnection condition between the mobile terminal and the power adapter
  • the DC voltage is allowed to be provided, and the mobile terminal is used to implement the control of each of the sixth and sixth aspects.
  • the steps of the charging method are a disconnection condition between the mobile terminal and the power adapter.
  • a computer program product comprising: computer program code, when the computer program code is run by each unit or device of a power adapter, causing the power adapter to perform the sixth aspect and A method of controlling charging of each of the sixth aspects.
  • a computer readable storage medium storing a program causing a power adapter to perform the method of controlling charging of each of the sixth and sixth aspects.
  • the power adapter when an abnormality occurs in a charging circuit between a power adapter and a mobile terminal, the power adapter is prohibited from outputting a DC voltage, and an abnormality due to the charging circuit can be avoided.
  • the occurrence of a dangerous situation can improve the safety of use.
  • the power adapter by allowing the power adapter to output a DC voltage after the connection between the power adapter and the mobile terminal is disconnected, the power adapter can be returned to the normal use state after being disconnected, thereby improving the user experience.
  • FIG. 1 is a schematic flow chart of a method of controlling charging according to an embodiment of the present invention.
  • FIG. 2 is a schematic flow chart of a method of controlling charging according to another embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of an apparatus for controlling charging according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of an apparatus for controlling charging according to another embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a power adapter according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a power adapter according to another embodiment of the present invention.
  • FIG. 1 shows a schematic flow diagram of a method 100 of controlling charging, in accordance with an embodiment of the present invention, as viewed from an adapter perspective, the method 100 being applied to a power adapter.
  • a charging circuit for transmitting a direct current is formed between the power adapter and the mobile terminal.
  • the method includes:
  • the power adapter provides a DC voltage based on an AC voltage obtained from an external power source
  • the power adapter prohibits providing a DC voltage when determining that the first charging circuit is abnormal.
  • the power adapter determines a connection between the power adapter and the first mobile terminal, and allows a DC voltage to be provided when the connection is a disconnection between the power adapter and the first mobile terminal.
  • FIG. 5 is a schematic diagram showing the connection between the power adapter and the mobile terminal in the embodiment of the present invention.
  • the power adapter when the power adapter is connected to an external power source, the power adapter can form a power supply circuit between the power adapter and the external power source. Therefore, the power adapter can obtain an alternating current from the external power source through the power supply loop, and further perform an AC-DC conversion process on the alternating current to generate a direct current having a predetermined voltage (for example, less than or equal to 5 volts).
  • a predetermined voltage for example, less than or equal to 5 volts.
  • a voltage (eg, step-down) process of, for example, a 220 volt (V) or 110 volt AC voltage input from an external power source (eg, a power grid) is performed to obtain a prescribed voltage (eg, less than or equal to 5 volts).
  • a prescribed voltage eg, less than or equal to 5 volts.
  • the rectified and filtered alternating current is subjected to rectification and filtering to obtain a DC voltage of a required voltage.
  • the power adapter may include a power output port, and the output port may further include a positive output port and a negative output port, and a DC voltage generated as described above is applied to the positive output port, thereby outputting the positive output A DC voltage is generated between the port and the negative output port.
  • the power output port may be a port for transmitting current in a Universal Serial Bus (USB) interface.
  • USB Universal Serial Bus
  • the power output port can be connected to a power input port of the mobile terminal, for example
  • the positive output port can be connected (eg, via a charging cable) to a positive input port in a power input port of the mobile terminal, which can be (eg, via a charging cable) with a power input port of the mobile terminal Negative input Port connection.
  • the positive input port can be connected to the positive pole of the battery of the mobile terminal, and the negative input port can be connected to the negative pole of the battery of the mobile terminal.
  • a communication loop for transmitting a signal is formed between the power adapter and the mobile terminal.
  • the power adapter may include a signal transmission port that can be coupled to a signal transceiving device in the power adapter.
  • the signal transmission port may be a port for transmitting data or signals in the USB interface.
  • the signal transmission port of the power adapter can transmit signals (eg, via a charging cable) to the mobile terminal Port connection.
  • a communication loop for transmitting a signal can be formed.
  • the power adapter may be configured with an electrical connector (for example, a connector jack or a connector plug), and the power output port and the signal transmission port of the power adapter may be uniformly configured on the power source.
  • the electronic connector of the adapter and the mobile terminal may also be configured with an electronic connector (for example, a connector jack or a connector plug), and the power input port and the signal transmission port of the mobile terminal may be uniformly configured on the mobile terminal.
  • the electronic connector for example, a connector jack or a connector plug
  • connection between the power adapter and the mobile terminal can be understood as the connection between the electronic connector of the power adapter and the electronic connector of the mobile terminal, and in the embodiment of the present invention,
  • the connection may be a direct connection or an indirect connection (via an electronic cable capable of transmitting power and signals, such as a USB cable).
  • the electronic connector may be a USB connector, for example, a standard USB, a Micro-USB, a Mini-USB, or the like.
  • the method 100 will be described in detail by connecting the power adapter to the mobile terminal #A (an example of the first mobile terminal), that is, the procedure for charging the mobile terminal #A.
  • a DC voltage can be generated at the positive output port and the negative output port.
  • the DC voltage may be generated immediately after the power adapter is connected to the external AC power source, or may be set in the power adapter for control.
  • a sensor for example, a pressure sensor, an infrared sensor, or the like
  • a DC voltage is generated after detecting that the power adapter is connected to the mobile terminal.
  • the DC voltage may be a voltage for performing normal charging or a voltage for performing fast charging, and the present invention is not particularly limited.
  • the charging circuit #A is formed between the power adapter and the mobile terminal #A (that is, an example of the first charging circuit), whereby the power adapter can be supplied via the charging circuit #A
  • the mobile terminal #A (specifically, the battery of the mobile terminal #A) transmits a direct current generated based on the above-described DC voltage.
  • the direct current may be a current for performing normal charging or a current for performing fast charging, and the present invention is not particularly limited.
  • the power adapter can detect if the charging circuit #A is abnormal.
  • the abnormality of the charging circuit may include at least one of the following cases:
  • the output voltage of the power adapter is overvoltage (ie, the output voltage is higher than the preset output voltage safety threshold)
  • the power adapter can detect whether the abnormal condition occurs, that is, the power adapter can detect its output voltage (ie, the voltage between the positive output port and the negative output port), and the output voltage is safe with the above output voltage.
  • the threshold is compared.
  • the power adapter can consider the output voltage to be overvoltage and the charging circuit is abnormal.
  • the above-mentioned output voltage safety threshold may be set according to a specific model of the power adapter and the mobile terminal, or may be set based on experience, and the present invention is not particularly limited.
  • the power adapter may further transmit the indication information of the output voltage of the power adapter to the mobile terminal through the communication loop, and the mobile terminal determines whether the output voltage is overvoltage.
  • both the power adapter and the mobile terminal are required to detect whether the output voltage of the power adapter is overvoltage, so that the output voltage of the power adapter can be detected by the mobile terminal even if an error occurs in the detection result of the power adapter.
  • the power adapter and the mobile terminal are not used together (for example, by different manufacturers), and there may be a power adapter that considers the safe output voltage to exceed the capacity of the mobile terminal. Therefore, both the power adapter and the mobile terminal detect the power adapter. Whether the output voltage of the device is over-voltage can effectively avoid this situation and further improve the safety of the charging process.
  • the output current of the power adapter is overcurrent (ie, the output current is higher than the preset output current safety threshold)
  • the power adapter can detect whether the abnormal condition occurs, that is, the power adapter can detect its output current, and compare the output current with the output current safety threshold. When the output current is greater than the output current safety threshold, the power supply The adapter can be considered to have an output current overcurrent and an abnormality in the charging circuit. It should be understood that the above-mentioned output current safety threshold may be set according to a specific model of the power adapter and the mobile terminal, or may be set based on experience, and the present invention is not particularly limited.
  • the power adapter may further transmit the indication information of the output current of the power adapter to the mobile terminal through the communication loop, and the mobile terminal determines whether the output current is over-current.
  • both the power adapter and the mobile terminal have to detect whether the output current of the power adapter is over-current, so that the output current of the power adapter can be detected by the mobile terminal even if an error occurs in the detection result of the power adapter.
  • the power adapter and the mobile terminal are not used together (for example, by different manufacturers), and there may be a power adapter that considers the safe output current to exceed the capacity of the mobile terminal. Therefore, both the power adapter and the mobile terminal detect the output of the power adapter. Whether the current is over-current can effectively avoid this situation and further improve the safety of the charging process.
  • Input voltage overvoltage of the mobile terminal ie, the input voltage is higher than the preset input voltage safety threshold
  • the mobile terminal can detect whether the abnormal condition occurs, and notify the power adapter of the indication information of the abnormal condition through the communication loop.
  • the mobile terminal can detect the input voltage (ie, the voltage between the positive input port and the negative input port) and compare the input voltage with the input voltage safety threshold.
  • the mobile terminal can consider that the input voltage is overvoltage, and an abnormality occurs in the charging circuit, and transmits an instruction to input voltage overvoltage to the power adapter through the communication circuit (an example of abnormality instruction information). Therefore, the power adapter can determine that the charging circuit is abnormal according to the indication information of the input voltage overvoltage.
  • the above input voltage safety threshold may be set according to a specific model of the power adapter and the mobile terminal, or may be based on an empirical setting, and the present invention It is not particularly limited.
  • the input voltage of the mobile terminal is overcurrent (ie, the input current is higher than the preset input current safety threshold)
  • the mobile terminal can detect whether the abnormal condition occurs, and notify the power adapter of the indication information of the abnormal condition through the communication loop.
  • the mobile terminal can detect the input current and compare the input current with the input current safety threshold.
  • the mobile terminal can consider the input current to be over-current, and the charging circuit is abnormal, and
  • the indication information of the input current overcurrent is transmitted to the power adapter through the communication loop (another example of the abnormality instruction information). Therefore, the power adapter can determine that the charging circuit is abnormal according to the indication information of the input current overcurrent.
  • the above-mentioned input current safety threshold may be set according to a specific model of the power adapter and the mobile terminal, or may be set based on experience, and the present invention is not particularly limited.
  • the mobile terminal can detect whether the abnormal condition occurs, and notify the power adapter of the indication information of the abnormal condition through the communication loop.
  • the mobile terminal can detect the voltage (or battery voltage) input to the battery, and compare the voltage overvoltage applied across the battery with the above-mentioned charging voltage safety threshold, when the voltage overvoltage applied across the battery is higher than
  • the charging voltage safety threshold is used, the mobile terminal can consider that the voltage applied across the battery is overvoltage, the charging circuit is abnormal, and the voltage overvoltage indication applied to both ends of the battery is transmitted to the power adapter through the communication loop (the abnormality indication information is further An example).
  • the power adapter can determine that the charging circuit is abnormal according to the indication of the voltage overvoltage applied across the battery.
  • the above-mentioned charging voltage safety threshold may be set according to a specific model of the power adapter and the mobile terminal, or may be set based on experience, and the present invention is not particularly limited.
  • the current flowing into the battery is overcurrent (ie, the current flowing into the battery is higher than the preset charging current safety threshold)
  • the mobile terminal can detect whether the abnormal condition occurs, and notify the power adapter of the indication information of the abnormal condition through the communication loop.
  • the mobile terminal can detect the current input to the battery and input the current to the battery and The charging current safety threshold is compared.
  • the mobile terminal may consider that the current flowing into the battery is overcurrent, the charging circuit is abnormal, and the inflow battery is sent to the power adapter through the communication loop.
  • Indication information of current overcurrent another example of abnormality indication information.
  • the power adapter can determine that the charging circuit is abnormal according to the indication information of the current overcurrent flowing into the battery.
  • the above charging current safety threshold may be set according to a specific model of the power adapter and the mobile terminal, or may be set based on experience, and the present invention is not particularly limited.
  • the temperature of the battery is too warm (ie, the battery temperature is higher than the preset battery temperature safety threshold)
  • the mobile terminal can detect whether the abnormal condition occurs, and notify the power adapter of the indication information of the abnormal condition through the communication loop.
  • the mobile terminal can detect the battery temperature and compare the battery temperature with the battery temperature safety threshold.
  • the battery temperature safety threshold When the battery temperature is higher than the battery temperature safety threshold, the mobile terminal can consider that the battery temperature is too warm and the charging circuit is abnormal. And the information indicating the temperature over temperature of the battery is transmitted to the power adapter through the communication circuit (another example of the abnormality instruction information). Therefore, the power adapter can determine that the charging circuit is abnormal according to the indication of the temperature over temperature of the battery.
  • the battery temperature safety threshold may be set according to a specific model of the battery, or may be set based on experience, and the invention is not particularly limited.
  • the temperature of the charging interface is over temperature (ie, the charging interface temperature is higher than the preset interface temperature safety threshold)
  • the charging interface may include an interface of the power adapter for electrically connecting with the charging cable or the mobile terminal, an interface of the charging cable for electrically connecting with the power adapter or the mobile terminal, and moving.
  • the interface of the terminal for electrical connection to a charging cable or power adapter.
  • the temperature of the interface related to the power adapter (for example, the interface of the power adapter itself or the interface directly connected to the interface of the power adapter) can be self-detected by the power adapter through, for example, a temperature sensor, and detected.
  • the power adapter can consider that the temperature of the charging interface is too warm and the charging circuit is abnormal.
  • the temperature of the interface related to the mobile terminal may be self-detected by the mobile terminal by, for example, a temperature sensor, and detected Move when the temperature is higher than the interface temperature safety threshold
  • the terminal may consider that the temperature of the charging interface is too warm, an abnormality occurs in the charging circuit, and the temperature over temperature indication information of the charging interface is sent to the power adapter through the communication loop (another example of the abnormality indication information). Therefore, the power adapter can determine that the charging circuit is abnormal according to the temperature over temperature indication information of the charging interface.
  • interface temperature security threshold may be set according to a specific model of the power adapter and the mobile terminal, or may be set based on experience, and the present invention is not particularly limited.
  • the impedance of the charging circuit is abnormal (ie, the deviation of the impedance of the charging circuit from the preset safety impedance value exceeds the preset safety range)
  • the impedance of the charging circuit specifically refers to the impedance of the line between the battery from the power adapter to the mobile terminal.
  • the power adapter can send the indication information of the output voltage to the mobile terminal through the communication loop, and the mobile terminal can detect the input voltage, so that the mobile terminal can determine the difference between the output voltage and the input voltage, and according to the The impedance of the difference charging loop.
  • the mobile terminal can directly send the indication information of the impedance of the charging circuit to the power adapter, so that if the deviation of the impedance of the charging circuit from the preset safety impedance value exceeds a preset safety range, the power adapter can determine the impedance of the charging circuit. Abnormal, and then determine that the charging circuit is abnormal.
  • the mobile terminal may also determine the impedance abnormality of the charging circuit and determine the impedance abnormality of the charging circuit when determining that the deviation of the impedance of the charging circuit from the preset safety impedance value exceeds a preset safety range (ie, Another example of the abnormality indication information is sent to the power adapter.
  • the mobile terminal may send the indication information of the input voltage to the power adapter through the communication loop, and the power adapter may detect the output voltage, so that the power adapter can determine the difference between the output voltage and the input voltage, and according to The difference is the impedance of the charging loop. If the deviation of the impedance of the charging circuit from the preset safety impedance value exceeds a preset safety range, the power adapter can determine the impedance abnormality of the charging circuit to determine that the charging circuit is abnormal.
  • safety impedance value or safety range may be set according to a specific model of the power adapter and the mobile terminal, or may be set based on experience, and the present invention is not particularly limited.
  • the abnormalities of the charging circuit enumerated above are merely illustrative, and the present invention is not limited thereto.
  • the abnormality may be caused by poor contact of the charging interface, and the present invention is not particularly limited.
  • the power adapter determines that the charging circuit #A is abnormal as described above, it can be prohibited.
  • a DC voltage is supplied, that is, the voltage value between the positive output port and the negative output port is zero.
  • the power adapter prohibits providing a DC voltage when determining that the first charging circuit is abnormal, including:
  • the power adapter disconnects the power supply circuit when it is determined that the first charging circuit is abnormal.
  • the electrical connection between the power adapter and the external power source ie, the power supply circuit
  • the power supply circuit can be cut off, thereby being able to cut off the AC voltage.
  • the supply of (or alternating current) prevents the power adapter from generating a DC voltage.
  • the power adapter when an abnormality occurs in a charging circuit between the power adapter and the mobile terminal, the power adapter is prohibited from outputting a DC voltage, thereby avoiding occurrence of a dangerous situation due to an abnormality in the charging circuit, Improve usage security.
  • the power adapter determines whether or not the current is connected to the mobile terminal (or whether the charging circuit is formed) by detecting whether or not a current flows out. Therefore, even after the power adapter prohibits the supply of the DC voltage, even if the user makes the power adapter Reconnecting with the mobile terminal #A (ie, re-plugging the interface) or connecting the power adapter with other mobile terminals (hereinafter, referred to as mobile terminal #B for ease of understanding and explanation), and re-forming the charging circuit, Since there is no voltage between the positive output terminal and the negative output terminal of the power adapter, no current will be generated in the newly formed charging circuit, which may cause the power adapter to be inoperable, which seriously affects the user experience.
  • the power adapter can detect the connection with the mobile terminal #A.
  • a communication loop for transmitting a signal is formed between the power adapter and the mobile terminal, and
  • the power adapter determines a connection between the power adapter and the first mobile terminal, including:
  • the power adapter detects a transmission condition of the first signal transmitted through the communication loop, wherein a connection between the power adapter and the first mobile terminal is related to a transmission condition of the first signal correspond;
  • the power adapter determines the connection between the power adapter and the first mobile terminal according to the transmission condition of the first signal
  • the power adapter can determine the power adapter and the mobile terminal according to a signal transmitted by the communication loop formed after the power adapter is connected to the mobile terminal (the mobile terminal #A or the mobile terminal #B). A connection situation.
  • connection between the power adapter and the mobile terminal #A may be determined in a manner of determining whether the connection is disconnected (ie, mode 1), or the power adapter may be determined to determine whether the connection is established or not.
  • the connection status of the terminal #A that is, the mode 2
  • the first signal is specifically an abnormality indication signal that is sent by the first mobile terminal in a preset period during detecting that an abnormality occurs in the first charging circuit until the connection between the power adapter and the first mobile terminal is disconnected.
  • an abnormality indication signal that is sent by the first mobile terminal in a preset period during detecting that an abnormality occurs in the first charging circuit until the connection between the power adapter and the first mobile terminal is disconnected.
  • the power adapter determines a connection between the power adapter and the first mobile terminal according to the transmission condition of the first signal, including:
  • the power adapter After receiving the abnormality indication signal, the power adapter detects the reception condition of the abnormality indication signal, and determines that the power adapter and the first mobile terminal are not detected when the abnormality indication signal is not received within a preset time. The disconnection occurs between the connections, wherein the preset time is greater than the preset period.
  • the mobile terminal in the case where the mobile terminal detects #A detecting whether the charging circuit #A is abnormal, if the mobile terminal detects #A to determine that the charging circuit #A transmits an abnormality, it can detect by the mobile terminal.
  • #A The communication loop #A formed after the connection with the power adapter transmits an abnormality indication signal to the power adapter, so that the power adapter can prohibit the output of the DC voltage according to the abnormality indication signal.
  • the mobile terminal detects #A continuously transmits the abnormality indication signal according to a predetermined preset period within the time period T.
  • the time period T specifically refers to a time period between the time point T0 and the time point T1
  • the time point T0 is a time point after the mobile terminal detection #A detects that the charging circuit #A is abnormal
  • the time point T1 is the mobile terminal detection.
  • #A detects the time point after the communication loop #A (or the connection between the mobile terminal detects #A and the power adapter) is disconnected.
  • the power supply is adapted.
  • the device can detect the interruption of the transmission of the abnormality indication signal.
  • the abnormal indication signal has a short transmission period (for example, it can be within 100 milliseconds), which is much shorter than the completion time of the electronic connector of the user re-plugging the power adapter and the mobile terminal, so the power adapter can be detected.
  • the mobile terminal After the mobile terminal detects that the abnormality indication signal continuously transmitted by #A is interrupted, it is determined that the connection between the mobile terminal detection #A and the power adapter is disconnected.
  • the transmission period of the abnormality indication signal is long (for example, several seconds or several minutes), it is necessary to cause the power adapter to receive the abnormality indication signal sent by the mobile terminal detection #A after the first time (after the connection with the mobile terminal detects #A) Timing is performed. If the abnormality indication signal is not received within the time period exceeding the above transmission period, the power adapter can determine that the connection between the mobile terminal detection #A and the power adapter is disconnected.
  • the method further includes:
  • the response signal may be transmitted to the mobile terminal #A.
  • the mobile terminal detection #A and the power adapter are both identified as the mobile terminal detection #A and the power adapter. The connection between them is not broken.
  • the power adapter does not receive the abnormality indication signal, and the mobile terminal detects that #A does not receive the response signal, so the mobile terminal detects both the #A and the power adapter. It is recognized that the connection between the mobile terminal detection #A and the power adapter is broken.
  • the power adapter can continuously transmit the response signal of the abnormality indication signal within a predetermined preset period within the time period T'.
  • the time period T' specifically refers to a time period between the time point T0' and the time point T1'
  • the time point T0' is a time point after the power adapter receives the abnormality indication signal
  • the time point T1' is the mobile terminal detection# The point in time after the connection between A and the power adapter is broken.
  • the response period of the response signal is short (for example, it can be within 100 milliseconds), which is much shorter than the completion time of the electronic connector of the user re-plugging the power adapter and the mobile terminal. Therefore, the mobile terminal detects that #A can After detecting that the response signal continuously transmitted by the power adapter is interrupted, it is determined that the connection between the mobile terminal detection #A and the power adapter is disconnected.
  • the mobile terminal detection #A can determine that the connection between the mobile terminal detection #A and the power adapter is disconnected.
  • the power adapter may send a response signal every time an abnormal signal is received, or may perform feedback when receiving a preset number of abnormal signals of the period, the present invention It is not particularly limited.
  • a pressure sensor may be disposed on the electronic interface of the mobile terminal. , an infrared sensor or an image sensor, and the like, and the connection between the mobile terminal detection #A and the power adapter is detected by the above sensor.
  • a pressure sensor can be set in the electronic connector detected by the mobile terminal, and the electronic connection of the power adapter is provided.
  • the pressure sensor is capable of detecting a pressure change at the time of connection or disconnection when the electronic connector is connected (eg, a mating connection) or disconnected by the mobile terminal, and identifies the mobile terminal detection and the power adapter based on the pressure change. Connected or disconnected.
  • the abnormality indication signal is specifically used to indicate that the battery voltage of the mobile terminal is greater than or equal to a preset voltage.
  • the abnormality indication signal is specifically used to indicate that the battery voltage of the mobile terminal is greater than or equal to a preset voltage, so that the power adapter after receiving the abnormality indication signal It can be considered that if the output voltage (or current) continues to be generated, the battery may be dangerous and the output DC voltage is prohibited.
  • the corresponding signal may be transmitted according to the specific situation corresponding to the abnormality occurring in the charging circuit.
  • the first signal is specifically a connection sent by the second mobile terminal when detecting connection with an external device. Connect the indication signal, and
  • the power adapter determines a connection between the power adapter and the first mobile terminal according to the transmission condition of the first signal, including:
  • the power adapter After receiving the connection indication signal, the power adapter determines that the connection between the power adapter and the first mobile terminal is disconnected.
  • a sensor for detecting whether to connect with an external device such as a pressure sensor, an infrared sensor, or the like, may be configured in a mobile terminal (for example, an electronic interface of the mobile terminal).
  • a mobile terminal for example, an electronic interface of the mobile terminal.
  • Image sensor etc.
  • the mobile terminal #A when the power adapter is reconnected with the mobile terminal #A (ie, an example of the second mobile terminal), the mobile terminal #A can detect that the electronic interface is connected to the external device through the above-mentioned sensor, thereby being able to pass the electronic interface.
  • the communication port in the middle sends a connection indication signal, so that after receiving the connection indication signal, the power adapter can determine that the connection occurs after the output of the DC voltage is prohibited (ie, reconnect with the mobile terminal #A), that is, the output DC voltage is prohibited.
  • the previous connection has been disconnected.
  • the mobile terminal #B when the power adapter is connected to the mobile terminal #B (ie, another example of the second mobile terminal), the mobile terminal #B can detect that the electronic interface is connected to the external device through the sensor, and thus can pass the electronic The communication port in the interface sends a connection indication signal, so that after receiving the connection indication signal, the power adapter can determine that the connection occurs after the output of the DC voltage is prohibited (ie, connected to the mobile terminal #B), that is, the output DC voltage is prohibited. The previous connection was broken.
  • the above-mentioned power adapter recognizes whether the connection (including the charging circuit) established before the output of the DC voltage is prohibited is disconnected.
  • the method is not limited thereto, and for example, it may also be in the power adapter.
  • the electronic interface is configured to detect whether a sensor is connected or disconnected from an external device (including a power adapter), for example, a pressure sensor, an infrared sensor, or an image sensor, and the above sensor is used to identify whether the connection is disconnected or not.
  • the power adapter can re-allow the supply of the DC voltage after recognizing that the connection with the mobile terminal #A has been disconnected.
  • the power adapter when the power adapter determines that the connection with the terminal device #A has been disconnected (for example, reconnecting with the terminal device #A or connecting with other terminal devices), it can be turned on.
  • An electrical connection ie, a power supply loop
  • the power adapter and the external power source thereby re-provisioning an alternating voltage (or alternating current) to cause the power adapter to regenerate a direct current voltage.
  • the method for controlling charging according to an embodiment of the present invention allows the power adapter to output a DC voltage after the connection between the power adapter and the mobile terminal is disconnected, so that the power adapter can be returned to the normal use state after being disconnected, thereby improving the user experience. .
  • FIG. 2 shows a schematic flow diagram of a method 200 of controlling charging, in accordance with an embodiment of the present invention, as described from the perspective of a mobile terminal, the method 200 being applied to a mobile terminal.
  • a charging circuit for transmitting a direct current and a communication loop for transmitting a signal are formed between the mobile terminal and the power adapter, wherein the direct current is formed based on a direct current voltage,
  • the DC voltage is provided by the power adapter based on an AC voltage obtained from an external power source, the method 200 comprising:
  • the mobile terminal sends an abnormality indication signal to the power adapter through the communication loop when determining that the charging circuit is abnormal, so that the power adapter prohibits providing a DC voltage according to the abnormal indication signal;
  • the mobile terminal sends a first signal to the power adapter through the communication loop, wherein a connection between the power adapter and the mobile terminal corresponds to a transmission condition of the first signal, so that the power adapter is configured according to the first
  • the transmission condition of a signal determines the connection between the power adapter and the mobile terminal, and allows a DC voltage to be supplied when the connection is a disconnection between the mobile terminal and the power adapter.
  • FIG. 6 is a schematic diagram showing a connection between a power adapter and a mobile terminal in the embodiment of the present invention.
  • the power adapter when the power adapter is connected to an external power source, the power adapter can form a power supply loop between the power adapter and the external power source. Therefore, the power adapter can obtain an alternating current from the external power source through the power supply loop, and further perform an AC-DC conversion process on the alternating current to generate a direct current having a predetermined voltage (for example, less than or equal to 5 volts).
  • a predetermined voltage for example, less than or equal to 5 volts.
  • a voltage (eg, step-down) process of, for example, a 220 volt (V) or 110 volt AC voltage input from an external power source (eg, a power grid) is performed to obtain a prescribed voltage (eg, less than or equal to 5 volts).
  • a prescribed voltage eg, less than or equal to 5 volts.
  • the rectified and filtered alternating current is subjected to rectification and filtering to obtain a DC voltage of a required voltage.
  • the power adapter may include a power output port, and the output port may To further include a positive output port and a negative output port, a DC voltage generated as described above is applied to the positive output port to generate a DC voltage between the positive output port and the negative output port.
  • the power output port may be a port for transmitting current in a Universal Serial Bus (USB) interface.
  • USB Universal Serial Bus
  • the power output port can be connected to a power input port of the mobile terminal, for example
  • the positive output port can be connected (eg, via a charging cable) to a positive input port in a power input port of the mobile terminal, which can be (eg, via a charging cable) with a power input port of the mobile terminal
  • the negative input port is connected.
  • the positive input port can be connected to the positive pole of the battery of the mobile terminal, and the negative input port can be connected to the negative pole of the battery of the mobile terminal.
  • the power adapter may include a signal transmission port that can be coupled to a signal transceiving device in the power adapter.
  • the mobile terminal may include a signal transmission port, and the signal transmission port may be connected to a signal transceiving device in the mobile terminal.
  • the signal transmission port may be a port for transmitting data or signals in the USB interface.
  • the signal transmission port of the power adapter can transmit signals (eg, via a charging cable) to the mobile terminal Port connection.
  • a communication loop for transmitting a signal can be formed.
  • the power adapter may be configured with an electrical connector (for example, a connector jack or a connector plug), and the power output port and the signal transmission port of the power adapter may be uniformly configured on the power source.
  • the electronic connector of the adapter and the mobile terminal may also be configured with an electronic connector (for example, a connector jack or a connector plug), and the power input port and the signal transmission port of the mobile terminal may be uniformly configured on the mobile terminal.
  • the electronic connector for example, a connector jack or a connector plug
  • connection between the power adapter and the mobile terminal can be understood as the connection between the electronic connector of the power adapter and the electronic connector of the mobile terminal, and in the embodiment of the present invention, Connection" can be a direct connection or it can be (via, for example, USB An indirect connection such as an electronic cable capable of transmitting power and signals, such as a cable.
  • the electronic connector may be a USB connector, for example, a standard USB, a Micro-USB, a Mini-USB, or the like.
  • the method 200 will be described in detail by connecting the power adapter to the mobile terminal #A (an example of a mobile terminal), that is, a procedure for charging the mobile terminal #A.
  • a DC voltage can be generated at the positive output port and the negative output port.
  • the DC voltage may be generated immediately after the power adapter is connected to the external AC power source, or a switch for controlling the generation of the DC voltage may be disposed in the power adapter, and according to the user.
  • the operation or the connection with the mobile terminal controls the switch to control the generation of the DC voltage.
  • a sensor for example, a pressure sensor, an infrared sensor, or the like
  • a DC voltage is generated after detecting that the power adapter is connected to the mobile terminal.
  • the DC voltage may be a voltage for performing normal charging or a voltage for performing fast charging, and the present invention is not particularly limited.
  • a charging circuit #A (ie, an example of a charging circuit) is formed between the power adapter and the mobile terminal #A, so that the power adapter can pass the charging circuit #A to the mobile terminal.
  • #A (specifically, the battery of the mobile terminal #A) transmits a direct current generated based on the above-described DC voltage.
  • the direct current may be a current for performing normal charging or a current for performing fast charging, and the present invention is not particularly limited.
  • the power adapter can detect if the charging circuit #A is abnormal.
  • the abnormal condition of the charging circuit and the detecting method thereof may be similar to the specific processes described in the above cases A to H.
  • detailed description thereof is omitted.
  • the supply of the DC voltage may be prohibited, that is, the voltage value between the positive output port and the negative output port is zero.
  • the electrical connection between the power adapter and the external power source ie, the power supply circuit
  • the power supply circuit can be cut off, thereby being able to cut off the AC voltage (or, The supply of alternating current) prevents the power adapter from generating a DC voltage.
  • the power adapter when an abnormality occurs in a charging circuit between the power adapter and the mobile terminal, the power adapter is prohibited from outputting a DC voltage, thereby avoiding occurrence of a dangerous situation due to an abnormality in the charging circuit, Improve usage security.
  • the power adapter determines whether or not the current is connected to the mobile terminal (or whether the charging circuit is formed) by detecting whether or not a current flows out. Therefore, even after the power adapter prohibits the supply of the DC voltage, even if the user makes the power adapter Reconnecting with the mobile terminal #A (ie, re-plugging the interface) or connecting the power adapter with other mobile terminals (hereinafter, referred to as mobile terminal #B for ease of understanding and explanation), and re-forming the charging circuit, Since there is no voltage between the positive output terminal and the negative output terminal of the power adapter, no current will be generated in the newly formed charging circuit, which may cause the power adapter to be inoperable, which seriously affects the user experience.
  • the power adapter may determine the connection between the power adapter and the mobile terminal #A according to a signal transmitted by the communication loop formed after the power adapter is connected to the mobile terminal (the mobile terminal #A or the mobile terminal #B). .
  • connection between the power adapter and the mobile terminal #A may be determined in a manner of determining whether the connection is disconnected (ie, mode 1), or the power adapter may be determined to determine whether the connection is established or not.
  • the connection status of the terminal #A that is, the mode 2
  • the first signal is specifically the abnormality indication signal
  • the mobile terminal sends an abnormality indication signal to the power adapter when determining that the charging circuit is abnormal, including:
  • the mobile terminal sends the abnormality indication signal according to a preset period during detecting that an abnormality occurs in the charging circuit until detecting that the power adapter is disconnected from the mobile terminal, so that the power adapter receives the abnormality indication signal. And detecting the receiving condition of the abnormality indication signal, and determining that the connection between the power adapter and the mobile terminal is disconnected when the abnormality indicating signal is not received within a preset time, wherein the preset is The time is greater than the preset period.
  • the #A detection charging circuit #A is detected by the mobile terminal.
  • the mobile terminal detection #A determines that the charging circuit #A transmits an abnormality
  • the mobile terminal detects that the communication circuit #A formed after the connection of #A and the power adapter is connected, and transmits an abnormality indicating signal to the power adapter, thereby
  • the power adapter can disable the output of the DC voltage according to the abnormal indication signal.
  • the mobile terminal detects #A continuously transmits the abnormality indication signal according to a predetermined preset period within the time period T.
  • the time period T specifically refers to a time period between the time point T0 and the time point T1
  • the time point T0 is a time point after the mobile terminal detection #A detects that the charging circuit #A is abnormal
  • the time point T1 is the mobile terminal detection.
  • #A detects the time point after the communication loop #A (or the connection between the mobile terminal detects #A and the power adapter) is disconnected.
  • the power adapter can detect the interruption of the transmission of the abnormality indication signal.
  • the abnormal indication signal has a short transmission period (for example, it can be within 100 milliseconds), which is much shorter than the completion time of the electronic connector of the user re-plugging the power adapter and the mobile terminal, so the power adapter can be detected.
  • the mobile terminal After the mobile terminal detects that the abnormality indication signal continuously transmitted by #A is interrupted, it is determined that the connection between the mobile terminal detection #A and the power adapter is disconnected.
  • the transmission period of the abnormality indication signal is long (for example, several seconds or several minutes), it is necessary to cause the power adapter to receive the abnormality indication signal sent by the mobile terminal detection #A after the first time (after the connection with the mobile terminal detects #A) Timing is performed. If the abnormality indication signal is not received within the time period exceeding the above transmission period, the power adapter can determine that the connection between the mobile terminal detection #A and the power adapter is disconnected.
  • the method further includes:
  • the method also includes:
  • the mobile terminal determines a connection between the power adapter and the mobile terminal according to the reception condition of the response signal.
  • the response signal may be transmitted to the mobile terminal #A.
  • the mobile terminal detects the #A and the power adapter. Do not detect that the connection between #A and the power adapter is not disconnected for the mobile terminal.
  • the power adapter does not receive the abnormality indication signal, and the mobile terminal detects that #A does not receive the response signal, so the mobile terminal detects both the #A and the power adapter. It is recognized that the connection between the mobile terminal detection #A and the power adapter is broken.
  • the mobile terminal determines, according to the receiving condition of the response signal, a connection between the power adapter and the mobile terminal, including:
  • the mobile terminal determines that the connection between the power adapter and the mobile terminal is disconnected.
  • the power adapter can continuously transmit the response signal of the abnormality indication signal within a predetermined preset period within the time period T'.
  • the time period T' specifically refers to a time period between the time point T0' and the time point T1'
  • the time point T0' is a time point after the power adapter receives the abnormality indication signal
  • the time point T1' is the mobile terminal detection# The point in time after the connection between A and the power adapter is broken.
  • the response period of the response signal is short (for example, it can be within 100 milliseconds), which is much shorter than the completion time of the electronic connector of the user re-plugging the power adapter and the mobile terminal. Therefore, the mobile terminal detects that #A can After detecting that the response signal continuously transmitted by the power adapter is interrupted, it is determined that the connection between the mobile terminal detection #A and the power adapter is disconnected.
  • the mobile terminal detection #A can determine that the connection between the mobile terminal detection #A and the power adapter is disconnected.
  • the power adapter may send a response signal every time an abnormal signal is received, or may perform feedback when receiving a preset number of abnormal signals of the period, the present invention It is not particularly limited.
  • a pressure sensor may be disposed on the electronic interface of the mobile terminal. , infrared sensor or image sensor, etc. The device detects that the connection between the mobile terminal detection #A and the power adapter is disconnected.
  • a pressure sensor may be disposed in the electronic connector detected by the mobile terminal, and the electronic connector of the power adapter is connected to the electronic connector detected by the mobile terminal ( For example, when a mating connection is made or disconnected, the pressure sensor can detect a change in pressure when connected or disconnected, and based on the pressure change, identify a connection or disconnection between the mobile terminal and the power adapter.
  • the abnormality indication signal is specifically used to indicate that the battery voltage of the mobile terminal is greater than or equal to a preset voltage.
  • the abnormality indication signal is specifically used to indicate that the battery voltage of the mobile terminal is greater than or equal to a preset voltage, so that the power adapter after receiving the abnormality indication signal It can be considered that if the output voltage (or current) continues to be generated, the battery may be dangerous and the output DC voltage is prohibited.
  • the corresponding signal may be transmitted according to the specific situation corresponding to the abnormality occurring in the charging circuit.
  • the first signal is specifically a connection indication signal sent by the mobile terminal when detecting the connection with the external device, so that the power adapter determines the power adapter and the mobile terminal after receiving the connection indication signal.
  • the connection has broken.
  • a sensor for detecting whether to connect with an external device such as a pressure sensor, an infrared sensor, or the like, may be configured in a mobile terminal (for example, an electronic interface of the mobile terminal).
  • a mobile terminal for example, an electronic interface of the mobile terminal.
  • Image sensor etc.
  • the mobile terminal #A when the power adapter is reconnected with the mobile terminal #A, the mobile terminal #A can detect that the electronic interface is connected to the external device through the above-mentioned sensor, so that the connection indication signal can be transmitted through the communication port in the electronic interface, thereby After receiving the connection indication signal, the power adapter may determine that the connection occurs after the output of the DC voltage is prohibited (ie, reconnect with the mobile terminal #A), that is, the connection before the output of the DC voltage is prohibited from being disconnected.
  • the mobile terminal #B when the power adapter is connected to the mobile terminal #B, the mobile terminal #B can detect that the electronic interface is connected to the external device through the above sensor, so that the connection indication signal can be sent through the communication port in the electronic interface, thereby After receiving the connection indication signal, the power adapter may determine that the connection occurs after the output of the DC voltage is prohibited (ie, connected to the mobile terminal #B), that is, the connection before the output of the DC voltage is prohibited from being disconnected.
  • the above-mentioned power adapter recognizes whether the connection (including the charging circuit) established before the output of the DC voltage is prohibited is disconnected.
  • the method is not limited thereto, and for example, it may also be in the power adapter.
  • the electronic interface is configured to detect whether a sensor is connected or disconnected from an external device (including a power adapter), for example, a pressure sensor, an infrared sensor, or an image sensor, and the above sensor is used to identify whether the connection is disconnected or not.
  • the power adapter can re-allow the supply of the DC voltage after recognizing that the connection with the mobile terminal #A has been disconnected.
  • the power adapter when the power adapter determines that the connection with the terminal device #A has been disconnected (for example, reconnecting with the terminal device #A or connecting with other terminal devices), it can be turned on.
  • An electrical connection ie, a power supply loop
  • the power adapter and the external power source thereby re-provisioning an alternating voltage (or alternating current) to cause the power adapter to regenerate a direct current voltage.
  • the method for controlling charging according to an embodiment of the present invention allows the power adapter to output a DC voltage after the connection between the power adapter and the mobile terminal is disconnected, so that the power adapter can be returned to the normal use state after being disconnected, thereby improving the user experience. .
  • FIG. 3 is a schematic structural diagram of an apparatus 300 for controlling charging according to an embodiment of the present invention.
  • the device 300 is configured on a power adapter, and when the power adapter is connected to the mobile terminal, a charging circuit for transmitting a direct current is formed between the power adapter and the mobile terminal, and the direct current is based on the power adapter being obtained according to the external power source. Formed by a DC voltage provided by an AC voltage, the device includes:
  • the detecting unit 310 is configured to detect whether an abnormality occurs in the first charging circuit formed when the power adapter is connected to the first mobile terminal;
  • the control unit 320 is configured to prohibit the power adapter from providing a DC voltage when the detecting unit 210 determines that the first charging circuit is abnormal;
  • the detecting unit 310 is further configured to detect a connection between the power adapter and the first mobile terminal;
  • the control unit 320 is further configured to allow the power adapter to provide a DC voltage when the connection condition of the detecting unit 310 is that the connection between the power adapter and the first mobile terminal is disconnected.
  • a communication loop for transmitting a signal is formed between the power adapter and the mobile terminal, and
  • the device also includes:
  • a receiving unit configured to receive the first signal through the communication loop
  • the detecting unit is specifically configured to detect a transmission condition of the first signal received by the receiving unit, where a connection between the power adapter and the first mobile terminal corresponds to a transmission condition of the first signal;
  • the first signal is specifically an abnormal indication that is sent by the first mobile terminal in a preset period during detecting that the first charging circuit is abnormal to detecting that the power adapter is disconnected from the first mobile terminal.
  • the detecting unit is configured to: after determining that the receiving unit receives the abnormality indicating signal, detecting the receiving condition of the abnormality indicating signal, and detecting that the receiving unit does not receive the abnormality indicating signal within a preset time Determining that the connection between the power adapter and the first mobile terminal is disconnected, wherein the preset time is greater than the preset period.
  • the device further includes:
  • a sending unit configured to send, by the communication loop, a response signal for the abnormality indication signal to the first mobile terminal after the receiving unit receives the abnormality indication signal, so that the first mobile terminal determines the The state of the connection between the power adapter and the first mobile terminal.
  • the abnormality indication signal is specifically used to indicate that the battery voltage of the mobile terminal is greater than or equal to a preset voltage.
  • the first signal is specifically a connection indication signal sent by the second mobile terminal when detecting the connection with the external device
  • the detecting unit is specifically configured to determine that the connection between the power adapter and the first mobile terminal is disconnected after determining that the receiving unit receives the connection indication signal.
  • a power supply loop formed between the power adapter and the external power source, and
  • the control unit is specifically configured to disconnect the power supply circuit when the detecting unit determines that the first charging circuit is abnormal.
  • the apparatus 300 for controlling charging may correspond to an implementation body of the method 100 of the embodiment of the present invention (for example, a power adapter or a functional device configured in a power adapter), and each of the devices 300 for controlling charging
  • the unit is the module and the other operations and/or functions described above are respectively implemented in order to implement the corresponding process of the method 100 in FIG. 1 , and are not described herein again for brevity.
  • the power adapter when an abnormality occurs in a charging circuit between the power adapter and the mobile terminal, the power adapter is prohibited from outputting a DC voltage, thereby avoiding occurrence of a dangerous situation due to an abnormality in the charging circuit, Improve usage security. Moreover, by allowing the power adapter to output a DC voltage after the connection between the power adapter and the mobile terminal is disconnected, the power adapter can be returned to the normal use state after being disconnected, thereby improving the user experience.
  • FIG. 4 is a schematic block diagram of an apparatus 400 for controlling charging in accordance with an embodiment of the present invention.
  • the device 400 is configured on a mobile terminal, and when the mobile terminal is connected to the power adapter, a charging circuit for transmitting a direct current and a communication loop for transmitting a signal are formed between the mobile terminal and the power adapter, and the DC current is based on Formed by a DC voltage, the DC voltage is provided by the power adapter based on an AC voltage obtained from an external power source, the apparatus 400 comprising:
  • the detecting unit 410 is configured to detect whether an abnormality occurs in the charging circuit
  • the communication unit 420 is configured to send an abnormality indication signal to the power adapter through the communication loop when the detecting unit detects that the charging circuit is abnormal, so that the power adapter prohibits providing the DC voltage according to the abnormality indication signal;
  • the communication unit is further configured to send a first signal to the power adapter through the communication loop, wherein a connection between the power adapter and the mobile terminal corresponds to a transmission condition of the first signal, so that the power adapter is configured according to the first
  • the transmission condition of a signal determines the connection between the power adapter and the mobile terminal, and allows a DC voltage to be supplied when the connection is a disconnection between the mobile terminal and the power adapter.
  • the first signal is specifically the abnormality indication signal
  • the detecting unit is further configured to detect a connection between the power adapter and the mobile terminal;
  • the communication unit is specifically configured to: when the detecting unit detects that an abnormality occurs in the charging circuit until the detecting unit detects that the power adapter is disconnected from the mobile terminal, sending the abnormality indication signal according to a preset period to facilitate the power supply.
  • the adapter After receiving the abnormality indication signal, the adapter detects the reception condition of the abnormality indication signal, and determines that the connection between the power adapter and the mobile terminal occurs when the abnormality indication signal is not received within the preset time.
  • the disconnection condition wherein the preset time is greater than the preset period.
  • the communication unit is further configured to receive, by the communication loop, a response signal sent by the power adapter for the abnormality indication signal;
  • the detecting unit is specifically configured to detect the receiving condition of the response signal, and determine a connection between the power adapter and the mobile terminal according to the receiving condition of the response signal.
  • the detecting unit is specifically configured to determine that the connection between the power adapter and the mobile terminal is disconnected when the response signal is not received within a predetermined time after detecting the sending of the abnormality indication signal.
  • the abnormality indication signal is specifically used to indicate that the battery voltage of the mobile terminal is greater than or equal to a preset voltage.
  • the first signal is specifically a connection indication signal sent by the device when detecting the connection with the external device, so that the power adapter determines that the connection between the power adapter and the device occurs after receiving the connection indication signal. Disconnected.
  • the apparatus 400 for controlling charging may correspond to an implementation body of the method 200 of the embodiment of the present invention (for example, a mobile terminal or a functional device configured in the mobile terminal), and each of the devices 400 for controlling charging
  • the unit that is, the module and the other operations and/or functions described above are respectively implemented in order to implement the corresponding process of the method 200 in FIG. 2, and are not described herein again for brevity.
  • the power adapter when an abnormality occurs in a charging circuit between the power adapter and the mobile terminal, the power adapter is prohibited from outputting a DC voltage, thereby avoiding occurrence of a dangerous situation due to an abnormality in the charging circuit, Improve usage security. Moreover, by allowing the power adapter to output a DC voltage after the connection between the power adapter and the mobile terminal is disconnected, the power adapter can be returned to the normal use state after being disconnected, thereby improving the user experience.
  • FIG. 5 is a schematic structural diagram of a power adapter 500 according to an embodiment of the present invention.
  • a charging circuit for transmitting a direct current is formed between the power adapter and the mobile terminal.
  • the power adapter includes:
  • the adapter body 510 is configured to provide a DC voltage based on an AC voltage obtained from an external power source, and when connected to the first mobile terminal, through the first charging circuit formed between the power adapter and the first mobile terminal, to the first A mobile terminal transmits a direct current formed based on the direct current voltage;
  • the processor 520 is configured to prohibit the adapter body from providing a DC voltage when determining that the first charging circuit is abnormal
  • the processor 520 is further configured to detect a connection between the power adapter and the first mobile terminal, and allow the adapter body when the connection is a disconnection between the power adapter and the first mobile terminal. Provide DC voltage.
  • a communication loop for transmitting a signal is formed between the power adapter and the mobile terminal, and
  • the power adapter 300 also includes:
  • a transceiver 530 configured to transmit a signal through the communication loop
  • the processor 320 is specifically configured to control the transceiver 530 to receive the first signal, and determine a connection between the power adapter and the first mobile terminal according to the transmission condition of the first signal, where the power adapter and the first mobile The connection between the terminals corresponds to the transmission of the first signal.
  • the first signal is specifically an abnormality indication signal that is sent by the first mobile terminal in a preset period during detecting that an abnormality occurs in the first charging circuit until the connection between the power adapter and the first mobile terminal is disconnected.
  • an abnormality indication signal that is sent by the first mobile terminal in a preset period during detecting that an abnormality occurs in the first charging circuit until the connection between the power adapter and the first mobile terminal is disconnected.
  • the processor is specifically configured to: after determining that the transceiver receives the abnormality indication signal, detecting the reception condition of the abnormality indication signal, and detecting that the transceiver does not receive the abnormality indication signal within a preset time Determining that the connection between the power adapter and the first mobile terminal is disconnected, wherein the preset time is greater than the preset period.
  • the processor is further configured to control the transceiver to send a response signal to the first mobile terminal for the abnormal indication signal, so that the first mobile terminal determines the power adapter and the first mobile terminal according to the response signal. Stay connected.
  • the abnormality indication signal is specifically used to indicate that the battery voltage of the mobile terminal is greater than or equal to a preset voltage.
  • the first signal is specifically a connection indication signal sent by the second mobile terminal when detecting the connection with the external device
  • the processor is specifically configured to determine that the connection between the power adapter and the first mobile terminal is disconnected after determining that the receiving unit receives the connection indication signal.
  • the processor is specifically configured to disconnect the power supply circuit when it is determined that the first charging circuit is abnormal.
  • the processor may implement or perform the steps and logic blocks disclosed in the method embodiments of the present invention.
  • the general purpose processor may be a microprocessor or the processor or any conventional processor, decoder or the like.
  • the steps of the method disclosed in the embodiments of the present invention may be directly implemented by the hardware processor, or may be performed by a combination of hardware and software modules in the decoding processor.
  • the software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like.
  • the processor may be a central processing unit (“CPU"), and the processor may also be other general-purpose processors, digital signal processors (DSPs), and dedicated processors. Integrated circuit (ASIC), off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, etc.
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the memory can include read only memory and random access memory and provides instructions and data to the processor.
  • a portion of the memory may also include a non-volatile random access memory.
  • the memory can also store information of the device type.
  • each step of the above method may be completed by an integrated logic circuit of hardware in a processor or an instruction in a form of software.
  • the steps of the method disclosed in the embodiments of the present invention may be directly implemented as a hardware processor, or may be performed by a combination of hardware and software modules in the processor.
  • the software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like.
  • the storage medium is located in the memory, and the processor reads the information in the memory and combines the hardware to complete the steps of the above method. To avoid repetition, it will not be described in detail here.
  • the power adapter 500 may correspond to an implementation body of the method of the embodiment of the present invention, and each unit in the power adapter 500, that is, the module and the other operations and/or functions described above, respectively, are used to implement the method 100 of FIG. The corresponding process, for the sake of brevity, will not be described here.
  • the power adapter of the embodiment of the present invention when an abnormality occurs in a charging circuit between the power adapter and the mobile terminal, the power adapter is prohibited from outputting a DC voltage, thereby avoiding occurrence of a dangerous situation due to an abnormality in the charging circuit, and improving the use. safety. Moreover, by allowing the power adapter to output a DC voltage after the connection between the power adapter and the mobile terminal is disconnected, the power adapter can be returned to the normal use state after being disconnected, thereby improving the user experience.
  • FIG. 6 is a schematic structural diagram of a mobile terminal 600 according to an embodiment of the present invention.
  • a charging circuit for transmitting a direct current and a communication loop for transmitting a signal are formed between the mobile terminal and the power adapter, wherein the direct current is formed based on a direct current voltage,
  • the DC voltage is provided by the power adapter based on an AC voltage obtained from an external power source, and the mobile terminal 600 includes:
  • a transceiver 610 configured to transmit a signal through the communication loop
  • the processor 620 is configured to: when determining that an abnormality occurs in the charging circuit, control the transceiver to send an abnormality indication signal to the power adapter through the communication loop, so that the power adapter prohibits providing a DC voltage according to the abnormality indication signal;
  • the processor is configured to control the transceiver to send a first signal to the power adapter through the communication loop, wherein a connection between the power adapter and the mobile terminal corresponds to a transmission condition of the first signal, so that the power adapter is And determining a connection between the power adapter and the mobile terminal according to the transmission condition of the first signal, and allowing a DC voltage to be provided when the connection between the mobile terminal and the power adapter is disconnected.
  • the first signal is specifically the abnormality indication signal
  • the processor is specifically configured to control the transceiver to send the abnormality indication signal according to a preset period during detecting that an abnormality occurs in the charging circuit to detect that the power adapter is disconnected from the mobile terminal, so that the power adapter is in the After receiving the abnormality indication signal, detecting the reception condition of the abnormality indication signal, and determining that the connection between the power adapter and the mobile terminal is disconnected when the abnormality indication signal is not received within a preset time. The situation, wherein the preset time is greater than the preset period.
  • the processor is further configured to control, by the transceiver, the response signal sent by the power adapter to the abnormality indication signal, and detect the receiving condition of the response signal;
  • the processor is specifically configured to determine a connection between the power adapter and the mobile terminal according to the receiving condition of the response signal.
  • the processor is specifically configured to determine that the connection between the power adapter and the mobile terminal is disconnected when the response signal is not received within a predetermined time after detecting the sending of the abnormality indication signal.
  • the abnormality indication signal is specifically used to indicate that the battery voltage of the mobile terminal is greater than or equal to a preset voltage.
  • the first signal is specifically a connection indication signal sent by the mobile terminal when detecting the connection with the external device, so that the power adapter determines the power adapter and the mobile terminal after receiving the connection indication signal.
  • the connection has broken. .
  • the processor may implement or perform the steps and logic blocks disclosed in the method embodiments of the present invention.
  • the general purpose processor may be a microprocessor or the processor or any conventional processor, decoder or the like.
  • the steps of the method disclosed in the embodiments of the present invention may be directly implemented by the hardware processor, or may be performed by a combination of hardware and software modules in the decoding processor.
  • the software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like.
  • the processor may be a central processing unit (“CPU"), and the processor may also be other general-purpose processors, digital signal processors (DSPs), and dedicated processors. Integrated circuit (ASIC), off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, etc.
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the memory can include read only memory and random access memory and provides instructions and data to the processor.
  • a portion of the memory may also include a non-volatile random access memory.
  • the memory can also store information of the device type.
  • each step of the above method may be completed by an integrated logic circuit of hardware in a processor or an instruction in a form of software.
  • the steps of the method disclosed in the embodiments of the present invention may be directly implemented as a hardware processor, or may be performed by a combination of hardware and software modules in the processor.
  • the software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like.
  • the storage medium is located in the memory, and the processor reads the information in the memory and combines the hardware to complete the steps of the above method. To avoid repetition, it will not be described in detail here.
  • the mobile terminal to which the present invention is applied will be described by taking a mobile phone as an example.
  • the mobile phone may include a radio frequency circuit, a memory, an input unit, a wireless fidelity (WiFi) module, a display unit, a sensor, an audio circuit, a processor, a projection unit, a photographing unit, a battery, and the like.
  • WiFi wireless fidelity
  • the radio frequency circuit can be used for receiving and transmitting signals during the transmission and reception of information or a call, in particular, after receiving the downlink information of the base station, and processing the data to the processor; in addition, transmitting the uplink data of the mobile phone to the base station.
  • radio frequency circuits include, but are not limited to, an antenna, at least one amplifier, a transceiver, and a coupling. Combiners, low noise amplifiers, duplexers, etc.
  • the RF circuit can communicate with the network and other devices through wireless communication.
  • the above wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communication (GSM), General Packet Radio Service (GPRS), and Code Division Multiple Access (CDMA). Code Division Multiple Access), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), e-mail, Short Messaging Service (SMS), and the like.
  • GSM Global System for Mobile communication
  • GPRS General Packet Radio Service
  • CDMA Code Division Multiple Access
  • WCDMA Wide
  • the memory can be used to store software programs and modules, and the processor executes various functional applications and data processing of the mobile phone by running software programs and modules stored in the memory.
  • the memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the storage data area may be stored according to the mobile phone. Use the created data (such as audio data, phone book, etc.).
  • the memory may include a high speed random access memory, and may also include a nonvolatile memory such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
  • the input unit can be used to receive input numeric or character information and to generate key signals related to user settings and function controls of the handset.
  • the input unit may include a touch panel and other input devices.
  • a touch panel also referred to as a touch screen, can collect touch operations on or near the user (such as the user using a finger, a stylus, or the like, any suitable object or accessory on or near the touch panel).
  • the corresponding connecting device is driven according to a preset program.
  • the touch panel may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information.
  • touch panels can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the input unit may also include other input devices. Specifically, other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
  • the display unit can be used to display information input by the user or information provided to the user and various menus of the mobile phone.
  • the display unit may include a display panel.
  • the display panel may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
  • the touch panel can be covered The display panel, when the touch panel detects a touch operation on or near it, transmits to the processor to determine the type of the touch event, and then the processor provides a corresponding visual output on the display panel according to the type of the touch event.
  • the position in the display panel outside the visual output that the human eye can recognize can be used as a "display area" to be described later.
  • the touch panel and the display panel can be used as two independent components to realize the input and output functions of the mobile phone, and the touch panel and the display panel can be integrated to realize the input and output functions of the mobile phone.
  • the handset may also include at least one type of sensor, such as a voltage sensor, a temperature sensor, an attitude sensor, a light sensor, and other sensors.
  • the attitude sensor may also be referred to as a motion sensor, and as one type of the motion sensor, a gravity sensor may be cited, which uses a resilient sensor to form a cantilever type shifter and uses an elastic sensor to store energy. A spring drives the electrical contacts to effect a change in the change in gravity into an electrical signal.
  • an accelerometer sensor can be cited.
  • the accelerometer sensor can detect the acceleration of each direction (usually three axes), and the magnitude and direction of gravity can be detected at rest, which can be used to identify the gesture of the mobile phone ( For example, horizontal and vertical screen switching, related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping).
  • the motion sensor listed above may be used as the "attitude parameter" element to be described later, but the invention is not limited thereto, and other sensors capable of obtaining the "attitude parameter” fall within the protection scope of the present invention.
  • a gyroscope or the like and the working principle and data processing procedure of the gyroscope can be similar to the prior art, and a detailed description thereof will be omitted herein to avoid redundancy.
  • sensors such as a barometer, a hygrometer, a thermometer, and an infrared sensor may be disposed as the sensor, and details are not described herein again.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel according to the brightness of the ambient light, and the proximity sensor may turn off the display panel and/or the backlight when the mobile phone moves to the ear.
  • Audio circuitry, speakers, and microphones provide an audio interface between the user and the handset.
  • the audio circuit can transmit the converted electrical signal of the received audio data to the speaker and convert it into a sound signal output by the speaker; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit and converted into audio.
  • the data is then processed by the audio data output processor, sent via a radio frequency circuit to, for example, another handset, or the audio data is output to a memory for further processing.
  • WiFi is a short-range wireless transmission technology.
  • the mobile phone can help users to send and receive emails, browse web pages and access streaming media through the WiFi module. It provides users with wireless broadband Internet access.
  • the module can be omitted as needed within the scope of not changing the essence of the invention.
  • the processor is the control center of the mobile phone, and connects various parts of the entire mobile phone by using various interfaces and lines, and executes each mobile phone by running or executing software programs and/or modules stored in the memory, and calling data stored in the memory.
  • the processor may include one or more processing units; preferably, the processor may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, etc., and modulates
  • the demodulation processor primarily handles wireless communications.
  • modem processor may not be integrated into the processor.
  • the processor can function as the implementation component of the processor described above, performing the same or similar functions as the processing unit.
  • the phone also includes a power source (such as a battery) that supplies power to the various components.
  • a power source such as a battery
  • the power source can be connected to the processor logic through the power management system to manage functions such as charging, discharging, and power management through the power management system.
  • the mobile phone may further include a Bluetooth module and the like, and details are not described herein again.
  • the mobile phone is only an example of a mobile terminal, and the present invention is not limited thereto.
  • the present invention can be applied to an electronic device such as a mobile phone or a tablet computer, which is not limited by the present invention.
  • the mobile terminal 600 may correspond to the implementation body of the method 200 of the embodiment of the present invention, and each unit in the mobile terminal 600, that is, the module and the other operations and/or functions described above are respectively implemented to implement the method in FIG.
  • the corresponding process of 200 is not repeated here for brevity.
  • the power adapter of the embodiment of the present invention when an abnormality occurs in a charging circuit between the power adapter and the mobile terminal, the power adapter is prohibited from outputting a DC voltage, thereby avoiding occurrence of a dangerous situation due to an abnormality in the charging circuit, and improving the use. safety. Moreover, by allowing the power adapter to output a DC voltage after the connection between the power adapter and the mobile terminal is disconnected, the power adapter can be returned to the normal use state after being disconnected, thereby improving the user experience.
  • the size of the sequence numbers of the above processes does not mean the order of execution, and the order of execution of each process should be determined by its function and internal logic, and should not be directed to the embodiments of the present invention.
  • the implementation process constitutes any limitation.
  • the disclosed systems, devices, and methods may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the functions may be stored in a computer readable storage medium if implemented in the form of a software functional unit and sold or used as a standalone product.
  • the technical solution of the present invention which is essential or contributes to the prior art, or a part of the technical solution, may be embodied in the form of a software product, which is stored in a storage medium, including
  • the instructions are used to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .

Abstract

提供一种控制充电的方法、装置、电源适配器和移动终端,该方法应用于电源适配器,当该电源适配器与移动终端连接时,该电源适配器与移动终端之间形成用于传输直流电流的充电回路,该方法包括:该电源适配器基于从外部电源获取的交流电压,提供直流电压;该电源适配器在与第一移动终端连接时,通过该电源适配器与第一移动终端之间形成的第一充电回路,向该第一移动终端传输基于该直流电压形成的直流电流;该电源适配器在确定该第一充电回路出现异常时,禁止提供直流电压;该电源适配器确定该电源适配器与第一移动终端之间的连接情况,在该连接情况为该电源适配器与第一移动终端之间的连接出现断开情况时,允许提供直流电压,能够提高充电的安全性。

Description

控制充电的方法、装置、电源适配器和移动终端 技术领域
本发明涉及充电技术领域,并且更具体地,涉及控制充电的方法、装置、电源适配器和移动终端。
背景技术
目前,例如手机等移动移动终端通常都配置有能够充电的电池,从而能够通过电源适配器对该电池进行充电。
在电池充电过程中,可能出现充电回路出现异常,例如,可能出现电源适配器的输出电压过压或输出电流过流等输出异常,再例如,可能出现因充电接口没有插紧导或电池两端具有污垢导致充电回路阻抗异常,再例如,因上述异常而导致充电接口过热。上述异常可能导致器件损坏甚至发生爆炸等情况,严重影响使用安全性。
因此,希望提供能够一种技术,能够提高充电的安全性。
发明内容
第一方面,提供了一种控制充电的方法,应用于电源适配器,当该电源适配器与移动终端连接时,该电源适配器与移动终端之间形成用于传输直流电流的充电回路,该方法包括:该电源适配器基于从外部电源获取的交流电压,提供直流电压;该电源适配器在与第一移动终端连接时,通过该电源适配器与第一移动终端之间形成的第一充电回路,向该第一移动终端传输基于该直流电压形成的直流电流;该电源适配器在确定该第一充电回路出现异常时,禁止提供直流电压;该电源适配器确定该电源适配器与第一移动终端之间的连接情况,并在该连接情况为该电源适配器与第一移动终端之间的连接出现断开情况时,允许提供直流电压。
结合第一方面,在第一方面的第一种实现方式中,当该电源适配器与移动终端连接时,该电源适配器与该移动终端之间形成用于传输信号的通信回路,以及该电源适配器确定该电源适配器与第一移动终端之间的连接情况,包括:该电源适配器检测通过该通信回路传输的第一信号的传输情况,其中,该电源适配器与第一移动终端之间的连接情况与该第一信号的传输情况相 对应;该电源适配器根据检测到的该第一信号的传输情况,确定该电源适配器与第一移动终端之间的连接情况。
结合第一方面及其上述实现方式,在第一方面的第二种实现方式中,该第一信号具体是该第一移动终端在检测到该第一充电回路发生异常至检测到该第一移动终端与该电源适配器的连接断开期间,该第一移动终端按预设周期向该电源适配器发送的异常指示信号,以及该电源适配器根据该第一信号的传输情况,确定该电源适配器与第一移动终端之间的连接情况,包括:该电源适配器在接收到该异常指示信号后,对该异常指示信号的接收情况进行检测,并在检测到预设时间内未接收到该异常指示信号时,确定该电源适配器与第一移动终端之间的连接出现断开情况,其中,该预设时间大于该预设周期。
结合第一方面及其上述实现方式,在第一方面的第三种实现方式中,该方法还包括:该电源适配器在接收到该异常指示信号后,通过该通信回路向该第一移动终端发送针对该异常指示信号的响应信号,以便于该第一移动终端根据该电源适配器发送的该响应信号确定该电源适配器与第一移动终端之间的保持连接状态。
结合第一方面及其上述实现方式,在第一方面的第四种实现方式中,该异常指示信号具体用于指示该移动终端的电池电压大于或等于预设电压。
结合第一方面及其上述实现方式,在第一方面的第五种实现方式中,该第一信号具体是第二移动终端在检测到与外部设备连接时发送的连接指示信号,以及该电源适配器根据该第一信号的传输情况,确定该电源适配器与第一移动终端之间的连接情况,包括:该电源适配器在接收到该连接指示信号后,确定该电源适配器与该第一移动终端的连接出现断开情况。
结合第一方面及其上述实现方式,在第一方面的第六种实现方式中,当该电源适配器与该外部电源连接时,该电源适配器与该外部电源之间形成的供电回路,以及该电源适配器在确定该第一充电回路发生异常时,禁止提供直流电压,包括:该电源适配器在确定该第一充电回路发生异常时,断开该供电回路。
第二方面,提供了一种控制充电的装置,配置于电源适配器,当该电源适配器与移动终端连接时,该电源适配器与移动终端之间形成用于传输直流电流的充电回路,该直流电流是基于该电源适配器根据从外部电源获取的交 流电压提供的直流电压形成的,该装置包括:检测单元,用于检测该电源适配器在与第一移动终端连接时形成的第一充电回路是否出现异常;控制单元,用于在该检测单元确定该第一充电回路出现异常时,禁止该电源适配器提供直流电压;该检测单元还用于检测该电源适配器与第一移动终端之间的连接情况;该控制单元还用于在该检测单元检测的该连接情况为该电源适配器与第一移动终端之间的连接出现断开情况时,允许该电源适配器提供直流电压,该装置用于实现上述第一方面及第一方面的各实施方式的控制充电的方法的各步骤。
第三方面,提供了一种电源适配器,当该电源适配器与移动终端连接时,该电源适配器与移动终端之间形成用于传输直流电流的充电回路,该电源适配器包括:适配器主体,用于基于从外部电源获取的交流电压,提供直流电压,并在与第一移动终端连接时,通过该电源适配器与第一移动终端之间形成的第一充电回路,向该第一移动终端传输基于该直流电压形成的直流电流;处理器,用于在确定该第一充电回路出现异常时,禁止该适配器主体提供直流电压;该处理器还用于检测该电源适配器与第一移动终端之间的连接情况,并在该连接情况为该电源适配器与第一移动终端之间的连接出现断开情况时,允许该适配器主体提供直流电压,该电源适配器用于实现上述第一方面及第一方面的各实施方式的控制充电的方法的各步骤。
第四方面,提供了一种计算机程序产品,所述计算机程序产品包括:计算机程序代码,当所述计算机程序代码被电源适配器的各单元或器件运行时,使得该电源适配器执行上述第一方面及第一方面的各实施方式的控制充电的方法。
第五方面,提供了一种计算机可读存储介质,所述计算机可读存储介质存储有程序,所述程序使得电源适配器执行上述第一方面及第一方面的各实施方式的控制充电的方法。
第六方面,提供了一种控制充电的方法,应用于移动终端,当该移动终端与电源适配器连接时,该移动终端与该电源适配器之间形成用于传输直流电流的充电回路和用于传输信号的通信回路,其中,该直流电流是基于直流电压形成的,该直流电压是该电源适配器基于从外部电源获取的交流电压提供的,该方法包括:该移动终端在确定该充电回路出现异常时,通过该通信回路向该电源适配器发送异常指示信号,以使该电源适配器根据该异常指示 信号,禁止提供直流电压;该移动终端通过该通信回路向该电源适配器发送第一信号,其中,该电源适配器与移动终端之间的连接情况与该第一信号的传输情况相对应,以便于该电源适配器根据该第一信号的传输情况,确定该电源适配器与移动终端之间的连接情况,并在该连接情况为该移动终端与该电源适配器之间的连接出现断开情况时,允许提供直流电压。
结合第六方面,在第六方面的第一种实现方式中,该第一信号具体是该异常指示信号,以及该移动终端在确定该充电回路出现异常时,向该电源适配器发送异常指示信号,包括:该移动终端在检测到该充电回路发生异常至检测到该电源适配器与该移动终端的连接断开期间,按预设周期向该电源适配器发送该异常指示信号,以便于该电源适配器在接收到该异常指示信号后,对该异常指示信号的接收情况进行检测,并在检测到预设时间内未接收到该异常指示信号时,确定该电源适配器与移动终端之间的连接出现断开情况,其中,该预设时间大于该预设周期。
结合第六方面及其上述实现方式,在第六方面的第二种实现方式中,该方法还包括:该移动终端通过该通信回路接收该电源适配器发送的针对该异常指示信号的响应信号,并对该响应信号的接收情况进行检测;该移动终端根据该响应信号的接收情况,确定该电源适配器与该移动终端之间的连接情况。
结合第六方面及其上述实现方式,在第六方面的第三种实现方式中,该移动终端根据该响应信号的接收情况,确定该电源适配器与该移动终端之间的连接情况,包括:该移动终端在检测到向该电源适配器发送该异常指示信号之后的规定时间内未接收到该电源适配器发送的响应信号时,确定该电源适配器与该移动终端之间的连接出现断开情况。
结合第六方面及其上述实现方式,在第六方面的第四种实现方式中,该异常指示信号具体用于指示该移动终端的电池电压大于或等于预设电压。
结合第六方面及其上述实现方式,在第六方面的第五种实现方式中,该第一信号具体是该移动终端在检测到与外部设备连接时发送的连接指示信号,以便于该电源适配器在接收到该连接指示信号后,确定该电源适配器与该移动终端的连接出现断开情况。
第七方面,提供了一种控制充电的装置,配置于移动终端,当该移动终端与电源适配器连接时,该移动终端与该电源适配器之间形成用于传输直流 电流的充电回路和用于传输信号的通信回路,该直流电流是基于直流电压形成的,该直流电压是该电源适配器基于从外部电源获取的交流电压提供的,该装置包括:检测单元,用于检测该充电回路是否出现异常;通信单元,用于在该检测单元检测到该充电回路出现异常时,通过该通信回路向该电源适配器发送异常指示信号,以使该电源适配器根据该异常指示信号,禁止提供直流电压;通信单元还用于通过该通信回路向该电源适配器发送第一信号,其中,该电源适配器与移动终端之间的连接情况与该第一信号的传输情况相对应,以便于该电源适配器根据该第一信号的传输情况,确定该电源适配器与移动终端之间的连接情况,并在该连接情况为该移动终端与该电源适配器之间的连接出现断开情况时,允许提供直流电压,该装置用于实现上述第六方面及第六方面的各实施方式的控制充电的方法的各步骤。
第八方面,提供了一种移动终端,当该移动终端与电源适配器连接时,该移动终端与该电源适配器之间形成用于传输直流电流的充电回路和用于传输信号的通信回路,其中,该直流电流是基于直流电压形成的,该直流电压是该电源适配器基于从外部电源获取的交流电压提供的,该移动终端包括:收发器,用于通过该通信回路传输信号;处理器,用于在确定该充电回路出现异常时,控制该收发器通过该通信回路向该电源适配器发送异常指示信号,以使该电源适配器根据该异常指示信号,禁止提供直流电压;该处理器用于控制该收发器通过该通信回路向该电源适配器发送第一信号,其中,该电源适配器与移动终端之间的连接情况与该第一信号的传输情况相对应,以便于该电源适配器根据该第一信号的传输情况,确定该电源适配器与移动终端之间的连接情况,并在该连接情况为该移动终端与该电源适配器之间的连接出现断开情况时,允许提供直流电压,该移动终端用于实现上述第六方面及第六方面的各实施方式的控制充电的方法的各步骤。
第九方面,提供了一种计算机程序产品,所述计算机程序产品包括:计算机程序代码,当所述计算机程序代码被电源适配器的各单元或器件运行时,使得该电源适配器执行上述第六方面及第六方面的各实施方式的控制充电的方法。
第十方面,提供了一种计算机可读存储介质,所述计算机可读存储介质存储有程序,所述程序使得电源适配器执行上述第六方面及第六方面的各实施方式的控制充电的方法。
根据本发明实施例的控制充电的方法、装置、电源适配器和移动终端,通过在电源适配器与移动终端之间的充电回路出现异常时,禁止该电源适配器输出直流电压,能够避免因充电回路出现异常而导致危险情况的发生,能够提高使用安全性。并且,通过在电源适配器与移动终端之间的连接断开后,允许电源适配器输出直流电压,能够使电源适配器在断开连接后返归正常使用状态,从而改善用户体验。
附图说明
为了更清楚地说明本发明实施例的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是根据本发明一实施例的控制充电的方法的示意性流程图。
图2是根据本发明另一实施例的控制充电的方法的示意性流程图。
图3是根据本发明一实施例的控制充电的装置的示意性结构图。
图4是根据本发明另一实施例的控制充电的装置的示意性结构图。
图5是根据本发明一实施例的电源适配器的示意性结构图。
图6是根据本发明另一实施例的电源适配器的示意性结构图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
图1示出了从适配器角度描述的根据本发明实施例的控制充电的方法100的示意性流程图,该方法100应用于电源适配器。
当该电源适配器与移动终端连接时,该电源适配器与移动终端之间形成用于传输直流电流的充电回路,
如图1所示,该方法包括:
S110,该电源适配器基于从外部电源获取的交流电压,提供直流电压;
S120,该电源适配器在与第一移动终端连接时,通过该电源适配器与第 一移动终端之间形成的第一充电回路,向该第一移动终端传输基于该直流电压形成的直流电流;
S130,该电源适配器在确定该第一充电回路出现异常时,禁止提供直流电压;
S140,该电源适配器确定该电源适配器与第一移动终端之间的连接情况,并在该连接情况为该电源适配器与第一移动终端之间的连接出现断开情况时,允许提供直流电压。
首先,结合图3对本发明实施例的方法100所述使用于的电源适配器的结构进行说明。
图5示出了本发明实施例中电源适配器与移动终端连接时的示意图,如图5所示,该电源适配器在与外部电源连接时,该电源适配器在与外部电源之间可以形成供电回路,从而,该电源适配器可以通过该供电回路从外部电源获取交流电流,进而并对该交流电流进行交流-直流变换处理,以生成具有规定电压(例如,小于或等于5伏特)的直流电流。
另外,作为上述交流-直流变换处理可以列举以下过程,
首先,对从外部电源(例如,电网)输入的例如,220伏特(V)或110V的交流电电压进行变压(例如,降压)处理,以获得规定的电压(例如,小于或等于5伏特)的交流电。
其中,对降压后的交流电进行整流滤波处理,得到所需要的电压的直流电压。
在本发明实施例中,电源适配器可以包括电力输出端口,该输出端口可以进一步包括正极输出端口和负极输出端口,如上所述生成的直流电压被施加至该正极输出端口上,从而在该正极输出端口和负极输出端口之间产生直流电压。
另外,在本发明实施例中,该电力输出端口可以是通用串行总线(USB,Universal Serial Bus)接口中用于传输电流的端口。
从而,在该电源适配器(例如,经由充电线缆)与移动终端(例如,手机等电子设备)连接,例如,通过USB接口连接时,该电力输出端口可以与移动终端的电力输入端口连接,例如,该正极输出端口可以(例如,经由充电线缆)与移动终端的电力输入端口中的正极输入端口连接,该负极输出端口可以(例如,经由充电线缆)与移动终端的电力输入端口中的负极输入 端口连接。并且,该正极输入端口可以与移动终端的电池的正极连接,该负极输入端口可以与移动终端的电池的负极连接。由此,当电源适配器与移动终端连接时,能够形成用于对移动终端的电池进行充电的充电回路。
可选地,当该电源适配器与移动终端连接时,该电源适配器与该移动终端之间形成用于传输信号的通信回路。
具体地说,在本发明实施例中,电源适配器可以包括信号传输端口,该信号传输端口可以与电源适配器中的信号收发器件连接。
另外,在本发明实施例中,该信号传输端口可以是USB接口中用于传输数据或信号的端口。
从而,在该电源适配器(例如,经由充电线缆)与移动终端(例如,手机等电子设备)连接时,该电源适配器的信号传输端口可以(例如,经由充电线缆)与移动终端的信号传输端口连接。由此,当电源适配器与移动终端连接时,能够形成用于传输信号的通信回路。
需要说明的是,在本发明实施例中,该电源适配器可以配置有电子连接器(例如,连接器插口或连接器插头),上述电源适配器的电力输出端口和信号传输端口可以统一配置在该电源适配器的电子连接器中,并且,该移动终端也可以配置有电子连接器(例如,连接器插口或连接器插头),上述移动终端的电力输入端口和信号传输端口可以统一配置在该移动终端的电子连接器中。
即,在本发明实施例中,该电源适配器与移动终端的连接情况,可以理解为该电源适配器的电子连接器与该移动终端的电子连接器的连接情况,并且,本发明实施例中,“连接”可以是直接连接,也可以是(经由例如,USB线缆等能够传输电力和信号的电子线缆)间接连接。
并且,在本发明实施例中,上述电子连接器可以是USB连接器,例如,标准USB、Micro-USB和Mini-USB等。
下面,以该电源适配器与移动终端#A(第一移动终端的一例)连接,即,对该移动终端#A充电时的过程为例对该方法100进行详细说明。
在电源适配器与外部交流电源连接之后,可以在上述正极输出端口和负极输出端口产生直流电压。
需要说明的是,在本发明实施例中,上述直流电压可以在电源适配器与外部交流电源连接之后立即产生,或者,也可以在电源适配器中设置用于控 制直流电压的产生的开关,并根据用户操作或者与移动终端的连接情况,控制该开关,进而控制直流电压的产生。例如,在可以在电源适配器中设置用于检测是否与移动终端连接的传感器(例如,压力传感器、红外传感器等),并在检测到电源适配器与移动终端连接之后,产生直流电压。
需要说明的是,在本发明实施例中,该直流电压可以是用于进行正常充电的电压,也可以是用于进行快速充电的电压,本发明并未特别限定。
并且,在电源适配器与移动终端#A连接之后,电源适配器与移动终端#A之间形成充电回路#A(即,第一充电回路的一例),从而,电源适配器可以经由该充电回路#A向移动终端#A(具体地说,是移动终端#A的电池)传输基于上述直流电压产生的直流电流。
需要说明的是,在本发明实施例中,该直流电流可以是用于进行正常充电的电流,也可以是用于进行快速充电的电流,本发明并未特别限定。
其后,电源适配器可以检测充电回路#A是否出现异常。
作为示例而非限定,在本发明实施例中,充电回路的异常可以包括以下至少一种情况:
情况A
电源适配器的输出电压过压(即,输出电压高于预设的输出电压安全阈值)
此情况下,电源适配器可以自行检测是否出现该异常情况,即,电源适配器可以检测其输出电压(即,正极输出端口和负极输出端口之间的电压),并将该输出电压与上述输出电压安全阈值进行比较,当输出电压大于输出电压安全阈值时,电源适配器可以认为输出电压过压,充电回路发生异常。应理解,上述输出电压安全阈值可以根据电源适配器和移动终端的具体型号进行设定,也可以基于经验设定,本发明并未特别限定。
进一步地,电源适配器还可以通过上述通信回路将电源适配器的输出电压的指示信息发送给移动终端,并由移动终端判定该输出电压是否过压。
即,电源适配器和移动终端均要检测电源适配器的输出电压是否过压,这样一来,即使电源适配器的检测结果发生错误,仍能由移动终端检测出电源适配器的输出电压是否过压。或者,电源适配器和移动终端并非配套使用(例如,分别由不同制造商生产),可能存在电源适配器认为安全的输出电压超过移动终端的承受能力,因此,电源适配器和移动终端均检测电源适配 器的输出电压是否过压,可以有效避免这种情况的发生,进一步提高了充电过程的安全性。
情况B
电源适配器的输出电流过流(即,输出电流高于预设的输出电流安全阈值)
此情况下,电源适配器可以自行检测是否出现该异常情况,即,电源适配器可以检测其输出电流,并将该输出电流与上述输出电流安全阈值进行比较,当输出电流大于输出电流安全阈值时,电源适配器可以认为输出电流过流,充电回路发生异常。应理解,上述输出电流安全阈值可以根据电源适配器和移动终端的具体型号进行设定,也可以基于经验设定,本发明并未特别限定。
进一步地,电源适配器还可以通过上述通信回路将电源适配器的输出电流的指示信息发送给移动终端,并由移动终端判定该输出电流是否过流。
即,电源适配器和移动终端均要检测电源适配器的输出电流是否过流,这样一来,即使电源适配器的检测结果发生错误,仍能由移动终端检测出电源适配器的输出电流是否过流。或者,电源适配器和移动终端并非配套使用(例如,分别由不同制造商生产),可能存在电源适配器认为安全的输出电流超过移动终端的承受能力,因此,电源适配器和移动终端均检测电源适配器的输出电流是否过流,可以有效避免这种情况的发生,进一步提高了充电过程的安全性。
情况C
移动终端的输入电压过压(即,输入电压高于预设的输入电压安全阈值)
此情况下,移动终端可以检测是否出现该异常情况,并将该异常情况的指示信息通过通信回路通知电源适配器。
即,移动终端可以检测所输入的电压(即,正极输入端口和负极输入端口之间的电压),并将该输入电压与上述输入电压安全阈值进行比较,当输入电压大于输入电压安全阈值时,移动终端可以认为输入电压过压,充电回路发生异常,并通过通信回路向电源适配器发送输入电压过压的指示信息(异常指示信息的一例)。从而,电源适配器能够根据该输入电压过压的指示信息,确定充电回路出现异常。应理解,上述输入电压安全阈值可以根据电源适配器和移动终端的具体型号进行设定,也可以基于经验设定,本发明 并未特别限定。
情况D
移动终端的输入电压过流(即,输入电流高于预设的输入电流安全阈值)
此情况下,移动终端可以检测是否出现该异常情况,并将该异常情况的指示信息通过通信回路通知电源适配器。
即,移动终端可以检测所输入的电流,并将该输入电流与上述输入电流安全阈值进行比较,当输入电流大于输入电流安全阈值时,移动终端可以认为输入电流过流,充电回路发生异常,并通过通信回路向电源适配器发送输入电流过流的指示信息(异常指示信息的另一例)。从而,电源适配器能够根据该输入电流过流的指示信息,确定充电回路出现异常。应理解,上述输入电流安全阈值可以根据电源适配器和移动终端的具体型号进行设定,也可以基于经验设定,本发明并未特别限定。
情况E
施加在电池两端的电压过压(即,施加至电池的电压高于预设充电电压安全阈值)
此情况下,移动终端可以检测是否出现该异常情况,并将该异常情况的指示信息通过通信回路通知电源适配器。
即,移动终端可以检测输入至电池的电压(或者说,电池电压),并将该施加在电池两端的电压过压与上述充电电压安全阈值进行比较,当施加在电池两端的电压过压高于上述充电电压安全阈值时,移动终端可以认为施加在电池两端的电压过压,充电回路发生异常,并通过通信回路向电源适配器发送施加在电池两端的电压过压的指示信息(异常指示信息的再一例)。从而,电源适配器能够根据该施加在电池两端的电压过压的指示信息,确定充电回路出现异常。应理解,上述充电电压安全阈值可以根据电源适配器和移动终端的具体型号进行设定,也可以基于经验设定,本发明并未特别限定。
情况F
流入电池的电流过流(即,流入电池的电流高于预设的充电电流安全阈值)
此情况下,移动终端可以检测是否出现该异常情况,并将该异常情况的指示信息通过通信回路通知电源适配器。
即,移动终端可以检测输入至电池的电流,并将该输入至电池的电流与 上述充电电流安全阈值进行比较,当输入至电池的电流高于上述充电电流安全阈值时,移动终端可以认为流入电池的电流过流,充电回路发生异常,并通过通信回路向电源适配器发送流入电池的电流过流的指示信息(异常指示信息的再一例)。从而,电源适配器能够根据该流入电池的电流过流的指示信息,确定充电回路出现异常。应理解,上述充电电流安全阈值可以根据电源适配器和移动终端的具体型号进行设定,也可以基于经验设定,本发明并未特别限定。
情况G
电池的温度过温(即,电池温度高于预设的电池温度安全阈值)
此情况下,移动终端可以检测是否出现该异常情况,并将该异常情况的指示信息通过通信回路通知电源适配器。
即,移动终端可以检测电池温度,并将该电池温度与上述电池温度安全阈值进行比较,当电池温度高于上述电池温度安全阈值时,移动终端可以认为电池的温度过温,充电回路发生异常,并通过通信回路向电源适配器发送电池的温度过温的指示信息(异常指示信息的再一例)。从而,电源适配器能够根据电池的温度过温的指示信息,确定充电回路出现异常。应理解,上述电池温度安全阈值可以根据电池具体型号进行设定,也可以基于经验设定,本发明并未特别限定。
情况H
充电接口的温度过温(即,充电接口温度高于预设的接口温度安全阈值)
在本发明实施例中,该充电接口可以包括电源适配器的用于与充电线缆或移动终端进行电连接的接口、充电线缆的用于与该电源适配器或移动终端进行电连接的接口、移动终端的用于与充电线缆或电源适配器进行电连接的接口。
其中,涉及电源适配器的接口(例如,电源适配器自身的接口,或者,与电源适配器的接口直接连接的接口)的温度,可以由电源适配器通过例如,温度传感器等自行检测,并在所检测到的温度高于接口温度安全阈值时,电源适配器可以认为充电接口的温度过温,充电回路发生异常。
另外,其中,涉及移动终端的接口(例如,移动终端自身的接口,或者,与移动终端的接口直接连接的接口)的温度,可以由移动终端通过例如,温度传感器等自行检测,并在所检测到的温度高于接口温度安全阈值时,移动 终端可以认为充电接口的温度过温,充电回路发生异常,并通过通信回路向电源适配器发送充电接口的温度过温的指示信息(异常指示信息的再一例)。从而,电源适配器能够根据该充电接口的温度过温的指示信息,确定充电回路出现异常。
应理解,上述接口温度安全阈值可以根据电源适配器和移动终端的具体型号进行设定,也可以基于经验设定,本发明并未特别限定。
情况I
充电回路的阻抗异常(即,充电回路的阻抗与预设的安全阻抗值的偏差超过预设的安全范围)
在本发明实施例中,充电回路的阻抗具体指从电源适配器到移动终端的电池之间的线路的阻抗。
在一种实现方式中,电源适配器可以将输出电压的指示信息通过通信回路发送给移动终端,移动终端可以检测输入电压,从而,移动终端可以确定该输出电压与输入电压的差值,并根据该差值充电回路的阻抗。移动终端可以直接将该充电回路的阻抗的指示信息发送给电源适配器,从而,如果充电回路的阻抗与预设的安全阻抗值的偏差超过预设的安全范围,则电源适配器可以确定充电回路的阻抗异常,进而确定充电回路出现异常。或者,移动终端也可以在确定充电回路的阻抗与预设的安全阻抗值的偏差超过预设的安全范围时,确定充电回路的阻抗异常,并将该充电回路的阻抗异常的指示信息(即,异常指示信息的再一例)发送给电源适配器。
在另一种实现方式中,移动终端可以将输入电压的指示信息通过通信回路发送给电源适配器,电源适配器可以检测输出电压,从而,电源适配器可以确定该输出电压与输入电压的差值,并根据该差值充电回路的阻抗。如果充电回路的阻抗与预设的安全阻抗值的偏差超过预设的安全范围,则电源适配器可以确定充电回路的阻抗异常,进而确定充电回路出现异常。
应理解,上述安全阻抗值或安全范围可以根据电源适配器和移动终端的具体型号进行设定,也可以基于经验设定,本发明并未特别限定。
应理解,以上列举的充电回路的异常情况仅为示例性说明,本发明并未限定于此,例如,还可以是因充电接口接触不良而导致的其他异常情况,本发明并未特别限定。
当电源适配器按如上所述方式确定充电回路#A出现异常时,可以禁止 提供直流电压,即,使该正极输出端口和负极输出端口之间的电压值为零。
可选地,当该电源适配器与该外部电源连接时,该电源适配器与该外部电源之间形成的供电回路,以及
该电源适配器在确定该第一充电回路发生异常时,禁止提供直流电压,包括:
该电源适配器在确定该第一充电回路发生异常时,断开该供电回路。
具体地说,在本发明实施例中,当电源适配器确定充电回路#A出现异常时,可以切断该电源适配器与该外部电源之间的电连接(即,供电回路),从而,能够切断交流电压(或者说,交流电流)的供给,使该电源适配器无法产生直流电压。
应理解,以上列举的禁止提供直流电压的方式仅为示例性说明,本发明并未限定于此,例如,也可以采用禁止该电源适配器进行交流-直流变化处理的器件(例如,功率转换单元等)工作的方式,实现禁止提供直流电压。
根据本发明实施例的控制充电的方法,通过在电源适配器与移动终端之间的充电回路出现异常时,禁止该电源适配器输出直流电压,能够避免因充电回路出现异常而导致危险情况的发生,能够提高使用安全性。
在现有技术中,电源适配器是通过检测是否有电流流出的方式确定是否与移动终端连接(或者说,充电电路是否形成),因此,在电源适配器禁止提供直流电压之后,即使用户使该电源适配器与移动终端#A进行重新连接(即,重插拔接口)或者使该电源适配器与其他移动终端(以下,为了便于理解和说明,称为移动终端#B)连接,而使充电回路重新形成,由于电源适配器的正极输出端和负极输出端之间没有电压,重新形成的充电回路中不会有电流产生,导致电源适配器无法正常使用,严重影响用户体验。
对此,在本发明实施例中,可以采用以下方式进行应对。
即,电源适配器可以检测与移动终端#A的连接情况。
可选地,当该电源适配器与移动终端连接时,该电源适配器与该移动终端之间形成用于传输信号的通信回路,以及
该电源适配器确定该电源适配器与第一移动终端之间的连接情况,包括:
该电源适配器检测通过该通信回路传输的第一信号的传输情况,其中,该电源适配器与第一移动终端之间的连接情况与该第一信号的传输情况相 对应;
该电源适配器根据该第一信号的传输情况,确定该电源适配器与第一移动终端之间的连接情况
具体地说,在本发明实施例中,电源适配器可以根据在电源适配器与移动终端(移动终端#A或移动终端#B)连接后形成的通信回路传输的信号,确定该电源适配器与移动终端#A的连接情况。
在本发明实施例中,可以采用确定连接是否断开的方式确定电源适配器与移动终端#A的连接情况(即,方式1),或者,也可以采用确定连接是否建立的方式确定电源适配器与移动终端#A的连接情况(即,方式2),下面,分别对以上两种方式进行详细说明。
方式1
可选地,该第一信号具体是该第一移动终端在检测到该第一充电回路发生异常至该电源适配器与该第一移动终端的连接断开期间按预设周期发送的异常指示信号,以及
该电源适配器根据该第一信号的传输情况,确定该电源适配器与第一移动终端之间的连接情况,包括:
该电源适配器在接收到该异常指示信号后,对该异常指示信号的接收情况进行检测,并在检测到预设时间内未接收到该异常指示信号时,确定该电源适配器与第一移动终端之间的连接出现断开情况,其中,该预设时间大于该预设周期。
具体地说,在本发明实施例中,在由移动终端检测#A检测充电回路#A是否发生异常的情况下,如果移动终端检测#A确定充电回路#A发送异常,则可以通过移动终端检测#A与电源适配器连接之后形成的通信回路#A,向电源适配器发送异常指示信号,从而,电源适配器可以根据异常指示信号,禁止输出直流电压。
并且,在本发明实施例中,移动终端检测#A在时间段T内,按规定的预设周期持续发送该异常指示信号。这里,时间段T具体是指时间点T0至时间点T1之间的时间段,时间点T0是移动终端检测#A检测出充电回路#A发生异常之后的时间点,时间点T1是移动终端检测#A检测出通信回路#A(或者说,移动终端检测#A与电源适配器之间的连接)断开之后的时间点。
即,当移动终端检测#A与电源适配器之间的连接断开之后,电源适配 器能够检测到异常指示信号的传输中断。
通常情况下,异常指示信号的发送周期较短(例如,可以在100毫秒以内),该周期远小于用户重新插拔电源适配器与移动终端的电子连接器的完成时间,因此,电源适配器可以在检测到移动终端检测#A连续发送的异常指示信号中断后,确定移动终端检测#A与电源适配器之间的连接断开。
如果异常指示信号的发送周期较长(例如,数秒或数分钟),则需要使电源适配器在(与该移动终端检测#A连接之后)首次接收到该移动终端检测#A发送的异常指示信号之后进行计时,如果在超过上述发送周期的时长内,未能收到异常指示信号,则电源适配器可以确定移动终端检测#A与电源适配器之间的连接断开。
可选地,该方法还包括:
在接收到该异常指示信号后,通过该通信回路向该第一移动终端发送针对该异常指示信号的响应信号,以便于该第一移动终端根据该响应信号确定该电源适配器与第一移动终端之间的保持连接状态。
具体地说,作为移动终端检测#A与电源适配器之间的连接断开的实现方式,在本发明实施例中,在电源适配器接收到异常指示信号后,可以向移动终端#A发送响应信号。
从而,当移动终端检测#A与电源适配器之间的连接未断开时,由于异常指示信号和响应信号持续发送,因此移动终端检测#A和电源适配器均识别为移动终端检测#A与电源适配器之间的连接未断开。
当移动终端检测#A与电源适配器之间的连接断开时,电源适配器不会接收到异常指示信号,移动终端检测#A也不会接收到响应信号,因此移动终端检测#A和电源适配器均识别为移动终端检测#A与电源适配器之间的连接断开。
并且,在本发明实施例中,电源适配器可以在时间段T’内,按规定的预设周期持续发送该异常指示信号的响应信号。这里,时间段T’具体是指时间点T0’至时间点T1’之间的时间段,时间点T0’是电源适配器接收到异常指示信号之后的时间点,时间点T1’是移动终端检测#A与电源适配器之间的连接断开之后的时间点。
即,当移动终端检测#A与电源适配器之间的连接断开之后,电源适配器发送的响应信号的传输中断。
通常情况下,响应信号的发送周期较短(例如,可以在100毫秒以内),该周期远小于用户重新插拔电源适配器与移动终端的电子连接器的完成时间,因此,移动终端检测#A可以在检测到电源适配器连续发送的响应信号中断后,确定移动终端检测#A与电源适配器之间的连接断开。
如果响应信号的发送周期较长(例如,数秒或数分钟),则需要使移动终端检测#A在(与该电源适配器连接之后)首次接收到该电源适配器发送的响应之后进行计时,如果在超过上述发送周期的时长内,未能收到响应信号,则移动终端检测#A可以确定移动终端检测#A与电源适配器之间的连接断开。
需要说明的是,在本发明实施例中,电源适配器可以在每次接收到异常信号时均发送响应信号,也可以在接收到预设数量的周期的异常信号时,一并进行反馈,本发明并未特别限定。
应理解,以上列举的移动终端检测#A与电源适配器之间的连接断开的实现方式仅为示例性说明,本发明并未限定于此,例如,还可以在移动终端的电子接口设置压力传感器、红外传感器或影像传感器等,并通过上述传感器检测移动终端检测#A与电源适配器之间的连接断开,例如,在移动终端检测的电子连接器中可以设置压力传感器,当电源适配器的电子连接器与移动终端检测的电子连接器连接(例如,嵌合式连接)或断开时,该压力传感器能够检测到连接或断开时的压力变化,并基于该压力变化识别移动终端检测与电源适配器之间的连接或断开。
可选地,该异常指示信号具体用于指示该移动终端的电池电压大于或等于预设电压。
具体地说,作为示例而非限定,在本发明实施例中,该异常指示信号具体用于指示该移动终端的电池电压大于或等于预设电压,从而,电源适配器在接收到该异常指示信号之后,可以认为如果继续输出电压(或者说,电流)则可能导致电池发生危险而禁止输出直流电压。
应理解,以上列举的异常指示信号的具体例仅为示例性说明,本发明并未限定于此,例如,可以根据充电回路出现的异常所对应的具体情况,传输相对应的信号。
方式2
该第一信号具体是第二移动终端在检测到与外部设备连接时发送的连 接指示信号,以及
该电源适配器根据该第一信号的传输情况,确定该电源适配器与第一移动终端之间的连接情况,包括:
该电源适配器在接收到该连接指示信号后,确定该电源适配器与该第一移动终端的连接出现断开情况。
具体地说,在本发明实施例中,在移动终端(例如,移动终端的电子接口)中可以配置用于检测是否与外部设备(包括电源适配器)连接的传感器,例如,压力传感器、红外传感器或影像传感器等。
例如,在该电源适配器与该移动终端#A(即,第二移动终端的一例)重新连接时,该移动终端#A能够通过上述传感器检测到电子接口与外部设备连接,从而,可以通过电子接口中的通信端口发送连接指示信号,从而,该电源适配器在接收到连接指示信号之后,可以确定在禁止输出直流电压之后发生连接(即,与移动终端#A重新连接),即,禁止输出直流电压之前的连接出现过断开情况。
再例如,在该电源适配器与该移动终端#B(即,第二移动终端的另一例)连接时,该移动终端#B能够通过上述传感器检测到电子接口与外部设备连接,从而,可以通过电子接口中的通信端口发送连接指示信号,从而,该电源适配器在接收到连接指示信号之后,可以确定在禁止输出直流电压之后发生连接(即,与移动终端#B连接),即,禁止输出直流电压之前的连接断开。
应理解,以上列举的电源适配器识别在禁止输出直流电压之前建立的连接(包括充电回路)是否断开的方法仅为示例性说明,本发明并未限定于此,例如,也可以在电源适配器的电子接口中配置用于检测是否与外部设备(包括电源适配器)连接或断开的传感器,例如,压力传感器、红外传感器或影像传感器等,并通过上述传感器来识别连接的断开与否。
从而,该电源适配器在识别出与移动终端#A的连接出现过断开情况后,可以重新允许提供直流电压。
例如,在本发明实施例中,当电源适配器确定与终端设备#A之间的连接出现过断开情况(例如,与终端设备#A重新连接,或与其他终端设备连接)时,可以接通该电源适配器与该外部电源之间的电连接(即,供电回路),从而,能够重新提供交流电压(或者说,交流电流),使该电源适配器重新产生直流电压。
根据本发明实施例的控制充电的方法通过在电源适配器与移动终端之间的连接断开后,允许电源适配器输出直流电压,能够使电源适配器在断开连接后返归正常使用状态,从而改善用户体验。
图2示出了从移动终端角度描述的根据本发明实施例的控制充电的方法200的示意性流程图,该方法200应用于移动终端。
当该移动终端与电源适配器连接时,该移动终端与该电源适配器之间形成用于传输直流电流的充电回路和用于传输信号的通信回路,其中,该直流电流是基于直流电压形成的,该直流电压是该电源适配器基于从外部电源获取的交流电压提供的,该方法200包括:
S210,该移动终端在确定该充电回路出现异常时,通过该通信回路向该电源适配器发送异常指示信号,以使该电源适配器根据该异常指示信号,禁止提供直流电压;
S220,该移动终端通过该通信回路向该电源适配器发送第一信号,其中,该电源适配器与移动终端之间的连接情况与该第一信号的传输情况相对应,以便于该电源适配器根据该第一信号的传输情况,确定该电源适配器与移动终端之间的连接情况,并在该连接情况为该移动终端与该电源适配器之间的连接出现断开情况时,允许提供直流电压。
首先,结合图6对本发明实施例的方法200所述使用于的移动终端的结构进行说明。
图6示出了本发明实施例中电源适配器与移动终端连接时的示意图,如图6所示,该电源适配器在与外部电源连接时,该电源适配器在与外部电源之间可以形成供电回路,从而,该电源适配器可以通过该供电回路从外部电源获取交流电流,进而并对该交流电流进行交流-直流变换处理,以生成具有规定电压(例如,小于或等于5伏特)的直流电流。
另外,作为上述交流-直流变换处理可以列举以下过程,
首先,对从外部电源(例如,电网)输入的例如,220伏特(V)或110V的交流电电压进行变压(例如,降压)处理,以获得规定的电压(例如,小于或等于5伏特)的交流电。
其中,对降压后的交流电进行整流滤波处理,得到所需要的电压的直流电压。
在本发明实施例中,电源适配器可以包括电力输出端口,该输出端口可 以进一步包括正极输出端口和负极输出端口,如上所述生成的直流电压被施加至该正极输出端口上,从而在该正极输出端口和负极输出端口之间产生直流电压。
另外,在本发明实施例中,该电力输出端口可以是通用串行总线(USB,Universal Serial Bus)接口中用于传输电流的端口。
从而,在该电源适配器(例如,经由充电线缆)与移动终端(例如,手机等电子设备)连接,例如,通过USB接口连接时,该电力输出端口可以与移动终端的电力输入端口连接,例如,该正极输出端口可以(例如,经由充电线缆)与移动终端的电力输入端口中的正极输入端口连接,该负极输出端口可以(例如,经由充电线缆)与移动终端的电力输入端口中的负极输入端口连接。并且,该正极输入端口可以与移动终端的电池的正极连接,该负极输入端口可以与移动终端的电池的负极连接。由此,当电源适配器与移动终端连接时,能够形成用于对移动终端的电池进行充电的充电回路。
另外,在本发明实施例中,电源适配器可以包括信号传输端口,该信号传输端口可以与电源适配器中的信号收发器件连接。并且,移动终端可以包括信号传输端口,该信号传输端口可以与移动终端中的信号收发器件连接
另外,在本发明实施例中,该信号传输端口可以是USB接口中用于传输数据或信号的端口。
从而,在该电源适配器(例如,经由充电线缆)与移动终端(例如,手机等电子设备)连接时,该电源适配器的信号传输端口可以(例如,经由充电线缆)与移动终端的信号传输端口连接。由此,当电源适配器与移动终端连接时,能够形成用于传输信号的通信回路。
需要说明的是,在本发明实施例中,该电源适配器可以配置有电子连接器(例如,连接器插口或连接器插头),上述电源适配器的电力输出端口和信号传输端口可以统一配置在该电源适配器的电子连接器中,并且,该移动终端也可以配置有电子连接器(例如,连接器插口或连接器插头),上述移动终端的电力输入端口和信号传输端口可以统一配置在该移动终端的电子连接器中。
即,在本发明实施例中,该电源适配器与移动终端的连接情况,可以理解为该电源适配器的电子连接器与该移动终端的电子连接器的连接情况,并且,本发明实施例中,“连接”可以是直接连接,也可以是(经由例如,USB 线缆等能够传输电力和信号的电子线缆)间接连接。
并且,在本发明实施例中,上述电子连接器可以是USB连接器,例如,标准USB、Micro-USB和Mini-USB等。
下面,以该电源适配器与移动终端#A(移动终端的一例)连接,即,对该移动终端#A充电时的过程为例对该方法200进行详细说明。
在电源适配器与外部交流电源连接之后,可以在上述正极输出端口和负极输出端口产生直流电压。
需要说明的是,在本发明实施例中,上述直流电压可以在电源适配器与外部交流电源连接之后立即产生,或者,也可以在电源适配器中设置用于控制直流电压的产生的开关,并根据用户操作或者与移动终端的连接情况,控制该开关,进而控制直流电压的产生。例如,在可以在电源适配器中设置用于检测是否与移动终端连接的传感器(例如,压力传感器、红外传感器等),并在检测到电源适配器与移动终端连接之后,产生直流电压。
需要说明的是,在本发明实施例中,该直流电压可以是用于进行正常充电的电压,也可以是用于进行快速充电的电压,本发明并未特别限定。
并且,在电源适配器与移动终端#A连接之后,电源适配器与移动终端#A之间形成充电回路#A(即,充电回路的一例),从而,电源适配器可以经由该充电回路#A向移动终端#A(具体地说,是移动终端#A的电池)传输基于上述直流电压产生的直流电流。
需要说明的是,在本发明实施例中,该直流电流可以是用于进行正常充电的电流,也可以是用于进行快速充电的电流,本发明并未特别限定。
其后,电源适配器可以检测充电回路#A是否出现异常。
作为示例而非限定,在本发明实施例中,充电回路的异常情况及其检测方法可以与上述情况A至情况H中描述的具体过程相似,这里,为了避免赘述,省略其详细说明。
当电源适配器按如上所述方式确定充电回路#A出现异常时,可以禁止提供直流电压,即,使该正极输出端口和负极输出端口之间的电压值为零。
在本发明实施例中,当电源适配器确定充电回路#A出现异常时,可以切断该电源适配器与该外部电源之间的电连接(即,供电回路),从而,能够切断交流电压(或者说,交流电流)的供给,使该电源适配器无法产生直流电压。
应理解,以上列举的禁止提供直流电压的方式仅为示例性说明,本发明并未限定于此,例如,也可以采用禁止该电源适配器进行交流-直流变化处理的器件(例如,功率转换单元等)工作的方式,实现禁止提供直流电压。
根据本发明实施例的控制充电的方法,通过在电源适配器与移动终端之间的充电回路出现异常时,禁止该电源适配器输出直流电压,能够避免因充电回路出现异常而导致危险情况的发生,能够提高使用安全性。
在现有技术中,电源适配器是通过检测是否有电流流出的方式确定是否与移动终端连接(或者说,充电电路是否形成),因此,在电源适配器禁止提供直流电压之后,即使用户使该电源适配器与移动终端#A进行重新连接(即,重插拔接口)或者使该电源适配器与其他移动终端(以下,为了便于理解和说明,称为移动终端#B)连接,而使充电回路重新形成,由于电源适配器的正极输出端和负极输出端之间没有电压,重新形成的充电回路中不会有电流产生,导致电源适配器无法正常使用,严重影响用户体验。
对此,在本发明实施例中,可以采用以下方式进行应对。
在本发明实施例中,电源适配器可以根据在电源适配器与移动终端(移动终端#A或移动终端#B)连接后形成的通信回路传输的信号,确定该电源适配器与移动终端#A的连接情况。
在本发明实施例中,可以采用确定连接是否断开的方式确定电源适配器与移动终端#A的连接情况(即,方式1),或者,也可以采用确定连接是否建立的方式确定电源适配器与移动终端#A的连接情况(即,方式2),下面,分别对以上两种方式进行详细说明。
方式1
可选地,该第一信号具体是该异常指示信号,以及
该移动终端在确定该充电回路出现异常时,向该电源适配器发送异常指示信号,包括:
该移动终端在检测到该充电回路发生异常至检测到该电源适配器与该移动终端的连接断开期间,按预设周期发送该异常指示信号,以便于该电源适配器在接收到该异常指示信号后,对该异常指示信号的接收情况进行检测,并在检测到预设时间内未接收到该异常指示信号时,确定该电源适配器与移动终端之间的连接出现断开情况,其中,该预设时间大于该预设周期。
具体地说,在本发明实施例中,在由移动终端检测#A检测充电回路#A 是否发生异常的情况下,如果移动终端检测#A确定充电回路#A发送异常,则可以通过移动终端检测#A与电源适配器连接之后形成的通信回路#A,向电源适配器发送异常指示信号,从而,电源适配器可以根据异常指示信号,禁止输出直流电压。
并且,在本发明实施例中,移动终端检测#A在时间段T内,按规定的预设周期持续发送该异常指示信号。这里,时间段T具体是指时间点T0至时间点T1之间的时间段,时间点T0是移动终端检测#A检测出充电回路#A发生异常之后的时间点,时间点T1是移动终端检测#A检测出通信回路#A(或者说,移动终端检测#A与电源适配器之间的连接)断开之后的时间点。
即,当移动终端检测#A与电源适配器之间的连接断开之后,电源适配器能够检测到异常指示信号的传输中断。
通常情况下,异常指示信号的发送周期较短(例如,可以在100毫秒以内),该周期远小于用户重新插拔电源适配器与移动终端的电子连接器的完成时间,因此,电源适配器可以在检测到移动终端检测#A连续发送的异常指示信号中断后,确定移动终端检测#A与电源适配器之间的连接断开。
如果异常指示信号的发送周期较长(例如,数秒或数分钟),则需要使电源适配器在(与该移动终端检测#A连接之后)首次接收到该移动终端检测#A发送的异常指示信号之后进行计时,如果在超过上述发送周期的时长内,未能收到异常指示信号,则电源适配器可以确定移动终端检测#A与电源适配器之间的连接断开。
可选地,该方法还包括:
该方法还包括:
该移动终端通过该通信回路接收该电源适配器发送的针对该异常指示信号的响应信号,并对该响应信号的接收情况进行检测;
该移动终端根据该响应信号的接收情况,确定该电源适配器与该移动终端之间的连接情况。
具体地说,作为移动终端检测#A与电源适配器之间的连接断开的实现方式,在本发明实施例中,在电源适配器接收到异常指示信号后,可以向移动终端#A发送响应信号。
从而,当移动终端检测#A与电源适配器之间的连接未断开时,由于异常指示信号和响应信号持续发送,因此移动终端检测#A和电源适配器均识 别为移动终端检测#A与电源适配器之间的连接未断开。
当移动终端检测#A与电源适配器之间的连接断开时,电源适配器不会接收到异常指示信号,移动终端检测#A也不会接收到响应信号,因此移动终端检测#A和电源适配器均识别为移动终端检测#A与电源适配器之间的连接断开。
可选地,该移动终端根据该响应信号的接收情况,确定该电源适配器与该移动终端之间的连接情况,包括:
该移动终端在检测到发送该异常指示信号之后的规定时间内未接收到该响应信号时,确定该电源适配器与移动终端之间的连接出现断开情况。
具体地说,在本发明实施例中,电源适配器可以在时间段T’内,按规定的预设周期持续发送该异常指示信号的响应信号。这里,时间段T’具体是指时间点T0’至时间点T1’之间的时间段,时间点T0’是电源适配器接收到异常指示信号之后的时间点,时间点T1’是移动终端检测#A与电源适配器之间的连接断开之后的时间点。
即,当移动终端检测#A与电源适配器之间的连接断开之后,电源适配器发送的响应信号的传输中断。
通常情况下,响应信号的发送周期较短(例如,可以在100毫秒以内),该周期远小于用户重新插拔电源适配器与移动终端的电子连接器的完成时间,因此,移动终端检测#A可以在检测到电源适配器连续发送的响应信号中断后,确定移动终端检测#A与电源适配器之间的连接断开。
如果响应信号的发送周期较长(例如,数秒或数分钟),则需要使移动终端检测#A在(与该电源适配器连接之后)首次接收到该电源适配器发送的响应之后进行计时,如果在超过上述发送周期的时长内,未能收到响应信号,则移动终端检测#A可以确定移动终端检测#A与电源适配器之间的连接断开。
需要说明的是,在本发明实施例中,电源适配器可以在每次接收到异常信号时均发送响应信号,也可以在接收到预设数量的周期的异常信号时,一并进行反馈,本发明并未特别限定。
应理解,以上列举的移动终端检测#A与电源适配器之间的连接断开的实现方式仅为示例性说明,本发明并未限定于此,例如,还可以在移动终端的电子接口设置压力传感器、红外传感器或影像传感器等,并通过上述传感 器检测移动终端检测#A与电源适配器之间的连接断开,例如,在移动终端检测的电子连接器中可以设置压力传感器,当电源适配器的电子连接器与移动终端检测的电子连接器连接(例如,嵌合式连接)或断开时,该压力传感器能够检测到连接或断开时的压力变化,并基于该压力变化识别移动终端检测与电源适配器之间的连接或断开。
可选地,该异常指示信号具体用于指示该移动终端的电池电压大于或等于预设电压。
具体地说,作为示例而非限定,在本发明实施例中,该异常指示信号具体用于指示该移动终端的电池电压大于或等于预设电压,从而,电源适配器在接收到该异常指示信号之后,可以认为如果继续输出电压(或者说,电流)则可能导致电池发生危险而禁止输出直流电压。
应理解,以上列举的异常指示信号的具体例仅为示例性说明,本发明并未限定于此,例如,可以根据充电回路出现的异常所对应的具体情况,传输相对应的信号。
方式2
可选地,该第一信号具体是该移动终端在检测到与外部设备连接时发送的连接指示信号,以便于该电源适配器在接收到该连接指示信号后,确定该电源适配器与该移动终端的连接出现断开情况。
具体地说,在本发明实施例中,在移动终端(例如,移动终端的电子接口)中可以配置用于检测是否与外部设备(包括电源适配器)连接的传感器,例如,压力传感器、红外传感器或影像传感器等。
例如,在该电源适配器与该移动终端#A重新连接时,该移动终端#A能够通过上述传感器检测到电子接口与外部设备连接,从而,可以通过电子接口中的通信端口发送连接指示信号,从而,该电源适配器在接收到连接指示信号之后,可以确定在禁止输出直流电压之后发生连接(即,与移动终端#A重新连接),即,禁止输出直流电压之前的连接出现过断开情况。
或者,在该电源适配器与该移动终端#B连接时,该移动终端#B能够通过上述传感器检测到电子接口与外部设备连接,从而,可以通过电子接口中的通信端口发送连接指示信号,从而,该电源适配器在接收到连接指示信号之后,可以确定在禁止输出直流电压之后发生连接(即,与移动终端#B连接),即,禁止输出直流电压之前的连接断开。
应理解,以上列举的电源适配器识别在禁止输出直流电压之前建立的连接(包括充电回路)是否断开的方法仅为示例性说明,本发明并未限定于此,例如,也可以在电源适配器的电子接口中配置用于检测是否与外部设备(包括电源适配器)连接或断开的传感器,例如,压力传感器、红外传感器或影像传感器等,并通过上述传感器来识别连接的断开与否。
从而,该电源适配器在识别出与移动终端#A的连接出现过断开情况后,可以重新允许提供直流电压。
例如,在本发明实施例中,当电源适配器确定与终端设备#A之间的连接出现过断开情况(例如,与终端设备#A重新连接,或与其他终端设备连接)时,可以接通该电源适配器与该外部电源之间的电连接(即,供电回路),从而,能够重新提供交流电压(或者说,交流电流),使该电源适配器重新产生直流电压。
根据本发明实施例的控制充电的方法通过在电源适配器与移动终端之间的连接断开后,允许电源适配器输出直流电压,能够使电源适配器在断开连接后返归正常使用状态,从而改善用户体验。
以上,结合图1和图2详细说明了本发明实施例的控制充电的方法,下面,结合图3和图4详细说明本发明实施例的控制充电的装置。
图3是根据本发明实施例的控制充电的装置300的示意性结构图。该装置300配置于电源适配器,当该电源适配器与移动终端连接时,该电源适配器与移动终端之间形成用于传输直流电流的充电回路,该直流电流是基于该电源适配器根据从外部电源获取的交流电压提供的直流电压形成的,该装置包括:
检测单元310,用于检测该电源适配器在与第一移动终端连接时形成的第一充电回路是否出现异常;
控制单元320,用于在该检测单元210确定该第一充电回路出现异常时,禁止该电源适配器提供直流电压;
该检测单元310还用于检测该电源适配器与第一移动终端之间的连接情况;
该控制单元320还用于在该检测单元检测310的该连接情况为该电源适配器与第一移动终端之间的连接出现断开情况时,允许该电源适配器提供直流电压。
可选地,当该电源适配器与移动终端连接时,该电源适配器与该移动终端之间形成用于传输信号的通信回路,以及
该装置还包括:
接收单元,用于通过该通信回路接收第一信号;
该检测单元具体用于检测该接收单元接收的第一信号的传输情况,其中,该电源适配器与第一移动终端之间的连接情况与该第一信号的传输情况相对应;
用于根据该第一信号的传输情况,确定该电源适配器与第一移动终端之间的连接情况。
可选地,该第一信号具体是该第一移动终端在检测到该第一充电回路发生异常至检测到该电源适配器与该第一移动终端的连接断开期间按预设周期发送的异常指示信号,以及
该检测单元具体用于在确定该接收单元接收到该异常指示信号后,对该异常指示信号的接收情况进行检测,并在检测到该接收单元在预设时间内未接收到该异常指示信号时,确定该电源适配器与第一移动终端之间的连接出现断开情况,其中,该预设时间大于该预设周期。
可选地,该装置还包括:
发送单元,用于在该接收单元接收到该异常指示信号后,通过该通信回路向该第一移动终端发送针对该异常指示信号的响应信号,以便于该第一移动终端根据该响应信号确定该电源适配器与第一移动终端之间的保持连接状态。
可选地,该异常指示信号具体用于指示该移动终端的电池电压大于或等于预设电压。
可选地,该第一信号具体是第二移动终端在检测到与外部设备连接时发送的连接指示信号,以及
该检测单元具体用于在确定该接收单元接收到该连接指示信号后,确定该电源适配器与该第一移动终端的连接出现断开情况。
可选地,当该装置与该外部电源连接时,该电源适配器与该外部电源之间形成的供电回路,以及
该控制单元具体用于在该检测单元确定该第一充电回路出现异常时,断开该供电回路。
根据本发明实施例的控制充电的装置300可对应于本发明实施例的方法100的实施主体(例如,电源适配器或配置在电源适配器中的功能器件),并且,控制充电的装置300中的各单元即模块和上述其他操作和/或功能分别为了实现图1中的方法100的相应流程,为了简洁,在此不再赘述。
根据本发明实施例的控制充电的装置,通过在电源适配器与移动终端之间的充电回路出现异常时,禁止该电源适配器输出直流电压,能够避免因充电回路出现异常而导致危险情况的发生,能够提高使用安全性。并且,通过在电源适配器与移动终端之间的连接断开后,允许电源适配器输出直流电压,能够使电源适配器在断开连接后返归正常使用状态,从而改善用户体验。
图4是根据本发明实施例的控制充电的装置400的示意性结构图。该装置400配置于移动终端,当该移动终端与电源适配器连接时,该移动终端与该电源适配器之间形成用于传输直流电流的充电回路和用于传输信号的通信回路,该直流电流是基于直流电压形成的,该直流电压是该电源适配器基于从外部电源获取的交流电压提供的,该装置400包括:
检测单元410,用于检测该充电回路是否出现异常;
通信单元420,用于在该检测单元检测到该充电回路出现异常时,通过该通信回路向该电源适配器发送异常指示信号,以使该电源适配器根据该异常指示信号,禁止提供直流电压;
通信单元还用于通过该通信回路向该电源适配器发送第一信号,其中,该电源适配器与移动终端之间的连接情况与该第一信号的传输情况相对应,以便于该电源适配器根据该第一信号的传输情况,确定该电源适配器与移动终端之间的连接情况,并在该连接情况为该移动终端与该电源适配器之间的连接出现断开情况时,允许提供直流电压。
可选地,该第一信号具体是该异常指示信号,以及
该检测单元还用于检测该电源适配器与该移动终端的连接情况;
该通信单元具体用于在该检测单元检测到该充电回路发生异常至该检测单元检测到该电源适配器与该移动终端的连接断开期间,按预设周期发送该异常指示信号,以便于该电源适配器在接收到该异常指示信号后,对该异常指示信号的接收情况进行检测,并在检测到预设时间内未接收到该异常指示信号时,确定该电源适配器与移动终端之间的连接出现断开情况,其中,该预设时间大于该预设周期。
可选地,该通信单元还用于通过该通信回路接收该电源适配器发送的针对该异常指示信号的响应信号;
该检测单元具体用于对该响应信号的接收情况进行检测,并根据该响应信号的接收情况,确定该电源适配器与该移动终端之间的连接情况。
可选地,该检测单元具体用于在检测到发送该异常指示信号之后的规定时间内未接收到该响应信号时,确定该电源适配器与移动终端之间的连接出现断开情况。
可选地,该异常指示信号具体用于指示该移动终端的电池电压大于或等于预设电压。
可选地,该第一信号具体是该装置在检测到与外部设备连接时发送的连接指示信号,以便于该电源适配器在接收到该连接指示信号后,确定该电源适配器与该装置的连接出现断开情况。
根据本发明实施例的控制充电的装置400可对应于本发明实施例的方法200的实施主体(例如,移动终端或配置在移动终端中的功能器件),并且,控制充电的装置400中的各单元即模块和上述其他操作和/或功能分别为了实现图2中的方法200的相应流程,为了简洁,在此不再赘述。
根据本发明实施例的控制充电的装置,通过在电源适配器与移动终端之间的充电回路出现异常时,禁止该电源适配器输出直流电压,能够避免因充电回路出现异常而导致危险情况的发生,能够提高使用安全性。并且,通过在电源适配器与移动终端之间的连接断开后,允许电源适配器输出直流电压,能够使电源适配器在断开连接后返归正常使用状态,从而改善用户体验。
以上,结合图1详细说明了本发明实施例的控制充电的方法,下面,结合图5详细说明本发明实施例的电源适配器。
图5是根据本发明实施例的电源适配器500的示意性结构图。当该电源适配器500与移动终端连接时,该电源适配器与移动终端之间形成用于传输直流电流的充电回路,如图5所示,该电源适配器包括:
适配器主体510,用于基于从外部电源获取的交流电压,提供直流电压,并在与第一移动终端连接时,通过该电源适配器与第一移动终端之间形成的第一充电回路,向该第一移动终端传输基于该直流电压形成的直流电流;
处理器520,用于在确定该第一充电回路出现异常时,禁止该适配器主体提供直流电压;
该处理器520还用于检测该电源适配器与第一移动终端之间的连接情况,并在该连接情况为该电源适配器与第一移动终端之间的连接出现断开情况时,允许该适配器主体提供直流电压。
可选地,当该电源适配器与移动终端连接时,该电源适配器与该移动终端之间形成用于传输信号的通信回路,以及
该电源适配器300还包括:
收发器530,用于通过该通信回路传输信号;
该处理器320具体用于控制该收发器530接收第一信号,并根据第一信号的传输情况,确定该电源适配器与第一移动终端之间的连接情况,其中,该电源适配器与第一移动终端之间的连接情况与该第一信号的传输情况相对应。
可选地,该第一信号具体是该第一移动终端在检测到该第一充电回路发生异常至该电源适配器与该第一移动终端的连接断开期间按预设周期发送的异常指示信号,以及
该处理器具体用于在确定该收发器接收到该异常指示信号后,对该异常指示信号的接收情况进行检测,并在检测到该收发器在预设时间内未接收到该异常指示信号时,确定该电源适配器与第一移动终端之间的连接出现断开情况,其中,该预设时间大于该预设周期。
可选地,该处理器还用于控制该收发器向该第一移动终端发送针对该异常指示信号的响应信号,以便于该第一移动终端根据该响应信号确定该电源适配器与第一移动终端之间的保持连接状态。
可选地,该异常指示信号具体用于指示该移动终端的电池电压大于或等于预设电压。
可选地,该第一信号具体是第二移动终端在检测到与外部设备连接时发送的连接指示信号,以及
该处理器具体用于在确定该接收单元接收到该连接指示信号后,确定该电源适配器与该第一移动终端的连接出现断开情况。
可选地,当该电源适配器与该外部电源连接时,该电源适配器与该外部电源之间形成的供电回路,以及
该处理器具体用于在确定该第一充电回路出现异常时,断开该供电回路。
处理器可以实现或者执行本发明方法实施例中的公开的各步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器,解码器等。结合本发明实施例所公开的方法的步骤可以直接体现为硬件处理器执行完成,或者用解码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。
应理解,在本发明实施例中,该处理器可以是中央处理单元(Central Processing Unit,简称为“CPU”),该处理器还可以是其他通用处理器、数字信号处理器(DSP)、专用集成电路(ASIC)、现成可编程门阵列(FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。
存储器可以包括只读存储器和随机存取存储器,并向处理器提供指令和数据。存储器的一部分还可以包括非易失性随机存取存储器。例如,存储器还可以存储设备类型的信息。
在实现过程中,上述方法的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。结合本发明实施例所公开的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器读取存储器中的信息,结合其硬件完成上述方法的步骤。为避免重复,这里不再详细描述。
根据本发明实施例的电源适配器500可对应于本发明实施例的方法的实施主体,并且,电源适配器500中的各单元即模块和上述其他操作和/或功能分别为了实现图1中的方法100的相应流程,为了简洁,在此不再赘述。
根据本发明实施例的电源适配器,通过在电源适配器与移动终端之间的充电回路出现异常时,禁止该电源适配器输出直流电压,能够避免因充电回路出现异常而导致危险情况的发生,能够提高使用安全性。并且,通过在电源适配器与移动终端之间的连接断开后,允许电源适配器输出直流电压,能够使电源适配器在断开连接后返归正常使用状态,从而改善用户体验。
以上,结合图2详细说明了本发明实施例的控制充电的方法,下面,结合图6详细说明本发明实施例的移动终端。
图6是根据本发明实施例的移动终端600的示意性结构图。当该移动终端与电源适配器连接时,该移动终端与该电源适配器之间形成用于传输直流电流的充电回路和用于传输信号的通信回路,其中,该直流电流是基于直流电压形成的,该直流电压是该电源适配器基于从外部电源获取的交流电压提供的,该移动终端600包括:
收发器610,用于通过该通信回路传输信号;
处理器620,用于在确定该充电回路出现异常时,控制该收发器通过该通信回路向该电源适配器发送异常指示信号,以使该电源适配器根据该异常指示信号,禁止提供直流电压;
该处理器用于控制该收发器通过该通信回路向该电源适配器发送第一信号,其中,该电源适配器与移动终端之间的连接情况与该第一信号的传输情况相对应,以便于该电源适配器根据该第一信号的传输情况,确定该电源适配器与移动终端之间的连接情况,并在该连接情况为该移动终端与该电源适配器之间的连接出现断开情况时,允许提供直流电压。
可选地,该第一信号具体是该异常指示信号,以及
该处理器具体用于在检测到该充电回路发生异常至检测到该电源适配器与该移动终端的连接断开期间,控制该收发器按预设周期发送该异常指示信号,以便于该电源适配器在接收到该异常指示信号后,对该异常指示信号的接收情况进行检测,并在检测到预设时间内未接收到该异常指示信号时,确定该电源适配器与移动终端之间的连接出现断开情况,其中,该预设时间大于该预设周期。
可选地,该处理器还用于控制该收发器通过该通信回路接收该电源适配器发送的针对该异常指示信号的响应信号,并对该响应信号的接收情况进行检测;
该处理器具体用于根据该响应信号的接收情况,确定该电源适配器与该移动终端之间的连接情况。
可选地,该处理器具体用于在检测到发送该异常指示信号之后的规定时间内未接收到该响应信号时,确定该电源适配器与移动终端之间的连接出现断开情况。
可选地,该异常指示信号具体用于指示该移动终端的电池电压大于或等于预设电压。
可选地,该第一信号具体是该移动终端在检测到与外部设备连接时发送的连接指示信号,以便于该电源适配器在接收到该连接指示信号后,确定该电源适配器与该移动终端的连接出现断开情况。。
处理器可以实现或者执行本发明方法实施例中的公开的各步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器,解码器等。结合本发明实施例所公开的方法的步骤可以直接体现为硬件处理器执行完成,或者用解码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。
应理解,在本发明实施例中,该处理器可以是中央处理单元(Central Processing Unit,简称为“CPU”),该处理器还可以是其他通用处理器、数字信号处理器(DSP)、专用集成电路(ASIC)、现成可编程门阵列(FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。
存储器可以包括只读存储器和随机存取存储器,并向处理器提供指令和数据。存储器的一部分还可以包括非易失性随机存取存储器。例如,存储器还可以存储设备类型的信息。
在实现过程中,上述方法的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。结合本发明实施例所公开的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器读取存储器中的信息,结合其硬件完成上述方法的步骤。为避免重复,这里不再详细描述。
以手机为例对本发明所适用的移动终端进行介绍。在本发明实施例中,手机可以包括射频电路、存储器、输入单元、无线保真(WiFi,wireless fidelity)模块、显示单元、传感器、音频电路、处理器、投影单元、拍摄单元、电池等部件。
射频电路可用于在收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,给处理器处理;另外,将手机上行的数据发送给基站。通常,射频电路包括但不限于天线、至少一个放大器、收发信机、耦 合器、低噪声放大器、双工器等。此外,射频电路还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(GSM,Global System for Mobile communication)、通用分组无线服务(GPRS,General Packet Radio Service)、码分多址(CDMA,Code Division Multiple Access)、宽带码分多址(WCDMA,Wideband Code Division Multiple Access)、长期演进(LTE,Long Term Evolution)、电子邮件、短消息服务(SMS,Short Messaging Service)等。
其中,存储器可用于存储软件程序以及模块,处理器通过运行存储在存储器的软件程序以及模块,从而执行手机的各种功能应用以及数据处理。存储器可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(如音频数据、电话本等)等。此外,存储器可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
输入单元可用于接收输入的数字或字符信息,以及产生与手机的用户设置以及功能控制有关的键信号。具体地,输入单元可包括触控面板以及其他输入设备。触控面板,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板上或在触控面板附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器,并能接收处理器发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板。除了触控面板,输入单元还可以包括其他输入设备。具体地,其他输入设备可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。
其中,显示单元可用于显示由用户输入的信息或提供给用户的信息以及手机的各种菜单。显示单元可包括显示面板,可选的,可以采用液晶显示单元(LCD,Liquid Crystal Display)、有机发光二极管(OLED,Organic Light-Emitting Diode)等形式来配置显示面板。进一步的,触控面板可覆盖 显示面板,当触控面板检测到在其上或附近的触摸操作后,传送给处理器以确定触摸事件的类型,随后处理器根据触摸事件的类型在显示面板上提供相应的视觉输出。
其中,该人眼能够识别的该视觉输出外显示面板中的位置,可以作为后述“显示区域”。可以将触控面板与显示面板作为两个独立的部件来实现手机的输入和输出功能,也可以将触控面板与显示面板集成而实现手机的输入和输出功能。
另外,手机还可包括至少一种传感器,比如电压传感器,温度传感器,姿态传感器、光传感器、以及其他传感器。
具体地,姿态传感器也可以称为运动传感器,并且,作为该运动传感器的一种,可以列举重力传感器,重力传感器采用弹性敏感元件制成悬臂式位移器,并采用弹性敏感元件制成的储能弹簧来驱动电触点,从而实现将重力变化转换成为电信号的变化。
作为运动传感器的另一种,可以列举加速计传感器,加速计传感器可检测各方向上(一般为三轴)加速度大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等。
在本发明实施例中,可以采用以上列举的运动传感器作为获得后述“姿态参数”元件,但并不限定于此,其他能够获得“姿态参数”的传感器均落入本发明的保护范围内,例如,陀螺仪等,并且,该陀螺仪的工作原理和数据处理过程可以与现有技术相似,这里,为了避免赘述,省略其详细说明。
此外,在本发明实施例中,作为传感器,还可配置气压计、湿度计、温度计和红外线传感器等其他传感器,在此不再赘述。
光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板的亮度,接近传感器可在手机移动到耳边时,关闭显示面板和/或背光。
音频电路、扬声器和传声器可提供用户与手机之间的音频接口。音频电路可将接收到的音频数据转换后的电信号,传输到扬声器,由扬声器转换为声音信号输出;另一方面,传声器将收集的声音信号转换为电信号,由音频电路接收后转换为音频数据,再将音频数据输出处理器处理后,经射频电路以发送给比如另一手机,或者将音频数据输出至存储器以便进一步处理。
WiFi属于短距离无线传输技术,手机通过WiFi模块可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。另外,该模块可以根据需要在不改变发明的本质的范围内而省略。
处理器是手机的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器内的软件程序和/或模块,以及调用存储在存储器内的数据,执行手机的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器可包括一个或多个处理单元;优选的,处理器可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。
可以理解的是,上述调制解调处理器也可以不集成到处理器中。
并且,该处理器可以作为上述处理器的实现元件,执行与处理单元相同或相似的功能。
手机还包括给各个部件供电的电源(比如电池)。
优选的,电源可以通过电源管理系统与处理器逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。尽管未示出,手机还可以包括蓝牙模块等,在此不再赘述。
需要说明的是,手机仅为一种移动终端的举例,本发明并未特别限定,本发明可以应用于手机、平板电脑等电子设备,本发明对此不做限定。
根据本发明实施例的移动终端600可对应于本发明实施例的方法200的实施主体,并且,移动终端600中的各单元即模块和上述其他操作和/或功能分别为了实现图2中的方法200的相应流程,为了简洁,在此不再赘述。
根据本发明实施例的电源适配器,通过在电源适配器与移动终端之间的充电回路出现异常时,禁止该电源适配器输出直流电压,能够避免因充电回路出现异常而导致危险情况的发生,能够提高使用安全性。并且,通过在电源适配器与移动终端之间的连接断开后,允许电源适配器输出直流电压,能够使电源适配器在断开连接后返归正常使用状态,从而改善用户体验。
应理解,在本发明的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。
本领普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合 来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。
所属领的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领的技术人员在本发明揭露的技术范围内,可轻易想 到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。

Claims (39)

  1. 一种控制充电的方法,其特征在于,应用于电源适配器,当所述电源适配器与移动终端连接时,所述电源适配器与移动终端之间形成用于传输直流电流的充电回路,所述方法包括:
    所述电源适配器基于从外部电源获取的交流电压,提供直流电压;
    所述电源适配器在与第一移动终端连接时,通过所述电源适配器与第一移动终端之间形成的第一充电回路,向所述第一移动终端传输基于所述直流电压形成的直流电流;
    所述电源适配器在确定所述第一充电回路出现异常时,禁止提供直流电压;
    所述电源适配器确定所述电源适配器与第一移动终端之间的连接情况,并在所述连接情况为所述电源适配器与第一移动终端之间的连接出现断开情况时,允许提供直流电压。
  2. 根据权利要求1所述的方法,其特征在于,当所述电源适配器与移动终端连接时,所述电源适配器与所述移动终端之间还形成用于传输信号的通信回路,以及
    所述电源适配器确定所述电源适配器与第一移动终端之间的连接情况,包括:
    所述电源适配器检测通过所述通信回路传输的第一信号的传输情况,其中,所述电源适配器与第一移动终端之间的连接情况与所述第一信号的传输情况相对应;
    所述电源适配器根据检测到的所述第一信号的传输情况,确定所述电源适配器与第一移动终端之间的连接情况。
  3. 根据权利要求2所述的方法,其特征在于,所述第一信号具体是所述第一移动终端在检测到所述第一充电回路发生异常至检测到所述第一移动终端与所述电源适配器的连接断开期间,所述第一移动终端按预设周期向所述电源适配器发送的异常指示信号,以及
    所述电源适配器根据所述第一信号的传输情况,确定所述电源适配器与第一移动终端之间的连接情况,包括:
    所述电源适配器在接收到所述异常指示信号后,对所述异常指示信号的接收情况进行检测,并在检测到预设时间内未接收到所述异常指示信号时, 确定所述电源适配器与第一移动终端之间的连接出现断开情况,其中,所述预设时间大于所述预设周期。
  4. 根据权利要求3所述的方法,其特征在于,所述方法还包括:
    所述电源适配器在接收到所述异常指示信号后,通过所述通信回路向所述第一移动终端发送针对所述异常指示信号的响应信号,以便于所述第一移动终端根据所述电源适配器发送的所述响应信号确定所述电源适配器与第一移动终端之间的保持连接状态。
  5. 根据权利要求3或4所述的方法,其特征在于,所述异常指示信号具体用于指示所述移动终端的电池电压大于或等于预设电压。
  6. 根据权利要求2所述的方法,其特征在于,所述第一信号具体是第二移动终端在检测到与外部设备连接时发送的连接指示信号,以及
    所述电源适配器根据所述第一信号的传输情况,确定所述电源适配器与第一移动终端之间的连接情况,包括:
    所述电源适配器在接收到所述连接指示信号后,确定所述电源适配器与所述第一移动终端的连接出现断开情况。
  7. 根据权利要求1至6中任一项所述的方法,其特征在于,当所述电源适配器与所述外部电源连接时,所述电源适配器与所述外部电源之间形成的供电回路,以及
    所述电源适配器在确定所述第一充电回路发生异常时,禁止提供直流电压,包括:
    所述电源适配器在确定所述第一充电回路发生异常时,断开所述供电回路。
  8. 一种控制充电的方法,其特征在于,应用于移动终端,当所述移动终端与电源适配器连接时,所述移动终端与所述电源适配器之间形成用于传输直流电流的充电回路和用于传输信号的通信回路,其中,所述直流电流是基于直流电压形成的,所述直流电压是所述电源适配器基于从外部电源获取的交流电压提供的,所述方法包括:
    所述移动终端在确定所述充电回路出现异常时,通过所述通信回路向所述电源适配器发送异常指示信号,以使所述电源适配器根据所述异常指示信号,禁止提供直流电压;
    所述移动终端通过所述通信回路向所述电源适配器发送第一信号,其 中,所述电源适配器与移动终端之间的连接情况与所述第一信号的传输情况相对应,以便于所述电源适配器根据所述第一信号的传输情况,确定所述电源适配器与移动终端之间的连接情况,并在所述连接情况为所述移动终端与所述电源适配器之间的连接出现断开情况时,允许提供直流电压。
  9. 根据权利要求8所述的方法,其特征在于,所述第一信号具体是所述异常指示信号,以及
    所述移动终端在确定所述充电回路出现异常时,向所述电源适配器发送异常指示信号,包括:
    所述移动终端在检测到所述充电回路发生异常至检测到所述电源适配器与所述移动终端的连接断开期间,按预设周期向所述电源适配器发送所述异常指示信号,以便于所述电源适配器在接收到所述异常指示信号后,对所述异常指示信号的接收情况进行检测,并在检测到预设时间内未接收到所述异常指示信号时,确定所述电源适配器与移动终端之间的连接出现断开情况,其中,所述预设时间大于所述预设周期。
  10. 根据权利要求9所述的方法,其特征在于,所述方法还包括:
    所述移动终端通过所述通信回路接收所述电源适配器发送的针对所述异常指示信号的响应信号,并对所述响应信号的接收情况进行检测;
    所述移动终端根据所述响应信号的接收情况,确定所述电源适配器与所述移动终端之间的连接情况。
  11. 根据权利要求10所述的方法,其特征在于,所述移动终端根据所述响应信号的接收情况,确定所述电源适配器与所述移动终端之间的连接情况,包括:
    所述移动终端在检测到向所述电源适配器发送所述异常指示信号之后的规定时间内未接收到所述电源适配器发送的响应信号时,确定所述电源适配器与所述移动终端之间的连接出现断开情况。
  12. 根据权利要求9至11中任一项所述的方法,其特征在于,所述异常指示信号具体用于指示所述移动终端的电池电压大于或等于预设电压。
  13. 根据权利要求8所述的方法,其特征在于,所述第一信号具体是所述移动终端在检测到与外部设备连接时发送的连接指示信号,以便于所述电源适配器在接收到所述连接指示信号后,确定所述电源适配器与所述移动终端的连接出现断开情况。
  14. 一种控制充电的装置,其特征在于,配置于电源适配器,当所述电源适配器与移动终端连接时,所述电源适配器与移动终端之间形成用于传输直流电流的充电回路,所述直流电流是基于所述电源适配器根据从外部电源获取的交流电压提供的直流电压形成的,所述装置包括:
    检测单元,用于检测所述电源适配器在与第一移动终端连接时形成的第一充电回路是否出现异常;
    控制单元,用于在所述检测单元确定所述第一充电回路出现异常时,禁止所述电源适配器提供直流电压;
    所述检测单元还用于检测所述电源适配器与第一移动终端之间的连接情况;
    所述控制单元还用于在所述检测单元检测的所述连接情况为所述电源适配器与第一移动终端之间的连接出现断开情况时,允许所述电源适配器提供直流电压。
  15. 根据权利要求14所述的装置,其特征在于,当所述电源适配器与移动终端连接时,所述电源适配器与所述移动终端之间形成用于传输信号的通信回路,以及
    所述装置还包括:
    接收单元,用于通过所述通信回路接收第一信号;
    所述检测单元具体用于检测所述接收单元接收的第一信号的传输情况,其中,所述电源适配器与第一移动终端之间的连接情况与所述第一信号的传输情况相对应;
    用于根据检测到的所述第一信号的传输情况,确定所述电源适配器与第一移动终端之间的连接情况。
  16. 根据权利要求15所述的装置,其特征在于,所述第一信号具体是所述第一移动终端在检测到所述第一充电回路发生异常至检测到所述第一移动终端与所述电源适配器的连接断开期间,所述第一移动终端按预设周期向所述电源适配器发送的异常指示信号,以及
    所述检测单元具体用于在确定所述接收单元接收到所述异常指示信号后,对所述异常指示信号的接收情况进行检测,并在检测到所述接收单元在预设时间内未接收到所述异常指示信号时,确定所述电源适配器与第一移动终端之间的连接出现断开情况,其中,所述预设时间大于所述预设周期。
  17. 根据权利要求16所述的装置,其特征在于,所述装置还包括:
    发送单元,用于在所述接收单元接收到所述异常指示信号后,通过所述通信回路向所述第一移动终端发送针对所述异常指示信号的响应信号,以便于所述第一移动终端根据所述发送单元发送的所述响应信号确定所述电源适配器与第一移动终端之间的保持连接状态。
  18. 根据权利要求16或17所述的装置,其特征在于,所述异常指示信号具体用于指示所述移动终端的电池电压大于或等于预设电压。
  19. 根据权利要求15所述的装置,其特征在于,所述第一信号具体是第二移动终端在检测到与外部设备连接时发送的连接指示信号,以及
    所述检测单元具体用于在确定所述接收单元接收到所述连接指示信号后,确定所述电源适配器与所述第一移动终端的连接出现断开情况。
  20. 根据权利要求14至19中任一项所述的装置,其特征在于,当所述装置与所述外部电源连接时,所述电源适配器与所述外部电源之间形成的供电回路,以及
    所述控制单元具体用于在所述检测单元确定所述第一充电回路出现异常时,断开所述供电回路。
  21. 一种控制充电的装置,其特征在于,配置于移动终端,当所述移动终端与电源适配器连接时,所述移动终端与所述电源适配器之间形成用于传输直流电流的充电回路和用于传输信号的通信回路,所述直流电流是基于直流电压形成的,所述直流电压是所述电源适配器基于从外部电源获取的交流电压提供的,所述装置包括:
    检测单元,用于检测所述充电回路是否出现异常;
    通信单元,用于在所述检测单元检测到所述充电回路出现异常时,通过所述通信回路向所述电源适配器发送异常指示信号,以使所述电源适配器根据所述异常指示信号,禁止提供直流电压;
    通信单元还用于通过所述通信回路向所述电源适配器发送第一信号,其中,所述电源适配器与移动终端之间的连接情况与所述第一信号的传输情况相对应,以便于所述电源适配器根据所述第一信号的传输情况,确定所述电源适配器与移动终端之间的连接情况,并在所述连接情况为所述移动终端与所述电源适配器之间的连接出现断开情况时,允许提供直流电压。
  22. 根据权利要求21所述的装置,其特征在于,所述第一信号具体是 所述异常指示信号,以及
    所述检测单元还用于检测所述电源适配器与所述移动终端的连接情况;
    所述通信单元具体用于在所述检测单元检测到所述充电回路发生异常至所述检测单元检测到所述电源适配器与所述移动终端的连接断开期间,按预设周期向所述电源适配器发送所述异常指示信号,以便于所述电源适配器在接收到所述异常指示信号后,对所述异常指示信号的接收情况进行检测,并在检测到预设时间内未接收到所述异常指示信号时,确定所述电源适配器与移动终端之间的连接出现断开情况,其中,所述预设时间大于所述预设周期。
  23. 根据权利要求22所述的装置,其特征在于,所述通信单元还用于通过所述通信回路接收所述电源适配器发送的针对所述异常指示信号的响应信号;
    所述检测单元具体用于对所述响应信号的接收情况进行检测,并根据所述响应信号的接收情况,确定所述电源适配器与所述移动终端之间的连接情况。
  24. 根据权利要求23所述的装置,其特征在于,所述检测单元具体用于在检测到所述通信单元向所述电源适配器发送所述异常指示信号之后的规定时间内未接收到所述电源适配器发送的响应信号时,确定所述电源适配器与所述移动终端之间的连接出现断开情况。
  25. 根据权利要求21至24中任一项所述的装置,其特征在于,所述异常指示信号具体用于指示所述移动终端的电池电压大于或等于预设电压。
  26. 根据权利要求21所述的装置,其特征在于,所述第一信号具体是所述装置在检测到与外部设备连接时发送的连接指示信号,以便于所述电源适配器在接收到所述连接指示信号后,确定所述电源适配器与所述移动终端的连接出现断开情况。
  27. 一种电源适配器,其特征在于,当所述电源适配器与移动终端连接时,所述电源适配器与移动终端之间形成用于传输直流电流的充电回路,所述电源适配器包括:
    适配器主体,用于基于从外部电源获取的交流电压,提供直流电压,并在与第一移动终端连接时,通过所述电源适配器与第一移动终端之间形成的第一充电回路,向所述第一移动终端传输基于所述直流电压形成的直流电 流;
    处理器,用于在确定所述第一充电回路出现异常时,禁止所述适配器主体提供直流电压;
    所述处理器还用于检测所述电源适配器与第一移动终端之间的连接情况,并在所述连接情况为所述电源适配器与第一移动终端之间的连接出现断开情况时,允许所述适配器主体提供直流电压。
  28. 根据权利要求27所述的电源适配器,其特征在于,当所述电源适配器与移动终端连接时,所述电源适配器与所述移动终端之间形成用于传输信号的通信回路,以及
    所述电源适配器还包括:
    收发器,用于通过所述通信回路传输信号;
    所述处理器具体用于控制所述收发器接收第一信号,并根据第一信号的传输情况,确定所述电源适配器与第一移动终端之间的连接情况,其中,所述电源适配器与第一移动终端之间的连接情况与所述第一信号的传输情况相对应。
  29. 根据权利要求28所述的电源适配器,其特征在于,所述第一信号具体是所述第一移动终端在检测到所述第一充电回路发生异常至检测到所述第一移动终端与所述电源适配器的连接断开期间,所述第一移动终端按预设周期向所述电源适配器发送的异常指示信号,以及
    所述处理器具体用于在确定所述收发器接收到所述异常指示信号后,对所述异常指示信号的接收情况进行检测,并在检测到所述收发器在预设时间内未接收到所述异常指示信号时,确定所述电源适配器与第一移动终端之间的连接出现断开情况,其中,所述预设时间大于所述预设周期。
  30. 根据权利要求29所述的电源适配器,其特征在于,所述处理器还用于控制所述收发器向所述第一移动终端发送针对所述异常指示信号的响应信号,以便于所述第一移动终端根据所述收发器发送的所述响应信号确定所述电源适配器与第一移动终端之间的保持连接状态。
  31. 根据权利要求29或30所述的电源适配器,其特征在于,所述异常指示信号具体用于指示所述移动终端的电池电压大于或等于预设电压。
  32. 根据权利要求28所述的电源适配器,其特征在于,所述第一信号具体是第二移动终端在检测到与外部设备连接时发送的连接指示信号,以及
    所述处理器具体用于在确定所述接收单元接收到所述连接指示信号后,确定所述电源适配器与所述第一移动终端的连接出现断开情况。
  33. 根据权利要求27至32中任一项所述的电源适配器,其特征在于,当所述电源适配器与所述外部电源连接时,所述电源适配器与所述外部电源之间形成的供电回路,以及
    所述处理器具体用于在确定所述第一充电回路出现异常时,断开所述供电回路。
  34. 一种移动终端,其特征在于,当所述移动终端与电源适配器连接时,所述移动终端与所述电源适配器之间形成用于传输直流电流的充电回路和用于传输信号的通信回路,其中,所述直流电流是基于直流电压形成的,所述直流电压是所述电源适配器基于从外部电源获取的交流电压提供的,所述移动终端包括:
    收发器,用于通过所述通信回路传输信号;
    处理器,用于在确定所述充电回路出现异常时,控制所述收发器通过所述通信回路向所述电源适配器发送异常指示信号,以使所述电源适配器根据所述异常指示信号,禁止提供直流电压;
    所述处理器用于控制所述收发器通过所述通信回路向所述电源适配器发送第一信号,其中,所述电源适配器与移动终端之间的连接情况与所述第一信号的传输情况相对应,以便于所述电源适配器根据所述第一信号的传输情况,确定所述电源适配器与移动终端之间的连接情况,并在所述连接情况为所述移动终端与所述电源适配器之间的连接出现断开情况时,允许提供直流电压。
  35. 根据权利要求34所述的移动终端,其特征在于,所述第一信号具体是所述异常指示信号,以及
    所述处理器具体用于在检测到所述充电回路发生异常至检测到所述电源适配器与所述移动终端的连接断开期间,控制所述收发器按预设周期向所述电源适配器发送所述异常指示信号,以便于所述电源适配器在接收到所述异常指示信号后,对所述异常指示信号的接收情况进行检测,并在检测到预设时间内未接收到所述异常指示信号时,确定所述电源适配器与移动终端之间的连接出现断开情况,其中,所述预设时间大于所述预设周期。
  36. 根据权利要求35所述的移动终端,其特征在于,所述处理器还用 于控制所述收发器通过所述通信回路接收所述电源适配器发送的针对所述异常指示信号的响应信号,并对所述响应信号的接收情况进行检测;
    所述处理器具体用于根据所述响应信号的接收情况,确定所述电源适配器与所述移动终端之间的连接情况。
  37. 根据权利要求36所述的移动终端,其特征在于,所述处理器具体用于在检测到所述收发器向所述电源适配器发送所述异常指示信号之后的规定时间内未接收到所述电源适配器发送的响应信号时,确定所述电源适配器与移动终端之间的连接出现断开情况。
  38. 根据权利要求35至37中任一项所述的移动终端,其特征在于,所述异常指示信号具体用于指示所述移动终端的电池电压大于或等于预设电压。
  39. 根据权利要求34所述的移动终端,其特征在于,所述第一信号具体是所述移动终端在检测到与外部设备连接时发送的连接指示信号,以便于所述电源适配器在接收到所述连接指示信号后,确定所述电源适配器与所述移动终端的连接出现断开情况。
PCT/CN2015/097603 2015-12-16 2015-12-16 控制充电的方法、装置、电源适配器和移动终端 WO2017101047A1 (zh)

Priority Applications (5)

Application Number Priority Date Filing Date Title
PCT/CN2015/097603 WO2017101047A1 (zh) 2015-12-16 2015-12-16 控制充电的方法、装置、电源适配器和移动终端
CN201580033772.8A CN106471697A (zh) 2015-12-16 2015-12-16 控制充电的方法、装置、电源适配器和移动终端
EP15897377.6A EP3206279B1 (en) 2015-12-16 2015-12-16 Charging control method and device, power adapter, and mobile terminal
TW105118557A TWI626814B (zh) 2015-12-16 2016-06-14 控制充電的方法、裝置、電源轉接器和移動終端
US15/453,099 US20170179741A1 (en) 2015-12-16 2017-03-08 Charging Control Method and Apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/097603 WO2017101047A1 (zh) 2015-12-16 2015-12-16 控制充电的方法、装置、电源适配器和移动终端

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/453,099 Continuation US20170179741A1 (en) 2015-12-16 2017-03-08 Charging Control Method and Apparatus

Publications (1)

Publication Number Publication Date
WO2017101047A1 true WO2017101047A1 (zh) 2017-06-22

Family

ID=58229242

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/097603 WO2017101047A1 (zh) 2015-12-16 2015-12-16 控制充电的方法、装置、电源适配器和移动终端

Country Status (5)

Country Link
US (1) US20170179741A1 (zh)
EP (1) EP3206279B1 (zh)
CN (1) CN106471697A (zh)
TW (1) TWI626814B (zh)
WO (1) WO2017101047A1 (zh)

Families Citing this family (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10305312B2 (en) * 2016-11-08 2019-05-28 Lenovo (Singapore) Pte. Ltd. Supplemental power system for battery powered device
US20180267587A1 (en) * 2017-03-20 2018-09-20 Google Inc. Comparing electrical quantity output by power adapter to electrical quantity input by computing device
WO2018202610A1 (en) 2017-04-30 2018-11-08 Morten Revill Device for mobile phone, tablet and the like
CN107547755B (zh) * 2017-08-29 2020-08-25 托普朗宁(北京)教育科技有限公司 Usb接口保护方法、移动终端及计算机可读存储介质
CN108132401A (zh) * 2017-12-28 2018-06-08 广东欧珀移动通信有限公司 充电异常的检测方法、装置、存储介质及移动终端
WO2019191336A1 (en) * 2018-03-27 2019-10-03 Auspion, Inc. Situation aware wireless power transmission
CN109004718B (zh) * 2018-08-27 2021-11-19 上海智浦欣微电子有限公司 移动电源充电控制方法
JP7086169B2 (ja) * 2018-09-30 2022-06-17 オッポ広東移動通信有限公司 充電装置のテストシステム及び方法
US11368032B2 (en) 2018-09-30 2022-06-21 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Test system and test method for charging device
EP4043892A1 (en) * 2018-09-30 2022-08-17 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method and apparatus for testing function of adaptor, testing device, and storage medium
KR102332726B1 (ko) * 2018-09-30 2021-12-02 광동 오포 모바일 텔레커뮤니케이션즈 코포레이션 리미티드 어댑터의 테스트 방법, 및 장치
JP7191083B2 (ja) * 2018-09-30 2022-12-16 オッポ広東移動通信有限公司 充電装置のテストボード、テストシステム及びテスト方法
CN109888882B (zh) * 2019-03-27 2022-01-25 维沃移动通信有限公司 一种通信方法、终端设备及电源适配器
TWM609409U (zh) * 2020-03-27 2021-03-21 威鋒電子股份有限公司 電力管理裝置
CN112260257A (zh) 2020-03-27 2021-01-22 威锋电子股份有限公司 电力管理装置与方法
CN111641741B (zh) * 2020-05-18 2021-11-02 维沃移动通信有限公司 充电设备
CN115117946A (zh) * 2021-03-19 2022-09-27 北京小米移动软件有限公司 充电控制方法、充电控制装置、电子设备及存储介质
TWI815233B (zh) * 2021-04-28 2023-09-11 仁寶電腦工業股份有限公司 電源管理裝置以及管理方法
US20220407332A1 (en) * 2021-06-21 2022-12-22 Lenovo (United States) Inc. Charging control method of a battery pack for portable electronic devices
TWI804989B (zh) * 2021-09-16 2023-06-11 和碩聯合科技股份有限公司 測試治具及其操作方法
US11909126B2 (en) * 2021-12-17 2024-02-20 The Boeing Company Optical system for enhanced wide scan capability of array antennas

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102801185A (zh) * 2011-05-26 2012-11-28 韩竞科 一种电池控制电路
CN104300651A (zh) * 2014-11-06 2015-01-21 国家电网公司 一种非接触式充电装置安全防护系统及方法
US20150028809A1 (en) * 2012-03-08 2015-01-29 Panasonic Corporation Charging cable
CN104393627A (zh) * 2014-08-29 2015-03-04 展讯通信(上海)有限公司 Usb充电器、移动终端和充电控制方法
CN104393628A (zh) * 2014-08-29 2015-03-04 展讯通信(上海)有限公司 Usb充电器、移动终端和充电控制方法
JP2015173568A (ja) * 2014-03-12 2015-10-01 日立マクセル株式会社 電池保護回路および電池パック
CN104993565A (zh) * 2015-08-05 2015-10-21 青岛海信移动通信技术股份有限公司 可直充电源适配器

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6000042A (en) * 1997-08-25 1999-12-07 3Com Corporation Fault detection on a dual supply system for a universal serial bus system
US6836101B2 (en) * 2002-12-05 2004-12-28 Comarco Wireless Technologies, Inc. Tip having active circuitry
CN100454188C (zh) * 2005-07-05 2009-01-21 宏达国际电子股份有限公司 一种可携式电子装置的连接座
US20080074084A1 (en) * 2006-09-26 2008-03-27 Motorola, Inc. Electronic device and method for controlling charging current
DE102008027428B4 (de) * 2008-06-09 2021-08-12 Texas Instruments Deutschland Gmbh Integrierte Batterieladegerät-Schutzschaltung
CN101847859B (zh) * 2009-03-25 2013-08-07 深圳富泰宏精密工业有限公司 接口设备及使用该接口设备的电子装置
CN102487204A (zh) * 2010-12-03 2012-06-06 深圳富泰宏精密工业有限公司 充电装置
JP2012191744A (ja) * 2011-03-10 2012-10-04 Semiconductor Components Industries Llc 携帯電子機器用の充電器
US9569390B2 (en) * 2012-04-20 2017-02-14 Combined Conditional Access Development And Support, Llc Protocol for communication
US20140312691A1 (en) * 2013-03-15 2014-10-23 Cooper Technologies Company Smart power strip with automatic device connection detection
CN104350649B (zh) * 2013-04-22 2019-03-22 联发科技股份有限公司 经由特定通信接口来将电子装置与适配器通信以调整适配器操作行为的方法、电子装置及相应适配器
CN104112883B (zh) * 2013-04-22 2016-09-07 南京德朔实业有限公司 电池包的冷却充电装置及方法
US10056766B2 (en) * 2014-01-07 2018-08-21 Limitless Innovations, Inc. System for charging multiple devices
ES2717477T3 (es) * 2014-01-28 2019-06-21 Guangdong Oppo Mobile Telecommunications Corp Ltd Adaptador de corriente, terminal y método para gestionar anomalías de impedancia en bucle de carga
KR20150098381A (ko) * 2014-02-20 2015-08-28 삼성전자주식회사 전자 장치의 전원 제어방법 및 그 전자 장치

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102801185A (zh) * 2011-05-26 2012-11-28 韩竞科 一种电池控制电路
US20150028809A1 (en) * 2012-03-08 2015-01-29 Panasonic Corporation Charging cable
JP2015173568A (ja) * 2014-03-12 2015-10-01 日立マクセル株式会社 電池保護回路および電池パック
CN104393627A (zh) * 2014-08-29 2015-03-04 展讯通信(上海)有限公司 Usb充电器、移动终端和充电控制方法
CN104393628A (zh) * 2014-08-29 2015-03-04 展讯通信(上海)有限公司 Usb充电器、移动终端和充电控制方法
CN104300651A (zh) * 2014-11-06 2015-01-21 国家电网公司 一种非接触式充电装置安全防护系统及方法
CN104993565A (zh) * 2015-08-05 2015-10-21 青岛海信移动通信技术股份有限公司 可直充电源适配器

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3206279A4 *

Also Published As

Publication number Publication date
EP3206279A1 (en) 2017-08-16
TW201724690A (zh) 2017-07-01
EP3206279B1 (en) 2020-11-11
CN106471697A (zh) 2017-03-01
US20170179741A1 (en) 2017-06-22
EP3206279A4 (en) 2018-03-07
TWI626814B (zh) 2018-06-11

Similar Documents

Publication Publication Date Title
WO2017101047A1 (zh) 控制充电的方法、装置、电源适配器和移动终端
EP3591988A1 (en) Method for controlling earphone switching, earphone, and earphone system
EP3002933B1 (en) User terminal light control method and corresponding apparatus
WO2018000290A1 (zh) 管理蓝牙连接的方法、蓝牙主设备和装置
US9705309B2 (en) Terminal protection method, apparatus, and electronic device
EP3930138B1 (en) Charging control circuit, terminal device and control method
CN106101776B (zh) 音量调节的方法、智能设备及音箱
EP3570404B1 (en) Power supply control method and apparatus, storage medium, and electronic device
US9854621B2 (en) Wireless connection switching method, wireless terminal, and system thereof
WO2017049552A1 (zh) 终端设备和控制充电的方法
CN108834013B (zh) 一种可穿戴设备电量均衡方法及相关产品
CN108882084B (zh) 一种可穿戴设备电量均衡方法及相关产品
WO2018039881A1 (zh) 充电保护方法、终端及充电器
CN108448177B (zh) 一种充电方法及终端
WO2019129108A1 (zh) 移动终端及otg控制配置方法、及存储介质
KR102520533B1 (ko) 자원 풀을 전환하는 방법, 장치, 이동 단말, 네트워크 측 장치 및 매체
CN111432387A (zh) 多对多转接模块、多机无线通信系统及其通信方法
CN108777627B (zh) 一种供电方法和装置
CN107769324B (zh) 一种充电方法、充电器、移动终端及服务器
CN113922522A (zh) 无线充电管理方法、系统、电子设备及存储介质
CN112189292B (zh) 一种充电保护方法及装置
CN111132275A (zh) 建立数据连接的方法、装置、存储介质及电子设备
CN111371154B (zh) 一种充电结构、充电方法及终端
WO2017049551A1 (zh) 终端设备和控制充电的方法
CN111984107B (zh) 一种终端设备供电异常处理方法和装置

Legal Events

Date Code Title Description
REEP Request for entry into the european phase

Ref document number: 2015897377

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2015897377

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: DE