WO2017185687A1 - Charging protection method and apparatus, and electronic device - Google Patents

Charging protection method and apparatus, and electronic device Download PDF

Info

Publication number
WO2017185687A1
WO2017185687A1 PCT/CN2016/102968 CN2016102968W WO2017185687A1 WO 2017185687 A1 WO2017185687 A1 WO 2017185687A1 CN 2016102968 W CN2016102968 W CN 2016102968W WO 2017185687 A1 WO2017185687 A1 WO 2017185687A1
Authority
WO
WIPO (PCT)
Prior art keywords
charger
abnormal
charging
electronic device
status monitoring
Prior art date
Application number
PCT/CN2016/102968
Other languages
French (fr)
Chinese (zh)
Inventor
雷军
Original Assignee
乐视控股(北京)有限公司
乐视移动智能信息技术(北京)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 乐视控股(北京)有限公司, 乐视移动智能信息技术(北京)有限公司 filed Critical 乐视控股(北京)有限公司
Publication of WO2017185687A1 publication Critical patent/WO2017185687A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/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
    • H02J7/0036Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits using connection detecting circuits

Definitions

  • the present disclosure relates to the field of Universal Serial Bus Power Delivery (USB-PD) technology, for example, to a charging protection method, device, and electronic device.
  • USB-PD Universal Serial Bus Power Delivery
  • USB-PD is an emerging fast charging technology. It mainly implements this kind of fast charging design through Type-C interface. In order to understand USB-PD charging technology, the basic structure of Type-C interface will be explained first.
  • the biggest feature of the Type-C interface is that it supports the "front and back insertion" function that can be inserted from both sides.
  • the A side and the B side respectively have 12 pins.
  • the arrangement of each pin is shown in Table 1:
  • TX1+, TX1-, RX1+, RX1-, TX2+, TX2-, RX2+, RX2- are four pairs of differential signal pins
  • GND is the ground pin
  • D+ and D- are USB differential signal pins for USB2.0 compatibility.
  • VBUS is the power pin
  • CC1 and CC2 are the pins for detecting the forward and reverse insertion, distinguishing the master and slave, and configuring the VBUS voltage.
  • SBU1 and SBU2 are bus pins.
  • the Type-C interface has four power pins and four ground pins, the Type-C interface can theoretically support 100W power output, which is why the Type-C interface can achieve USB-PD fast charging.
  • USB-PD fast charging refers to requesting the charger to adjust the output power through the USB 5V voltage (VBUS) DC level on the frequency-shift keying (FSK) signal.
  • the process of pressure and current, the process includes the following steps 1-5.
  • step 1 the electronic device identifies whether the inserted charger is a PD charger that supports fast charging. If the inserted charger is a PD charger that supports fast charging, the switching is performed, that is, the differential signal pin of the Type-C is changed to Used to transmit PD signals (including PD commands and data, etc.), and change the SBU1 and SUB2 bus pins of Type-C to Auxiliary (AUX) signals.
  • the switching is performed, that is, the differential signal pin of the Type-C is changed to Used to transmit PD signals (including PD commands and data, etc.), and change the SBU1 and SUB2 bus pins of Type-C to Auxiliary (AUX) signals.
  • AUX Auxiliary
  • step 2 the USB-PD device policy manager is started, the policy manager monitors the FSK signal coupled on the DC level of the VBUS, and decodes the Capabilities Source message therefrom, and then parses the message according to the USB-PD specification.
  • step 3 the electronic device selects a voltage and current pair from the Capabilities Source message according to the configuration of the user, and loads the voltage and current pairs into the payload portion of the charging request message, and then the policy manager will
  • the FSK signal is coupled to the VBUS DC level.
  • step 4 the charger decodes the FSK signal and sends an Accept message to the electronic device while adjusting the output voltage and current of the charger.
  • step 5 after receiving the Accept message, the electronic device adjusts the charging voltage and current of the charging IC.
  • the electronic device can dynamically send a Request message during the charging process to request the charger to change the output voltage and current, thereby implementing a fast charging process.
  • the electronic device cannot recognize whether the PD charger that establishes the connection has been damaged, and therefore cannot perform charging protection in the case where the PD charger has been damaged, which is likely to be caused by the PD charger losing the charging voltage and The control of the current causes damage to the electronic equipment.
  • Embodiments of the present disclosure provide a technical solution for performing charging protection in the event that damage to a PD charger is detected.
  • a charging protection method including:
  • the charging connection between the electronic device and the PD charger is disconnected.
  • the method further includes:
  • the method further includes:
  • the method further includes:
  • the PD charger is abnormal after the hardware reset, it is determined that the PD charger has been damaged, and the corresponding alarm is triggered.
  • a charging protection device including:
  • the identification module is configured to identify whether the charger inserted into the USB interface is a PD charger that supports fast charging;
  • the monitoring message sending module is configured to send the status monitoring message to the PD charger for status monitoring at a set time interval
  • a state analysis module configured to determine whether the PD charger is abnormal according to a status monitoring response of the PD charger
  • An execution module configured to determine, in the state analysis module, that the PD charger is abnormal Next, disconnect the charging connection between the electronic device and the PD charger.
  • the device further includes:
  • a software reset module configured to send a software reset command to the PD charger to perform a software reset of the charger according to the result that the state analysis module first determines that an abnormality occurs
  • the state analysis module is further configured to determine, after the software reset is performed, whether the PD charger is abnormal according to a status monitoring response of the PD charger;
  • the execution module is further configured to re-establish the charging connection if the state analysis module determines that the PD charger has returned to normal.
  • the device further includes:
  • a hardware reset module configured to: according to the state analysis module, determine, after a software reset, that the PD charger has an abnormal result, send a hardware reset command to the PD charger to perform a hardware reset of the charger;
  • the state analysis module is further configured to determine whether the PD charger is abnormal according to a condition of the state monitoring response of the PD charger after performing the hardware reset.
  • the device further includes:
  • the alarm triggering module is configured to determine, according to the state analysis module, that the PD charger is abnormal after the hardware reset, determine that the PD charger has been damaged, and trigger a corresponding alarm.
  • an electronic device comprising the apparatus of the second aspect of the present disclosure.
  • a fourth aspect of the present disclosure provides an electronic device including an interface device, a memory, and a processor, the interface device configured to establish a connection with a charger through a Type-C data line, the memory being configured to store an instruction, The instructions are arranged to control the processor to operate to perform the method according to the first aspect of the present disclosure.
  • a non-transitory computer readable storage medium storing computer executable instructions for causing the computer to perform the method described above is provided.
  • a sixth aspect of the present disclosure also provides a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions When executed by a computer, the computer is caused to perform the method described above.
  • the inventors of the present disclosure have found that in the related art, there is a problem that charging protection cannot be performed in the case where an abnormality occurs in the PD charger that establishes connection.
  • a status monitoring message to the PD charger for status monitoring, it is possible to determine whether the PD charger is abnormal according to the status of the PD charger performing the status detection response, and determining that the PD charger is abnormal.
  • the charging connection between the electronic device and the PD charger is disconnected, and the electronic device is protected from damage.
  • FIG. 1 is a flow chart of a first embodiment of a charging protection method of the present disclosure
  • FIG. 2 is a flow chart of a second embodiment of the charging protection method of the present disclosure
  • FIG. 3 is a flow chart of a third embodiment of the charging protection method of the present disclosure.
  • FIG. 4 is a block schematic diagram of an implementation structure of a charging protection device of the present disclosure.
  • FIG. 5 is a block schematic diagram of an implementation structure of an electronic device of the present disclosure.
  • any numerical values are to be construed as merely exemplary. Accordingly, other examples of the exemplary embodiments may have different numerical values.
  • the present disclosure provides a monitoring anomaly that protects the PD charger from charging in the event of an abnormality in the PD charger.
  • FIG. 1 is a flow chart of a first embodiment of a charge protection method of the present disclosure.
  • step 110 the electronic device recognizes whether the charger inserted into the Universal Serial Bus (USB) interface is a Power Delivery (PD) charger that supports fast charging, such as a charger inserted into the USB interface.
  • PD Power Delivery
  • the PD charger that supports fast charging performs the following charging power real-time adjustment steps, that is, steps 120 to 140. If the charger inserted into the USB interface is not a PD charger that supports fast charging, normal charging is performed.
  • This conventional charging is performed in accordance with a conventional 7.5 W (voltage 5 V, current 1.5 A) charging mode.
  • the identification operation is performed between the electronic device and the charger in accordance with the USB-PD protocol.
  • step 120 the electronic device sends a status monitoring message to the PD charger for status monitoring.
  • One end of the electronic device may send a status monitoring message to the PD charger at set time intervals to enable real-time monitoring of the status of the PD charger.
  • step 130 the electronic device determines whether the PD charger is abnormal according to the condition of the status monitoring response of the PD charger. If the PD charger is abnormal, step 140 is performed. If the PD charger does not have an abnormality, the system returns to Step 120 performs condition monitoring.
  • the response message returned by the PD charger may be set within the set time from the transmission of the status monitoring message, and it is determined that the PD charger is abnormal.
  • the status monitoring message may be set to be continuously set, and the response message returned by the PD charger is not received, and it is determined that the PD charger is abnormal.
  • the more the number is set the more the false determination can be reduced.
  • the probability of this but also reduces the sensitivity of handling abnormal conditions, therefore, both the probability of misjudgment and the sensitivity of processing can be considered, and the number of times can be set to three times.
  • step 140 the charging connection between the electronic device and the PD charger is disconnected.
  • the operation of disconnecting the charging connection can be implemented by controlling the charging management circuit, and disconnecting the charging connection does not affect the communication connection between the PD charger and the electronic device, that is, as long as the user does not pull the data line from the USB interface of the electronic device Out, the communication connection between the two can be made.
  • the disclosed method In order to perform a charging operation after the abnormality is detected, the PD charger can be returned to normal, the disclosed method also provides a second embodiment.
  • FIG. 2 is a flow chart of a second embodiment of the disclosed method.
  • step 210 the electronic device sends a software reset command to the PD charger to perform a software reset of the charger according to the result of the first determination of the abnormality.
  • the abnormality of the first judgment is the result obtained by the above judgment in step 130.
  • step 220 the electronic device sends a status monitoring message to the PD charger for status monitoring.
  • the operation of the transmission status monitoring message is continued according to the set time interval. Therefore, after the software reset is performed, there is still an operation of transmitting the status monitoring message.
  • step 230 after performing a software reset, the electronic device determines whether the PD charger is abnormal according to the condition of the PD charger performing the status monitoring response. If the PD charger is abnormal, the state of the charging connection is disconnected, such as If there is no abnormality in the PD charger, the charging connection between the two is re-established to charge through the PD charger.
  • the disclosed method In order to perform a charging operation in the event that the software reset does not work, there is still a chance to restore the PD charger to normal, the disclosed method also provides a third embodiment.
  • FIG 3 is a flow chart of a third embodiment of the disclosed method.
  • step 310 one end of the electronic device determines that an abnormal result has occurred after the software reset, and sends a hardware reset command to the PD charger to perform hardware reset of the charger.
  • step 320 the electronic device sends a status monitoring message to the PD charger for status monitoring.
  • the operation of the transmission status monitoring message is continued according to the set time interval. Therefore, after the hardware reset is performed, there is still an operation of transmitting the status monitoring message.
  • step 330 after performing a hardware reset, the electronic device determines whether the PD charger is abnormal according to the status of the PD charger performing the status monitoring response. If the PD charger is abnormal, the charging connection is disconnected. If there is no abnormality in the PD charger, re-establish the charging connection between the two to charge through the PD charger.
  • step 330 After the charging connection between the two is re-established in step 330, the process returns to the above step 120 to perform the next monitoring cycle. For this reason, the above-mentioned first judgment abnormality should be understood as the first judgment in each monitoring cycle. .
  • the PD charger cannot be restored after being reset by software and hardware, the PD charger has been damaged, and an alarm can be triggered to remind the user that the PD charger has been damaged.
  • the bad fact is that at this point, the user should unplug the data cable and disconnect the PD charger from the electronic device.
  • the triggering alarm includes, for example, at least one of a trigger sound, a light, and a text display alarm.
  • the method of the present disclosure can disconnect the charging connection when the PD charger is abnormal, so as to effectively protect the electronic device, and can also automatically take measures to restore the PD charger to the normal state to charge the electronic device. Can improve user experience.
  • FIG. 4 is a block schematic diagram of an implementation structure of the device.
  • the charging protection device 400 includes an identification module 401, a monitoring message sending module 402, a state analysis module 403, and an execution module 404.
  • the above identification module 401 is configured to recognize whether the charger inserted into the USB interface is a PD charger that supports fast charging.
  • the monitoring message sending module 402 is configured to send a status monitoring message to the PD charger for status monitoring at set time intervals.
  • the state analysis module 403 is configured to determine whether the PD charger is abnormal according to the status of the PD charger performing a status monitoring response.
  • the execution module 404 is configured to disconnect the charging connection between the electronic device and the PD charger if the state analysis module 403 determines that the PD charger is abnormal.
  • the disclosed apparatus 400 may further include a software reset module (not shown) configured to first transmit a software reset command to the PD charger for performing the charger according to the state analysis module 403 first determining the result of the abnormality.
  • Software reset the state analysis module 403 is further configured to determine whether the PD charger is abnormal according to a status of the PD charger performing a state monitoring response after performing the software reset.
  • the execution module 404 is further configured to re-establish the charging connection if the state analysis module 403 determines that the PD charger has returned to normal.
  • the disclosed apparatus 400 may further include a hardware reset module (not shown) configured to send a hardware reset command to the PD charger for charging according to the state analysis module 403 still determining the abnormal result after the software reset. Hardware reset of the device.
  • the state analysis module 403 is further configured to determine whether the PD charger is abnormal according to the status of the PD charger performing the state monitoring response after performing the hardware reset.
  • the disclosed apparatus may further include an alarm triggering module (not shown) that sets the alarm triggering module In order to determine that an abnormality has occurred after the hardware is reset according to the state analysis module 403, it is determined that the PD charger has been damaged and a corresponding alarm is triggered.
  • an alarm triggering module (not shown) that sets the alarm triggering module In order to determine that an abnormality has occurred after the hardware is reset according to the state analysis module 403, it is determined that the PD charger has been damaged and a corresponding alarm is triggered.
  • the present disclosure also provides an electronic device that, according to an aspect, includes the charge protection device 400 of the present disclosure.
  • FIG. 5 is a block schematic diagram of an implementation structure of the electronic device of the present disclosure.
  • the electronic device 500 includes a memory 501 and a processor 502 that is configured to store instructions that are arranged to control the processor 502 to operate to perform the charging protection method described above.
  • the electronic device 500 further includes an interface device 503, an input device 504, a display device 505, a communication device 506, a speaker 507, a microphone 508, and a temperature sensor for collecting a temperature signal (in the figure). Not shown) and so on.
  • the disclosed electronic device may relate only to some of the devices, such as processor 501, memory 502, interface device 503, and the like.
  • the communication device 506 can be wired or wirelessly communicated, for example.
  • the interface device 503 includes, for example, a headphone jack, a Type-C interface, etc., such that the Type-C interface of the interface device 503 establishes a connection with the PD charger through the Type-C data line.
  • the input device 504 described above may include, for example, a touch screen, a button, and the like.
  • the display device 505 described above is, for example, a liquid crystal display, a touch display, or the like.
  • the electronic device of the present disclosure is, for example, a mobile phone, a tablet computer, or the like.
  • the present disclosure can be an apparatus, method, and/or computer program product.
  • the computer program product can include a computer program stored on a non-transitory computer readable storage medium, the computer program including program instructions that, when executed by a computer, cause the computer to perform any of the above-described embodiments method.
  • the computer readable storage medium can be a tangible device that can hold and store the instructions used by the instruction execution device.
  • the computer readable storage medium can be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing.
  • Examples of computer readable storage media include: portable computer disks, hard disks, random access memory (RAM), read-only memory ROM, erasable Erasable Programmable Read Only Memory (EPROM), Flash (Flash), Static Random Access Memory (SRAM), Compact Disc Read-Only Memory (CD-ROM) ), a Digital Versatile Disc (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card with instructions stored therein, and any suitable combination of the above.
  • RAM random access memory
  • EPROM erasable Erasable Programmable Read Only Memory
  • Flash Flash
  • SRAM Static Random Access Memory
  • CD-ROM Compact Disc Read-Only Memory
  • DVD Digital Versatile Disc
  • memory stick such as a punch card with instructions stored therein, and any suitable combination of the above.
  • a computer readable storage medium as used herein is not to be interpreted as a transient signal itself, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (eg, a light pulse through a fiber optic cable), or through a wire The electrical signal transmitted.
  • the computer readable program instructions described herein can be downloaded to a plurality of computing/processing devices from a computer readable storage medium or downloaded to an external computer or external storage device over a network, such as the Internet, a local area network, a wide area network, and/or a wireless network.
  • the network may include copper transmission cables, fiber optic transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and/or edge servers.
  • a network adapter card or network interface in each computing/processing device receives computer readable program instructions from a network and forwards the computer readable program instructions for storage on a computer readable storage medium in a plurality of computing/processing devices in.
  • Computer program instructions for performing the operations of the present disclosure may be assembly instructions, Industry Standard Architecture (ISA) instructions, machine instructions, machine related instructions, microcode, firmware instructions, state setting data, or in one or more Source code or object code written in any combination of programming languages, including object oriented programming languages - such as Smalltalk, C++, etc., as well as conventional procedural programming languages - such as the "C" language or similar programming languages.
  • the computer readable program instructions can execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer, partly on the remote computer, or entirely on the remote computer or server. carried out.
  • the remote computer can be connected to the user computer through any kind of network including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (for example, using the Internet)
  • the service provider comes to connect via the Internet).
  • custom electronic circuits such as programmable logic circuits, are personalized by utilizing state information of computer readable program instructions, A Field-Programmable Gate Array (FPGA) or a Programmable Logic Array (PLA) that can execute computer readable program instructions to implement the present disclosure.
  • FPGA Field-Programmable Gate Array
  • PLA Programmable Logic Array
  • the computer readable program instructions can be provided to a general purpose computer, a special purpose computer, or a processor of other programmable data processing apparatus to produce a machine such that when executed by a processor of a computer or other programmable data processing apparatus Means for implementing the functions/acts specified in one or more of the blocks of the flowcharts and/or block diagrams.
  • the computer readable program instructions can also be stored in a computer readable storage medium that causes the computer, programmable data processing device, and/or other device to operate in a particular manner, such that the computer readable medium storing the instructions includes
  • An article of manufacture includes instructions for implementing aspects of the functions/acts recited in one or more of the flowcharts and/or block diagrams.
  • the computer readable program instructions can also be loaded onto a computer, other programmable data processing device, or other device to perform a series of operational steps on a computer, other programmable data processing device or other device to produce a computer-implemented process.
  • instructions executed on a computer, other programmable data processing apparatus, or other device implement the functions/acts recited in one or more of the flowcharts and/or block diagrams.
  • each block in the flowchart or block diagram can represent a module, a program segment, or a portion of an instruction that includes one or more components for implementing the specified logical functions.
  • Executable instructions can also occur in a different order than those illustrated in the drawings. For example, two consecutive blocks may be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending upon the functionality involved.
  • each block of the block diagrams and/or flowcharts, and combinations of blocks in the block diagrams and/or flowcharts can be implemented in a dedicated hardware-based system that performs the specified function or function. Or it can be implemented by a combination of dedicated hardware and computer instructions. It is well known to those skilled in the art that implementation by hardware, implementation by software, and implementation by a combination of software and hardware are equivalent.
  • the charging protection method, device and electronic device provided by the embodiments of the present disclosure disconnect the charging connection between the electronic device and the PD charger when determining that the PD charger is abnormal, and protect the electronic device from damage.

