CN112260366A - Charging method, charging device and charger - Google Patents

Charging method, charging device and charger Download PDF

Info

Publication number
CN112260366A
CN112260366A CN202011231638.8A CN202011231638A CN112260366A CN 112260366 A CN112260366 A CN 112260366A CN 202011231638 A CN202011231638 A CN 202011231638A CN 112260366 A CN112260366 A CN 112260366A
Authority
CN
China
Prior art keywords
charging
powered device
protocol
charging protocol
handshake
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
CN202011231638.8A
Other languages
Chinese (zh)
Other versions
CN112260366B (en
Inventor
郭朋飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202011231638.8A priority Critical patent/CN112260366B/en
Publication of CN112260366A publication Critical patent/CN112260366A/en
Priority to PCT/CN2021/129001 priority patent/WO2022095961A1/en
Application granted granted Critical
Publication of CN112260366B publication Critical patent/CN112260366B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

Abstract

The application discloses a charging method, a charging device and a charger, and belongs to the technical field of communication. The charging method comprises the following steps: within a first preset time after a charger is connected with a powered device, if the charger and the powered device meet a handshake condition of a second charging protocol, charging the powered device according to the second charging protocol, and if the charger and the powered device do not meet the handshake condition of the second charging protocol, charging the powered device according to the first charging protocol after the first preset time; wherein the first charging protocol has a faster handshake communication rate than the second charging protocol. In the embodiment of the application, in the charging process, the second charging protocol is preferentially identified, and the second charging protocol is used for quick charging on the premise of meeting the second charging protocol, so that the utilization rate of the second charging protocol can be improved, and the charging safety is ensured.

Description

Charging method, charging device and charger
Technical Field
The application belongs to the technical field of communication, and particularly relates to a charging method, a charging device and a charger.
Background
At present, the terminal functions are more and more powerful, but the problem of serious power consumption also comes with; under the condition that a user pays more and more attention to the standby time, the problem of increasing the battery capacity is the first thought of a mobile phone manufacturer, and under the condition that the battery manufacturer cannot overcome the battery technology, a quick charging scheme is produced. At present, a Fast charging technology is a charging mode commonly used by mobile phone manufacturers, wherein the more commonly used Fast charging protocols include a PD (Power Delivery) charging Protocol, a PE (Pump Express) charging Protocol, a qc (quick Charge) charging Protocol, an FCP (Fast Charge Protocol), an SCP (Super Charge Protocol), a VOOC (flash charging Protocol), and other charging protocols. Some charging protocols are quick charging protocols with universality, such as PD charging protocols, and some charging protocols are proprietary charging protocols customized by mobile phone manufacturers based on mobile phones produced by the manufacturers, so that the quick charging function can be more adaptive to the mobile phones of the manufacturers, and the security is higher.
In order to be suitable for various fast charging protocols as far as possible, some products such as fast charging chargers and mobile power supplies support various fast charging protocols, for example, one charger supports various fast charging protocols such as a QC charging protocol and a PD charging protocol, a mobile phone supporting the QC charging protocol can carry out fast charging communication of the QC charging protocol when communicating with the charger, and a mobile phone supporting the PD charging protocol can carry out fast charging communication of the PD charging protocol when communicating with the charger, so that the applicability of the charger is increased; some mobile phones also support various fast charging protocols, for example, the mobile phone supports both a fast charging mode of a QC charging protocol and a fast charging mode of a PD charging protocol; the charger connected with the PD charging protocol supports rapid charging according to the rapid charging mode of the PD charging protocol, and the charger connected with the QC charging protocol supports rapid charging according to the QC charging protocol, so that the charging experience of the mobile phone is improved.
However, when a fast charging mobile phone supporting a private protocol communicates with a charger supporting multiple fast charging protocols, it is intended to preferentially identify the private fast charging protocol, but since the communication speed of some charging protocols (e.g., a PD charging protocol, a QC charging protocol, etc.) is faster, after the mobile phone is connected to the charger, the communication of the charging protocols such as PD is preferentially performed, and the fast charging is performed according to the communication mode of the charging protocols such as PD, which undoubtedly reduces the usability of the private charging protocol and also reduces the charging safety.
Disclosure of Invention
The embodiment of the application aims to provide a charging method, a charging device and a charger, and can solve the problems that in the prior art, under the condition of supporting multiple charging protocols, a type of charging protocol with a high communication speed preferentially establishes communication and charges, so that charging cannot be performed according to a private charging protocol, and further the actual utilization rate and charging safety of the private charging protocol are low.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a charging method, where the method includes:
within a first preset time after a charger is connected with a powered device, if the charger and the powered device meet a handshake condition of a second charging protocol, charging the powered device according to the second charging protocol, and if the charger and the powered device do not meet the handshake condition of the second charging protocol, charging the powered device according to the first charging protocol after the first preset time;
wherein the first charging protocol has a faster handshake communication rate than the second charging protocol.
In a second aspect, an embodiment of the present application provides a charging device, including:
the charging module is used for charging the powered device according to a second charging protocol if the charger and the powered device meet a handshake condition of the second charging protocol within a first preset time after the charger is connected with the powered device, and charging the powered device according to the first charging protocol after the first preset time if the charger and the powered device do not meet the handshake condition of the second charging protocol;
wherein the first charging protocol has a faster handshake communication rate than the second charging protocol.
In a third aspect, embodiments of the present application provide a charger including a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, in the charging process, the second charging protocol is preferentially identified, and the second charging protocol is used for rapid charging on the premise of meeting the second charging protocol, so that the utilization rate of the second charging protocol can be improved, and the charging safety is ensured.
Drawings
Fig. 1 is a schematic flowchart of a charging method according to an embodiment of the present disclosure;
fig. 2 is a schematic structural diagram of a charging device according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a charger according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The charging method, the charging device and the charger provided by the embodiments of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Fig. 1 is a schematic flow chart of a charging method according to an embodiment of the present disclosure. As shown in fig. 1, an embodiment of the present application provides a charging method, which may be applied to a charger, where the charging method may include:
step 11:
within a first preset time after a charger is connected with a powered device, if the charger and the powered device meet a handshake condition of a second charging protocol, charging the powered device according to the second charging protocol, and if the charger and the powered device do not meet the handshake condition of the second charging protocol, charging the powered device according to the first charging protocol after the first preset time;
wherein the first charging protocol has a faster handshake communication rate than the second charging protocol.
In this embodiment of the present application, it may be determined whether to connect to a powered device by: whether the Rd resistance (i.e., pull-down resistance) is detected is determined, for example, the Rd resistance is detected to be considered to be connected to the powered device. After the connection with the powered device, since the rate of the first charging protocol is faster than that of the second charging protocol, it means that in the prior art, the powered device will be handshake-communicated with the first charging protocol first, and then the powered device will be charged according to the first charging protocol, however, in this embodiment of the present invention, a time period, i.e. a first preset time period, is first set, whether the handshake condition of the second charging protocol is satisfied is detected within the first preset time period, if the handshake condition of the second charging protocol is detected within the first preset time period, the powered device will be handshake-communicated with the powered device according to the second charging protocol, and then the powered device will be charged according to the second charging protocol, and if the handshake condition of the second charging protocol is not detected within the first preset time period, the powered device will be charged according to the first charging protocol after the first preset time period, that is to say, the time that the charger accomplished the communication of shaking hands and charge to the powered device according to first charge agreement and powered device has been postponed to, under the prerequisite that hardly influences the response time of charging with being connected of powered device, whether the priority detects satisfies the condition of shaking hands of second charge agreement, can improve the rate of utilization of second charge agreement from this, and the security when improving to charge.
It should be noted that, in the first preset time period, even if the handshake communication rate of the first charging protocol is fast, the handshake communication with the powered device according to the first charging protocol is not completed and the powered device is charged according to the first charging protocol, but the first preset time period is reserved to detect whether the handshake condition of the second charging protocol is satisfied, and until the first preset time period is exceeded and the second charging protocol is not detected to be satisfied, the handshake communication with the powered device according to the first charging protocol is completed and the powered device is charged according to the first charging protocol.
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 set higher handshake communication rate, such as a PD charging protocol, a PE charging protocol, a QC charging protocol, and the second charging protocol may be a private charging protocol, such as an FCP charging protocol, an SCP charging protocol, a VOOC charging protocol, and the private charging protocol is provided with a protection measure of a terminal produced by a mobile phone manufacturer, so that the security is stronger, and therefore, the charging security can be ensured by preferentially using the second charging protocol to charge the powered device.
In this embodiment of this application, in the first preset duration after charger and powered device take place to be connected, if the charger with powered device satisfies the condition of shaking hands of second protocol of charging, then it is right according to the second protocol of charging the powered device charges, include:
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;
and shielding the communication signal of the first charging protocol and charging the powered device according to the second charging protocol if the charger and the powered device meet the handshake condition of the second charging protocol under the condition of meeting the preset condition.
In the embodiment of the application, because the handshake communication rate of the first charging protocol is faster than that of the second charging protocol, therefore, in order to postpone the moment when the charger completes handshake communication with the powered device according to the first charging protocol and performs charging, after the connection with the powered device, the sending of the first handshake request to the powered device may be postponed (as in the prior art the first handshake request is sent to the powered device according to the first charging protocol immediately after the connection with the powered device), because the powered device does not receive the first handshake request within a certain period of time, the powered device may be triggered to send a hard reset signal to the charger (for example, in a PD charging protocol, if the powered device does not receive the first handshake request sent by the charger, the powered device may be triggered to send the hard reset signal, which causes a delay), and thus the charger will receive at least one hard reset signal sent by the powered device according to the first charging protocol; at this time, the charger and the powered device are in the process of handshake communication, but the handshake communication is not completed, so that the powered device cannot be directly charged according to the first charging protocol, and therefore, whether the handshake condition of the second charging protocol is met or not can be detected within the first preset time, the powered device is handshake communicated according to the second charging protocol and is charged according to the second charging protocol after the handshake communication is completed; if the handshake condition meeting the second charging protocol is not detected within the first preset time, after the first preset time, the charger sends a first handshake request to the powered device according to the first charging protocol, then completes handshake communication with the powered device, and then charges the powered device according to the first charging protocol.
In the embodiment of the present application, the preset conditions are: the received hard reset signal frequency is less than a preset frequency, or the preset condition is that the hard reset signal is within a second preset time after being received for the first time.
In an optional embodiment, the preset condition is that the number of times the hard reset signal is received is less than a preset number of times, where the preset number of times is a positive integer, for example, in a case that the first charging protocol is a PD charging protocol, the preset number of times is set to 3, that is, in a case that a first handshake request sent by a charger is not received, the powered device is triggered to send three hard reset signals in sequence, a first preset duration is a time when the powered device is connected, and until a third hard reset signal is received, before the third hard reset signal is not received, whether the handshake condition of the second charging protocol is satisfied may be detected in the duration, and when the handshake condition is satisfied, the powered device is communicated with and charged according to the second charging protocol, at this time, a communication signal of the first charging protocol may be ignored or shielded, however, if the handshake condition meeting the second charging protocol is not detected after the third hard reset signal is received, in order to ensure a fast response of charging, the charger sends a first handshake request to the powered device according to the first charging protocol, completes handshake communication with the powered device, and charges the powered device according to the first charging protocol, thereby ensuring that the powered device can still be charged more quickly.
In another alternative embodiment, the ending time may be within a second preset time period after the hard reset signal is received for the first time, for example, in a case that the first charging protocol is a PD charging protocol, although the triggered hard reset signal specified by the protocol is three times, in an actual scenario, many manufacturers do not set the terminal (i.e., the powered device) to trigger the hard reset signal three times according to a standard, so as to avoid that the third hard reset signal is not received for a long time and the powered device cannot be powered on, in this embodiment of the present application, a waiting time, that is, a second preset time period, is added, that is, after the first hard reset signal is received, a time of the second preset time period again, in this case, the first preset time period is a time when the powered device is connected, and a time of the second preset time period is reached after the first hard reset signal is received, during the period, whether the handshake condition of the second charging protocol is met or not can be detected, when the handshake condition is met, the communication with the powered device is performed according to the second charging protocol, and the powered device is charged, at this time, the communication signal of the first charging protocol can be ignored or shielded, if the subsequent hard reset signal is not received even when the second preset time length is exceeded, the first handshake request is sent to the powered device according to the first charging protocol, the handshake communication is established with the powered 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 is connected to the powered device, if the charger and the powered device satisfy a handshake condition of a second charging protocol, the powered device is charged according to the second charging protocol, including:
cycling the following operations within a first preset time period: transmitting a first handshake request to the powered device according to the first charging protocol, and transmitting a soft reset signal and the first handshake request to the powered device when receiving a first reply signal and a power request transmitted by the powered device in response to the first handshake request;
and shielding the communication signal of the first charging protocol if the charger and the powered device meet the handshake condition of a second charging protocol within the first preset time, and charging the powered device according to the second charging protocol.
In this embodiment of the present application, since the rate of the first charging protocol is faster than that of the second charging protocol, in order to postpone the time when the charger completes the handshake communication with the powered device according to the first charging protocol and performs charging, after the charger is connected to the powered device, the following operations may be cycled for a first preset time period: if a first handshake request is sent to the powered device according to the first charging protocol, the powered device will send a first reply signal and a power request in response to the first handshake request, where 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 a power stage required by the powered device itself, according to the prior art, under the first charging protocol (e.g. PD charging protocol), the charger needs to reply with a second reply signal at this time, which indicates that the charger has received the power request, and can charge the powered device with the requested power according to the first charging protocol, but in this embodiment, in order to try to detect whether a time window of handshake conditions 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, and if the first handshake request is received, the powered device sends a first reply signal and a power request to the charger in response to the first handshake request, and the cycle is repeated, so that the handshake communication process between the charger and the powered device is always cycled for a certain time in the two steps, namely for a first preset time period, and during the time period, whether the handshake condition of the second charging protocol is met can be detected, and if the handshake communication process is met, the powered device is handshake communicated with the powered device according to the second charging protocol and is charged, and at this time, the communication signal of the first charging protocol can be ignored or shielded.
In this embodiment of the present application, if the handshake condition of the second charging protocol is not satisfied, charging the powered device according to the first charging protocol after the first preset time period includes:
and if the charger and the powered device do not meet the handshake condition of the second charging protocol within the first preset time, responding to the power request after the first preset time is exceeded, and charging the powered device according to the first charging protocol.
That is, after the above operation is cycled for more than the first preset time period, and the handshake condition meeting the second charging protocol is still not detected, the charger will send the second reply signal to the powered device after receiving the first reply signal and the power request according to the normal procedure, which indicates that the power request has been received, and charge the powered device with the requested power according to the first charging protocol.
In this embodiment of the application, if the handshake condition of the second charging protocol is not satisfied, after the step of charging the powered device according to the first charging protocol after the first preset time period, the method further includes:
and if the handshake condition meeting the second charging protocol is detected, stopping charging the powered device according to the first charging protocol, and switching to charging the powered device according to the second charging protocol.
As the handshake condition meeting the second charging protocol is not detected within the first preset time, in order to ensure that the powered device is charged in time, the powered device is charged according to the first charging protocol after the first preset time; after that, it may be continued to detect whether the handshake condition of the second charging protocol is satisfied, and in a case where it is detected that the handshake condition of the second charging protocol is satisfied, the communication of the first charging protocol is masked, the charging of the powered device according to the first charging protocol is stopped, and the powered device is charged according to the second charging protocol in response to the handshake communication of the second charging line protocol.
In the embodiment of the application, for the second charging protocol, whether the handshake condition of the second charging protocol is met is detected, the handshake condition meeting the second charging protocol may be that the voltage value between D +/D-is greater than or equal to the preset voltage threshold, and correspondingly, the handshake condition not meeting the second charging protocol may be that the voltage value between D +/D-is less than the preset voltage threshold; when the detection is carried out within the first preset time length, the voltage value between D +/D-can be detected for multiple times to ensure the accuracy of the detection result, and the detection time interval can be periodic or aperiodic; when the detection is performed after the first preset time length is exceeded, optionally, the detection may be performed periodically at certain time intervals.
In the embodiment of the application, in the charging process, the second charging protocol is preferentially identified, and the second charging protocol is used for quick charging on the premise of meeting the second charging protocol, so that the utilization rate of the second charging protocol can be improved, and the charging safety is ensured.
In the charging method provided in the embodiment of the present application, the execution main body 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, a charging method performed by a charging device is taken as an example, and the charging device provided in the embodiment of the present application is described.
Fig. 2 is a schematic structural diagram of a charging device according to an embodiment of the present disclosure. As shown in fig. 2, another embodiment of the present application further provides a charging device, where the charging device 20 may include:
a charging module 21 for
Within a first preset time after a charger is connected with a powered device, if the charger and the powered device meet a handshake condition of a second charging protocol, charging the powered device according to the second charging protocol, and if the charger and the powered device do not meet the handshake condition of the second charging protocol, charging the powered device according to the first charging protocol after the first preset time;
wherein the first charging protocol has a faster handshake communication rate than the second charging protocol.
Optionally, the charging module 21 includes:
a delay transmission unit configured to delay transmission of 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 a communication signal of the first charging protocol and charge the powered device according to a second charging protocol if the charger and the powered device meet a handshake condition of the second charging protocol under the condition that a preset condition is met.
Optionally, the preset condition is that the number of times of receiving the hard reset signal is less than a preset number of times, or the preset condition is that the hard reset signal is within a second preset duration after being received for the first time.
Optionally, the charging module 21 includes:
a circulation unit, configured to circulate the following operations within a first preset time period: transmitting a first handshake request to the powered device according to the first charging protocol, and transmitting a soft reset signal and the first handshake request to the powered device when receiving a first reply signal and a power request transmitted by the powered device in response to the first handshake request;
and the second charging unit is used for shielding the communication signal of the first charging protocol and charging the powered device according to a second charging protocol within the first preset time period if the charger and the powered device meet the handshake condition of the second charging protocol.
Optionally, the charging module 21 includes:
and the third charging unit is used for responding to the power request and charging the powered device according to the first charging protocol after the first preset time length is exceeded if the handshaking condition of the second charging protocol is not met by the charger and the powered device within the first preset time length.
Optionally, the charging device further includes:
and the switching charging module is used for stopping charging the powered device according to the first charging protocol if the handshake condition meeting the second charging protocol is detected, and switching to charging the powered device according to the second charging protocol.
In the embodiment of the application, in the charging process, the second charging protocol is preferentially identified, and the second charging protocol is used for quick charging on the premise of meeting the second charging protocol, so that the utilization rate of the second charging protocol can be improved, and the charging safety is ensured.
The charging device in the embodiment of the present application may be a device, or may also be a component, an integrated circuit, or a chip in a terminal, and the embodiment of the present application is not particularly limited.
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, and embodiments of the present application are not limited specifically.
The charging device provided in the embodiment of the present application can implement each process implemented by the method embodiment in fig. 1, and is not described here again to avoid repetition.
Optionally, as shown in fig. 3, an embodiment of the present application further provides a charger 300, which includes a processor 302, a memory 301, and a program or an instruction stored in the memory 301 and capable of being executed on the processor 302, and when the program or the instruction is executed by the processor 302, the process of the charging method embodiment is implemented, and the same technical effect can be achieved, and details are not repeated here to avoid repetition.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above charging method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
Wherein, the processor is the processor in the charger described in the above embodiments. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where 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 to implement each process of the above charging method embodiment, and can achieve the same technical effect, and for avoiding repetition, the details are not repeated here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (14)

1. A charging method is applied to a charger and is characterized by comprising the following steps:
within a first preset time after a charger is connected with a powered device, if the charger and the powered device meet a handshake condition of a second charging protocol, charging the powered device according to the second charging protocol, and if the charger and the powered device do not meet the handshake condition of the second charging protocol, charging the powered device according to the first charging protocol after the first preset time;
wherein the first charging protocol has a faster handshake communication rate than the second charging protocol.
2. The charging method according to claim 1, wherein the charging the powered device according to a second charging protocol within a first preset time period after the charger is connected to the powered device if the charger and the powered device satisfy a handshake condition of the second charging protocol includes:
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;
and shielding the communication signal of the first charging protocol and charging the powered device according to the second charging protocol if the charger and the powered device meet the handshake condition of the second charging protocol under the condition of meeting the preset condition.
3. The charging method according to claim 2, wherein the preset condition is that the hard reset signal is received less than a preset number of times, or the preset condition is within a second preset time period after the hard reset signal is received for the first time.
4. The charging method according to claim 1, wherein the charging the powered device according to a second charging protocol within a first preset time period after the charger is connected to the powered device if the charger and the powered device satisfy a handshake condition of the second charging protocol includes:
cycling the following operations within a first preset time period: transmitting a first handshake request to the powered device according to the first charging protocol, and transmitting a soft reset signal and the first handshake request to the powered device when receiving a first reply signal and a power request transmitted by the powered device in response to the first handshake request;
and shielding the communication signal of the first charging protocol if the charger and the powered device meet the handshake condition of a second charging protocol within the first preset time, and charging the powered device according to the second charging protocol.
5. The charging method according to claim 4, wherein if the handshake condition of the second charging protocol is not satisfied, charging the powered device according to the first charging protocol after the first preset time period comprises:
and if the charger and the powered device do not meet the handshake condition of the second charging protocol within the first preset time, responding to the power request after the first preset time is exceeded, and charging the powered device according to the first charging protocol.
6. The charging method according to claim 1, wherein if the handshake condition of the second charging protocol is not satisfied, after the step of charging the powered device according to the first charging protocol after the first preset time period, the method further comprises:
and if the handshake condition meeting the second charging protocol is detected, stopping charging the powered device according to the first charging protocol, and switching to charging the powered device according to the second charging protocol.
7. A charging device applied to a charger is characterized by comprising:
the charging module is used for charging the powered device according to a second charging protocol if the charger and the powered device meet a handshake condition of the second charging protocol within a first preset time after the charger is connected with the powered device, and charging the powered device according to the first charging protocol after the first preset time if the charger and the powered device do not meet the handshake condition of the second charging protocol;
wherein the first charging protocol has a faster handshake communication rate than the second charging protocol.
8. The charging device of claim 7, wherein the charging module comprises:
a delay transmission unit configured to delay transmission of 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 a communication signal of the first charging protocol and charge the powered device according to a second charging protocol if the charger and the powered device meet a handshake condition of the second charging protocol under the condition that a preset condition is met.
9. The charging device according to claim 8, wherein the predetermined condition is that the hard reset signal is received less than a predetermined number of times, or the predetermined condition is within a second predetermined time period after the hard reset signal is received for the first time.
10. The charging device of claim 7, wherein the charging module comprises:
a circulation unit, configured to circulate the following operations within a first preset time period: transmitting a first handshake request to the powered device according to the first charging protocol, and transmitting a soft reset signal and the first handshake request to the powered device when receiving a first reply signal and a power request transmitted by the powered device in response to the first handshake request;
and the second charging unit is used for shielding the communication signal of the first charging protocol and charging the powered device according to a second charging protocol within the first preset time period if the charger and the powered device meet the handshake condition of the second charging protocol.
11. The charging device of claim 10, wherein the charging module comprises:
and the third charging unit is used for responding to the power request and charging the powered device according to the first charging protocol after the first preset time length is exceeded if the handshaking condition of the second charging protocol is not met by the charger and the powered device within the first preset time length.
12. The charging device according to claim 7, further comprising:
and the switching charging module is used for stopping charging the powered device according to the first charging protocol if the handshake condition meeting the second charging protocol is detected, and switching to charging the powered device according to the second charging protocol.
13. A charger, characterized by comprising a processor, a memory and a program or instructions stored on the memory and executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the charging method according to any one of claims 1-6.
14. A readable storage medium, on which a program or instructions are stored, which when executed by a processor, carry out the steps of the charging method according to any one of claims 1 to 6.
CN202011231638.8A 2020-11-06 2020-11-06 Charging method, charging device and charger Active CN112260366B (en)

Priority Applications (2)

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

Applications Claiming Priority (1)

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

Publications (2)

Publication Number Publication Date
CN112260366A true CN112260366A (en) 2021-01-22
CN112260366B CN112260366B (en) 2023-11-24

Family

ID=74265614

Family Applications (1)

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

Country Status (2)

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

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022095961A1 (en) * 2020-11-06 2022-05-12 维沃移动通信有限公司 Charging method, charging apparatus, and charger
CN116247755A (en) * 2021-12-08 2023-06-09 华为技术有限公司 Protocol information testing method, tester, storage medium and program product
WO2024046109A1 (en) * 2022-08-27 2024-03-07 华为技术有限公司 Charging method and electric device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106356918A (en) * 2016-08-30 2017-01-25 宇龙计算机通信科技(深圳)有限公司 Quick charge recognition method and terminal equipment
CN108390430A (en) * 2018-02-27 2018-08-10 维沃移动通信有限公司 A kind of charging converter and charging method
CN109560591A (en) * 2019-01-25 2019-04-02 维沃移动通信有限公司 Charging method, device and terminal

Family Cites Families (4)

* 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
CN110729792A (en) * 2019-10-30 2020-01-24 深圳市沃特沃德股份有限公司 Charging method, charging device, storage medium and computer equipment
CN112260366B (en) * 2020-11-06 2023-11-24 维沃移动通信有限公司 Charging method, charging device and charger

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106356918A (en) * 2016-08-30 2017-01-25 宇龙计算机通信科技(深圳)有限公司 Quick charge recognition method and terminal equipment
CN108390430A (en) * 2018-02-27 2018-08-10 维沃移动通信有限公司 A kind of charging converter and charging method
CN109560591A (en) * 2019-01-25 2019-04-02 维沃移动通信有限公司 Charging method, device and terminal

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022095961A1 (en) * 2020-11-06 2022-05-12 维沃移动通信有限公司 Charging method, charging apparatus, and charger
CN116247755A (en) * 2021-12-08 2023-06-09 华为技术有限公司 Protocol information testing method, tester, storage medium and program product
WO2023103802A1 (en) * 2021-12-08 2023-06-15 华为技术有限公司 Protocol information testing method, tester, storage medium, and program product
CN116247755B (en) * 2021-12-08 2024-01-16 华为技术有限公司 Protocol information testing method, tester and storage medium
WO2024046109A1 (en) * 2022-08-27 2024-03-07 华为技术有限公司 Charging method and electric device

Also Published As

Publication number Publication date
CN112260366B (en) 2023-11-24
WO2022095961A1 (en) 2022-05-12

Similar Documents

Publication Publication Date Title
CN112260366A (en) Charging method, charging device and charger
CN110249661B (en) Network connection method and device
CN110851387B (en) Interface function configuration method and electronic equipment
US10389153B2 (en) Charging control method and mobile terminal
US10439412B2 (en) Method for eliminating interference of charger to touch screen, and mobile terminal
CN103956792A (en) Method and device for controlling charging temperature rise of mobile terminal
CN103596246B (en) Recover the method and terminal of data service
CN106412293B (en) Foreign matter detection method and device and terminal equipment
CN108650155B (en) Control method, device and system for household electrical appliance
CN109495875B (en) SIM card selection method and device, electronic equipment and storage medium
CN105657656B (en) A kind of transmission power adjustment method and user equipment
CN110517676A (en) A kind of voice awakening method and terminal, server, storage medium
CN106095064B (en) A kind of mobile terminal forbids applying the method and system of the specific broadcast of reception
CN109254210B (en) Electronic equipment port type detection method and device, detection circuit and electronic equipment
WO2020150954A1 (en) Method and apparatus for spi-based asynchronous handling of events, and storage medium
CN104936211A (en) Wireless resource distribution method
CN108391261B (en) Bluetooth search detection method, detection device, storage medium and mobile terminal
US11947481B2 (en) Terminal and type C interface anti-corrosion method
TWI706687B (en) Payment method and client
CN105722244A (en) Information processing method and electronic device
KR102403478B1 (en) Charging method, terminal and computer storage medium
CN105052214B (en) A kind of method and WIFI access point reducing WIFI access point power consumption
EP3065445A1 (en) Method, cse, and system for transmitting m2m application request
CN106488537B (en) Sending method, device and mobile terminal
CN105430727B (en) A kind of the carrier aggregation mode setting method and communication terminal of communication terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant