WO2018090174A1 - 一种充电方法及相关设备 - Google Patents

一种充电方法及相关设备 Download PDF

Info

Publication number
WO2018090174A1
WO2018090174A1 PCT/CN2016/105856 CN2016105856W WO2018090174A1 WO 2018090174 A1 WO2018090174 A1 WO 2018090174A1 CN 2016105856 W CN2016105856 W CN 2016105856W WO 2018090174 A1 WO2018090174 A1 WO 2018090174A1
Authority
WO
WIPO (PCT)
Prior art keywords
charging
user terminal
current
control command
protection device
Prior art date
Application number
PCT/CN2016/105856
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/CN2016/105856 priority Critical patent/WO2018090174A1/zh
Priority to US16/095,848 priority patent/US10630091B2/en
Priority to CN202110072611.7A priority patent/CN112803539B/zh
Priority to CN201680080947.5A priority patent/CN108604805B/zh
Priority to JP2018552007A priority patent/JP6685429B2/ja
Publication of WO2018090174A1 publication Critical patent/WO2018090174A1/zh
Priority to US16/828,508 priority patent/US11128154B2/en
Priority to US17/458,904 priority patent/US11658494B2/en

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • 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/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/50Testing of electric apparatus, lines, cables or components for short-circuits, continuity, leakage current or incorrect line connections
    • G01R31/52Testing for short-circuits, leakage current or ground faults
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02HEMERGENCY PROTECTIVE CIRCUIT ARRANGEMENTS
    • H02H3/00Emergency protective circuit arrangements for automatic disconnection directly responsive to an undesired change from normal electric working condition with or without subsequent reconnection ; integrated protection
    • H02H3/26Emergency protective circuit arrangements for automatic disconnection directly responsive to an undesired change from normal electric working condition with or without subsequent reconnection ; integrated protection responsive to difference between voltages or between currents; responsive to phase angle between voltages or between currents
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
    • H02J7/00302Overcharge protection
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • 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
    • 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/0047Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with monitoring or indicating devices or 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
    • H02J7/007188Regulation of charging or discharging current or voltage the charge cycle being controlled or terminated in response to non-electric parameters
    • H02J7/007192Regulation of charging or discharging current or voltage the charge cycle being controlled or terminated in response to non-electric parameters in response to temperature
    • 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/02Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries for charging batteries from ac mains by converters
    • H02J7/04Regulation of charging 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/00032Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by data exchange
    • H02J7/00034Charger exchanging data with an electronic device, i.e. telephone, whose internal battery is under charge
    • 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 electronic technologies, and in particular, to a charging method and related equipment.
  • USB universal serial bus
  • the protection circuit is designed to protect against overvoltage or overcurrent in the user terminal, but if a short circuit occurs at the charging interface, part of the current is transmitted to the protection circuit inside the user terminal. Short-circuit into the ground through the charging interface. If the current detected by the protection circuit does not exceed the preset current threshold, the protection circuit considers that the charging is normal, and the user terminal will continue to be in the charging state, which will cause the charging interface to pass the current. Large, resulting in burnout, reducing the charging security of the user terminal.
  • the embodiment of the invention provides a charging method and related equipment.
  • the user terminal monitors whether there is leakage current in the current charging process, and passes the charging protection device in time in the presence of leakage current. Disconnect the power cord to protect the user terminal.
  • an embodiment of the present invention provides a charging protection device, where the charging protection device is connected to a charging cable, wherein the charging cable includes a power line and a data line;
  • the charging protection device comprises a micro control unit MCU, a current detecting circuit, a gating circuit and an I/O interface;
  • the current detecting circuit and the gating circuit are disposed on the power line; if the gating circuit is in a path state, the power line is not disconnected from the charging connection, and if the gating circuit is in an open state, The power line is disconnected from the charging connection; the I/O interface is connected to the data line, and the MCU is connected Sending data through the I/O interface;
  • the current detecting circuit detects an external charging current value flowing through the power line; the current detecting circuit transmits the external charging current value to the MCU; the MCU passes the external through the I/O interface Transmitting a current value to the user terminal, so that the user terminal calculates a current difference value between the external charging current value and an internal charging current value detected by the user terminal, and determining whether to generate a circuit according to the current difference value Controlling the command; the MCU receives the circuit control command sent by the user terminal, and controls the gating circuit to be in a channel state or in an open state according to the circuit control command.
  • the user terminal monitors whether there is leakage current during the current charging process, and disconnects the power line through the charging protection device in the presence of leakage current.
  • the charging connection is to achieve protection of the user terminal.
  • the charging protection device further includes a temperature detecting circuit
  • the temperature detecting circuit detects a temperature value of the charging cable, and transmits a temperature value of the charging cable to the MCU; the MCU uses the I/O interface to set a temperature value of the charging cable Transmitting to the user terminal, so that the user terminal determines whether to generate the circuit control command according to a temperature value of the charging cable;
  • the MCU receives the circuit control command sent by the user terminal, and controls the gating circuit to be in the path state or in the disconnection state according to the circuit control command.
  • the charging protection device is disposed at a position close to a USB interface connected to a charging interface of the user terminal. This enables the temperature detection circuit to more accurately detect the temperature at the charging interface of the user terminal.
  • the charging protection device further includes a voltage detecting circuit, where the voltage detecting circuit is disposed on the power line ;
  • the voltage detecting circuit detects an external charging voltage value of the power line and transmits the external charging voltage value to the MCU; the MCU transmits the external charging voltage value to the device through the I/O interface Describe a user terminal, so that the user terminal determines whether to generate the circuit control command according to the external charging voltage value;
  • the controlling the selection according to the circuit control command The pass circuit is in a path state or is in an open state, including:
  • the MCU controls the gate circuit to be in the path state
  • the MCU controls the gating circuit to be in the disconnected state.
  • the charging The protection device further includes a prompting circuit;
  • the charging protection device further includes a buzzer, an indicator light, and/or a vibrator, the prompting circuit is configured to control whether the buzzer rings, control whether the indicator light is blinking, and / or controlling whether the vibrator vibrates;
  • the MCU performs an early warning operation by using the prompting circuit according to the first early warning prompt.
  • the first early warning prompt carries the first time interval of the first reminding mode and the second time interval of the second reminding mode, so that the MCU passes the prompt according to the first early warning prompt
  • the circuit controls the buzzer to ring and control the blinking of the indicator light, in particular, the operation corresponding to each reminder mode is performed by the prompting circuit according to the time interval of each reminding manner.
  • the prompting circuit is configured to control whether the buzzer rings, control whether the indicator light blinks, and/or control whether the vibrator vibrates.
  • the charging protection device may include one or more of a buzzer, an indicator light, and a vibrator. It can be understood that, if the buzzer is included, the first warning prompt may include a reminder mode for the buzzer to ring; if the indicator light is included, the first warning prompt may include the indicator blinking The reminder mode; if the vibrator is included, the first warning prompt may include a reminder mode of the vibrator vibration.
  • the first warning prompt may include multiple reminding manners
  • one or more reminding manners may be selected for the reminding, which is not limited by the embodiment of the present invention. In this way, the user is reminded by the above reminding manner, which enables the user to know the current charging status in time.
  • the charging protection device further includes an interface state detecting circuit, the interface state detecting circuit Parallel to the gating circuit;
  • the gating circuit In a case where the gating circuit is in the disconnected state, if the interface state detecting circuit detects that the connection with the power supply device is disconnected or the connection with the charging interface of the user terminal is disconnected, The interface state detecting circuit notifies that the connection of the MCU interface has been disconnected, and the MCU controls the gate circuit to be in the path state.
  • the interface state detecting circuit may include a current limiting resistor and a micro current detecting circuit. Since the interface state detecting circuit and the gating circuit are connected in parallel, the interface state detecting circuit is equivalent to another power line. The path, but by setting the resistance value of the current limiting resistor, the current value of the path can be realized to be mA or less, and can be detected by the micro current detecting circuit. Thus, once the gating circuit is in the open state, the interface state detecting circuit notifies that the connection between the MCU and the charging interface has been disconnected, so that the MCU control gating circuit returns to the path state, so that the charging protection device can connect to the next charging connection. Protect.
  • an embodiment of the present invention provides a charging data line, where the charging data line includes the charging protection device provided by the first aspect.
  • the charging data line of the embodiment of the present invention can receive a circuit control command generated by the user terminal by comparing the internal charging current value and the external charging current value, thereby controlling whether the power line is disconnected from the charging connection, so as to achieve protection of the user terminal.
  • the charge protection device is disposed on an interface of the charging data line adjacent to the user terminal.
  • a charger for an embodiment of the present invention, and the charger includes the charging protection device provided by the first aspect.
  • the charger of the embodiment of the present invention can receive a circuit control command generated by the user terminal by comparing the internal charging current value and the external charging current value, thereby controlling whether the power line disconnects the charging connection, so as to implement protection of the user terminal.
  • a fourth aspect of the present invention provides a charging protection device, where the charging protection device is connected to a charging cable, wherein the charging cable includes a power cable and a data cable; and the charging protection device includes detection Unit, sending unit, receiving unit and control unit:
  • the control unit is configured to detect an external charging current value of the power line by the detecting unit;
  • the control unit is further configured to send, by using the sending unit, the external charging current value to the user terminal, so that the user terminal calculates the external charging current value and the current of the internal charging current value detected by the user terminal. a difference, determining whether to generate a circuit control command according to the current difference value;
  • the control unit is further configured to receive, by the receiving unit, the circuit control command sent by the user terminal;
  • the control unit is further configured to control whether the power line disconnects the charging connection according to the circuit control command.
  • the real-time monitoring of the charging current value enables the user terminal to monitor whether there is leakage current during the current charging process, and disconnect the power line through the charging protection device in the presence of leakage current.
  • the charging connection is to achieve protection of the user terminal.
  • control unit is further configured to detect a temperature value of the charging cable by using the detecting unit, and send the charging line to the user terminal
  • the temperature value of the cable is such that the user terminal determines whether to generate a circuit control command based on the temperature value of the charging cable. Therefore, by detecting the temperature, the charging interface can be more protected.
  • control unit is further configured to detect, by using the detecting unit, an external charging voltage value of the power line, And transmitting the external charging voltage value to the user terminal, so that the user terminal determines whether to generate a circuit control command according to the external charging voltage value.
  • the user terminal can be better protected by the detection of the external charging voltage.
  • the controlling according to the circuit control command, In terms of whether the power cord is disconnected from the charging connection, the control unit is specifically configured to:
  • the power line is controlled to maintain a charging connection; if the circuit control command is to disconnect charging, the power line is controlled to disconnect the charging connection. It can be understood that, if the circuit control command sent by the user terminal is not received, the charging data line maintains a state of continuing charging, that is, the power line maintains a charging connection.
  • control unit is further configured to: if the circuit control command is configured with a first early warning prompt, according to the first Early warning prompts, perform early warning operations.
  • the first warning prompt is configured with at least one reminding manner and a time interval for performing each reminding manner;
  • the control unit is specifically configured to: if the circuit control command is configured with the first early warning prompt, perform the operation corresponding to each reminding manner according to the time interval of each of the reminding manners.
  • the first warning prompt may include multiple reminding manners
  • one or more reminding manners may be selected for the reminding, which is not limited by the embodiment of the present invention.
  • the user is reminded by the above reminding manner, which enables the user to know the current charging status in time.
  • control unit is further configured to: if the power line disconnects the charging connection, if the connection with the power supply device is disconnected or the charging interface of the user terminal is detected The connection is disconnected, and the power line is controlled to establish a charging connection.
  • a fifth aspect of the present invention provides a charging data line, where the charging data line includes the charging protection device provided by the first aspect.
  • the charging data line of the embodiment of the present invention can receive a circuit control command generated by the user terminal by comparing the internal charging current value and the external charging current value, thereby controlling whether the power line is disconnected from the charging connection, so as to achieve protection of the user terminal.
  • the charge protection device is disposed on an interface of the charging data line adjacent to the user terminal.
  • a charger is provided for the embodiment of the present invention, and the charger includes the charging protection device provided by the first aspect.
  • the charger of the embodiment of the present invention can receive a circuit control command generated by the user terminal by comparing the internal charging current value and the external charging current value, thereby controlling whether the power line disconnects the charging connection, so as to implement protection of the user terminal.
  • a seventh aspect of the present invention provides a user terminal, including a detecting unit, a receiving unit, a processing unit, and a sending unit:
  • the processing unit is configured to detect an internal charging current value by using the detecting unit;
  • the processing unit is further configured to receive, by the receiving unit, an external charging current value sent by the charging protection device;
  • the processing unit is further configured to calculate a current difference between the external charging current value and the internal charging current value
  • the processing unit is further configured to determine whether to generate a circuit control command according to the current difference value
  • the processing unit is further configured to send the circuit control command to the charging protection device by using the sending unit if a circuit control command is generated.
  • the real-time monitoring of the charging current value enables the user terminal to monitor whether there is leakage current during the current charging process, and disconnect the power line through the charging protection device in the presence of leakage current.
  • the charging connection is to achieve protection of the user terminal.
  • the processing unit is specifically configured to: determine, according to the current difference, whether to generate a circuit control command, the processing unit is specifically configured to:
  • the user terminal further includes a first output unit:
  • the processing unit is further configured to: when the current difference is greater than the first current threshold and less than the second current threshold, output a first popup prompt in the display interface by using the first output unit,
  • the first popup prompt is a prompt message for prompting that the current difference exists during the current charging process
  • the processing unit is further configured to: if the current difference is greater than the second current threshold and less than the third current threshold, output a second popup prompt in the display interface by using the first output unit,
  • the second popup prompt is a prompt message for prompting that the current difference value and the disconnected charging are present during the current charging process.
  • the pop-up window prompts the user to promptly check whether the charging interface of the user terminal has problems such as liquid inlet or corrosion.
  • the processing unit is further configured to receive by the receiving unit The temperature of the charging cable sent by the charging protection device; the processing unit is further configured to determine whether to generate a circuit control command according to the temperature value of the charging cable. By adding a temperature detection mechanism, the charging interface can be more protected.
  • the processing unit is specifically configured to determine whether to generate a circuit control command according to the temperature value of the charging cable to:
  • Determining the generated circuit control if a temperature value of the charging cable is greater than a second temperature threshold The command is to disconnect the charge.
  • the user terminal does not generate a circuit control command if the temperature value of the charging cable is less than the first temperature threshold.
  • the user terminal further includes a second output unit:
  • the processing unit is further configured to: when the temperature value of the charging cable is greater than the first temperature threshold and less than the second temperature threshold, outputting, by using the second output unit, a third popup window in the display interface, where The third popup window prompts a prompt message for prompting that the temperature value of the charging cable is too high during the current charging process;
  • the processing unit is further configured to: when the temperature value of the charging cable is greater than the second temperature threshold and less than the third temperature threshold, output a fourth popup prompt in the display interface by using the second output unit, The fourth popup window is prompted to include a prompt message that the temperature value of the charging cable is too high and has been disconnected during the current charging process.
  • the pop-up window prompts the user to promptly check whether the charging interface of the user terminal has problems such as liquid inlet or corrosion.
  • the processing unit is further configured to receive, by the receiving unit, an external charging voltage value sent by the charging protection device;
  • the processing unit is further configured to determine whether to generate a circuit control command according to the external charging voltage value.
  • the user terminal can be better protected by the detection of the external charging voltage.
  • the processing unit is specifically configured to: determine, according to the external charging voltage value, whether to generate a circuit control command, the processing unit is specifically configured to:
  • the user terminal further includes a third output unit:
  • the processing unit is further configured to: if the external charging voltage value is greater than the first voltage threshold and less than the second voltage threshold, output a fifth popup prompt in the display interface by using the third output unit, where the The five pop-up window prompt is used to prompt the prompt message that the external charging voltage value is too high during the current charging process;
  • the processing unit is further configured to: when the external charging voltage value is greater than the second voltage threshold and less than the third voltage threshold, outputting a sixth popup prompt in the display interface by using the third output unit, The sixth popup window is prompted to include a prompt message that the external charging voltage value is too high and the charging has been disconnected during the current charging process.
  • the pop-up window prompts the user to promptly check whether the charging interface of the user terminal has problems such as liquid inlet or corrosion.
  • the user terminal further includes a fourth output unit, wherein the processing unit is further configured to output, by using the fourth output unit, the internal charging current value, the external charging current value, and the External charging voltage value.
  • the processing unit may output at least one of an internal charging current value, the external charging current value, and the external charging voltage value.
  • the circuit control command is configured with a first early warning prompt, where the first early warning prompt is used to instruct the charging protection device to perform an early warning operation according to the first early warning prompt.
  • the first warning prompt is configured with at least one reminding manner and a time interval for performing each reminding manner.
  • the processing The unit is further configured to: if the circuit control command is generated, perform an early warning operation according to the preset second warning prompt, where the second early warning prompt includes at least one reminding manner.
  • the reminding manner may include one or more of a sound reminding method, a flash reminding method, and a vibration reminding manner, and the reminding manner in the second warning prompt is not limited to the types. Since the circuit control command can be a command to keep charging or disconnecting charging, the user terminal can set different reminding manners for different commands, so that the user can be reminded by the above reminding manner, so that the user can know the current charging in time. situation.
  • An eighth aspect of the present invention provides a charging method, where the method is applied to a charging protection device, and the charging cable in the charging protection device includes a power cable and a data cable, and includes:
  • the charging protection device detects an external charging current value of the power line
  • the charging protection device transmits the external charging current value to the user terminal, so that the user terminal calculates a current difference between the external charging current value and an internal charging current value detected by the user terminal, according to the current The difference determines whether a circuit control command is generated;
  • the charging protection device receives the circuit control command sent by the user terminal
  • the charging protection device controls whether the power line disconnects the charging connection according to the circuit control command.
  • the real-time monitoring of the charging current value enables the user terminal to monitor whether there is leakage current during the current charging process, and disconnect the power line through the charging protection device in the presence of leakage current.
  • the charging connection is to achieve protection of the user terminal.
  • the method before the charging protection device receives the circuit control command sent by the user terminal, the method further includes:
  • the charging protection device detects a temperature value of the charging cable, and sends a temperature value of the charging cable to the user terminal, so that the user terminal determines whether to generate a circuit according to a temperature value of the charging cable. control commands. Therefore, by detecting the temperature, the charging interface can be more protected.
  • the method before the charging protection device receives the circuit control command sent by the user terminal, the method further includes:
  • the charging protection device detects an external charging voltage value of the power line and transmits the external charging voltage value to the user terminal to cause the user terminal to determine whether to generate a circuit control command according to the external charging voltage value.
  • the user terminal can be better protected by the detection of the external charging voltage.
  • the charging protection device is controlled according to the circuit control command Whether the power cord is disconnected from the charging connection includes:
  • the charging protection device controls the power line to maintain a charging connection; if the circuit control command is to disconnect charging, the charging protection device controls the power line to be disconnected Charging connection. It can be understood that, if the circuit control command sent by the user terminal is not received, the charging data line remains in a state of continuing charging, that is, the power line remains charged. Electrical connection.
  • the method further includes:
  • the charging protection device performs an early warning operation according to the first early warning prompt.
  • the first warning prompt is configured with at least one reminding manner and a time interval for performing each reminding manner; if the circuit control command is configured with a first early warning prompt, the charging protection device is configured according to the The first warning prompt is configured to perform the early warning operation, including: if the circuit control command is configured with the first early warning prompt, the charging protection device performs the corresponding corresponding manner of each reminding manner according to the time interval of each reminding manner operating.
  • the first warning prompt may include multiple reminding manners
  • one or more reminding manners may be selected for the reminding, which is not limited by the embodiment of the present invention.
  • the user is reminded by the above reminding manner, which enables the user to know the current charging status in time.
  • the method further includes:
  • the charging protection device controls the establishment of the power line if it is detected that the connection with the power supply device is disconnected or the connection with the charging interface of the user terminal is disconnected. Charging connection.
  • a ninth aspect provides a charging method according to an embodiment of the present invention, including:
  • the user terminal detects an internal charging current value
  • the user terminal calculates a current difference value between the external charging current value and the internal charging current value
  • the user terminal transmits the circuit control command to the charging protection device.
  • the real-time monitoring of the charging current value enables the user terminal to monitor whether there is leakage current during the current charging process, and disconnect the power line through the charging protection device in the presence of leakage current.
  • the charging connection is to achieve protection of the user terminal.
  • the user terminal determines, according to the current difference, whether to generate a circuit control command, including:
  • the user terminal determines that the generated circuit control command is to continue to charge
  • the user terminal determines that the generated circuit control command is disconnected charging.
  • the method further includes:
  • the user terminal If the current difference is greater than the first current threshold and less than the second current threshold, the user terminal outputs a first popup prompt in the display interface, where the first popup prompt is used to prompt the current a prompt message of the current difference value during charging;
  • the user terminal If the current difference is greater than the second current threshold and less than the third current threshold, the user terminal outputs a second popup prompt in the display interface, and the second popup prompt is used to prompt the current.
  • the current difference value and the prompt message that the battery has been disconnected are present during charging.
  • the pop-up window prompts the user to promptly check whether the charging interface of the user terminal has problems such as liquid inlet or corrosion.
  • the user terminal is generated if the circuit control command is generated Before sending the circuit control command to the charging protection device, the method further includes:
  • the user terminal receives a temperature of a charging cable sent by the charging protection device; and the user terminal determines whether to generate a circuit control command according to a temperature value of the charging cable.
  • the charging interface can be more protected.
  • the user terminal determines whether to generate a circuit control command according to the temperature value of the charging cable, including:
  • the user terminal determines that the generated circuit control command is to continue charging
  • the user terminal determines that the generated circuit control command is disconnected charging.
  • the user terminal does not generate a circuit control command if the temperature value of the charging cable is less than the first temperature threshold.
  • the method further includes:
  • the user terminal If the temperature value of the charging cable is greater than the first temperature threshold and less than the second temperature threshold, the user terminal outputs a third popup prompt in the display interface, and the third popup prompts a prompt message indicating that the temperature value of the charging cable is too high during the current charging process;
  • the user terminal When the temperature value of the charging cable is greater than the second temperature threshold and less than the third temperature threshold, the user terminal outputs a fourth popup prompt in the display interface, where the fourth popup prompts Contains a message indicating that the temperature value of the charging cable is too high and the charging has been disconnected during the current charging process.
  • the pop-up window prompts the user to promptly check whether the charging interface of the user terminal has problems such as liquid inlet or corrosion.
  • the method before the generating, by the user terminal, the circuit control command to the charging protection device, the method further includes:
  • the user terminal receives an external charging voltage value sent by the charging protection device; and determines whether to generate a circuit control command according to the external charging voltage value.
  • the user terminal can be better protected by the detection of the external charging voltage.
  • the user terminal determining, according to the external charging voltage value, whether to generate a circuit control command includes:
  • the user terminal determines that the generated circuit control command is to continue to charge
  • the user terminal determines that the generated circuit control command is off charging.
  • the method further includes:
  • the user terminal If the external charging voltage value is greater than the first voltage threshold and less than the second voltage threshold, The user terminal outputs a fifth popup window prompt in the display interface, and the fifth popup window prompts a prompt message for prompting that the external charging voltage value is too high during the current charging process;
  • the user terminal When the external charging voltage value is greater than the second voltage threshold and less than the third voltage threshold, the user terminal outputs a sixth popup prompt in the display interface, where the sixth popup prompt includes current The external charging voltage value is too high and the charging message has been disconnected during charging.
  • the pop-up window prompts the user to promptly check whether the charging interface of the user terminal has problems such as liquid inlet or corrosion.
  • the method further includes: outputting the internal charging current value, the external charging current value, and the external charging voltage value in a display interface.
  • the processing unit may output at least one of an internal charging current value, the external charging current value, and the external charging voltage value.
  • the circuit control command is configured with a first early warning prompt, where the first early warning prompt is used to instruct the charging protection device to perform an early warning operation according to the first early warning prompt.
  • the first warning prompt is configured with at least one reminding manner and a time interval for performing each reminding manner.
  • the first implementation manner of the ninth aspect, the second implementation manner of the ninth aspect, the third implementation manner of the ninth aspect, the fourth implementation manner of the ninth aspect, and the ninth aspect The fifth implementation manner, the sixth implementation manner of the ninth aspect, the seventh implementation manner of the ninth aspect, or the eighth implementation manner of the ninth aspect, in the long-term implementation manner of the ninth aspect, the method also includes:
  • the user terminal performs an alert operation according to the preset second alert prompt, where the second alert prompt includes at least one alert mode.
  • the reminding manner may include one or more of a sound reminding method, a flash reminding method, and a vibration reminding manner, and the reminding manner in the second warning prompt is not limited to the types. Since the circuit control command can be a command to keep charging or disconnecting charging, the user terminal can set different reminding manners for different commands, so that the user can be reminded by the above reminding manner, so that the user can know the current charging in time. situation.
  • a tenth aspect of the present invention provides another user terminal, where the user terminal includes a processor, a charging control IC, and a transceiver, and the processor is configured to perform the charging method provided by the fifth aspect of the present invention.
  • the processor is configured to perform the charging method provided by the fifth aspect of the present invention.
  • a memory, a display system, an audio system, and/or a vibrator for storing application code supporting the user terminal to perform the above method, the processor being configured to execute the memory The application stored in .
  • an embodiment of the present invention provides a computer storage medium for storing computer software instructions for use in the foregoing charging protection apparatus, including a program designed to perform the above aspects.
  • an embodiment of the present invention provides a computer storage medium for storing computer software instructions for use in the user terminal, including a program designed to perform the above aspects.
  • the charging data line and the name of the user terminal do not limit the device itself. In actual implementation, these devices may appear under other names. As long as the functions of the respective devices are similar to the present invention, they are within the scope of the claims and the equivalents thereof.
  • the user terminal monitors whether there is leakage current during the current charging process, and disconnects the charging connection of the power line through the charging protection device in the presence of leakage current. To achieve protection of the user terminal.
  • Figure 1 is a schematic diagram of a possible charging
  • FIG. 2 is a schematic structural diagram of a charging protection device according to an embodiment of the present invention.
  • FIG. 3a is a schematic diagram of charging according to an embodiment of the present invention.
  • FIG. 3b is a diagram showing another example of charging according to an embodiment of the present invention.
  • FIG. 4 is a schematic flowchart of a charging method according to an embodiment of the present invention.
  • FIG. 5a is a schematic diagram of another charging method according to an embodiment of the present invention.
  • FIG. 5b is a schematic diagram of another charging method according to an embodiment of the present invention.
  • FIG. 6 is a schematic flowchart diagram of another charging method according to an embodiment of the present disclosure.
  • FIG. 7a is a schematic diagram of another charging method according to an embodiment of the present invention.
  • FIG. 7b is a schematic diagram of another charging method according to an embodiment of the present invention.
  • FIG. 8 is a schematic diagram of a modularity of a charging protection device according to an embodiment of the present invention.
  • FIG. 9 is a schematic diagram of a modularization of a user terminal according to an embodiment of the present invention.
  • FIG. 10 is a schematic structural diagram of a user terminal according to an embodiment of the present invention.
  • the solution provided by the invention can enable the user terminal to monitor whether there is leakage current during the current charging process by real-time monitoring of the charging current value, and disconnect the charging connection of the power line through the charging protection device in the presence of leakage current. To achieve protection of the user terminal.
  • references to "an embodiment” herein mean that a particular feature, structure, or characteristic described in connection with the embodiments can be included in at least one embodiment of the invention.
  • a charger, a charging data line, and a user terminal may be included.
  • the charging data line and the charger may be integrated.
  • the charging data line and the charger may be connected through a USB interface; the other end of the charging data line is provided with a USB interface.
  • a USB interface is connected to the charging interface of the user terminal to implement connection between the charging data line and the user terminal.
  • the charging data line further includes a charging cable
  • the charging cable can be composed of a power line, a data line and a ground line, and the data line can be divided into a positive data line (Data+, D+) and a negative data line (Data-, D-).
  • the charging data line and the charger are integrated, when the charger is connected to the power supply device and the USB interface at the other end of the charging data line is connected to the user terminal, the function of charging the user terminal can be realized. Or, for the charging data line and the user terminal connected through the USB interface In this case, instead of using a charger and implementing a function of charging the user terminal, a method in which one end of the charging data line is connected to the power supply device and the other end is connected to the user terminal.
  • the power line is used for charging. If the power supply device can also exchange data with the user terminal, data transmission can be implemented through the data line.
  • the charging protection device includes a micro control unit (MCU), a current detecting circuit, a strobe circuit, and an input/output (I/O) interface.
  • MCU micro control unit
  • I/O input/output
  • the current detecting circuit and the strobe circuit are disposed on the power line; in the charging process, if the strobing circuit is in the path state, the power line remains charged and connected, and if the strobing circuit is in the open state, the power line is disconnected from the charging connection;
  • the I/O interface is connected to the data line, the MCU transmits data through the I/O interface, the current detecting circuit detects the external charging current value flowing through the power line, the current detecting circuit transmits the external charging current value to the MCU, and the MCU passes the I/O.
  • the interface transmits the external charging current value to the user terminal, so that the user terminal calculates a current difference value between the external charging current value and the internal charging current value detected by the user terminal, and determines whether to generate a circuit control command according to the current difference value; the MCU receives the user terminal
  • the transmitted circuit control command controls the gate circuit to be in a path state or in an open state according to the circuit control command.
  • the user terminal monitors whether there is leakage current in the current charging process, and in the presence of leakage current, disconnects the charging connection of the power line through the charging protection device in time to realize the user terminal. protection.
  • the USB interface involved in the embodiment of the present invention may be an A type, a B type, a Mini type, a Micro type, or a Lightning type USB interface.
  • the USB interface on one end of a charging data line is a type A USB male port, one way is directly connected to the type A USB female port of the power supply device, and the other way is to connect with the type A USB set in the charger.
  • the interface is connected, and the USB interface is connected to the power source through the charger inserted into the power socket;
  • the USB interface at the other end of the charging data line is a Micro type USB male port, and can be connected with the charging interface of the user terminal as a Micro type USB female port.
  • the interface used by the current charging data line is a USB interface, but the charging data line in the embodiment of the present invention can use any transmission interface that implements electrical signal transmission and/or data signal transmission.
  • the user terminal may be any device that needs to be charged through a charging interface, such as a tablet computer, a mobile phone, a personal computer (PC), a notebook computer, Vehicle equipment, smart bracelets, smart watches, smart glasses and other equipment.
  • a charging interface such as a tablet computer, a mobile phone, a personal computer (PC), a notebook computer, Vehicle equipment, smart bracelets, smart watches, smart glasses and other equipment.
  • the charging protection device 1 is connected to a charging cable 2, wherein the charging cable 2 includes The power cable 201 and the data line 202, optionally, the charging cable 2 includes a ground line 203; the charging protection device 1 includes a micro control unit 101, a current detecting circuit 102, a gating circuit 103, and an I/O interface 105. And bus 112.
  • the charging protection device 1 further includes an interface state detecting circuit 104.
  • the charging protection device 1 further includes a voltage detecting circuit 106 and/or a temperature detecting circuit 107.
  • the charging protection device 4 may further include a prompting circuit 108, a buzzer 109, an indicator light 110, and a vibrator 111.
  • the current detecting circuit 102 and the strobe circuit 103 are disposed on the power line 201.
  • the power line 201 remains charged.
  • the strobe circuit 103 is in an open state, and the power line 201 is disconnected from the charging connection; the I/O interface 105 is connected to the data line 202, and the MCU 101 transmits data through the I/O interface 105.
  • the bus 112 can include a path for communicating information between various components included in the charge protection device 1.
  • the current detecting circuit 102 detects an external charging current value flowing through the power line 201; the current detecting circuit 102 transmits the external charging current value to the MCU 101; the MCU 101 passes through the I/O interface 105 Transmitting the external charging current value to the user terminal, the user terminal may be configured to calculate a current difference between the external charging current value and an internal charging current value detected by the user terminal, according to the current difference Determining whether to generate a circuit control command, which will be described in the following embodiments; the MCU 101 receives the circuit control command sent by the user terminal, and controls the gating circuit 103 to be in accordance with the circuit control command The path status is in an open state.
  • the real-time monitoring of the charging current value of the charging protection device enables the user terminal to monitor whether there is leakage current during the current charging process, and in the presence of the leakage current, disconnect the charging connection of the power line through the charging protection device in time. To achieve protection of the user terminal.
  • the MCU 101 controls the gating circuit 103 to be in the path state, so that the power line 201 remains charged; if the circuit control command is off charging, then The MCU 101 controls the gating circuit 103 to be in the open circuit The status causes the power cord to disconnect from the charging connection.
  • the charging protection device further includes an interface state detecting circuit 104, the interface state detecting circuit 104 is connected in parallel with the gating circuit 103; and in the case that the gating circuit 103 is in the disconnected state, The interface state detecting circuit 104 detects that the connection with the power supply device is disconnected or the connection with the charging interface of the user terminal is disconnected, and the interface state detecting circuit 104 notifies that the interface of the MCU 101 has been disconnected.
  • the MCU 101 controls the gate circuit 103 to be in the path state.
  • the interface state detecting circuit 104 may include a current limiting resistor and a micro current detecting circuit. Since the interface state detecting circuit 104 and the gate circuit 103 are connected in parallel, the interface state detecting circuit is equivalent to a power line. The other path, but here by setting the resistance value of the current limiting resistor, the current value of the path can be realized to be mA level or even smaller, and can be detected by the micro current detecting circuit. In the specific implementation process, if the micro current detecting circuit detects that there is a current greater than 0 in the path, it indicates that the power supply device is not disconnected and the charging interface with the user terminal is not disconnected. At this time, the gate circuit is not changed.
  • the micro current detecting circuit is disconnected from the power supply device and is not disconnected from the charging interface of the user terminal, further indicating that the user terminal is not charged at this time. Therefore, under this premise, once the gating circuit 103 is in the open state, the interface state detecting circuit 104 notifies the MCU 101 that the connection with the charging interface has been disconnected, so that the MCU 101 controls the gating circuit 103 to return to the path state, so that The charging protection device protects the next charging connection.
  • the MCU 101 can control the gate circuit 103 to be in a channel state by a high level signal, and control the gate circuit 103 to be in an open state by a low level signal.
  • the MCU 101 may send a first digital signal indicating a high level signal to the gating circuit 103, and after receiving the first digital signal by the gating circuit 103, generate a high level signal by digital-to-analog conversion.
  • the high level signal controls the gate circuit 103 to be in a channel state; for the same reason, the MCU 101 can send a second digital signal indicating a low level signal to the gate circuit 103, and the second circuit is received at the gate circuit 103.
  • a low level signal is generated by digital to analog conversion, and the low level signal controls the gate circuit 103 to be in an open state.
  • FIG. 3a an example of charging is provided in the embodiment of the present invention.
  • one end of the charging data line is connected to the charger, and the other end is connected to the charging interface of the user terminal.
  • the charging data line includes a charging protection device, wherein the charging protection device is connected
  • the charging cable is the cable in the charging data line.
  • the charging interface is connected to a charging control integrated circuit (IC), and the charging control IC is connected to the battery of the user terminal. After the charger is connected to the power source, the user terminal can be charged through the charging data line.
  • IC charging control integrated circuit
  • the charging data line can detect the external charging current value through the charging protection device, and the charging control IC of the user terminal can detect the user terminal.
  • the internal charging current value the user terminal compares the external charging current value and the internal charging current value to detect whether there is leakage current, specifically, if the current difference between the external charging current value and the internal charging current value is less than the A current threshold (for example, the first current threshold is 5 mA, or 1 mA), then it can be considered that the battery of the user terminal is in a normal charging state, there is no leakage current during the current charging; if the external charging current If the current difference between the value and the internal charging current is greater than the first current threshold, there is a leakage current during the current charging process, which may be a current transmitted from the charging data line to the charging interface of the user terminal, and a part of the current is transmitted to the charging control IC.
  • the A current threshold for example, the first current threshold is 5 mA, or 1 mA
  • the charging data line of the embodiment of the present invention can receive a circuit control command generated by the user terminal by comparing the internal charging current value and the external charging current value, thereby controlling whether the power line is disconnected from the charging connection, so as to implement the user terminal. protection.
  • the charge protection device is disposed on an interface of the charging data line adjacent to the user terminal.
  • FIG. 3b is another example of charging according to an embodiment of the present invention.
  • One end of the charging data line is connected to the charger, and the other end is connected to the charging interface of the user terminal, and the charging is performed.
  • the device includes a charging protection device. Since the charger has a power line and a ground line, when the charging data line is connected to the charger, the power line of the charging data line is connected with the power line of the charger; then, the charger is added with A data line connected to the IO interface of the charging protection device, the data line being connectable to the data line in the charging data line when the charging data line is connected to the charger.
  • the charging interface is connected to the charging control IC, and the charging control IC is connected to the battery of the user terminal.
  • the user terminal can be charged through the charging data line.
  • the charging data line can detect the external charging current value through the charging protection device, and the charging control IC of the user terminal can detect the user terminal.
  • the internal charging current value is measured by the user terminal by comparing the external charging current value with the internal charging current value to detect the presence or absence of leakage current. Therefore, the charger of the embodiment of the present invention can receive a circuit control command generated by the user terminal by comparing the internal charging current value and the external charging current value, thereby controlling whether the power line is disconnected from the charging connection, so as to achieve User terminal protection.
  • the charging protection device 1 adds a cueing circuit 108, a buzzer 109, an indicator light 110, and a vibrator 111.
  • the circuit control command further includes a first early warning prompt
  • the MCU 101 performs an early warning operation by using the prompting circuit 108 according to the first early warning prompt.
  • the cueing circuit is configured to control whether the buzzer rings, control whether the indicator light is blinking, and/or control whether the vibrator vibrates.
  • the charging protection device may include one or several of the buzzer 109, the indicator light 110, and the vibrator 111.
  • the first warning prompt may include a reminder mode in which the buzzer 109 rings; if the indicator light 110 is included, the first early warning prompt may include the The reminder mode in which the indicator light 110 flashes; if the vibrator 111 is included therein, the first warning prompt may include a reminder manner of vibrator vibration.
  • the first warning prompt is provided with a first time interval in which the buzzer 109 rings, a second time interval in which the indicator light 110 blinks, and/or a third time in which the vibrator 111 vibrates interval.
  • the MCU 101 controls the buzzer 109 to ring and control the blinking of the indicator light 110 by the prompting circuit 108 according to the first warning prompt.
  • the buzzer is controlled by the prompting circuit 108.
  • the device 109 rings according to the first time interval, controls the indicator light 110 to blink at a second time interval, and/or controls the vibrator 111 to vibrate according to the third time interval.
  • the first warning prompt may only include a reminder manner in which the indicator light 110 blinks, or only a reminder manner in which the vibrator 111 vibrates. Or, a reminder manner in which the indicator light 110 blinks and a reminder manner in which the vibrator 111 vibrates. Therefore, in the case that the first warning prompt may include multiple reminding manners, one or more reminding manners may be selected for the reminding, which is not limited by the embodiment of the present invention. In this way, the user is reminded by the above reminding manner, which enables the user to know the current charging status in time.
  • the vibrator 111 may not be added to the charging protection device 1 to reduce the occupied space of the charging protection device 1.
  • the embodiment of the present invention can also pass the timer, the number of rings/number of flashes/number of vibrations, different ringtone contents/different
  • the setting of the indicator color/different vibration level, the setting may be set by the manufacturer, or may be set by the terminal user, which is not limited by the embodiment of the present invention.
  • the MCU 101 sends an instruction to maintain the path status to the gating circuit 103, and sends the instruction to the prompt circuit 108.
  • the MCU 101 receives the circuit control command sent by the user terminal as the disconnection charging and the first warning prompt, then the The MCU 101 sends an instruction to the gating circuit 103 to change to the disconnected state, and sends an instruction to the cueing circuit 108 to continue to ring the buzzer 109, and an instruction that the indicator light 110 flashes rapidly in red; if the user terminal is not received
  • the transmitted circuit control command the MCU 101 does not send an instruction to the gating circuit 103, so that the buzzer 109 and the indicator light 110 can maintain the default state (for example, the default state is that the buzzer 109 does not ring, the
  • the charging protection device 1 further includes a temperature detecting circuit 107.
  • the temperature detecting circuit 107 is configured to detect a temperature value of the charging cable.
  • the temperature detecting circuit 107 transmits the detected temperature value of the charging cable to the user terminal, so that the user terminal determines whether to generate a circuit control command according to the temperature value of the charging cable;
  • the MCU 101 receives the circuit control command sent by the user terminal, and controls the gating circuit 103 to be in the path state or in the disconnection state according to the circuit control command.
  • the MCU 101 controls the gating circuit 103 to be in the path state; if the circuit control command is off charging, the MCU 101 controls the gating Circuit 103 is in the open state.
  • the charging protection device 1 can be disposed at a position close to a USB interface connected to the charging interface of the user terminal, so that the temperature detecting circuit 107 can detect more accurately.
  • the temperature near the charging interface can better protect the user terminal.
  • the temperature detecting circuit 107 may also be provided in plurality.
  • the module other than the temperature detecting circuit 107 of the charging protection device 1 may be disposed in the charger, and the temperature detecting circuit 107 may be separately disposed in the charging data line. Close to the position of the USB interface connected to the user terminal charging interface, so that the temperature detecting circuit 107 can more accurately detect the temperature near the charging interface, which is better Protect the user terminal.
  • the MCU 101 may further receive a circuit control command sent by the user terminal and carrying the first early warning prompt.
  • the MCU 101 performs an early warning operation by the prompting circuit 108 according to the first early warning prompt.
  • first early warning prompt can be referred to the first early warning prompt introduced in the first feasible embodiment, and details are not described herein again.
  • the charging protection device 1 further includes a voltage detecting circuit 106, and the voltage detecting circuit 106 is disposed on the power line.
  • the voltage detecting circuit 106 detects an external charging voltage value of the power line, and the voltage detecting circuit 106 transmits the external charging voltage value to the MCU 101; the MCU 101 passes the I/O interface. 105 transmitting the external charging voltage value to the user terminal, so that the user terminal determines whether to generate the circuit control command according to the external charging voltage value; the MCU 101 receives the The circuit controls the command and controls the gate circuit 103 to be in the path state or in the open state according to the circuit control command.
  • the MCU 101 controls the gating circuit 103 to be in the path state; if the circuit control command is off charging, the MCU 101 controls the gating Circuit 103 is in the open state.
  • the real-time monitoring of the charging current value, the charging voltage value, and the temperature of the charging cable enables the user terminal to monitor whether there is leakage current during the current charging process, whether the charging voltage is too high, and whether the temperature is too high. And in the presence of leakage current, excessive voltage or excessive temperature, the power supply line is disconnected through the charging protection device in time to protect the user terminal.
  • the triple detection of the charging current value, the charging voltage value, and the temperature of the charging cable can better protect the user terminal during the charging process.
  • FIG. 4 is a schematic flowchart diagram of a charging method according to an embodiment of the present invention.
  • the embodiment shown in FIG. 4 is explained from both sides of the charging protection device and the user terminal.
  • the charging protection device can be referred to the charging protection device in the embodiment shown in FIG. 2, in the embodiment shown in FIG. Because the charging protection device can be disposed in the charger, or can be disposed in the charging data line, because The charging protection device is connected to the power supply device through a charger or a charging data line, and the USB interface of the charging data line is connected to the charging interface of the user terminal.
  • the method can include steps 101 through 107.
  • the charge protection device detects an external charging current value flowing through the power line.
  • the charging protection device detects an external charging current value flowing through the power line through the current detecting circuit. It can be understood that, during charging of the user terminal, the current of the power supply device is transmitted by the charging protection device to Therefore, the current is first transmitted to the user terminal through the charging protection device. Therefore, the embodiment of the present invention can compare the external charging current value with the internal charging current value to determine whether the current charging process is in progress. There is leakage current.
  • the charging protection device sends the external charging current value to a user terminal.
  • the charging protection device sends the external charging current value to the user terminal through a data line, and correspondingly, the user terminal receives an external charging current value sent by the charging protection device, so that the user terminal The value of the external charging current during the current charging process is monitored.
  • the user terminal detects an internal charging current value.
  • the user terminal is internally configured with a charging control IC, and the charging control IC is configured to detect an internal charging current value of the battery flowing through the user terminal.
  • the user terminal may determine whether the internal charging current value is greater than a fourth current threshold, and the fourth current threshold indicates a maximum charging current value that the user terminal can bear, if the internal charging current value is less than Or equal to the fourth current threshold, step 104 is performed.
  • the user terminal continues to perform step 104 to detect whether there is leakage current, and the user terminal performs a current limiting operation by using the charging control IC, In order to reduce the internal charging current value to a range less than or equal to the fourth current threshold; in another solution, the user terminal does not perform step 104, directly generates a circuit control command for disconnecting charging, and performs steps
  • the circuit control command is sent to the charging protection device to enable the charging protection device to disconnect the power line through the charging protection device after receiving the circuit control command for disconnecting charging to protect the user terminal.
  • the user terminal calculates a current difference value between the external charging current value and the internal charging current value.
  • the user terminal calculates a current difference value between an external charging current value detected by the charging protection device and an internal charging current value detected by the user terminal itself.
  • the current difference can be used to detect the current charge Whether there is leakage current during the electrical process.
  • the current difference between the external charging current value and the internal charging current value is less than the first current threshold (eg, the first current threshold is 5 mA, or 1 mA), if the external charging current value
  • the current difference with the internal charging current is greater than the first current threshold, indicating that there is leakage current during the current charging process.
  • the user terminal determines, according to the current difference, whether to generate a circuit control command.
  • the user terminal determines that the generated circuit control command is to keep charging; if the current difference is greater than the second The current threshold is less than the third current threshold, and the user terminal determines that the generated circuit control command is off-charge. It can be understood that if the current difference is less than the first current threshold, the user terminal does not generate a circuit control command.
  • the first current threshold, the second current threshold, and the third current threshold are real numbers greater than or equal to zero.
  • the generated circuit control command is divided into the first current threshold, the second current threshold, and the third current threshold is divided into three cases, and the current difference is equal to the first current threshold and equal to the second current.
  • the threshold, equal to the third current threshold may be added to one of the classifications with the respective thresholds as the threshold, and the conditions equal to the same threshold may not be simultaneously added in the different classifications.
  • the case of being equal to the second current threshold may be increased to if the current difference is greater than the first current threshold and less than or equal to the second current threshold, determining that the generated circuit control command is in a scheme of maintaining continued charging, or
  • the case of equal to the second current threshold may be increased to the case where the generated circuit control command is a disconnection charging if the current difference is greater than or equal to the second current threshold and less than the third current threshold.
  • the user terminal outputs a first popup prompt in the display interface, where the first popup prompt is A prompt message for prompting the presence of the current difference during the current charging process.
  • FIG. 5a is a schematic diagram of a prompt example, as shown in FIG. 5a, if the current difference is greater than the first current threshold and less than the second current.
  • the threshold value indicates that there is a leakage current with a small current value during the current charging process, and the user can be notified by the warning prompt in FIG. 5a, and the warning prompt can prompt the user to check whether the charging interface of the user terminal has problems such as liquid inlet or corrosion to prevent burning. Charging interface.
  • the user terminal If the current difference is greater than the second current threshold and less than the third current threshold, the user terminal outputs a second popup prompt in the display interface, and the second popup prompt is used to prompt the current
  • the current difference value and the prompt message that the battery has been disconnected are present during charging.
  • FIG. 5b another example of prompting is provided according to an embodiment of the present invention.
  • the current threshold indicates that there is a leakage current with a large current value during the current charging process, and the user can be notified by the warning prompt in FIG. 5b.
  • the warning prompt can prompt the user that the charging has been disconnected and prompt the user to check whether the charging interface of the user terminal exists in time. Liquid or corrosion problems.
  • the user terminal sends a circuit control command to the charging protection device.
  • the user terminal sends the circuit control command to the charging protection device through a data line.
  • the charging protection device receives the circuit control command sent by the user terminal. It can be understood that, if the circuit control command sent by the user terminal is not received, the charging protection device maintains the state of continuing charging, that is, the power line remains charged.
  • the charging protection device controls whether the power line disconnects a charging connection according to the circuit control command.
  • the charging protection device controls the power line to maintain a charging connection; if the received circuit control command is received To disconnect the charge, the charge protection device controls the power cord to disconnect the charging connection.
  • the charging protection device can maintain the in-path state by the control gating circuit so that the power line remains charged, and the charging protection device can be changed to an open state by controlling the gating circuit, so that the power line is disconnected from the charging connection.
  • the charging protection device performs an early warning operation according to the first early warning prompt.
  • the first warning prompt carries at least one reminding manner and a time interval for performing each reminding manner; thus, the charging protection device performs the corresponding corresponding reminding manner according to the time interval of each reminding manner.
  • the reminding manner in the embodiment of the present invention may include, but is not limited to, at least one of a buzzer ringing mode, an indicator blinking mode, and a vibrator vibration mode.
  • the embodiment of the present invention can also pass the timer, the number of rings/number of flashes/number of vibrations, different ringtone contents/different
  • the setting of the indicator color/different vibration level, the setting may be set by the manufacturer, or may be set by the terminal user, which is not limited by the embodiment of the present invention.
  • the real-time monitoring of the charging current value enables the user terminal to monitor whether there is leakage current during the current charging process, and disconnect the power line through the charging protection device in the presence of leakage current. To achieve protection of the user terminal.
  • FIG. 6 is a schematic flowchart diagram of a charging method according to an embodiment of the present invention.
  • the embodiment shown in FIG. 6 is explained from both sides of the charging protection device and the user terminal.
  • the charging protection device can be referred to the charging protection device in the embodiment shown in FIG. 2, in the embodiment shown in FIG. Since the charging protection device can be disposed in the charger or can be disposed in the charging data line, the charging protection device is connected to the power supply device through a charger or a charging data line, and the USB interface of the charging data line is The charging interface of the user terminal is connected.
  • the method can include steps 201 through 213.
  • the charging protection device detects an external charging current value flowing through the power line.
  • the charging protection device detects an external charging current value flowing through the power line through the current detecting circuit. It can be understood that, during charging of the user terminal, the current of the power supply device is transmitted by the charging protection device to Therefore, the current is first transmitted to the user terminal through the charging protection device. Therefore, the embodiment of the present invention can compare the external charging current value with the internal charging current value to determine whether the current charging process is in progress. There is leakage current.
  • the charging protection device sends the external charging current value to a user terminal.
  • the charging protection device sends the external charging current value to the user terminal through a data line, and correspondingly, the user terminal receives an external charging current value sent by the charging protection device, so that the user terminal The value of the external charging current during the current charging process is known.
  • the user terminal detects an internal charging current value.
  • the user terminal is internally configured with a charging control IC, and the charging control IC is configured to detect an internal charging current value of the battery flowing through the user terminal.
  • the user terminal calculates a current difference value between the external charging current value and the internal charging current value.
  • the user terminal determines, according to the current difference, whether to generate a circuit control command.
  • the charging protection device receives the circuit control command sent by the user terminal.
  • the charging protection device controls whether the power line disconnects the charging connection according to the circuit control command.
  • the charging protection device detects a temperature value of the charging cable.
  • the charging protection device detects a temperature value of the charging cable through a built-in temperature detecting circuit.
  • the temperature at the charging interface is too high, which may cause the charging interface and the charging protection device to be burned. Therefore, if the temperature detecting circuit is close to the position of the USB interface connected to the charging interface in the user terminal. When the temperature near the charging interface is detected more accurately, the detection accuracy is improved.
  • the charging protection device can detect the external charging current value and the temperature value of the charging cable in parallel, so step 201 and step 208 are not sequentially divided.
  • the charging protection device sends a temperature value of the charging cable to the user terminal.
  • the charging protection device sends the temperature value of the charging cable to the user terminal through a data line, and correspondingly, the user terminal receives the temperature of the charging cable sent by the charging protection device, so that The user terminal knows the temperature of the charging cable during the current charging process.
  • the user terminal determines whether to generate a circuit control command according to a temperature value of the charging cable.
  • the user terminal determines that the generated circuit control command is to keep charging; if the temperature of the charging cable If the value is greater than the second temperature threshold, the user terminal determines that the generated circuit control command is off charging. It can be understood that if the temperature value of the charging cable is less than the first temperature threshold, the user terminal does not generate a circuit control command.
  • the first temperature threshold, the second temperature threshold, and the third temperature threshold are real numbers greater than or equal to 0.
  • the case of being equal to the third temperature threshold may be respectively increased to one of the classifications in which the respective threshold values are critical values, and conditions equal to the same threshold value cannot be simultaneously added in different classifications.
  • the case of being equal to the second temperature threshold may be increased to determine that the generated circuit control command is to maintain continued charging if the temperature value of the charging cable is greater than the first temperature threshold and less than or equal to the second temperature threshold.
  • the case of being equal to the second temperature threshold may be increased if the temperature value of the charging cable is greater than or equal to the second temperature threshold and less than the third temperature threshold, Then determining that the generated circuit control command is in the scheme of disconnecting charging.
  • the user terminal outputs a third popup prompt in the display interface, the third bomb
  • the window prompt is a prompt message for prompting that the temperature value of the charging cable is too high during the current charging process.
  • FIG. 7a another example of prompting is provided according to an embodiment of the present invention.
  • the warning prompt can prompt the user to check the charging interface of the second USB interface of the charging protection device and the user terminal. Is there an abnormality between them to prevent the charging interface from burning due to continuous heating?
  • the user terminal If the temperature value of the charging cable is greater than the second temperature threshold and less than the third temperature threshold, the user terminal outputs a fourth popup prompt in the display interface, where the fourth popup prompt is included A prompt message that the temperature value of the charging cable is too high and the charging has been disconnected during the current charging process.
  • FIG. 7b another example of prompting is provided according to an embodiment of the present invention.
  • the warning prompt can prompt the user that the charging has been disconnected, and prompt the user to check the second USB interface and the user of the charging protection device in time. Whether there is an abnormality between the charging interfaces of the terminal.
  • step 206 is executed to send a circuit control command to the charging protection device and step 207 to control whether the power line disconnects the charging connection according to the circuit control command.
  • the charging protection device detects an external charging voltage value of the power line.
  • the charging protection device detects an external charging voltage value of the power line through a built-in voltage detecting circuit.
  • the charging protection device can detect the external charging current value, the temperature value of the charging cable, and the external charging voltage value of the power line in parallel, so step 201, step 208, and step 211 are not sequentially divided.
  • the charging protection device sends the external charging voltage value to the user terminal.
  • the charging protection device sends the external charging voltage value to the user terminal through a data line, and correspondingly, the user terminal receives an external charging voltage sent by the charging protection device.
  • the value is such that the user terminal is informed of the external charging voltage value during the current charging process.
  • the user terminal determines whether to generate a circuit control command according to an external charging voltage value of the power line.
  • the user terminal determines that the generated circuit control command is to continue to charge; if the power line is external The charging voltage value is greater than the second voltage threshold, and the user terminal determines that the generated circuit control command is off charging. It can be understood that if the external charging voltage value of the power line is less than the first voltage threshold, the user terminal does not generate a circuit control command.
  • the first voltage threshold, the second voltage threshold, and the third voltage threshold are real numbers greater than or equal to zero.
  • whether the generated circuit control command is divided into the first voltage threshold, the second voltage threshold, and the third voltage threshold is divided into three cases, and the external charging voltage value of the power line is equal to the first voltage threshold,
  • the case of being equal to the second voltage threshold and equal to the third voltage threshold may be respectively added to one of the classifications whose respective threshold values are critical values, and the conditions equal to the same threshold value cannot be simultaneously added in different classifications.
  • the case of being equal to the second voltage threshold may be increased to if the external charging voltage value of the power line is greater than the first voltage threshold and less than or equal to the second voltage threshold, determining that the generated circuit control command is to continue charging In the solution, or equal to the second voltage threshold, the circuit control command may be determined to be generated if the external charging voltage value of the power line is greater than or equal to the second voltage threshold and less than the third voltage threshold. In order to disconnect the charging scheme.
  • the user terminal outputs a fifth popup prompt in the display interface, where the fifth The pop-up prompt is a prompt message for prompting that the external charging voltage value of the power line is too high during the current charging process.
  • the fifth The pop-up prompt is a prompt message for prompting that the external charging voltage value of the power line is too high during the current charging process.
  • the user may be notified by a warning prompt, and the warning prompt can be The user is prompted to have a higher current charging voltage, and the user can determine whether to continue charging.
  • the user terminal If the external charging voltage value of the power line is greater than the second voltage threshold and less than the third voltage threshold, the user terminal outputs a sixth popup window prompt in the display interface, and the sixth popup window prompts
  • the prompt message that the external charging voltage value of the power line is too high and the charging has been disconnected during the current charging process is included. For example, if the external charging voltage value of the power line is greater than the second voltage threshold and less than the third voltage threshold, indicating that the voltage is too high during the current charging process, the warning may be prompted. Inform the user that the warning prompt can prompt the user that the charging has been disconnected and that the user is overcharged.
  • step 206 is performed to send a circuit control command to the charging protection device and step 207 to control whether the power line disconnects the charging connection according to the circuit control command.
  • the user terminal may further output an internal charging current value and an external charging current value in a display interface.
  • the user terminal may also output the temperature of the charging cable in the display interface.
  • the user terminal may further output the external charging voltage value in the display interface.
  • steps 208 and 209 are performed in the case of the built-in temperature detecting circuit in the charging protection device. Therefore, once the temperature detecting circuit is included in the charging protection device, it can be executed.
  • steps 211 and 212 are performed for the built-in voltage detecting circuit in the charging protection device. Therefore, once the temperature detecting circuit is built in the charging protection device, Step 211 and step 212 can be performed.
  • the charging protection device control station In the case that the power line is disconnected from the charging connection, if it is detected that the connection with the power supply device is disconnected or the connection with the charging interface of the user terminal is disconnected, the charging protection device control station The power cord establishes a charging connection.
  • the power cord can be restored to the state of the charging connection without the charging protection device charging the user terminal, so that the charging protection device protects the next charging connection.
  • the user terminal performs an early warning operation according to a preset second alert prompt, where the second alert prompt includes at least one alert mode.
  • the reminding manner may include one or more of a sound reminding method, a flash reminding method, and a vibration reminding manner, and the reminding manner in the second warning prompt is not limited to the types. Since the circuit control command can be a command to keep charging or disconnecting charging, therefore, With the same command, the user terminal can set different reminding manners, so that the user can be reminded by the above reminding manner, so that the user can know the current charging status in time.
  • the user terminal may perform a sound reminder with the first ringtone; for example, if the circuit control command is disconnected charging, the user The terminal can make a sound reminder and vibrate the reminder with the second ringtone.
  • the real-time monitoring of the charging current value, the charging voltage value, and the temperature of the charging cable enables the user terminal to monitor whether there is leakage current during the current charging process, whether the charging voltage is too high, and whether the temperature is too high. And in the presence of leakage current, excessive voltage or excessive temperature, the power supply line is disconnected through the charging protection device in time to protect the user terminal.
  • the triple detection of the charging current value, the charging voltage value, and the temperature of the charging cable can better protect the user terminal during the charging process.
  • FIG. 8 is a schematic diagram of a modularization of a charging data line according to an embodiment of the present invention.
  • the charging data line 1 of the embodiment of the present invention may include: a detecting unit 11, a transmitting unit 12, a receiving unit 13, and a control unit 14.
  • the control unit 14 is configured to detect an external charging current value of the power line by the detecting unit 11;
  • the control unit 14 is further configured to send the external charging current value to the user terminal by using the sending unit 12, so that the user terminal calculates the external charging current value and an internal charging current value detected by the user terminal. a current difference value, determining whether to generate a circuit control command according to the current difference value;
  • the control unit 14 is further configured to receive, by using the receiving unit 13, the circuit control command sent by the user terminal;
  • the control unit 14 is further configured to control whether the power line disconnects the charging connection according to the circuit control command.
  • control unit 14 is further configured to detect a temperature value of the charging cable by using the detecting unit 11, and send a temperature value of the charging cable to the user terminal, to And causing the user terminal to determine whether to generate a circuit control command according to a temperature value of the charging cable.
  • control unit 14 is further configured to detect an external charging voltage value of the power line by the detecting unit 11 and send the external charging voltage value to the user terminal, so that The user terminal determines whether to generate a circuit control command based on the external charging voltage value.
  • control unit 14 is specifically configured to: when the power control line is disconnected from the charging connection according to the circuit control command, the control unit 14 is specifically configured to:
  • the power line is controlled to disconnect the charging connection.
  • control unit 14 is further configured to: if the circuit control command is configured with the first early warning prompt, perform an early warning operation according to the first early warning prompt.
  • the first warning prompt is configured with at least one reminding manner and a time interval for performing each reminding manner
  • the control unit 14 is specifically configured to: if the circuit control command is configured with the first early warning prompt, perform the operation corresponding to each of the reminding manners according to the time interval of each of the reminding manners.
  • control unit 14 is further configured to: if the power line disconnects the charging connection, if the connection with the power supply device is disconnected or the user terminal is detected The connection of the charging interface is disconnected, and the power cable is controlled to establish a charging connection.
  • the charging data line 1 is presented in the form of a functional unit.
  • a "unit” herein may refer to an application-specific integrated circuit (ASIC), a circuit, a processor that executes one or more software or firmware programs, integrated logic circuits, and/or other devices that provide the functionality described above. .
  • ASIC application-specific integrated circuit
  • the charging data line 1 can take the form shown in FIG.
  • Also provided in the embodiment of the present invention is a computer storage medium for storing computer software instructions for the charging data line 1 shown in FIG. 8 above, which is designed to perform the above aspects for the charging data line 1. program.
  • FIG. 9 is a schematic diagram of a modularization of a user terminal 2 according to an embodiment of the present invention.
  • the user terminal 2 of the embodiment of the present invention may include: a detecting unit 21, a receiving unit 22, a processing unit 23, and a transmitting unit 24.
  • the user terminal 2 may further include a first output unit 25, a second output unit 26, a third output unit 27, and/or a fourth output unit 28.
  • the processing unit 23 is configured to detect an internal charging current value by the detecting unit 21;
  • the processing unit 23 is further configured to receive, by the receiving unit 22, an external charging current value sent by the charging protection device;
  • the processing unit 23 is further configured to calculate a current difference between the external charging current value and the internal charging current value;
  • the processing unit 23 is further configured to determine whether to generate a circuit control command according to the current difference value
  • the processing unit 23 is further configured to send the circuit control command to the charging protection device by the sending unit 24 if a circuit control command is generated.
  • the processing unit 23 is specifically configured to:
  • the user terminal 2 further includes a first output unit 25:
  • the processing unit 23 is further configured to: when the current difference is greater than the first current threshold and less than the second current threshold, output a first popup prompt in the display interface by using the first output unit 25, The first popup window prompts a prompt message for prompting that the current difference exists during current charging;
  • the processing unit 23 is further configured to: when the current difference is greater than the second current threshold and less than the third current threshold, output a second popup prompt in the display interface by using the first output unit 25, The second popup window prompts a prompt message for prompting that the current difference value and the disconnected charging are present during the current charging process.
  • the processing unit 23 is further configured to receive, by the receiving unit 22, a temperature of a charging cable sent by the charging protection device;
  • the processing unit 23 is further configured to determine whether to generate a circuit control command according to the temperature value of the charging cable.
  • the processing unit 23 in the determining whether to generate a circuit control command according to the temperature value of the charging cable, is specifically configured to:
  • the user terminal 2 further includes a second output unit 26:
  • the processing unit 23 is further configured to: when the temperature value of the charging cable is greater than the first temperature threshold and less than the second temperature threshold, output a third popup prompt in the display interface by using the second output unit 26
  • the third popup window prompts a prompt message for prompting that the temperature value of the charging cable is too high during the current charging process
  • the processing unit 23 is further configured to: when the temperature value of the charging cable is greater than the second temperature threshold and less than the third temperature threshold, output a fourth popup window in the display interface by using the second output unit 26
  • the prompting, the fourth popup prompt is a prompt message that the temperature value of the charging cable is too high and the charging is disconnected during the current charging process.
  • the processing unit 23 is further configured to receive, by the receiving unit 22, an external charging voltage value sent by the charging protection device;
  • the processing unit 23 is further configured to determine whether to generate a circuit control command according to the external charging voltage value.
  • the processing unit 23 is specifically configured to:
  • the user terminal 2 further includes a third output unit 27:
  • the processing unit 23 is further configured to: when the external charging voltage value is greater than the first voltage threshold and less than the second voltage threshold, outputting a fifth popup prompt in the display interface by using the third output unit 27, where The fifth popup window is a prompt message for prompting that the external charging voltage value is too high during the current charging process;
  • the processing unit 23 is further configured to: when the external charging voltage value is greater than the second voltage threshold and less than the third voltage threshold, output a sixth bomb in the display interface by using the third output unit 27 The window prompts that the sixth popup prompts a prompt message that the external charging voltage value is too high and the charging has been disconnected during the current charging process.
  • the user terminal 2 further includes a fourth output unit 28:
  • the processing unit 23 is further configured to output the internal charging current value, the external charging current value, and the external charging voltage value in the display interface by the fourth output unit 28.
  • the circuit control command is configured with a first early warning prompt
  • the first early warning prompt is used to instruct the charging protection device to perform an early warning operation according to the first early warning prompt.
  • the first early warning prompt is provided with at least one reminding manner and a time interval for performing each reminding manner.
  • the processing unit 23 is further configured to: if the circuit control command is generated, perform an early warning operation according to the preset second warning prompt, where the second early warning prompt includes at least one reminding manner .
  • the user terminal 2 is presented in the form of a functional unit.
  • a "unit" herein may refer to an application-specific integrated circuit (ASIC), a circuit, a processor that executes one or more software or firmware programs, integrated logic circuits, and/or other devices that provide the functionality described above. .
  • ASIC application-specific integrated circuit
  • FIG. 10 is a schematic structural diagram of a user terminal according to an embodiment of the present invention.
  • the user terminal 2000 includes at least one processor 2001, a bus 2002, a transceiver 2004, and a charging control IC 2005.
  • the processor 2001 is coupled to the transceiver 2004, such as via a bus 2002.
  • the user terminal 2000 may further include a memory 2003 for storing data of the user terminal 1000 or storing application code for executing the solution of the present invention, and is controlled by the processor 2001 for execution.
  • the processor 2001 is configured to execute the application code stored in the memory 2003 to implement the actions of the user terminal in any of the embodiments shown in FIG. 4 or 5.
  • the user terminal 2000 may further include an audio system 2006 and a vibrator. 2007 and/or display system 2008.
  • the audio system 2006 is used for the output of audio signals.
  • the vibrator 2007 is used to perform a vibration operation.
  • the display system 2008 is used for output display of information and operation of receiving user input.
  • the number of the transceivers 2004 is not limited in practical applications, and the structure of the user terminal 2000 does not constitute a limitation on the embodiments of the present invention.
  • the processor 2001 is used to implement the functions of the processing unit 23 shown in FIG. 9 in the embodiment of the present invention.
  • the transceiver 2004 includes a receiver and a transmitter, and the transceiver 2004 is used in the embodiment of the present invention to implement the functions of the receiving unit 22 and the transmitting unit 24 shown in FIG. 9; the charging control IC is used to implement the map in the embodiment of the present invention.
  • the display system 2008 is used in the embodiment of the present invention to implement the first output unit 25, the second output unit 26, the third output unit 27, and/or the fourth output unit 28 shown in FIG.
  • the audio system 2006 and the vibrator 2007 are used to output various reminders in the second alert prompt executed by the processor 2001.
  • the processor 2001 can be a central processing unit (CPU), a general-purpose processor, a digital signal processing (DSP), an application specific integrated circuit (ASIC), and a field programmable logic gate array (Field). - Programmable Gate Array, FPGA) or other programmable logic device, transistor logic device, hardware component, or any combination thereof. It is possible to implement or carry out the various illustrative logical blocks, modules and circuits described in connection with the present disclosure.
  • the processor 2001 can also be a combination of computing functions, such as one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like.
  • Bus 2002 can include a path for communicating information between the above components.
  • the bus 2002 can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus.
  • PCI Peripheral Component Interconnect
  • EISA Extended Industry Standard Architecture
  • the bus 2002 can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in FIG. 10, but it does not mean that there is only one bus or one type of bus.
  • the memory 2003 can be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type that can store information and instructions.
  • the dynamic storage device can also be an Electrically Erasable Programmable Read-Only Memory (EEPROM), a Compact Disc Read-Only Memory (CD-ROM) or other optical disc storage, and a disc storage device. (including compact discs, laser discs, compact discs, digital versatile discs, Blu-ray discs, etc., disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited thereto.
  • EEPROM Electrically Erasable Programmable Read-Only Memory
  • CD-ROM Compact Disc Read-Only Memory
  • disc storage device including compact discs, laser discs, compact discs, digital versatile discs, Blu-ray discs, etc., disk storage media or other magnetic storage devices, or any
  • Also provided in the embodiment of the present invention is a computer storage medium for storing computer software instructions for the user terminal, which includes a program designed to execute the above aspects for the user terminal.
  • Computer readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one location to another.
  • a storage medium may be any available media that can be accessed by a computer.
  • the computer readable medium may include a random access memory (RAM), a read-only memory (ROM), and an electrically erasable programmable read-only memory (Electrically Erasable Programmable).
  • EEPROM Electrically Error Read-Only Memory
  • CD-ROM Compact Disc Read-Only Memory
  • Any connection may suitably be a computer readable medium.
  • the software uses coaxial cable, fiber optic cable, twisted pair, Digital Subscriber Line (DSL), or wireless such as infrared, radio, and microwave Where technology is transmitted from a website, server or other remote source, then coaxial cable, fiber optic cable, twisted pair, DSL or wireless technologies such as infrared, wireless and microwave are included in the fixing of the associated medium.
  • DSL Digital Subscriber Line
  • a disk and a disc include a compact disc (CD), a laser disc, a compact disc, a digital versatile disc (DVD), a floppy disk, and a Blu-ray disc, wherein the disc is usually magnetically copied, and the disc is The laser is used to optically replicate the data. Combinations of the above should also be included within the scope of the computer readable media.

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

一种充电方法及相关设备,其中充电保护装置包括:充电保护装置包括微控制单元MCU(101)、电流检测电路(102)、选通电路(103)和I/O接口(105);电流检测电路(102)检测流经电源线(201)的外部充电电流值;电流检测电路(102)将外部充电电流值传输至MCU(101);MCU(101)通过I/O接口(105)将外部充电电流值传输至用户终端,以使用户终端计算外部充电电流值和用户终端检测到的内部充电电流值的电流差值,根据电流差值确定是否生成电路控制命令;MCU(101)接收用户终端发送的电路控制命令,并根据电路控制命令,控制选通电路(103)处于通路状态或处于断路状态。通过监控当前充电过程中是否存在漏电流,并在存在漏电流的情况下及时通过充电保护装置断开电源线(201)的连接,以实现对用户终端的保护。

Description

一种充电方法及相关设备 技术领域
本发明涉及电子技术领域,尤其涉及一种充电方法及相关设备。
背景技术
随着电子技术的迅速发展,用户终端更新日益加快,例如:常用的手机、平板、可穿戴设备等用户终端已经成为人们日常生活中的重要组成部分。大多数用户终端都需要通过供电设备为其充电,以手机为例,将与手机相匹配的充电数据线中连接电源的通用串行总线(Universal Serial Bus,USB)接口与电源充电器或者电脑等连接,充电数据线的另一USB接口与手机的充电接口连接,来实现对手机的充电。
实际应用中,若用户终端充电过程中电流过高、电压过高、充电接口有漏电流的情况都会对手机造成一定程度的损坏。而现有的技术方案中,通过在用户终端内部设计保护电路对过压或过流的情况进行防护,但如果充电接口处发生短路情况,使得部分电流在传输至用户终端内部的保护电路之前,通过充电接口短路入地,此时若保护电路检测到的电流并未超过预设的电流阈值,则保护电路认为充电正常,用户终端将会继续处于充电状态,这样会导致充电接口会因为电流过大而导致烧毁,降低了用户终端的充电安全性。
发明内容
本发明实施例提供了一种充电方法及相关设备,通过对充电电流值的实时监测,使得用户终端监控到当前充电过程中是否存在漏电流,并在存在漏电流的情况下及时通过充电保护装置断开电源线的连接,以实现对用户终端的保护。
第一方面,本发明实施例提供了一种充电保护装置,所述充电保护装置与充电线缆相连接,其中,所述充电线缆包括电源线和数据线;
所述充电保护装置包括微控制单元MCU、电流检测电路、选通电路和I/O接口;
所述电流检测电路和所述选通电路设置于所述电源线上;若所述选通电路处于通路状态,则所述电源线未断开充电连接,若所述选通电路处于断路状态,则所述电源线断开充电连接;所述I/O接口与所述数据线相连接,所述MCU通 过所述I/O接口发送数据;
所述电流检测电路检测流经所述电源线的外部充电电流值;所述电流检测电路将所述外部充电电流值传输至所述MCU;所述MCU通过所述I/O接口将所述外部充电电流值传输至所述用户终端,以使所述用户终端计算所述外部充电电流值和所述用户终端检测到的内部充电电流值的电流差值,根据所述电流差值确定是否生成电路控制命令;所述MCU接收所述用户终端发送的所述电路控制命令,并根据所述电路控制命令,控制所述选通电路处于通路状态或处于断路状态。
在本发明实施例的第一方面,通过对充电电流值的实时监测,使得用户终端监控到当前充电过程中是否存在漏电流,并在存在漏电流的情况下及时通过充电保护装置断开电源线的充电连接,以实现对用户终端的保护。
结合第一方面,在第一方面的第一种实现方式中,所述充电保护装置还包括温度检测电路;
所述温度检测电路检测所述充电线缆的温度值,并将所述充电线缆的温度值传输至所述MCU;所述MCU通过所述I/O接口将所述充电线缆的温度值传输至所述用户终端,以使所述用户终端根据所述充电线缆的温度值,确定是否生成所述电路控制命令;
所述MCU接收所述用户终端发送的所述电路控制命令,并根据所述电路控制命令,控制所述选通电路处于所述通路状态或处于所述断路状态。
可选的,所述充电保护装置设置于靠近与用户终端的充电接口相连接的USB接口的位置。这样能够让温度检测电路更加准确的检测到用户终端充电接口处的温度。
结合第一方面或第一方面的第一种实现方式,在第一方面的第二种实现方式中,所述充电保护装置还包括电压检测电路,所述电压检测电路设置于所述电源线上;
所述电压检测电路检测所述电源线的外部充电电压值,并将所述外部充电电压值传输至所述MCU;所述MCU通过所述I/O接口将所述外部充电电压值传输至所述用户终端,以使所述用户终端根据所述外部充电电压值,确定是否生成所述电路控制命令;
所述MCU接收所述用户终端发送的所述电路控制命令,并根据所述电路 控制命令,控制所述选通电路处于所述通路状态或处于所述断路状态。
结合第一方面、第一方面的第一种实现方式或第一方面的第二种实现方式,在第一方面的第三种实现方式中,所述根据所述电路控制命令,控制所述选通电路处于通路状态或处于断路状态,包括:
若所述电路控制命令为保持继续充电,则所述MCU控制所述选通电路处于所述通路状态;
若所述电路控制命令为断开充电,则所述MCU控制所述选通电路处于所述断路状态。
结合第一方面、第一方面的第一种实现方式、第一方面的第二种实现方式或第一方面的第三种实现方式,在第一方面的第四种实现方式中,所述充电保护装置还包括提示电路;所述充电保护装置还包括蜂鸣器、指示灯和/或振动器,所述提示电路用于控制所述蜂鸣器是否响铃、控制所述指示灯是否闪烁和/或控制所述振动器是否振动;
若所述电路控制命令设置有第一预警提示,则所述MCU根据所述第一预警提示,通过所述提示电路执行预警操作。
可选的,所述第一预警提示携带第一提醒方式的的第一时间间隔和第二提醒方式的的第二时间间隔;这样在所述MCU根据所述第一预警提示,通过所述提示电路控制所述蜂鸣器响铃和控制所述指示灯闪烁方面,具体是通过所述提示电路按照所述每种提醒方式的时间间隔执行所述每种提醒方式对应的操作。
可选的,所述提示电路用于控制所述蜂鸣器是否响铃、控制所述指示灯是否闪烁和/或控制所述振动器是否振动。所述充电保护装置可以包括蜂鸣器、指示灯和振动器中的一个或者几个。可以理解的是,若其中包括蜂鸣器,则所述第一预警提示可以包括蜂鸣器响铃的提醒方式;若其中包括指示灯,则所述第一预警提示可以包括所述指示灯闪烁的提醒方式;若其中包括振动器,则所述第一预警提示可以包括振动器振动的提醒方式。
进一步,可选的,对于所述第一预警提示可以包括多种提醒方式的情况下,可以选择其中一种或者几种提醒方式进行提醒,本发明实施例对此不做限定。这样通过以上提醒方式提醒用户,能够使得用户及时了解当前的充电状况。
结合第一方面、第一方面的第一种实现方式、第一方面的第二种实现方式、 第一方面的第三种实现方式或第一方面的第四种实现方式,在第一方面的第五种实现方式中,所述充电保护装置还包括接口状态检测电路,所述接口状态检测电路与所述选通电路并联;
在所述选通电路处于所述断路状态的情况下,若所述接口状态检测电路检测到与所述供电装置的连接断开或与所述用户终端的充电接口的连接断开,则所述接口状态检测电路通知所述MCU接口的连接已断开,所述MCU控制所述选通电路处于所述通路状态。
可选的,所述接口状态检测电路可以包括限流电阻和微电流检测电路,由于接口状态检测电路和选通电路是并联的,因此,所述接口状态检测电路相当于电源线上的另一通路,但这里通过设置限流电阻的电阻值可以实现该通路的电流值为毫安级别甚至更小,并可以通过微电流检测电路检测出来。这样一旦选通电路处于断路状态下,所述接口状态检测电路通知MCU与充电接口的连接已断开,以使MCU控制选通电路恢复为通路状态,以便于充电保护装置对下一次的充电连接进行保护。
第二方面,为本发明实施例提供了一种充电数据线,所述充电数据线包括第一方面提供的充电保护装置。本发明实施例的充电数据线可以接收用户终端通过内部充电电流值和外部充电电流值的比较结果所生成的电路控制命令,进而控制电源线是否断开充电连接,以实现对用户终端的保护。通常情况下,所述充电保护装置设置在所述充电数据线靠近用户终端的接口上。
第三方面,为本发明实施例提供了一种充电器,所述充电器包括第一方面提供的充电保护装置。本发明实施例的充电器可以接收用户终端通过内部充电电流值和外部充电电流值的比较结果所生成的电路控制命令,进而控制电源线是否断开充电连接,以实现对用户终端的保护。
第四方面,为本发明实施例提供了一种充电保护装置,所述充电保护装置与充电线缆相连接,其中,所述充电线缆包括电源线和数据线;所述充电保护装置包括检测单元、发送单元、接收单元和控制单元:
所述控制单元用于通过所述检测单元检测所述电源线的外部充电电流值;
所述控制单元还用于通过所述发送单元向用户终端发送所述外部充电电流值,以使所述用户终端计算所述外部充电电流值和所述用户终端检测到的内部充电电流值的电流差值,根据所述电流差值确定是否生成电路控制命令;
所述控制单元还用于通过所述接收单元接收所述用户终端发送的所述电路控制命令;
所述控制单元还用于按照所述电路控制命令,控制所述电源线是否断开充电连接。
在本发明实施例的第四方面,通过对充电电流值的实时监测,使得用户终端监控到当前充电过程中是否存在漏电流,并在存在漏电流的情况下及时通过充电保护装置断开电源线的充电连接,以实现对用户终端的保护。
结合第四方面,在第四方面的第一种实现方式中,所述控制单元还用于通过所述检测单元检测所述充电线缆的温度值,并向所述用户终端发送所述充电线缆的温度值,以使所述用户终端根据所述充电线缆的温度值确定是否生成电路控制命令。因此,通过检测温度能够对充电接口多一重保护。
结合第四方面或第四方面的第一种实现方式,在第四方面的第二种实现方式中,所述控制单元还用于通过所述检测单元检测所述电源线的外部充电电压值,并向所述用户终端发送所述外部充电电压值,以使所述用户终端根据所述外部充电电压值确定是否生成电路控制命令。通过外部充电电压的检测,能更好的保护用户终端。
结合第四方面、第四方面的第一种实现方式或第四方面的第二种实现方式,在第四方面的第三种实现方式中,在所述按照所述电路控制命令,控制所述电源线是否断开充电连接方面,所述控制单元具体用于:
若所述电路控制命令为保持继续充电,则控制所述电源线保持充电连接;若所述电路控制命令为断开充电,则控制所述电源线断开充电连接。可以理解的是,若未接收到所述用户终端发送的电路控制命令的情况下,所述充电数据线保持继续充电的状态,即电源线保持充电连接。
结合第四方面的第三种实现方式,在第四方面的第四种实现方式中,所述控制单元,还用于若所述电路控制命令设置有第一预警提示,则根据所述第一预警提示,执行预警操作。
可选的,所述第一预警提示设置有至少一种提醒方式和执行每种提醒方式的时间间隔;
所述控制单元具体用于若所述电路控制命令设置有第一预警提示,则按照所述每种提醒方式的时间间隔执行所述每种提醒方式对应的操作。
可选的,对于所述第一预警提示可以包括多种提醒方式的情况下,可以选择其中一种或者几种提醒方式进行提醒,本发明实施例对此不做限定。这样通过以上提醒方式提醒用户,能够使得用户及时了解当前的充电状况。
结合第四方面、第四方面的第一种实现方式、第四方面的第二种实现方式、第四方面的第三种实现方式或第四方面的第四种实现方式,在第四方面的第五种实现方式中,所述控制单元,还用于在所述电源线断开充电连接的情况下,若检测到与所述供电装置的连接断开或与所述用户终端的充电接口的连接断开,控制所述电源线建立充电连接。
第五方面,为本发明实施例提供了一种充电数据线,所述充电数据线包括第一方面提供的充电保护装置。本发明实施例的充电数据线可以接收用户终端通过内部充电电流值和外部充电电流值的比较结果所生成的电路控制命令,进而控制电源线是否断开充电连接,以实现对用户终端的保护。通常情况下,所述充电保护装置设置在所述充电数据线靠近用户终端的接口上。
第六方面,为本发明实施例提供了一种充电器,所述充电器包括第一方面提供的充电保护装置。本发明实施例的充电器可以接收用户终端通过内部充电电流值和外部充电电流值的比较结果所生成的电路控制命令,进而控制电源线是否断开充电连接,以实现对用户终端的保护。
第七方面,为本发明实施例提供了一种用户终端,包括检测单元、接收单元、处理单元和发送单元:
所述处理单元用于通过所述检测单元检测内部充电电流值;
所述处理单元还用于通过所述接收单元接收所述充电保护装置发送的外部充电电流值;
所述处理单元,还用于计算所述外部充电电流值和所述内部充电电流值的电流差值;
所述处理单元,还用于根据所述电流差值,确定是否生成电路控制命令;
所述处理单元还用于若生成电路控制命令,通过所述发送单元则向所述充电保护装置发送所述电路控制命令。
在本发明实施例的第七方面,通过对充电电流值的实时监测,使得用户终端监控到当前充电过程中是否存在漏电流,并在存在漏电流的情况下及时通过充电保护装置断开电源线的充电连接,以实现对用户终端的保护。
结合第七方面,在第七方面的第一种实现方式中,在所述根据所述电流差值,确定是否生成电路控制命令方面,所述处理单元具体用于:
若所述电流差值大于第一电流阈值且小于第二电流阈值,则确定生成的所述电路控制命令为保持继续充电;
若所述电流差值大于所述第二电流阈值且小于第三电流阈值,则确定生成的所述电路控制命令为断开充电。
可以理解的是,若所述电流差值小于所述第一电流阈值,则所述用户终端不生成电路控制命令。
结合第七方面的第一种实现方式,在第七方面的第二种实现方式中,所述用户终端还包括第一输出单元:
所述处理单元还用于若所述电流差值大于所述第一电流阈值且小于所述第二电流阈值,则通过所述第一输出单元在显示界面中输出第一弹窗提示,所述第一弹窗提示为用于提示当前充电过程中存在所述电流差值的提示消息;
所述处理单元还用于若所述电流差值大于所述第二电流阈值且小于所述第三电流阈值,则通过所述第一输出单元在显示界面中输出第二弹窗提示,所述第二弹窗提示为用于提示当前充电过程中存在所述电流差值和已断开充电的提示消息。
通过弹窗提示可以提示用户及时检查用户终端的充电接口是否存在进液或腐蚀等问题。
结合第七方面、第七方面的第一种实现方式或第七方面的第二种实现方式,在第七方面的第三种实现方式中,所述处理单元还用于通过所述接收单元接收所述充电保护装置发送的充电线缆的温度;所述处理单元,还用于根据所述充电线缆的温度值,确定是否生成电路控制命令。通过增加温度检测机制能够对充电接口多一重保护。
结合第七方面的第三种实现方式,在第七方面的第四种实现方式中,在所述根据所述充电线缆的温度值,确定是否生成电路控制命令方面,所述处理单元具体用于:
若所述充电线缆的温度值大于第一温度阈值且小于第二温度阈值,则确定生成的所述电路控制命令为保持继续充电;
若所述充电线缆的温度值大于第二温度阈值,则确定生成的所述电路控制 命令为断开充电。
可以理解的是,若所述充电线缆的温度值小于所述第一温度阈值,则所述用户终端不生成电路控制命令。
结合第七方面的第四种实现方式,在第七方面的第五种实现方式中,所述用户终端还包括第二输出单元:
所述处理单元还用于若所述充电线缆的温度值大于所述第一温度阈值且小于所述第二温度阈值,则通过第二输出单元在显示界面中输出第三弹窗提示,所述第三弹窗提示为用于提示当前充电过程中所述充电线缆的温度值过高的提示消息;
所述处理单元还用于若所述充电线缆的温度值大于所述第二温度阈值且小于所述第三温度阈值时,则通过第二输出单元在显示界面中输出第四弹窗提示,所述第四弹窗提示为包含当前充电过程中所述充电线缆的温度值过高和已断开充电的提示消息。
通过弹窗提示可以提示用户及时检查用户终端的充电接口是否存在进液或腐蚀等问题。
结合第七方面、第七方面的第一种实现方式、第七方面的第二种实现方式、第七方面的第三种实现方式、第七方面的第四种实现方式或第七方面的第五种实现方式,在第七方面的第六种实现方式中,所述处理单元还用于通过所述接收单元接收所述充电保护装置发送的外部充电电压值;
所述处理单元,还用于根据所述外部充电电压值,确定是否生成电路控制命令。通过外部充电电压的检测,能更好的保护用户终端。
结合第七方面的第六种实现方式,在第七方面的第七种实现方式中,在所述根据所述外部充电电压值,确定是否生成电路控制命令方面,所述处理单元具体用于:
若所述外部充电电压值大于第一电压阈值且小于第二电压阈值,则确定生成的所述电路控制命令为保持继续充电;
若所述外部充电电压值大于第二电压阈值,则确定生成的所述电路控制命令为断开充电。
可以理解的是,若所述电源线的外部充电电压值小于所述第一电压阈值,则所述用户终端不生成电路控制命令。
结合第七方面的第七种实现方式,在第七方面的第八种实现方式中,所述用户终端还包括第三输出单元:
所述处理单元还用于若所述外部充电电压值大于所述第一电压阈值且小于所述第二电压阈值,则通过第三输出单元在显示界面中输出第五弹窗提示,所述第五弹窗提示为用于提示当前充电过程中所述外部充电电压值过高的提示消息;
所述处理单元还用于若所述外部充电电压值大于所述第二电压阈值且小于所述第三电压阈值时,则通过第三输出单元在显示界面中输出第六弹窗提示,所述第六弹窗提示为包含当前充电过程中所述外部充电电压值过高和已断开充电的提示消息。
通过弹窗提示可以提示用户及时检查用户终端的充电接口是否存在进液或腐蚀等问题。
可选的,所述用户终端还包括第四输出单元:所述处理单元还用于通过所述第四输出单元在显示界面中输出所述内部充电电流值、所述外部充电电流值和所述外部充电电压值。
可选的,所述处理单元可以输出内部充电电流值、所述外部充电电流值和所述外部充电电压值中的至少一个数值。
可选的,所述电路控制命令设置有第一预警提示,所述第一预警提示用于指示所述充电保护装置根据所述第一预警提示执行预警操作。进一步,可选的,所述第一预警提示设置有至少一种提醒方式和执行每种提醒方式的时间间隔。
结合第七方面、第七方面的第一种实现方式、第七方面的第二种实现方式、第七方面的第三种实现方式、第七方面的第四种实现方式、第七方面的第五种实现方式、第七方面的第六种实现方式、第七方面的第七种实现方式或第七方面的第八种实现方式,在第七方面的第九种实现方式中,所述处理单元,还用于若生成电路控制命令,则按照预设的第二预警提示执行预警操作,其中所述第二预警提示包含至少一种提醒方式。举例来说,所述提醒方式可以包括声音提醒方式、闪光提醒方式、振动提醒方式中的一种或者多种,且第二预警提示中的提醒方式并不限定于这几种。由于电路控制命令可以为保持继续充电或断开充电的命令,因此,针对不同的命令,所述用户终端可以设置不同的提醒方式,这样通过以上提醒方式提醒用户,能够使得用户及时了解当前的充电状况。
第八方面,为本发明实施例提供了一种充电方法,所述方法应用于充电保护装置中,所述充电保护装置中的充电线缆包括电源线和数据线,包括:
所述充电保护装置检测所述电源线的外部充电电流值;
所述充电保护装置向用户终端发送所述外部充电电流值,以使所述用户终端计算所述外部充电电流值和所述用户终端检测到的内部充电电流值的电流差值,根据所述电流差值确定是否生成电路控制命令;
所述充电保护装置接收所述用户终端发送的所述电路控制命令;
所述充电保护装置按照所述电路控制命令,控制所述电源线是否断开充电连接。
在本发明实施例的第八方面,通过对充电电流值的实时监测,使得用户终端监控到当前充电过程中是否存在漏电流,并在存在漏电流的情况下及时通过充电保护装置断开电源线的充电连接,以实现对用户终端的保护。
结合第八方面,在第八方面的第一种实现方式中,所述充电保护装置接收所述用户终端发送的所述电路控制命令之前,还包括:
所述充电保护装置检测所述充电线缆的温度值,并向所述用户终端发送所述充电线缆的温度值,以使所述用户终端根据所述充电线缆的温度值确定是否生成电路控制命令。因此,通过检测温度能够对充电接口多一重保护。
结合第八方面或第八方面的第一种实现方式,在第八方面的第二种实现方式中,所述充电保护装置接收所述用户终端发送的所述电路控制命令之前,还包括:
所述充电保护装置检测所述电源线的外部充电电压值,并向所述用户终端发送所述外部充电电压值,以使所述用户终端根据所述外部充电电压值确定是否生成电路控制命令。通过外部充电电压的检测,能更好的保护用户终端。
结合第八方面、第八方面的第一种实现方式或第八方面的第二种实现方式,在第八方面的第三种实现方式中,所述充电保护装置按照所述电路控制命令,控制所述电源线是否断开充电连接,包括:
若所述电路控制命令为保持继续充电,则所述充电保护装置控制所述电源线保持充电连接;若所述电路控制命令为断开充电,则所述充电保护装置控制所述电源线断开充电连接。可以理解的是,若未接收到所述用户终端发送的电路控制命令的情况下,所述充电数据线保持继续充电的状态,即电源线保持充 电连接。
结合第八方面的第三种实现方式,在第八方面的第四种实现方式中,还包括:
若所述电路控制命令设置有第一预警提示,则所述充电保护装置根据所述第一预警提示,执行预警操作。
可选的,所述第一预警提示设置有至少一种提醒方式和执行每种提醒方式的时间间隔;所述若所述电路控制命令设置有第一预警提示,则所述充电保护装置根据所述第一预警提示,执行预警操作,包括:若所述电路控制命令设置有第一预警提示,则所述充电保护装置按照所述每种提醒方式的时间间隔执行所述每种提醒方式对应的操作。
可选的,对于所述第一预警提示可以包括多种提醒方式的情况下,可以选择其中一种或者几种提醒方式进行提醒,本发明实施例对此不做限定。这样通过以上提醒方式提醒用户,能够使得用户及时了解当前的充电状况。
结合第八方面、第八方面的第一种实现方式、第八方面的第二种实现方式、第八方面的第三种实现方式或第八方面的第四种实现方式,在第八方面的第五种实现方式中,还包括:
在所述电源线断开充电连接的情况下,若检测到与所述供电装置的连接断开或与所述用户终端的充电接口的连接断开,所述充电保护装置控制所述电源线建立充电连接。
第九方面,为本发明实施例提供了一种充电方法,包括:
用户终端检测内部充电电流值;
所述用户终端接收所述充电保护装置发送的外部充电电流值;
所述用户终端计算所述外部充电电流值和所述内部充电电流值的电流差值;
所述用户终端根据所述电流差值,确定是否生成电路控制命令;
若生成电路控制命令,则所述用户终端向所述充电保护装置发送所述电路控制命令。
在本发明实施例的第九方面,通过对充电电流值的实时监测,使得用户终端监控到当前充电过程中是否存在漏电流,并在存在漏电流的情况下及时通过充电保护装置断开电源线的充电连接,以实现对用户终端的保护。
结合第九方面,在第九方面的第一种实现方式中,所述用户终端根据所述电流差值,确定是否生成电路控制命令,包括:
若所述电流差值大于第一电流阈值且小于第二电流阈值,则所述用户终端确定生成的所述电路控制命令为保持继续充电;
若所述电流差值大于所述第二电流阈值且小于第三电流阈值,则所述用户终端确定生成的所述电路控制命令为断开充电。
可以理解的是,若所述电流差值小于所述第一电流阈值,则所述用户终端不生成电路控制命令。
结合第九方面的第一种实现方式,在第九方面的第二种实现方式中,还包括:
若所述电流差值大于所述第一电流阈值且小于所述第二电流阈值,则所述用户终端在显示界面中输出第一弹窗提示,所述第一弹窗提示为用于提示当前充电过程中存在所述电流差值的提示消息;
若所述电流差值大于所述第二电流阈值且小于所述第三电流阈值,则所述用户终端在显示界面中输出第二弹窗提示,所述第二弹窗提示为用于提示当前充电过程中存在所述电流差值和已断开充电的提示消息。
通过弹窗提示可以提示用户及时检查用户终端的充电接口是否存在进液或腐蚀等问题。
结合第九方面、第九方面的第一种实现方式或第九方面的第二种实现方式,在第九方面的第三种实现方式中,所述若生成电路控制命令,则所述用户终端向所述充电保护装置发送所述电路控制命令之前,还包括:
所述用户终端接收所述充电保护装置发送的充电线缆的温度;所述用户终端根据所述充电线缆的温度值,确定是否生成电路控制命令。通过增加温度检测机制能够对充电接口多一重保护。
结合第九方面的第三种实现方式,在第九方面的第四种实现方式中,所述用户终端根据所述充电线缆的温度值,确定是否生成电路控制命令,包括:
若所述充电线缆的温度值大于第一温度阈值且小于第二温度阈值,则所述用户终端确定生成的所述电路控制命令为保持继续充电;
若所述充电线缆的温度值大于第二温度阈值,则所述用户终端确定生成的所述电路控制命令为断开充电。
可以理解的是,若所述充电线缆的温度值小于所述第一温度阈值,则所述用户终端不生成电路控制命令。
结合第九方面的第四种实现方式,在第九方面的第五种实现方式中,还包括:
若所述充电线缆的温度值大于所述第一温度阈值且小于所述第二温度阈值,则所述用户终端在显示界面中输出第三弹窗提示,所述第三弹窗提示为用于提示当前充电过程中所述充电线缆的温度值过高的提示消息;
当所述充电线缆的温度值大于所述第二温度阈值且小于所述第三温度阈值时,则所述用户终端在显示界面中输出第四弹窗提示,所述第四弹窗提示为包含当前充电过程中所述充电线缆的温度值过高和已断开充电的提示消息。
通过弹窗提示可以提示用户及时检查用户终端的充电接口是否存在进液或腐蚀等问题。
结合第九方面、第九方面的第一种实现方式、第九方面的第二种实现方式、第九方面的第三种实现方式、第九方面的第四种实现方式或第九方面的第五种实现方式,在第九方面的第六种实现方式中,所述若生成电路控制命令,则所述用户终端向所述充电保护装置发送所述电路控制命令之前,还包括:
所述用户终端接收所述充电保护装置发送的外部充电电压值;并根据所述外部充电电压值,确定是否生成电路控制命令。通过外部充电电压的检测,能更好的保护用户终端。
结合第九方面的第六种实现方式,在第九方面的第七种实现方式中,所述用户终端根据所述外部充电电压值,确定是否生成电路控制命令,包括:
若所述外部充电电压值大于第一电压阈值且小于第二电压阈值,则所述用户终端确定生成的所述电路控制命令为保持继续充电;
若所述外部充电电压值大于第二电压阈值,则所述用户终端确定生成的所述电路控制命令为断开充电。
可以理解的是,若所述电源线的外部充电电压值小于所述第一电压阈值,则所述用户终端不生成电路控制命令。
结合第九方面的第七种实现方式,在第九方面的第八种实现方式中,还包括:
若所述外部充电电压值大于所述第一电压阈值且小于所述第二电压阈值, 则所述用户终端在显示界面中输出第五弹窗提示,所述第五弹窗提示为用于提示当前充电过程中所述外部充电电压值过高的提示消息;
当所述外部充电电压值大于所述第二电压阈值且小于所述第三电压阈值时,则所述用户终端在显示界面中输出第六弹窗提示,所述第六弹窗提示为包含当前充电过程中所述外部充电电压值过高和已断开充电的提示消息。
通过弹窗提示可以提示用户及时检查用户终端的充电接口是否存在进液或腐蚀等问题。
可选的,所述方法还包括:在显示界面中输出所述内部充电电流值、所述外部充电电流值和所述外部充电电压值。进一步,可选的,所述处理单元可以输出内部充电电流值、所述外部充电电流值和所述外部充电电压值中的至少一个数值。
可选的,所述电路控制命令设置有第一预警提示,所述第一预警提示用于指示所述充电保护装置根据所述第一预警提示执行预警操作。进一步,可选的,所述第一预警提示设置有至少一种提醒方式和执行每种提醒方式的时间间隔。
结合第九方面、第九方面的第一种实现方式、第九方面的第二种实现方式、第九方面的第三种实现方式、第九方面的第四种实现方式、第九方面的第五种实现方式、第九方面的第六种实现方式、第九方面的第七种实现方式或第九方面的第八种实现方式,在第九方面的第久种实现方式中,所述方法还包括:
若生成电路控制命令,则所述用户终端按照预设的第二预警提示执行预警操作,其中所述第二预警提示包含至少一种提醒方式。举例来说,所述提醒方式可以包括声音提醒方式、闪光提醒方式、振动提醒方式中的一种或者多种,且第二预警提示中的提醒方式并不限定于这几种。由于电路控制命令可以为保持继续充电或断开充电的命令,因此,针对不同的命令,所述用户终端可以设置不同的提醒方式,这样通过以上提醒方式提醒用户,能够使得用户及时了解当前的充电状况。
第十方面,为本发明实施例提供了另一种用户终端,用户终端的结构中包括处理器、充电控制IC和收发器,所述处理器用于执行本发明第五方面提供的充电方法。可选的,还可以包括存储器、显示系统、音频系统和/或振动器,所述存储器用于存储支持用户终端执行上述方法的应用程序代码,所述处理器被配置为用于执行所述存储器中存储的应用程序。
第十一方面,本发明实施例提供了一种计算机存储介质,用于储存为上述充电保护装置所用的计算机软件指令,其包含用于执行上述方面所设计的程序。
第十二方面,本发明实施例提供了一种计算机存储介质,用于储存为上述用户终端所用的计算机软件指令,其包含用于执行上述方面所设计的程序。
本发明实施例中,充电数据线、用户终端名字对设备本身不构成限定,在实际实现中,这些设备可以以其他名称出现。只要各个设备的功能和本发明类似,属于本发明权利要求及其等同技术的范围之内。
在本发明实施例中,通过对充电电流值的实时监测,使得用户终端监控到当前充电过程中是否存在漏电流,并在存在漏电流的情况下及时通过充电保护装置断开电源线的充电连接,以实现对用户终端的保护。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为一种可能的充电示意图;
图2为本发明实施例提供的一种充电保护装置的结构示意图;
图3a为本发明实施例提供的一种充电示例图;
图3b为本发明实施例提供的另一种充电示例图;
图4为本发明实施例提供的一种充电方法的流程示意图;
图5a为本发明实施例提供的另一种充电方法的示例图;
图5b为本发明实施例提供的另一种充电方法的示例图;
图6为本发明实施例提供的另一种充电方法的流程示意图;
图7a为本发明实施例提供的另一种充电方法的示例图;
图7b为本发明实施例提供的另一种充电方法的示例图;
图8为本发明实施例提供的一种充电保护装置的模块化示意图;
图9为本发明实施例提供的一种用户终端的模块化示意图;
图10为本发明实施例提供的一种用户终端的结构示意图。
具体实施方式
本发明提供的方案中能够通过对充电电流值的实时监测,使得用户终端监控到当前充电过程中是否存在漏电流,并在存在漏电流的情况下及时通过充电保护装置断开电源线的充电连接,以实现对用户终端的保护。为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚地描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。
本发明的说明书和权利要求书及所述附图中的术语“第一”、“第二”、“第三”和“第四”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本发明的至少一个实施例中。在说明书中的各个位值出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。
为了便于理解本发明,下面先介绍下现有的充电示例图,如图1所示,在需要为用户终端充电的情况下,可以包括充电器、充电数据线、用户终端。其中一种方式中,充电数据线和充电器可以是一体的,另一种方式中,充电数据线和充电器可以是通过USB接口相连接;充电数据线的另一端设有一USB接口,通过这一USB接口接入用户终端的充电接口实现充电数据线和用户终端的连接。进一步,充电数据线还包括充电线缆,充电线缆可以由电源线、数据线和地线组成,数据线可以分为正极数据线(Data+,D+)和负极数据线(Data-,D-)。对应充电数据线和充电器为一体的情况下,在充电器与供电装置相连接、充电数据线另一端的USB接口与用户终端相连接的情况下,可以实现为用户终端充电的功能。或者,对于充电数据线和用户终端通过USB接口连接的情 况下,可以不是用充电器并实现为用户终端充电的功能,即以充电数据线的一端与供电装置相连接、另一端与用户终端相连接的方式。其中,电源线用于充电,若该供电装置还可以与用户终端交互数据,则可以通过数据线实现数据传输。
然而在实际应用中,在供电装置通过充电数据线为用户终端充电的过程中,会存在电流通过充电接口短路入地而导致充电接口烧毁问题。在本发明实施例中,提供一种充电保护装置,充电保护装置包括微控制单元(Microcontroller Unit;MCU)、电流检测电路、选通电路、输入输出(input/output,I/O)接口;其中,电流检测电路和选通电路设置于电源线上;在充电过程中,若选通电路处于通路状态,则电源线保持充电连接,若选通电路处于断路状态,则电源线断开充电连接;I/O接口与数据线相连接,MCU通过I/O接口发送数据;电流检测电路检测流经电源线的外部充电电流值;电流检测电路将外部充电电流值传输至MCU;MCU通过I/O接口将外部充电电流值传输至用户终端,以使用户终端计算外部充电电流值和用户终端检测到的内部充电电流值的电流差值,根据电流差值确定是否生成电路控制命令;MCU接收用户终端发送的电路控制命令,并根据电路控制命令,控制选通电路处于通路状态或处于断路状态。通过对充电电流值的实时监测,使得用户终端监控到当前充电过程中是否存在漏电流,并在存在漏电流的情况下及时通过充电保护装置断开电源线的充电连接,以实现对用户终端的保护。
在本发明实施例中涉及的USB接口可以为A型、B型、Mini型、Micro型、Lightning型USB接口。例如,在一个充电数据线一端的USB接口为A型USB公口,一种方式是直接与供电装置的A型USB母口相连接,另一种方式为,与充电器中设置的A型USB接口相连接,通过充电器插入电源插座实现该USB接口与电源相连接;充电数据线另一端的USB接口为Micro型USB公口,可以与用户终端中充电接口为Micro型USB母口相连接,以实现为用户终端充电的功能。可以理解的是,目前充电数据线使用的接口为USB接口,但本发明实施例中充电数据线可以使用任何实现电信号传输和/或数据信号传输的传输接口。
在本发明实施例中,用户终端可以是任何需要通过充电接口充电的设备,例如:平板电脑、手机、个人计算机(Personal Computer,PC)、笔记本电脑、 车载设备、智能手环、智能手表、智能眼镜等设备。
请参见图2,为本发明实施例提供了一种充电保护装置的结构示意图,如图2所示,所述充电保护装置1与充电线缆2相连接,其中,所述充电线缆2包括电源线201和数据线202,可选的,所述充电线缆2包括地线203;所述充电保护装置1包括微控制单元101、电流检测电路102、选通电路103、I/O接口105和总线112。可选的,所述充电保护装置1还包括接口状态检测电路104。进一步,可选的,所述充电保护装置1还包括电压检测电路106和/或温度检测电路107。进一步,可选的,所述充电保护装置4还可以包括提示电路108、蜂鸣器109、指示灯110和振动器111。
所述电流检测电路102和所述选通电路103设置于所述电源线201上;在充电过程中,若所述选通电路103处于通路状态,则所述电源线201保持充电连接,若所述选通电路103处于断路状态,则所述电源线201断开充电连接;所述I/O接口105与所述数据线202相连接,所述MCU101通过所述I/O接口105发送数据。
总线112可包括一通路,用于在充电保护装置1包含的各个组件之间传送信息。
所述电流检测电路102检测流经所述电源线201的外部充电电流值;所述电流检测电路102将所述外部充电电流值传输至所述MCU101;所述MCU101通过所述I/O接口105将所述外部充电电流值传输至所述用户终端,可以使所述用户终端计算所述外部充电电流值和所述用户终端检测到的内部充电电流值的电流差值,根据所述电流差值确定是否生成电路控制命令,这部分内容将在后面的实施例里描述;所述MCU101接收所述用户终端发送的所述电路控制命令,根据所述电路控制命令,控制所述选通电路103处于通路状态或处于断路状态。这样能够通过对充电保护装置的充电电流值的实时监测,使得用户终端监控到当前充电过程中是否存在漏电流,并在存在漏电流的情况下及时通过充电保护装置断开电源线的充电连接,以实现对用户终端的保护。
其中,若所述电路控制命令为保持继续充电,则所述MCU101控制所述选通电路103处于所述通路状态,使得电源线201保持充电连接;若所述电路控制命令为断开充电,则所述MCU101控制所述选通电路103处于所述断路 状态,使得电源线断开充电连接。
可选的,所述充电保护装置还包括接口状态检测电路104,所述接口状态检测电路104与所述选通电路103并联;在所述选通电路103处于所述断路状态的情况下,若所述接口状态检测电路104检测到与所述供电装置的连接断开或与所述用户终端的充电接口的连接断开,则所述接口状态检测电路104通知所述MCU101接口已断开,所述MCU101控制所述选通电路103处于所述通路状态。
举例来说,所述接口状态检测电路104可以包括限流电阻和微电流检测电路,由于接口状态检测电路104和选通电路103是并联的,因此,所述接口状态检测电路相当于电源线上的另一通路,但这里通过设置限流电阻的电阻值可以实现该通路的电流值为毫安级别甚至更小,并可以通过微电流检测电路检测出来。具体实现过程中,若微电流检测电路检测到该通路存在大于0的电流,则表示与供电装置未断开连接且与用户终端的充电接口也未断开连接,此时,不改变选通电路103的连接状态;若微电流检测电路检测到该通路的电流值为0,则表示与供电装置断开连接且与用户终端的充电接口也未断开连接,进一步说明此时未对用户终端充电,因此在这一前提下,一旦选通电路103处于断路状态下,所述接口状态检测电路104通知MCU101与充电接口的连接已断开,以使MCU101控制选通电路103恢复为通路状态,以便于充电保护装置对下一次的充电连接进行保护。
举例来说,所述MCU101可以通过高电平信号控制选通电路103处于通路状态,以及通过低电平信号控制所述选通电路103处于断路状态。具体而言,所述MCU101可以向选通电路103发送表示高电平信号的第一数字信号,在选通电路103接收到所述第一数字信号之后,通过数模转换生成高电平信号,高电平信号控制所述选通电路103处于通路状态;同理,所述MCU101可以向选通电路103发送表示低电平信号的第二数字信号,在选通电路103接收到所述第二数字信号之后,通过数模转换生成低电平信号,低电平信号控制所述选通电路103处于断路状态。
又举例来说,请一并参见图3a,为本发明实施例提供了一种充电示例图,如图3a所示,充电数据线的一端与充电器相连接,另一端与用户终端的充电接口相连接,该充电数据线包括充电保护装置,其中,所述充电保护装置连接 的充电线缆为所述充电数据线中的线缆。在用户终端中,充电接口与充电控制集成电路板(integrated circuit,IC)相连接,充电控制IC与用户终端的电池相连接。在充电器连接电源之后,能够实现通过该充电数据线为该用户终端充电,充电过程中,充电数据线可以通过充电保护装置检测到外部充电电流值,用户终端的充电控制IC能够检测到用户终端的内部充电电流值,用户终端通过将外部充电电流值和内部充电电流值进行比较,以检测是否存在漏电流,具体的可以是:若外部充电电流值和内部充电电流值的电流差值小于第一电流阈值(例如,第一电流阈值为5毫安,或1毫安),则可认为此时用户终端的电池处于正常充电的状态下,当前充电过程中不存在漏电流;若外部充电电流值和内部充电电流的电流差值大于第一电流阈值,则当前充电过程中存在漏电流,有可能是由充电数据线传输至用户终端的充电接口处的电流,一部分传输至充电控制IC,一部分传输在充电接口接地的线路中,若充电接口接地的线路中电流过大,会使得充电接口因过热被烧毁。因此,本发明实施例的充电数据线可以接收用户终端通过内部充电电流值和外部充电电流值的比较结果所生成的电路控制命令,进而控制电源线是否断开充电连接,以实现对用户终端的保护。通常情况下,所述充电保护装置设置在所述充电数据线靠近用户终端的接口上。
又举例来说,请一并参见图3b,为本发明实施例提供了另一种充电示例图,充电数据线的一端与充电器相连接,另一端与用户终端的充电接口相连接,该充电器包括充电保护装置,由于充电器存在电源线和地线,因此在充电数据线和充电器相连接时,充电数据线的电源线和充电器的电源线相连接;接着在充电器中增加与充电保护装置的IO接口相连接的数据线,该数据线可以在充电数据线和充电器相连接时与充电数据线中的数据线相连接。在用户终端中,充电接口与充电控制IC相连接,充电控制IC与用户终端的电池相连接。在充电器连接电源之后,能够实现通过该充电数据线为该用户终端充电,充电过程中,充电数据线可以通过充电保护装置检测到外部充电电流值,用户终端的充电控制IC能够检测到用户终端的内部充电电流值,用户终端通过将外部充电电流值和内部充电电流值进行比较,以检测是否存在漏电流。因此,本发明实施例的充电器可以接收用户终端通过内部充电电流值和外部充电电流值的比较结果所生成的电路控制命令,进而控制电源线是否断开充电连接,以实现对 用户终端的保护。
在第一个可行的实施例中,在上述描述的基础上,所述充电保护装置1增加提示电路108、蜂鸣器109、指示灯110和振动器111。具体实现中,若所述电路控制命令还包括第一预警提示,则所述MCU101根据所述第一预警提示,通过所述提示电路108执行预警操作。所述提示电路用于控制所述蜂鸣器是否响铃、控制所述指示灯是否闪烁和/或控制所述振动器是否振动。
可选的,所述充电保护装置可以包括蜂鸣器109、指示灯110和振动器111中的一个或者几个。可以理解的是,若其中包括蜂鸣器109,则所述第一预警提示可以包括蜂鸣器109响铃的提醒方式;若其中包括指示灯110,则所述第一预警提示可以包括所述指示灯110闪烁的提醒方式;若其中包括振动器111,则所述第一预警提示可以包括振动器振动的提醒方式。
进一步,可选的,所述第一预警提示设置有所述蜂鸣器109响铃的第一时间间隔、所述指示灯110闪烁的第二时间间隔和/或振动器111振动的第三时间间隔。此时,所述MCU101根据所述第一预警提示通过所述提示电路108控制所述蜂鸣器109响铃和控制所述指示灯110闪烁具体是:通过所述提示电路108控制所述蜂鸣器109按照所述第一时间间隔响铃、控制所述指示灯110按照第二时间间隔闪烁和/或控制所述振动器111按照所述第三时间间隔振动。
进一步,举例来说,若所述充电保护装置包含指示灯110和振动器111,则所述第一预警提示可以只包括指示灯110闪烁的提醒方式,或者,只包括振动器111振动的提醒方式,或者,包括指示灯110闪烁的提醒方式和振动器111振动的提醒方式。因此,对于所述第一预警提示可以包括多种提醒方式的情况下,可以选择其中一种或者几种提醒方式进行提醒,本发明实施例对此不做限定。这样通过以上提醒方式提醒用户,能够使得用户及时了解当前的充电状况。
可选的,对于图3a所示的充电示例图中,则可以在充电保护装置1中不增加振动器111,以减少充电保护装置1的占用空间。
需要说明的是,本发明实施例除了采用时间间隔对蜂鸣器、指示灯和振动器进行设置之外,还可以通过定时器、响铃次数/闪烁次数/振动次数、不同的铃声内容/不同的指示灯颜色/不同的振动等级等方式进行设置,所述设置可以是生产厂商进行设定,也可由终端用户自行设定,本发明实施例对此不做限定。
举例来说,若所述MCU101接收到用户终端发送的电路控制命令为保持继续充电和第一预警提示,则所述MCU101向所述选通电路103发送保持通路状态的指令,并向提示电路108发送蜂鸣器109隔10s响铃一次的指令,以及指示灯110以绿色慢速闪烁的指令;若所述MCU101接收到用户终端发送的电路控制命令为断开充电和第一预警提示,则所述MCU101向所述选通电路103发送变更为断路状态的指令,并向提示电路108发送蜂鸣器109持续响铃的指令,以及指示灯110以红色快速闪烁的指令;若未收到用户终端发送的电路控制命令,则所述MCU101不向所述选通电路103发送指令,这样蜂鸣器109和指示灯110可以保持默认状态(例如,默认状态为蜂鸣器109不响铃、指示灯110不闪烁且未点亮的状态)。
在第二个可行的实施例中,在没有增加提示电路108、蜂鸣器109、指示灯110和振动器111的基础上,或在增加提示电路108、蜂鸣器109和指示灯110和振动器111的基础上,所述充电保护装置1还包括温度检测电路107。所述温度检测电路107用于检测所述充电线缆的温度值。
具体的,所述温度检测电路107将检测的所述充电线缆的温度值传输至所述用户终端,以使所述用户终端根据所述充电线缆的温度值,确定是否生成电路控制命令;所述MCU101接收所述用户终端发送的所述电路控制命令,并根据所述电路控制命令,控制所述选通电路103处于所述通路状态或处于所述断路状态。
其中,若所述电路控制命令为保持继续充电,则所述MCU101控制所述选通电路103处于所述通路状态;若所述电路控制命令为断开充电,则所述MCU101控制所述选通电路103处于所述断路状态。
可选的,对于图3a所示的充电示例图中,所述充电保护装置1可以设置于靠近与用户终端充电接口相连接的USB接口的位置,这样所述温度检测电路107能够更加准确的检测到充电接口附近的温度,能够更好的保护用户终端。其中,所述温度检测电路107也可设置为多个。
可选的,对于图3b所示的充电示例图中,所述充电保护装置1中除温度检测电路107之外的模块可以设置于充电器中,温度检测电路107可以单独设置于充电数据线中靠近与用户终端充电接口相连接的USB接口的位置,这样所述温度检测电路107能够更加准确的检测到充电接口附近的温度,能够更好 的保护用户终端。
进一步,若所述充电保护装置1还包括提示电路108、蜂鸣器109、指示灯110和振动器111,则所述MCU101还可以接收用户终端发送的携带第一预警提示的电路控制命令,所述MCU101根据所述第一预警提示,通过所述提示电路108执行预警操作。
需要说明的是,这里的第一预警提示可以参见在第一个可行的实施例中介绍的第一预警提示,在此不再赘述。
在第三个可行的实施例中,在上述各个可行的实施例的基础上,所述充电保护装置1还包括电压检测电路106,所述电压检测电路106设置于所述电源线上。
具体的,所述电压检测电106路检测所述电源线的外部充电电压值,所述电压检测电路106将所述外部充电电压值传输至所述MCU101;所述MCU101通过所述I/O接口105将所述外部充电电压值传输至所述用户终端,以使所述用户终端根据所述外部充电电压值,确定是否生成所述电路控制命令;所述MCU101接收所述用户终端发送的所述电路控制命令,并根据所述电路控制命令,控制所述选通电路103处于所述通路状态或处于所述断路状态。
其中,若所述电路控制命令为保持继续充电,则所述MCU101控制所述选通电路103处于所述通路状态;若所述电路控制命令为断开充电,则所述MCU101控制所述选通电路103处于所述断路状态。
在本发明实施例中,通过对充电电流值、充电电压值、充电线缆的温度的实时监测,使得用户终端监控到当前充电过程中是否存在漏电流、充电电压是否过高、温度是否过高,并在存在漏电流、电压过高或温度过高的情况下及时通过充电保护装置断开电源线的连接,以实现对用户终端的保护。另外,通过充电电流值、充电电压值、充电线缆的温度的三重检测,能够在充电过程中更好的保护用户终端。
请参见图4为本发明实施例提供了一种充电方法的流程示意图。图4所示的实施例是从充电保护装置和用户终端两侧共同阐述的,其中,所述充电保护装置可以参见图2所示实施例中的充电保护装置,在图4所示实施例中,由于所述充电保护装置可以设置于充电器中,或者,可以设置于充电数据线中,因 此所述充电保护装置通过充电器或充电数据线与供电装置相连接,充电数据线的USB接口与用户终端的充电接口相连接。该方法可以包括步骤101至步骤107。
101,充电保护装置检测流经所述电源线的外部充电电流值。
具体的,所述充电保护装置通过电流检测电路检测流经所述电源线的外部充电电流值,可以理解的是,在为用户终端充电的过程中,供电装置的电流是由充电保护装置传输至用户终端的,因此,电流是先经过充电保护装置,再传输至所述用户终端的,因此,本发明实施例可以通过外部充电电流值和内部充电电流值进行比较,以确定当前充电过程中是否存在漏电流。
102,所述充电保护装置向用户终端发送所述外部充电电流值。
具体的,所述充电保护装置将所述外部充电电流值通过数据线发送至所述用户终端,相应地,所述用户终端接收所述充电保护装置发送的外部充电电流值,使得所述用户终端监控到当前充电过程中的外部充电电流值。
103,用户终端检测内部充电电流值。
可选的,所述用户终端内部配置有充电控制IC,充电控制IC用于检测流经用户终端的电池的内部充电电流值。
可行的方案中,所述用户终端可以判断所述内部充电电流值是否大于第四电流阈值,所述第四电流阈值表示该用户终端可以承受的最大充电电流值,若所述内部充电电流值小于或等于所述第四电流阈值,则执行步骤104。若所述内部充电电流值大于所述第四电流阈值,一种方案中,所述用户终端继续执行步骤104,以检测是否存在漏电流,并且所述用户终端通过充电控制IC执行限流操作,以使内部充电电流值减小至小于或等于所述第四电流阈值的范围内;另一种方案中,所述用户终端不执行步骤104,直接生成断开充电的电路控制命令,并执行步骤106向所述充电保护装置发送所述电路控制命令,以使所述充电保护装置接收到断开充电的电路控制命令之后,通过所述充电保护装置断开电源线的连接,以保护用户终端。
104,所述用户终端计算所述外部充电电流值和所述内部充电电流值的电流差值。
具体的,所述用户终端计算充电保护装置检测的外部充电电流值和所述用户终端自身检测的内部充电电流值的电流差值。电流差值可以用于检测当前充 电过程中是否存在漏电流。在不存在漏电流的情况下,外部充电电流值和内部充电电流值的电流差值小于第一电流阈值(例如,第一电流阈值为5毫安,或1毫安),若外部充电电流值和内部充电电流的电流差值大于第一电流阈值,则说明当前充电过程中存在漏电流。
105,所述用户终端根据所述电流差值,确定是否生成电路控制命令。
具体的,若所述电流差值大于第一电流阈值且小于第二电流阈值,则所述用户终端确定生成的所述电路控制命令为保持继续充电;若所述电流差值大于所述第二电流阈值且小于第三电流阈值,则所述用户终端确定生成的所述电路控制命令为断开充电。可以理解的是,若所述电流差值小于所述第一电流阈值,则所述用户终端不生成电路控制命令。其中,所述第一电流阈值、第二电流阈值、第三电流阈值为大于或者等于0的实数。
需要说明的是,本发明实施例中将是否生成电路控制命令通过第一电流阈值、第二电流阈值、第三电流阈值分成三种情况,对于电流差值等于第一电流阈值、等于第二电流阈值、等于第三电流阈值的情况可以分别增加至以各自阈值为临界值的一个分类中,且不能在不同分类中同时增加等于同一个阈值的条件。例如,等于第二电流阈值的情况可以增加至若所述电流差值大于第一电流阈值且小于或等于第二电流阈值,则确定生成的所述电路控制命令为保持继续充电的方案中,或者,等于第二电流阈值的情况可以增加至若所述电流差值大于或等于所述第二电流阈值且小于第三电流阈值,则确定生成的所述电路控制命令为断开充电的方案中。
可选的,若所述电流差值大于所述第一电流阈值且小于所述第二电流阈值,则所述用户终端在显示界面中输出第一弹窗提示,所述第一弹窗提示为用于提示当前充电过程中存在所述电流差值的提示消息。举例来说,请一并参见图5a,为本发明实施例提供了一种提示示例图,如图5a所示,若所述电流差值大于所述第一电流阈值且小于所述第二电流阈值,表示当前充电过程中存在电流值较小的漏电流,可以通过图5a中的警告提示告知用户,警告提示能够提示用户检查用户终端的充电接口是否存在进液或腐蚀等问题,以防烧毁充电接口。
若所述电流差值大于所述第二电流阈值且小于所述第三电流阈值,则所述用户终端在显示界面中输出第二弹窗提示,所述第二弹窗提示为用于提示当前 充电过程中存在所述电流差值和已断开充电的提示消息。举例来说,请一并参见图5b,为本发明实施例提供了另一种提示示例图,如图5b所示,若所述电流差值大于所述第二电流阈值且小于所述第三电流阈值,表示当前充电过程中存在电流值较大的漏电流,可以通过图5b中的警告提示告知用户,警告提示能够提示用户充电已断开以及提示用户及时检查用户终端的充电接口是否存在进液或腐蚀等问题。
106,所述用户终端向所述充电保护装置发送电路控制命令。
具体的,所述用户终端通过数据线将所述电路控制命令发送至所述充电保护装置。
相应地,所述充电保护装置接收所述用户终端发送的所述电路控制命令。可以理解的是,若未接收到所述用户终端发送的电路控制命令的情况下,所述充电保护装置保持继续充电的状态,即电源线保持充电连接。
107,所述充电保护装置按照所述电路控制命令,控制所述电源线是否断开充电连接。
具体的,在为用户终端充电的过程中,若接收到的所述电路控制命令为保持继续充电,则所述充电保护装置控制所述电源线保持充电连接;若接收到的所述电路控制命令为断开充电,则所述充电保护装置控制所述电源线断开充电连接。其中,所述充电保护装置可以通过控制选通电路保持处于通路状态使得电源线保持充电连接,所述充电保护装置可以通过控制选通电路变更为断路状态,使得电源线断开充电连接。
可行的方案中,若所述电路控制命令携带第一预警提示,则所述充电保护装置根据所述第一预警提示,执行预警操作。可选的,所述第一预警提示携带至少一种提醒方式和执行每种提醒方式的时间间隔;这样所述充电保护装置按照所述每种提醒方式的时间间隔执行所述每种提醒方式对应的操作。可选的,本发明实施例中的提醒方式可以包括但不限定于蜂鸣器响铃方式、指示灯闪烁方式和振动器振动方式中的至少一种。需要说明的是,本发明实施例除了采用时间间隔对蜂鸣器、指示灯和振动器进行设置之外,还可以通过定时器、响铃次数/闪烁次数/振动次数、不同的铃声内容/不同的指示灯颜色/不同的振动等级等方式进行设置,所述设置可以是生产厂商进行设定,也可由终端用户自行设定,本发明实施例对此不做限定。
在本发明实施例中,通过对充电电流值的实时监测,使得用户终端监控到当前充电过程中是否存在漏电流,并在存在漏电流的情况下及时通过充电保护装置断开电源线的连接,以实现对用户终端的保护。
请参见图6为本发明实施例提供了一种充电方法的流程示意图。图6所示的实施例是从充电保护装置和用户终端两侧共同阐述的,其中,所述充电保护装置可以参见图2所示实施例中的充电保护装置,在图6所示实施例中,由于所述充电保护装置可以设置于充电器中,或者,可以设置于充电数据线中,因此所述充电保护装置通过充电器或充电数据线与供电装置相连接,充电数据线的USB接口与用户终端的充电接口相连接。该方法可以包括步骤201至步骤213。
201,充电保护装置检测流经所述电源线的外部充电电流值。
具体的,所述充电保护装置通过电流检测电路检测流经所述电源线的外部充电电流值,可以理解的是,在为用户终端充电的过程中,供电装置的电流是由充电保护装置传输至用户终端的,因此,电流是先经过充电保护装置,再传输至所述用户终端的,因此,本发明实施例可以通过外部充电电流值和内部充电电流值进行比较,以确定当前充电过程中是否存在漏电流。
202,所述充电保护装置向用户终端发送所述外部充电电流值。
具体的,所述充电保护装置将所述外部充电电流值通过数据线发送至所述用户终端,相应地,所述用户终端接收所述充电保护装置发送的外部充电电流值,使得所述用户终端获知当前充电过程中的外部充电电流值。
203,用户终端检测内部充电电流值。
可选的,所述用户终端内部配置有充电控制IC,充电控制IC用于检测流经用户终端的电池的内部充电电流值。
204,所述用户终端计算所述外部充电电流值和所述内部充电电流值的电流差值。
205,所述用户终端根据所述电流差值,确定是否生成电路控制命令。
206,所述充电保护装置接收所述用户终端发送的所述电路控制命令。
207,所述充电保护装置按照所述电路控制命令,控制所述电源线是否断开充电连接。
其中,步骤203至步骤207可以参见图4所示实施例中对应步骤的详细介绍,在此不再赘述。
208,所述充电保护装置检测所述充电线缆的温度值。
具体的,所述充电保护装置通过内置的温度检测电路检测所述充电线缆的温度值。在对用户终端充电的过程中,充电接口处的温度过高,会导致充电接口以及充电保护装置被烧毁的可能,因此,若温度检测电路靠近与用户终端中充电接口相连接的USB接口的位置时,能够更加准确的检测充电接口附近的温度,提高检测准确率。
可选的,所述充电保护装置可以并行检测外部充电电流值和充电线缆的温度值,因此步骤201和步骤208并无先后顺序之分。
209,所述充电保护装置向所述用户终端发送所述充电线缆的温度值。
具体的,所述充电保护装置将所述充电线缆的温度值通过数据线发送至所述用户终端,相应地,所述用户终端接收所述充电保护装置发送的充电线缆的温度,使得所述用户终端获知当前充电过程中的充电线缆的温度。
210,所述用户终端根据所述充电线缆的温度值确定是否生成电路控制命令。
具体的,若所述充电线缆的温度值大于第一温度阈值且小于第二温度阈值,则所述用户终端确定生成的所述电路控制命令为保持继续充电;若所述充电线缆的温度值大于第二温度阈值,则所述用户终端确定生成的所述电路控制命令为断开充电。可以理解的是,若所述充电线缆的温度值小于所述第一温度阈值,则所述用户终端不生成电路控制命令。其中,所述第一温度阈值、第二温度阈值、第三温度阈值为大于或者等于0的实数。
需要说明的是,本发明实施例中将是否生成电路控制命令通过第一温度阈值、第二温度阈值、第三温度阈值分成三种情况,对于充电线缆的温度值等于第一温度阈值、等于第二温度阈值、等于第三温度阈值的情况可以分别增加至以各自阈值为临界值的一个分类中,且不能在不同分类中同时增加等于同一个阈值的条件。例如,等于第二温度阈值的情况可以增加至若所述充电线缆的温度值大于第一温度阈值且小于或等于第二温度阈值,则确定生成的所述电路控制命令为保持继续充电的方案中,或者,等于第二温度阈值的情况可以增加至若所述充电线缆的温度值大于或等于所述第二温度阈值且小于第三温度阈值, 则确定生成的所述电路控制命令为断开充电的方案中。
可选的,若所述充电线缆的温度值大于所述第一温度阈值且小于所述第二温度阈值,则所述用户终端在显示界面中输出第三弹窗提示,所述第三弹窗提示为用于提示当前充电过程中所述充电线缆的温度值过高的提示消息。举例来说,请一并参见图7a,为本发明实施例提供了另一种提示示例图,如图7a所示,若所述充电线缆的温度值大于所述第一温度阈值且小于所述第二温度阈值,表示当前充电过程中有可能因短路而持续发热,可以通过图7a中的警告提示告知用户,警告提示能够提示用户检查充电保护装置的第二USB接口与用户终端的充电接口之间是否存在异常,以防因持续发热烧毁充电接口。
若所述充电线缆的温度值大于所述第二温度阈值且小于所述第三温度阈值,则所述用户终端在显示界面中输出第四弹窗提示,所述第四弹窗提示为包含当前充电过程中所述充电线缆的温度值过高和已断开充电的提示消息。举例来说,请一并参见图7b,为本发明实施例提供了另一种提示示例图,如图7b所示,若所述充电线缆的温度值大于所述第二温度阈值且小于所述第三温度阈值,表示当前充电过程中温度过高,可以通过图7b中的警告提示告知用户,警告提示能够提示用户充电已断开以及提示用户及时检查充电保护装置的第二USB接口与用户终端的充电接口之间是否存在异常。
在步骤210之后,若所述用户终端确定生成电路控制命令,则执行步骤206向充电保护装置发送电路控制命令和步骤207按照电路控制命令,控制电源线是否断开充电连接的步骤。具体可以参照图4所示实施例中对应步骤的具体介绍,在此不再赘述。
211,所述充电保护装置检测所述电源线的外部充电电压值。
具体的,所述充电保护装置通过内置的电压检测电路检测所述电源线的外部充电电压值。
可选的,所述充电保护装置可以并行检测外部充电电流值、充电线缆的温度值、电源线的外部充电电压值,因此步骤201、步骤208和步骤211并无先后顺序之分。
212,所述充电保护装置向所述用户终端发送所述外部充电电压值。
具体的,所述充电保护装置将所述外部充电电压值通过数据线发送至所述用户终端,相应地,所述用户终端接收所述充电保护装置发送的外部充电电压 值,使得所述用户终端获知当前充电过程中的外部充电电压值。
213,所述用户终端根据所述电源线的外部充电电压值确定是否生成电路控制命令。
具体的,若所述电源线的外部充电电压值大于第一电压阈值且小于第二电压阈值,则所述用户终端确定生成的所述电路控制命令为保持继续充电;若所述电源线的外部充电电压值大于第二电压阈值,则所述用户终端确定生成的所述电路控制命令为断开充电。可以理解的是,若所述电源线的外部充电电压值小于所述第一电压阈值,则所述用户终端不生成电路控制命令。其中,所述第一电压阈值、第二电压阈值、第三电压阈值为大于或者等于0的实数。
需要说明的是,本发明实施例中将是否生成电路控制命令通过第一电压阈值、第二电压阈值、第三电压阈值分成三种情况,对于电源线的外部充电电压值等于第一电压阈值、等于第二电压阈值、等于第三电压阈值的情况可以分别增加至以各自阈值为临界值的一个分类中,且不能在不同分类中同时增加等于同一个阈值的条件。例如,等于第二电压阈值的情况可以增加至若所述电源线的外部充电电压值大于第一电压阈值且小于或等于第二电压阈值,则确定生成的所述电路控制命令为保持继续充电的方案中,或者,等于第二电压阈值的情况可以增加至若所述电源线的外部充电电压值大于或等于所述第二电压阈值且小于第三电压阈值,则确定生成的所述电路控制命令为断开充电的方案中。
可选的,若所述电源线的外部充电电压值大于所述第一电压阈值且小于所述第二电压阈值,则所述用户终端在显示界面中输出第五弹窗提示,所述第五弹窗提示为用于提示当前充电过程中所述电源线的外部充电电压值过高的提示消息。举例来说,若所述电源线的外部充电电压值大于所述第一电压阈值且小于所述第二电压阈值,表示当前充电过程中充电电压过高,可以通过警告提示告知用户,警告提示能够提示用户当前充电电压较高,用户可以自主确定是否继续充电。
若所述电源线的外部充电电压值大于所述第二电压阈值且小于所述第三电压阈值,则所述用户终端在显示界面中输出第六弹窗提示,所述第六弹窗提示为包含当前充电过程中所述电源线的外部充电电压值过高和已断开充电的提示消息。举例来说,若所述电源线的外部充电电压值大于所述第二电压阈值且小于所述第三电压阈值,表示当前充电过程中电压过高,可以通过警告提示 告知用户,警告提示能够提示用户充电已断开以及提示用户充电电压过高的情况。
在步骤213之后,若所述用户终端确定生成电路控制命令,则执行步骤206向充电保护装置发送电路控制命令和步骤207按照电路控制命令,控制电源线是否断开充电连接的步骤。具体可以参照图4所示实施例中对应步骤的具体介绍,在此不再赘述。
可选的,所述用户终端还可以将内部充电电流值和外部充电电流值在显示界面中输出。
可选的,所述用户终端还可以将充电线缆的温度在显示界面中输出。
可选的,所述用户终端还可以将外部充电电压值再显示界面中输出。
需要说明的是,在本发明实施例中,步骤208和步骤209是针对充电保护装置中内置温度检测电路的情况下执行的,因此,一旦所述充电保护装置中包括温度检测电路,即可执行步骤208和步骤209的方案。由于若充电接口存在漏电流并长时间处于充电状态的话,充电保护装置中的充电线缆也会持续发热,通过检测充电线缆的温度,能够降低充电保护装置被烧毁的概率,进一步,若温度检测电路靠近连接用户终端的充电接口的USB接口的位置时,能够更加准确的检测充电接口附近的温度,提高检测准确率。
另一个需要说明的是,在本发明实施例中,步骤211和步骤212是针对充电保护装置中内置电压检测电路的情况下执行的,因此,一旦所述充电保护装置中内置温度检测电路,即可执行步骤211和步骤212。
可选的,在所述电源线断开充电连接的情况下,若检测到与所述供电装置的连接断开或与所述用户终端的充电接口的连接断开,所述充电保护装置控制所述电源线建立充电连接。这样一旦电源线断开充电连接之后,能够在充电保护装置不在为用户终端充电的情况下,将电源线恢复至充电连接的状态,以便于充电保护装置对下一次的充电连接进行保护。
可选的,在所述用户终端生成电路控制命令的情况下,则所述用户终端按照预设的第二预警提示执行预警操作,其中所述第二预警提示包含至少一种提醒方式。举例来说,所述提醒方式可以包括声音提醒方式、闪光提醒方式、振动提醒方式中的一种或者多种,且第二预警提示中的提醒方式并不限定于这几种。由于电路控制命令可以为保持继续充电或断开充电的命令,因此,针对不 同的命令,所述用户终端可以设置不同的提醒方式,这样通过以上提醒方式提醒用户,能够使得用户及时了解当前的充电状况。
举例来说,若所述电路控制命令为保持继续充电,则所述用户终端可以以第一种铃声进行声音提醒;又举例来说,若所述电路控制命令为断开充电,则所述用户终端可以以第二种铃声进行声音提醒并振动提醒。
在本发明实施例中,通过对充电电流值、充电电压值、充电线缆的温度的实时监测,使得用户终端监控到当前充电过程中是否存在漏电流、充电电压是否过高、温度是否过高,并在存在漏电流、电压过高或温度过高的情况下及时通过充电保护装置断开电源线的连接,以实现对用户终端的保护。另外,通过充电电流值、充电电压值、充电线缆的温度的三重检测,能够在充电过程中更好的保护用户终端。
请参见图8,为本发明实施例提供了一种充电数据线的模块化示意图。如图8所示,本发明实施例的所述充电数据线1可以包括:检测单元11、发送单元12、接收单元13和控制单元14。
所述控制单元14用于通过所述检测单元11检测所述电源线的外部充电电流值;
所述控制单元14还用于通过所述发送单元12向用户终端发送所述外部充电电流值,以使所述用户终端计算所述外部充电电流值和所述用户终端检测到的内部充电电流值的电流差值,根据所述电流差值确定是否生成电路控制命令;
所述控制单元14还用于通过所述接收单元13接收所述用户终端发送的所述电路控制命令;
所述控制单元14还用于按照所述电路控制命令,控制所述电源线是否断开充电连接。
在一种可能的实施例中,所述控制单元14还用于通过所述检测单元11检测所述充电线缆的温度值,并向所述用户终端发送所述充电线缆的温度值,以使所述用户终端根据所述充电线缆的温度值确定是否生成电路控制命令。
在一种可能的实施例中,所述控制单元14还用于通过所述检测单元11检测所述电源线的外部充电电压值,并向所述用户终端发送所述外部充电电压值,以使所述用户终端根据所述外部充电电压值确定是否生成电路控制命令。
在一种可能的实施例中,在所述按照所述电路控制命令,控制所述电源线是否断开充电连接方面,所述控制单元14具体用于:
若所述电路控制命令为保持继续充电,则控制所述电源线保持充电连接;
若所述电路控制命令为断开充电,则控制所述电源线断开充电连接。
在一种可能的实施例中,所述控制单元14,还用于若所述电路控制命令设置有第一预警提示,则根据所述第一预警提示,执行预警操作。
在一种可能的实施例中,所述第一预警提示设置有至少一种提醒方式和执行每种提醒方式的时间间隔;
所述控制单元14具体用于若所述电路控制命令设置有第一预警提示,则按照所述每种提醒方式的时间间隔执行所述每种提醒方式对应的操作。
在一种可能的实施例中,所述控制单元14,还用于在所述电源线断开充电连接的情况下,若检测到与所述供电装置的连接断开或与所述用户终端的充电接口的连接断开,控制所述电源线建立充电连接。
需要说明的是,本发明实施例所描述的充电数据线1中各功能单元的功能及有益效果可根据上述附图4或图5所示方法实施例中的方法具体描述,此处不再赘述。
在本实施例中,充电数据线1是以功能单元的形式来呈现。这里的“单元”可以指特定应用集成电路(application-specific integrated circuit,ASIC),电路,执行一个或多个软件或固件程序的处理器,集成逻辑电路,和/或其他可以提供上述功能的器件。在一个简单的实施例中,本领域的技术人员可以想到充电数据线1可以采用图2所示的形式。
在本发明实施例中还提供了一种计算机存储介质,用于储存为上述图8所示的充电数据线1所用的计算机软件指令,其包含用于执行上述方面为充电数据线1所设计的程序。
请参见图9,为本发明实施例提供了一种用户终端2的模块化示意图。如图9所示,本发明实施例的所述用户终端2可以包括:检测单元21、接收单元22、处理单元23和发送单元24。可选的,所述用户终端2还可以包括第一输出单元25、第二输出单元26、第三输出单元27和/或第四输出单元28。
所述处理单元23用于通过所述检测单元21检测内部充电电流值;
所述处理单元23还用于通过所述接收单元22接收所述充电保护装置发送的外部充电电流值;
所述处理单元23,还用于计算所述外部充电电流值和所述内部充电电流值的电流差值;
所述处理单元23,还用于根据所述电流差值,确定是否生成电路控制命令;
所述处理单元23还用于若生成电路控制命令,通过所述发送单元24则向所述充电保护装置发送所述电路控制命令。
在一种可能的实施例中,在所述根据所述电流差值,确定是否生成电路控制命令方面,所述处理单元23具体用于:
若所述电流差值大于第一电流阈值且小于第二电流阈值,则确定生成的所述电路控制命令为保持继续充电;
若所述电流差值大于所述第二电流阈值且小于第三电流阈值,则确定生成的所述电路控制命令为断开充电。
在一种可能的实施例中,所述用户终端2还包括第一输出单元25:
所述处理单元23还用于若所述电流差值大于所述第一电流阈值且小于所述第二电流阈值,则通过所述第一输出单元25在显示界面中输出第一弹窗提示,所述第一弹窗提示为用于提示当前充电过程中存在所述电流差值的提示消息;
所述处理单元23还用于若所述电流差值大于所述第二电流阈值且小于所述第三电流阈值,则通过所述第一输出单元25在显示界面中输出第二弹窗提示,所述第二弹窗提示为用于提示当前充电过程中存在所述电流差值和已断开充电的提示消息。
在一种可能的实施例中,所述处理单元23还用于通过所述接收单元22接收所述充电保护装置发送的充电线缆的温度;
所述处理单元23,还用于根据所述充电线缆的温度值,确定是否生成电路控制命令。
在一种可能的实施例中,在所述根据所述充电线缆的温度值,确定是否生成电路控制命令方面,所述处理单元23具体用于:
若所述充电线缆的温度值大于第一温度阈值且小于第二温度阈值,则确定生成的所述电路控制命令为保持继续充电;
若所述充电线缆的温度值大于第二温度阈值,则确定生成的所述电路控制命令为断开充电。
在一种可能的实施例中,所述用户终端2还包括第二输出单元26:
所述处理单元23还用于若所述充电线缆的温度值大于所述第一温度阈值且小于所述第二温度阈值,则通过第二输出单元26在显示界面中输出第三弹窗提示,所述第三弹窗提示为用于提示当前充电过程中所述充电线缆的温度值过高的提示消息;
所述处理单元23还用于若所述充电线缆的温度值大于所述第二温度阈值且小于所述第三温度阈值时,则通过第二输出单元26在显示界面中输出第四弹窗提示,所述第四弹窗提示为包含当前充电过程中所述充电线缆的温度值过高和已断开充电的提示消息。
在一种可能的实施例中,所述处理单元23还用于通过所述接收单元22接收所述充电保护装置发送的外部充电电压值;
所述处理单元23,还用于根据所述外部充电电压值,确定是否生成电路控制命令。
在一种可能的实施例中,在所述根据所述外部充电电压值,确定是否生成电路控制命令方面,所述处理单元23具体用于:
若所述外部充电电压值大于第一电压阈值且小于第二电压阈值,则确定生成的所述电路控制命令为保持继续充电;
若所述外部充电电压值大于第二电压阈值,则确定生成的所述电路控制命令为断开充电。
在一种可能的实施例中,所述用户终端2还包括第三输出单元27:
所述处理单元23还用于若所述外部充电电压值大于所述第一电压阈值且小于所述第二电压阈值,则通过第三输出单元27在显示界面中输出第五弹窗提示,所述第五弹窗提示为用于提示当前充电过程中所述外部充电电压值过高的提示消息;
所述处理单元23还用于若所述外部充电电压值大于所述第二电压阈值且小于所述第三电压阈值时,则通过第三输出单元27在显示界面中输出第六弹 窗提示,所述第六弹窗提示为包含当前充电过程中所述外部充电电压值过高和已断开充电的提示消息。
在一种可能的实施例中,所述用户终端2还包括第四输出单元28:
所述处理单元23还用于通过所述第四输出单元28在显示界面中输出所述内部充电电流值、所述外部充电电流值和所述外部充电电压值。
在一种可能的实施例中,所述电路控制命令设置有第一预警提示,所述第一预警提示用于指示所述充电保护装置根据所述第一预警提示执行预警操作。
在一种可能的实施例中,所述第一预警提示设置有至少一种提醒方式和执行每种提醒方式的时间间隔。
在一种可能的实施例中,所述处理单元23,还用于若生成电路控制命令,则按照预设的第二预警提示执行预警操作,其中所述第二预警提示包含至少一种提醒方式。
需要说明的是,本发明实施例所描述的用户终端2中各功能单元的功能及有益效果可根据上述附图4或图5所示方法实施例中的方法具体描述,此处不再赘述。
在本实施例中,用户终端2是以功能单元的形式来呈现。这里的“单元”可以指特定应用集成电路(application-specific integrated circuit,ASIC),电路,执行一个或多个软件或固件程序的处理器,集成逻辑电路,和/或其他可以提供上述功能的器件。在一个简单的实施例中,本领域的技术人员可以想到图9所示实施例中的用户终端可以以图10所示的用户终端实现。如图10所示,为本发明实施例提供的用户终端的结构示意图。所述用户终端2000包括至少一个处理器2001、总线2002、收发器2004和充电控制IC2005。
处理器2001和收发器2004相连,如通过总线2002相连。可选的,所述用户终端2000还可以包括存储器2003,存储器2003用于存储用户终端1000的数据或者存储执行本发明方案的应用程序代码,并由处理器2001来控制执行。处理器2001用于执行存储器2003中存储的应用程序代码,以实现图4或图5所示任一实施例中用户终端的动作。
进一步,可选的,所述用户终端2000还可以包括音频系统2006、振动器 2007和/或显示系统2008。音频系统2006用于音频信号的输出。振动器2007用于执行振动操作。显示系统2008用于信息的输出显示以及接收用户输入的操作。
需要说明的是,实际应用中不限定收发器2004的数量,该用户终端2000的结构并不构成对本发明实施例的限定。
其中,处理器2001在本发明实施例中用于实现图9所示的处理单元23的功能。收发器2004包括接收机和发射机,收发器2004在本发明实施例中用于实现图9所示的接收单元22和发送单元24的功能;充电控制IC在本发明实施例中用于实现图9所示的检测单元21。显示系统2008在本发明实施例中用于实现图9所示的第一输出单元25、第二输出单元26、第三输出单元27和/或第四输出单元28。音频系统2006和振动器2007用于输出处理器2001执行的第二预警提示中的多种提醒方式。
处理器2001可以是中央处理器(Central Processing Unit,CPU),通用处理器,数字信号处理(Digital Signal Processing,DSP),集成电路(Application Specific Integrated Circuit,ASIC),现场可编程逻辑门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本发明公开内容所描述的各种示例性的逻辑方框,模块和电路。处理器2001也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等等。
总线2002可包括一通路,在上述组件之间传送信息。总线2002可以是外设部件互连标准(Peripheral Component Interconnect,PCI)总线或扩展工业标准结构(Extended Industry Standard Architecture,EISA)总线等。总线2002可以分为地址总线、数据总线、控制总线等。为便于表示,图10中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。
存储器2003可以是只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)或者可存储信息和指令的其他类型的动态存储设备,也可以是电可擦可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,EEPROM)、只读光盘(Compact Disc Read-Only Memory,CD-ROM)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、 蓝光光碟等)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。
在本发明实施例中还提供了一种计算机存储介质,用于储存为上述用户终端所用的计算机软件指令,其包含用于执行上述方面为用户终端所设计的程序。
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为根据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。
本发明实施例方法中的步骤可以根据实际需要进行顺序调整、合并和删减。
本发明实施例装置中的单元可以根据实际需要进行合并、划分和删减。本领域的技术人员可以将本说明书中描述的不同实施例以及不同实施例的特征进行结合或组合。
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到本发明可以用硬件实现,或固件实现,或它们的组合方式来实现。当使用软件实现时,可以将上述功能存储在计算机可读介质中或作为计算机可读介质上的一个或多个指令或代码进行传输。计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是计算机能够存取的任何可用介质。以此为例但不限于:计算机可读介质可以包括随机存取存储器(Random Access Memory,RAM)、只读存储器(Read-Only Memory,ROM)、电可擦可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,EEPROM)、只读光盘(Compact Disc Read-Only Memory,CD-ROM)或其他光盘存储、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质。此外。任何连接可以适当的成为计算机可读介质。例如,如果软件是使用同轴电缆、光纤光缆、双绞线、数字用户线(Digital Subscriber Line,DSL)或者诸如红外线、无线电和微波之类的无线 技术从网站、服务器或者其他远程源传输的,那么同轴电缆、光纤光缆、双绞线、DSL或者诸如红外线、无线和微波之类的无线技术包括在所属介质的定影中。如本发明所使用的,盘(Disk)和碟(disc)包括压缩光碟(CD)、激光碟、光碟、数字通用光碟(DVD)、软盘和蓝光光碟,其中盘通常磁性的复制数据,而碟则用激光来光学的复制数据。上面的组合也应当包括在计算机可读介质的保护范围之内。
总之,以上所述仅为本发明技术方案的较佳实施例而已,并非用于限定本发明的保护范围。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。

