Charging control method and device, computer readable storage medium and charging platform

By detecting the charger type of USB interface and selecting the appropriate charging process, the compatibility problem between the non-Qualcomm platform and the Quick Charge fast charging protocol is solved, and seamless connection with mainstream fast charging power adapters and the introduction of fast charging functions are achieved.

CN119134590APending Publication Date: 2024-12-13SHANGHAI ANKELIAN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411287107.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-13
Publication Date
2024-12-13

AI Technical Summary

Technical Problem

Charging compatibility challenges between different technology platforms, especially the difficulty of non-Qualcomm platforms to be compatible with the Quick Charge fast charging protocol, resulting in the inability to seamlessly connect with mainstream fast charging power adapters, limiting the increase in charging power.

Method used

By obtaining the charger interface type connected to the USB interface and detecting the charging type when the preset type is preset, selecting the corresponding charging process for charging, including setting the input limit current of the charging chip and switching the DPDM circuit, ensuring the introduction of the fast charging function and Compatibility of mainstream fast charging power adapters.

Benefits of technology

While keeping the original USB interface function unchanged, the introduction of fast charging function is achieved, and compatibility with mainstream fast charging power adapters is ensured, improving charging efficiency and compatibility.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119134590A_ABST
    Figure CN119134590A_ABST
Patent Text Reader

Abstract

The invention discloses a charging control method and device, a computer readable storage medium and a charging platform, and the method comprises the steps: obtaining the interface type of a charger connected to a USB interface; when the charger interface type is the preset type, detecting the charging type of the charger; and selecting a corresponding charging process to charge the to-be-charged equipment according to the charging type. Therefore, on the premise that the function of the original USB interface is kept unchanged, the quick charging function is introduced, and meanwhile, the compatibility with a mainstream quick charging power adapter can be ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of charging technology, and in particular to a charging control method, a computer-readable storage medium, a charging control device and a charging platform. Background Art

[0002] With the widespread application of smart mobile devices in daily life and the continuous leap in their performance, fast charging technology has increasingly highlighted its role as a core technology to improve user satisfaction. Qualcomm has launched Quick Charge (QC) fast charging technology, which has won wide recognition and praise in the market for its excellent charging efficiency and ease of operation. In particular, starting from the QC2.0 version, Qualcomm has cleverly introduced high-voltage DC power supply (HVDCP) technology, combined with a set of innovative handshake authentication mechanisms, to achieve a significant acceleration of the charging process while maintaining the existing USB interface standards unchanged.

[0003] However, given the diversification trend of the mobile device market, there are compatibility challenges between different technology platforms. Taking some non-Qualcomm platforms as an example, their built-in power management solutions may only support traditional charging protocols such as BC1.2, which often limit the charging voltage to the standard 5V, thereby limiting the increase in charging power and making it difficult to meet users' demand for faster charging speeds. If you want to increase the charging power to a level close to the 18W level of QC fast charging technology, in theory you need to significantly increase the current, but this may bring heat dissipation problems and increase the performance requirements for charging cables and power adapters.

[0004] In addition, as a technical standard led by Qualcomm, the QC fast charging protocol is widely used mainly in Qualcomm platform devices. For mobile devices using other technical platforms, direct integration or compatibility with the QC fast charging protocol faces technical barriers, which leads to limitations in these devices when enjoying the convenience brought by QC fast charging, and they cannot achieve seamless connection with the power adapters that support the QC fast charging protocol that are widely circulated on the market. Summary of the invention

[0005] The present invention aims to solve at least one of the technical problems in the related art to a certain extent. To this end, the first purpose of the present invention is to propose a charging control method that can introduce a fast charging function while maintaining the original USB interface function unchanged, while ensuring compatibility with mainstream fast charging power adapters.

[0006] A second object of the present invention is to provide a computer-readable storage medium.

[0007] The third objective of the present invention is to provide a charging control device.

[0008] A fourth objective of the present invention is to provide a charging platform.

[0009] In order to achieve the above-mentioned purpose, an embodiment of the first aspect of the present invention proposes a charging control method, wherein the method includes: obtaining the type of charger interface connected to the USB interface; when the charger interface type is a preset type, detecting the charging type of the charger; and selecting a corresponding charging process according to the charging type to charge the device to be charged.

[0010] According to the charging control method of the embodiment of the present invention, by obtaining the charger interface type connected to the USB interface, and when the charger interface type is a preset type, detecting the charging type of the charger, and then selecting the corresponding charging process according to the charging type to charge the charging device, thereby, the fast charging function can be introduced under the premise of keeping the original USB interface function unchanged, and at the same time, the compatibility with mainstream fast charging power adapters can be ensured.

[0011] In addition, the charging control method according to the above embodiment of the present invention may also include the following additional technical features:

[0012] According to an embodiment of the present invention, the charging type includes a dedicated charging port charging type and an unidentified charging type.

[0013] According to one embodiment of the present invention, a fast charging deception chip and a charging chip are integrated in the USB interface. When the charging type is the dedicated charging port charging type, the corresponding charging process is selected according to the charging type to charge the device to be charged, including: setting the input limiting current of the charging chip to a first preset current; switching the DPDM circuit of the USB interface to the DPDM circuit of the fast charging deception chip and delaying for a first preset time; adjusting the level of the DPDM circuit in the fast charging deception chip to complete the fast charging deception action and delaying for a second preset time; reading the state of the fast charging deception chip to determine the charging type of the fast charging deception chip; and adjusting the input limiting current of the charging chip according to the charging type.

[0014] According to one embodiment of the present invention, when the charging type is an unidentified charging type, a corresponding charging process is selected according to the charging type to charge the device to be charged, including: setting the input limiting current of the charging chip in the USB interface to a second preset current.

[0015] According to one embodiment of the present invention, the method also includes: obtaining the charging voltage and charging current of the device to be charged; when the charging voltage is greater than or equal to the charging cut-off voltage and the charging current is less than the charging cut-off current, controlling the charging chip in the USB interface to stop charging the device to be charged.

[0016] According to one embodiment of the present invention, the method also includes: after the charging chip stops charging the device to be charged, obtaining the full-charge voltage of the device to be charged and detecting the connection relationship between the charger and the USB interface; when the charger and the USB interface are still connected, obtaining the open-circuit voltage of the device to be charged; when the difference between the full-charge voltage and the open-circuit voltage is greater than a preset power-off recharging voltage, controlling the charging chip to charge the device to be charged.

[0017] According to one embodiment of the present invention, the preset type is the typec type.

[0018] In order to achieve the above-mentioned purpose, a second aspect of the present invention provides a computer-readable storage medium on which a charging control program is stored. When the program is executed by a processor, the charging control method of the above-mentioned embodiment of the present invention is implemented.

[0019] According to the computer-readable storage medium of an embodiment of the present invention, by executing the charging control program through the processor, the fast charging function can be introduced while keeping the original USB interface function unchanged, and at the same time, compatibility with mainstream fast charging power adapters can be ensured.

[0020] In order to achieve the above-mentioned purpose, the third aspect of the present invention proposes a charging control device, characterized in that the device includes: an acquisition module, used to obtain the type of charger interface connected to the USB interface; a detection module, used to detect the charging type of the charger when the charger interface type is a preset type; and a control module, used to select a corresponding charging process according to the charging type to charge the device to be charged.

[0021] According to the charging control device of the embodiment of the present invention, the charger interface type connected to the USB interface is obtained through the acquisition module, and the charging type of the charger is detected through the detection module when the charger interface type is a preset type, and then the corresponding charging process is selected through the control module to charge the charging device according to the charging type. In this way, the fast charging function can be introduced while keeping the original USB interface function unchanged, and at the same time, the compatibility with mainstream fast charging power adapters can be ensured.

[0022] In order to achieve the above-mentioned purpose, a fourth aspect of the present invention provides a charging platform, which includes the charging control device of the aforementioned embodiment of the present invention.

[0023] According to the charging platform of the embodiment of the present invention, by adopting the charging control device of the above-mentioned embodiment of the present invention, the fast charging function can be introduced while keeping the original USB interface function unchanged, and at the same time, compatibility with mainstream fast charging power adapters can be ensured.

[0024] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] Figure 1 is a flow chart of a charging control method according to an embodiment of the present invention;

[0026] Figure 2 is a schematic diagram of software flow execution of a charging control method according to another embodiment of the present invention;

[0027] Figure 3 is a schematic diagram of software flow execution of a charging control method according to another embodiment of the present invention;

[0028] Figure 4 is a flow chart of a charging control method according to another embodiment of the present invention;

[0029] Figure 5 is a flow chart of a charging control method according to another embodiment of the present invention;

[0030] Figure 6 is a block diagram of a charging control device according to an embodiment of the present invention;

[0031] Figure 7 is a block diagram of a charging platform according to an embodiment of the present invention. DETAILED DESCRIPTION

[0032] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and should not be construed as limiting the present invention.

[0033] The following describes a charging control method, a computer-readable storage medium, a charging control device, and a charging platform according to embodiments of the present invention with reference to the accompanying drawings.

[0034] Figure 1 4 is a flow chart of a charging control method according to an embodiment of the present invention.

[0035] Specifically, in some embodiments of the present invention, Figure 1 As shown, the charging control method includes:

[0036] S101, obtaining the charger interface type connected to the USB interface.

[0037] Specifically, in this embodiment, the charger interface types include typec, Lightning, and Micro USB, and the charger interface type connected to the USB interface can be obtained by identifying the interface logo, observing the interface shape, or the system device manager. In addition, the present invention may not specifically limit the method for obtaining the charger interface type connected to the USB interface.

[0038] S102: When the charger interface type is a preset type, detect the charging type of the charger.

[0039] Specifically, in this embodiment, the preset type is the typec type, the charging types include a dedicated charging port charging type and an unidentified charging type, and when it is detected that the charger interface type is the preset type, the charging type of the charger is detected. For example, the charging type of the charger can be detected based on the USB BC1.2 specification. When the sc2721 chip detects that the interface type of the charger is typec, the USB status will be set, that is, by calling the sprd_hsphy_vbus_notify function in the phy subsystem of the USB physical layer, and setting the charging status in the sprd_hsphy_vbus_notify function, and calling the usb_phy_notify_charger_work function when setting the status, reading the charging type information from the BC1.2 charging type detection register of the sc2721 chip, and saving the charging type information in the phy subsystem, and then notifying the sgm41542_charger_usb_change function in the charging IC driver through the notify mechanism, and calling the sgm41542_charger_usb_change function through the sgm41542_charger_work function, and then judging the BC1.2 charging type saved in the _phy subsystem of the USB physical layer.

[0040] It should be noted that if Figure 2 As shown, the typec type detection is performed through the PMIC chip sc2721 chip. When the typec is connected, an interrupt will be generated. The register of the sc2721 chip is read to see whether the typec is connected or disconnected. If the typec is connected, the register status is read. If the device is judged as a power device, the USB state is set to device mode. If the device is judged as a power supply device, the USB state is set to host mode. If the typec is disconnected, the USB state is set to idle mode.

[0041] S103, selecting a corresponding charging process according to the charging type to charge the device to be charged.

[0042] Specifically, in this embodiment, a sc2021 chip supporting the fast charge protocol is provided in the USB interface. When the charging type is the DCP type, the input limiting current of the charging chip in the USB interface is set to 1.5A; the DPDM circuit of the USB interface is switched to the DPDM circuit of the sc2021 chip and delayed for 200 milliseconds; the level of the DPDM circuit in the sc2021 chip is adjusted to complete the fast charge deception action and delay for 3 seconds; the state of the fast charge deception chip is read to determine the charging type of the fast charge deception chip; the input limiting current of the charging chip is adjusted according to the charging type. In this embodiment, the DPDM circuit refers to a part of the USB interface, which is used to manage the interactive process of data transmission and power supply. DP refers to data communication, and DM stands for power management. They correspond to the two signal lines D+ and D- in the USB interface respectively. The DPDM circuit realizes the management of data transmission and power supply by controlling the voltage and current changes of these two signal lines.

