Charging device, charging control method, chip and storage medium

By introducing a protocol identification module into the charging device, the target charging parameters are determined according to the charging protocol of the terminal device, which solves the problem of poor compatibility of multi-interface chargers and realizes fast charging and data transmission for multiple devices.

CN119275952APending Publication Date: 2025-01-07GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310821189.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-05
Publication Date
2025-01-07

AI Technical Summary

Technical Problem

Existing multi-interface chargers suffer from poor compatibility, resulting in slow charging speeds and an inability to efficiently charge multiple terminal devices simultaneously.

Method used

The protocol identification module determines the target charging parameters based on the charging protocol of each terminal device, and charges multiple terminal devices through multiple interfaces.

Benefits of technology

It enables fast charging of terminal devices via multi-interface data cables, improving charging efficiency and supporting data transmission during the charging process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119275952A_ABST
    Figure CN119275952A_ABST
Patent Text Reader

Abstract

The invention discloses a charging device, a charging control method, a chip and a storage medium, and belongs to the technical field of charging. The charging device comprises a power supply interface, a protocol identification module and at least two charging interfaces. The power interface is electrically connected with the protocol identification module, the protocol identification module is further electrically connected with the at least two charging interfaces, and the protocol identification module is used for identifying the at least two charging interfaces according to respective charging protocols of the at least two terminal devices under the condition that the at least two charging interfaces are respectively connected with the at least two terminal devices. Determining a target charging parameter of a target charging signal output by the power interface; and the power interface is used for outputting a target charging signal to each charging interface so as to charge the at least two terminal devices through the at least two charging interfaces. When the terminal equipment connected with each charging interface is charged, the target charging parameter of the target charging signal needing to be transmitted is determined based on different charging protocols, so that the charging efficiency of the terminal equipment through the multi-interface data line is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of charging technology, and in particular to a charging device, a charging control method, a chip and a storage medium. Background Art

[0002] With the development of science and technology, various terminal devices appear in people's daily lives, and people can use terminal devices for entertainment, work, etc.

[0003] Among them, various terminal devices often need to be charged by a charger when they are in use for a long time and the power is insufficient. At present, the existing chargers can be realized through multi-interface data cables. One charger can charge multiple terminal devices at the same time. Common ones are 1 to 3-interface data cables. The 3 interfaces are a lighting interface, a micro B port, and a type-c port, which are common charging interfaces in the current consumer electronics field. When using this charger to charge multiple terminal devices, it takes a long time to charge and there is a problem of low charging efficiency. Summary of the invention

[0004] In order to solve the problems of the prior art and improve the charging efficiency of terminal devices through multi-interface data lines, the embodiments of the present application provide a charging device, a charging control method, a chip and a storage medium. The technical solution is as follows:

[0005] In one aspect, the present application provides a charging device, comprising a power interface, a protocol identification module and at least two charging interfaces; the power interface is electrically connected to the protocol identification module, and the protocol identification module is also electrically connected to the at least two charging interfaces, wherein:

[0006] The protocol identification module is used to determine the target charging parameter of the target charging signal output by the power interface according to the respective charging protocols of the at least two terminal devices when the at least two charging interfaces are respectively connected to the at least two terminal devices;

[0007] The power interface is used to output the target charging signal to each of the charging interfaces so as to charge the at least two terminal devices through the at least two charging interfaces.

[0008] In one aspect, the present application provides a charging control method, which is applied to a charging device, wherein the charging device includes at least two charging interfaces, and the method includes:

[0009] When the at least two charging interfaces are respectively connected to at least two terminal devices, obtaining charging protocols of the at least two terminal devices;

[0010] According to the respective charging protocols of the at least two terminal devices, target charging parameters of the target charging signal output by the charging device are determined so that when the charging device outputs the target charging signal, the at least two terminal devices are charged through the at least two charging interfaces.

[0011] In another aspect, the present application provides a chip, comprising a processor and a memory, wherein the memory stores a computer program, and the computer program is executed by the processor to implement the charging control method as described in one aspect.

[0012] In another aspect, the present application provides a computer-readable storage medium, wherein the storage medium stores a computer program, and the computer program is executed by a processor to implement the charging control method as described in one aspect.

[0013] On the other hand, an embodiment of the present application provides a computer program product. When the computer program product is run on a computer, the computer is enabled to execute the charging control method as described in one aspect above.

[0014] On the other hand, an embodiment of the present application provides an application publishing platform, which is used to publish a computer program product, wherein when the computer program product runs on a computer, the computer executes the charging control method as described in one aspect above.

[0015] The beneficial effects brought by the technical solution provided by the embodiment of the present application include at least:

[0016] The charging device provided by the present application includes a power interface, a protocol identification module and at least two charging interfaces; the power interface is electrically connected to the protocol identification module, and the protocol identification module is also electrically connected to the at least two charging interfaces, wherein: the protocol identification module is used to determine the target charging parameters of the target charging signal output by the power interface according to the respective charging protocols of the at least two terminal devices when the at least two charging interfaces are respectively connected to the at least two terminal devices; the power interface is used to output the target charging signal to each charging interface to charge the at least two terminal devices through the at least two charging interfaces. When charging the terminal devices connected to each charging interface, the respective charging protocols of each terminal device will be obtained, and the target charging parameters of the target charging signal to be transmitted will be determined based on different charging protocols, so as to realize charging of each terminal device based on the target charging signal, accelerate the charging speed of the charging device, and improve the charging efficiency of the terminal devices through the multi-interface data line. 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 description of 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 creative work.