Claims (52)

  1. 一种充电保护装置,其特征在于,所述充电保护装置与充电线缆相连接,其中,所述充电线缆包括电源线和数据线;
    所述充电保护装置包括微控制单元MCU、电流检测电路、选通电路和I/O接口;
    所述电流检测电路和所述选通电路设置于所述电源线上;若所述选通电路处于通路状态,则所述电源线未断开充电连接,若所述选通电路处于断路状态,则所述电源线断开充电连接;所述I/O接口与所述数据线相连接,所述MCU通过所述I/O接口发送数据;
    所述电流检测电路检测流经所述电源线的外部充电电流值;所述电流检测电路将所述外部充电电流值传输至所述MCU;所述MCU通过所述I/O接口将所述外部充电电流值传输至所述用户终端,以使所述用户终端计算所述外部充电电流值和所述用户终端检测到的内部充电电流值的电流差值,根据所述电流差值确定是否生成电路控制命令;所述MCU接收所述用户终端发送的所述电路控制命令,并根据所述电路控制命令,控制所述选通电路处于通路状态或处于断路状态。
  2. 根据权利要求1所述的充电保护装置,其特征在于,所述充电保护装置还包括温度检测电路;
    所述温度检测电路检测所述充电线缆的温度值,并将所述充电线缆的温度值传输至所述MCU;所述MCU通过所述I/O接口将所述充电线缆的温度值传输至所述用户终端,以使所述用户终端根据所述充电线缆的温度值,确定是否生成所述电路控制命令;
    所述MCU接收所述用户终端发送的所述电路控制命令,并根据所述电路控制命令,控制所述选通电路处于所述通路状态或处于所述断路状态。
  3. 根据权利要求2所述的充电保护装置,其特征在于,所述充电保护装 置设置于靠近所述用户终端的充电接口的位置。
  4. 根据权利要求1-3任一项所述的充电保护装置,其特征在于,所述充电保护装置还包括电压检测电路,所述电压检测电路设置于所述电源线上;
    所述电压检测电路检测所述电源线的外部充电电压值,并将所述外部充电电压值传输至所述MCU;所述MCU通过所述I/O接口将所述外部充电电压值传输至所述用户终端,以使所述用户终端根据所述外部充电电压值,确定是否生成所述电路控制命令;
    所述MCU接收所述用户终端发送的所述电路控制命令,并根据所述电路控制命令,控制所述选通电路处于所述通路状态或处于所述断路状态。
  5. 根据权利要求1所述的充电保护装置,其特征在于,所述根据所述电路控制命令,控制所述选通电路处于通路状态或处于断路状态,包括:
    若所述电路控制命令为保持继续充电,则所述MCU控制所述选通电路处于所述通路状态;
    若所述电路控制命令为断开充电,则所述MCU控制所述选通电路处于所述断路状态。
  6. 根据权利要求1-5任一项所述的充电保护装置,其特征在于,所述充电保护装置还包括提示电路;所述充电保护装置还包括蜂鸣器、指示灯和/或振动器,所述提示电路用于控制所述蜂鸣器是否响铃、控制所述指示灯是否闪烁和/或控制所述振动器是否振动;
    若所述电路控制命令设置有第一预警提示,则所述MCU根据所述第一预警提示,通过所述提示电路执行预警操作。
  7. 根据权利要求6所述的充电保护装置,其特征在于,所述第一预警提示携带第一提醒方式的的第一时间间隔和第二提醒方式的的第二时间间隔;
    所述MCU根据所述第一预警提示,通过所述提示电路控制所述蜂鸣器响铃和控制所述指示灯闪烁,包括:
    所述MCU通过所述提示电路按照所述每种提醒方式的时间间隔执行所述 每种提醒方式对应的操作。
  8. 根据权利要求1-7任一项所述的充电保护装置,其特征在于,所述充电保护装置还包括接口状态检测电路,所述接口状态检测电路与所述选通电路并联;
    在所述选通电路处于所述断路状态的情况下,若所述接口状态检测电路检测到与所述供电装置的连接断开或与所述用户终端的充电接口的连接断开,则所述接口状态检测电路通知所述MCU接口的连接已断开,所述MCU控制所述选通电路处于所述通路状态。
  9. 一种充电数据线,其特征在于,所述充电数据线包括如权利要求1-8所述的充电保护装置。
  10. 一种充电器,其特征在于,所述充电器包括如权利要求1-8所述的充电保护装置。
  11. 一种充电保护装置,其特征在于,所述充电保护装置与充电线缆相连接,其中,所述充电线缆包括电源线和数据线;所述充电保护装置包括检测单元、发送单元、接收单元和控制单元:
    所述控制单元用于通过所述检测单元检测所述电源线的外部充电电流值;
    所述控制单元还用于通过所述发送单元向用户终端发送所述外部充电电流值,以使所述用户终端计算所述外部充电电流值和所述用户终端检测到的内部充电电流值的电流差值,根据所述电流差值确定是否生成电路控制命令;
    所述控制单元还用于通过所述接收单元接收所述用户终端发送的所述电路控制命令;
    所述控制单元还用于按照所述电路控制命令,控制所述电源线是否断开充电连接。
  12. 根据权利要求11所述的充电保护装置,其特征在于,
    所述控制单元还用于通过所述检测单元检测所述充电线缆的温度值,并向 所述用户终端发送所述充电线缆的温度值,以使所述用户终端根据所述充电线缆的温度值确定是否生成电路控制命令。
  13. 根据权利要求11或12所述的充电保护装置,其特征在于,
    所述控制单元还用于通过所述检测单元检测所述电源线的外部充电电压值,并向所述用户终端发送所述外部充电电压值,以使所述用户终端根据所述外部充电电压值确定是否生成电路控制命令。
  14. 根据权利要求11-13任一项所述的充电保护装置,其特征在于,在所述按照所述电路控制命令,控制所述电源线是否断开充电连接方面,所述控制单元具体用于:
    若所述电路控制命令为保持继续充电,则控制所述电源线保持充电连接;
    若所述电路控制命令为断开充电,则控制所述电源线断开充电连接。
  15. 根据权利要求14所述的充电保护装置,其特征在于,
    所述控制单元还用于若所述电路控制命令设置有第一预警提示,则根据所述第一预警提示,执行预警操作。
  16. 根据权利要求15所述的充电保护装置,其特征在于,所述第一预警提示设置有至少一种提醒方式和执行每种提醒方式的时间间隔;
    所述控制单元具体用于若所述电路控制命令设置有第一预警提示,则按照所述每种提醒方式的时间间隔执行所述每种提醒方式对应的操作。
  17. 根据权利要求11-16任一项所述的充电保护装置,其特征在于,
    所述控制单元还用于在所述电源线断开充电连接的情况下,若检测到与所述供电装置的连接断开或与所述用户终端的充电接口的连接断开,控制所述电源线建立充电连接。
  18. 一种充电数据线,其特征在于,所述充电数据线包括如权利要求11-17所述的充电保护装置。
  19. 一种充电器,其特征在于,所述充电器包括如权利要求11-17所述的充电保护装置。
  20. 一种用户终端,其特征在于,包括检测单元、接收单元、处理单元和发送单元:
    所述处理单元用于通过所述检测单元检测内部充电电流值;
    所述处理单元还用于通过所述接收单元接收所述充电保护装置发送的外部充电电流值;
    所述处理单元还用于计算所述外部充电电流值和所述内部充电电流值的电流差值;
    所述处理单元还用于根据所述电流差值,确定是否生成电路控制命令;
    所述处理单元还用于若生成电路控制命令,通过所述发送单元则向所述充电保护装置发送所述电路控制命令。
  21. 根据权利要求20所述的用户终端,其特征在于,在所述根据所述电流差值,确定是否生成电路控制命令方面,所述处理单元具体用于:
    若所述电流差值大于第一电流阈值且小于第二电流阈值,则确定生成的所述电路控制命令为保持继续充电;
    若所述电流差值大于所述第二电流阈值且小于第三电流阈值,则确定生成的所述电路控制命令为断开充电。
  22. 根据权利要求21所述的用户终端,其特征在于,所述用户终端还包括第一输出单元:
    所述处理单元还用于若所述电流差值大于所述第一电流阈值且小于所述第二电流阈值,则通过所述第一输出单元在显示界面中输出第一弹窗提示,所述第一弹窗提示为用于提示当前充电过程中存在所述电流差值的提示消息;
    所述处理单元还用于若所述电流差值大于所述第二电流阈值且小于所述第三电流阈值,则通过所述第一输出单元在显示界面中输出第二弹窗提示,所述第二弹窗提示为用于提示当前充电过程中存在所述电流差值和已断开充电 的提示消息。
  23. 根据权利要求20-22任一项所述的用户终端,其特征在于,
    所述处理单元还用于通过所述接收单元接收所述充电保护装置发送的充电线缆的温度;
    所述处理单元还用于根据所述充电线缆的温度值,确定是否生成电路控制命令。
  24. 根据权利要求23所述的用户终端,其特征在于,在所述根据所述充电线缆的温度值,确定是否生成电路控制命令方面,所述处理单元具体用于:
    若所述充电线缆的温度值大于第一温度阈值且小于第二温度阈值,则确定生成的所述电路控制命令为保持继续充电;
    若所述充电线缆的温度值大于第二温度阈值,则确定生成的所述电路控制命令为断开充电。
  25. 根据权利要求24所述的用户终端,其特征在于,所述用户终端还包括第二输出单元:
    所述处理单元还用于若所述充电线缆的温度值大于所述第一温度阈值且小于所述第二温度阈值,则通过第二输出单元在显示界面中输出第三弹窗提示,所述第三弹窗提示为用于提示当前充电过程中所述充电线缆的温度值过高的提示消息;
    所述处理单元还用于若所述充电线缆的温度值大于所述第二温度阈值且小于所述第三温度阈值时,则通过第二输出单元在显示界面中输出第四弹窗提示,所述第四弹窗提示为包含当前充电过程中所述充电线缆的温度值过高和已断开充电的提示消息。
  26. 根据权利要求20-25任一项所述的用户终端,其特征在于,
    所述处理单元还用于通过所述接收单元接收所述充电保护装置发送的外部充电电压值;
    所述处理单元还用于根据所述外部充电电压值,确定是否生成电路控制命 令。
  27. 根据权利要求26所述的用户终端,其特征在于,在所述根据所述外部充电电压值,确定是否生成电路控制命令方面,所述处理单元具体用于:
    若所述外部充电电压值大于第一电压阈值且小于第二电压阈值,则确定生成的所述电路控制命令为保持继续充电;
    若所述外部充电电压值大于第二电压阈值,则确定生成的所述电路控制命令为断开充电。
  28. 根据权利要求27所述的用户终端,其特征在于,所述用户终端还包括第三输出单元:
    所述处理单元还用于若所述外部充电电压值大于所述第一电压阈值且小于所述第二电压阈值,则通过第三输出单元在显示界面中输出第五弹窗提示,所述第五弹窗提示为用于提示当前充电过程中所述外部充电电压值过高的提示消息;
    所述处理单元还用于若所述外部充电电压值大于所述第二电压阈值且小于所述第三电压阈值时,则通过第三输出单元在显示界面中输出第六弹窗提示,所述第六弹窗提示为包含当前充电过程中所述外部充电电压值过高和已断开充电的提示消息。
  29. 根据权利要求26所述的用户终端,其特征在于,所述用户终端还包括第四输出单元:
    所述处理单元还用于通过所述第四输出单元在显示界面中输出所述内部充电电流值、所述外部充电电流值和所述外部充电电压值。
  30. 根据权利要求20-29任一项所述的用户终端,其特征在于,所述电路控制命令设置有第一预警提示,所述第一预警提示用于指示所述充电保护装置根据所述第一预警提示执行预警操作。
  31. 根据权利要求30所述的用户终端,其特征在于,所述第一预警提示 设置有至少一种提醒方式和执行每种提醒方式的时间间隔。
  32. 根据权利要求20-31任一项所述的方法,其特征在于,
    所述处理单元还用于若生成电路控制命令,则按照预设的第二预警提示执行预警操作,其中所述第二预警提示包含至少一种提醒方式。
  33. 一种充电方法,其特征在于,所述方法应用于充电保护装置中,所述充电保护装置中的充电线缆包括电源线和数据线,包括:
    所述充电保护装置检测所述电源线的外部充电电流值;
    所述充电保护装置向用户终端发送所述外部充电电流值,以使所述用户终端计算所述外部充电电流值和所述用户终端检测到的内部充电电流值的电流差值,根据所述电流差值确定是否生成电路控制命令;
    所述充电保护装置接收所述用户终端发送的所述电路控制命令;
    所述充电保护装置按照所述电路控制命令,控制所述电源线是否断开充电连接。
  34. 根据权利要求33所述的方法,其特征在于,所述充电保护装置接收所述用户终端发送的所述电路控制命令之前,还包括:
    所述充电保护装置检测所述充电线缆的温度值,并向所述用户终端发送所述充电线缆的温度值,以使所述用户终端根据所述充电线缆的温度值确定是否生成电路控制命令。
  35. 根据权利要求33或34所述的方法,其特征在于,所述充电保护装置接收所述用户终端发送的所述电路控制命令之前,还包括:
    所述充电保护装置检测所述电源线的外部充电电压值,并向所述用户终端发送所述外部充电电压值,以使所述用户终端根据所述外部充电电压值确定是否生成电路控制命令。
  36. 根据权利要求33-35任一项所述的方法,其特征在于,所述充电保护装置按照所述电路控制命令,控制所述电源线是否断开充电连接,包括:
    若所述电路控制命令为保持继续充电,则所述充电保护装置控制所述电源线保持充电连接;
    若所述电路控制命令为断开充电,则所述充电保护装置控制所述电源线断开充电连接。
  37. 根据权利要求36所述的方法,其特征在于,还包括:
    若所述电路控制命令设置有第一预警提示,则所述充电保护装置根据所述第一预警提示,执行预警操作。
  38. 根据权利要求37所述的方法,其特征在于,所述第一预警提示设置有至少一种提醒方式和执行每种提醒方式的时间间隔;
    所述若所述电路控制命令设置有第一预警提示,则所述充电保护装置根据所述第一预警提示,执行预警操作,包括:
    若所述电路控制命令设置有第一预警提示,则所述充电保护装置按照所述每种提醒方式的时间间隔执行所述每种提醒方式对应的操作。
  39. 根据权利要求33-38任一项所述的方法,其特征在于,还包括:
    在所述电源线断开充电连接的情况下,若检测到与所述供电装置的连接断开或与所述用户终端的充电接口的连接断开,所述充电保护装置控制所述电源线建立充电连接。
  40. 一种充电方法,其特征在于,包括:
    用户终端检测内部充电电流值;
    所述用户终端接收所述充电保护装置发送的外部充电电流值;
    所述用户终端计算所述外部充电电流值和所述内部充电电流值的电流差值;
    所述用户终端根据所述电流差值,确定是否生成电路控制命令;
    若生成电路控制命令,则所述用户终端向所述充电保护装置发送所述电路控制命令。
  41. 根据权利要求40所述的方法,其特征在于,所述用户终端根据所述电流差值,确定是否生成电路控制命令,包括:
    若所述电流差值大于第一电流阈值且小于第二电流阈值,则所述用户终端确定生成的所述电路控制命令为保持继续充电;
    若所述电流差值大于所述第二电流阈值且小于第三电流阈值,则所述用户终端确定生成的所述电路控制命令为断开充电。
  42. 根据权利要求41所述的方法,其特征在于,还包括:
    若所述电流差值大于所述第一电流阈值且小于所述第二电流阈值,则所述用户终端在显示界面中输出第一弹窗提示,所述第一弹窗提示为用于提示当前充电过程中存在所述电流差值的提示消息;
    若所述电流差值大于所述第二电流阈值且小于所述第三电流阈值,则所述用户终端在显示界面中输出第二弹窗提示,所述第二弹窗提示为用于提示当前充电过程中存在所述电流差值和已断开充电的提示消息。
  43. 根据权利要求40-42任一项所述的方法,其特征在于,所述若生成电路控制命令,则所述用户终端向所述充电保护装置发送所述电路控制命令之前,还包括:
    所述用户终端接收所述充电保护装置发送的充电线缆的温度;
    所述用户终端根据所述充电线缆的温度值,确定是否生成电路控制命令。
  44. 根据权利要求43所述的方法,其特征在于,所述用户终端根据所述充电线缆的温度值,确定是否生成电路控制命令,包括:
    若所述充电线缆的温度值大于第一温度阈值且小于第二温度阈值,则所述用户终端确定生成的所述电路控制命令为保持继续充电;
    若所述充电线缆的温度值大于第二温度阈值,则所述用户终端确定生成的所述电路控制命令为断开充电。
  45. 根据权利要求44所述的方法,其特征在于,还包括:
    若所述充电线缆的温度值大于所述第一温度阈值且小于所述第二温度阈 值,则所述用户终端在显示界面中输出第三弹窗提示,所述第三弹窗提示为用于提示当前充电过程中所述充电线缆的温度值过高的提示消息;
    当所述充电线缆的温度值大于所述第二温度阈值且小于所述第三温度阈值时,则所述用户终端在显示界面中输出第四弹窗提示,所述第四弹窗提示为包含当前充电过程中所述充电线缆的温度值过高和已断开充电的提示消息。
  46. 根据权利要求40-45任一项所述的方法,其特征在于,所述若生成电路控制命令,则所述用户终端向所述充电保护装置发送所述电路控制命令之前,还包括:
    所述用户终端接收所述充电保护装置发送的外部充电电压值;
    所述用户终端根据所述外部充电电压值,确定是否生成电路控制命令。
  47. 根据权利要求46所述的方法,其特征在于,所述用户终端根据所述外部充电电压值,确定是否生成电路控制命令,包括:
    若所述外部充电电压值大于第一电压阈值且小于第二电压阈值,则所述用户终端确定生成的所述电路控制命令为保持继续充电;
    若所述外部充电电压值大于第二电压阈值,则所述用户终端确定生成的所述电路控制命令为断开充电。
  48. 根据权利要求47所述的方法,其特征在于,还包括:
    若所述外部充电电压值大于所述第一电压阈值且小于所述第二电压阈值,则所述用户终端在显示界面中输出第五弹窗提示,所述第五弹窗提示为用于提示当前充电过程中所述外部充电电压值过高的提示消息;
    当所述外部充电电压值大于所述第二电压阈值且小于所述第三电压阈值时,则所述用户终端在显示界面中输出第六弹窗提示,所述第六弹窗提示为包含当前充电过程中所述外部充电电压值过高和已断开充电的提示消息。
  49. 根据权利要求46所述的方法,其特征在于,还包括:
    所述用户终端在显示界面中输出所述内部充电电流值、所述外部充电电流值和所述外部充电电压值。
  50. 根据权利要求40-49任一项所述的方法,其特征在于,所述电路控制命令设置有第一预警提示,所述第一预警提示用于指示所述充电保护装置根据所述第一预警提示执行预警操作。
  51. 根据权利要求50所述的方法,其特征在于,所述第一预警提示设置有至少一种提醒方式和执行每种提醒方式的时间间隔。
  52. 根据权利要求40-51任一项所述的方法,其特征在于,还包括:
    若生成电路控制命令,则所述用户终端按照预设的第二预警提示执行预警操作,其中所述第二预警提示包含至少一种提醒方式。