[0043] The USB interface is equipped with a sc2021 chip that supports the fast charging protocol. When the charging type is CDP or SDP, the charging process remains the same as normal charging, that is, charging is performed according to the default current setting configured in the device tree (dts).

[0044] A sc2021 chip that supports the fast charging protocol is set in the USB interface. When the charging type is unrecognized, the input limit current of the charging chip in the USB interface is set to 500 mA.

[0045] Further, in some embodiments of the present invention, the charging type includes a dedicated charging port charging type (DCP) and an unidentified charging type.

[0046] Specifically, in this embodiment, the dedicated charging port charging types include DCP, CDP and SDP types. In addition, the present invention may not impose specific restrictions on the types included in the dedicated charging port charging types.

[0047] Furthermore, in some embodiments of the present invention, a fast charging decoy chip and a charging chip are integrated in the USB interface. When the charging type is a dedicated charging port charging type, a corresponding charging process is selected according to the charging type to charge the device to be charged, including: setting the input limiting current of the charging chip to a first preset current; switching the DPDM circuit of the USB interface to the DPDM circuit of the fast charging decoy chip and delaying for a first preset time; adjusting the level of the DPDM circuit in the fast charging decoy chip to complete the fast charging decoy action and delaying for a second preset time; reading the state of the fast charging decoy chip to determine the charging type of the fast charging decoy chip; and adjusting the input limiting current of the charging chip according to the charging type.

[0048] Specifically, in this embodiment, the fast charge deception chip can preferably be a sc2021 chip, which is not specifically limited here. The dedicated charging port charging types include DCP, CDP and SDP types, such as Figure 3 As shown, the charging process is started by the sgm41542_charger_usb_change function. When the charging type is CDP or SDP, the charging process remains the same as normal charging, that is, charging is performed according to the default current setting configured in the device tree (dts).

[0049] When the charging type is DCP type, the input limit current of the charging chip in the USB interface is set to the first preset current to be compatible with the QC (Quick Charge) 12V fast charging scenario, to prevent the charger from entering the protection state, and to notify the SC2021 chip driver through the power_supply subsystem, that is, to switch the DPDM circuit of the USB interface to the DPDM circuit of the SC2021 chip, and delay the first preset time to ensure the level stability. Among them, the first preset current can be preferably 1.5A, and the first preset time can be preferably 200 milliseconds. In addition, the present invention may not specifically limit the values ​​of the first preset current and the first preset time.

[0050] The SC2021 chip is triggered to perform a quick charge (QC) spoofing action. By adjusting the level of the DPDM circuit in the SC2021 chip, the 12V quick charge protocol is tried. If unsuccessful, the 9V quick charge protocol is tried. If the 9V quick charge protocol is unsuccessful, the 5V quick charge protocol is tried. If the 5V quick charge protocol is unsuccessful, the ordinary 5V charging protocol is used. The entire QC spoofing process lasts for a second preset time. After the spoofing action is completed, the status of the SC2021 chip is read to determine the charging type of the SC2021 chip. If the charging type is unknow, the input limit current of the charging chip is adjusted to 500mA. If the charging type is the 12V fast charge protocol, the input limit current of the charging chip is adjusted to 1.5A. If the charging type is the 9V fast charge protocol, the input limit current of the charging chip is adjusted to 2A. If the charging type is the 5V fast charge protocol, the input limit current of the charging chip is adjusted to 3A. If the charging type is the ordinary 5V charging protocol, the input limit current of the charging chip is adjusted to the DCP charging current, that is, charging is performed according to the default current setting configured in the device tree. The second preset time may preferably be 3 seconds. In addition, the present invention may not specifically limit the value of the second preset time.

