CN117498508A - Quick charging method and device for mobile device, electronic device and storage medium - Google Patents

Quick charging method and device for mobile device, electronic device and storage medium Download PDF

Info

Publication number
CN117498508A
CN117498508A CN202311840319.0A CN202311840319A CN117498508A CN 117498508 A CN117498508 A CN 117498508A CN 202311840319 A CN202311840319 A CN 202311840319A CN 117498508 A CN117498508 A CN 117498508A
Authority
CN
China
Prior art keywords
charging
protocol
protocols
mobile device
mobile equipment
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.)
Pending
Application number
CN202311840319.0A
Other languages
Chinese (zh)
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.)
Shenzhen Zhuoxin Micro Technology Co ltd
Original Assignee
Shenzhen Zhuoxin Micro Technology 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 Shenzhen Zhuoxin Micro Technology Co ltd filed Critical Shenzhen Zhuoxin Micro Technology Co ltd
Priority to CN202311840319.0A priority Critical patent/CN117498508A/en
Publication of CN117498508A publication Critical patent/CN117498508A/en
Pending legal-status Critical Current

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/00045Authentication, i.e. circuits for checking compatibility between one component, e.g. a battery or a battery charger, and another component, e.g. a power source
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/007Regulation of charging or discharging current or voltage
    • H02J7/0071Regulation of charging or discharging current or voltage with a programmable schedule
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/18Multiprotocol handlers, e.g. single devices capable of handling multiple protocols
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The application relates to the technical field of mobile equipment charging, and provides a quick charging method and device for mobile equipment, electronic equipment and a storage medium. A determination is made via a first handshake communication as to whether the device supports a first charging protocol. And when the device supports the first charging protocol, acquiring first charging power according to the content of the first handshake communication and rapidly charging the device based on the first charging power. And communicates a plurality of second handshakes with the device to check whether the device supports the remaining charging protocols. And when the equipment supports the rest of charging protocols, acquiring second charging power according to second handshake communication content corresponding to the protocols. When the second charging power is higher than the first charging power, the first charging power is replaced with the second charging power to achieve faster charging of the device. According to the method and the device, the charging power is selected according to different charging protocols supported by the device, so that compatibility of the different charging protocols is achieved.

Description