PCT/CN2016/105856 2016-11-15 2016-11-15 一种充电方法及相关设备 WO2018090174A1 (zh)

Priority Applications (7)

Application Number Priority Date Filing Date Title
PCT/CN2016/105856 WO2018090174A1 (zh) 2016-11-15 2016-11-15 一种充电方法及相关设备
US16/095,848 US10630091B2 (en) 2016-11-15 2016-11-15 Charging method and related device
CN202110072611.7A CN112803539B (zh) 2016-11-15 2016-11-15 一种充电方法及相关设备
CN201680080947.5A CN108604805B (zh) 2016-11-15 2016-11-15 一种充电方法及相关设备
JP2018552007A JP6685429B2 (ja) 2016-11-15 2016-11-15 充電方法および関連デバイス
US16/828,508 US11128154B2 (en) 2016-11-15 2020-03-24 Charging method and related device
US17/458,904 US11658494B2 (en) 2016-11-15 2021-08-27 Charging method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/105856 WO2018090174A1 (zh) 2016-11-15 2016-11-15 一种充电方法及相关设备

Related Child Applications (2)

Application Number Title Priority Date Filing Date
US16/095,848 A-371-Of-International US10630091B2 (en) 2016-11-15 2016-11-15 Charging method and related device
US16/828,508 Continuation US11128154B2 (en) 2016-11-15 2020-03-24 Charging method and related device