[0051] It should be noted that QC spoofing refers to a method of deceiving or "tricking" a charger or power supply that supports the QC protocol through specific means or devices to make it output a higher voltage or current than the default, thereby achieving faster charging speed. When the SC2021 chip recognizes that the charger supports the 12V fast charging protocol, the system will send instructions to the charging chip through the corresponding interface (such as I2C, SPI or other communication protocols) to adjust the input limit current of the charging chip to 1.5A. When the SC2021 chip recognizes that the charger supports the 9V fast charging protocol, the system will send instructions to the charging chip through the corresponding interface (such as I2C, SPI or other communication protocols) to adjust the input limit current of the charging chip to 2A. When the SC2021 chip recognizes that the charger supports the 5V fast charging protocol, the system will send instructions to the charging chip through the corresponding interface (such as I2C, SPI or other communication protocols) to adjust the input limit current of the charging chip to 3A. When the SC2021 chip recognizes that the charger supports the common 5V charging protocol, the input limit current of the charging chip will be set to the default DCP charging current configured for the device in the device tree (dts). This value varies from device to device and is usually set based on device hardware limitations and safety considerations.

[0052] Further, in some embodiments of the present invention, when the charging type is an unidentified charging type, a corresponding charging process is selected according to the charging type to charge the device to be charged, including: setting the input limiting current of the charging chip in the USB interface to a second preset current.

[0053] Specifically, in this embodiment, Figure 3 As shown, when the charging type is an unidentified charging type, that is, when the charging type is unknown, the input limiting current of the charging chip in the USB interface is set to a second preset current, wherein the second preset current can preferably be 500 mA. In addition, the present invention may not specifically limit the value of the second preset current.

[0054] Further, in some embodiments of the present invention, Figure 4 As shown, the charging control method is characterized in that the method further includes:

[0055] S201, obtaining the charging voltage and charging current of the device to be charged.

[0056] Specifically, in this embodiment, a charging voltage sensor and a charging current sensor can be installed on the device to be charged, and then the charging voltage of the device to be charged is obtained through the charging voltage sensor, and the charging current of the device to be charged is obtained through the charging current sensor. In addition, the present invention may not specifically limit the method of obtaining the charging voltage and charging current of the device to be charged.

[0057] S202, when the charging voltage is greater than or equal to the charging cut-off voltage and the charging current is less than the charging cut-off current, control the charging chip in the USB interface to stop charging the device to be charged.

[0058] Specifically, in this embodiment, when the charging voltage is greater than or equal to the charging cut-off voltage and the charging current is less than the charging cut-off current, it can be determined that the device to be charged is fully charged, and the charging chip in the USB interface is controlled to stop charging the device to be charged. The charging cut-off voltage is determined according to the model of the device to be charged, and the charging cut-off current can be preferably 50 mA. In addition, the present invention may not specifically limit the values ​​of the charging cut-off voltage and the charging cut-off current.

[0059] Further, in some embodiments of the present invention, Figure 5 As shown, the charging control method also includes:

[0060] S301, after the charging chip stops charging the device to be charged, obtain the full-charge voltage of the device to be charged, and detect the connection relationship between the charger and the USB interface.

[0061] Specifically, in this embodiment, after the charging chip stops charging the device to be charged, the full-charge voltage of the device to be charged can be obtained through the charging voltage sensor, and the connection relationship between the charger and the USB interface can be detected through the level detection method, the interruption detection method or the communication protocol method to determine whether the charger and the USB interface are in a connected state or a disconnected state. In addition, the present invention may not specifically limit the method for obtaining the full-charge voltage of the device to be charged and the method for detecting the connection relationship between the charger and the USB interface.

[0062] S302, when the charger is still connected to the USB interface, obtaining an open circuit voltage of the device to be charged.

[0063] Specifically, in this embodiment, when the charger is still connected to the USB interface, the voltage value of the device to be charged can be measured by a voltage tester when the device to be charged is in an open circuit state, and the voltage value is used as the open circuit voltage. In addition, the present invention may not specifically limit the method for obtaining the open circuit voltage of the device to be charged.

[0064] S303, when the difference between the full-charge voltage and the open-circuit voltage is greater than the preset power-off recharging voltage, control the charging chip to charge the device to be charged.

[0065] Specifically, in this embodiment, the full-charge voltage of the device to be charged can be obtained through the charging voltage sensor, and the open-circuit voltage of the device to be charged can be obtained through the voltage tester, and the difference between the full-charge voltage and the open-circuit voltage can be calculated, and when the difference is greater than the preset power-off recharging voltage, the charging chip is controlled to charge the device to be charged, wherein the value of the preset power-off recharging voltage can be set without specific limitation.