Quick charging method and device for mobile device, electronic device and storage medium
Technical Field
The present disclosure relates to the field of mobile device charging technologies, and in particular, to a fast charging method and apparatus for a mobile device, an electronic device, and a storage medium.
Background
With the popularization and development of mobile devices, the mobile devices are increasingly close to the production and living activities of people, and the mobile devices gradually become an indispensable part of the lives of people. Meanwhile, the power supply endurance of the mobile device is also an urgent problem to be solved. The development of mobile power technology solves the power capacity problem of mobile equipment, but the charging speed of mobile equipment still plagues people's life.
Currently, a number of fast charging protocols (hereinafter, simply referred to as charging protocols) suitable for mobile devices have appeared, which greatly shortens the charging time of the mobile device. But there are compatibility issues between charging protocols.
Because of the incompatibility of the charging protocols, each charging protocol requires a corresponding charging adapter to perform the quick charge.
Disclosure of Invention
The application provides a quick charging method and device of mobile equipment, electronic equipment and a storage medium, so as to solve the problem of incompatibility of charging protocols.
The first aspect of the application provides a quick charging method of a mobile device, which comprises the following steps:
performing first handshake communication with a mobile device according to a first charging protocol to determine whether the mobile device supports the first charging protocol;
When the mobile equipment supports the first charging protocol, acquiring first charging power according to the content of the first handshake communication, and performing quick charging on the mobile equipment based on the first charging power;
performing a plurality of second handshake communications with the mobile device according to a plurality of second charging protocols to determine whether a second target charging protocol compatible with the mobile device exists in the plurality of second charging protocols;
when the second target charging protocols exist in the plurality of second charging protocols, acquiring second charging power according to the content of second target handshake communication corresponding to the second target charging protocols;
and when the second charging power is larger than the first charging power, replacing the second charging power with the first charging power so as to perform quick charging on the mobile equipment.
In an alternative embodiment, the method further comprises:
when the mobile equipment does not support the first charging protocol, performing a plurality of third handshake communications with the mobile equipment according to the plurality of second charging protocols to judge whether a third target charging protocol supported by the mobile equipment exists in the plurality of second charging protocols;
When the third target charging protocols do not exist in the plurality of second charging protocols, charging the mobile equipment based on preset common charging power;
when the plurality of second charging protocols exist in the third target charging protocol, third charging power is obtained according to the content of third target handshake communication corresponding to the third target charging protocol;
and carrying out quick charging on the mobile equipment based on the third charging power.
In an alternative embodiment, the communicating with the mobile device according to the first charging protocol to determine whether the mobile device supports the first charging protocol includes:
sending a first handshake request to the mobile device according to the first charging protocol to acquire a first response signal fed back by the mobile device;
comparing the first response signal with a response signal standard in the first charging protocol to judge whether the mobile equipment supports the first charging protocol or not;
determining that the mobile device supports the first charging protocol when the first response signal meets a response signal criterion in the first charging protocol;
when the first response signal does not meet response signal criteria in the first charging protocol, it is determined that the mobile device does not support the first charging protocol.
In an alternative embodiment, the performing a plurality of second handshaking communications with the mobile device according to a plurality of second charging protocols to determine whether there is a second target charging protocol compatible with the mobile device in the plurality of second charging protocols includes:
determining a communication sequence corresponding to each of the plurality of second charging protocols;
sequentially sending a second handshake request to the mobile equipment according to the communication sequence to acquire a second response signal fed back by the mobile equipment;
comparing the second response signal with a corresponding response signal standard in the second charging protocol;
determining that the plurality of second charging protocols exist in the second target charging protocol when the second response signals meet response signal standards in the corresponding second charging protocols;
the plurality of second charging protocols are absent from the second target charging protocol when the second response signal does not meet a response signal criterion in the second charging protocol.
In an alternative embodiment, the method further comprises:
detecting the voltage of a charging interface to judge whether the mobile equipment is connected to the charging interface or not;
And when the voltage of the charging interface changes, determining that the mobile equipment is connected to the charging interface.
In an optional embodiment, after the replacing the second charging power with the first charging power to fast charge the mobile device, the method further includes:
acquiring the battery electric quantity of the mobile equipment in real time, and comparing the battery electric quantity with a preset standard electric quantity;
and when the battery electric quantity reaches the standard electric quantity, adjusting the second charging power to be preset overshoot-preventing charging power.
A second aspect of the present application provides a quick-charging apparatus for a mobile device, the apparatus comprising:
the mobile device comprises a first judging module, a second judging module and a first charging module, wherein the first judging module is used for carrying out first handshake communication with the mobile device according to a first charging protocol so as to judge whether the mobile device supports the first charging protocol or not;
the mobile equipment comprises a first acquisition module, a second acquisition module and a second acquisition module, wherein the first acquisition module is used for acquiring first charging power according to the content of the first handshake communication when the mobile equipment supports the first charging protocol, and performing quick charging on the mobile equipment based on the first charging power;
the second judging module is used for carrying out a plurality of second handshake communication with the mobile equipment according to a plurality of second charging protocols so as to judge whether a second target charging protocol compatible with the mobile equipment exists in the plurality of second charging protocols;
The second obtaining module is used for obtaining second charging power according to the content of second target handshake communication corresponding to the second target charging protocols when the second target charging protocols exist in the plurality of second charging protocols;
and the replacing module is used for replacing the second charging power with the first charging power when the second charging power is larger than the first charging power so as to quickly charge the mobile equipment.
In an optional embodiment, the fast charging device of the mobile device further includes a third charging module, where the third charging module is configured to:
when the mobile equipment does not support the first charging protocol, performing a plurality of third handshake communications with the mobile equipment according to the plurality of second charging protocols to judge whether a third target charging protocol supported by the mobile equipment exists in the plurality of second charging protocols;
when the third target charging protocols do not exist in the plurality of second charging protocols, charging the mobile equipment based on preset common charging power;
when the plurality of second charging protocols exist in the third target charging protocol, third charging power is obtained according to the content of third target handshake communication corresponding to the third target charging protocol;
And carrying out quick charging on the mobile equipment based on the third charging power.
A third aspect of the present application provides an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the fast charging method of a mobile device as described above when the computer program is executed.
A fourth aspect of the present application provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of a fast charging method of a mobile device as described above.
The fast charging method, the fast charging device, the electronic equipment and the storage medium of the mobile equipment determine whether the equipment supports a first charging protocol through first handshake communication. And when the device supports the first charging protocol, acquiring first charging power according to the content of the first handshake communication and rapidly charging the device based on the first charging power. And communicates a plurality of second handshakes with the device to check whether the device supports the remaining charging protocols. And when the equipment supports the rest of charging protocols, acquiring second charging power according to second handshake communication content corresponding to the protocols. When the second charging power is higher than the first charging power, the first charging power is replaced with the second charging power to achieve faster charging of the device. According to the method and the device, dynamic adjustment is carried out according to a plurality of charging protocols supported by the mobile device, so that the charging efficiency of the mobile device is improved. Meanwhile, the charging circuits of a plurality of charging protocols are integrated together, so that the structure and the variety of the electronic equipment can be simplified.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a fast charging method of a mobile device according to an embodiment of the present application;
fig. 2 is a functional block diagram of a quick-charging device of a mobile device according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of an electronic device 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 only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
The quick charging method of the mobile device provided by the embodiment of the invention is executed by the electronic device, and correspondingly, the quick charging device of the mobile device is operated in the electronic device.
Fast charging places certain demands on both the mobile device and the electronic device, both in software and in hardware.
At the software level, the mobile device and the electronic device (which may be, for example, devices that charge the mobile device, such as a charger and a mobile power supply) need to support the same charging protocol. The electronic device performs handshake communication with the mobile device according to the charging protocol, thereby identifying whether the mobile device supports the same charging protocol. And when the charging protocols supported by the mobile equipment are the same, carrying out charging power negotiation between the electronic equipment and the mobile equipment so as to realize quick charging of the mobile equipment. Among other common charging protocols include: power Delivery management (PD) protocol, quick Charge (QC) protocol, super Charge protocol (Super Charge Protocol, SCP), quick Charge protocol (Fast Charge Protocol, FCP), VOOC protocol, adaptive Quick Charge (Adaptive Fast Charging, AFC) protocol, and the like.
In terms of hardware requirements, in addition to the mobile device and the electronic device being required to carry a charging chip capable of supporting a charging protocol and the battery supporting high-power charging, a cable connecting the mobile device and the electronic device is required to meet the charging power transmission requirement of the charging protocol. The USB Type-C interface (hereinafter referred to as USB-C interface) is also a charging connection interface adopted by most of the mobile devices on the market. The USB3.1 standard requires that the production of a USB-C interface and a USB-C To USB-C data line (hereinafter referred To as a C-C data line) be unified, and the USB-C interface and the C-C data line produced under the USB3.1 standard can meet the charging power transmission requirements of all charging protocols on the cable and the interface. Therefore, the method and the electronic device are designed based on the USB-C interface. And the USB-C interface has good compatibility to the charging protocol, and the electronic equipment can be provided with only one USB-C interface for charging output and handshake communication.
The quick charging method of the mobile device provided in the embodiment of the present application is described below from the perspective of an electronic device, which may be a charger or a mobile power supply, and is not specifically limited.
Referring to fig. 1, a flowchart of a fast charging method for a mobile device according to an embodiment of the present application is shown. The quick charging method of the mobile device provided by the embodiment of the application comprises the following steps.
S10: and carrying out first handshake communication with the mobile equipment according to a first charging protocol to judge whether the mobile equipment supports the first charging protocol.
The first charging protocol is a universal charging protocol with the widest application range, and is currently a PD protocol with the widest application range.
The electronic equipment performs first handshake communication with the mobile equipment by using a charging protocol with the widest application range, and can identify that the mobile equipment can support quick charging when the mobile equipment is accessed as far as possible so as to perform quick charging on the mobile equipment, so that the risk of mismatching of the mobile equipment and the electronic equipment due to the charging protocol is reduced.
In an alternative embodiment, the communicating with the mobile device according to the first charging protocol to determine whether the mobile device supports the first charging protocol includes:
Sending a first handshake request to the mobile device according to the first charging protocol to acquire a first response signal fed back by the mobile device;
comparing the first response signal with a response signal standard in the first charging protocol to judge whether the mobile equipment supports the first charging protocol or not;
determining that the mobile device supports the first charging protocol when the first response signal meets a response signal criterion in the first charging protocol;
when the first response signal does not meet response signal criteria in the first charging protocol, it is determined that the mobile device does not support the first charging protocol.
The first handshake request is a data packet including parameters related to a first charging protocol. The first response signal is a data packet comprising the device identification and the supported protocol details.
The process of verifying whether the mobile device supports the first charging protocol is as follows:
when the mobile device receives a first handshake request sent by the electronic device through the USB-C interface, the mobile device checks relevant parameters in the first handshake request to determine the type of the charging protocol. After determining that the charging protocol is the first charging protocol, the mobile device performs a self-test to verify whether hardware and software required by the first charging protocol are available. If the software and hardware of the mobile device support the first charging protocol, the mobile device generates first response information and sends the first response information to the electronic device to inform the electronic device of which charging protocols, supported power levels, voltages, currents and the like can be used by the electronic device.
And after the electronic equipment receives the first response information, verifying the support protocol details in the first response information according to the first charging protocol. When the power supply level, voltage and current of the first charging protocol can meet the power level, voltage and current supported by the mobile equipment in the first response information, determining that the mobile equipment supports the first charging protocol; and when the power supply level, voltage and current of the first charging protocol cannot meet the power level, voltage and current supported by the mobile equipment in the first response information, determining that the mobile equipment does not support the first charging protocol.
In an alternative embodiment, to respond to the charging requirement of the mobile device in time, before performing the first handshake communication, the electronic device further performs operations comprising:
detecting the voltage of a charging interface to judge whether the mobile equipment is connected to the charging interface or not;
and when the voltage of the charging interface changes, determining that the mobile equipment is connected to the charging interface.
It should be appreciated that there are two configuration channels for the USB-C interface to communicate and detect the connection status of the device. The voltage on the configuration channel line is changed regularly before the device is inserted. Typically, the voltage on the configuration channel line varies in a flip, e.g., from 5V to 0V and then from 0V to 5V; when the device is plugged in, the device will change the voltage state of the configuration channel line, where the voltage is pulled up or down to a default value. When the voltage is pulled up or pulled down to a preset default value, it is indicated that the USB-C interface has a device inserted. And determining the role of the device in the charging process through different voltage changes in the configuration channel line in the device. In general, a device in which a voltage in a channel line is pulled up to a high level is a charger, and a device in which a voltage in a channel line is pulled down to a low level is a mobile device. The default value is determined by the maximum power supply current of the charger, for example, when the maximum power supply current of the charger is 3A, the USB-C interface voltage of the charger is pulled up to 1.65V after the mobile device is connected.
The electronic equipment monitors the voltage state change of the configuration channel line, and when the electronic equipment detects voltage overturn, the electronic equipment determines that the mobile equipment is accessed through the USB-C interface and triggers the electronic equipment to start to communicate with the mobile equipment.
In another alternative embodiment, the electronic device may also detect that the mobile device has access to the USB-C interface by current detection or capacitive signal detection.
S11: and when the mobile equipment supports the first charging protocol, acquiring first charging power according to the content of the first handshake communication, and carrying out quick charging on the mobile equipment based on the first charging power.
It should be understood that the charging power includes a charging voltage and a charging current. Since the harness of the C-C data line can withstand a current of 5A at maximum, the charging current cannot exceed 5A.
When the mobile equipment supports the first charging protocol, the electronic equipment selects a current-voltage data set closest to the voltage and the current supported by the mobile equipment in the first charging protocol according to the power class, the voltage, the current and the first charging power supported by the mobile equipment in the first response information, and takes the current-voltage data set as the first charging power, so that the mobile equipment is charged according to the first charging power.
Illustratively, the first charging protocol is a PD protocol, wherein the PD protocol comprises: a total of four sets of current-voltage data sets of 5V/3A, 9V/2A, 15V/3A and 20V/5A. After the charger determines that the mobile phone supports the PD protocol, the charger selects 9V/2A power as the mobile phone to charge according to the information of supporting voltage of 12V and current of 5A in response information fed back by the mobile phone.
It should be understood that the mobile device needs to be quickly charged according to the first charging power in time after the first charging power is acquired. The mobile device is prevented from detecting the current and voltage information of the quick charge when the mobile device is overtime and displaying the quick charge identification, so that a user is misled to not perform the quick charge for the mobile device.
S12: and carrying out a plurality of second handshake communications with the mobile device according to a plurality of second charging protocols to judge whether a second target charging protocol compatible with the mobile device exists in the plurality of second charging protocols.
The second charging protocol is a charging protocol supported by the electronic device except the first charging protocol, and the second target charging protocol is a charging protocol supported by both the electronic device and the mobile device except the first charging protocol.
To obtain optimal charging power, the time consuming charging of the mobile device is reduced. And the electronic equipment sends one or more second handshake requests to the mobile equipment according to one or more second charging protocols while taking the first charging power as the mobile equipment for quick charging, so that a second target quick charging protocol compatible with the mobile equipment is obtained according to response information of the mobile equipment.
In an alternative embodiment, the performing a plurality of second handshaking communications with the mobile device according to a plurality of second charging protocols to determine whether there is a second target charging protocol compatible with the mobile device in the plurality of second charging protocols includes:
determining a communication sequence corresponding to each of the plurality of second charging protocols;
sequentially sending a second handshake request to the mobile equipment according to the communication sequence to acquire a second response signal fed back by the mobile equipment;
comparing the second response signal with a corresponding response signal standard in the second charging protocol;
determining that the plurality of second charging protocols exist in the second target charging protocol when the second response signals meet response signal standards in the corresponding second charging protocols;
the plurality of second charging protocols are absent from the second target charging protocol when the second response signal does not meet a response signal criterion in the second charging protocol.
The communication sequence is a sequence in which the preset mobile device and the electronic device carry out second charging protocol handshake communication. The communication sequence should be set comprehensively according to the application range of the charging protocol and the applicable device types, for example, the first of the preset communication sequences is the QC protocol provided by the high-pass, which is suitable for the mobile device carrying the high-pass chip; the second is SCP protocol provided by Hua, the third is FCP protocol provided by Hua, and the fourth is AFC protocol provided by Sanxingzhu, which is only applicable to Sanxingzhu brand mobile equipment; fifth is the VOOC protocol offered by OPPO corporation.
It should be appreciated that each process of the electronic device verifying whether the mobile device supports the second charging protocol is identical to the process of the electronic device verifying whether the mobile device supports the first charging protocol, except that the charging protocols used are different. For brevity of description, the process of verifying whether the mobile device supports the first charging protocol with reference to the electronic device will not be described in detail herein.
And verifying whether the mobile equipment supports a second charging protocol or not so as to acquire a second target charging protocol compatible with the mobile equipment, and further acquiring the optimal charging protocol of the mobile equipment through charging power comparison supported by the charging protocol. To avoid the mobile device fast charge limitation caused by a preset single charge protocol.
S13: and when the second target charging protocols exist in the plurality of second charging protocols, acquiring second charging power according to the content of second target handshake communication corresponding to the second target charging protocols.
When the mobile equipment has compatible second target charging protocols, the electronic equipment selects a current-voltage data set closest to the voltage and the current supported by the mobile equipment in the second target charging protocols according to the power class, the voltage and the current supported by the mobile equipment in each second response message and the corresponding second target charging protocols, and takes the current-voltage data set as second charging power, so that a plurality of second charging powers are obtained.
S14: and when the second charging power is larger than the first charging power, replacing the second charging power with the first charging power so as to perform quick charging on the mobile equipment.
And obtaining the maximum charging power through the comparison between the plurality of second charging powers and the first charging power. When the maximum charging power is the first charging power, continuing to perform quick charging by taking the first charging power as the mobile equipment; and when the maximum charging power is not the first charging power, replacing the maximum second charging power obtained by comparison with the first charging power, and carrying out quick charging on the mobile equipment.
Illustratively, hua is a handset compatible PD protocol and SCP protocol. After the charger is connected with the mobile phone, the PD protocol is executed, and the mobile phone is charged quickly by 9V/2A. And when the second charging protocol compatibility verification is carried out on the mobile phone, and the mobile phone is determined to support the SCP protocol, and the charging power of the mobile phone under the SCP protocol is 10V/2.25A, the charger increases 9V/2A to 10V/2.25A to carry out higher-power quick charging on the mobile phone.
By acquiring the maximum charging power, the electronic device can dynamically adjust the charging power of the mobile device, and the charging efficiency can be improved because the adjusted charging power is larger than the charging power before adjustment. And when the charging power is adjusted, the charging protocol between the charger and the mobile equipment is used for adjusting, and the power change can be safely processed while the charging power is provided, so that the safety of the charging process is ensured.
In an alternative embodiment, after the replacing the second charging power with the first charging power to fast charge the mobile device, the electronic device further performs operations including:
acquiring the battery electric quantity of the mobile equipment in real time, and comparing the battery electric quantity with a preset standard electric quantity;
and when the battery electric quantity reaches the standard electric quantity, adjusting the second charging power to be preset overshoot-preventing charging power.
Fast charging, while bringing about an improvement in charging efficiency, tends to cause the battery of the mobile device to be overcharged. The overcharge easily causes a battery capacity loss, performance degradation, and a safety risk of battery explosion, so the electronic device monitors the battery power of the mobile device in real time and compares the battery power with a preset standard power, and when the battery power reaches the standard power, the charging power is reduced to a preset overshoot-preventing charging power, so as to prevent the battery of the mobile device from being overcharged with high power.
For example, 5V/1A of anti-overshoot charging power and 95% of standard electric quantity are preset in the charger. When the mobile phone being charged is charged quickly at 9V/2A and the electric quantity just reaches 95%, the charger detects that the electric quantity of the mobile phone reaches the standard electric quantity and regulates the charging power from 9V/2A to 5V/1A.
Through mobile device's electric quantity monitoring, can avoid preventing mobile device's battery by high-power overcharge to avoid battery damage risk and extension battery life. And meanwhile, the standard electric quantity and the overcharge charging power are reasonably set, so that the charging speed still meets the charging requirement of a user while the service life of the battery is prolonged.
In an alternative embodiment, the electronic device further performs operations comprising:
when the mobile equipment does not support the first charging protocol, performing a plurality of third handshake communications with the mobile equipment according to the plurality of second charging protocols to judge whether a third target charging protocol supported by the mobile equipment exists in the plurality of second charging protocols;
when the third target charging protocols do not exist in the plurality of second charging protocols, charging the mobile equipment based on preset common charging power;
when the plurality of second charging protocols exist in the third target charging protocol, third charging power is obtained according to the content of third target handshake communication corresponding to the third target charging protocol;
and carrying out quick charging on the mobile equipment based on the third charging power.
Wherein the third target charging protocol is a charging protocol supported by both the electronic device and the mobile device in addition to the first charging protocol.
In order to avoid that the mobile device cannot realize quick charging due to the fact that a preset first charging protocol is different from a charging protocol supported by the mobile device. And when the mobile equipment does not support the first charging protocol, the electronic equipment sends one or more second handshake requests to the mobile equipment according to one or more second charging protocols, so that a third target quick charging protocol supported by the mobile equipment is obtained according to response information of the mobile equipment.
It should be understood that the process of obtaining the second charging protocol and the second charging power in the step S12 is the same as that of the step S12, and for brevity of the description, the embodiments corresponding to the step S12 and the step S12 will not be described in detail herein. When the mobile equipment has a third supported target charging protocol, acquiring the maximum third charging power through comparison and performing quick charging on the mobile equipment based on the maximum third charging power; and when the mobile equipment does not have the third supported target charging protocol, charging the mobile equipment according to the preset common charging power.
And acquiring a charging protocol supported by the mobile equipment through multiple handshaking communication, and selecting proper charging protocol and power according to the supporting condition of the mobile equipment. The method can adapt to the quick-charging requirements of all mobile equipment, and avoid the situation that the quick-charging requirements of users caused by different protocols cannot be met. The third charging power is dynamically acquired, thereby realizing rapid charging and providing a faster charging speed.
The quick-charging device is applied to electronic equipment such as chargers and mobile power supplies, and can meet the quick-charging requirements of most of equipment. The first handshake communication is completed as soon as possible through a first charging protocol with the widest application range, so that the mobile equipment is quickly charged, the quick charging requirement of the mobile equipment is responded as soon as possible, and the display requirement of the quick charging identification of the mobile equipment is met. And obtaining the rest charging protocols compatible with the mobile equipment through multiple second handshake communication, so that the optimal charging power with highest charging efficiency is obtained through the charging power comparison of the charging protocols. Furthermore, the charging power of the quick charging is improved on the basis of the first charging power, and the charging time consumption of the mobile equipment is greatly shortened. Meanwhile, the USB-C interface with stronger compatibility is adopted for communication and charging among devices, and communication and execution of a plurality of charging protocols are integrated together, so that the structure of the electronic device is simplified.
Fig. 2 is a functional block diagram of a quick-charging device of a mobile device according to an embodiment of the present application.
In some embodiments, the fast-charging device 2 of the mobile device may comprise a plurality of functional modules consisting of computer program segments. The computer program of the respective program segments in the fast-charging device 2 of the mobile device may be stored in a memory of a server and executed by at least one processor to perform (see in detail the description of fig. 1) the functions of the fast-charging method of the mobile device.
In this embodiment, the fast-charging device 2 of the mobile device may be divided into a plurality of functional modules according to the functions performed by the fast-charging device. The functional module may include: the device comprises a first judging module 21, a first acquiring module 22, a second judging module 23, a second acquiring module 24, a replacing module 25, a third charging module 26, a detecting module 27 and an electric quantity comparing module 28. The module referred to in the present invention refers to a series of computer program segments capable of being executed by at least one processor and of performing a fixed function, stored in a memory. In the present embodiment, the functions of the respective modules will be described in detail in the following embodiments.
The first determining module 21 is configured to perform a first handshake communication with a mobile device according to a first charging protocol to determine whether the mobile device supports the first charging protocol.
In an alternative embodiment, the first determining module 21 is configured to:
sending a first handshake request to the mobile device according to the first charging protocol to acquire a first response signal fed back by the mobile device;
comparing the first response signal with a response signal standard in the first charging protocol to judge whether the mobile equipment supports the first charging protocol or not;
determining that the mobile device supports the first charging protocol when the first response signal meets a response signal criterion in the first charging protocol;
when the first response signal does not meet response signal criteria in the first charging protocol, it is determined that the mobile device does not support the first charging protocol.
The first obtaining module 22 is configured to obtain a first charging power according to the content of the first handshake communication when the mobile device supports the first charging protocol, and perform fast charging on the mobile device based on the first charging power.
The second determining module 23 is configured to perform a plurality of second handshaking communications with the mobile device according to a plurality of second charging protocols, so as to determine whether a second target charging protocol compatible with the mobile device exists in the plurality of second charging protocols.
In an alternative embodiment, the second determining module 23 is configured to:
determining a communication sequence corresponding to each of the plurality of second charging protocols;
sequentially sending a second handshake request to the mobile equipment according to the communication sequence to acquire a second response signal fed back by the mobile equipment;
comparing the second response signal with a corresponding response signal standard in the second charging protocol;
determining that the plurality of second charging protocols exist in the second target charging protocol when the second response signals meet response signal standards in the corresponding second charging protocols;
the plurality of second charging protocols are absent from the second target charging protocol when the second response signal does not meet a response signal criterion in the second charging protocol.
And the second obtaining module 24 is configured to obtain, when the second target charging protocol exists in the plurality of second charging protocols, a second charging power according to a content of a second target handshake communication corresponding to the second target charging protocol.
And a replacing module 25, configured to replace the second charging power with the first charging power when the second charging power is greater than the first charging power, so as to perform fast charging on the mobile device.
In an alternative embodiment, the fast charging device 2 of the mobile device further comprises a third charging module 26, and the third charging module 26 is configured to:
when the mobile equipment does not support the first charging protocol, performing a plurality of third handshake communications with the mobile equipment according to the plurality of second charging protocols to judge whether a third target charging protocol supported by the mobile equipment exists in the plurality of second charging protocols;
when the third target charging protocols do not exist in the plurality of second charging protocols, charging the mobile equipment based on preset common charging power;
when the plurality of second charging protocols exist in the third target charging protocol, third charging power is obtained according to the content of third target handshake communication corresponding to the third target charging protocol;
and carrying out quick charging on the mobile equipment based on the third charging power.
In an alternative embodiment, the fast charging device 2 of the mobile device further includes a charge amount comparing module 28, and after the second charging power is replaced by the first charging power to fast charge the mobile device, the charge amount comparing module 28 is configured to:
Acquiring the battery electric quantity of the mobile equipment in real time, and comparing the battery electric quantity with a preset standard electric quantity;
and when the battery electric quantity reaches the standard electric quantity, adjusting the second charging power to be preset overshoot-preventing charging power.
In an alternative embodiment, the quick-charging device 2 of the mobile device further comprises a detection module 27, and the detection module 27 is configured to:
detecting the voltage of a charging interface to judge whether the mobile equipment is connected to the charging interface or not;
and when the voltage of the charging interface changes, determining that the mobile equipment is connected to the charging interface.
It should be understood that the various modifications and embodiments of the method provided in the foregoing embodiments are equally applicable to the quick-charging device of the mobile device of the present embodiment, and those skilled in the art can clearly know the implementation method of the quick-charging device of the mobile device of the present embodiment through the foregoing detailed description of the quick-charging method of the mobile device, which is not described in detail herein for brevity of description.
Fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
In a preferred embodiment of the present invention, the electronic device 3 may include, but is not limited to: a memory 31, at least one processor 32, and at least one communication bus 33.
It will be appreciated by those skilled in the art that the structure of the electronic device 3 shown in fig. 3 is not limiting of the embodiments of the present invention, and that the electronic device 3 may also include more or less other hardware or software than shown, or a different arrangement of components.
In some embodiments, the electronic device 3 is a device capable of automatically performing numerical calculation and/or information processing according to a preset or stored instruction, and its hardware includes, but is not limited to, a microprocessor, an application specific integrated circuit, a programmable gate array, a digital processor, an embedded device, and the like.
It should be noted that the electronic device 3 is only used as an example, and other electronic products that may be present in the present application or may be present in the future are also included in the scope of the present application and are incorporated herein by reference.
In some embodiments, the memory 31 has stored therein a computer program which, when executed by the at least one processor 32, performs all or part of the steps in a fast-charging method of a mobile device as described. The Memory 31 includes Read-Only Memory (R OM), programmable Read-Only Memory (PROM), erasable programmable Read-Only Memory (EPROM), one-time programmable Read-Only Memory (One-time Programmable Read-Only Memory, OTPROM), electrically erasable rewritable Read-Only Memory (EEPROM), compact disc Read-Only Memory (Compact Disc Read-Only Memory, CD-ROM) or other optical disc Memory, magnetic tape Memory, or any other medium that can be used for carrying or storing data. Further, the computer-readable storage medium may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function, and the like.
In some embodiments, the at least one processor 32 is a Control Unit (Control Unit) of the electronic device 3, connects the various components of the entire electronic device 3 using various interfaces and lines, and performs various functions of the electronic device 3 and processes data by running or executing programs or modules stored in the memory 31, and invoking data stored in the memory 31. For example, the at least one processor 32, when executing the computer program stored in the memory 31, implements all or part of the steps of the fast charging method of the mobile device described in the embodiments of the present application; or to implement all or part of the functionality of the fast-charging means of the mobile device. The at least one processor 32 may be comprised of integrated circuits, such as a single packaged integrated circuit, or may be comprised of multiple integrated circuits packaged with the same or different functionality, including one or more central processing units (Central Processing unit, CPU), microprocessors, digital processing chips, graphics processors, combinations of various control chips, and the like.
In some embodiments, the at least one communication bus 33 is arranged to enable connected communication between the memory 31 and the at least one processor 32 or the like. Although not shown, the electronic device 3 may further comprise a power source (such as a battery) for powering the various components, which may preferably be logically connected to the at least one processor 32 via a power management device, such that functions of managing charging, discharging, and power consumption are performed by the power management device. The power supply may also include one or more of any of a direct current or alternating current power supply, recharging device, power failure detection circuit, power converter or inverter, power status indicator, etc. The electronic device 3 may further include various sensors, bluetooth modules, wi-Fi modules, etc., which will not be described herein.
The integrated units implemented in the form of software functional modules described above may be stored in a computer readable storage medium. The software functional modules described above are stored in a storage medium and include instructions for causing an electronic device (which may be a personal computer, an electronic device, or a network device, etc.) or a processor (processor) to perform portions of the methods described in various embodiments of the present application.
In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is merely a logical function division, and there may be other manners of division when actually implemented.
The modules described as separate components may or may not be physically separate, and components shown as modules may or may not be physical units, may be located in one place, or may be distributed over multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
The foregoing are all preferred embodiments of the present application, and are not intended to limit the scope of the present application in any way, therefore: all equivalent changes in structure, shape and principle of this application should be covered in the protection scope of this application.