Landscapes

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

Abstract

Disclosed are a charging protection method and apparatus, and an electronic device. The method comprises: identifying whether a charger inserted in a universal serial bus (USB) interface is a power delivery (PD) charger supporting PD; if the charger inserted in the USB interface is a PD charger supporting PD, sending state monitoring messages to the PD charger at set time intervals so as to monitor a state; determining whether an exception occurs in the PD charger according to the status of making state monitoring responses by the PD charger; and if an exception occurs in the PD charger, cutting off a charging connection between an electronic device and the PD charger.

Description

充电保护方法、装置及电子设备Charging protection method, device and electronic device
本申请要求在2016年4月27日提交中国专利局、申请号为2016102704906、的中国专利申请的优先权,该申请的全部内容通过引用结合在本申请中。The present application claims the priority of the Chinese Patent Application, the entire disclosure of which is hereby incorporated by reference.
技术领域Technical field
本公开涉及通用串行总线快速充电(Universal Serial Bus Power Delivery,USB-PD)技术领域,例如,涉及一种充电保护方法、装置及电子设备。The present disclosure relates to the field of Universal Serial Bus Power Delivery (USB-PD) technology, for example, to a charging protection method, device, and electronic device.
背景技术Background technique
USB-PD是一种新兴的快速充电技术,主要通过Type-C接口实现该种快速充电设计,为了便于了解USB-PD充电技术,以下将先说明一下Type-C接口的基本结构。USB-PD is an emerging fast charging technology. It mainly implements this kind of fast charging design through Type-C interface. In order to understand USB-PD charging technology, the basic structure of Type-C interface will be explained first.
Type-C接口的最大特点是支持从正反两面均可插入的“正反插”功能,其A面和B面分别具有12个针脚,每个针脚的布置如表1所示:The biggest feature of the Type-C interface is that it supports the "front and back insertion" function that can be inserted from both sides. The A side and the B side respectively have 12 pins. The arrangement of each pin is shown in Table 1:
表1:Table 1:
Figure PCTCN2016102968-appb-000001
Figure PCTCN2016102968-appb-000001
其中,TX1+、TX1-,RX1+、RX1-,TX2+、TX2-,RX2+、RX2-为四对差分信号针脚,GND为接地针脚,D+、D-为用于兼容USB2.0的USB差分信号针脚,VBUS为电源针脚,CC1、CC2为用于探测正反插、区分主从、配置VBUS电压等的针脚,SBU1、SBU2为总线针脚。Among them, TX1+, TX1-, RX1+, RX1-, TX2+, TX2-, RX2+, RX2- are four pairs of differential signal pins, GND is the ground pin, and D+ and D- are USB differential signal pins for USB2.0 compatibility. VBUS is the power pin, and CC1 and CC2 are the pins for detecting the forward and reverse insertion, distinguishing the master and slave, and configuring the VBUS voltage. SBU1 and SBU2 are bus pins.
由于Type-C接口具有四个电源针脚和四个接地针脚,因此,Type-C接口理论上能够支持100W的电源输出,这也是Type-C接口能够实现USB-PD快速充电的原因。Since the Type-C interface has four power pins and four ground pins, the Type-C interface can theoretically support 100W power output, which is why the Type-C interface can achieve USB-PD fast charging.
在此基础上,USB-PD快速充电是指通过USB的5V电压(VBUS)直流电平上耦合频移键控(Frequency-shift keying,FSK)信号来请求充电器调整输出电 压和电流的过程,该过程包括如下步骤1-5。On this basis, USB-PD fast charging refers to requesting the charger to adjust the output power through the USB 5V voltage (VBUS) DC level on the frequency-shift keying (FSK) signal. The process of pressure and current, the process includes the following steps 1-5.
在步骤1中,电子设备识别插入的充电器是否为支持快速充电的PD充电器,如插入的充电器是支持快速充电的PD充电器,则进行切换,即将Type-C的差分信号针脚改为用于传输PD信号(包括PD命令和数据等),将Type-C的SBU1、SUB2总线针脚改为用于传输辅助(Auxiliary,AUX)信号。In step 1, the electronic device identifies whether the inserted charger is a PD charger that supports fast charging. If the inserted charger is a PD charger that supports fast charging, the switching is performed, that is, the differential signal pin of the Type-C is changed to Used to transmit PD signals (including PD commands and data, etc.), and change the SBU1 and SUB2 bus pins of Type-C to Auxiliary (AUX) signals.
在步骤2中,启动USB-PD设备策略管理器,策略管理器监控VBUS的直流电平上耦合的FSK信号,并从中解码得到能力资源(Capabilities Source)消息,再根据USB-PD规范解析该消息得出PD充电器支持的所有电压和电流对列表。In step 2, the USB-PD device policy manager is started, the policy manager monitors the FSK signal coupled on the DC level of the VBUS, and decodes the Capabilities Source message therefrom, and then parses the message according to the USB-PD specification. A list of all voltage and current pairs supported by the PD charger.
在步骤3中,电子设备根据用户的配置从Capabilities Source消息中选择一个电压和电流对,并将电压和电流对加载至充电请求(Request)消息的载荷(payload)部分,然后,策略管理器将FSK信号耦合到VBUS直流电平上。In step 3, the electronic device selects a voltage and current pair from the Capabilities Source message according to the configuration of the user, and loads the voltage and current pairs into the payload portion of the charging request message, and then the policy manager will The FSK signal is coupled to the VBUS DC level.
在步骤4中,充电器解码FSK信号并发出接收(Accept)消息给电子设备,同时调整充电器的输出电压和电流。In step 4, the charger decodes the FSK signal and sends an Accept message to the electronic device while adjusting the output voltage and current of the charger.
在步骤5中,电子设备接收到Accept消息后,调整充电IC的充电电压和电流。In step 5, after receiving the Accept message, the electronic device adjusts the charging voltage and current of the charging IC.
在此,电子设备在充电过程中可以动态发送Request消息来请求充电器改变输出电压和电流,从而实现快速充电的过程。Here, the electronic device can dynamically send a Request message during the charging process to request the charger to change the output voltage and current, thereby implementing a fast charging process.
在上述快速充电过程中,电子设备无法识别建立连接的PD充电器是否已经损坏,因此也无法在PD充电器已经损坏的情况下进行充电保护,这将很可能因为PD充电器失去对充电电压和电流的控制而导致电子设备损坏。During the above fast charging process, the electronic device cannot recognize whether the PD charger that establishes the connection has been damaged, and therefore cannot perform charging protection in the case where the PD charger has been damaged, which is likely to be caused by the PD charger losing the charging voltage and The control of the current causes damage to the electronic equipment.
发明内容Summary of the invention
本公开实施例提供了一种在检测到PD充电器损坏的情况下进行充电保护的技术方案。Embodiments of the present disclosure provide a technical solution for performing charging protection in the event that damage to a PD charger is detected.
本公开的第一方面,提供了一种充电保护方法,包括:In a first aspect of the present disclosure, a charging protection method is provided, including:
识别插入通用串行总线USB接口的充电器是否为支持快速充电的快速充电PD充电器,如插入USB接口的充电器是支持快速充电的PD充电器,则:Identify whether the charger plugged into the Universal Serial Bus USB interface is a fast charging PD charger that supports fast charging. If the charger plugged into the USB interface is a PD charger that supports fast charging, then:
以设定的时间间隔发送状态监测消息至PD充电器进行状态监测; Sending a status monitoring message to the PD charger for status monitoring at set intervals;
根据所述PD充电器进行状态监测响应的情况,判断所述PD充电器是否出现异常;以及Determining whether the PD charger is abnormal according to a condition of the status monitoring response of the PD charger;
如所述PD充电器出现异常,则断开电子设备与所述PD充电器之间的充电连接。If the PD charger is abnormal, the charging connection between the electronic device and the PD charger is disconnected.
可选的,所述方法还包括:Optionally, the method further includes:
根据首次判断出现异常的结果,发送软件复位命令至所述PD充电器进行充电器的软件复位;Sending a software reset command to the PD charger to perform a software reset of the charger according to the result of determining the abnormality for the first time;
进行所述软件复位后,根据所述PD充电器进行状态监测响应的情况,判断所述PD充电器是否出现异常;以及After performing the software reset, determining whether the PD charger is abnormal according to a status monitoring response of the PD charger;
如所述PD充电器已恢复正常,则重新建立所述充电连接。If the PD charger has returned to normal, the charging connection is re-established.
可选的,所述方法还包括:Optionally, the method further includes:
根据软件复位后仍判断所述PD充电器出现异常的结果,发送硬件复位命令至PD充电器进行充电器的硬件复位;According to the result of the software charger still determining that the PD charger is abnormal, sending a hardware reset command to the PD charger to perform hardware reset of the charger;
进行所述硬件复位后,根据所述PD充电器进行状态监测响应的情况,判断所述PD充电器是否出现异常;以及After performing the hardware reset, determining whether the PD charger is abnormal according to a status monitoring response of the PD charger;
如所述PD充电器已恢复正常,则重新建立所述充电连接。If the PD charger has returned to normal, the charging connection is re-established.
可选的,所述方法还包括:Optionally, the method further includes:
根据硬件复位后仍判断所述PD充电器出现异常的结果,确定PD充电器已经损坏,并触发相应报警。According to the result that the PD charger is abnormal after the hardware reset, it is determined that the PD charger has been damaged, and the corresponding alarm is triggered.
本公开的第二方面,提供了一种充电保护装置,包括:In a second aspect of the present disclosure, a charging protection device is provided, including:
识别模块,设置为识别插入USB接口的充电器是否为支持快速充电的PD充电器;The identification module is configured to identify whether the charger inserted into the USB interface is a PD charger that supports fast charging;
监测消息发送模块,设置为以设定的时间间隔发送状态监测消息至PD充电器进行状态监测;The monitoring message sending module is configured to send the status monitoring message to the PD charger for status monitoring at a set time interval;
状态分析模块,设置为根据所述PD充电器进行状态监测响应的情况,判断所述PD充电器是否出现异常;以及,a state analysis module, configured to determine whether the PD charger is abnormal according to a status monitoring response of the PD charger; and
执行模块,设置为在所述状态分析模块判断所述PD充电器出现异常的情况 下,断开电子设备与所述PD充电器之间的充电连接。An execution module, configured to determine, in the state analysis module, that the PD charger is abnormal Next, disconnect the charging connection between the electronic device and the PD charger.
可选的,所述装置还包括:Optionally, the device further includes:
软件复位模块,设置为根据所述状态分析模块首次判断出现异常的结果,发送软件复位命令至所述PD充电器进行充电器的软件复位;a software reset module, configured to send a software reset command to the PD charger to perform a software reset of the charger according to the result that the state analysis module first determines that an abnormality occurs;
所述状态分析模块还设置为在进行所述软件复位后,根据所述PD充电器进行状态监测响应的情况,判断所述PD充电器是否出现异常;以及The state analysis module is further configured to determine, after the software reset is performed, whether the PD charger is abnormal according to a status monitoring response of the PD charger;
所述执行模块还设置为在所述状态分析模块判断所述PD充电器已恢复正常的情况下,重新建立所述充电连接。The execution module is further configured to re-establish the charging connection if the state analysis module determines that the PD charger has returned to normal.
可选的,所述装置还包括:Optionally, the device further includes:
硬件复位模块,设置为根据所述状态分析模块在软件复位后仍判断所述PD充电器出现异常的结果,发送硬件复位命令至PD充电器进行充电器的硬件复位;以及a hardware reset module, configured to: according to the state analysis module, determine, after a software reset, that the PD charger has an abnormal result, send a hardware reset command to the PD charger to perform a hardware reset of the charger;
所述状态分析模块还设置为在进行所述硬件复位后,根据所述PD充电器进行状态监测响应的情况,判断所述PD充电器是否出现异常。The state analysis module is further configured to determine whether the PD charger is abnormal according to a condition of the state monitoring response of the PD charger after performing the hardware reset.
可选的,所述装置还包括:Optionally, the device further includes:
报警触发模块,设置为根据所述状态分析模块在硬件复位后仍判断所述PD充电器出现异常的结果,确定PD充电器已经损坏,并触发相应报警。The alarm triggering module is configured to determine, according to the state analysis module, that the PD charger is abnormal after the hardware reset, determine that the PD charger has been damaged, and trigger a corresponding alarm.
本公开的第三方面,提供了一种电子设备,包括本公开第二方面所述的装置。In a third aspect of the present disclosure, an electronic device is provided, comprising the apparatus of the second aspect of the present disclosure.
本公开的第四方面,提供了一种电子设备,包括接口装置、存储器和处理器,所述接口装置设置为通过Type-C数据线与充电器建立连接,所述存储器设置为存储指令,所述指令设置为控制所述处理器进行操作以执行根据本公开第一方面所述的方法。A fourth aspect of the present disclosure provides an electronic device including an interface device, a memory, and a processor, the interface device configured to establish a connection with a charger through a Type-C data line, the memory being configured to store an instruction, The instructions are arranged to control the processor to operate to perform the method according to the first aspect of the present disclosure.
本公开的第五方面,提供了一种非暂态计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于使所述计算机执行上述的方法。In a fifth aspect of the present disclosure, a non-transitory computer readable storage medium storing computer executable instructions for causing the computer to perform the method described above is provided.
本公开的第六方面,还提供了一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行上述的方法。 A sixth aspect of the present disclosure also provides a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions When executed by a computer, the computer is caused to perform the method described above.
本公开的发明人发现,在相关技术中,存在无法在建立连接的PD充电器出现异常的情况下进行充电保护的问题。而在本公开实施例中,通过发送状态监测消息至PD充电器进行状态监测,将能够根据PD充电器进行状态检测响应的情况判断PD充电器是否出现异常,在判断PD充电器出现异常的情况下断开电子设备与PD充电器之间的充电连接,保护了电子设备不受损坏。The inventors of the present disclosure have found that in the related art, there is a problem that charging protection cannot be performed in the case where an abnormality occurs in the PD charger that establishes connection. In the embodiment of the present disclosure, by sending a status monitoring message to the PD charger for status monitoring, it is possible to determine whether the PD charger is abnormal according to the status of the PD charger performing the status detection response, and determining that the PD charger is abnormal. The charging connection between the electronic device and the PD charger is disconnected, and the electronic device is protected from damage.
附图说明DRAWINGS
一个或多个实施例通过与之对应的附图中的图片进行示例性说明,这些示例性说明并不构成对实施例的限定,附图中具有相同参考数字标号的元件表示为类似的元件,除非有特别申明,附图中的图不构成比例限制。The one or more embodiments are exemplified by the accompanying drawings in the accompanying drawings, and FIG. The figures in the drawings do not constitute a scale limitation unless otherwise stated.
图1是本公开充电保护方法的第一种实施方式的流程图;1 is a flow chart of a first embodiment of a charging protection method of the present disclosure;
图2是本公开充电保护方法的第二种实施方式的流程图;2 is a flow chart of a second embodiment of the charging protection method of the present disclosure;
图3是本公开充电保护方法的第三种实施方式的流程图;3 is a flow chart of a third embodiment of the charging protection method of the present disclosure;
图4是本公开充电保护装置的一种实施结构的方框原理图;以及4 is a block schematic diagram of an implementation structure of a charging protection device of the present disclosure;
图5是本公开电子设备的一种实施结构的方框原理图。5 is a block schematic diagram of an implementation structure of an electronic device of the present disclosure.
具体实施方式detailed description
以下参照附图对实施例进行说明,在不冲突的情况下,实施例和实施例中的特征可以相互任意组合。应注意到:本公开对实施例中阐述的部件和步骤的相对布置、数字表达式和数值不进行限定。The embodiments are described below with reference to the accompanying drawings, and the features of the embodiments and the embodiments may be arbitrarily combined with each other without conflict. It should be noted that the present disclosure does not limit the relative arrangement of the components and steps, numerical expressions and numerical values set forth in the embodiments.
在这里示出和讨论的所有例子中,任何数值应被解释为仅仅是示例性的。因此,示例性实施例的其它例子可以具有不同的数值。In all examples shown and discussed herein, any numerical values are to be construed as merely exemplary. Accordingly, other examples of the exemplary embodiments may have different numerical values.
应注意到:相似的标号和字母在下面的附图中表示类似项。It should be noted that similar reference numerals and letters indicate similar items in the following figures.
本公开提供了一种监测异常,在PD充电器出现异常的情况下对PD充电器进行充电保护。 The present disclosure provides a monitoring anomaly that protects the PD charger from charging in the event of an abnormality in the PD charger.
图1是本公开的充电保护方法的第一种实施方式的流程图。1 is a flow chart of a first embodiment of a charge protection method of the present disclosure.
在步骤110中,电子设备一端识别插入通用串行总线(Universal Serial Bus,USB)接口的充电器是否为支持快速充电的快速充电(Power Delivery,PD)充电器,如插入USB接口的充电器是支持快速充电的PD充电器,则执行以下充电功率实时调整步骤,即步骤120至步骤140,如插入USB接口的充电器不是支持快速充电的PD充电器,则进行常规充电。In step 110, the electronic device recognizes whether the charger inserted into the Universal Serial Bus (USB) interface is a Power Delivery (PD) charger that supports fast charging, such as a charger inserted into the USB interface. The PD charger that supports fast charging performs the following charging power real-time adjustment steps, that is, steps 120 to 140. If the charger inserted into the USB interface is not a PD charger that supports fast charging, normal charging is performed.
该常规充电即为按照常规的7.5W(电压5V,电流1.5A)充电模式进行充电。This conventional charging is performed in accordance with a conventional 7.5 W (voltage 5 V, current 1.5 A) charging mode.
该识别操作在电子设备与充电器之间按照USB-PD协议进行。The identification operation is performed between the electronic device and the charger in accordance with the USB-PD protocol.
在步骤120中,电子设备一端发送状态监测消息至PD充电器进行状态监测。In step 120, the electronic device sends a status monitoring message to the PD charger for status monitoring.
电子设备一端可以是以设定的时间间隔发送状态监测消息至PD充电器,以实现对PD充电器状态的实时监测。One end of the electronic device may send a status monitoring message to the PD charger at set time intervals to enable real-time monitoring of the status of the PD charger.
在步骤130中,电子设备一端根据PD充电器进行状态监测响应的情况,判断PD充电器是否出现异常,如PD充电器出现异常,则执行步骤140,如PD充电器未出现异常,则回到步骤120进行状态监测。In step 130, the electronic device determines whether the PD charger is abnormal according to the condition of the status monitoring response of the PD charger. If the PD charger is abnormal, step 140 is performed. If the PD charger does not have an abnormality, the system returns to Step 120 performs condition monitoring.
例如,可以设定为从发送状态监测消息起的设定时间内未接收到PD充电器返回的响应消息,则判断PD充电器出现异常。又例如,也可以设定为连续设定次数发送状态监测消息,均未接收到PD充电器返回的响应消息,才判断PD充电器出现异常,该次数设定的越多,越可以降低误判断的几率,但同时也降低了对异常情况进行处理的灵敏度,因此,兼具考虑误判几率和处理灵敏度问题,可设定该次数为3次。For example, it may be set that the response message returned by the PD charger is not received within the set time from the transmission of the status monitoring message, and it is determined that the PD charger is abnormal. For example, the status monitoring message may be set to be continuously set, and the response message returned by the PD charger is not received, and it is determined that the PD charger is abnormal. The more the number is set, the more the false determination can be reduced. The probability of this, but also reduces the sensitivity of handling abnormal conditions, therefore, both the probability of misjudgment and the sensitivity of processing can be considered, and the number of times can be set to three times.
在步骤140中,断开电子设备与所述PD充电器之间的充电连接。In step 140, the charging connection between the electronic device and the PD charger is disconnected.
该断开充电连接的操作可以通过控制充电管理电路实现,而且断开充电连接并不影响PD充电器与电子设备之间的通信连接,即只要用户未将数据线从电子设备的USB接口中拔出,二者之间便可进行通信连接。The operation of disconnecting the charging connection can be implemented by controlling the charging management circuit, and disconnecting the charging connection does not affect the communication connection between the PD charger and the electronic device, that is, as long as the user does not pull the data line from the USB interface of the electronic device Out, the communication connection between the two can be made.
为了在监测到异常后,能有机会使PD充电器恢复正常而进行充电操作,本公开方法还提供了第二种实施方式。In order to perform a charging operation after the abnormality is detected, the PD charger can be returned to normal, the disclosed method also provides a second embodiment.
图2是本公开方法的第二种实施方式的流程图。 2 is a flow chart of a second embodiment of the disclosed method.
如图2所示,在步骤210中,电子设备一端根据首次判断出现异常的结果,发送软件复位命令至所述PD充电器进行充电器的软件复位。As shown in FIG. 2, in step 210, the electronic device sends a software reset command to the PD charger to perform a software reset of the charger according to the result of the first determination of the abnormality.
该首次判断出现异常即为通过上述步骤130中判断得到的结果。The abnormality of the first judgment is the result obtained by the above judgment in step 130.
在步骤220中,电子设备一端发送状态监测消息至PD充电器进行状态监测。In step 220, the electronic device sends a status monitoring message to the PD charger for status monitoring.
其中,该发送状态监测消息的操作按照设定时间间隔持续进行,因此,在进行软件复位后,仍会有发送状态监测消息的操作。The operation of the transmission status monitoring message is continued according to the set time interval. Therefore, after the software reset is performed, there is still an operation of transmitting the status monitoring message.
在步骤230中,电子设备一端在进行软件复位后,根据PD充电器进行状态监测响应的情况,判断PD充电器是否出现异常,如PD充电器出现异常,则保持断开充电连接的状态,如PD充电器未出现异常,则重新建立二者之间的充电连接,以通过PD充电器进行充电。In step 230, after performing a software reset, the electronic device determines whether the PD charger is abnormal according to the condition of the PD charger performing the status monitoring response. If the PD charger is abnormal, the state of the charging connection is disconnected, such as If there is no abnormality in the PD charger, the charging connection between the two is re-established to charge through the PD charger.
为了在软件复位不起作用的情况下,仍有机会使PD充电器恢复正常而进行充电操作,本公开方法还提供了第三种实施方式。In order to perform a charging operation in the event that the software reset does not work, there is still a chance to restore the PD charger to normal, the disclosed method also provides a third embodiment.
图3是本公开方法的第三种实施方式的流程图。3 is a flow chart of a third embodiment of the disclosed method.
如图3所示,在步骤310中,电子设备一端根据软件复位后仍判断出现异常的结果,发送硬件复位命令至PD充电器进行充电器的硬件复位。As shown in FIG. 3, in step 310, one end of the electronic device determines that an abnormal result has occurred after the software reset, and sends a hardware reset command to the PD charger to perform hardware reset of the charger.
该软件复位后仍判断出现异常即为通过上述步骤230判断得到的结果。After the software is reset, it is judged that the abnormality is the result obtained by the above step 230.
在步骤320中,电子设备一端发送状态监测消息至PD充电器进行状态监测。In step 320, the electronic device sends a status monitoring message to the PD charger for status monitoring.
其中,该发送状态监测消息的操作按照设定时间间隔持续进行,因此,在进行硬件复位后,仍会有发送状态监测消息的操作。The operation of the transmission status monitoring message is continued according to the set time interval. Therefore, after the hardware reset is performed, there is still an operation of transmitting the status monitoring message.
在步骤330中,电子设备一端在进行硬件复位后,根据PD充电器进行状态监测响应的情况,判断所述PD充电器是否出现异常,如PD充电器出现异常,则保持断开充电连接的状态,如PD充电器未出现异常,则重新建立二者之间的充电连接,以通过PD充电器进行充电。In step 330, after performing a hardware reset, the electronic device determines whether the PD charger is abnormal according to the status of the PD charger performing the status monitoring response. If the PD charger is abnormal, the charging connection is disconnected. If there is no abnormality in the PD charger, re-establish the charging connection between the two to charge through the PD charger.
在经过步骤330重新建立二者之间的充电连接后,即回到上述步骤120,以进行下一监测循环,为此,上述首次判断出现异常应理解为是在每一监测循环中的首次判断。After the charging connection between the two is re-established in step 330, the process returns to the above step 120 to perform the next monitoring cycle. For this reason, the above-mentioned first judgment abnormality should be understood as the first judgment in each monitoring cycle. .
在此基础上,如果PD充电器在经过软件和硬件复位后仍无法恢复正常,则说明PD充电器已经损坏,这时可以触发报警,以提醒用户该PD充电器已经损 坏的事实,此时,用户应该拔下数据线,断开PD充电器与电子设备之间的连接。On this basis, if the PD charger cannot be restored after being reset by software and hardware, the PD charger has been damaged, and an alarm can be triggered to remind the user that the PD charger has been damaged. The bad fact is that at this point, the user should unplug the data cable and disconnect the PD charger from the electronic device.
该触发报警例如包括触发声音、灯光、文字显示报警中的至少一种。The triggering alarm includes, for example, at least one of a trigger sound, a light, and a text display alarm.
由此可见,本公开方法一方面可以在判断PD充电器出现异常时断开充电连接,以有效保护电子设备,另一方面还可以自动采取措施使PD充电器恢复正常状态以为电子设备充电,进而能够提高用户体验度。It can be seen that the method of the present disclosure can disconnect the charging connection when the PD charger is abnormal, so as to effectively protect the electronic device, and can also automatically take measures to restore the PD charger to the normal state to charge the electronic device. Can improve user experience.
本公开还提供了一种充电保护装置,图4是该装置的一种实施结构的方框原理图。The present disclosure also provides a charging protection device, and FIG. 4 is a block schematic diagram of an implementation structure of the device.
如图4所示,该充电保护装置400包括识别模块401、监测消息发送模块402、状态分析模块403和执行模块404。As shown in FIG. 4, the charging protection device 400 includes an identification module 401, a monitoring message sending module 402, a state analysis module 403, and an execution module 404.
上述识别模块401设置为识别插入USB接口的充电器是否为支持快速充电的PD充电器。The above identification module 401 is configured to recognize whether the charger inserted into the USB interface is a PD charger that supports fast charging.
上述监测消息发送模块402设置为以设定的时间间隔发送状态监测消息至PD充电器进行状态监测。The monitoring message sending module 402 is configured to send a status monitoring message to the PD charger for status monitoring at set time intervals.
上述状态分析模块403设置为根据所述PD充电器进行状态监测响应的情况,判断所述PD充电器是否出现异常。The state analysis module 403 is configured to determine whether the PD charger is abnormal according to the status of the PD charger performing a status monitoring response.
上述执行模块404设置为在状态分析模块403判断PD充电器出现异常的情况下,断开电子设备与所述PD充电器之间的充电连接。The execution module 404 is configured to disconnect the charging connection between the electronic device and the PD charger if the state analysis module 403 determines that the PD charger is abnormal.
本公开装置400还可以包括软件复位模块(图中未示出),该软件复位模块设置为根据状态分析模块403首次判断出现异常的结果,发送软件复位命令至所述PD充电器进行充电器的软件复位。对应地,上述状态分析模块403还设置为在进行所述软件复位后,根据PD充电器进行状态监测响应的情况,判断所述PD充电器是否出现异常。对应地,上述执行模块404还设置为在状态分析模块403判断PD充电器已恢复正常的情况下,重新建立所述充电连接。The disclosed apparatus 400 may further include a software reset module (not shown) configured to first transmit a software reset command to the PD charger for performing the charger according to the state analysis module 403 first determining the result of the abnormality. Software reset. Correspondingly, the state analysis module 403 is further configured to determine whether the PD charger is abnormal according to a status of the PD charger performing a state monitoring response after performing the software reset. Correspondingly, the execution module 404 is further configured to re-establish the charging connection if the state analysis module 403 determines that the PD charger has returned to normal.
本公开装置400还可以包括硬件复位模块(图中未示出),该硬件复位模块设置为根据状态分析模块403在软件复位后仍判断出现异常的结果,发送硬件复位命令至PD充电器进行充电器的硬件复位。对应的,上述状态分析模块403还设置为在进行硬件复位后,根据PD充电器进行状态监测响应的情况,判断PD充电器是否出现异常。The disclosed apparatus 400 may further include a hardware reset module (not shown) configured to send a hardware reset command to the PD charger for charging according to the state analysis module 403 still determining the abnormal result after the software reset. Hardware reset of the device. Correspondingly, the state analysis module 403 is further configured to determine whether the PD charger is abnormal according to the status of the PD charger performing the state monitoring response after performing the hardware reset.
本公开装置还可以包括报警触发模块(图中未示出),该报警触发模块设置 为根据状态分析模块403在硬件复位后仍判断出现异常的结果,确定PD充电器已经损坏,并触发相应报警。The disclosed apparatus may further include an alarm triggering module (not shown) that sets the alarm triggering module In order to determine that an abnormality has occurred after the hardware is reset according to the state analysis module 403, it is determined that the PD charger has been damaged and a corresponding alarm is triggered.
本公开还提供了一种电子设备,根据一方面,该电子设备包括本公开的充电保护装置400。The present disclosure also provides an electronic device that, according to an aspect, includes the charge protection device 400 of the present disclosure.
图5为本公开的该电子设备的实施结构的方框原理图。FIG. 5 is a block schematic diagram of an implementation structure of the electronic device of the present disclosure.
如图5所示,该电子设备500包括存储器501和处理器502,该存储器501设置为存储指令,该指令设置为控制处理器502进行操作以执行上述充电保护方法。As shown in FIG. 5, the electronic device 500 includes a memory 501 and a processor 502 that is configured to store instructions that are arranged to control the processor 502 to operate to perform the charging protection method described above.
除此之外,根据图5所示,该电子设备500还包括接口装置503、输入装置504、显示装置505、通信装置506、扬声器507、麦克风508、用于采集温度信号的温度传感器(图中未示出)等等。尽管在图5中示出了多个装置,但是,本公开电子设备可以仅涉及其中的部分装置,例如,处理器501、存储器502、接口装置503等。In addition, as shown in FIG. 5, the electronic device 500 further includes an interface device 503, an input device 504, a display device 505, a communication device 506, a speaker 507, a microphone 508, and a temperature sensor for collecting a temperature signal (in the figure). Not shown) and so on. Although a plurality of devices are illustrated in FIG. 5, the disclosed electronic device may relate only to some of the devices, such as processor 501, memory 502, interface device 503, and the like.
上述通信装置506例如能够进行有有线或无线通信。The communication device 506 can be wired or wirelessly communicated, for example.
上述接口装置503例如包括耳机插孔、Type-C接口等,以使接口装置503的Type-C接口通过Type-C数据线与PD充电器建立连接。The interface device 503 includes, for example, a headphone jack, a Type-C interface, etc., such that the Type-C interface of the interface device 503 establishes a connection with the PD charger through the Type-C data line.
上述输入装置504例如可以包括触摸屏、按键等。The input device 504 described above may include, for example, a touch screen, a button, and the like.
上述显示装置505例如是液晶显示屏、触摸显示屏等。The display device 505 described above is, for example, a liquid crystal display, a touch display, or the like.
本公开电子设备例如是手机、平板电脑等。The electronic device of the present disclosure is, for example, a mobile phone, a tablet computer, or the like.
本说明书中的实施例均采用递进的方式描述,实施例之间相同相似的部分相互参见即可,每个实施例说明的都是与其他实施例的不同之处,但本领域技术人员应当清楚的是,上述实施例可以根据需要单独使用或者相互结合使用。另外,对于装置实施例而言,由于装置实施例是与方法实施例相对应,相关之处请参见方法实施例的对应部分的说明。以上所描述的系统实施例仅仅是示意性的,其中作为分离部件说明的模块可以是或者也可以不是物理上分开的。The embodiments in the present specification are described in a progressive manner, and the same similar parts between the embodiments may be referred to each other, and each embodiment illustrates differences from other embodiments, but those skilled in the art should It is clear that the above embodiments can be used alone or in combination with each other as needed. In addition, for the device embodiment, since the device embodiment corresponds to the method embodiment, please refer to the description of the corresponding part of the method embodiment. The system embodiments described above are merely illustrative, and the modules illustrated as separate components may or may not be physically separate.
本公开可以是装置、方法和/或计算机程序产品。计算机程序产品可以包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行上述任一实施例中的方法。 The present disclosure can be an apparatus, method, and/or computer program product. The computer program product can include a computer program stored on a non-transitory computer readable storage medium, the computer program including program instructions that, when executed by a computer, cause the computer to perform any of the above-described embodiments method.
计算机可读存储介质可以是可以保持和存储由指令执行设备使用的指令的有形设备。计算机可读存储介质例如可以是但不限于电存储设备、磁存储设备、光存储设备、电磁存储设备、半导体存储设备或者上述的任意合适的组合。计算机可读存储介质的例子(非穷举的列表)包括:便携式计算机盘、硬盘、随机存取存储器(Random-Access Memory,RAM)、只读存储器(Read-only Memory ROM)、可擦式可编程只读存储器(Erasable Programmable Read Only Memory,EPROM)、闪存(Flash)、静态随机存取存储器(Static Random Access Memory,SRAM)、便携式压缩盘只读存储器(Compact Disc Read-Only Memory,CD-ROM)、数字多功能盘(Digital Versatile Disc,DVD)、记忆棒、软盘、机械编码设备、例如存储有指令的打孔卡以及上述的任意合适的组合。这里所使用的计算机可读存储介质不被解释为瞬时信号本身,诸如无线电波或者其他自由传播的电磁波、通过波导或其他传输媒介传播的电磁波(例如,通过光纤电缆的光脉冲)、或者通过电线传输的电信号。The computer readable storage medium can be a tangible device that can hold and store the instructions used by the instruction execution device. The computer readable storage medium can be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. Examples of computer readable storage media (non-exhaustive lists) include: portable computer disks, hard disks, random access memory (RAM), read-only memory ROM, erasable Erasable Programmable Read Only Memory (EPROM), Flash (Flash), Static Random Access Memory (SRAM), Compact Disc Read-Only Memory (CD-ROM) ), a Digital Versatile Disc (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card with instructions stored therein, and any suitable combination of the above. A computer readable storage medium as used herein is not to be interpreted as a transient signal itself, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (eg, a light pulse through a fiber optic cable), or through a wire The electrical signal transmitted.
这里所描述的计算机可读程序指令可以从计算机可读存储介质下载到多个计算/处理设备,或者通过网络、例如因特网、局域网、广域网和/或无线网下载到外部计算机或外部存储设备。网络可以包括铜传输电缆、光纤传输、无线传输、路由器、防火墙、交换机、网关计算机和/或边缘服务器。每个计算/处理设备中的网络适配卡或者网络接口从网络接收计算机可读程序指令,并转发该计算机可读程序指令,以供存储在多个计算/处理设备中的计算机可读存储介质中。The computer readable program instructions described herein can be downloaded to a plurality of computing/processing devices from a computer readable storage medium or downloaded to an external computer or external storage device over a network, such as the Internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and/or edge servers. A network adapter card or network interface in each computing/processing device receives computer readable program instructions from a network and forwards the computer readable program instructions for storage on a computer readable storage medium in a plurality of computing/processing devices in.
用于执行本公开操作的计算机程序指令可以是汇编指令、指令集架构(Industry Standard Architecture,ISA)指令、机器指令、机器相关指令、微代码、固件指令、状态设置数据、或者以一种或多种编程语言的任意组合编写的源代码或目标代码,所述编程语言包括面向对象的编程语言-诸如Smalltalk、C++等,以及常规的过程式编程语言-诸如“C”语言或类似的编程语言。计算机可读程序指令可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络包括局域网(Local Area Network,LAN)或广域网(Wide Area Network,WAN)连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。在一些实施例中,通过利用计算机可读程序指令的状态信息来个性化定制电子电路,例如可编程逻辑电路、 现场可编程门阵列(Field-Programmable Gate Array,FPGA)或可编程逻辑阵列(Programmable Logic Array,PLA),该电子电路可以执行计算机可读程序指令,从而实现本公开。Computer program instructions for performing the operations of the present disclosure may be assembly instructions, Industry Standard Architecture (ISA) instructions, machine instructions, machine related instructions, microcode, firmware instructions, state setting data, or in one or more Source code or object code written in any combination of programming languages, including object oriented programming languages - such as Smalltalk, C++, etc., as well as conventional procedural programming languages - such as the "C" language or similar programming languages. The computer readable program instructions can execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer, partly on the remote computer, or entirely on the remote computer or server. carried out. In the case of a remote computer, the remote computer can be connected to the user computer through any kind of network including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (for example, using the Internet) The service provider comes to connect via the Internet). In some embodiments, custom electronic circuits, such as programmable logic circuits, are personalized by utilizing state information of computer readable program instructions, A Field-Programmable Gate Array (FPGA) or a Programmable Logic Array (PLA) that can execute computer readable program instructions to implement the present disclosure.
这里参照根据本公开实施例的方法、装置(系统)和计算机程序产品的流程图和/或框图描述了本公开。应当理解,流程图和/或框图的每个方框以及流程图和/或框图中方框的组合,都可以由计算机可读程序指令实现。The present disclosure is described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system) and computer program products according to embodiments of the present disclosure. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowcharts and/or block diagrams can be implemented by computer readable program instructions.
这些计算机可读程序指令可以提供给通用计算机、专用计算机或其它可编程数据处理装置的处理器,从而生产出一种机器,使得这些指令在通过计算机或其它可编程数据处理装置的处理器执行时,产生了实现流程图和/或框图中的一个或多个方框中规定的功能/动作的装置。也可以把这些计算机可读程序指令存储在计算机可读存储介质中,这些指令使得计算机、可编程数据处理装置和/或其他设备以特定方式工作,从而,存储有指令的计算机可读介质则包括一个制造品,包括实现流程图和/或框图中的一个或多个方框中规定的功能/动作的多个方面的指令。The computer readable program instructions can be provided to a general purpose computer, a special purpose computer, or a processor of other programmable data processing apparatus to produce a machine such that when executed by a processor of a computer or other programmable data processing apparatus Means for implementing the functions/acts specified in one or more of the blocks of the flowcharts and/or block diagrams. The computer readable program instructions can also be stored in a computer readable storage medium that causes the computer, programmable data processing device, and/or other device to operate in a particular manner, such that the computer readable medium storing the instructions includes An article of manufacture includes instructions for implementing aspects of the functions/acts recited in one or more of the flowcharts and/or block diagrams.
也可以把计算机可读程序指令加载到计算机、其它可编程数据处理装置、或其它设备上,使得在计算机、其它可编程数据处理装置或其它设备上执行一系列操作步骤,以产生计算机实现的过程,从而使得在计算机、其它可编程数据处理装置、或其它设备上执行的指令实现流程图和/或框图中的一个或多个方框中规定的功能/动作。The computer readable program instructions can also be loaded onto a computer, other programmable data processing device, or other device to perform a series of operational steps on a computer, other programmable data processing device or other device to produce a computer-implemented process. Thus, instructions executed on a computer, other programmable data processing apparatus, or other device implement the functions/acts recited in one or more of the flowcharts and/or block diagrams.
附图中的流程图和框图显示了根据本公开的多个实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或指令的一部分,所述模块、程序段或指令的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或动作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。对于本领域技术人员来说公知的是,通过硬件方式实现、通过软件方式实现以及通过软件和硬件结合的方式实现都是等价的。 The flowchart and block diagrams in the Figures illustrate the architecture, functionality and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagram can represent a module, a program segment, or a portion of an instruction that includes one or more components for implementing the specified logical functions. Executable instructions. In some alternative implementations, the functions noted in the blocks may also occur in a different order than those illustrated in the drawings. For example, two consecutive blocks may be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending upon the functionality involved. It is also noted that each block of the block diagrams and/or flowcharts, and combinations of blocks in the block diagrams and/or flowcharts, can be implemented in a dedicated hardware-based system that performs the specified function or function. Or it can be implemented by a combination of dedicated hardware and computer instructions. It is well known to those skilled in the art that implementation by hardware, implementation by software, and implementation by a combination of software and hardware are equivalent.
工业实用性Industrial applicability
本公开实施例提供的一种充电保护方法、装置及电子设备,在判断PD充电器出现异常的情况下断开电子设备与PD充电器之间的充电连接,保护了电子设备不受损坏。 The charging protection method, device and electronic device provided by the embodiments of the present disclosure disconnect the charging connection between the electronic device and the PD charger when determining that the PD charger is abnormal, and protect the electronic device from damage.