[0066] In summary, according to the charging control method of an embodiment of the present invention, the charger interface type connected to the USB interface is obtained, and when the charger interface type is a preset type, the charging type of the charger is detected, and then the corresponding charging process is selected according to the charging type to charge the device to be charged. In this way, the fast charging function can be introduced while keeping the original USB interface function unchanged, and at the same time, compatibility with mainstream fast charging power adapters can be ensured.

[0067] Based on the charging control method proposed in the above-mentioned embodiment of the present invention, the embodiment of the present invention further proposes a computer-readable storage medium, on which a charging control program is stored. When the program is executed by a processor, the charging control method of the above-mentioned embodiment of the present invention is implemented.

[0068] According to the computer-readable storage medium of an embodiment of the present invention, by executing the charging control program through the processor, the fast charging function can be introduced while keeping the original USB interface function unchanged, and at the same time, compatibility with mainstream fast charging power adapters can be ensured.

[0069] Figure 6 is a block diagram of a charging control device according to an embodiment of the present invention.

[0070] Specifically, Figure 6 As shown, the charging control device 100 includes an acquisition module 10 , a detection module 20 and a control module 30 .

[0071] Among them, the acquisition module 10 is used to obtain the charger interface type connected to the USB interface; the detection module 20 is used to detect the charging type of the charger when the charger interface type is a preset type; the control module 30 is used to select the corresponding charging process according to the charging type to charge the charging device.

[0072] In some embodiments of the present invention, the charging type includes a dedicated charging port charging type and an unidentified charging type.

[0073] In some embodiments of the present invention, a fast charging decoy chip and a charging chip are integrated in the USB interface. When the charging type is a dedicated charging port charging type, the control module 30 is specifically used to set the input limiting current of the charging chip in the USB interface to a first preset current; switch the DPDM circuit of the USB interface to the DPDM circuit of the fast charging decoy chip and delay for a first preset time; adjust the level of the DPDM circuit in the fast charging decoy chip to complete the fast charging decoy action and delay for a second preset time; read the state of the fast charging decoy chip to determine the charging type of the fast charging decoy chip; and adjust the input limiting current of the charging chip according to the charging type.

[0074] In some embodiments of the present invention, when the charging type is an unidentified charging type, the control module 30 is specifically configured to set the input limiting current of the charging chip in the USB interface to be a second preset current.

[0075] In some embodiments of the present invention, the acquisition module 10 is also used to obtain the charging voltage and charging current of the device to be charged; the control module 30 is also used to control the charging chip in the USB interface to stop charging the device to be charged when the charging voltage is greater than or equal to the charging cut-off voltage and the charging current is less than the charging cut-off current.

[0076] In some embodiments of the present invention, the acquisition module 10 is also used to obtain the full-charge voltage of the device to be charged and detect the connection relationship between the charger and the USB interface after the charging chip stops charging the device to be charged; when the charger and the USB interface are still connected, the open-circuit voltage of the device to be charged is obtained; the control module 30 is also used to control the charging chip to charge the device to be charged when the difference between the full-charge voltage and the open-circuit voltage is greater than the preset power-off recharging voltage.

[0077] In some embodiments of the present invention, the preset type is the type-c type.

[0078] It should be noted that for other specific implementations of the charging control device proposed in the embodiment of the present invention, reference can be made to the specific implementations of the charging control method in the aforementioned embodiment of the present invention, which will not be described again here to reduce redundancy.

[0079] In summary, according to the charging control device of the embodiment of the present invention, the acquisition module obtains the type of the charger interface connected to the USB interface, and the detection module detects the charging type of the charger when the charger interface type is a preset type, and then the control module selects the corresponding charging process according to the charging type to charge the charging device. In this way, the fast charging function can be introduced while keeping the original USB interface function unchanged, and at the same time, the compatibility with mainstream fast charging power adapters can be ensured.

[0080] Figure 7 is a block diagram of a charging platform according to an embodiment of the present invention.

[0081] like Figure 7 As shown, the charging platform 1000 includes the charging control device 100 according to the above-mentioned embodiment of the present invention.

