WO2022095961A1 - Charging method, charging apparatus, and charger - Google Patents

Charging method, charging apparatus, and charger Download PDF

Info

Publication number
WO2022095961A1
WO2022095961A1 PCT/CN2021/129001 CN2021129001W WO2022095961A1 WO 2022095961 A1 WO2022095961 A1 WO 2022095961A1 CN 2021129001 W CN2021129001 W CN 2021129001W WO 2022095961 A1 WO2022095961 A1 WO 2022095961A1
Authority
WO
WIPO (PCT)
Prior art keywords
charging
charging protocol
protocol
handshake
charger
Prior art date
Application number
PCT/CN2021/129001
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 WO2022095961A1 publication Critical patent/WO2022095961A1/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/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

Definitions

  • the present application belongs to the field of communication technologies, and in particular relates to a charging method, a charging device and a charger.
  • fast charging technology is a charging method commonly used by mobile phone manufacturers.
  • the more commonly used fast charging protocols include Power Delivery (PD) charging protocol, Pump Express (PE) charging protocol, and fast charging ( Quick Charge, QC) charging protocol, fast charging protocol (Fast Charge Protocol, FCP), super charging protocol (Super Charge Protocol, SCP), flash charging protocol (VOOC) and other charging protocols.
  • PD charging protocol Power Delivery
  • PE Pump Express
  • Quick Charge, QC fast charging protocol
  • FCP Fast Charge Protocol
  • Super Charge Protocol Super Charge Protocol
  • SCP super charging protocol
  • VOOC flash charging protocol
  • some charging protocols are universal fast charging protocols, such as PD charging protocols, while others are private charging protocols customized by mobile phone manufacturers based on their own mobile phones. Such private charging protocols can make the fast charging function more suitable. Your own mobile phone is also more secure.
  • a charger supports QC charging protocol, PD charging protocol and other fast charging protocols, and supports QC
  • the communication between the mobile phone of the charging protocol and the charger can carry out the fast charging communication of the QC charging protocol, and the communication between the mobile phone supporting the PD charging protocol and the charger can carry out the fast charging communication of the PD charging line protocol, thus increasing the applicability of the charger ;
  • Some mobile phones also support a variety of fast charging protocols. For example, mobile phones support both the fast charging method of the QC charging protocol and the fast charging method of the PD charging protocol; the charger that supports the PD charging protocol is connected to the fast charging protocol of the PD charging protocol. Fast charging is performed in the charging mode, and the charger that supports the QC charging protocol is connected to perform fast charging according to the QC charging protocol, thereby increasing the charging experience of the mobile phone.
  • a fast-charging mobile phone that supports a private protocol communicates with a charger that supports multiple fast-charging protocols
  • the intention is to give priority to identifying the private fast-charging protocol, but due to the communication of some charging protocols (such as PD charging protocol, QC charging protocol, etc.)
  • the speed is relatively fast.
  • the communication of the PD and other charging protocols is prioritized, and the fast charging is carried out according to the communication methods of the PD and other charging protocols, which undoubtedly reduces the usability of the private charging protocol and reduces the charging time. safety.
  • the purpose of the embodiments of the present application is to provide a charging method, a charging device and a charger, which can solve the problem that in the prior art, in the case of supporting multiple charging protocols, a type of charging protocol with a faster communication speed is given priority to establish communication and perform charging This makes it impossible to charge according to the private charging protocol, which in turn leads to the problems of low actual usage rate of the private charging protocol and low charging security.
  • an embodiment of the present application provides a charging method, the method comprising:
  • the powered device is executed according to the second charging protocol. charging, if the handshake condition of the second charging protocol is not satisfied, charging the power receiving device according to the first charging protocol after the first preset time period;
  • the handshake communication rate of the first charging protocol is faster than that of the second charging protocol.
  • an embodiment of the present application provides a charging device, the device comprising:
  • the charging module is configured to, within a first preset time period after the charger and the power receiving device are connected, if the charger and the power receiving device meet the handshake conditions of the second charging protocol, the charging module will be charged according to the second charging protocol.
  • the power receiving device is charged, and if the handshake condition of the second charging protocol is not satisfied, the power receiving device is charged according to the first charging protocol after the first preset time period;
  • the handshake communication rate of the first charging protocol is faster than that of the second charging protocol.
  • an embodiment of the present application provides a charger, the charger includes a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction being The processor implements the steps of the method according to the first aspect when executed.
  • an embodiment of the present application provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the steps of the method according to the first aspect are implemented .
  • an embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction, and implement the first aspect the method described.
  • an embodiment of the present application provides a program product, the program product is stored in a non-volatile storage medium, and the program product is executed by at least one processor to implement the method according to the first aspect. step.
  • an embodiment of the present application provides a communication device configured to perform the steps of the method described in the first aspect.
  • the second charging protocol is identified first, and the second charging protocol is used for fast charging on the premise of satisfying the second charging protocol, which can improve the utilization rate of the second charging protocol and ensure the charging efficiency. safety.
  • FIG. 1 is a schematic flowchart of a charging method according to an embodiment of the present application
  • FIG. 2 is a schematic structural diagram of a charging device according to an embodiment of the present application.
  • FIG. 3 is a schematic structural diagram of a charger according to an embodiment of the present application.
  • first, second and the like in the description and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in sequences other than those illustrated or described herein, and distinguish between “first”, “second”, etc.
  • the objects are usually of one type, and the number of objects is not limited.
  • the first object may be one or more than one.
  • “and/or” in the description and claims indicates at least one of the connected objects, and the character “/" generally indicates that the associated objects are in an "or” relationship.
  • FIG. 1 is a schematic flowchart of a charging method according to an embodiment of the present application.
  • an embodiment of the present application provides a charging method, which can be applied to a charger, and the charging method may include:
  • Step 11 Within the first preset time period after the charger and the powered device are connected, if the charger and the powered device meet the handshake conditions of the second charging protocol, the powered device is charged according to the second charging protocol. If the handshake condition of the second charging protocol is not satisfied, the power receiving device is charged according to the first charging protocol after the first preset time period; wherein the handshake communication rate of the first charging protocol is faster than that of the second charging protocol.
  • the determination of whether to connect with a powered device can be determined by: whether an Rd resistance (ie, a pull-down resistor) is detected.
  • an Rd resistance ie, a pull-down resistor
  • the power receiving device After connecting with the power receiving device, because the handshake communication rate of the first charging protocol is faster than that of the second charging protocol, it means that in the prior art, the power receiving device will be firstly communicated with the power receiving device according to the first charging protocol, and then according to the second charging protocol.
  • a charging protocol charges the power receiving device.
  • a time period that is, a first preset time period, is firstly set, and within the first preset period of time, it is detected whether the handshake of the second charging protocol is satisfied.
  • the handshake condition that satisfies the second charging protocol if the handshake condition that satisfies the second charging protocol is detected within the first preset time period, handshake and communicate with the power receiving device according to the second charging protocol, and then charge the power receiving device according to the second charging protocol. If the handshake condition that satisfies the second charging protocol is not detected within the first preset time period, the power receiving device can be charged according to the first charging protocol after the first preset time period. The time for the first charging protocol to complete the handshake communication with the power receiving device and charging the power receiving device. Therefore, under the premise of hardly affecting the charging response time of the connection with the power receiving device, it is first to detect whether the handshake condition of the second charging protocol is satisfied. , so that the usage rate of the second charging protocol can be improved, and the safety during charging can be improved.
  • a first preset duration is reserved to detect whether the handshake conditions of the second charging protocol are met. After the first preset duration is exceeded, and the second charging protocol is not detected, the The first charging protocol completes handshake communication with the powered device and charges the powered device according to the first charging protocol.
  • the charger and the powered device may support multiple charging protocols, including a first charging protocol and a second charging protocol, where the first charging protocol may be a charging protocol with a fast handshake communication rate set, such as PD charging protocol, PE charging protocol, QC charging protocol, etc., and the second charging protocol can be a private charging protocol, such as FCP charging protocol, SCP charging protocol, VOOC charging protocol, etc. Since the private charging protocol sets the mobile phone manufacturer's own production The protection measures of the terminal are more secure, so the charging of the power receiving device by preferentially using the second charging protocol can ensure the security of charging.
  • a first charging protocol may be a charging protocol with a fast handshake communication rate set, such as PD charging protocol, PE charging protocol, QC charging protocol, etc.
  • the second charging protocol can be a private charging protocol, such as FCP charging protocol, SCP charging protocol, VOOC charging protocol, etc. Since the private charging protocol sets the mobile phone manufacturer's own production The protection measures of the terminal are more secure, so the charging of the power receiving device by
  • the power receiving device within the first preset time period after the charger and the power receiving device are connected, if the charger and the power receiving device meet the handshake conditions of the second charging protocol, the power receiving device will be charged according to the second charging protocol. to charge, including:
  • Delay sending the first handshake request to the powered device according to the first charging protocol
  • the charger and the powered device satisfy the handshake condition of the second charging protocol, the communication signal of the first charging protocol is shielded, and the powered device is charged according to the second charging protocol.
  • the sending of the first handshake request to the powered device can be postponed (while in the prior art, the first handshake request is sent to the powered device according to the first charging protocol immediately after the powered device is connected), because the receiver The electrical device does not receive the first handshake request within a certain period of time, which will trigger the powered device to send a hard reset signal to the charger (for example, in the PD charging protocol, if the powered device cannot receive the first handshaking request sent by the charger, A handshake request will trigger the powered device to send a hard reset signal, causing a delay), and the charger will thus receive at least one hard reset signal sent by the powered device according to the first charging protocol; It is in the process of handshake communication, but the handshake communication has not been completed, so it will not directly
  • the handshake condition is to communicate with the power receiving device according to the second charging protocol, and after the handshake communication is completed, the power receiving device is charged according to the second charging protocol; if the handshake meeting the second charging protocol is not detected within the first preset time period. condition, after the first preset time period elapses, the charger sends a first handshake request to the powered device according to the first charging protocol, and then completes handshake communication with the powered device, and then performs a handshake communication with the powered device according to the first charging protocol. Charge.
  • the preset condition is that the number of times of the received hard reset signal is less than the preset number of times, or the preset condition is that the hard reset signal is received for the first time within a second preset time period.
  • the preset condition is that the number of received hard reset signals is less than the preset number of times, and the preset number of times is a positive integer.
  • the preset number of times is a positive integer.
  • the number of times is set to 3, that is to say, if the first handshake request sent by the charger is not received, the power receiving device will be triggered to send three hard reset signals in turn, and the first preset duration is the same as the power receiving device. From the moment of connection to the moment of receiving the third hard reset signal, before the third hard reset signal is received, it is possible to check whether the handshake conditions of the second charging protocol are met within this time period.
  • the charger sends a first handshake request to the power receiving device according to the first charging protocol, and completes handshake communication with the power receiving device.
  • the powered device is charged according to the first charging protocol to ensure that the powered device can still be charged relatively quickly.
  • the end time may be within a second preset time period after the hard reset signal is received for the first time, for example, when the first charging protocol is a PD charging protocol, although the protocol stipulates The hard reset signal triggered three times, but in actual scenarios, many manufacturers do not set the terminal (ie, the power receiving device) to trigger the hard reset signal three times according to the standard. Therefore, in order to avoid receiving the third hard reset signal for a long time As a result of not being able to be charged, the embodiment of the present application adds a waiting time, that is, the second preset time, that is, after the first hard reset signal is received, the second preset time elapses.
  • the first preset duration is from the moment of connection with the power receiving device to the moment when the second preset duration is reached after receiving the first hard reset signal.
  • the communication signal of the first charging protocol can be ignored or shielded. If the subsequent hard reset signal is not received within the preset time period, a first handshake request is sent to the power receiving device according to the first charging protocol, a handshake communication is established with the power receiving device, and the mode of charging according to the first charging protocol is entered.
  • the second charging protocol charges the powered device, including:
  • the following operations are repeated: sending a first handshake request to the powered device according to the first charging protocol, and after receiving the first reply signal sent by the powered device in response to the first handshake request and the power request In this case, send a soft reset signal and a first handshake request to the powered device;
  • the communication signal of the first charging protocol is shielded, and the powered device is charged according to the second charging protocol.
  • the handshake communication rate of the first charging protocol is faster than that of the second charging protocol, in order to delay the moment when the charger completes handshake communication with the power receiving device and performs charging according to the first charging protocol, the following operations may also be repeated within the first preset duration: sending a first handshake request to the powered device according to the first charging protocol, and the powered device will send a first reply signal in response to the first handshake request and a power request, wherein the first reply signal is used to indicate that the first handshake request sent by the charger has been received, and the power request is used to request the charger for the power level required by the powered device itself, according to the prior art.
  • the charger needs to reply with a second reply signal, indicating that the charger has received the power request, and can charge the powered device with the requested power according to the first charging protocol.
  • a second reply signal indicating that the charger has received the power request
  • the charger does not send the second reply signal, but sends the soft reset signal and the first handshake request in sequence. If the powered device does not receive the second reply signal, the communication between the charger and the powered device is not completely established, and because the first handshake request is received, the powered device will respond to the first handshake request again.
  • the power receiving device is charged according to the first charging protocol after the first preset time period, including:
  • the powered device is charged according to the first charging protocol in response to a power request.
  • the charger will follow the normal process, after receiving the first reply signal and power request, A second reply signal is sent to the powered device, indicating that the power request has been received, and the powered device is charged with the requested power according to the first charging protocol.
  • the method further includes:
  • the charging of the power receiving device according to the first charging protocol is stopped, and the charging of the power receiving device according to the second charging protocol is switched.
  • the power receiving device Since the handshake condition that satisfies the second charging protocol is not detected within the first preset time period, in order to ensure timely charging of the power receiving device, after the first preset time period, the power receiving device will be charged according to the first charging protocol ; After that, it can continue to detect whether the handshake conditions of the second charging protocol are met, and when it is detected that the handshake conditions of the second charging protocol are met, the communication of the first charging protocol is shielded, and the receiver is stopped according to the first charging protocol. The electrical device is charged, and in response to the handshake communication of the second charging line protocol, the powered device is charged according to the second charging protocol.
  • the handshake condition for satisfying the second charging protocol may be that the voltage value between D+/D- is greater than or equal to the preset value voltage threshold, correspondingly, the handshake condition that does not meet the second charging protocol may be that the voltage value between D+/D- is less than the preset voltage threshold; when the detection is performed within the first preset time period, D+/D can be detected multiple times -The voltage value between - to ensure the accuracy of the detection results, the detection time interval can be periodic or aperiodic; when the detection is performed after the first preset time period is exceeded, optional Tests at certain intervals.
  • the second charging protocol is identified first, and the second charging protocol is used for fast charging on the premise of satisfying the second charging protocol, which can improve the utilization rate of the second charging protocol and ensure the safety of charging. sex.
  • the executing subject may be a charging device, or a control module in the charging device for executing the charging method.
  • the charging device provided by the embodiment of the present application is described by taking the charging method performed by the charging device as an example.
  • FIG. 2 is a schematic structural diagram of a charging device according to an embodiment of the present application.
  • the charging device 20 may include:
  • the powered device is charged according to the second charging protocol.
  • Two handshake conditions of the charging protocol charging the powered device according to the first charging protocol after the first preset time period;
  • the handshake communication rate of the first charging protocol is faster than that of the second charging protocol.
  • the charging module 21 includes:
  • a delay sending unit configured to delay sending the first handshake request to the powered device according to the first charging protocol
  • a receiving unit configured to receive at least one hard reset signal sent by the powered device according to the first charging protocol
  • the first charging unit is used for shielding the communication signal of the first charging protocol and charging the power receiving device according to the second charging protocol if the charger and the power receiving device meet the handshake conditions of the second charging protocol under the condition that the preset conditions are met. device to charge.
  • the preset condition is that the number of received hard reset signals is less than the preset number of times, or the preset condition is that the hard reset signal is received for the first time within a second preset time period.
  • the charging module 21 includes:
  • a looping unit configured to loop the following operations within a first preset time period: sending a first handshake request to the power receiving device according to the first charging protocol, and receiving a first reply sent by the power receiving device in response to the first handshake request In the case of a signal and a power request, send a soft reset signal and a first handshake request to the powered device;
  • the second charging unit is configured to, within the first preset time period, shield the communication signal of the first charging protocol if the charger and the power receiving device meet the handshake conditions of the second charging protocol, and perform the charging operation on the power receiving device according to the second charging protocol. Charge.
  • the charging module 21 includes:
  • the third charging unit is configured to, if the charger and the powered device do not meet the handshake conditions of the second charging protocol within the first preset time period, respond to the power request after the first preset time period exceeds the first charging protocol Charge the powered device.
  • the charging device further includes:
  • the switching charging module is configured to stop charging the power receiving device according to the first charging protocol and switch to charging the power receiving device according to the second charging protocol if it is detected that the handshake condition of the second charging protocol is satisfied.
  • the second charging protocol is identified first, and the second charging protocol is used for fast charging on the premise of satisfying the second charging protocol, which can improve the utilization rate of the second charging protocol and ensure the safety of charging. sex.
  • the charging device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal, which is not specifically limited in the embodiment of the present application.
  • the charging device in the embodiment of the present application may be a device having an operating system.
  • the operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
  • the charging device provided in the embodiment of the present application can implement each process implemented by the method embodiment in FIG. 1 , and to avoid repetition, details are not repeated here.
  • an embodiment of the present application further provides a charger 300 , including a processor 302 , a memory 301 , a program or instruction stored in the memory 301 and executable on the processor 302 , the program Or, when the instruction is executed by the processor 302, each process of the above charging method embodiment can be implemented, and the same technical effect can be achieved. In order to avoid repetition, details are not repeated here.
  • Embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, each process of the foregoing charging method embodiment can be achieved, and the same technical effect can be achieved , in order to avoid repetition, it will not be repeated here.
  • the processor is the processor in the charger in the above embodiment.
  • the readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
  • the embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used for running a program or an instruction to implement the various processes of the above charging method embodiments, and can achieve the same technology The effect, in order to avoid repetition, is not repeated here.
  • the embodiments of the present application provide a computer program product, the computer program product is stored in a non-volatile storage medium, and the computer program product is executed by at least one processor to implement the various processes of the foregoing charging method embodiments, and can achieve the same In order to avoid repetition, the technical effect will not be repeated here.
  • An embodiment of the present application provides a communication device, which is configured to perform each process as described in the foregoing charging method embodiments, and can achieve the same technical effect. To avoid repetition, details are not repeated here.
  • the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-a-chip, or a system-on-a-chip, or the like.

