Charging management method and device, terminal equipment, and storage medium
By using the DSP module and processor in the terminal device, determining the charging type of the charging device and establishing a communication connection, the problem of too long preparation time before the terminal device starts charging is solved, and a more efficient charging process is achieved.
Patent Information
- Application Number
- CN202110900378.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-06
- Publication Date
- 2025-03-11
- Estimated Expiration
- 2041-08-06
AI Technical Summary
The terminal device needs to perform complex preparation processing before connecting to the charging device, resulting in too long preparation time before starting charging, which reduces the charging efficiency.
By using a digital signal processing DSP module and processor in the terminal device, the charging type of the charging device is determined, and a communication connection is established with the charging device, and the charging preparation process is performed simultaneously, including determining the target charging current and controlling the power supply of the charging device.
The preparation time before the terminal device starts charging is shortened, the charging efficiency is improved, and the large amount of time required for preparation processing in the relevant technical solutions of the MCU are avoided.
Smart Images

Figure CN113725951B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of charging technology, and in particular to a charging management method and apparatus, terminal equipment, and storage medium. Background Art
[0002] Currently, terminal devices (such as mobile phones, tablet computers, smart wearable devices, etc.) can be charged by connecting to a charging device (such as a mobile power supply, a power adapter connected to a power source, etc.). However, in practice, it is found that before the terminal device is connected to the charging device and officially starts charging, it often needs to perform complex preparation processing, which takes a certain amount of time, resulting in a long preparation time before the terminal device starts charging, which reduces the efficiency of charging the terminal device. Summary of the invention
[0003] The embodiments of the present application disclose a charging management method and apparatus, a terminal device, and a storage medium, which can shorten the preparation time before the terminal device starts charging, thereby improving the efficiency of charging the terminal device.
[0004] In a first aspect, an embodiment of the present application discloses a charging management method, which is applied to a terminal device, wherein the terminal device includes a digital signal processing DSP module and a processor, and the method includes:
[0005] When the terminal device is connected to a charging device, the DSP module determines a charging type corresponding to the charging device and sends the charging type to the processor;
[0006] The processor determines a target charging current that matches the charging device when the charging type is the first charging type. In the process of the processor determining the target charging current that matches the charging device, the DSP module establishes a communication connection with the charging device and transmits data with the charging device through the communication connection.
[0007] The DSP module controls the charging device to supply power with the target charging current.
[0008] A second aspect of an embodiment of the present application discloses a charging management device, which is applied to a terminal device. The terminal device includes a digital signal processing DSP module and a processor. The charging management device includes:
[0009] A first determining unit, configured to, when the terminal device is connected to a charging device, determine, by the DSP module, a charging type corresponding to the charging device, and send the charging type to the processor;
[0010] a second determining unit, configured for the processor to determine, when the charging type is the first charging type, a target charging current that matches the charging device;
[0011] A communication connection unit, configured to enable the DSP module to establish a communication connection with the charging device and to perform data transmission with the charging device through the communication connection during the process in which the processor determines the target charging current matching the charging device;
[0012] A charging control unit is used to control the charging device to supply power with the target charging current.
[0013] The third aspect of an embodiment of the present application discloses a terminal device, which includes a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor implements all or part of the steps in any charging management method disclosed in the first aspect of the embodiment of the present application.
[0014] The fourth aspect of an embodiment of the present application discloses a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, all or part of the steps in any one of the charging management methods disclosed in the first aspect of the embodiment of the present application are implemented.
[0015] Compared with the related art, the embodiments of the present application have the following beneficial effects:
[0016] In an embodiment of the present application, the terminal device may include a digital signal processing DSP (Digital Signal Processing) module and a processor. When the terminal device is connected to a charging device, its DSP module may determine the charging type corresponding to the charging device and send the charging type to the above-mentioned processor. When the charging type is the first charging type, the processor may determine the target charging current that matches the charging device. When the processor determines the target charging current that matches the charging device, the DSP module may establish a communication connection with the charging device and transmit data with the charging device through the communication connection. On this basis, that is, when the DSP module transmits data with the charging device, it may further control the charging device to supply power with the above-mentioned target charging current. It can be seen that by implementing the embodiments of the present application, the terminal device can synchronously perform the preparatory processing work required before officially starting charging through the processor and the DSP module, that is, while determining the target charging current required for charging through the processor, it can also establish a communication connection with the charging device through the DSP module, so that based on the communication connection, the charging device can be controlled to supply power with the above-mentioned target charging current, thereby avoiding the large amount of preparation time required for the MCU (Micro Control Unit) to perform the above-mentioned preparatory processing work in sequence in the related technical solution using the MCU, thereby shortening the preparation time before the terminal device starts charging, thereby effectively improving the efficiency of charging the terminal device. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0018] Figure 1A This is a schematic diagram of an application scenario of the charging management method disclosed in the embodiment of the present application;
[0019] Figure 1B This is another application scenario schematic diagram of the charging management method disclosed in the embodiment of the present application;
[0020] Figure 2 It is a modular schematic diagram of a terminal device disclosed in an embodiment of the present application;
[0021] Figure 3 is a timing diagram of a charging management method disclosed in an embodiment of the present application;
[0022] Figure 4It is a flow chart of a charging management method disclosed in an embodiment of the present application;
[0023] Figure 5 It is a flow chart of another charging management method disclosed in an embodiment of the present application;
[0024] Figure 6 It is a flowchart of another charging management method disclosed in an embodiment of the present application;
[0025] Figure 7 This is a schematic diagram of a terminal device outputting charging interaction information disclosed in an embodiment of the present application;
[0026] Figure 8 It is a modular schematic diagram of a charging management device disclosed in an embodiment of the present application;
[0027] Fig. 9 This is a modular schematic diagram of another terminal device disclosed in an embodiment of the present application. DETAILED DESCRIPTION
[0028] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0029] It should be noted that the terms "including" and "having" in the embodiments of the present application and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0030] The embodiments of the present application disclose a charging management method and apparatus, a terminal device, and a storage medium, which can shorten the preparation time before the terminal device starts charging, thereby improving the efficiency of charging the terminal device.
[0031] The following is a detailed description with reference to the accompanying drawings.
[0032] See also Figure 1A , Figure 1AIt is a schematic diagram of an application scenario of the charging management method disclosed in the embodiment of the present application, including a terminal device 10 and a charging device 20. Among them, the terminal device 10 may include a digital signal processing DSP (Digital Signal Processing) module 101 and a processor 102, and a communication connection may be established between the DSP module 101 and the processor 102. Specifically, the DSP module 101 may include various types of digital signal processing modules that can be built into the terminal device 10, so that it can be used as a subsystem in the terminal device 10 that directly controls the charging process, and can communicate with the processor 102 and the charging device 20 connected to the terminal device 10 respectively; the processor 102 may be the application processor (Application Processor, AP) of the terminal device 10, and the processor 102 may be installed with an operating system, such as an Android operating system, an iOS operating system, etc., and the user can intuitively obtain the relevant information when the terminal device 10 is connected to the charging device 20 for charging through the above operating system, and can conveniently control the entire charging process.
[0033] It should be noted that the above-mentioned DSP module may include a DSP module used only for digital signal processing, or may include a mixed signal processing module that integrates an analog-to-digital converter (ADC) or an analog-to-digital conversion circuit and can be used for analog signal and digital signal processing, such as various models of ADSP (Analog Digital Singal Processor) and the like.
[0034] Exemplarily, the terminal device 10 may include various devices or systems with wireless communication functions, such as mobile phones, smart wearable devices, vehicle-mounted terminals, tablet computers, PCs (Personal Computers), PDAs (Personal Digital Assistants), etc., which are not specifically limited in the embodiments of the present application.
[0035] Exemplarily, the charging device 20 may include a power adapter, a mobile power source with a power adapter function, a wireless charger, and other electronic devices (such as a laptop computer, a desktop computer host, etc.) connected to the terminal device 10 via a data cable. After the terminal device 10 is connected to the charging device 20, the charging device 20 can be used to power the terminal device 10. It should be noted that Figure 1A The charging device 20 shown in the figure is a power adapter, and the power adapter can actually be connected to a power source, so as to obtain the charging current provided by the power source and power the terminal device 10 after being adapted by the power adapter.
[0036] also, Figure 1A The charging device 20 shown is also only an example. Figure 1B , Figure 1B FIG. 2 is a schematic diagram showing another application scenario of the charging management method disclosed in the embodiment of the present application. Figure 1B As shown, in some embodiments, the charging device 20 may also be a mobile power source, which may have some or all of the functions of the power adapter, so that the battery cells in the mobile power source may be used to provide charging current, and further power the terminal device 10 connected to the charging device 20.
[0037] Please continue reading Figure 2 , Figure 2 Schematic diagram of a modular terminal device disclosed in the embodiment of the present application. Figure 2 As shown, in addition to the above-mentioned DSP module 101 and processor 102, the terminal device 10 may also include a switch 103 and a serial port 104. A communication connection may be established between the DSP module 101 and the processor 102, such as establishing a communication connection through a G-Link (General Link) bus, so that the DSP module 101 may report data to the processor 102 through the communication connection, and the processor 102 may also issue instructions to the DSP module 101 through the communication connection. Furthermore, the processor 102 may also be connected to the switch 103 through the serial port 104, and the switch 103 may be directly connected to the charging device 20 when the terminal device 10 is connected to the charging device 20, so that when the switch 103 is switched to the serial port 104, the processor 102 may directly communicate with the charging device 20 through the serial port 104.
[0038] Exemplarily, a communication module (such as VOOCPHY, etc.) may be integrated in the DSP module 101, and the communication module may be used to send and receive communication signals to establish a communication connection with the charging device 20, and then control the corresponding charging process. Optionally, a connection module (such as USBPHY, etc. responsible for underlying signal conversion) may also be integrated in the DSP module 101, and the connection module and the communication module may be respectively connected to the switch 103, and the switch 103 may be used to switch between the communication module and the connection module. In some embodiments, the DSP module 101 may also only establish a general connection with the switch 103, that is, it may not distinguish between the connection module or the communication module, and the selection is made by the logic circuit inside the DSP module 101.
[0039] Optionally, the terminal device 10 may also be provided with a power management module (Power Management IC, PMIC, not shown), which may be connected to the processor 102 and independent of the DSP module 101, and is used to implement functions such as charging identification and charging control in some cases.
[0040] In the related art, the terminal device 10 usually controls the charging process based on the MCU (Micro Control Unit) to achieve charging management. However, the charging management solution based on the MCU often needs to first determine the target charging current corresponding to the connected charging device 20, and then the MCU can establish a communication connection with the charging device 20, and control the charging device 20 to power the terminal device 10 with the above target charging current based on the communication connection. The above process consumes a lot of time after the terminal device 10 is connected to the charging device 20 and before charging officially starts, resulting in too long preparation time before the terminal device 10 starts charging, which reduces the efficiency of charging the terminal device 10.
[0041] In the embodiment of the present application, when the terminal device 10 is connected to the charging device 20, its DSP module 101 can first determine the charging type corresponding to the charging device 20, and send the charging type to the above-mentioned processor 102. When the charging type is the first charging type, the processor 102 can determine the target charging current that matches the charging device 20, and in the process of the processor 102 determining the target charging current that matches the charging device 20, the DSP module 101 can simultaneously establish a communication connection with the charging device 20, and transmit data with the charging device 20 through the communication connection. Among them, the charging type of the charging device 20 is the first charging type, which can indicate that the charging interface of the charging device 20 complies with a certain charging protocol (such as BC1.2, i.e., Battery Charging v1.2 charging protocol, etc.), so that the target charging current that matches the charging device 20 can be further determined based on the charging protocol. On this basis, that is, when the DSP module 101 transmits data with the charging device 20, it can further control the charging device 20 to supply power with the above-mentioned target charging current, so that the terminal device 10 can be charged.
[0042] To better describe the application scenarios of the embodiments of the present application, Figure 3 A timing diagram of a charging management method according to an embodiment of the present application is disclosed. Figure 3 As shown, the terminal device 10 may include a DSP module 101 and a processor 102, and is applied to a charging scenario connected to a charging device 20. Specifically, the method may include:
[0043] 302 . When the terminal device 10 is connected to the charging device 20 , the DSP module 101 determines the charging type corresponding to the charging device 20 and sends the charging type to the processor 102 .
[0044] 304 . When the charging type is the first charging type, the processor 102 determines a target charging current that matches the charging device 20 .
[0045] 306 . When the processor 102 determines the target charging current that matches the charging device 20 , the DSP module 101 establishes a communication connection with the charging device 20 , and transmits data with the charging device 20 through the communication connection.
[0046] 308 . The DSP module 101 controls the charging device 20 to supply power with a target charging current.
[0047] It can be seen that by implementing the charging management method described in the above embodiment, the terminal device 10 can synchronously perform the preparatory processing work required before officially starting charging through the processor 102 and the DSP module 101, that is, while determining the target charging current required for charging through the processor 102, it can also establish a communication connection with the charging device 20 through the DSP module 101, so that based on the communication connection, the charging device 20 can be controlled to supply power with the above target charging current, thereby avoiding excessive consumption of preparation time when performing the above preparation processing work, thereby shortening the preparation time before the terminal device 10 starts charging, thereby effectively improving the efficiency of charging the terminal device 10.
[0048] See also Figure 4 , Figure 4 1 is a flow chart of a charging management method disclosed in an embodiment of the present application. The charging management method can be applied to the above-mentioned terminal device, which may include a digital signal processing DSP module and a processor. Figure 4 As shown, the charging management method may include the following steps:
[0049] 402. When the terminal device is connected to the charging device, the DSP module determines the charging type corresponding to the charging device and sends the charging type to the processor.
[0050] In the embodiment of the present application, when the terminal device is connected to the charging device, the terminal device can first determine the charging type corresponding to the charging device through its DSP module. The above charging type can be determined by the charging interface of the charging device, and different charging interfaces can correspond to different charging protocols supported by the charging device.
[0051] Exemplarily, the charging protocols supported by the charging device may include basic universal charging protocols, such as the BC1.2 charging protocol and USB-PD charging protocol launched by USB-IF (USB Implementers Forum, USB standardization organization); it may also include private charging protocols launched by various hardware manufacturers, such as VOOC charging protocol, SuperVOOC charging protocol, QC charging protocol, SCP charging protocol, etc., which are not specifically limited in the embodiments of the present application.
[0052] For example, taking the above-mentioned charging device as a power adapter, a power adapter that supports the BC1.2 charging protocol can be provided with the following types of interfaces (or "ports"): SDP (Standard Downstream Port), CDP (Charging Downstream Port), and DCP (Dedicated Charging Port). Among them, in order to support more advanced private charging protocols on the basis of the BC1.2 charging protocol to achieve a faster and more efficient charging process, a power adapter with a DCP type charging interface can be selected to charge the terminal device. On this basis, when the terminal device detects that the charging device is connected (that is, the charging interface of the above-mentioned power adapter is inserted into the terminal device), the DSP module of the terminal device can obtain and determine the charging type corresponding to the charging device (such as the above-mentioned DCP type), and then can perform corresponding charging control according to the charging type in subsequent steps.
[0053] Furthermore, after determining the above-mentioned charging type, the DSP module may report the charging type to the processor. Specifically, the DSP module may be connected to the processor through the G-Link bus, so that the above-mentioned charging type may be transmitted to the processor through the G-Link bus. In some embodiments, the DSP module of the terminal device may first package the above-mentioned charging type into a specified data format, and then send the data packet of the data format to the processor, so that the processor obtains the data packet through the data packet reception interrupt, and unpacks it to obtain the charging type corresponding to the above-mentioned charging device. In other embodiments, since the DSP module of the terminal device is directly connected to the processor, the DSP module may also directly send a specified level signal (such as a specified pulse signal, square wave signal, etc.) to the processor to characterize the charging type corresponding to the above-mentioned charging device through the level signal, so that the charging type can be transmitted to the processor.
[0054] 404. When the charging type is the first charging type, the processor determines a target charging current that matches the charging device. During the process of the processor determining the target charging current that matches the charging device, the DSP module establishes a communication connection with the charging device and transmits data with the charging device through the communication connection.
[0055] After the terminal device is connected to the charging device and the DSP module of the terminal device determines the charging type corresponding to the charging device, in order to control the charging device to supply power corresponding to the charging type to the terminal device, it is necessary not only to determine the target charging current used by the charging device when supplying power to the terminal device, but also to establish a communication connection between the DSP module and the charging device so that the charging device can supply power to the terminal device in a controlled manner.
[0056] In an embodiment of the present application, the step of determining the target charging current may be performed by a processor. For example, the processor may determine a target charging current that matches the connected charging device when the charging type is a specified first charging type (e.g., a DCP type that supports a faster and more efficient charging process).
[0057] In some embodiments, the processor may query a pre-stored target charging current that matches the charging type according to the charging type corresponding to the charging device by looking up a table.
[0058] In other embodiments, the processor may also start from the initial candidate charging current and test multiple candidate charging currents of different current values in sequence according to a certain sorting rule to determine a target charging current that meets the requirements from the multiple candidate charging currents. Exemplarily, the above-mentioned sorting rule may include a rule of increasing the current value according to a certain step size (for example, the current value of the next candidate charging current is 100mA, 200mA, etc. greater than the current value of the candidate charging current currently tested), a rule of selecting several current values according to agreed experience or protocol and sorting them from small to large (for example, selecting candidate charging currents with current values of 500mA, 900mA, 1350mA, 1500mA, 1750mA, 2000mA, etc. and testing them in sequence), etc. On this basis, the processor can determine the target charging current that matches the charging device, so that in the subsequent steps, the charging device can power the terminal device with the target charging current.
[0059] At the same time, the step of establishing a communication connection with the charging device can be performed by the DSP module. Exemplarily, when the above-mentioned charging type is a specified first charging type (such as a DCP type), the DSP module of the terminal device sends the charging type to the processor to trigger the processor to determine the target charging current that matches the charging device. The DSP module can further establish a communication connection with the charging device, so that data can be transmitted with the charging device through the communication connection.
[0060] Specifically, when the switch of the terminal device is switched to the DSP module, the DSP module can be directly connected to the charging device. On this basis, the DSP module can send communication signals to the charging device through its built-in communication module, and receive communication signals sent by the charging device to the DSP module, thereby realizing a communication connection with the charging device. Based on this communication connection, the DSP module can perform relatively stable data transmission with the charging device, so that the status of the charging device when supplying power to the terminal device can be monitored in real time, which helps to timely and effectively control the charging process of the charging device, greatly improving the safety and reliability of charging the terminal device.
[0061] 406. The DSP module controls the charging device to supply power with a target charging current.
[0062] It should be noted that after the above-mentioned DSP module establishes a communication connection with the charging device, the DSP module can control the charging device to supply power to the terminal device with a certain charging current. In order to ensure that the state of the charging device supplying power to the terminal device can be monitored in real time and to avoid unexpected situations, the DSP module can control the charging device to supply power with the above-mentioned target charging current while transmitting data with the charging device, so that the power supply state of the charging device (such as whether to supply power, the size of the charging current when supplying power, etc.) can be flexibly adjusted based on the data transmitted by the charging device to the DSP module (such as temperature data, voltage data, current data, etc.). By implementing the above method, the terminal device can save some preparation time before officially starting charging while ensuring the safety and reliability of charging, thereby effectively improving the efficiency of charging the terminal device.
[0063] It can be seen that by implementing the charging management method described in the above embodiment, the terminal device can synchronously perform the preparatory processing work required before officially starting charging through the processor and the DSP module, that is, while determining the target charging current required for charging through the processor, it can also establish a communication connection with the charging device through the DSP module, so that based on the communication connection, the charging device can be controlled to supply power with the above target charging current, thereby avoiding the large amount of preparation time required for the MCU to perform the above preparation processing work in sequence in the related technical solution using MCU, thereby shortening the preparation time before the terminal device starts charging, and then effectively improving the efficiency of charging the terminal device.
[0064] See also Figure 5 , Figure 5 FIG. 1 is a flow chart of another charging management method disclosed in an embodiment of the present application. The charging management method can be applied to the above-mentioned terminal device, which may include a digital signal processing DSP module and a processor. Figure 5 As shown, the charging management method may include the following steps:
[0065] 502. When the terminal device is connected to a charging device, the DSP module obtains a charging interface type corresponding to the charging device.
[0066] Among them, the charging interface type of the above-mentioned charging device can correspond to different charging protocols supported by the charging device. For example, taking the above-mentioned charging device as a power adapter, a power adapter that supports the BC1.2 charging protocol can be provided with different types of charging interfaces such as SDP, CDP, DCP, etc. On this basis, when the terminal device detects that the charging device is connected, the DSP module of the terminal device can obtain the charging interface type corresponding to the charging device, and then determine whether the charging interface type is the required first charging type (such as a DCP type that supports a faster and more efficient charging process) in subsequent steps.
[0067] In the embodiment of the present application, when the DSP module of the terminal device obtains the type of the charging interface of the connected charging device, it can be obtained based on the direct connection between the DSP module and the charging interface of the charging device through the above-mentioned switch, or it can be obtained indirectly through other modules built into the terminal device. Exemplarily, when the terminal device detects that the charging device is connected, the charging interface type of the charging device can be identified through its power management module, and then the DSP module can obtain the identified charging interface type from the power management module, thereby indirectly realizing the identification and confirmation of the charging interface type of the charging device.
[0068] For example, when the terminal device is connected to a charging device, its DSP module can generate a power identification interrupt, which can be used to trigger the power management module to identify the type of the charging interface of the charging device. Furthermore, the power management module can transmit the type of charging interface it has identified to the DSP module, so that the DSP module can obtain and determine the type of charging interface of the charging device. Optionally, the power management module can also identify the type of charging interface of the charging device when the terminal device is connected to the charging device, and the DSP module can generate a corresponding power identification interrupt, and respond to the power identification interrupt to obtain the type of charging interface it has identified from the power management module.
[0069] 504. When the charging interface type is a first charging type that complies with a target charging protocol, the processor determines a target charging current that matches the charging device.
[0070] Step 504 is similar to step 404. It should be noted that the first charging type that complies with the target charging protocol may indicate that the charging interface type of the charging device complies with the specified target charging protocol (such as BC1.2, i.e., Battery Charging v1.2 charging protocol, etc.).
[0071] In an embodiment of the present application, in order to determine the target charging current that matches the charging device connected to the terminal device, the processor of the terminal device can start from the initial candidate charging current and test multiple candidate charging currents of different current values in sequence according to a certain sorting rule to determine the target charging current that meets the requirements from the multiple candidate charging currents. Exemplarily, the above-mentioned sorting rules may include a rule of increasing the current value according to a certain step size (for example, the current value of the next candidate charging current is increased by 100mA, 200mA, etc. than the current value of the candidate charging current currently tested), a rule of selecting several current values according to agreed experience or agreement and sorting them from small to large (for example, selecting candidate charging currents with current values of 500mA, 900mA, 1350mA, 1500mA, 1750mA, 2000mA, etc. and testing them in sequence), etc.
[0072] For example, after obtaining the above-mentioned charging interface type, the DSP module of the terminal device can send the charging interface type to the processor, and then the processor can test the charging device's load capacity for multiple selected charging currents in order of the current values of the multiple selected charging currents from small to large in sequence when the charging interface type is the first charging type. Among them, the load capacity is the load capacity, which means that after the charging device is connected to the terminal device, it can maintain the input current of a certain current value regardless of the impedance, and can be measured according to the size of the certain current value. By testing with multiple selected charging currents of different current values in order of the above-mentioned current values from small to large, the target charging current that matches the charging device can be accurately determined from the multiple selected charging currents, so that in the subsequent steps, the charging device can power the terminal device with the target charging current.
[0073] 506. If the charging interface type is the first charging type, in the process of the processor determining the target charging current that matches the charging device, the DSP module sends an activation signal to the charging device, where the activation signal is used to activate the charging device.
[0074] 508. The DSP module enables the communication module and transmits data with the activated charging device through the communication module.
[0075] Among them, the above-mentioned activation signal may include a specified pulse signal, a square wave signal, etc. Exemplarily, taking the activation signal as a pulse signal as an example, while the processor of the terminal device determines the target charging current that matches the above-mentioned charging device, its DSP module may also actively and continuously send a pulse train signal formed by multiple pulse signals, so that the charging device can be activated by the pulse train signal. It should be noted that the charging device can be passively activated by the terminal device pulling an input current exceeding a certain current threshold (such as 1A, 1.2A, etc.), or it can be actively activated by sending the above-mentioned activation signal. Optionally, the current value of the activation signal may be greater than the current value required to activate the charging device (such as 300mA, 500mA, etc.). By activating the charging device by actively sending a pulse train signal through the above-mentioned DSP module, the cyclic reset problem that may occur in the passive activation mode of the charging device can be avoided, ensuring that the charging device can be activated in time, and further improving the reliability of charging the terminal device.
[0076] Furthermore, after being activated, the charging device can send a communication signal to the DSP module. Prior to this, the DSP module can first enable (i.e., start) its own communication module, so that the communication signal sent by the activated charging device can be received through the communication module. On this basis, the DSP module can establish a communication connection with the activated charging device, and transmit data based on the communication connection, so that the DSP module can monitor the status of the charging device when it is supplying power to the terminal device in real time, which helps to timely and effectively control the charging process of the charging device, so that the charging device can supply power to the terminal device in a controlled manner, greatly improving the safety and reliability of charging the terminal device.
[0077] Exemplarily, the communication signal may include a charging communication frame, that is, the DSP module may transmit data with the activated charging device through its communication module in the form of a charging communication frame. In some embodiments, the charging communication frame may include device information corresponding to the charging device, etc., so that in subsequent steps, the DSP module may report the device information to the processor connected thereto, and control the output of corresponding charging interaction information through the processor to remind the user that charging has officially started, thereby improving the user experience of the user using the charging device.
[0078] 510. The DSP module controls the charging device to supply power with a target charging current.
[0079] Among them, step 510 is similar to the above step 406 and will not be repeated here.
[0080] It can be seen that by implementing the charging management method described in the above embodiment, while the terminal device determines the target charging current required for charging through the processor, it can also establish a communication connection with the charging device through the DSP module, so that based on the communication connection, the charging device can be controllably powered with the above target charging current, thereby shortening the preparation time before the terminal device starts charging, thereby effectively improving the efficiency of charging the terminal device; in addition, the subsequent charging preparation steps are performed only when it is determined that the charging interface type of the charging device is the required first charging type (such as DCP type), which is conducive to achieving a faster and more efficient charging process while ensuring charging safety and reliability; in addition, by actively activating the charging device through the DSP module, the cyclic reset problem that may occur in the passive activation mode of the charging device can be avoided, ensuring that the charging device can be activated in time, and further improving the reliability of charging the terminal device.
[0081] See also Figure 6 , Figure 6FIG. 1 is a flow chart of another charging management method disclosed in an embodiment of the present application. The charging management method can be applied to the above-mentioned terminal device, which may include a digital signal processing DSP module and a processor. Figure 6 As shown, the charging management method may include the following steps:
[0082] 602. When the terminal device is connected to a charging device, the DSP module generates a power identification interrupt.
[0083] 604. The DSP module responds to the power identification interrupt and identifies the charging interface type corresponding to the charging device.
[0084] Among them, step 602 and step 604 are similar to the specific description of the above step 502, and will not be repeated here.
[0085] It should be noted that before the terminal device is connected to the charging device, it can also continuously detect whether it has been connected to the charging device. For example, the DSP module of the terminal device can continuously detect the voltage of the first charging interface of the terminal device, which is the charging interface corresponding to the above switch and can be used to directly connect to the charging device.
[0086] For example, the DSP module can detect the voltage change state of the first charging interface of the terminal device, and generate a power access interrupt when it is determined that the charging device is connected according to the voltage change state. For example, when the DSP module detects that the voltage Vbus of the first charging interface rises from 0V to the standard charging voltage (such as 5V, 6V, etc.), the voltage change can trigger a Plugin interrupt (i.e., the above-mentioned power access interrupt). On this basis, the DSP module can respond to the power access interrupt and report access information corresponding to the charging device to the processor, and the access information can be used to inform the processor of the event of the above-mentioned charging device being connected. Furthermore, the processor can respond to the access information, determine the initial charging current, and trigger the DSP module to control the charging device to be powered with the initial charging current.
[0087] It is worth noting that the current value of the above-mentioned initial charging current can be greater than the current value required to activate the charging device. For example, if the current value required to activate the charging device is 300mA, the above-mentioned initial charging current can be set to 500mA; for another example, if the current value required to activate the charging device is 500mA, the above-mentioned initial charging current can be set to 750mA, 900mA, etc. By setting such an initial charging current, when the DSP module needs to activate the charging device, it can further output an activation signal to the charging device under the stimulation of the initial charging current to achieve active activation of the charging device, thereby avoiding the cyclic reset problem that may occur in the passive activation mode of the charging device, ensuring that the charging device can be activated in time, and further improving the reliability of charging the terminal device.
[0088] 606. When the charging interface type is a first charging type that complies with the target charging protocol, the processor sequentially tests the load capacity of the charging device for a plurality of charging currents to be selected in order of their current values from small to large, so as to determine a target charging current that matches the charging device from among the plurality of charging currents to be selected.
[0089] Among them, step 606 is similar to the specific description of the above step 504, and will not be repeated here.
[0090] 608. If the charging interface type is the first charging type, in the process of the processor determining the target charging current that matches the charging device, the DSP module sends an activation signal to the charging device, where the activation signal is used to activate the charging device.
[0091] 610. The DSP module enables the communication module and receives first communication information sent by the charging device through the communication module. The first communication information may include device information corresponding to the charging device.
[0092] Among them, step 608 and step 610 are similar to the above-mentioned steps 506 and 508, and are not repeated here.
[0093] 612. The DSP module sends the device information to the processor.
[0094] In the embodiment of the present application, different charging devices may correspond to different device information, which may be set by the hardware manufacturer according to the product model, or may be automatically generated according to the configuration information of the charging device itself (such as rated voltage, rated current, rated power, etc.), so as to accurately identify a certain or a certain type (such as a certain type, a certain model, etc.) of charging devices. On this basis, the DSP module may transmit the above device information to the processor through the G-Link bus connection between it and the processor, so that the processor can implement richer charging management functions based on the device information in subsequent steps.
[0095] 614. The processor outputs charging interaction information corresponding to the device information according to the device information.
[0096] For example, the charging interaction information may include one or more of image information, sound information, and vibration information. According to the difference in device information of the charging device, the processor may determine different charging interaction information, such as different charging icons, voice prompts with different frequencies or semantics, vibrations with different frequencies or amplitudes, etc. Figure 7 , Figure 7 Schematic diagram of a terminal device outputting charging interaction information disclosed in an embodiment of the present application. Figure 7 As shown, the terminal device 10 can output the image information on its screen 110 as charging interaction information. The image information can be displayed in the upper right corner of the screen 110 of the terminal device 10 (i.e., permanent display) as shown by icon 111; or displayed in the center of the screen 110 (i.e., off-screen display) as shown by icon 112. It can be understood that Figure 7 The charging interaction information shown is only some examples. The charging interaction information shown in icon 111 and the charging interaction information shown in icon 112 can be displayed separately or simultaneously. The terminal device 10 can also output other types of charging interaction information. When charging devices with different device information are connected, the charging interaction information can be different, so that the user can be prompted to the differences in charging time, speed, efficiency, etc. corresponding to different charging devices, which can also bring a more diverse user experience.
[0097] As an optional implementation, before controlling the charging device to supply power with the above-mentioned target charging current, the DSP module may also suspend the power management module independently set in the terminal device from the DSP module to turn off the charging function under non-target charging current, and at the same time avoid the influence of floating pressure causing errors in the voltage data obtained by the DSP module from the charging device. Exemplarily, when the DSP module is transmitting data with the charging device, it can send a charging suspension signal to the processor, so that the processor can respond to the charging suspension signal and control the power management module connected to the processor to suspend. The power management module is independent of the DSP module and can be used to control the charging device to supply power with a basic charging current when it is not suspended. Among them, the current value of the above-mentioned basic charging current can be less than the current value of the target charging current.
[0098] As another optional implementation, after controlling the charging device to supply power with the above-mentioned target charging current, the DSP module may further monitor the first temperature information corresponding to the charging device during the charging process. Exemplarily, if the first temperature information exceeds the temperature threshold, the DSP module may control the charging device to stop supplying power to avoid the danger of overheating when the charging device continues to supply power. On this basis, the DSP module may report the first temperature information to the processor, and then the processor may control the charging device to supply power with a basic charging current after a first waiting period (such as 20 seconds, 30 seconds, etc.) based on the first temperature information. Among them, the basic supply current may be less than the above-mentioned target charging current. Thus, by implementing the above method, the terminal device can terminate the charging process in time when the charging device may be in danger of overheating, and after waiting for a certain period of time for the charging device to cool down, first control the charging device to resume power supply at a relatively low current to ensure the safety of the charging process as much as possible.
[0099] Furthermore, the DSP module may continue to monitor the second temperature information corresponding to the charging device. If the second temperature information does not exceed the temperature threshold, the DSP module may activate the charging device after a second waiting time (such as 25 seconds, 35 seconds, etc.), and re-control the charging device to supply power with the above-mentioned target charging current while transmitting data with the charging device. It should be noted that the above-mentioned second waiting time may be greater than the first waiting time, so that sufficient time can be reserved for reactivating the charging device to safely and reliably restart a faster and more efficient charging process.
[0100] It can be seen that by implementing the charging management method described in the above embodiment, while the terminal device determines the target charging current required for charging through the processor, it can also establish a communication connection with the charging device through the DSP module, so that based on the communication connection, the charging device can be controllably powered with the above target charging current, thereby shortening the preparation time before the terminal device starts charging, thereby effectively improving the efficiency of charging the terminal device; in addition, after the DSP module establishes a communication connection with the charging device, the DSP can obtain the device information corresponding to the charging device and report it to the processor, so that the processor can output charging interaction information in a timely manner to remind the user that charging has officially started, effectively avoiding the situation where the user mistakenly believes that charging is unsuccessful due to the long charging preparation time, which can not only further improve the reliability of charging the terminal device, but also improve the user experience of the user using the charging device.
[0101] See also Figure 8 , Figure 8 1 is a modular schematic diagram of a charging management device disclosed in an embodiment of the present application. The charging management device can be applied to the above-mentioned terminal device, and the terminal device may include a digital signal processing DSP module and a processor. Figure 8 As shown, the charging management device may include a first determining unit 801, a second determining unit 802, a communication connection unit 803, and a charging control unit 804, wherein:
[0102] The first determining unit 801 is used for, when the terminal device is connected to the charging device, the DSP module determines the charging type corresponding to the charging device and sends the charging type to the processor;
[0103] A second determining unit 802 is configured for the processor to determine a target charging current that matches the charging device when the charging type is the first charging type;
[0104] A communication connection unit 803, configured to enable the DSP module to establish a communication connection with the charging device and to perform data transmission with the charging device through the communication connection when the processor determines the target charging current that matches the charging device;
[0105] The charging control unit 804 is used for the DSP module to control the charging device to supply power with a target charging current.
[0106] It can be seen that by adopting the charging management device described in the above embodiment, the terminal device can synchronously perform the preparatory processing work required before officially starting charging through the processor and the DSP module, that is, while determining the target charging current required for charging through the processor, it can also establish a communication connection with the charging device through the DSP module, so that based on the communication connection, the charging device can be controlled to supply power with the above target charging current, thereby avoiding the large amount of preparation time required for the MCU to perform the above preparation processing work in sequence in the related technical solution using MCU, thereby shortening the preparation time before the terminal device starts charging, and then effectively improving the efficiency of charging the terminal device.
[0107] In one embodiment, the charging type includes a charging interface type, and the first determining unit 801 may be specifically configured to enable the DSP module to obtain a charging interface type corresponding to the charging device when the terminal device is connected to the charging device;
[0108] The second determining unit 802 may be specifically configured to determine, by the processor, a target charging current that matches the charging device when the charging interface type is a first charging type that complies with a target charging protocol.
[0109] Furthermore, the first determining unit 801 may include a first interruption subunit and a power source identification subunit, which are not shown in the figure, wherein:
[0110] The first interrupt subunit is used for generating a power identification interrupt by the DSP module when the terminal device is connected to the charging device;
[0111] The power identification subunit is used for the DSP module to respond to the power identification interrupt and identify the charging interface type corresponding to the charging device.
[0112] In one embodiment, the above-mentioned second determination unit 802 can be specifically used to, when the charging type is the first charging type, test the load capacity of the charging device for multiple candidate charging currents in sequence according to the current values of the multiple candidate charging currents from small to large, so as to determine the target charging current that matches the charging device from the multiple candidate charging currents.
[0113] In one embodiment, the communication connection unit 803 may include a sending subunit and a data transmission subunit (not shown), wherein:
[0114] a sending subunit, configured to, if the charging type is the first charging type, in the process of the processor determining the target charging current matching the charging device, the DSP module sending an activation signal to the charging device, the activation signal being used to activate the charging device;
[0115] The data transmission subunit is used for the DSP module to enable the communication module and to transmit data with the activated charging device through the communication module.
[0116] Exemplarily, the activation signal may include a pulse train signal.
[0117] It can be seen that by adopting the charging management device described in the above embodiment, the terminal device can determine the target charging current required for charging through the processor and establish a communication connection with the charging device through the DSP module, so that based on the communication connection, the charging device can be controlled to supply power with the above target charging current, thereby shortening the preparation time before the terminal device starts charging, thereby effectively improving the efficiency of charging the terminal device; in addition, the subsequent charging preparation steps are performed only when it is determined that the charging interface type of the charging device is the required first charging type (such as DCP type), which is conducive to achieving a faster and more efficient charging process while ensuring charging safety and reliability; in addition, by actively activating the charging device through the DSP module, the cyclic reset problem that may occur in the passive activation mode of the charging device can be avoided, ensuring that the charging device can be activated in time, and further improving the reliability of charging the terminal device.
[0118] In one embodiment, the charging management device may further include an interactive control unit not shown in the figure, wherein the data transmission subunit may also be used for the DSP module to receive a first communication signal sent by the charging device through the communication module, and the first communication signal may include device information corresponding to the communication device;
[0119] The data transmission subunit may also be used by the DSP module to send the device information to the processor;
[0120] The above-mentioned interaction control unit can be used for the processor to output charging interaction information corresponding to the device information according to the device information.
[0121] The charging interaction information may include one or more of image information, sound information and vibration information.
[0122] In one embodiment, the charging management device may further include an initialization unit (not shown), which may be used by the DSP module to detect the voltage change state of the first charging interface of the terminal device, and generate a power supply connection interruption when it is determined that the charging device is connected according to the voltage change state; and
[0123] The DSP module is used to respond to the power access interruption and report the access information corresponding to the charging device to the processor; and
[0124] The processor is used to respond to the access information, determine the initial charging current, and trigger the DSP module to control the charging device to supply power with the initial charging current.
[0125] The current value of the initial charging current may be greater than the current value required to activate the charging device.
[0126] In one embodiment, the initialization unit may also be used for the DSP module to send a charging suspension signal to the processor when the DSP module is performing data transmission with the charging device; and
[0127] The processor is used to respond to the charging suspend signal and control the power management module connected to the processor to suspend. The power management module and the DSP module are independent of each other and are used to control the charging device to supply power with a basic charging current when not suspended.
[0128] In one embodiment, the charging management device may further include a temperature management unit not shown in the figure, wherein the temperature management unit may be used for the DSP module to monitor first temperature information corresponding to the charging device; if the first temperature information exceeds the temperature threshold, the DSP module controls the charging device to stop supplying power and reports the first temperature information to the processor; the processor controls the charging device to supply power with a basic charging current after a first waiting period based on the first temperature information, wherein the basic power supply current is less than the target charging current.
[0129] Furthermore, after the above-mentioned temperature management unit controls the charging device to supply power with the basic charging current, the DSP module can also be used to monitor the second temperature information corresponding to the charging device; if the second temperature information does not exceed the temperature threshold, the DSP module activates the charging device after the second waiting period, and re-executes the step of controlling the charging device to supply power with the target charging current.
[0130] It can be seen that by adopting the charging management device described in the above embodiment, while the terminal device determines the target charging current required for charging through the processor, it can also establish a communication connection with the charging device through the DSP module, so that based on the communication connection, the charging device can be controllably powered with the above target charging current, thereby shortening the preparation time before the terminal device starts charging, thereby effectively improving the efficiency of charging the terminal device; in addition, after the DSP module establishes a communication connection with the charging device, the DSP can obtain the device information corresponding to the charging device and report it to the processor, so that the processor can output charging interaction information in a timely manner to remind the user that charging has officially started, effectively avoiding the situation where the user mistakenly believes that charging is unsuccessful due to the long charging preparation time, which can not only further improve the reliability of charging the terminal device, but also improve the user experience of the user using the charging device.
[0131] See also Fig. 9 , Fig. 9 Schematic diagram of a modular terminal device disclosed in the embodiment of the present application. Fig. 9As shown, the terminal device may include a memory 901 and a processor 902, wherein the memory 901 stores a computer program, and when the computer program is executed by the processor 902, the processor 902 can implement all or part of the steps in any one of the charging management methods described in the above embodiments.
[0132] In addition, an embodiment of the present application further discloses a computer-readable storage medium, which stores a computer program for electronic data exchange, wherein when the computer program is executed by a processor, the processor can implement all or part of the steps in any one of the charging management methods described in the above embodiments.
[0133] In addition, an embodiment of the present application further discloses a computer program product. When the computer program product is run on a computer, the computer can implement all or part of the steps in any one of the charging management methods described in the above embodiments.
[0134] Those skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage medium includes a read-only memory (ROM), a random access memory (RAM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electronically erasable rewritable read-only memory (EEPROM), a compact disc (CD-ROM) or other optical disc storage, magnetic disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.
[0135] The above is a detailed introduction to a charging management method and device, terminal equipment, and storage medium disclosed in the embodiments of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for general technical personnel in this field, according to the ideas of the present application, there will be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A charging management method, characterized in that: Applied to a terminal device, the terminal device includes a digital signal processing DSP module and a processor, and the method includes: The DSP module detects a voltage change state of the first charging interface of the terminal device, and generates a power supply connection interrupt when determining that a charging device is connected according to the voltage change state; The DSP module responds to the power access interruption and reports access information corresponding to the charging device to the processor; The processor determines an initial charging current in response to the access information, and triggers the DSP module to control the charging device to supply power with the initial charging current, wherein the current value of the initial charging current is greater than the current value required to activate the charging device; When the terminal device is connected to the charging device, the DSP module determines the charging type corresponding to the charging device and sends the charging type to the processor; The processor determines a target charging current that matches the charging device when the charging type is the first charging type. In the process of the processor determining the target charging current that matches the charging device, the DSP module sends an activation signal to the charging device, and the activation signal is used to activate the charging device; the DSP module enables the communication module and receives first communication information sent by the charging device through the communication module, and the first communication information includes device information corresponding to the charging device; the DSP module sends the device information to the processor; and the processor outputs charging interaction information corresponding to the device information according to the device information; The DSP module controls the charging device to supply power with the target charging current.
2. The method according to claim 1, characterized in that The charging type includes a charging interface type. When the terminal device is connected to the charging device, the DSP module determines the charging type corresponding to the charging device, including: When the terminal device is connected to the charging device, the DSP module obtains the charging interface type corresponding to the charging device; The processor determines, when the charging type is the first charging type, a target charging current that matches the charging device, including: The processor determines a target charging current that matches the charging device when the charging interface type is a first charging type that complies with a target charging protocol.
3. The method according to claim 2, characterized in that When the terminal device is connected to the charging device, the DSP module obtains the charging interface type corresponding to the charging device, including: When the terminal device is connected to the charging device, the DSP module generates a power identification interrupt; The DSP module responds to the power identification interrupt to identify the charging interface type corresponding to the charging device.
4. The method according to claim 1, characterized in that: The processor determines, when the charging type is the first charging type, a target charging current that matches the charging device, including: When the charging type is the first charging type, the processor tests the load capacity of the charging device for the multiple charging currents to be selected in order of their current values from small to large, so as to determine a target charging current that matches the charging device from the multiple charging currents to be selected.
5. The method according to claim 1, characterized in that The activation signal includes a pulse train signal.
6. The method according to claim 1, characterized in that The charging interaction information includes one or more of image information, sound information and vibration information.
7. The method according to any one of claims 1 to 6, characterized in that: Before the DSP module controls the charging device to supply power with the target charging current, the method further includes: The DSP module sends a charging suspension signal to the processor when performing data transmission with the charging device; The processor responds to the charging suspend signal to control the power management module connected to the processor to suspend. The power management module is independent of the DSP module and is used to control the charging device to supply power with a basic charging current when not suspended.
8. The method according to any one of claims 1 to 6, characterized in that: After the DSP module controls the charging device to supply power with the target charging current, the method further includes: The DSP module monitors first temperature information corresponding to the charging device; If the first temperature information exceeds a temperature threshold, the DSP module controls the charging device to stop supplying power and reports the first temperature information to the processor; The processor controls the charging device to supply power with a basic charging current after a first waiting period according to the first temperature information, wherein the basic charging current is less than the target charging current.
9. The method according to claim 8, characterized in that After the processor controls the charging device to supply power with a basic charging current after a first waiting period according to the temperature information, the method further includes: The DSP module monitors second temperature information corresponding to the charging device; If the second temperature information does not exceed the temperature threshold, the DSP module activates the charging device after a second waiting period, and re-executes the step of controlling the charging device to supply power with the target charging current.
10. A charging management device, characterized in that: Applied to terminal equipment, the terminal equipment includes a digital signal processing DSP module and a processor, and the charging management device includes: an initialization unit, for the DSP module to detect the voltage change state of the first charging interface of the terminal device, and to generate a power access interrupt when determining that the charging device is connected according to the voltage change state; and for the DSP module to respond to the power access interrupt and report access information corresponding to the charging device to the processor; for the processor to respond to the access information, determine an initial charging current, and trigger the DSP module to control the charging device to supply power with the initial charging current, wherein the current value of the initial charging current is greater than the current value required to activate the charging device; A first determining unit, configured to, when the terminal device is connected to the charging device, determine, by the DSP module, a charging type corresponding to the charging device, and send the charging type to the processor; a second determining unit, configured for the processor to determine, when the charging type is the first charging type, a target charging current that matches the charging device; A communication connection unit, configured to enable the DSP module to establish a communication connection with the charging device and to perform data transmission with the charging device through the communication connection during the process in which the processor determines the target charging current matching the charging device; A charging control unit, used for the DSP module to control the charging device to supply power with the target charging current; The communication connection unit comprises: a sending subunit, configured to, if the charging type is the first charging type, in the process of the processor determining the target charging current matching the charging device, the DSP module sending an activation signal to the charging device, wherein the activation signal is used to activate the charging device; a data transmission subunit, used for the DSP module to enable the communication module, and to receive the first communication information sent by the charging device through the communication module, wherein the first communication information includes the device information corresponding to the charging device; and also used for the DSP module to send the device information to the processor; The charging management device further includes an interaction control unit configured for the processor to output charging interaction information corresponding to the device information according to the device information.
11. A terminal device, characterized in that: The method comprises a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor implements the method according to any one of claims 1 to 9.
12. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 9 is implemented.
Citation Information
Patent Citations
Charging method and mobile terminal
CN108347068A
Data transmission method, system and device
CN111696333A
Charging pile power supply device with high safety
CN209375162U
Charging equipment with transmission function
JP1989138928A
Charging method, charging device and terminal
US20180205250A1