Claims (12)

  1. 一种充电保护方法,应用于电子设备,包括:A charging protection method applied to an electronic device, comprising:
    识别插入通用串行总线USB接口的充电器是否为支持快速充电的快速充电PD充电器,如插入USB接口的充电器是支持快速充电的PD充电器,则:Identify whether the charger plugged into the Universal Serial Bus USB interface is a fast charging PD charger that supports fast charging. If the charger plugged into the USB interface is a PD charger that supports fast charging, then:
    以设定的时间间隔发送状态监测消息至PD充电器进行状态监测;Sending a status monitoring message to the PD charger for status monitoring at set intervals;
    根据所述PD充电器进行状态监测响应的情况,判断所述PD充电器是否出现异常;以及Determining whether the PD charger is abnormal according to a condition of the status monitoring response of the PD charger;
    如所述PD充电器出现异常,则断开电子设备与所述PD充电器之间的充电连接。If the PD charger is abnormal, the charging connection between the electronic device and the PD charger is disconnected.
  2. 根据权利要求1所述的方法,所述方法还包括:The method of claim 1 further comprising:
    根据首次判断出现异常的结果,发送软件复位命令至所述PD充电器进行充电器的软件复位;Sending a software reset command to the PD charger to perform a software reset of the charger according to the result of determining the abnormality for the first time;
    进行所述软件复位后,根据所述PD充电器进行状态监测响应的情况,判断所述PD充电器是否出现异常;以及After performing the software reset, determining whether the PD charger is abnormal according to a status monitoring response of the PD charger;
    如所述PD充电器已恢复正常,则重新建立所述充电连接。If the PD charger has returned to normal, the charging connection is re-established.
  3. 根据权利要求2所述的方法,所述方法还包括:The method of claim 2, the method further comprising:
    根据软件复位后仍判断所述PD充电器出现异常的结果,发送硬件复位命令至PD充电器进行充电器的硬件复位;According to the result of the software charger still determining that the PD charger is abnormal, sending a hardware reset command to the PD charger to perform hardware reset of the charger;
    进行所述硬件复位后,根据所述PD充电器进行状态监测响应的情况,判断所述PD充电器是否出现异常;以及After performing the hardware reset, determining whether the PD charger is abnormal according to a status monitoring response of the PD charger;
    如所述PD充电器已恢复正常,则重新建立所述充电连接。If the PD charger has returned to normal, the charging connection is re-established.
  4. 根据权利要求3所述的方法,所述方法还包括:The method of claim 3, further comprising:
    根据硬件复位后仍判断所述PD充电器出现异常的结果,确定PD充电器已经损坏,并触发相应报警。According to the result that the PD charger is abnormal after the hardware reset, it is determined that the PD charger has been damaged, and the corresponding alarm is triggered.
  5. 一种充电保护装置,包括:A charging protection device comprising:
    识别模块,设置为识别插入USB接口的充电器是否为支持快速充电的PD充电器;The identification module is configured to identify whether the charger inserted into the USB interface is a PD charger that supports fast charging;
    监测消息发送模块,设置为以设定的时间间隔发送状态监测消息至PD充电 器进行状态监测;Monitoring message sending module, configured to send status monitoring message to PD charging at set time interval Condition monitoring;
    状态分析模块,设置为根据所述PD充电器进行状态监测响应的情况,判断所述PD充电器是否出现异常;以及,a state analysis module, configured to determine whether the PD charger is abnormal according to a status monitoring response of the PD charger; and
    执行模块,设置为在所述状态分析模块判断所述PD充电器出现异常的情况下,断开电子设备与所述PD充电器之间的充电连接。And an execution module, configured to disconnect the charging connection between the electronic device and the PD charger if the state analysis module determines that the PD charger is abnormal.
  6. 根据权利要求5所述的装置,所述装置还包括:The apparatus of claim 5, the apparatus further comprising:
    软件复位模块,设置为根据所述状态分析模块首次判断出现异常的结果,发送软件复位命令至所述PD充电器进行充电器的软件复位;a software reset module, configured to send a software reset command to the PD charger to perform a software reset of the charger according to the result that the state analysis module first determines that an abnormality occurs;
    所述状态分析模块还设置为在进行所述软件复位后,根据所述PD充电器进行状态监测响应的情况,判断所述PD充电器是否出现异常;以及The state analysis module is further configured to determine, after the software reset is performed, whether the PD charger is abnormal according to a status monitoring response of the PD charger;
    所述执行模块还设置为在所述状态分析模块判断所述PD充电器已恢复正常的情况下,重新建立所述充电连接。The execution module is further configured to re-establish the charging connection if the state analysis module determines that the PD charger has returned to normal.
  7. 根据权利要求6所述的装置,所述装置还包括:The apparatus of claim 6 further comprising:
    硬件复位模块,设置为根据所述状态分析模块在软件复位后仍判断所述PD充电器出现异常的结果,发送硬件复位命令至PD充电器进行充电器的硬件复位;以及a hardware reset module, configured to: according to the state analysis module, determine, after a software reset, that the PD charger has an abnormal result, send a hardware reset command to the PD charger to perform a hardware reset of the charger;
    所述状态分析模块还设置为在进行所述硬件复位后,根据所述PD充电器进行状态监测响应的情况,判断所述PD充电器是否出现异常。The state analysis module is further configured to determine whether the PD charger is abnormal according to a condition of the state monitoring response of the PD charger after performing the hardware reset.
  8. 根据权利要求7所述的装置,所述装置还包括:The apparatus of claim 7 further comprising:
    报警触发模块,设置为根据所述状态分析模块在硬件复位后仍判断所述PD充电器出现异常的结果,确定PD充电器已经损坏,并触发相应报警。The alarm triggering module is configured to determine, according to the state analysis module, that the PD charger is abnormal after the hardware reset, determine that the PD charger has been damaged, and trigger a corresponding alarm.
  9. 一种电子设备,包括权利要求5至8中任一项所述的装置。An electronic device comprising the device of any one of claims 5 to 8.
  10. 一种电子设备,包括接口装置、存储器和处理器,所述接口装置设置为通过Type-C数据线与充电器建立连接,其特征在于,所述存储器设置为存储指令,所述指令设置为控制所述处理器进行操作以执行根据权利要求1至4中任一项所述的方法。An electronic device comprising an interface device, a memory and a processor, the interface device being arranged to establish a connection with a charger via a Type-C data line, wherein the memory is configured to store an instruction, the instruction being set to control The processor is operative to perform the method of any one of claims 1 to 4.
  11. 一种非暂态计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于使所述计算机执行如权利要求1-4任一项所述的方法。 A non-transitory computer readable storage medium storing computer executable instructions for causing the computer to perform the method of any of claims 1-4.
  12. 一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行权利要求1-4所述的方法。 A computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions that, when executed by a computer, cause the computer to execute The method of claims 1-4.