Abstract

The present application relates to the technical field of communications. Disclosed are a charging method, a charging apparatus, and a charger. The charging method comprises: within a first preset time period after a charger is connected to a power receiving device, if the charger and the power receiving device satisfy a handshake condition of a second charging protocol, charging the power receiving device according to the second charging protocol, and if the charger and the power receiving device do not satisfy the handshake condition of the second charging protocol, charging the power receiving device according to a first charging protocol after the first preset time period, wherein the handshake communication rate of the first charging protocol is higher than that of the second charging protocol.

Description

充电方法、充电装置和充电器Charging method, charging device and charger
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请主张在2020年11月06日在中国提交的中国专利申请No.202011231638.8的优先权,其全部内容通过引用包含于此。This application claims priority to Chinese Patent Application No. 202011231638.8 filed in China on Nov. 06, 2020, the entire contents of which are hereby incorporated by reference.
技术领域technical field
本申请属于通信技术领域,具体涉及一种充电方法、充电装置和充电器。The present application belongs to the field of communication technologies, and in particular relates to a charging method, a charging device and a charger.
背景技术Background technique
目前,终端功能越来越强大,但耗电严重的问题也随之而来;在用户越来越看重待机时长的情况下,增大电池容量是手机厂家首先想到的解决办法,而在电池厂家无法攻克电池技术的情况下,快速充电方案便应运而生。目前,快速充电技术是手机厂家普遍采用的一种充电方式,其中,比较常用的快充协议有电力输送(Power Delivery,PD)充电协议、泵传递(Pump Express,PE)充电协议、快充(Quick Charge,QC)充电协议、快速充电协议(Fast Charge Protocol,FCP)、超级充电协议(Super Charge Protocol,SCP)、闪充协议(VOOC)等多种充电协议。其中,有些充电协议是具有普遍性的快充协议,例如PD充电协议,而有些则是手机厂商基于自己生产的手机而定制的私有充电协议,这类私有充电协议能够使得快充功能更适配自己的手机,同时安全性也更高。At present, the functions of terminals are becoming more and more powerful, but the problem of serious power consumption has also followed; when users pay more and more attention to the standby time, increasing the battery capacity is the first solution that mobile phone manufacturers think of. When battery technology cannot be conquered, fast charging solutions emerge as the times require. At present, fast charging technology is a charging method commonly used by mobile phone manufacturers. Among them, the more commonly used fast charging protocols include Power Delivery (PD) charging protocol, Pump Express (PE) charging protocol, and fast charging ( Quick Charge, QC) charging protocol, fast charging protocol (Fast Charge Protocol, FCP), super charging protocol (Super Charge Protocol, SCP), flash charging protocol (VOOC) and other charging protocols. Among them, some charging protocols are universal fast charging protocols, such as PD charging protocols, while others are private charging protocols customized by mobile phone manufacturers based on their own mobile phones. Such private charging protocols can make the fast charging function more suitable. Your own mobile phone is also more secure.
为了尽可能地适用多种快充协议,有些快充充电器、移动电源等产品支持多种快充协议,比如一款充电器支持QC充电协议、PD充电协议等多种快充协议,支持QC充电协议的手机与该充电器通信可以进行QC充电协议的快充通信,支持PD充电协议的手机与该充电器通信可以进行PD充电线协议的快充通信,从而增加了该充电器的适用性;有的手机也支持多种快充协议,比如手机既支持QC充电协议的快充方式,也支持PD充电协议的快充方式;接入支持PD充电协议的充电器就按照PD充电协议的快充方式进行快速充电,接入支持QC充电协议的充电器就按照QC充电协议的方式进行快充充电, 从而增加该手机的充电体验。In order to apply multiple fast charging protocols as much as possible, some fast charging chargers, mobile power supplies and other products support multiple fast charging protocols. For example, a charger supports QC charging protocol, PD charging protocol and other fast charging protocols, and supports QC The communication between the mobile phone of the charging protocol and the charger can carry out the fast charging communication of the QC charging protocol, and the communication between the mobile phone supporting the PD charging protocol and the charger can carry out the fast charging communication of the PD charging line protocol, thus increasing the applicability of the charger ; Some mobile phones also support a variety of fast charging protocols. For example, mobile phones support both the fast charging method of the QC charging protocol and the fast charging method of the PD charging protocol; the charger that supports the PD charging protocol is connected to the fast charging protocol of the PD charging protocol. Fast charging is performed in the charging mode, and the charger that supports the QC charging protocol is connected to perform fast charging according to the QC charging protocol, thereby increasing the charging experience of the mobile phone.
然而,支持私有协议的快充手机与支持多种快充协议的充电器进行通信时,本意是优先识别私有快充协议,但由于一些充电协议(例如PD充电协议、QC充电协议等)的通信速度比较快,手机与充电器连接后,优先进行了PD等充电协议的通信,并按照PD等充电协议的通信方式进行快充,这无疑降低了私有充电协议的使用性,也降低了充电的安全性。However, when a fast-charging mobile phone that supports a private protocol communicates with a charger that supports multiple fast-charging protocols, the intention is to give priority to identifying the private fast-charging protocol, but due to the communication of some charging protocols (such as PD charging protocol, QC charging protocol, etc.) The speed is relatively fast. After the mobile phone is connected to the charger, the communication of the PD and other charging protocols is prioritized, and the fast charging is carried out according to the communication methods of the PD and other charging protocols, which undoubtedly reduces the usability of the private charging protocol and reduces the charging time. safety.
发明内容SUMMARY OF THE INVENTION
本申请实施例的目的是提供一种充电方法、充电装置和充电器,能够解决现有技术中在支持多种充电协议的情况下,通信速度较快的一类充电协议优先建立通信并进行充电而使得无法按照私有充电协议进行充电,继而导致私有充电协议实际使用率低、充电安全性低的问题。The purpose of the embodiments of the present application is to provide a charging method, a charging device and a charger, which can solve the problem that in the prior art, in the case of supporting multiple charging protocols, a type of charging protocol with a faster communication speed is given priority to establish communication and perform charging This makes it impossible to charge according to the private charging protocol, which in turn leads to the problems of low actual usage rate of the private charging protocol and low charging security.
为了解决上述技术问题,本申请是这样实现的:In order to solve the above technical problems, this application is implemented as follows:
第一方面,本申请实施例提供了一种充电方法,该方法包括:In a first aspect, an embodiment of the present application provides a charging method, the method comprising:
在充电器与受电设备连接后的第一预设时长内,若所述充电器与所述受电设备满足第二充电协议的握手条件,则按照第二充电协议对所述受电设备进行充电,若不满足第二充电协议的握手条件,则在所述第一预设时长后按照第一充电协议对所述受电设备进行充电;Within the first preset time period after the charger and the powered device are connected, if the charger and the powered device meet the handshake conditions of the second charging protocol, the powered device is executed according to the second charging protocol. charging, if the handshake condition of the second charging protocol is not satisfied, charging the power receiving device according to the first charging protocol after the first preset time period;
其中,所述第一充电协议的握手通信速率快于所述第二充电协议。Wherein, the handshake communication rate of the first charging protocol is faster than that of the second charging protocol.
第二方面,本申请实施例提供了一种充电装置,该装置包括:In a second aspect, an embodiment of the present application provides a charging device, the device comprising:
充电模块,用于在充电器与受电设备连接后的第一预设时长内,若所述充电器与所述受电设备满足第二充电协议的握手条件,则按照第二充电协议对所述受电设备进行充电,若不满足第二充电协议的握手条件,则在所述第一预设时长后按照第一充电协议对所述受电设备进行充电;The charging module is configured to, within a first preset time period after the charger and the power receiving device are connected, if the charger and the power receiving device meet the handshake conditions of the second charging protocol, the charging module will be charged according to the second charging protocol. The power receiving device is charged, and if the handshake condition of the second charging protocol is not satisfied, the power receiving device is charged according to the first charging protocol after the first preset time period;
其中,所述第一充电协议的握手通信速率快于所述第二充电协议。Wherein, the handshake communication rate of the first charging protocol is faster than that of the second charging protocol.
第三方面,本申请实施例提供了一种充电器,该充电器包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程 序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。In a third aspect, an embodiment of the present application provides a charger, the charger includes a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction being The processor implements the steps of the method according to the first aspect when executed.
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。In a fourth aspect, an embodiment of the present application provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the steps of the method according to the first aspect are implemented .
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。In a fifth aspect, an embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction, and implement the first aspect the method described.
第六方面,本申请实施例提供一种程序产品,所述程序产品被存储在非易失的存储介质中,所述程序产品被至少一个处理器执行以实现如第一方面所述的方法的步骤。In a sixth aspect, an embodiment of the present application provides a program product, the program product is stored in a non-volatile storage medium, and the program product is executed by at least one processor to implement the method according to the first aspect. step.
第七方面,本申请实施例提供了一种通信设备,被配置为执行如第一方面所述的方法的步骤。In a seventh aspect, an embodiment of the present application provides a communication device configured to perform the steps of the method described in the first aspect.
在本申请实施例中,在充电过程中,优先识别第二充电协议,在满足第二充电协议的前提下通过第二充电协议进行快速充电,能够提高第二充电协议的使用率,保证充电的安全性。In the embodiment of the present application, during the charging process, the second charging protocol is identified first, and the second charging protocol is used for fast charging on the premise of satisfying the second charging protocol, which can improve the utilization rate of the second charging protocol and ensure the charging efficiency. safety.
附图说明Description of drawings
图1为本申请实施例提供的一种充电方法的流程示意图;FIG. 1 is a schematic flowchart of a charging method according to an embodiment of the present application;
图2为本申请实施例提供的一种充电装置的结构示意图;FIG. 2 is a schematic structural diagram of a charging device according to an embodiment of the present application;
图3为本申请实施例提供的一种充电器的结构示意图。FIG. 3 is a schematic structural diagram of a charger according to an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数 据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second" and the like in the description and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in sequences other than those illustrated or described herein, and distinguish between "first", "second", etc. The objects are usually of one type, and the number of objects is not limited. For example, the first object may be one or more than one. In addition, "and/or" in the description and claims indicates at least one of the connected objects, and the character "/" generally indicates that the associated objects are in an "or" relationship.
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的充电方法、充电装置和充电器进行详细地说明。The charging method, the charging device, and the charger provided by the embodiments of the present application will be described in detail below through specific embodiments and application scenarios with reference to the accompanying drawings.
请参考图1,为本申请实施例提供的充电方法的流程示意图。如图1所示,本申请实施例提供一种充电方法,可以应用于充电器,该充电方法可以包括:Please refer to FIG. 1 , which is a schematic flowchart of a charging method according to an embodiment of the present application. As shown in FIG. 1 , an embodiment of the present application provides a charging method, which can be applied to a charger, and the charging method may include:
步骤11:在充电器与受电设备连接后的第一预设时长内,若充电器与受电设备满足第二充电协议的握手条件,则按照第二充电协议对受电设备进行充电,若不满足第二充电协议的握手条件,则在第一预设时长后按照第一充电协议对受电设备进行充电;其中,第一充电协议的握手通信速率快于第二充电协议。Step 11: Within the first preset time period after the charger and the powered device are connected, if the charger and the powered device meet the handshake conditions of the second charging protocol, the powered device is charged according to the second charging protocol. If the handshake condition of the second charging protocol is not satisfied, the power receiving device is charged according to the first charging protocol after the first preset time period; wherein the handshake communication rate of the first charging protocol is faster than that of the second charging protocol.
本申请实施例中,判断是否与受电设备发生连接可以通过:是否检测到Rd电阻(即下拉电阻)来判断,例如检测到Rd电阻即认为与受电设备发生连接。在与受电设备发生连接后,由于第一充电协议的握手通信速率快于第二充电协议,则意味着现有技术中将会按照第一充电协议先与受电设备握手通信,进而按照第一充电协议对受电设备进行充电,然而,本申请实施例中,则是先设定一个时间段,即第一预设时长,在第一预设时长内检测是否满足第二充电协议的握手条件,若在第一预设时长内检测到满足第二充电协议的握手条件,则按照第二充电协议与受电设备握手通信,进而按照第二充电协议对受电设备进行充电,而若在第一预设时长内未检测到满足第二充电协议的握手条件,则需要在第一预设时长之后才能按照第一充电协议对受电设备进行充电,也就是说,推迟了充电器按照第一充电协议与受电设备完成握手通信并对受电设备进行充电的时间,从而,在几乎不影响与受电设备的连接 充电响应时间的前提下,优先检测是否满足第二充电协议的握手条件,由此可以提高第二充电协议的使用率,并提高充电时的安全性。In this embodiment of the present application, the determination of whether to connect with a powered device can be determined by: whether an Rd resistance (ie, a pull-down resistor) is detected. After connecting with the power receiving device, because the handshake communication rate of the first charging protocol is faster than that of the second charging protocol, it means that in the prior art, the power receiving device will be firstly communicated with the power receiving device according to the first charging protocol, and then according to the second charging protocol. A charging protocol charges the power receiving device. However, in the embodiment of the present application, a time period, that is, a first preset time period, is firstly set, and within the first preset period of time, it is detected whether the handshake of the second charging protocol is satisfied. Condition, if the handshake condition that satisfies the second charging protocol is detected within the first preset time period, handshake and communicate with the power receiving device according to the second charging protocol, and then charge the power receiving device according to the second charging protocol. If the handshake condition that satisfies the second charging protocol is not detected within the first preset time period, the power receiving device can be charged according to the first charging protocol after the first preset time period. The time for the first charging protocol to complete the handshake communication with the power receiving device and charging the power receiving device. Therefore, under the premise of hardly affecting the charging response time of the connection with the power receiving device, it is first to detect whether the handshake condition of the second charging protocol is satisfied. , so that the usage rate of the second charging protocol can be improved, and the safety during charging can be improved.
需要说明的是,在第一预设时长内,即使第一充电协议的握手通信速率较快,也不会按照第一充电协议与受电设备完成握手通信并按照第一充电协议对受电设备进行充电,而是预留了第一预设时长来检测是否满足第二充电协议的握手条件,直到超过第一预设时长之后,并且没有检测到满足第二充电协议的情况下,才会按照第一充电协议与受电设备完成握手通信并按照第一充电协议对受电设备进行充电。It should be noted that, within the first preset time period, even if the handshake communication rate of the first charging protocol is fast, the handshake communication with the power receiving device will not be completed according to the first charging protocol, and the power receiving device will not be completed according to the first charging protocol. For charging, a first preset duration is reserved to detect whether the handshake conditions of the second charging protocol are met. After the first preset duration is exceeded, and the second charging protocol is not detected, the The first charging protocol completes handshake communication with the powered device and charges the powered device according to the first charging protocol.
本申请实施例中,充电器和受电设备可以支持多种充电协议,包括第一充电协议和第二充电协议,其中,第一充电协议可以是设置的握手通信速率较快的充电协议,例如PD充电协议、PE充电协议、QC充电协议等,而第二充电协议可以为私有充电协议,例如FCP充电协议、SCP充电协议、VOOC充电协议等,由于私有充电协议中设置了手机厂商自己生产的终端的保护措施,安全性更强,因此优先使用第二充电协议对受电设备进行充电可以确保充电的安全性。In this embodiment of the present application, the charger and the powered device may support multiple charging protocols, including a first charging protocol and a second charging protocol, where the first charging protocol may be a charging protocol with a fast handshake communication rate set, such as PD charging protocol, PE charging protocol, QC charging protocol, etc., and the second charging protocol can be a private charging protocol, such as FCP charging protocol, SCP charging protocol, VOOC charging protocol, etc. Since the private charging protocol sets the mobile phone manufacturer's own production The protection measures of the terminal are more secure, so the charging of the power receiving device by preferentially using the second charging protocol can ensure the security of charging.
本申请实施例中,在充电器与受电设备发生连接后的第一预设时长内,若充电器与受电设备满足第二充电协议的握手条件,则按照第二充电协议对受电设备进行充电,包括:In the embodiment of the present application, within the first preset time period after the charger and the power receiving device are connected, if the charger and the power receiving device meet the handshake conditions of the second charging protocol, the power receiving device will be charged according to the second charging protocol. to charge, including:
延迟按照第一充电协议向受电设备发送第一握手请求;Delay sending the first handshake request to the powered device according to the first charging protocol;
接收受电设备按照第一充电协议发送的至少一次硬复位信号;receiving at least one hard reset signal sent by the powered device according to the first charging protocol;
在满足预设条件的情况下,若充电器与受电设备满足第二充电协议的握手条件,则屏蔽第一充电协议的通信信号,按照第二充电协议对受电设备进行充电。When the preset conditions are met, if the charger and the powered device satisfy the handshake condition of the second charging protocol, the communication signal of the first charging protocol is shielded, and the powered device is charged according to the second charging protocol.
本申请实施例中,由于第一充电协议的握手通信速率快于第二充电协议,因此,为了推迟充电器按照第一充电协议与受电设备完成握手通信并进行充电的时刻,在与受电设备发生连接之后,可以推迟向受电设备发送第一握手请求(而现有技术中则是在受电设备发生连接之后立即按照第一充电协议向 受电设备发送第一握手请求),因为受电设备在某一时间段内未接收到该第一握手请求,从而会触发受电设备向充电器发送硬复位信号(例如在PD充电协议中,若受电设备接收不到充电器发送的第一握手请求,则会触发受电设备发送硬复位信号,造成延迟),充电器由此将接收受电设备按照第一充电协议发送的至少一次硬复位信号;则此时充电器与受电设备处于握手通信的过程之中,但未完成握手通信,因而也就不会直接按照第一充电协议对受电设备进行充电,从而在第一预设时长内均可以检测是否满足第二充电协议的握手条件则按照第二充电协议与受电设备握手通信并在完成握手通信后按照第二充电协议对受电设备进行充电;若在第一预设时长内未检测到满足第二充电协议的握手条件,则在经过第一预设时长后,充电器才按照第一充电协议向受电设备发送第一握手请求,然后与受电设备完成握手通信,再按照第一充电协议对受电设备进行充电。In the embodiment of the present application, since the handshake communication rate of the first charging protocol is faster than that of the second charging protocol, in order to delay the moment when the charger completes handshake communication with the power receiving device and performs charging according to the first charging protocol, After the device is connected, the sending of the first handshake request to the powered device can be postponed (while in the prior art, the first handshake request is sent to the powered device according to the first charging protocol immediately after the powered device is connected), because the receiver The electrical device does not receive the first handshake request within a certain period of time, which will trigger the powered device to send a hard reset signal to the charger (for example, in the PD charging protocol, if the powered device cannot receive the first handshaking request sent by the charger, A handshake request will trigger the powered device to send a hard reset signal, causing a delay), and the charger will thus receive at least one hard reset signal sent by the powered device according to the first charging protocol; It is in the process of handshake communication, but the handshake communication has not been completed, so it will not directly charge the power receiving device according to the first charging protocol, so that it can be detected within the first preset time period whether it meets the requirements of the second charging protocol. The handshake condition is to communicate with the power receiving device according to the second charging protocol, and after the handshake communication is completed, the power receiving device is charged according to the second charging protocol; if the handshake meeting the second charging protocol is not detected within the first preset time period. condition, after the first preset time period elapses, the charger sends a first handshake request to the powered device according to the first charging protocol, and then completes handshake communication with the powered device, and then performs a handshake communication with the powered device according to the first charging protocol. Charge.
本申请实施例中,预设条件为:接收到的硬复位信号的次数小于预设次数,或者,预设条件为在第一次接收到硬复位信号后处于第二预设时长内。In this embodiment of the present application, the preset condition is that the number of times of the received hard reset signal is less than the preset number of times, or the preset condition is that the hard reset signal is received for the first time within a second preset time period.
在一种可选的实施方式中,预设条件为接收到的硬复位信号的次数小于预设次数,预设次数为正整数,例如,第一充电协议为PD充电协议的情况下,预设次数设置为3,也即是说,在未收到充电器发送的第一握手请求的情况下,将触发受电设备依次发送三次硬复位信号,则第一预设时长即为与受电设备发生连接的时刻起,至收到第三次硬复位信号的时刻止,在未收到第三次硬复位信号之前,都可以在此时间段内对是否满足第二充电协议的握手条件进行检测,在满足时则按照第二充电协议与受电设备握手通信并对受电设备进行充电,此时,第一充电协议的通信信号即可忽视或屏蔽,但若在收到第三次硬复位信号之后,仍未检测到满足第二充电协议的握手条件,为了保证充电的快速响应,充电器便按照第一充电协议向受电设备发送第一握手请求,与受电设备完成握手通信,再按照第一充电协议对受电设备进行充电,确保依旧能够较快速地对受电设备进行充电。In an optional embodiment, the preset condition is that the number of received hard reset signals is less than the preset number of times, and the preset number of times is a positive integer. For example, when the first charging protocol is the PD charging protocol, the preset number of times is a positive integer. The number of times is set to 3, that is to say, if the first handshake request sent by the charger is not received, the power receiving device will be triggered to send three hard reset signals in turn, and the first preset duration is the same as the power receiving device. From the moment of connection to the moment of receiving the third hard reset signal, before the third hard reset signal is received, it is possible to check whether the handshake conditions of the second charging protocol are met within this time period. , when it is satisfied, handshake and communicate with the power receiving device according to the second charging protocol and charge the power receiving device. At this time, the communication signal of the first charging protocol can be ignored or shielded, but if the third hard reset is received After the signal, the handshake condition that meets the second charging protocol is still not detected. In order to ensure the fast response of charging, the charger sends a first handshake request to the power receiving device according to the first charging protocol, and completes handshake communication with the power receiving device. The powered device is charged according to the first charging protocol to ensure that the powered device can still be charged relatively quickly.
在另一种可选的实施方式中,结束时刻可以为在第一次接收到硬复位信 号后的第二预设时长内,例如在第一充电协议为PD充电协议的情况下,虽然协议规定的触发的硬复位信号为三次,但实际场景中,许多厂商并未设置终端(即受电设备)按照标准一定触发三次硬复位信号,因此,为了避免长时间接收不到第三次硬复位信号而造成充不上电,本申请实施例中增加了一个等待时间,即第二预设时长,也即在接收到第一次硬复位信号后,再过第二预设时长的时间,在这种情况下,第一预设时长即为与受电设备发生连接的时刻起,至收到第一次硬复位信号后达到第二预设时长的时刻止,在这段时间,均可以检测是否满足第二充电协议的握手条件,在满足时按照第二充电协议与受电设备握手通信并对受电设备进行充电,则此时第一充电协议的通信信号即可忽视或屏蔽,若超过第二预设时长仍未接收到后续的硬复位信号,则按照第一充电协议向受电设备发送第一握手请求,与受电设备建立握手通信,进入按照第一充电协议进行充电的模式。In another optional implementation manner, the end time may be within a second preset time period after the hard reset signal is received for the first time, for example, when the first charging protocol is a PD charging protocol, although the protocol stipulates The hard reset signal triggered three times, but in actual scenarios, many manufacturers do not set the terminal (ie, the power receiving device) to trigger the hard reset signal three times according to the standard. Therefore, in order to avoid receiving the third hard reset signal for a long time As a result of not being able to be charged, the embodiment of the present application adds a waiting time, that is, the second preset time, that is, after the first hard reset signal is received, the second preset time elapses. Here In this case, the first preset duration is from the moment of connection with the power receiving device to the moment when the second preset duration is reached after receiving the first hard reset signal. During this period, it is possible to detect whether the The handshake condition of the second charging protocol is satisfied, and when it is satisfied, it handshakes and communicates with the power receiving device according to the second charging protocol and charges the power receiving device, then the communication signal of the first charging protocol can be ignored or shielded. If the subsequent hard reset signal is not received within the preset time period, a first handshake request is sent to the power receiving device according to the first charging protocol, a handshake communication is established with the power receiving device, and the mode of charging according to the first charging protocol is entered.
在本申请的另一些实施例中,可选的,在充电器与受电设备发生连接后的第一预设时长内,若充电器与受电设备满足第二充电协议的握手条件,则按照第二充电协议对受电设备进行充电,包括:In other embodiments of the present application, optionally, within a first preset time period after the charger and the power receiving device are connected, if the charger and the power receiving device meet the handshake conditions of the second charging protocol, then The second charging protocol charges the powered device, including:
在第一预设时长内,循环以下操作:按照第一充电协议向受电设备发送第一握手请求,在接收到受电设备响应于第一握手请求而发送的第一回复信号以及功率请求的情况下,向受电设备发送软复位信号和第一握手请求;Within the first preset time period, the following operations are repeated: sending a first handshake request to the powered device according to the first charging protocol, and after receiving the first reply signal sent by the powered device in response to the first handshake request and the power request In this case, send a soft reset signal and a first handshake request to the powered device;
在第一预设时长内,若充电器与受电设备满足第二充电协议的握手条件,屏蔽第一充电协议的通信信号,按照第二充电协议对受电设备进行充电。Within the first preset time period, if the charger and the powered device meet the handshake conditions of the second charging protocol, the communication signal of the first charging protocol is shielded, and the powered device is charged according to the second charging protocol.
本申请实施例中,由于第一充电协议的握手通信速率快于第二充电协议,因此,为了推迟充电器按照第一充电协议与受电设备完成握手通信并进行充电的时刻,在与受电设备发生连接之后,还可以在第一预设时长内循环以下操作:按照第一充电协议向受电设备发送第一握手请求,则受电设备将响应于第一握手请求而发送第一回复信号以及功率请求,其中,第一回复信号用于表示已收到充电器发送的第一握手请求,功率请求则用于向充电器请求受电设备自身所需的功率档位,按照现有技术而言,在第一充电协议下(例如 PD充电协议),此时充电器需要回复第二回复信号,表明充电器已收到功率请求,并可以按照第一充电协议对受电设备以请求的功率进行充电,但在本申请实施例中,为了争取检测是否满足第二充电协议的握手条件的时间窗口,充电器不发送第二回复信号,而是依次发送软复位信号和第一握手请求,由于受电设备未接收到第二回复信号,则充电器和受电设备之间的通信并未完全建立,而又因为接收到了第一握手请求,因此受电设备会再次响应于第一握手请求而发送第一回复信号以及功率请求,如此循环,使得充电器和受电设备之间的握手通信过程一直在上述两步中循环一定时间,即循环第一预设时长,在这段时间,均可以检测是否满足第二充电协议的握手条件,在满足时按照第二充电协议与受电设备握手通信并对受电设备进行充电,则此时第一充电协议的通信信号即可忽视或屏蔽。In the embodiment of the present application, since the handshake communication rate of the first charging protocol is faster than that of the second charging protocol, in order to delay the moment when the charger completes handshake communication with the power receiving device and performs charging according to the first charging protocol, After the device is connected, the following operations may also be repeated within the first preset duration: sending a first handshake request to the powered device according to the first charging protocol, and the powered device will send a first reply signal in response to the first handshake request and a power request, wherein the first reply signal is used to indicate that the first handshake request sent by the charger has been received, and the power request is used to request the charger for the power level required by the powered device itself, according to the prior art. In other words, under the first charging protocol (such as the PD charging protocol), the charger needs to reply with a second reply signal, indicating that the charger has received the power request, and can charge the powered device with the requested power according to the first charging protocol. Charge, but in this embodiment of the present application, in order to strive for a time window for detecting whether the handshake condition of the second charging protocol is met, the charger does not send the second reply signal, but sends the soft reset signal and the first handshake request in sequence. If the powered device does not receive the second reply signal, the communication between the charger and the powered device is not completely established, and because the first handshake request is received, the powered device will respond to the first handshake request again. Send the first reply signal and the power request, so that the handshake communication process between the charger and the power receiving device has been looping for a certain period of time in the above two steps, that is, the first preset time period of the loop, during this period, you can Detecting whether the handshake condition of the second charging protocol is satisfied, and when satisfied, handshakes and communicates with the power receiving device according to the second charging protocol and charges the power receiving device, then the communication signal of the first charging protocol can be ignored or shielded.
本申请实施例中,若不满足第二充电协议的握手条件,则在第一预设时长后按照第一充电协议对受电设备进行充电,包括:In the embodiment of the present application, if the handshake condition of the second charging protocol is not satisfied, the power receiving device is charged according to the first charging protocol after the first preset time period, including:
若在第一预设时长内充电器与受电设备不满足第二充电协议的握手条件,在超过第一预设时长后,响应于功率请求,按照第一充电协议向受电设备进行充电。If the charger and the powered device do not meet the handshake conditions of the second charging protocol within the first preset time period, after the first preset time period exceeds the first preset time period, the powered device is charged according to the first charging protocol in response to a power request.
也就是说,在循环上述操作超过第一预设时长后,仍未检测到满足第二充电协议的握手条件,则充电器将按照正常的流程,在接收到第一回复信号和功率请求后,向受电设备发送第二回复信号,表明已收到功率请求,并按照第一充电协议对受电设备以请求的功率进行充电。That is to say, after the cycle of the above operation exceeds the first preset time period, the handshake condition that meets the second charging protocol is still not detected, then the charger will follow the normal process, after receiving the first reply signal and power request, A second reply signal is sent to the powered device, indicating that the power request has been received, and the powered device is charged with the requested power according to the first charging protocol.
本申请实施例中,若不满足第二充电协议的握手条件,则在第一预设时长后按照第一充电协议对受电设备进行充电的步骤之后,还包括:In the embodiment of the present application, if the handshake condition of the second charging protocol is not satisfied, after the step of charging the power receiving device according to the first charging protocol after the first preset time period, the method further includes:
若检测到满足第二充电协议的握手条件,停止按照第一充电协议对受电设备进行充电,切换为按照第二充电协议对受电设备进行充电。If it is detected that the handshake condition of the second charging protocol is satisfied, the charging of the power receiving device according to the first charging protocol is stopped, and the charging of the power receiving device according to the second charging protocol is switched.
由于在第一预设时长内未检测到满足第二充电协议的握手条件,为了保证及时为受电设备进行充电,在第一预设时长后,将按照第一充电协议对受电设备进行充电;在此之后,可以继续检测是否满足第二充电协议的握手条 件,并在检测到满足第二充电协议的握手条件的情况下,屏蔽第一充电协议的通信,停止按照第一充电协议对受电设备进行充电,而响应第二充电线协议的握手通信,按照第二充电协议对受电设备进行充电。Since the handshake condition that satisfies the second charging protocol is not detected within the first preset time period, in order to ensure timely charging of the power receiving device, after the first preset time period, the power receiving device will be charged according to the first charging protocol ; After that, it can continue to detect whether the handshake conditions of the second charging protocol are met, and when it is detected that the handshake conditions of the second charging protocol are met, the communication of the first charging protocol is shielded, and the receiver is stopped according to the first charging protocol. The electrical device is charged, and in response to the handshake communication of the second charging line protocol, the powered device is charged according to the second charging protocol.
本申请实施例中,对于第二充电协议而言,检测是否满足第二充电协议的握手条件中,满足第二充电协议的握手条件可以为D+/D-之间的电压值大于或等于预设电压阈值,相应的,不满足第二充电协议的握手条件可以为D+/D-之间的电压值小于预设电压阈值;在第一预设时长内进行检测时,可以多次检测D+/D-之间的电压值,以确保检测结果的准确性,检测的时间间隔可以是周期性的,也可以是非周期性的;在超过第一预设时长后进行检测时,可选的,可以周期性间隔一定时间进行检测。In the embodiment of the present application, for the second charging protocol, in detecting whether the handshake condition of the second charging protocol is satisfied, the handshake condition for satisfying the second charging protocol may be that the voltage value between D+/D- is greater than or equal to the preset value voltage threshold, correspondingly, the handshake condition that does not meet the second charging protocol may be that the voltage value between D+/D- is less than the preset voltage threshold; when the detection is performed within the first preset time period, D+/D can be detected multiple times -The voltage value between - to ensure the accuracy of the detection results, the detection time interval can be periodic or aperiodic; when the detection is performed after the first preset time period is exceeded, optional Tests at certain intervals.
本申请实施例中,在充电过程中,优先识别第二充电协议,在满足第二充电协议的前提下通过第二充电协议进行快速充电,能够提高第二充电协议的使用率,保证充电的安全性。In the embodiment of the present application, during the charging process, the second charging protocol is identified first, and the second charging protocol is used for fast charging on the premise of satisfying the second charging protocol, which can improve the utilization rate of the second charging protocol and ensure the safety of charging. sex.
需要说明的是,本申请实施例提供的充电方法,执行主体可以为充电装置,或者该充电装置中的用于执行充电方法的控制模块。本申请实施例中以充电装置执行充电方法为例,说明本申请实施例提供的充电装置。It should be noted that, in the charging method provided by the embodiments of the present application, the executing subject may be a charging device, or a control module in the charging device for executing the charging method. In the embodiment of the present application, the charging device provided by the embodiment of the present application is described by taking the charging method performed by the charging device as an example.
请参考图2,为本申请实施例提供的一种充电装置的结构示意图。如图2所示,本申请另一方面实施例还提供了一种充电装置,充电装置20可以包括:Please refer to FIG. 2 , which is a schematic structural diagram of a charging device according to an embodiment of the present application. As shown in FIG. 2 , another embodiment of the present application further provides a charging device, and the charging device 20 may include:
充电模块21,用于charging module 21 for
在充电器与受电设备连接后的第一预设时长内,若充电器与受电设备满足第二充电协议的握手条件,则按照第二充电协议对受电设备进行充电,若不满足第二充电协议的握手条件,则在第一预设时长后按照第一充电协议对受电设备进行充电;Within the first preset time period after the charger and the powered device are connected, if the charger and the powered device meet the handshake conditions of the second charging protocol, the powered device is charged according to the second charging protocol. Two handshake conditions of the charging protocol, charging the powered device according to the first charging protocol after the first preset time period;
其中,第一充电协议的握手通信速率快于第二充电协议。The handshake communication rate of the first charging protocol is faster than that of the second charging protocol.
可选的,充电模块21,包括:Optionally, the charging module 21 includes:
延迟发送单元,用于延迟按照第一充电协议向受电设备发送第一握手请求;a delay sending unit, configured to delay sending the first handshake request to the powered device according to the first charging protocol;
接收单元,用于接收受电设备按照第一充电协议发送的至少一次硬复位信号;a receiving unit, configured to receive at least one hard reset signal sent by the powered device according to the first charging protocol;
第一充电单元,用于在满足预设条件的情况下,若充电器与受电设备满足第二充电协议的握手条件,则屏蔽第一充电协议的通信信号,按照第二充电协议对受电设备进行充电。The first charging unit is used for shielding the communication signal of the first charging protocol and charging the power receiving device according to the second charging protocol if the charger and the power receiving device meet the handshake conditions of the second charging protocol under the condition that the preset conditions are met. device to charge.
可选的,预设条件为接收到的硬复位信号的次数小于预设次数,或者,预设条件为在第一次接收到硬复位信号后处于第二预设时长内。Optionally, the preset condition is that the number of received hard reset signals is less than the preset number of times, or the preset condition is that the hard reset signal is received for the first time within a second preset time period.
可选的,充电模块21包括:Optionally, the charging module 21 includes:
循环单元,用于在第一预设时长内,循环以下操作:按照第一充电协议向受电设备发送第一握手请求,在接收到受电设备响应于第一握手请求而发送的第一回复信号以及功率请求的情况下,向受电设备发送软复位信号和第一握手请求;A looping unit, configured to loop the following operations within a first preset time period: sending a first handshake request to the power receiving device according to the first charging protocol, and receiving a first reply sent by the power receiving device in response to the first handshake request In the case of a signal and a power request, send a soft reset signal and a first handshake request to the powered device;
第二充电单元,用于在第一预设时长内,若充电器与受电设备满足第二充电协议的握手条件,屏蔽第一充电协议的通信信号,按照第二充电协议对受电设备进行充电。The second charging unit is configured to, within the first preset time period, shield the communication signal of the first charging protocol if the charger and the power receiving device meet the handshake conditions of the second charging protocol, and perform the charging operation on the power receiving device according to the second charging protocol. Charge.
可选的,充电模块21,包括:Optionally, the charging module 21 includes:
第三充电单元,用于若在第一预设时长内充电器与受电设备不满足第二充电协议的握手条件,在超过第一预设时长后,响应于功率请求,按照第一充电协议向受电设备进行充电。The third charging unit is configured to, if the charger and the powered device do not meet the handshake conditions of the second charging protocol within the first preset time period, respond to the power request after the first preset time period exceeds the first charging protocol Charge the powered device.
可选的,充电装置还包括:Optionally, the charging device further includes:
切换充电模块,用于若检测到满足第二充电协议的握手条件,停止按照第一充电协议对受电设备进行充电,切换为按照第二充电协议对受电设备进行充电。The switching charging module is configured to stop charging the power receiving device according to the first charging protocol and switch to charging the power receiving device according to the second charging protocol if it is detected that the handshake condition of the second charging protocol is satisfied.
本申请实施例中,在充电过程中,优先识别第二充电协议,在满足第二充电协议的前提下通过第二充电协议进行快速充电,能够提高第二充电协议的使用率,保证充电的安全性。In the embodiment of the present application, during the charging process, the second charging protocol is identified first, and the second charging protocol is used for fast charging on the premise of satisfying the second charging protocol, which can improve the utilization rate of the second charging protocol and ensure the safety of charging. sex.
本申请实施例中的充电装置可以是装置,也可以是终端中的部件、集成 电路、或芯片,本申请实施例不作具体限定。The charging device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal, which is not specifically limited in the embodiment of the present application.
本申请实施例中的充电装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The charging device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
本申请实施例提供的充电装置能够实现图1中的方法实施例实现的各个过程,为避免重复,这里不再赘述。The charging device provided in the embodiment of the present application can implement each process implemented by the method embodiment in FIG. 1 , and to avoid repetition, details are not repeated here.
可选的,如图3所示,本申请实施例还提供一种充电器300,包括处理器302,存储器301,存储在存储器301上并可在处理器302上运行的程序或指令,该程序或指令被处理器302执行时实现上述充电方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in FIG. 3 , an embodiment of the present application further provides a charger 300 , including a processor 302 , a memory 301 , a program or instruction stored in the memory 301 and executable on the processor 302 , the program Or, when the instruction is executed by the processor 302, each process of the above charging method embodiment can be implemented, and the same technical effect can be achieved. In order to avoid repetition, details are not repeated here.
本申请实施例还提供一种可读存储介质,可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述充电方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, each process of the foregoing charging method embodiment can be achieved, and the same technical effect can be achieved , in order to avoid repetition, it will not be repeated here.
其中,处理器为上述实施例中的充电器中的处理器。可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。The processor is the processor in the charger in the above embodiment. The readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
本申请实施例另提供了一种芯片,芯片包括处理器和通信接口,通信接口和处理器耦合,处理器用于运行程序或指令,实现上述充电方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used for running a program or an instruction to implement the various processes of the above charging method embodiments, and can achieve the same technology The effect, in order to avoid repetition, is not repeated here.
本申请实施例提供了一种计算机程序产品,计算机程序产品被存储在非易失的存储介质中,计算机程序产品被至少一个处理器执行以实现上述充电方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiments of the present application provide a computer program product, the computer program product is stored in a non-volatile storage medium, and the computer program product is executed by at least one processor to implement the various processes of the foregoing charging method embodiments, and can achieve the same In order to avoid repetition, the technical effect will not be repeated here.
本申请实施例提供了一种通信设备,被配置为执行如上述充电方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application provides a communication device, which is configured to perform each process as described in the foregoing charging method embodiments, and can achieve the same technical effect. To avoid repetition, details are not repeated here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-a-chip, or a system-on-a-chip, or the like.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in the reverse order depending on the functions involved. To perform functions, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to some examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general hardware platform, and of course hardware can also be used, but in many cases the former is better implementation. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence or in a part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of this application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific embodiments, which are merely illustrative rather than restrictive. Under the inspiration of this application, without departing from the scope of protection of the purpose of this application and the claims, many forms can be made, which all fall within the protection of this application.