[0018] Figure 1 is a schematic diagram of a circuit structure for charging in a terminal device provided by an exemplary embodiment of the present application;

[0019] Figure 2 is a schematic diagram of an example structure of a terminal device provided in an embodiment of the present application;

[0020] Figure 3 is a schematic diagram of a circuit interface of a charger involved in an exemplary embodiment of the present application;

[0021] Figure 4 is a circuit interface diagram of another charger involved in an exemplary embodiment of the present application;

[0022] Figure 5 is a structural schematic diagram of a charging device provided by an exemplary embodiment of the present application;

[0023] Figure 6 is a structural schematic diagram of a charging device provided by an exemplary embodiment of the present application;

[0024] Figure 7 is a method flow chart of a charging control method provided by an exemplary embodiment of the present application;

[0025] Figure 8 is a method flow chart of a charging control method provided by an exemplary embodiment of the present application;

[0026] Fig. 9 is a structural schematic diagram of a charging device involved in an exemplary embodiment of the present application;

[0027] Fig.10 is a structural schematic diagram of a charging device involved in an exemplary embodiment of the present application;

[0028] Fig.11 It is a structural schematic diagram of a charging device involved in an exemplary embodiment of the present application. DETAILED DESCRIPTION

[0029] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0030] The solution provided by the present application can be used in real-life scenarios where people charge terminal devices when using terminal devices in daily life. To facilitate understanding, the application scenarios involved in the embodiments of the present application are first briefly introduced below.

[0031] With the continuous development of science and technology, people use terminal devices in more and more scenarios in their daily lives. Terminal devices are powered by batteries. When the battery of a terminal device is low, the battery of the terminal device needs to be charged.

[0032] Please refer to Figure 1 , which shows a schematic diagram of a circuit structure for charging in a terminal device provided by an exemplary embodiment of the present application. Figure 1 As shown, a terminal device 101 and a charger 102 are included.

[0033] Optionally, the terminal device is a rechargeable terminal device, for example, the terminal device may include but is not limited to wearable devices (such as bracelets, smart watches, smart glasses, etc.), mobile phones, tablet computers, laptops, smart glasses, smart watches, MP3 players (Moving Picture Experts Group Audio Layer III, Moving Picture Experts Group Audio Layer 3), MP4 (Moving Picture Experts Group Audio Layer IV, Moving Picture Experts Group Audio Layer 4) players, desktop computers, laptops, etc.

[0034] Optionally, the circuit connection of the charger 102 is exemplary. In actual applications, the charger 102 may be a charger with a one-to-one interface or a charger with a one-to-multiple interfaces.

[0035] At present, existing chargers can be realized through multi-interface data cables. One charger can charge multiple terminal devices at the same time. Common data cables have 1 to 3 interfaces, and the 3 interfaces are a lighting interface, a micro B port, and a type-c port, which are common charging interfaces in the current consumer electronics field. Some data cables also have 1 to 4 interfaces, or multiple identical interfaces, such as 1 to 3, with output of 3 type-c ports, which can be connected to multiple terminal devices for charging at the same time.

[0036] Please refer to Figure 2 , is a schematic diagram of an example structure of a terminal device provided in an embodiment of the present application. Figure 2 The terminal shown includes components such as a processor 210 , a memory 220 , a transceiver 230 , a display unit 240 , an input unit 250 , a sensor 260 , an audio circuit 270 , and a power module 280 .

[0037] The processor 210 is the control center of the terminal, and uses various interfaces and lines to connect various parts of the entire terminal. By running or executing software programs and / or modules stored in the memory 220, and calling data stored in the memory 220, the processor 210 performs various functions of the terminal and processes data, thereby monitoring the terminal as a whole. Optionally, the processor 420 may include one or more processing units; optionally, the processor 210 may integrate an application processor, which mainly processes operating devices, user interfaces, and application programs, etc. Of course, other processors may also be included, which are not listed here one by one.

[0038] The memory 220 can be used to store software programs and modules. The processor 210 executes various functional applications and data processing of the terminal by running the software programs and modules stored in the memory 220. The memory 220 may mainly include a program storage area and a data storage area, wherein the program storage area may store operating devices, at least one application required for a function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the terminal (such as audio data, a phone book, etc.), etc. In addition, the memory 220 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0039] The transceiver 230 can provide wireless communication solutions applied on the terminal, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) network), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc. The transceiver 230 can be one or more devices integrating at least one communication processing module, for example, the antenna and the baseband processor are integrated into the transceiver 230, or the antenna and the modem processor are integrated into the transceiver 230, etc., which are not limited here.

[0040] The display unit 240 may be used to display information input by the user or information provided to the user and various menus of the terminal. The display unit 240 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc., which is not limited here.

[0041] The input unit 250 can be used to receive input digital or character information, and to generate key signal input related to the user settings and function control of the terminal. Specifically, the input unit 250 can collect the user's operations on or near it, and drive the corresponding connection device according to a pre-set program. In addition, the input unit 250 may include a touch panel 252, which can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 252, the input unit 250 may also include other input devices 252. Specifically, other input devices 252 may include, but are not limited to, one or more of function keys (such as volume control keys, switch keys, etc.), trackballs, joysticks, etc.