PCT/CN2016/102968 2016-04-27 2016-10-21 Charging protection method and apparatus, and electronic device WO2017185687A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610270490.6A CN105958562A (en) 2016-04-27 2016-04-27 Electronic equipment, charging protection method and device thereof
CN201610270490.6 2016-04-27

Publications (1)

Publication Number Publication Date
WO2017185687A1 true WO2017185687A1 (en) 2017-11-02

Family

ID=56916645

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/102968 WO2017185687A1 (en) 2016-04-27 2016-10-21 Charging protection method and apparatus, and electronic device

Country Status (2)

Country Link
CN (1) CN105958562A (en)
WO (1) WO2017185687A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111864858A (en) * 2020-08-10 2020-10-30 北京小米移动软件有限公司 Charging control method, charging control device, power utilization equipment, charging system and medium
CN111864858B (en) * 2020-08-10 2024-06-04 北京小米移动软件有限公司 Charging control method, device, electric equipment, charging equipment, system and medium

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105958562A (en) * 2016-04-27 2016-09-21 乐视控股(北京)有限公司 Electronic equipment, charging protection method and device thereof
CN110413451A (en) * 2019-07-22 2019-11-05 苏州桦汉科技有限公司 A kind of USB device automatic recovery method, apparatus and system
CN111896978B (en) * 2020-08-24 2023-09-26 广州南方卫星导航仪器有限公司 GNSS original observation data recording method and device of unmanned aerial vehicle

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201369587Y (en) * 2007-01-06 2009-12-23 苹果公司 Device for assisting to transmit electric power and information among electric devices
CN104393627A (en) * 2014-08-29 2015-03-04 展讯通信(上海)有限公司 USB charger, mobile terminal and charging control method
CN104767242A (en) * 2015-03-30 2015-07-08 雅迪科技集团有限公司 Charging method of lithium battery for electric vehicle
CN105958562A (en) * 2016-04-27 2016-09-21 乐视控股(北京)有限公司 Electronic equipment, charging protection method and device thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201369587Y (en) * 2007-01-06 2009-12-23 苹果公司 Device for assisting to transmit electric power and information among electric devices
CN104393627A (en) * 2014-08-29 2015-03-04 展讯通信(上海)有限公司 USB charger, mobile terminal and charging control method
CN104767242A (en) * 2015-03-30 2015-07-08 雅迪科技集团有限公司 Charging method of lithium battery for electric vehicle
CN105958562A (en) * 2016-04-27 2016-09-21 乐视控股(北京)有限公司 Electronic equipment, charging protection method and device thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111864858A (en) * 2020-08-10 2020-10-30 北京小米移动软件有限公司 Charging control method, charging control device, power utilization equipment, charging system and medium
CN111864858B (en) * 2020-08-10 2024-06-04 北京小米移动软件有限公司 Charging control method, device, electric equipment, charging equipment, system and medium