Claims (19)

  1. 一种充电方法,应用于充电器,包括:A charging method, applied to a charger, includes:
    在充电器与受电设备连接后的第一预设时长内,若所述充电器与所述受电设备满足第二充电协议的握手条件,则按照第二充电协议对所述受电设备进行充电,若不满足第二充电协议的握手条件,则在所述第一预设时长后按照第一充电协议对所述受电设备进行充电;Within the first preset time period after the charger and the powered device are connected, if the charger and the powered device meet the handshake conditions of the second charging protocol, the powered device is executed according to the second charging protocol. charging, if the handshake condition of the second charging protocol is not satisfied, charging the power receiving device according to the first charging protocol after the first preset time period;
    其中,所述第一充电协议的握手通信速率快于所述第二充电协议。Wherein, the handshake communication rate of the first charging protocol is faster than that of the second charging protocol.
  2. 根据权利要求1所述的充电方法,其中,所述在充电器与受电设备发生连接后的第一预设时长内,若所述充电器与所述受电设备满足第二充电协议的握手条件,则按照第二充电协议对所述受电设备进行充电,包括:The charging method according to claim 1, wherein, within a first preset time period after the charger and the power receiving device are connected, if the charger and the power receiving device satisfy the handshake of the second charging protocol condition, the powered device is charged according to the second charging protocol, including:
    延迟按照所述第一充电协议向所述受电设备发送第一握手请求;delaying sending a first handshake request to the powered device according to the first charging protocol;
    接收所述受电设备按照所述第一充电协议发送的至少一次硬复位信号;receiving at least one hard reset signal sent by the powered device according to the first charging protocol;
    在满足预设条件的情况下,若所述充电器与所述受电设备满足第二充电协议的握手条件,则屏蔽所述第一充电协议的通信信号,按照第二充电协议对所述受电设备进行充电。Under the condition that the preset conditions are met, if the charger and the power receiving device meet the handshake conditions of the second charging protocol, the communication signal of the first charging protocol is shielded, and the receiving device is processed according to the second charging protocol. to charge electrical equipment.
  3. 根据权利要求2所述的充电方法,其中,所述预设条件为接收到的所述硬复位信号的次数小于预设次数,或者,所述预设条件为在第一次接收到所述硬复位信号后处于第二预设时长内。The charging method according to claim 2, wherein the preset condition is that the number of times the hard reset signal is received is less than a preset number of times, or the preset condition is that the hard reset signal is received for the first time within the second preset time period after the reset signal.
  4. 根据权利要求1所述的充电方法,其中,所述在充电器与受电设备发生连接后的第一预设时长内,若所述充电器与所述受电设备满足第二充电协议的握手条件,则按照第二充电协议对所述受电设备进行充电,包括:The charging method according to claim 1, wherein, within a first preset time period after the charger and the power receiving device are connected, if the charger and the power receiving device satisfy the handshake of the second charging protocol condition, the powered device is charged according to the second charging protocol, including:
    在第一预设时长内,循环以下操作:按照所述第一充电协议向所述受电设备发送第一握手请求,在接收到所述受电设备响应于所述第一握手请求而发送的第一回复信号以及功率请求的情况下,向所述受电设备发送软复位信号和第一握手请求;Within a first preset time period, the following operations are repeated: sending a first handshake request to the powered device according to the first charging protocol; In the case of a first reply signal and a power request, send a soft reset signal and a first handshake request to the powered device;
    在所述第一预设时长内,若所述充电器与所述受电设备满足第二充电协 议的握手条件,屏蔽所述第一充电协议的通信信号,按照第二充电协议对所述受电设备进行充电。Within the first preset time period, if the charger and the power receiving device meet the handshake conditions of the second charging protocol, the communication signal of the first charging protocol is shielded, and the receiving device is processed according to the second charging protocol. to charge electrical equipment.
  5. 根据权利要求4所述的充电方法,其中,所述若不满足第二充电协议的握手条件,则在所述第一预设时长后按照第一充电协议对所述受电设备进行充电,包括:The charging method according to claim 4, wherein if the handshake condition of the second charging protocol is not satisfied, the power receiving device is charged according to the first charging protocol after the first preset time period, comprising: :
    若在所述第一预设时长内所述充电器与所述受电设备不满足第二充电协议的握手条件,在超过第一预设时长后,响应于所述功率请求,按照所述第一充电协议向所述受电设备进行充电。If the charger and the powered device do not meet the handshake conditions of the second charging protocol within the first preset time period, after the first preset time period exceeds, in response to the power request, according to the first preset time period A charging protocol charges the powered device.
  6. 根据权利要求1所述的充电方法,其中,所述若不满足第二充电协议的握手条件,则在所述第一预设时长后按照第一充电协议对所述受电设备进行充电的步骤之后,还包括:The charging method according to claim 1, wherein if the handshake condition of the second charging protocol is not satisfied, the step of charging the power receiving device according to the first charging protocol after the first preset time period After that, also include:
    若检测到满足第二充电协议的握手条件,停止按照所述第一充电协议对所述受电设备进行充电,切换为按照所述第二充电协议对所述受电设备进行充电。If it is detected that the handshake condition of the second charging protocol is satisfied, the charging of the power receiving device according to the first charging protocol is stopped, and the charging of the power receiving device according to the second charging protocol is switched.
  7. 根据权利要求6所述的充电方法,其中,满足所述第二充电协议的握手条件为D+与D-之间的电压值大于或等于预设电压阈值,不满足所述第二充电协议的握手条件为D+与D-之间的电压值小于所述预设电压阈值。The charging method according to claim 6, wherein the handshake condition for satisfying the second charging protocol is that the voltage value between D+ and D- is greater than or equal to a preset voltage threshold, and the handshake condition for the second charging protocol is not satisfied. The condition is that the voltage value between D+ and D- is less than the preset voltage threshold.
  8. 根据权利要求1所述的充电方法,其中,所述第一充电协议包括电力输送PD充电协议、泵传递PE充电协议或快充QC充电协议,所述第二充电协议为私有充电协议。The charging method according to claim 1, wherein the first charging protocol comprises a power delivery PD charging protocol, a pump delivery PE charging protocol or a fast charging QC charging protocol, and the second charging protocol is a private charging protocol.
  9. 一种充电装置,应用于充电器,包括:A charging device applied to a charger, comprising:
    充电模块,用于在充电器与受电设备连接后的第一预设时长内,若所述充电器与所述受电设备满足第二充电协议的握手条件,则按照第二充电协议对所述受电设备进行充电,若不满足第二充电协议的握手条件,则在所述第一预设时长后按照第一充电协议对所述受电设备进行充电;The charging module is configured to, within a first preset time period after the charger and the power receiving device are connected, if the charger and the power receiving device meet the handshake conditions of the second charging protocol, the charging module will be charged according to the second charging protocol. The power receiving device is charged, and if the handshake condition of the second charging protocol is not satisfied, the power receiving device is charged according to the first charging protocol after the first preset time period;
    其中,所述第一充电协议的握手通信速率快于所述第二充电协议。Wherein, the handshake communication rate of the first charging protocol is faster than that of the second charging protocol.
  10. 根据权利要求9所述的充电装置,其中,所述充电模块包括:The charging device according to claim 9, wherein the charging module comprises:
    延迟发送单元,用于延迟按照所述第一充电协议向所述受电设备发送第一握手请求;a delay sending unit, configured to delay sending a first handshake request to the powered device according to the first charging protocol;
    接收单元,用于接收所述受电设备按照所述第一充电协议发送的至少一次硬复位信号;a receiving unit, configured to receive at least one hard reset signal sent by the powered device according to the first charging protocol;
    第一充电单元,用于在满足预设条件的情况下,若所述充电器与所述受电设备满足第二充电协议的握手条件,则屏蔽所述第一充电协议的通信信号,按照第二充电协议对所述受电设备进行充电。The first charging unit is configured to shield the communication signal of the first charging protocol according to the first charging protocol if the charger and the power receiving device meet the handshake conditions of the second charging protocol under the condition that the preset conditions are met, and The second charging protocol charges the powered device.
  11. 根据权利要求10所述的充电装置,其中,所述预设条件为接收到的所述硬复位信号的次数小于预设次数,或者,所述预设条件为在第一次接收到所述硬复位信号后处于第二预设时长内。The charging device according to claim 10, wherein the preset condition is that the number of times the hard reset signal is received is less than a preset number of times, or the preset condition is that the hard reset signal is received for the first time within the second preset time period after the reset signal.
  12. 根据权利要求9所述的充电装置,其中,所述充电模块包括:The charging device according to claim 9, wherein the charging module comprises:
    循环单元,用于在第一预设时长内,循环以下操作:按照所述第一充电协议向所述受电设备发送第一握手请求,在接收到所述受电设备响应于所述第一握手请求而发送的第一回复信号以及功率请求的情况下,向所述受电设备发送软复位信号和第一握手请求;A looping unit, configured to loop the following operations within a first preset time period: sending a first handshake request to the powered device according to the first charging protocol, and after receiving a response from the powered device to the first In the case of a first reply signal and a power request sent for a handshake request, send a soft reset signal and a first handshake request to the powered device;
    第二充电单元,用于在所述第一预设时长内,若所述充电器与所述受电设备满足第二充电协议的握手条件,屏蔽所述第一充电协议的通信信号,按照第二充电协议对所述受电设备进行充电。The second charging unit is configured to, within the first preset time period, shield the communication signal of the first charging protocol if the charger and the power receiving device meet the handshake conditions of the second charging protocol, according to the first charging protocol The second charging protocol charges the powered device.
  13. 根据权利要求12所述的充电装置,其中,所述充电模块包括:The charging device of claim 12, wherein the charging module comprises:
    第三充电单元,用于若在所述第一预设时长内所述充电器与所述受电设备不满足第二充电协议的握手条件,在超过第一预设时长后,响应于所述功率请求,按照所述第一充电协议向所述受电设备进行充电。a third charging unit, configured to, after the first preset time period exceeds the first preset time period, respond to the requesting power, and charging the powered device according to the first charging protocol.
  14. 根据权利要求9所述的充电装置,其中,还包括:The charging device according to claim 9, further comprising:
    切换充电模块,用于若检测到满足第二充电协议的握手条件,停止按照所述第一充电协议对所述受电设备进行充电,切换为按照所述第二充电协议对所述受电设备进行充电。A switching charging module, configured to stop charging the power receiving device according to the first charging protocol and switch to charging the power receiving device according to the second charging protocol if it is detected that the handshake condition of the second charging protocol is satisfied to charge.
  15. 一种充电器,包括处理器,存储器及存储在所述存储器上并可在所 述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1-8任一项所述的充电方法的步骤。A charger, comprising a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction being executed by the processor to implement claims 1-8 The steps of any one of the charging methods.
  16. 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1-8任一项所述的充电方法的步骤。A readable storage medium storing programs or instructions on the readable storage medium, when the programs or instructions are executed by a processor, the steps of the charging method according to any one of claims 1-8 are implemented.
  17. 一种芯片,包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1-8中任一项所述的充电方法的步骤。A chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used for running a program or an instruction to implement the steps of the charging method according to any one of claims 1-8 .
  18. 一种计算机程序产品,所述程序产品被存储在非易失的存储介质中,所述程序产品被至少一个处理器执行以实现如权利要求1-8中任一项所述的充电方法的步骤。A computer program product, the program product being stored in a non-volatile storage medium, the program product being executed by at least one processor to implement the steps of the charging method according to any one of claims 1-8 .
  19. 一种通信设备,被配置为执行如权利要求1-8中任一项所述的充电方法的步骤。A communication device configured to perform the steps of the charging method of any of claims 1-8.