[0042] The terminal may also include at least one sensor 260, such as a gyroscope sensor, a motion sensor, and other sensors. The motion sensor may include an acceleration sensor for detecting the magnitude of acceleration in all directions, and the magnitude and direction of gravity when stationary, which may be used for applications that identify the posture of the terminal device, such as horizontal and vertical screen switching, related games, magnetometer posture calibration, etc. As for other sensors that may be configured in the terminal device, such as a pressure gauge, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., they will not be described in detail here.

[0043] The audio circuit 270 may include a speaker 272 and a microphone 272, which may provide an audio interface between the user and the terminal. The audio circuit 270 may transmit the electrical signal converted from the received audio data to the speaker 272, which is converted into a sound signal for output; on the other hand, the microphone 272 converts the collected sound signal into an electrical signal, which is received by the audio circuit 270 and converted into audio data, and then the audio data is output to the processor 210 for processing, and then sent to another terminal device through the video circuit, or the audio data is output to the memory 220 for further processing.

[0044] The terminal also includes a power module 280 for supplying power to various components. Optionally, the power module 280 can be logically connected to the processor 210 through a power management device, so that the power management device can manage charging, discharging, power consumption and other functions.

[0045] Although not shown, the terminal may further include a camera. Optionally, the camera may be located at the front or rear of the terminal, which is not limited in the present embodiment.

[0046] It is to be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the terminal. In other embodiments of the present application, the terminal may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0047] Optional, above Figure 2 The terminal equipment shown can be Figure 1 The method is to connect to the charger and charge. For the above-mentioned charging solution with a charger with multiple interfaces, due to the large number of interfaces, the compatibility between the charging protocols is poor, the versatility is poor, the charging speed is slow, and the charging time using the above-mentioned charging cable is long. Generally, this type of charger is mainly used for emergency and emergency use by consumers in restaurant-related commercial consumption places. It is also used for outdoor scanning code power banks for emergency use and is not practical for home use.

[0048] Take the 1 to 3 port charger as an example, please refer to Figure 3 , which shows a schematic diagram of a circuit interface of a charger involved in an exemplary embodiment of the present application. Figure 3 As shown, it includes a power interface 301 and a charging interface 302. The power interface 301 leads to two charging lines, VBUS and GND, of the charging transmission line, while the D+ and D- of the data transmission line are directly short-circuited; the Micro b interface and the lighting interface in the charging interface 302 also lead to the VBUS and GND of the charging transmission line, and are connected to the VBUS and GND of the power interface accordingly.

[0049] The Type-c interface in the charging interface 302 is different from the other two. It has an extra pair of cc leads, one of which is pulled up to the VBUS lead through a resistor. The VBUS and GND of the Type-c interface are also connected to the VBUS and GND of the power interface. The D+ and D- of the Type-c interface are also directly short-circuited.

[0050] Above Figure 3 The charger shown only needs to use two leads in actual design, which can save costs, but cannot be used for data transmission with devices such as computers. The charging cable is only used for low-current charging.

[0051] Please refer to Figure 4 , which shows a circuit interface diagram of another charger involved in an exemplary embodiment of the present application. Figure 4 As shown, it includes a power interface 401 and a charging interface 402. The power interface 401 leads to VBUS and GND of the charging transmission line, and the connection relationship between VBUS and GND of the charging interface 402 is the same as Figure 3 The same, no further description is given here. Figure 4 In the embodiment, the D+ and D- of the data transmission line led out of the power interface are not directly short-circuited, but are respectively connected to the D+ and D- led out of the charging interface 402, so that data transmission with a computer or other device can be realized. However, if multiple terminal devices are charged through the charger at the same time, the charger shown in the scheme will be confused due to the connection between D+ and D-, and cannot be used for data transmission when multiple terminal devices are hung below, and will also affect each other during charging.

[0052] Therefore, the existing 1-to-many interface chargers cannot be compatible with the charging protocols of multiple terminal devices due to the large number of output ports. There are problems such as poor compatibility between charging protocols, poor versatility, slow charging speed, etc. The charging time is long using the above charging cable. For example, a conventional mobile phone 5000mah battery can be fully charged in 40 minutes under normal fast charging. Using the above charger, it takes more than 2 hours to be fully charged, and there is a problem of low charging efficiency.

[0053] In order to solve the problems existing in the above-mentioned related technologies and improve the charging efficiency of terminal devices through multi-interface data lines, the present application provides a charging device that can flexibly determine the target charging parameters of the target charging signal output by the power interface according to the respective charging protocols of multiple terminal devices, thereby speeding up the charging of each terminal device.

[0054] Please refer to Figure 5 , which shows a schematic diagram of the structure of a charging device provided by an exemplary embodiment of the present application, such as Figure 5As shown, the charging device 500 includes a power interface 501 , a protocol identification module 502 and at least two charging interfaces 503 .

[0055] The power interface 501 is electrically connected to the protocol identification module 502 , and the protocol identification module 502 is also electrically connected to at least two charging interfaces 503 .

[0056] The protocol identification module 502 is used to determine the target charging parameters of the target charging signal output by the power interface 501 according to the respective charging protocols of the at least two terminal devices when at least two charging interfaces 503 are respectively connected to at least two terminal devices; the power interface 501 is used to output the target charging signal to each charging interface 503 so as to charge at least two terminal devices through at least two charging interfaces 503.

