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

Charging method, charging device and charger Download PDF

Info

Publication number
CN112260366B
CN112260366B CN202011231638.8A CN202011231638A CN112260366B CN 112260366 B CN112260366 B CN 112260366B CN 202011231638 A CN202011231638 A CN 202011231638A CN 112260366 B CN112260366 B CN 112260366B
Authority
CN
China
Prior art keywords
charging
powered device
charging protocol
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.)
Active
Application number
CN202011231638.8A
Other languages
Chinese (zh)
Other versions
CN112260366A (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

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

Landscapes

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

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: 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 period after the charger and the powered device are connected, and charging the powered device according to a first charging protocol after the first preset time period if the charger and the powered device do not meet the handshake condition of the second charging protocol; the handshake communication rate of the first charging protocol is faster than that of the second charging protocol. In the embodiment of the application, the second charging protocol is preferentially identified in the charging process, 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.

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 is also caused; increasing battery capacity is the first solution that cell phone manufacturers think of in the case of users increasingly taking care of standby time, while fast charging schemes have emerged in the case of battery manufacturers failing to overcome battery technology. At present, the fast charging technology is a charging mode commonly adopted by mobile phone manufacturers, wherein a relatively common fast charging protocol includes a PD (Power Delivery) charging protocol, a PE (Pump Express) charging protocol, a QC (Quick Charge) charging protocol, an FCP (Fast Charge Protocol, fast charging protocol), an SCP (Super Charge Protocol, super charging protocol), a VOOC (flash charging protocol) and other charging protocols. Some of the charging protocols are universal fast charging protocols, such as PD charging protocols, and some of the charging protocols are private charging protocols customized by mobile phone manufacturers based on mobile phones produced by the mobile phone manufacturers, and the private charging protocols can enable the fast charging functions to be more suitable for the mobile phones of the mobile phones, and meanwhile, the safety is higher.
In order to be applicable to various quick charging protocols as much as possible, products such as a quick charging charger, a mobile power supply and the like support various quick charging protocols, for example, a charger supports various quick charging protocols such as QC charging protocols and PD charging protocols, a mobile phone supporting the QC charging protocols can be communicated with the charger to perform quick charging communication of the QC charging protocols, and a mobile phone supporting the PD charging protocols can be communicated with the charger to perform quick charging communication of PD charging line protocols, so that the applicability of the charger is increased; some mobile phones also support various fast charging protocols, such as a fast charging mode of a QC charging protocol and a fast charging mode of a PD charging protocol; the charger supporting the PD charging protocol is connected to conduct quick charging according to the quick charging mode of the PD charging protocol, and the charger supporting the QC charging protocol is connected to conduct quick charging according to the QC charging protocol, so that charging experience of the mobile phone is improved.
However, when the fast charging mobile phone supporting the private protocol communicates with the charger supporting multiple fast charging protocols, the private fast charging protocol is identified first, but because the communication speed of some charging protocols (such as PD charging protocol, QC charging protocol, etc.) is relatively fast, after the mobile phone is connected with the charger, the communication of the charging protocols such as PD is performed first, and the fast charging is performed according to the communication mode of the charging protocols such as PD, which obviously 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, which can solve the problems that in the prior art, under the condition of supporting multiple charging protocols, a type of charging protocol with higher communication speed preferentially establishes communication and charges so that the charging cannot be performed according to a private charging protocol, and then the actual utilization rate of the private charging protocol is low and the charging safety is low.
In order to solve the technical problems, the application is realized as follows:
in a first aspect, an embodiment of the present application provides a charging method, including:
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 period after the charger and the powered device are connected, and charging the powered device according to a first charging protocol after the first preset time period if the charger and the powered device do not meet the handshake condition of the second charging protocol;
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, including:
the charging module is used for charging the power receiving equipment according to a second charging protocol if the charger and the power receiving equipment meet the handshake condition of the second charging protocol within a first preset time period after the charger and the power receiving equipment are connected, and charging the power receiving equipment according to the first charging protocol after the first preset time period if the charger and the power receiving equipment do not meet the handshake condition of the second charging protocol;
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 comprising a processor, a memory and a program or instruction stored on the memory and executable on the processor, the program or instruction 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 having stored thereon a program or instructions which when executed by a processor perform 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 where the processor is configured to execute a program or instructions to implement a method according to the first aspect.
In the embodiment of the application, the second charging protocol is preferentially identified in the charging process, 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 flow chart 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.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged, as appropriate, such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type, and are not limited to the number of objects, such as the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
The charging method, the charging device and the charger provided by the embodiment of the application are described in detail through specific embodiments and application scenes thereof with reference to the accompanying drawings.
Fig. 1 is a schematic flow chart of a charging method according to an embodiment of the application. As shown in fig. 1, an embodiment of the present application provides a charging method, which may be applied to a charger, and the charging method may include:
step 11:
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 period after the charger and the powered device are connected, and charging the powered device according to a first charging protocol after the first preset time period if the charger and the powered device do not meet the handshake condition of the second charging protocol;
the handshake communication rate of the first charging protocol is faster than that of the second charging protocol.
In the embodiment of the application, whether the connection with the powered device is judged can be judged by: whether the Rd resistance (i.e., pull-down resistance) is detected or not is determined, for example, the Rd resistance is detected, that is, it is considered that a connection has occurred with the powered device. After the connection with the powered device occurs, since the handshake communication rate of the first charging protocol is faster than that of the second charging protocol, this means that in the prior art, the powered device will be handshake-communicated with the powered device according to the first charging protocol first, and then charged according to the first charging protocol.
It should be noted that, in the first preset duration, even if the handshake communication rate of the first charging protocol is faster, handshake communication is not completed with the powered device according to the first charging protocol and the powered device is charged according to the first charging protocol, but the first preset duration is reserved to detect whether the handshake condition of the second charging protocol is met or not, until the first preset duration is exceeded and the condition that the second charging protocol is met is not detected, handshake communication is completed with the powered device according to the first charging protocol and the powered device is charged according to the first charging protocol.
In the embodiment of the application, the charger and the powered device can support various charging protocols, including a first charging protocol and a second charging protocol, wherein the first charging protocol can be a charging protocol with a relatively fast handshake communication rate, such as a PD charging protocol, a PE charging protocol, a QC charging protocol, and the like, and the second charging protocol can be a private charging protocol, such as an FCP charging protocol, an SCP charging protocol, a VOOC charging protocol, and the like.
In the embodiment of the present application, in a first preset period of time after the charger and the powered device are connected, 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 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 under the condition that the preset condition is met, if the charger and the powered device meet the handshake condition of the second charging protocol, shielding the communication signal of the first charging protocol, and charging the powered device according to the second charging protocol.
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 time when the charger completes handshake communication with the powered device and charges according to the first charging protocol, after the charger is connected with the powered device, the sending of the first handshake request to the powered device may be delayed (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 powered device does not receive the first handshake request within a certain period of time, and thus the powered device may be triggered to send a hard reset signal to the charger (for example, in the PD charging protocol, if the powered device cannot receive the first handshake request sent by the charger, the powered device may be triggered to send the hard reset signal, resulting in delay), and the charger will receive at least one hard reset signal sent by the powered device according to the first charging protocol; the charger and the powered device are in the handshake communication process at this time, but handshake communication is not completed, so that the powered device is not directly charged according to the first charging protocol, whether handshake conditions of the second charging protocol are met or not can be detected within a first preset duration, handshake communication is performed with the powered device according to the second charging protocol, and the powered device is charged according to the second charging protocol after handshake communication is completed; if the handshake condition meeting the second charging protocol is not detected within the first preset duration, the charger sends a first handshake request to the powered device according to the first charging protocol after the first preset duration, and 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 number of times of the received hard reset signal is smaller than a preset number of times, or the preset condition is that the received hard reset signal is within a second preset time after the hard reset signal is received for the first time.
In an alternative embodiment, the preset condition is that the number of times of the received hard reset signal is smaller than a preset number of times, where the preset number of times is a positive integer, for example, when the first charging protocol is a PD charging protocol, the preset number of times is set to 3, that is, when the first handshake request sent by the charger is not received, the powered device is triggered to send the hard reset signal three times in sequence, the first preset period is from the time when the connection with the powered device occurs to the time when the 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 met or not can be detected in this period, and when the handshake condition is met, the powered device is in handshake communication with the powered device according to the second charging protocol and charges the powered device, at this time, the communication signal of the first charging protocol can be ignored or shielded, but when the handshake condition meeting the second charging protocol is still not detected after the third hard reset signal is received, in order to ensure quick response of charging, the charger can perform a quick communication with the powered device according to the first handshake request, and to ensure quick charging.
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, in the case that the first charging protocol is a PD charging protocol, although the hard reset signal triggered by the protocol is three times, in an actual scenario, a plurality of manufacturers do not set a terminal (i.e. the powered device) to trigger the hard reset signal for three times according to a standard, so in order to avoid that the third hard reset signal is not received for a long time and the power-on is not powered up, in the embodiment of the present application, a waiting time is added, that is, a second preset time period is a time period after the first hard reset signal is received, and then the second preset time period is a time period after the first hard reset signal is received, for example, until the time point when the second preset time period is reached after the first hard reset signal is received, in a practical scenario, in which time period is up to the time point when the second hard reset signal is received, and when the second charging protocol is met, and the power-on is not powered up according to the second charging protocol, and when the first power-on is not received, the first power-on protocol is still met, and when the first power-on device is still in communication with the first power-on protocol is not powered up, and the first power-on device is still in a power-on mode.
In other embodiments of the present application, optionally, in a first preset period of time after the charger and the powered device are connected, 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 includes:
within a first preset time period, the following operations are cycled: transmitting a first handshake request to the powered device according to the first charging protocol, and transmitting a soft reset signal and a 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 in the first preset duration, if the charger and the powered device meet the handshake condition of a second charging protocol, shielding the communication signal of the first charging protocol, and charging the powered device according to the second charging protocol.
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 time when the charger completes handshake communication with the powered device and charges according to the first charging protocol, after the charger is connected with the powered device, the following operations may be further circulated within a first preset duration: according to the prior art, under a first charging protocol (for example, PD charging protocol), the charger needs to reply to a second reply signal at this time, which indicates that the charger has received the second reply signal, and can charge the powered device according to the first charging protocol with the requested power, but in the embodiment of the application, in order to issue a time window for detecting whether the handshake condition of the second charging protocol is satisfied, the charger does not issue a second reply signal, but issues a soft reset signal and the first handshake request in sequence, because the second reply signal is not received by the powered device, communication between the charger and the powered device is established and is not completely established, and because the first handshake request is received, the powered device can respond to the first handshake request again, and send the first reply signal and the second reply signal is required, which indicates that the powered device can be charged according to the first charging protocol, and can be completely satisfied, in the first communication cycle time is not satisfied, and the communication between the powered device and the powered device is not completely satisfied, so that the communication time window of the handshake condition of the second handshake condition is satisfied, and the communication between the powered device and the powered device is not completely satisfied.
In the 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 duration includes:
and if the charger and the powered device do not meet the handshake condition of the second charging protocol within the first preset duration, after the first preset duration is exceeded, responding to the power request, 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 period of time, the handshake condition satisfying the second charging protocol is not detected, and the charger sends a second reply signal to the powered device after receiving the first reply signal and the power request according to the normal flow, indicating that the power request has been received, and charges the powered device with the requested power according to the first charging protocol.
In the embodiment of the present application, after the step of charging the powered device according to the first charging protocol after the first preset duration if the handshake condition of the second charging protocol is not satisfied, 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.
Because the handshake condition meeting the second charging protocol is not detected within the first preset duration, in order to ensure timely charging of the powered device, the powered device is charged according to the first charging protocol after the first preset duration; after that, it is possible to continue to detect whether the handshake condition of the second charging protocol is satisfied, and in the case where the handshake condition of the second charging protocol is detected to be satisfied, shield communication of the first charging protocol, stop charging the powered device according to the first charging protocol, and respond to handshake communication of the second charging line protocol to charge the powered device according to the second charging protocol.
In the embodiment of the application, for the second charging protocol, whether the handshake condition of the second charging protocol is satisfied is detected, wherein the handshake condition of the second charging protocol is satisfied may be that the voltage value between D+/D-is greater than or equal to a preset voltage threshold, and correspondingly, the handshake condition of the second charging protocol is not satisfied 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 so as to ensure the accuracy of the detection result, wherein the detection time interval can be periodic or aperiodic; when the detection is performed after the first preset time period is exceeded, the detection may be performed at periodic intervals.
In the embodiment of the application, the second charging protocol is preferentially identified in the charging process, 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.
It should be noted that, in the charging method provided by the embodiment of the present application, the execution 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 application. 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
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 period after the charger and the powered device are connected, and charging the powered device according to a first charging protocol after the first preset time period if the charger and the powered device do not meet the handshake condition of the second charging protocol;
the handshake communication rate of the first charging protocol is faster than that of 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;
and the first charging unit is used for 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 that the preset condition is met.
Optionally, the preset condition is that the number of times of the received hard reset signal is smaller than a preset number of times, or the preset condition is that the received hard reset signal is within a second preset duration after the received hard reset signal is received for the first time.
Optionally, the charging module 21 includes:
a circulation unit for circulating 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 a 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 the second charging protocol if the charger and the powered device meet the handshake condition of the second charging protocol within the first preset time period.
Optionally, the charging module 21 includes:
and the third charging unit is used for charging the powered device according to the first charging protocol after the first preset duration is exceeded in response to the power request if the charger and the powered device do not meet the handshake condition of the second charging protocol within the first preset duration.
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 and switching to charging the powered device according to the second charging protocol if the handshake condition of the second charging protocol is detected to be met.
In the embodiment of the application, the second charging protocol is preferentially identified in the charging process, 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.
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, and the embodiment of the present application is not limited specifically.
The charging device in the embodiment of the application can be a device with an operating system. The operating system may be an Android operating system, an ios operating system, or other possible operating systems, and the embodiment of the present application is not limited specifically.
The charging device provided in the embodiment of the present application can implement each process implemented in the method embodiment in fig. 1, and in order to avoid repetition, a description is omitted here.
Optionally, as shown in fig. 3, the embodiment of the present application further provides a charger 300, including a processor 302, a memory 301, and a program or an instruction stored in the memory 301 and capable of running on the processor 302, where the program or the instruction implements each process of the foregoing charging method embodiment when executed by the processor 302, and the process can achieve the same technical effect, so that repetition is avoided, and no further description is given here.
The embodiment of the application also provides a readable storage medium, on which a program or an instruction is stored, which when executed by a processor, implements each process of the above charging method embodiment, and can achieve the same technical effects, and in order to avoid repetition, the description is omitted here.
Wherein, the processor is the processor in the charger described in the above embodiment. The readable storage medium includes a computer readable storage medium such as a 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 application further provides a chip, which comprises a processor and a communication interface, wherein the communication interface is coupled with the processor, and the processor is used for running programs or instructions to realize the processes of the charging method embodiment, and the same technical effects can be achieved, so that repetition is avoided, and the description is omitted here.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, 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 one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises 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 an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are to be protected by the present application.

Claims (8)

1. A charging method applied to a charger, comprising:
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 period after the charger and the powered device are connected, and charging the powered device according to a first charging protocol after the first preset time period if the charger and the powered device do not meet the handshake condition of the second charging protocol;
the handshake communication rate of the first charging protocol is faster than that of the second charging protocol;
and in a first preset time period after the charger and the powered device are connected, 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, 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 a preset condition is met, if the charger and the powered device meet a handshake condition of a second charging protocol, shielding a communication signal of the first charging protocol, and charging the powered device according to the second charging protocol; the preset condition is that the number of times of the received hard reset signals is smaller than a preset number of times, and the preset number of times is set to be 3; or the preset condition is that the hard reset signal is within a second preset time after the hard reset signal is received for the first time;
or alternatively, the first and second heat exchangers may be,
and in a first preset time period after the charger and the powered device are connected, 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, including:
within a first preset time period, the following operations are cycled: transmitting a first handshake request to the powered device according to the first charging protocol, and transmitting a soft reset signal and a 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;
within the first preset duration, if the charger and the powered device meet the handshake condition of a second charging protocol, shielding the communication signal of the first charging protocol, and charging the powered device according to the second charging protocol;
the first preset duration is from the moment of connection with the powered device to the moment of reaching the second preset duration after receiving the first hard reset signal.
2. The charging method according to claim 1, wherein charging the powered device according to the first charging protocol after the first preset duration if the handshake condition of the second charging protocol is not satisfied, comprises:
and if the charger and the powered device do not meet the handshake condition of the second charging protocol within the first preset duration, after the first preset duration is exceeded, responding to the power request, and charging the powered device according to the first charging protocol.
3. 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 period of time, 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.
4. A charging device for use with a charger, comprising:
the charging module is used for charging the power receiving equipment according to a second charging protocol if the charger and the power receiving equipment meet the handshake condition of the second charging protocol within a first preset time period after the charger and the power receiving equipment are connected, and charging the power receiving equipment according to the first charging protocol after the first preset time period if the charger and the power receiving equipment do not meet the handshake condition of the second charging protocol;
the handshake communication rate of the first charging protocol is faster than that of the second charging protocol;
the charging module 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 used for shielding a communication signal of the first charging protocol and 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 under the condition that preset conditions are met; the preset condition is that the number of times of the received hard reset signals is smaller than a preset number of times, and the preset number of times is set to be 3; or the preset condition is that the hard reset signal is within a second preset time after the hard reset signal is received for the first time;
or alternatively, the first and second heat exchangers may be,
the charging module includes:
a circulation unit for circulating 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 a 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;
the second charging unit is used for 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 within the first preset time period;
the first preset duration is from the moment of connection with the powered device to the moment of reaching the second preset duration after receiving the first hard reset signal.
5. The charging device of claim 4, wherein the charging module comprises:
and the third charging unit is used for charging the powered device according to the first charging protocol after the first preset duration is exceeded in response to the power request if the charger and the powered device do not meet the handshake condition of the second charging protocol within the first preset duration.
6. The charging device of claim 4, further comprising:
and the switching charging module is used for stopping charging the powered device according to the first charging protocol and switching to charging the powered device according to the second charging protocol if the handshake condition of the second charging protocol is detected to be met.
7. A charger comprising a processor, a memory and a program or instruction stored on the memory and executable on the processor, which when executed by the processor implements the steps of the charging method according to any one of claims 1 to 3.
8. A readable storage medium, characterized in that it has stored thereon a program or instructions which, when executed by a processor, implement the steps of the charging method according to any of claims 1-3.
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 CN112260366A (en) 2021-01-22
CN112260366B true 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)

Families Citing this family (4)

* 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
CN115396850A (en) * 2022-08-25 2022-11-25 高新兴物联科技股份有限公司 T-BOX product interaction method and device
CN117639146A (en) * 2022-08-27 2024-03-01 华为技术有限公司 Charging method and electric equipment

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

Also Published As

Publication number Publication date
CN112260366A (en) 2021-01-22
WO2022095961A1 (en) 2022-05-12

Similar Documents

Publication Publication Date Title
CN112260366B (en) Charging method, charging device and charger
CN102387022B (en) A kind of POE method and apparatus
CN103200314B (en) A kind of intelligent dormancy method of mobile terminal and device
CN101963837A (en) Be used for the idle duration report of power management
WO2011129643A2 (en) Method and device of managing mtc devices in a mtc network environment
CN103905257A (en) Method and device for always-online application to adaptively set heartbeat time, and mobile phone terminal
CN104936211A (en) Wireless resource distribution method
KR102358340B1 (en) Charging method, terminal and computer storage medium
RU2764146C1 (en) Terminal and type c interface corrosion protection method
CN104601376A (en) Heartbeat message sending method and device
CN111918236B (en) Internet of things security sensor network searching method, device, equipment and storage medium
EP3919317A1 (en) Communication controller, communication method and electric vehicle
CN110650546B (en) File transmission method, device, storage medium and terminal
KR20200042471A (en) Charging method, terminal and computer storage medium
CN110381379A (en) Idle method, test method and the Related product of network machine top box
EP3065445A1 (en) Method, cse, and system for transmitting m2m application request
CN105764128B (en) The method for controlling power supply and device of mobile terminal
CN111836300B (en) Network switching method and communication terminal
CN104185155B (en) A kind of call handling method and device
CN110119111B (en) Communication method and device, storage medium, and electronic device
CN110831209B (en) Downlink message sending method and device, service platform and communication system
CN105264499B (en) Message treatment method, device and reception core in a kind of shared queue
CN108231131B (en) eMMC test method and device
CN108183520B (en) Mobile power supply communication method and device
CN105867570B (en) Information processing method and first electronic equipment

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