Claims (10)

1. A method of fast charging a mobile device, the method comprising:
performing first handshake communication with a mobile device according to a first charging protocol to determine whether the mobile device supports the first charging protocol;
when the mobile equipment supports the first charging protocol, acquiring first charging power according to the content of the first handshake communication, and performing quick charging on the mobile equipment based on the first charging power;
performing a plurality of second handshake communications with the mobile device according to a plurality of second charging protocols to determine whether a second target charging protocol compatible with the mobile device exists in the plurality of second charging protocols;
when the second target charging protocols exist in the plurality of second charging protocols, acquiring second charging power according to the content of second target handshake communication corresponding to the second target charging protocols;
and when the second charging power is larger than the first charging power, replacing the second charging power with the first charging power so as to perform quick charging on the mobile equipment.
2. The method of fast charging of a mobile device of claim 1, further comprising:
when the mobile equipment does not support the first charging protocol, performing a plurality of third handshake communications with the mobile equipment according to the plurality of second charging protocols to judge whether a third target charging protocol supported by the mobile equipment exists in the plurality of second charging protocols;
when the third target charging protocols do not exist in the plurality of second charging protocols, charging the mobile equipment based on preset common charging power;
when the plurality of second charging protocols exist in the third target charging protocol, third charging power is obtained according to the content of third target handshake communication corresponding to the third target charging protocol;
and carrying out quick charging on the mobile equipment based on the third charging power.
3. The method of claim 1, wherein the communicating with the mobile device according to a first charging protocol to determine whether the mobile device supports the first charging protocol comprises:
sending a first handshake request to the mobile device according to the first charging protocol to acquire a first response signal fed back by the mobile device;
Comparing the first response signal with a response signal standard in the first charging protocol to judge whether the mobile equipment supports the first charging protocol or not;
determining that the mobile device supports the first charging protocol when the first response signal meets a response signal criterion in the first charging protocol;
when the first response signal does not meet response signal criteria in the first charging protocol, it is determined that the mobile device does not support the first charging protocol.
4. The method of claim 1, wherein the performing a plurality of second handshaking communications with the mobile device according to a plurality of second charging protocols to determine whether a second target charging protocol compatible with the mobile device exists in the plurality of second charging protocols comprises:
determining a communication sequence corresponding to each of the plurality of second charging protocols;
sequentially sending a second handshake request to the mobile equipment according to the communication sequence to acquire a second response signal fed back by the mobile equipment;
comparing the second response signal with a corresponding response signal standard in the second charging protocol;
Determining that the plurality of second charging protocols exist in the second target charging protocol when the second response signals meet response signal standards in the corresponding second charging protocols;
the plurality of second charging protocols are absent from the second target charging protocol when the second response signal does not meet a response signal criterion in the second charging protocol.
5. The method of fast charging of a mobile device of claim 1, further comprising:
detecting the voltage of a charging interface to judge whether the mobile equipment is connected to the charging interface or not;
and when the voltage of the charging interface changes, determining that the mobile equipment is connected to the charging interface.
6. The method of claim 1, wherein after replacing the second charging power with the first charging power to fast charge the mobile device, the method further comprises:
acquiring the battery electric quantity of the mobile equipment in real time, and comparing the battery electric quantity with a preset standard electric quantity;
and when the battery electric quantity reaches the standard electric quantity, adjusting the second charging power to be preset overshoot-preventing charging power.
7. A quick-fill apparatus for a mobile device, the apparatus comprising:
the mobile device comprises a first judging module, a second judging module and a first charging module, wherein the first judging module is used for carrying out first handshake communication with the mobile device according to a first charging protocol so as to judge whether the mobile device supports the first charging protocol or not;
the mobile equipment comprises a first acquisition module, a second acquisition module and a second acquisition module, wherein the first acquisition module is used for acquiring first charging power according to the content of the first handshake communication when the mobile equipment supports the first charging protocol, and performing quick charging on the mobile equipment based on the first charging power;
the second judging module is used for carrying out a plurality of second handshake communication with the mobile equipment according to a plurality of second charging protocols so as to judge whether a second target charging protocol compatible with the mobile equipment exists in the plurality of second charging protocols;
the second obtaining module is used for obtaining second charging power according to the content of second target handshake communication corresponding to the second target charging protocols when the second target charging protocols exist in the plurality of second charging protocols;
and the replacing module is used for replacing the second charging power with the first charging power when the second charging power is larger than the first charging power so as to quickly charge the mobile equipment.
8. The fast charging apparatus of the mobile device according to claim 7, further comprising a third charging module for:
when the mobile equipment does not support the first charging protocol, performing a plurality of third handshake communications with the mobile equipment according to the plurality of second charging protocols to judge whether a third target charging protocol supported by the mobile equipment exists in the plurality of second charging protocols;
when the third target charging protocols do not exist in the plurality of second charging protocols, charging the mobile equipment based on preset common charging power;
when the plurality of second charging protocols exist in the third target charging protocol, third charging power is obtained according to the content of third target handshake communication corresponding to the third target charging protocol;
and carrying out quick charging on the mobile equipment based on the third charging power.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the fast charging method of a mobile device according to any one of claims 1 to 6 when the computer program is executed.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the fast charging method of a mobile device according to any one of claims 1 to 6.
CN202311840319.0A 2023-12-29 2023-12-29 Quick charging method and device for mobile device, electronic device and storage medium Pending CN117498508A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311840319.0A CN117498508A (en) 2023-12-29 2023-12-29 Quick charging method and device for mobile device, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311840319.0A CN117498508A (en) 2023-12-29 2023-12-29 Quick charging method and device for mobile device, electronic device and storage medium