[0057] That is to say, by adding a protocol identification module 502 to the charging device, when charging multiple terminal devices, the protocol identification module 502 is used to obtain the charging protocol of each terminal device, and the target charging parameter of the target charging signal output by the power interface 501 is determined according to the charging protocol of each terminal device, so as to achieve charging compatibility with multiple terminal devices, so that each terminal device can achieve the effect of fast charging. Among them, the target charging signal can be a charging current signal and / or a charging voltage signal, and the target charging parameter can be the magnitude of the charging current, the magnitude of the charging voltage, the magnitude of the charging power, and one or more of the adopted charging protocols. For example, through this solution, the charging voltage value of the charging voltage signal output by the charging device 500 through the power interface 501 can be determined based on the charging protocols of different terminal devices, so as to avoid the situation where slow charging is caused by charging with too low a voltage, thereby improving the charging efficiency.

[0058] In summary, the charging device provided by the present application includes a power interface, a protocol identification module and at least two charging interfaces; the power interface is electrically connected to the protocol identification module, and the protocol identification module is also electrically connected to the at least two charging interfaces, wherein: the protocol identification module is used to determine the target charging parameters of the target charging signal output by the power interface according to the respective charging protocols of the at least two terminal devices when the at least two charging interfaces are respectively connected to the at least two terminal devices; the power interface is used to output the target charging signal to each charging interface to charge the at least two terminal devices through the at least two charging interfaces. When charging the terminal devices connected to each charging interface, the respective charging protocols of each terminal device will be obtained, and the target charging parameters of the target charging signal to be transmitted will be determined based on different charging protocols, so as to realize charging of each terminal device based on the target charging signal, accelerate the charging speed of the charging device, and improve the charging efficiency of the terminal devices through the multi-interface data line.

[0059] Please refer to Figure 6 , which shows a schematic diagram of the circuit structure of a charging device involved in an exemplary embodiment of the present application. Figure 6 As shown, the charging device includes a power interface 601 , a protocol identification module 602 and at least two charging interfaces 603 .

[0060] The power interface 601 is electrically connected to the protocol identification module 602 , and the protocol identification module 602 is also electrically connected to at least two charging interfaces 603 .

[0061] The protocol identification module 602 is used to determine the target charging parameters of the target charging signal output by the power interface 601 according to the respective charging protocols of the at least two terminal devices when at least two charging interfaces 603 are respectively connected to at least two terminal devices; the power interface 601 is used to output the target charging signal to each charging interface 603 so as to charge at least two terminal devices through at least two charging interfaces 603.

[0062] Optionally, the power interface 601 connects the first charging lead 601a and the first data lead 601b; each charging interface 603 includes a second charging lead 603a and a second data lead 603b; the first charging lead 601a is electrically connected to the second charging lead 603a included in each charging interface 603, and the first data lead 601b is electrically connected to the protocol identification module 602, and the protocol identification module 602 is also electrically connected to the second data lead 603b included in each charging interface 603.

[0063] Optionally, the first charging lead 601a includes a first positive charging lead 601a+ and a first negative charging lead 601a-, the first data lead 601b includes a first positive data lead 601b+ and a first negative data lead 601b-; the second charging lead 603a includes a second positive charging lead 603a+ and a second negative charging lead 603a-, the second data lead 603b includes a second positive data lead 603b+ and a second data lead 603b-. Data negative lead 603b-; the first charging positive lead 601a+ is electrically connected to the second charging positive lead 603a+, and the first charging negative lead 601a- is electrically connected to the second charging negative lead 603a-; the first data positive lead 601b+ and the first data negative lead 601b- access the protocol identification module 602; the second data positive lead 603b+ and the second data negative lead 603b- access the protocol identification module 602.

[0064] The protocol identification module 602 is used to obtain the charging protocols of at least two terminal devices through the second data lead 603b; and after determining the target charging parameters according to the charging protocols of at least two terminal devices, the target charging parameters are transmitted through the first data lead 601b. The power interface 601 is used to output the target charging signal to each charging interface 603 through the first charging lead 601a and the second charging lead 603a included in each charging interface 603.

[0065] Optionally, the protocol identification module 602 determines the target charging parameters of the target charging signal output by the power interface according to the respective charging protocols of at least two terminal devices, specifically including: detecting whether at least two charging protocols corresponding to at least two terminal devices are compatible; when at least two charging protocols are compatible, determining the target charging parameters according to the charging parameters supported by each of the at least two charging protocols. When at least two charging protocols are incompatible, the preset charging parameters are determined as the target charging parameters. The preset charging parameters are equivalent to the default charging parameters. When at least two charging protocols are incompatible, the charging device uses the default charging parameters to charge each terminal device. The default charging parameters can be pre-set by the developer. For example, when the target charging parameter is the charging voltage value, the default charging voltage value can be 5V.

[0066] That is to say, in this application, when the above Figure 6 After at least two charging interfaces in the charging interface 603 are connected to the terminal devices respectively, the protocol identification module 602 will obtain at least two charging protocols corresponding to the at least two terminal devices, and detect the at least two charging protocols corresponding to the at least two terminal devices. If the at least two charging protocols are compatible with each other, the target charging parameters of the target charging signal that the power interface 601 needs to output can be determined according to the charging parameters supported by the at least two charging protocols. If the at least two charging protocols are incompatible, the preset charging parameters are determined as the target charging parameters.