Also Published As

Publication number Publication date
CN105958562A (en) 2016-09-21

Similar Documents

Publication Publication Date Title
WO2017185686A1 (en) Charging power adjusting method and apparatus, and electronic device
US11631981B2 (en) Power adapter, terminal, and method for processing impedance anomalies in charging loop
CN109690513B (en) Systems, methods, and apparatus for locally virtualizing video in a hybrid docking station
AU2014415910B2 (en) Charging protection method and apparatus
EP2871575B1 (en) Redirecting notifications to a wearable computing device
US20170179741A1 (en) Charging Control Method and Apparatus
US9960615B2 (en) Method for controlling power of electronic device and electronic device thereof
JP6685429B2 (en) Charging method and related devices
WO2015113465A1 (en) Terminal, power adapter, and method for processing charging exception
WO2018001168A1 (en) Method and apparatus for managing main board card and backup board card
EP2961197B1 (en) Apparatus and method for preventing malfunction in an electronic device
WO2017185687A1 (en) Charging protection method and apparatus, and electronic device
EP3160004B1 (en) Electric power management method and apparatus, and electronic device
JP2019515614A5 (en)
US9854621B2 (en) Wireless connection switching method, wireless terminal, and system thereof
US20130217434A1 (en) Method and system for transmitting data and electronic apparatus using the method
WO2017185685A1 (en) Power delivery command processing method and apparatus, and electronic device
JP2018000554A (en) Onset risk warning system, onset risk warning program, and onset risk warning method
CN117200403A (en) Charging control method, electronic device, power adapter and readable storage medium
CN113571104A (en) Hard disk protection circuit and corresponding electronic device

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

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

Ref document number: 16900195

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16900195

Country of ref document: EP

Kind code of ref document: A1