Publications (1)

Publication Number Publication Date
CN117498508A true CN117498508A (en) 2024-02-02

Family

ID=89685294

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311840319.0A Pending CN117498508A (en) 2023-12-29 2023-12-29 Quick charging method and device for mobile device, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN117498508A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106207294A (en) * 2016-07-26 2016-12-07 深圳天珑无线科技有限公司 A kind of charging method and device
CN106300552A (en) * 2016-09-26 2017-01-04 宇龙计算机通信科技(深圳)有限公司 Electronic installation and charging method thereof
CN106684986A (en) * 2016-12-26 2017-05-17 建荣半导体(深圳)有限公司 Charging equipment and fast-charging protocol analytic method and system thereof
CN107516919A (en) * 2017-08-25 2017-12-26 维沃移动通信有限公司 A kind of charging method and charger
CN112448435A (en) * 2019-09-03 2021-03-05 中兴通讯股份有限公司 Terminal equipment charging method and device and storage medium
CN113054728A (en) * 2021-03-31 2021-06-29 联想(北京)有限公司 Charging control method and power adapter
CN115995856A (en) * 2021-10-20 2023-04-21 华为技术有限公司 Charging method of electronic equipment and electronic equipment
WO2023103802A1 (en) * 2021-12-08 2023-06-15 华为技术有限公司 Protocol information testing method, tester, storage medium, and program product
CN117254568A (en) * 2023-11-17 2023-12-19 荣耀终端有限公司 Charging method, electronic equipment and related device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106207294A (en) * 2016-07-26 2016-12-07 深圳天珑无线科技有限公司 A kind of charging method and device
CN106300552A (en) * 2016-09-26 2017-01-04 宇龙计算机通信科技(深圳)有限公司 Electronic installation and charging method thereof
CN106684986A (en) * 2016-12-26 2017-05-17 建荣半导体(深圳)有限公司 Charging equipment and fast-charging protocol analytic method and system thereof
CN107516919A (en) * 2017-08-25 2017-12-26 维沃移动通信有限公司 A kind of charging method and charger
CN112448435A (en) * 2019-09-03 2021-03-05 中兴通讯股份有限公司 Terminal equipment charging method and device and storage medium
CN113054728A (en) * 2021-03-31 2021-06-29 联想(北京)有限公司 Charging control method and power adapter
CN115995856A (en) * 2021-10-20 2023-04-21 华为技术有限公司 Charging method of electronic equipment and electronic equipment
WO2023103802A1 (en) * 2021-12-08 2023-06-15 华为技术有限公司 Protocol information testing method, tester, storage medium, and program product
CN117254568A (en) * 2023-11-17 2023-12-19 荣耀终端有限公司 Charging method, electronic equipment and related device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
肖钢等: "《规模化储能技术综论》", 30 September 2017, 武汉大学出版社, pages: 102 *
闻新等: "《空间飞行器总体设计》", 30 June 2020, 哈尔滨工业大学出版社, pages: 185 - 186 *