[0067] For example, in the above Figure 6In the example, the terminal device connected to the first interface of the charging interface 603 supports the 9V output of the charging (Power Delivery, PD) protocol, and the terminal device connected to the second interface of the charging interface 603 supports the 12V output of the PD protocol. After the two charging interfaces are connected to the terminal devices respectively, the protocol identification module 602 will obtain the PD protocol 9V output and PD protocol 12V output protocols corresponding to at least two terminal devices, and detect the two charging protocols. When at least two charging protocols are compatible with each other, the target charging parameter (9V) of the target charging signal that the power interface 601 needs to output can be determined according to the charging parameters (9V, 12V) supported by at least two charging protocols. Among them, the charging parameter takes the charging voltage value as an example. The above two terminal devices support the PD protocol 9V output and the PD protocol 12V respectively. The protocol identification module 602 can determine that the target charging voltage value of the target charging signal that the power interface 601 needs to output is 9V according to the pre-set selection rules. When at least two charging protocols are incompatible, each terminal device is charged according to the preset charging voltage value 5V.

[0068] Optionally, the preset selection rule can be preset by the developer, and the preset selection rule can be as follows: according to the charging protocols of the at least two terminal devices, the charging parameters supported by the at least two terminal devices are obtained; from the parameter range composed of the charging parameters supported by the at least two terminal devices, the target charging parameter of the target charging signal output by the power interface 601 is determined. For example, still taking the target charging signal as a charging voltage signal and the charging parameter range supported by the charging protocol as a voltage range as an example, the charging parameters supported by the two charging protocols obtained above are 9V and 12V respectively, so that the parameter range composed of the charging parameters supported by the two terminal devices is obtained to be between 9V and 12V, and any voltage value between 9V and 12V is selected as the target charging voltage value.

[0069] In one possible implementation, the pre-set selection rule may be as follows: according to the charging protocols of at least two terminal devices, the charging parameters supported by at least two terminal devices are obtained; the average value of the charging parameters is obtained from the charging parameters supported by at least two terminal devices, and the average value of the charging parameters is determined as the target charging parameter of the target charging signal output by the power interface 601. For example, still taking the case that the target charging signal is a charging voltage signal and the charging parameter range supported by the charging protocol is a voltage range, the charging parameters supported by the two charging protocols obtained above are 9V and 12V respectively, so the average value of the charging parameters supported by the two terminal devices is (9+12) / 2=10.5V, and 10.5V is used as the target charging voltage value.

[0070] Optionally, the above selection rules are exemplary. In actual applications, other selection schemes may be used to select a voltage value as the target charging voltage value, which is not limited here.

[0071] It should be noted that the above target charging parameters are described using the target charging voltage value as an example. In actual applications, the target charging parameters may also be target charging current values, target charging power values, and various parameters in the target charging protocol, which will not be described one by one here.

[0072] Optionally, the charging device is electrically connected to the power supply device through the power interface 601; the protocol identification module 602 is also used to send the target charging parameters to the power supply device after determining the target charging parameters, so that the power supply device outputs the target charging signal to the power interface according to the target charging parameters. The power supply device can be a power adapter, a power bank, a socket, etc. that can directly provide a power interface 601 plug port, or it can be a desktop computer, a laptop computer, etc. that provides a power interface 601 plug port. Optionally, after the target charging parameters are determined as above, the protocol identification module 602 can transmit the target charging parameters to the power supply device connected to the power interface 601 through the two data transmission lines D+ and D- connected to the power interface 601, so that the power supply device outputs the target charging signal to the power interface according to the target charging parameters.

[0073] For example, the above determination shows that the target charging voltage value of the target charging signal that the power interface 601 needs to output is 9V. The protocol identification module 602 transmits 9V to the power supply device connected to the power interface 601 through the two data transmission lines D+ and D- connected to the power interface 601, so that the charging voltage value of the target charging signal output by the power supply device to the power interface 601 is 9V.

[0074] Optionally, when the power supply device is a power adapter, the above-mentioned sending of the target charging parameters to the power supply device is equivalent to sending a requirement for the target charging parameters (voltage, current or power) to the adapter, and the power adapter outputs corresponding target charging parameters based on the requirement, so that the charging power of the power adapter is maximized when the charging protocols of various terminal devices are well compatible.

[0075] Optional, in Figure 6 Among the various charging interfaces 603 shown in the figure, at least two charging interfaces 603 include charging interfaces corresponding to at least one interface standard. For example, at least two charging interfaces 603 are type-c interfaces. Or, at least two charging interfaces 603 are respectively a lighting interface, a micro b interface, and a type-c interface. The present application does not limit the specific form of the charging interface, and in theory, it can support various charging interfaces for charging provided by existing manufacturers.

[0076] Optionally, the charging device is further used to transmit a target data signal through the protocol identification module 602 and the target charging interface when the power interface 601 is connected to the power supply device, the target data signal is a data signal between the power supply device and the target terminal device, the target terminal device is a terminal device connected to the target charging interface, and the target charging interface is at least one charging interface of the at least two charging interfaces 603. That is, the charging device provided in the present application, when the power supply device is a desktop computer, a laptop computer or the like, can realize data transmission to multiple terminal devices while charging multiple terminal devices.