Publications (1)

Publication Number Publication Date
WO2018090174A1 true WO2018090174A1 (zh) 2018-05-24

Family

ID=62144979

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/105856 WO2018090174A1 (zh) 2016-11-15 2016-11-15 一种充电方法及相关设备

Country Status (4)

Country Link
US (3) US10630091B2 (zh)
JP (1) JP6685429B2 (zh)
CN (2) CN112803539B (zh)
WO (1) WO2018090174A1 (zh)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018090174A1 (zh) * 2016-11-15 2018-05-24 华为技术有限公司 一种充电方法及相关设备
US11152809B2 (en) * 2017-10-30 2021-10-19 Hewlett-Packard Development Company, L.P. User behavior driven charge levels
KR102406959B1 (ko) * 2017-11-28 2022-06-13 삼성전자주식회사 커넥터를 포함하는 전자 장치 및 전자 장치에서의 전력 송수신을 제어하는 방법
JP2022030577A (ja) * 2020-08-07 2022-02-18 キヤノン株式会社 電子機器、制御方法、プログラム
KR102554673B1 (ko) * 2020-10-13 2023-07-13 삼성에스디아이 주식회사 배터리 팩
CN113555921B (zh) * 2021-06-29 2023-05-05 中国联合网络通信集团有限公司 基于场景数字化的充电提醒方法及移动终端
CN116203307B (zh) * 2023-02-28 2024-03-12 无锡宇宁智能科技有限公司 终端Type-C接口异物检测方法、装置及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050151506A1 (en) * 2004-01-09 2005-07-14 Rosalia Kennedy Battery charger with multiple functions
CN103779907A (zh) * 2014-01-28 2014-05-07 广东欧珀移动通信有限公司 终端及其电池充电控制装置与方法
CN103986040A (zh) * 2014-05-27 2014-08-13 上海电力学院 一种自动断电的usb充电连接线及其应用
CN104333088A (zh) * 2014-11-18 2015-02-04 惠州Tcl移动通信有限公司 一种防止移动终端充满电后电池漏电的方法和系统
CN105978057A (zh) * 2016-04-29 2016-09-28 罗文芳 智能充电数据线

Family Cites Families (42)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000270463A (ja) * 1999-03-15 2000-09-29 Matsushita Electric Works Ltd 電力供給装置
JP4674008B2 (ja) * 2001-07-19 2011-04-20 パナソニック株式会社 ガス遮断装置
US7592776B2 (en) * 2001-11-07 2009-09-22 Quallion Llc Energy storage device configured to discharge energy in response to unsafe conditions
MXPA05004094A (es) * 2002-10-15 2005-07-13 Vector Prod Inc Cargador de bateria de alta frecuencia y metodo para su operacion.
JP4601330B2 (ja) * 2004-05-25 2010-12-22 ソニー株式会社 電子機器及びその制御方法、情報処理装置、並びにコンピュータ・プログラム
JP2007228716A (ja) * 2006-02-23 2007-09-06 Takeuchi Seisakusho:Kk 充電システム
CN100488001C (zh) 2006-03-15 2009-05-13 大唐移动通信设备有限公司 移动终端对过放电锂电池充电的方法及电路
KR101432590B1 (ko) * 2007-12-12 2014-08-21 엘지전자 주식회사 무선 충전용 메뉴 제공 기능을 갖는 이동 단말기 및 그충전방법
US9231439B2 (en) * 2009-03-27 2016-01-05 Schneider Electric It Corporation System and method for estimating an efficiency of a power device
JP5853165B2 (ja) * 2010-07-30 2016-02-09 パナソニックIpマネジメント株式会社 電気推進車両用充電器及びそれに適用される漏電確認方法
US8581546B2 (en) * 2011-09-01 2013-11-12 Richard Luke Ribich Method and apparatus for converting dirty electrical power to a clean electrical power suitable for a portable electronic flight bag in an aircraft
JP5869447B2 (ja) * 2012-08-21 2016-02-24 株式会社マキタ 充電装置
US9041671B2 (en) * 2013-03-12 2015-05-26 Google Technology Holdings LLC Adaptive touch sensor control based on identification of attached accessory
CN203387219U (zh) * 2013-05-28 2014-01-08 向智勇 电子烟高效充电装置
JP6117015B2 (ja) * 2013-06-25 2017-04-19 シャープ株式会社 電子機器
CN105637725B (zh) * 2013-07-10 2019-04-23 振兴电子有限责任公司 用于控制给电子设备的电能的装置和方法
JP5447723B1 (ja) * 2013-07-19 2014-03-19 パナソニック株式会社 充電器及び電子機器システム
CN104345201A (zh) 2013-08-09 2015-02-11 华为技术有限公司 漏电流检测方法和装置
US9632583B2 (en) 2014-01-21 2017-04-25 Senseg Ltd. Controlling output current for electrosensory vibration
CN104810877B (zh) 2014-01-28 2016-12-14 广东欧珀移动通信有限公司 电池充电装置及方法
CN103795040B (zh) * 2014-01-28 2016-11-09 广东欧珀移动通信有限公司 电子设备及其电源适配器
BR112016017458B1 (pt) * 2014-01-28 2022-03-29 Guangdong Oppo Mobile Telecommunications Corp., Ltd Terminal, adaptador de energia e método para manuseio de anomalia de carregamento
CN103762691B (zh) 2014-01-28 2015-12-23 广东欧珀移动通信有限公司 电池充电装置及电池充电保护控制方法
TWI545863B (zh) * 2014-05-21 2016-08-11 廣達電腦股份有限公司 電池保護系統與電池保護方法
KR102125925B1 (ko) * 2014-07-16 2020-06-23 후아웨이 테크놀러지 컴퍼니 리미티드 전자 디바이스의 고속 충전 방법, 장치 및 디바이스
KR102320853B1 (ko) * 2014-09-02 2021-11-02 삼성전자 주식회사 전자 장치, 전자 장치의 충전 제어 방법, 전원 공급 장치, 및 전원 공급 장치의 전력 공급 방법
US10033204B2 (en) * 2014-09-03 2018-07-24 Mophie, Inc. Systems and methods for battery charging and management
KR20160031809A (ko) 2014-09-15 2016-03-23 엘에스산전 주식회사 전기 자동차 충전 장치
KR20160037511A (ko) * 2014-09-29 2016-04-06 삼성에스디아이 주식회사 외장 배터리 장치 및 그 제어 방법
CN110571759B (zh) * 2014-12-31 2021-12-21 华为技术有限公司 一种充电保护方法和装置
WO2016148638A1 (en) * 2015-03-13 2016-09-22 Prufen Pte Ltd A cable for data and current transmission and a related apparatus
CN104767260B (zh) 2015-03-30 2017-04-05 华为技术有限公司 充电器、终端设备和充电系统
US20170093105A1 (en) * 2015-05-01 2017-03-30 Cnry Inc. Systems and methods for smart connection, communication, and power conversion
US10658860B2 (en) * 2015-05-14 2020-05-19 Mediatek Inc. Electronic device, charger within the electronic device, and detecting method for detecting abnormal status of connector of electronic device
US10181742B2 (en) * 2015-05-14 2019-01-15 Mediatek Inc. Electronic device, charger within the electronic device, and detecting method for detecting abnormal status of connector of electronic device
US9893542B2 (en) * 2015-06-04 2018-02-13 Google Llc Systems and methods for battery charging
US9979221B2 (en) * 2015-06-24 2018-05-22 Verizon Patent And Licensing Inc. Contextual assistance for wireless charging
US10218209B2 (en) * 2016-07-25 2019-02-26 Motorola Mobility Llc Selecting a charging mode for charging a battery of a portable device
US10998741B2 (en) * 2016-10-14 2021-05-04 Huawei Technologies Co., Ltd. Charger
WO2018090174A1 (zh) * 2016-11-15 2018-05-24 华为技术有限公司 一种充电方法及相关设备
JP6834864B2 (ja) * 2017-09-11 2021-02-24 トヨタ自動車株式会社 電池出力監視装置及び方法
US11865035B2 (en) * 2019-03-29 2024-01-09 Zoll Circulation, Inc. Transport battery for use with portable thermal management system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050151506A1 (en) * 2004-01-09 2005-07-14 Rosalia Kennedy Battery charger with multiple functions
CN103779907A (zh) * 2014-01-28 2014-05-07 广东欧珀移动通信有限公司 终端及其电池充电控制装置与方法
CN103986040A (zh) * 2014-05-27 2014-08-13 上海电力学院 一种自动断电的usb充电连接线及其应用
CN104333088A (zh) * 2014-11-18 2015-02-04 惠州Tcl移动通信有限公司 一种防止移动终端充满电后电池漏电的方法和系统
CN105978057A (zh) * 2016-04-29 2016-09-28 罗文芳 智能充电数据线