Similar Documents

Publication Publication Date Title
US7271568B2 (en) Battery charger for portable devices and related methods
CA2374342C (en) System and method for powering and charging a mobile communication device
US7921314B2 (en) Providing power over ethernet cables
EP2892214B1 (en) Mobile terminal, master data communication device, and mobile terminal charging system and method
US20090100258A1 (en) Mobile terminal aware of external device and control method for the same
US9748787B2 (en) Information handling system battery charge management to support variable increased current use functions
US20140176046A1 (en) Apparatus and method for controlling a terminal having a multiple battery configuration
EP3982506B1 (en) Terminal device charging method and apparatus, and storage medium
CN111817097A (en) Charging control method and data line
CN103477301A (en) Method and device for charging energy storage devices
US20220166232A1 (en) Charging management system and method, device, and storage medium
US20240088698A1 (en) Energy storage system, primary energy-storage-apparatus, and auxiliary energy-storage-apparatus
CN106972558B (en) Charging control method and electronic equipment
US11599183B2 (en) Electronic device, method, and storage medium
CN115800505A (en) Charging scheduling method and device
CN117498508A (en) Quick charging method and device for mobile device, electronic device and storage medium
CN110970954B (en) Charging control method and device, storage medium and split type electronic equipment
CN107145456B (en) Method, device and system for identifying self-connection of equipment
US10742057B2 (en) Self-loop detection method and apparatus for charging device
CN113872303A (en) Charging control method and device, electronic equipment and storage medium
WO2021031779A1 (en) Charging method, terminal, and computer readable storage medium
US10895892B1 (en) Docking station and expansion method
CN112825401A (en) Charging line, charger, charging control method and charging device
US9507400B2 (en) Information handling system battery charge management to support quick start
US20240003985A1 (en) Systems and methods for determining electrical characteristics of power supply cable/s and taking one or more actions based on same

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