[0077] Optionally, the target data signal includes the device identification of the target terminal device, and the target data signal is transmitted through the protocol identification module 602 and the target charging interface, specifically including: identifying the device identification of the target terminal device through the protocol identification module 602, and sending the target data signal to the target terminal device connected to the target charging interface according to the device identification. Optionally, in the case where the power supply device is a desktop computer, a laptop computer or other device, each terminal device will establish a data connection with the power supply device through each charging interface 603. At this time, the terminal device will send its own device identification to the power supply device through the protocol identification module 602, and the power supply device will store the device identification of each terminal device. When data is transmitted (for example, downloading music to one of the target terminal devices), the target data signal sent by the power supply device will carry the device identification of the target terminal device. When transmitted to the protocol identification module 602, the protocol identification module 602 will identify the device identification of the target terminal device, thereby selecting to send the target data signal to the terminal device connected to the charging interface, ensuring that data confusion does not occur when multiple terminal devices are charged and data are transmitted, and improving the reliability and accuracy of data transmission.

[0078] In summary, the charging device provided by the present application includes a power interface, a protocol identification module and at least two charging interfaces; the power interface is electrically connected to the protocol identification module, and the protocol identification module is also electrically connected to the at least two charging interfaces, wherein: the protocol identification module is used to determine the target charging parameters of the target charging signal output by the power interface according to the respective charging protocols of the at least two terminal devices when the at least two charging interfaces are respectively connected to the at least two terminal devices; the power interface is used to output the target charging signal to each charging interface to charge the at least two terminal devices through the at least two charging interfaces. When charging the terminal devices connected to each charging interface, the respective charging protocols of each terminal device will be obtained, and the target charging parameters of the target charging signal to be transmitted will be determined based on different charging protocols, so as to realize charging of each terminal device based on the target charging signal, accelerate the charging speed of the charging device, and improve the charging efficiency of the terminal devices through the multi-interface data line.

[0079] In addition, the protocol identification module of the charging device in this scheme can also identify the device identification of the target terminal device, and send target data information to the target terminal device connected to the target charging interface according to the device identification. During the charging process of multiple terminal devices, data transmission to multiple terminal devices is realized, thereby improving the accuracy of data transmission by the charging device.

[0080] Please refer to Figure 7 , which shows a method flow chart of a charging control method provided by an exemplary embodiment of the present application, the charging control method can be applied to the above Figure 5 and Figure 6 In the charging device shown. Figure 7 As shown, the charging control method may include the following steps:

[0081] Step 701: When at least two charging interfaces are respectively connected to at least two terminal devices, respective charging protocols of the at least two terminal devices are obtained.

[0082] Optionally, the charging device in this solution is as described above Figure 5 and Figure 6 The structure shown is not described in detail here. When at least two charging interfaces are connected to at least two terminal devices respectively, the protocol identification module in the charging device can obtain the charging protocols of the at least two terminal devices respectively.

[0083] Step 702, determining target charging parameters of a target charging signal output by a charging device according to respective charging protocols of at least two terminal devices, so that when the charging device outputs the target charging signal, at least two terminal devices are charged through at least two charging interfaces.

[0084] Optionally, the protocol identification module in the charging device can determine the target charging parameters of the target charging signal output by the charging device according to the respective charging protocols of at least two terminal devices, so that the charging device outputs the target charging signal according to the determined target charging parameters to charge the terminal devices connected to each charging interface. The target charging signal and the target charging parameters can refer to the description in the above-mentioned charging device embodiment, which will not be repeated here.

[0085] In summary, when at least two charging interfaces are respectively connected to at least two terminal devices, the charging device obtains the respective charging protocols of the at least two terminal devices; according to the respective charging protocols of the at least two terminal devices, the target charging parameters of the target charging signal output by the charging device are determined, so that when the charging device outputs the target charging signal, the at least two terminal devices are charged through the at least two charging interfaces. In a charging device with multiple charging interfaces, by obtaining the charging protocols of each terminal device, and determining the target charging parameters of the target charging signal output by the charging device based on the respective charging protocols of each terminal device, and charging at least two terminal devices according to the target charging parameters, the charging efficiency of the terminal devices through the multi-interface data line can be improved.

[0086] In one possible implementation, the charging device can also transmit data signals to any one of the terminal devices while charging multiple terminal devices, thereby realizing data transmission between different terminal devices while charging the terminal devices in a multi-interface data cable, thereby improving the applicability of the charging device.

[0087] Please refer to Figure 8 , which shows a method flow chart of a charging control method provided by an exemplary embodiment of the present application, the charging control method can be applied to the above Figure 5 and Figure 6 In the charging device shown. Figure 8 As shown, the charging control method may include the following steps:

[0088] Step 801: When at least two charging interfaces are respectively connected to at least two terminal devices, respective charging protocols of the at least two terminal devices are obtained.

[0089] Step 802 , detecting whether at least two charging protocols corresponding to at least two terminal devices are compatible.

[0090] Step 803 : when at least two charging protocols are compatible, determine a target charging parameter according to charging parameters supported by each of the at least two charging protocols.

[0091] Step 804 : when at least two charging protocols are incompatible, determining the preset charging parameters as the target charging parameters.

[0092] Step 805: Send the target charging parameters to the power supply device, so that the power supply device outputs the target charging parameters to the power interface according to the target charging parameters.

[0093] Optionally, details of the implementation of steps 801 to 805 may refer to the introduction in the above-mentioned charging device embodiment, which will not be repeated here.