PCT/CN2021/129001 2020-11-06 2021-11-05 Charging method, charging apparatus, and charger WO2022095961A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011231638.8A CN112260366B (en) 2020-11-06 2020-11-06 Charging method, charging device and charger
CN202011231638.8 2020-11-06

Publications (1)

Publication Number Publication Date
WO2022095961A1 true WO2022095961A1 (en) 2022-05-12

Family

ID=74265614

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/129001 WO2022095961A1 (en) 2020-11-06 2021-11-05 Charging method, charging apparatus, and charger

Country Status (2)

Country Link
CN (1) CN112260366B (en)
WO (1) WO2022095961A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112260366B (en) * 2020-11-06 2023-11-24 维沃移动通信有限公司 Charging method, charging device and charger
CN116247755B (en) * 2021-12-08 2024-01-16 华为技术有限公司 Protocol information testing method, tester and storage medium
CN117639146A (en) * 2022-08-27 2024-03-01 华为技术有限公司 Charging method and electric equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014017989A (en) * 2012-07-10 2014-01-30 Nec Casio Mobile Communications Ltd Mobile terminal, contactless charging system, and management method of contactless charging
CN107742912A (en) * 2017-11-08 2018-02-27 深圳天珑无线科技有限公司 Charging method, fast fill device and computer-readable recording medium
CN109560591A (en) * 2019-01-25 2019-04-02 维沃移动通信有限公司 Charging method, device and terminal
CN110729792A (en) * 2019-10-30 2020-01-24 深圳市沃特沃德股份有限公司 Charging method, charging device, storage medium and computer equipment
CN112260366A (en) * 2020-11-06 2021-01-22 维沃移动通信有限公司 Charging method, charging device and charger

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106356918B (en) * 2016-08-30 2019-10-11 宇龙计算机通信科技(深圳)有限公司 A kind of quick charge recognition methods and terminal device
CN108390430B (en) * 2018-02-27 2020-02-21 维沃移动通信有限公司 Charging converter and charging method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014017989A (en) * 2012-07-10 2014-01-30 Nec Casio Mobile Communications Ltd Mobile terminal, contactless charging system, and management method of contactless charging
CN107742912A (en) * 2017-11-08 2018-02-27 深圳天珑无线科技有限公司 Charging method, fast fill device and computer-readable recording medium
CN109560591A (en) * 2019-01-25 2019-04-02 维沃移动通信有限公司 Charging method, device and terminal
CN110729792A (en) * 2019-10-30 2020-01-24 深圳市沃特沃德股份有限公司 Charging method, charging device, storage medium and computer equipment
CN112260366A (en) * 2020-11-06 2021-01-22 维沃移动通信有限公司 Charging method, charging device and charger