Also Published As

Publication number Publication date
US10630091B2 (en) 2020-04-21
US11128154B2 (en) 2021-09-21
JP2019515614A (ja) 2019-06-06
US20200244078A1 (en) 2020-07-30
CN108604805B (zh) 2021-01-29
CN112803539B (zh) 2023-09-08
JP6685429B2 (ja) 2020-04-22
CN108604805A (zh) 2018-09-28
CN112803539A (zh) 2021-05-14
US20190319465A1 (en) 2019-10-17
US20210391730A1 (en) 2021-12-16
US11658494B2 (en) 2023-05-23

Similar Documents

Publication Publication Date Title
WO2018090174A1 (zh) 一种充电方法及相关设备
WO2015113463A1 (zh) 电源适配器、终端和处理充电回路阻抗异常的方法
TWI626814B (zh) 控制充電的方法、裝置、電源轉接器和移動終端
KR102542279B1 (ko) 무선 충전 수신기 회로를 가지는 안경, 안경용 안경 케이스, 및 시스템
WO2020259700A1 (zh) 异常检测方法及设备、存储介质
EP4175111A1 (en) Charging circuit and charging cable
JP2019515614A5 (zh)
WO2017185686A1 (zh) 充电功率调整方法、装置及电子设备
WO2016106616A1 (zh) 一种充电保护方法和装置
US9960615B2 (en) Method for controlling power of electronic device and electronic device thereof
CN110166994B (zh) 一种数据分时传输互用方法、系统、移动终端及存储介质
US20180062218A1 (en) Electronic device, control method therefor and non-transitory computer-readable storage medium
CN106340932B (zh) 移动终端基于usb接口充电器的连接检测方法及系统
CN105334420B (zh) 一种信息处理方法及电子设备
US20180198296A1 (en) Hand-held electronic apparatus, charging system, connector and charging management method thereof
CN109254210B (zh) 电子设备端口类型检测方法、装置、检测电路及电子设备
US11394212B2 (en) Charging method, terminal, and computer storage medium
WO2018094868A1 (zh) 一种充电链路的情况的实时监测的方法和设备
WO2016141554A1 (zh) 一种充电设备自环检测方法及装置
CN211655734U (zh) 一种过温保护电路和充电装置
US20130165096A1 (en) Incoming call forwarding method and communication device having incoming call forwarding function
CN106650512B (zh) 一种保护电子设备的方法及电子设备
CN104009521A (zh) 电池电量的检测显示装置
WO2016045350A1 (zh) 充电电池、充电电池的使用方法以及充电系统
CN111293672A (zh) 一种过温保护电路、方法和充电装置

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2018552007

Country of ref document: JP

Kind code of ref document: A

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

Ref document number: 16921882

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16921882

Country of ref document: EP

Kind code of ref document: A1