[0094] Take a charging device with one to three ports as an example, please refer to Fig. 9 , which shows a schematic diagram of the structure of a charging device involved in an exemplary embodiment of the present application. Fig. 9 As shown, the charging device 900 includes a power interface 901, a protocol identification module 902, a first charging interface 903, a second charging interface 904, and a third charging interface 905. The specific connection circuit of the charging device 900 can refer to the above Figure 6 The contents in the article will not be repeated here. Fig. 9 In the figure, the terminal device connected to the first charging interface 903 supports PD protocol 9V output, the terminal device connected to the second charging interface 904 supports PD protocol 12V output, and the terminal device connected to the third charging interface 905 supports PD protocol 9V output. The charging protocols of these three terminal devices are compatible. Through the above steps 801 to 803, it can be determined that the PD protocol 9V output is used to charge each terminal device, and the power output of the power interface 901 connected to the power supply is 9V.

[0095] Please refer to Fig.10 , which shows a schematic diagram of the structure of a charging device involved in an exemplary embodiment of the present application. Fig.10 As shown, the charging device 1000 includes a power interface 1001, a protocol identification module 1002, a first charging interface 1003, a second charging interface 1004, and a third charging interface 1005. The specific connection circuit of the charging device 1000 can refer to the above Figure 6 The contents in the article will not be repeated here. Fig.10 In the figure, the terminal device connected to the first charging interface 1003 supports fast charging and is compatible with the QC protocol 9V output, the terminal device connected to the second charging interface 1004 also supports fast charging and is compatible with the QC protocol 9V output, and the terminal device connected to the third charging interface 1005 supports the QC protocol 9V output. The charging protocols of these three terminal devices are compatible. Through the above steps 801 to 803, it can be determined that the QC protocol 9V output is used to charge each terminal device, and the power output of the power interface 1001 connected to the power supply is 9V.

[0096] Please refer to Fig.11 , which shows a schematic diagram of the structure of a charging device involved in an exemplary embodiment of the present application. Fig.11As shown, the charging device 1100 includes a power interface 1101, a protocol identification module 1102, a first charging interface 1103, a second charging interface 1104, and a third charging interface 1105. The specific connection circuit of the charging device 1100 can refer to the above Figure 6 The contents in the article will not be repeated here. Fig.11 In the figure, the terminal device connected to the first charging interface 1103 supports fast charging and is compatible with the QC protocol 9V output, the terminal device connected to the second charging interface 1104 also supports fast charging and is compatible with the QC protocol 9V output, and the terminal device connected to the third charging interface 1105 supports the BC1.2 protocol 9V output. Through the above steps 801 to 804, the charging protocols of these three terminal devices are incompatible. The default charging parameter 5V is determined to charge each terminal device, and the power output of the power interface 1101 connected to the power supply is 5V.

[0097] Optionally, when the charging device is connected to the power supply device, the charging device can also transmit a target data signal to the target terminal device, where the target data signal is a data signal between the power supply device and the target terminal device, and the target terminal device is a terminal device connected to a target charging interface, and the target charging interface is at least one charging interface among at least two charging interfaces.

[0098] Optionally, the target data signal includes a device identifier of the target terminal device, and the charging device may transmit the target data signal to the target terminal device as follows: identify the device identifier of the target terminal device; and send the target data signal to the target terminal device connected to the target charging interface according to the device identifier. Figure 6 The relevant description in will not be repeated here.

[0099] In summary, the charging device provided by the present application obtains the respective charging protocols of at least two terminal devices when at least two charging interfaces are respectively connected to at least two terminal devices; and determines the target charging parameters of the target charging signal output by the charging device according to the respective charging protocols of the at least two terminal devices, so that when the charging device outputs the target charging signal, the at least two terminal devices are charged through the at least two charging interfaces. In a charging device with multiple charging interfaces, by obtaining the charging protocols of each terminal device, and determining the target charging parameters of the target charging signal output by the charging device based on the respective charging protocols of each terminal device, and charging at least two terminal devices according to the target charging parameters, the charging efficiency of the terminal devices through the multi-interface data line can be improved.

[0100] In addition, the scheme's compatible identification of charging protocols can avoid the phenomenon that one-to-multi-interface data lines are incompatible with the protocol, which leads to the fact that most general multi-interface data lines are basically 5V 2A specifications and cannot achieve fast charging. This scheme uses a method for identifying whether the charging protocol is compatible with a multi-interface data line, so that the charging device can identify the charging protocol of the terminal device, select the best charging method according to the protocol compatibility, maximize the overall power of the external charging device, and can charge at high power to reduce the charging time of the device.

[0101] Optionally, an embodiment of the present application further provides a chip, the chip comprising a processor and a memory, the memory storing a computer program, the computer program being executed by the processor to implement all or part of the steps performed by the charging device in the charging control method described in the above embodiments.

[0102] Optionally, an embodiment of the present application further provides a computer-readable medium storing a computer program, which is executed by a processor to implement all or part of the steps performed by the charging device in the charging control method described in the above embodiments.

[0103] Optionally, an embodiment of the present application also provides a computer program product, which stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, the at least one program, the code set or the instruction set are loaded and executed by the processor to implement the charging control method described in the above embodiments, and all or part of the steps performed by the charging device.

[0104] It should be noted that: when the device provided in the above embodiment performs the control of the charging device, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.

[0105] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0106] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.

[0107] The above description is only an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.

Claims