[0082] According to the charging platform of the embodiment of the present invention, by adopting the charging control device of the above-mentioned embodiment of the present invention, the fast charging function can be introduced while keeping the original USB interface function unchanged, and at the same time, compatibility with mainstream fast charging power adapters can be ensured.

[0083] In addition, other structures and functions of the charging platform of the embodiment of the present invention are known to those skilled in the art and will not be described in detail here to reduce redundancy.

[0084] It should be noted that the logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be specifically implemented in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection portion with one or more wirings (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.

[0085] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0086] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0087] In the description of the present invention, it is to be understood that the terms “center”, “longitudinal”, “lateral”, “length”, “width”, “thickness”, “up”, “down”, “front”, “back”, “left”, “right”, “vertical”, “horizontal”, “top”, “bottom”, “inside”, “outside”, “clockwise”, “counterclockwise”, “axial”, “radial”, “circumferential”, etc., indicating orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as limiting the present invention.

[0088] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0089] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0090] In the present invention, unless otherwise clearly specified and limited, a first feature being "above" or "below" a second feature may mean that the first and second features are in direct contact, or the first and second features are in indirect contact through an intermediate medium. Moreover, a first feature being "above", "above" or "above" a second feature may mean that the first feature is directly above or obliquely above the second feature, or simply means that the first feature is higher in level than the second feature. A first feature being "below", "below" or "below" a second feature may mean that the first feature is directly below or obliquely below the second feature, or simply means that the first feature is lower in level than the second feature.

[0091] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.

Claims

1. A charging control method, characterized in that: The method comprises: Get the charger interface type connected to the USB interface; When the charger interface type is a preset type, detecting the charging type of the charger; According to the charging type, a corresponding charging process is selected to charge the device to be charged.

2. The charging control method according to claim 1, characterized in that: The charging types include a dedicated charging port charging type and an unidentified charging type.

3. The charging control method according to claim 2, characterized in that: The USB interface is integrated with a fast charge deception chip and a charging chip. When the charging type is the dedicated charging port charging type, the corresponding charging process is selected according to the charging type to charge the device to be charged, including: Setting the input limiting current of the charging chip to a first preset current; Switching the DPDM circuit of the USB interface to the DPDM circuit of the fast charge deception chip and delaying for a first preset time; Adjusting the level of the DPDM circuit in the fast charge deception chip to complete the fast charge deception action and delay the second preset time length; Reading the status of the fast charge deception chip to determine the charging type of the fast charge deception chip; The input limiting current of the charging chip is adjusted according to the charging type.

4. The charging control method according to claim 2, characterized in that: When the charging type is an unidentified charging type, selecting a corresponding charging process according to the charging type to charge the device to be charged includes: The input limiting current of the charging chip in the USB interface is set to a second preset current.

5. The charging control method according to any one of claims 1 to 4, characterized in that: The method further comprises: Obtaining a charging voltage and a charging current of the device to be charged; When the charging voltage is greater than or equal to the charging cut-off voltage and the charging current is less than the charging cut-off current, the charging chip in the USB interface is controlled to stop charging the device to be charged.

6. The charging control method according to claim 5, characterized in that: The method further comprises: After the charging chip stops charging the device to be charged, obtaining the full-charge voltage of the device to be charged, and detecting the connection relationship between the charger and the USB interface; When the charger is still connected to the USB interface, obtaining an open circuit voltage of the device to be charged; When the difference between the full-charge voltage and the open-circuit voltage is greater than a preset power-off recharging voltage, the charging chip is controlled to charge the device to be charged.

7. The charging control method according to any one of claims 1 to 4, characterized in that: The preset type is type c type.

8. A computer-readable storage medium, characterized in that: A charging control program is stored thereon, and when the program is executed by a processor, the charging control method described in any one of claims 1 to 7 is implemented.

9. A charging control device, characterized in that: The device comprises: An acquisition module is used to acquire the charger interface type connected to the USB interface; A detection module, used for detecting a charging type of the charger when the charger interface type is a preset type; The control module is used to select a corresponding charging process according to the charging type to charge the device to be charged.

10. A charging platform, characterized in that: The charging platform includes the charging control device according to claim 9.