Also Published As

Publication number Publication date
CN112260366B (en) 2023-11-24
CN112260366A (en) 2021-01-22

Similar Documents

Publication Publication Date Title
WO2022095961A1 (en) Charging method, charging apparatus, and charger
TWI486771B (en) Mobile phone and system and method for transferring power
CN106571663B (en) Charging method, terminal and charging adapter
US11011925B2 (en) Battery charging apparatus and method, terminal, power adapter, and storage medium
EP3474416A1 (en) Power adaptor, terminal and charging system
WO2013152662A1 (en) Power supply method for terminal device, and terminal device thereof
US20130254571A1 (en) Power management method and apparatus for network access module
WO2014075498A1 (en) Charging management method, device and system
WO2015027889A1 (en) Method and device for automatically stopping charging when mobile terminal is fully charged
JP2013531822A5 (en)
CN110249661B (en) Network connection method and device
WO2017063192A1 (en) Charging method, mobile terminal, and charging device
CN104135057A (en) Terminal, charger and charging method
CN104158251A (en) Terminal, charger and charging method
CN110492575B (en) Quick charging system and method for handheld device and handheld device
CN105404450A (en) Information processing method and electronic equipment
CN107885688B (en) Signal switching method and device
CN108391261B (en) Bluetooth search detection method, detection device, storage medium and mobile terminal
EP3537560A1 (en) Method for determining charger, and related device and system
EP3565227A1 (en) Blacklist management method and device
CN105722244B (en) Information processing method and electronic equipment
US10742057B2 (en) Self-loop detection method and apparatus for charging device
CN106488537B (en) Sending method, device and mobile terminal
CN110582917A (en) Charging method, terminal and computer storage medium
CN113934661A (en) Electronic equipment, control method, device and medium

Legal Events

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

Ref document number: 21888653

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

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 21888653

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 27.11.2023)