1. A charging device, characterized in that: The charging device includes a power interface, a protocol identification module and at least two charging interfaces; the power interface is electrically connected to the protocol identification module, and the protocol identification module is also electrically connected to the at least two charging interfaces, wherein: The protocol identification module is used to determine the target charging parameter of the target charging signal output by the power interface according to the respective charging protocols of the at least two terminal devices when the at least two charging interfaces are respectively connected to the at least two terminal devices; The power interface is used to output the target charging signal to each of the charging interfaces so as to charge the at least two terminal devices through the at least two charging interfaces.

2. The charging device according to claim 1, characterized in that: The protocol identification module determines the target charging parameter of the target charging signal output by the power interface according to the respective charging protocols of the at least two terminal devices, specifically including: Detecting whether at least two charging protocols corresponding to the at least two terminal devices are compatible; In a case where the at least two charging protocols are compatible, the target charging parameter is determined according to charging parameters respectively supported by the at least two charging protocols.

3. The charging device according to claim 2, characterized in that: The protocol identification module determines the target charging parameter of the target charging signal output by the power interface according to the respective charging protocols of the at least two terminal devices, specifically including: In a case where the at least two charging protocols are incompatible, a preset charging parameter is determined as the target charging parameter.

4. The charging device according to claim 1, characterized in that: The charging device is electrically connected to the power supply equipment through the power interface; The protocol identification module is further used to, after determining the target charging parameter, send the target charging parameter to the power supply device, so that the power supply device outputs the target charging signal to the power interface according to the target charging parameter.

5. The charging device according to any one of claims 1 to 4, characterized in that: The power interface includes a first charging lead and a first data lead; each of the charging interfaces includes a second charging lead and a second data lead; The first charging lead is electrically connected to the second charging lead included in each charging interface, the first data lead is electrically connected to the protocol identification module, and the protocol identification module is also electrically connected to the second data lead included in each charging interface; The protocol identification module is used to obtain the charging protocols of the at least two terminal devices through the second data lead; and after determining the target charging parameters according to the charging protocols of the at least two terminal devices, transmit the target charging parameters through the first data lead; The power supply interface is used to output the target charging signal to each of the charging interfaces through the first charging lead and the second charging lead included in each of the charging interfaces.

6. The charging device according to claim 5, characterized in that: The first charging lead includes a first charging positive lead and a first charging negative lead, and the first data lead includes a first data positive lead and a first data negative lead; The second charging lead includes a second positive charging lead and a second negative charging lead, and the second data lead includes a second positive data lead and a second negative data lead; The first charging positive lead is electrically connected to the second charging positive lead, and the first charging negative lead is electrically connected to the second charging negative lead; The first data positive lead and the first data negative lead are connected to the protocol identification module; the second data positive lead and the second data negative lead are connected to the protocol identification module.

7. The charging device according to any one of claims 1 to 4, characterized in that: The at least two charging interfaces include a charging interface corresponding to at least one interface standard.

8. The charging device according to any one of claims 1 to 4, characterized in that: The charging device is also used to transmit a target data signal through the protocol identification module and the target charging interface when the power interface is connected to the power supply device. The target data signal is a data signal between the power supply device and the target terminal device. The target terminal device is a terminal device connected to the target charging interface. The target charging interface is at least one charging interface among the at least two charging interfaces.

9. The charging device according to claim 8, characterized in that: The target data signal includes the device identification of the target terminal device, and the target data signal is transmitted through the protocol identification module and the target charging interface, specifically including: The device identification of the target terminal device is identified by the protocol identification module, and the target data signal is sent to the target terminal device connected to the target charging interface according to the device identification.

10. A charging control method, characterized in that: Applied to a charging device, the charging device comprises at least two charging interfaces, and the method comprises: When the at least two charging interfaces are respectively connected to at least two terminal devices, obtaining charging protocols of the at least two terminal devices; According to the respective charging protocols of the at least two terminal devices, target charging parameters of the target charging signal output by the charging device are determined so that when the charging device outputs the target charging signal, the at least two terminal devices are charged through the at least two charging interfaces.

11. The method according to claim 10, characterized in that The determining, according to the respective charging protocols of the at least two terminal devices, the target charging parameter of the target charging signal output by the charging device comprises: Detecting whether at least two charging protocols corresponding to the at least two terminal devices are compatible; In a case where the at least two charging protocols are compatible, determining the target charging parameter according to charging parameters respectively supported by the at least two charging protocols; In a case where the at least two charging protocols are incompatible, a preset charging parameter is determined as the target charging parameter.

12. The method according to claim 10, characterized in that The charging device is electrically connected to the power supply device through the power interface; after determining the target charging parameter, it also includes: The target charging parameter is sent to the power supply device, so that the power supply device outputs the target charging parameter to the power interface according to the target charging parameter.

13. The method according to claim 10, characterized in that When the charging device is connected to a power supply device, the method further includes: A target data signal is transmitted to a target terminal device, wherein the target data signal is a data signal between the power supply device and the target terminal device, the target terminal device is a terminal device connected to the target charging interface, and the target charging interface is at least one charging interface among the at least two charging interfaces.

14. The method according to claim 13, characterized in that The target data signal includes a device identification of the target terminal device, and transmitting the target data signal to the target terminal device includes: Identify the device identifier of the target terminal device; According to the device identifier, the target data signal is sent to the target terminal device connected to the target charging interface.

15. A chip, characterized in that: The chip includes a processor and a memory, wherein a computer program is stored in the memory, and the computer program is executed by the processor to implement the charging control method according to any one of claims 10 to 14.

16. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and the computer program is executed by a processor to implement the charging control method according to any one of claims 10 to 14.