CN111817097A - Charging control method and data line - Google Patents

Charging control method and data line Download PDF

Info

Publication number
CN111817097A
CN111817097A CN202010675101.4A CN202010675101A CN111817097A CN 111817097 A CN111817097 A CN 111817097A CN 202010675101 A CN202010675101 A CN 202010675101A CN 111817097 A CN111817097 A CN 111817097A
Authority
CN
China
Prior art keywords
protocol
data line
charging
module
electrically connected
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010675101.4A
Other languages
Chinese (zh)
Inventor
高超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202010675101.4A priority Critical patent/CN111817097A/en
Publication of CN111817097A publication Critical patent/CN111817097A/en
Priority to PCT/CN2021/106004 priority patent/WO2022012528A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01RELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
    • H01R31/00Coupling parts supported only by co-operation with counterpart
    • H01R31/06Intermediate parts for linking two coupling parts, e.g. adapter
    • H01R31/065Intermediate parts for linking two coupling parts, e.g. adapter with built-in electric apparatus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01RELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
    • H01R27/00Coupling parts adapted for co-operation with two or more dissimilar counterparts
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/00032Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by data exchange

Landscapes

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

Abstract

The application provides a charging control method and a data line, wherein the data line comprises: the first interface comprises a processor, a first protocol module, a second protocol module and a third protocol module, wherein one end of the first protocol module is electrically connected with a signal terminal of the second interface, and the other end of the first protocol module is electrically connected with a first port of the processor; one end of the second protocol module is electrically connected with the second port of the processor, and the other end of the second protocol module is electrically connected with the first signal terminal of the first interface; one end of the third protocol module is electrically connected with the third port of the processor, and the other end of the third protocol module is electrically connected with the second type signal terminal of the first interface; the processor is used for controlling the second protocol module or the third protocol module to communicate with the electronic equipment according to the first charging protocol adapted to the electronic equipment and the second charging protocol between the second interface and the adapter. Therefore, the quick charging compatibility of the data line can be improved.

Description

Charging control method and data line
Technical Field
The present application relates to the field of charging technologies, and in particular, to a charging control method and a data line.
Background
With the development of the fast charging technology, more and more electronic devices such as mobile phones and notebook computers support the fast charging technology. However, different mobile phones have different fast charging protocols, and computer terminals also have the fast charging protocol of notebook terminals, so that a user can configure a plurality of chargers to meet the fast charging requirements of electronic devices with different fast charging protocols. Therefore, the existing quick charging technology has the problem of poor compatibility.
Disclosure of Invention
The embodiment of the application provides a charging control method and a data line, and can solve the problem of poor compatibility in the existing quick charging technology.
In order to solve the above technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a data line, which is used for converting a fast charging protocol between an electronic device and an adapter, and includes: a first interface for connecting with the electronic device, a second interface for connecting with the adapter, and a transmission cable connecting the first interface and the second interface, the first interface including a processor, a first protocol module, a second protocol module, and a third protocol module,
one end of the first protocol module is electrically connected with the signal terminal of the second interface, and the other end of the first protocol module is electrically connected with the first port of the processor;
one end of the second protocol module is electrically connected with the second port of the processor, and the other end of the second protocol module is electrically connected with the first-class signal terminal of the first interface;
one end of the third protocol module is electrically connected with a third port of the processor, and the other end of the third protocol module is electrically connected with a second type signal terminal of the first interface;
the processor is used for controlling the second protocol module or the third protocol module to communicate with the electronic equipment according to the first charging protocol adapted to the electronic equipment and the second charging protocol between the second interface and the adapter.
In a second aspect, an embodiment of the present application further provides a charging control method, which is applied to the data line, where the data line includes a second protocol module supporting a second charging protocol and a third protocol module supporting a first charging protocol, and the method includes:
acquiring the first charging protocol adapted to the electronic equipment and the second charging protocol between the second interface and the adapter;
under the condition that the charging protocols of the first charging protocol and the second charging protocol are the same, controlling the third protocol module to communicate with the electronic equipment; or, when the charging protocols of the first charging protocol and the second charging protocol are different, the second protocol module is controlled to communicate with the electronic device.
In a third aspect, an embodiment of the present application provides a data line, including:
the data line includes a second protocol module supporting a second charging protocol and a third protocol module supporting a first charging protocol, and further includes:
the acquisition module is used for the first charging protocol adapted to the electronic equipment and the second charging protocol between the second interface of the data line and the adapter;
the communication module is used for controlling the third protocol module to communicate with the electronic equipment under the condition that the charging protocols of the first charging protocol and the second charging protocol are the same; or, the second protocol module is controlled to communicate with the electronic device when the charging protocols of the first charging protocol and the second charging protocol are different.
In a fourth aspect, the present application provides a data line, and the electronic device includes a processor, a memory, and a program or an instruction stored on the memory and executable on the processor, and when executed by the processor, the program or the instruction implements the steps of the method according to the second aspect.
In a fifth aspect, the present application provides a computer-readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the second aspect.
In a sixth aspect, the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the second aspect.
In the embodiment of the application, the processor, the first protocol module, the second protocol module and the third protocol module are arranged in the first interface of the data line, so that the data line has a function of converting a fast charging protocol, and the second protocol module or the third protocol module is controlled to communicate with the electronic device according to the fast charging protocol adapted to the electronic device and the charging protocol between the second interface and the adapter, so that the fast charging capability of the data line is improved, the data line can perform fast charging on the electronic devices with different fast charging protocols, and the fast charging compatibility of the data line is effectively improved.
Drawings
Fig. 1 is a schematic diagram of charging a data line provided in an embodiment of the present application;
fig. 2 is a structural diagram of a charging protocol extension function module according to an embodiment of the present disclosure;
fig. 3 is a flowchart of a charging control method provided in an embodiment of the present application;
FIG. 4 is a block diagram of a data line according to an embodiment of the present disclosure;
fig. 5 is a second structural diagram of a data line according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein. In addition, "and/or" in the specification means at least one of the connected objects, a character "/", and generally means that the former and latter related objects are in an "or" relationship.
As shown in fig. 1 and fig. 2, an embodiment of the present application provides a data line, where the data line 100 may be used for converting a fast charging protocol between an electronic device 200 and an adapter 300, and includes: a first interface 110 for making an electrical connection with the electronic device 200, a second interface 120 for making an electrical connection with the adapter 300, and a transmission cable 130 electrically connecting the first interface 110 and the second interface 120, wherein the first interface 110 includes a processor 1111, a first protocol module 1112, a second protocol module 1113, and a third protocol module 1114, wherein one end of the first protocol module 1112 is electrically connected with a signal terminal of the second interface 120, and the other end is electrically connected with a first port of the processor 1111; one end of the second protocol module 1113 is electrically connected to the second port of the processor 1111, and the other end is electrically connected to the first signal terminal of the first interface 110; one end of the third protocol module 1114 is electrically connected to the third port of the processor 1111, and the other end is electrically connected to the second type signal terminal of the first interface 110;
the processor 1111 is configured to control the second protocol module 1113 or the third protocol module 1114 to communicate with the electronic device 200 according to the first charging protocol adapted by the electronic device 200 and the second charging protocol between the second interface 120 and the adapter 300.
In this embodiment, the processor 1111, the first protocol module 1112, the second protocol module 1113, and the third protocol module 1114 are disposed in the first interface 110 of the data line 100, so that the data line 100 has a function of converting a fast charging protocol, and can control the second protocol module 1113 or the third protocol module 1114 to communicate with the electronic device 200 according to the fast charging protocol adapted to the electronic device 200 and the charging protocol between the second interface 120 and the adapter 300, thereby improving the fast charging capability of the data line 100, enabling the data line 100 to perform fast charging on electronic devices with different fast charging protocols, and effectively improving the fast charging compatibility of the data line 100.
The processor 1111, the first protocol module 1112, the second protocol module 1113, and the third protocol module 1114 may form a charging protocol extension function module 111 in the first interface 110, for implementing a conversion function of a fast charging protocol of the data line 100.
The first fast charging protocol adapted by the electronic device 200 and the second fast charging protocol between the second interface 120 and the adapter 300 are obtained to determine whether the fast charging protocol adapted by the electronic device 200 is consistent with the fast charging protocol between the second interface 120 and the adapter 300; if the first fast charge protocol adapted to the electronic device 200 is consistent with the second fast charge protocol, that is, the electronic device 200 conforms to the second fast charge protocol, the electronic device 200 is fast charged through the second fast charge protocol, and meanwhile, other open fast charge protocols can be shielded; if the first fast-charging protocol adapted by the electronic device 200 is not consistent with the second fast-charging protocol, that is, the electronic device 200 is not consistent with the second fast-charging protocol, the fast-charging protocol between the first interface 110 and the electronic device 200 is configured as the first fast-charging protocol, so as to perform fast charging on the electronic device 200 through the first fast-charging protocol.
When the fast charging protocol between the first interface 110 and the electronic device 200 is configured as the first fast charging protocol, in the process that the adaptor 300 and the electronic device 200 perform communication data interaction through the data line 100, the adaptor 300 performs communication data interaction with the second interface 120 of the data line 100 through the second fast charging protocol, and the electronic device 200 performs communication data interaction with the first interface 110 of the data line 100 through the first fast charging protocol; and performs decoding conversion on the communication data between the second interface 120 and the first interface 110 so that the communication data interacted with through the first charging protocol and the communication data interacted with through the second charging protocol can be interacted with.
For example, the adapter 300 and the second interface 120 transmit first data to the electronic device through the second charging protocol, the first data is decoded and converted into second data through the processor 1111 of the first interface 110, and the second data is communication data that can interact with each other through the first charging protocol, that is, the second data can be transmitted to the electronic device 200 through the first charging protocol between the first interface 110 and the electronic device 200, so that the electronic device 200 can receive the communication data transmitted by the adapter. In this way, when the charging protocol adapted by the adaptor 300 is inconsistent with the charging protocol adapted by the electronic device, the interaction of the communication data between the adaptor 300 and the electronic device 200 is realized by using the conversion capability of the fast charging protocol of the data line 100.
Moreover, the processor 1111 may process the acquired first charging protocol and the acquired second charging protocol to determine whether the first charging protocol and the second charging protocol are consistent, and configure the charging protocol between the first interface 110 and the electronic device 200, that is, to control the second protocol module 1113 to communicate with the electronic device 200, or to control the third protocol module 1114 to communicate with the electronic device 200.
For example, when the charging protocol contents of the first protocol module 1112 and the second protocol module 1113 are the same, if the first charging protocol is consistent with the second charging protocol, the second protocol module 1113 is controlled to communicate with the electronic device 200; if the first charging protocol is not consistent with the second charging protocol, the third protocol module 1114 is controlled to communicate with the electronic device 200.
In the process that the first charging protocol is inconsistent with the second charging protocol and the third protocol module 1114 is controlled to communicate with the electronic device 200, the processor 1111 may perform decoding conversion on the communication data transmitted by the first protocol module 1112 and the communication data transmitted by the third protocol module 1114, so that the communication data may be interactively transmitted in different charging protocols. For example, the processor 1111, upon receiving the first data transmitted by the first protocol module 1112 based on the second charging protocol, decodes and converts the first data into second data adapted to the first charging protocol, and transmits the second data to the electronic device 200 through the third protocol module 1114, thereby implementing the interaction of the communication data between the adapter 300 and the electronic device 200.
Optionally, the data line 100 further includes a switch component 140, one end of the switch component 140 is electrically connected to the power terminal of the data line 100, and the other end is electrically connected to the fourth port of the processor 1111;
the data line 100 further includes a temperature detection module (not shown) for detecting the temperature of the data line 100 and electrically connected to the processor 1111;
when the temperature detection module detects that the temperature of the data line 100 is higher than a preset temperature, the processor 1111 controls the switch assembly 140 to be in an off state.
In this embodiment, by providing the switch module 140 and the temperature detection module, the abnormal protection of the data line 100, especially the over-temperature protection of the port or the transmission cable 130, can be realized, so as to prolong the service life of the data line 100.
The following description is given with reference to a specific embodiment, including the following:
the adapter 300 includes a protocol chip control module 310, and the protocol chip control module 310 is preset with a fast charging protocol, which may be the second charging protocol in the above embodiment, where the fast charging protocols of adapters of different manufacturers may be different.
The electronic device 200 may be a general-purpose terminal device, and the fast charging protocol may be a fast charging protocol that is standardized by each manufacturer, or may be a standard fast charging protocol.
The data line 100 may be an a-C data line, i.e., one end is a conventional a-Type interface, and the other end is a C-Type interface, such as a Type-C interface; and includes a power line, a data signal line, and a ground line. Here, the class a port is a port connected to the adapter 300, i.e., the second interface in the above-described embodiment, and the class C port is a port connected to the electronic device 200, i.e., the first interface in the above-described embodiment. And the charging protocol extension function module 111 is arranged inside the class C port, the charging protocol extension function module 111 includes a protocol module matched with the adapter 300, that is, a first protocol module 1112, which may be used by the adapter 300 to perform handshake communication, and the charging protocol extension function module 111 further includes a third protocol module 1114 capable of communicating with the electronic device 200.
The first-class signal terminal can comprise a D + terminal and a D-terminal, and can realize protocol communication of the A-class port; the second type of signal terminals may include a CC1 terminal and a CC2 terminal, which may implement protocol communication for a type C port.
The switch component 140 is a protection switch of the data line 100, and can be driven and controlled by the charging protocol extension function module 111, and realize functions such as abnormal protection and port over-temperature protection.
In the charging process, that is, in the process that the data line 100 is respectively electrically connected to the adapter 300 and the electronic device 200, and the electronic device 200 is rapidly charged, the method includes the following steps:
a. the adapter 300 is powered on, the protocol chip control module 310 controls the power line of the adapter 300 to output 5V voltage, and at this time, the switch component 140 is disconnected by default;
b. the first protocol module 1112 of the charging protocol extension function module 111 performs handshake communication with the protocol chip control module 310 of the adapter 300, identifies whether the adapter 300 is a standard adapter of a second charging protocol, and after the handshake is successful, the adapter 300 maintains a communication state of performing communication by using the second charging protocol by reading information such as power regulation capability output by the adapter 300;
c1, when the electronic device 200 is not plugged into the first interface 110 of the data line 100, the charging protocol extension function module 111 cannot read the pull-down resistor 210 of the charging interface of the electronic device 200, the switch assembly 140 is disconnected, and the power line of the data line 100 keeps no output;
c2, when the electronic device 200 is inserted into the first interface 110 of the data line 100, the third protocol module 1114 of the charging protocol extension function module 111 provides a pull-up resistor and reads the pull-down resistor 210 of the charging interface of the electronic device 200, it is determined that the first interface 110 is connected to the charging interface of the electronic device 200, the switch component 140 is controlled to be closed, the power line of the data line 100 is powered, and the charging protocol extension function module 111 communicates with the electronic device 200 through the second protocol module 1113;
the third protocol module 1114 may be electrically connected to the second type signal terminal of the first interface 110, and may perform communication interaction with the signal terminal of the electronic device 200 through the second type signal terminal; the second type signal terminal includes a first signal terminal and a second signal terminal, the data line 100 further includes a first pull-up resistor 150 and a second pull-up resistor 160, one end of the first pull-up resistor 150 is electrically connected to the first signal terminal, and the other end is electrically connected to the power supply terminal of the data line 100; the second pull-up electron 160 has one end electrically connected to the second signal terminal and the other end electrically connected to the power supply terminal of the data line 100.
c3, if the electronic device 200 conforms to the second charging protocol adapted by the adapter 300, sending the adapter information and the data line information of the electronic device 200 acquired in the step b to the electronic device 200 through the second protocol module 1113, shielding other charging protocols, and then charging the electronic device 200 according to the second charging protocol;
c4, if the electronic device 200 does not conform to the second charging protocol adapted by the adapter 300 but conforms to the charging protocol supported by the third protocol module 1114, the communication between the third protocol module 1114 and the electronic device 200 is realized through the second type signal terminal, and the adapter information and the data line information thereof obtained in step b are sent to the electronic device 200.
d. After the electronic device 200 successfully handshakes through the third protocol module 1114 and determines the output capabilities of the data line 100 and the adapter 300, the charging party that the adapter can satisfy can be selected according to the requirements of the electronic device 200, a communication code is sent through the second signal terminal, and the voltage and current request information required by the electronic device 200 is sent to the third protocol module 1114;
c. after the third protocol module 1114 receives the request information of the electronic device 200, the processor 1111 internally decodes and converts the request information, and then the first protocol module 1112 sends the decoded and converted communication data to the protocol chip control module 310 of the adapter 300, and then the protocol chip control module 310 adjusts the voltage and current parameters of the adapter 300 and outputs the voltage and current required by the electronic device 200, thereby implementing the power control requirement of the electronic device 200.
It should be noted that, when the charging protocol adapted by the adapter 300 is inconsistent with the charging protocol supported by the first protocol module 1112 of the data line 100, the power line of the adapter 300 is powered by default, the handshake between the charging protocol extension function module 111 and the adapter 300 fails, and a pull-up resistor is provided through the second type signal terminal; if the electronic device 200 is inserted into the first interface 110 of the data line 100, the pull-down resistor 210 of the charging interface of the electronic device 200 is read, the switch component 140 is controlled to be closed, and the power line of the data line 100 is electrified, so that common charging is realized; if the electronic device 200 is not plugged into the first interface 110 of the data line 100, the control switch component 140 remains off, and the power line of the data line 100 has no output.
By adopting the data line provided by the embodiment of the application, under the condition that the charging protocol adapted to the adapter 300 is inconsistent with the charging protocol adapted to the electronic device, the interaction of the communication data between the adapter 300 and the electronic device 200 is realized by utilizing the conversion capability of the fast charging protocol of the data line 100.
Moreover, the data line 100 can still maintain the USB-a type port, thereby ensuring the quality and low failure rate of the interface.
Furthermore, the first interface 110 is provided with the charging protocol extension function module 111, so that the compatibility of the data line 100 is improved, a C-type pin does not need to be arranged on the transmission cable, the data line is thinner, the number of pins is less, and the difficulty in manufacturing the data line and the manufacturing cost can be reduced.
As shown in fig. 3, an embodiment of the present application further provides a charging control method, which may be applied to the data line in the foregoing embodiment, where the data line includes a second protocol module supporting a second charging protocol and a third protocol module supporting a first charging protocol, and includes the following steps:
step 301, obtaining the first charging protocol adapted to the electronic device and the second charging protocol between the second interface and the adapter.
Step 302, controlling the third protocol module to communicate with the electronic device under the condition that the charging protocols of the first charging protocol and the second charging protocol are the same; or, when the charging protocols of the first charging protocol and the second charging protocol are different, the second protocol module is controlled to communicate with the electronic device.
In this embodiment, the first fast charging protocol adapted to the electronic device and the second fast charging protocol between the second interface and the adapter are obtained to determine whether the fast charging protocol adapted to the electronic device is consistent with the fast charging protocol between the second interface and the adapter; if the first fast charging protocol adapted to the electronic equipment is consistent with the second fast charging protocol, namely the electronic equipment conforms to the second fast charging protocol, the electronic equipment is fast charged through the second fast charging protocol, and other open fast charging protocols can be shielded; if the first fast charge protocol adapted to the electronic device is inconsistent with the second fast charge protocol, that is, the electronic device is not in line with the second fast charge protocol, the fast charge protocol between the first interface and the electronic device is configured to be the first fast charge protocol, so that the electronic device is fast charged through the first fast charge protocol.
The first charging protocol and the second charging protocol are acquired and processed by the processor to judge whether the first charging protocol and the second charging protocol are consistent, and the charging protocol between the first interface and the electronic device is configured, namely, the second protocol module is controlled to communicate with the electronic device, or the third protocol module is controlled to communicate with the electronic device.
Therefore, the charging protocol between the first interface and the electronic equipment is configured according to the first charging protocol and the second charging protocol, so that the quick charging capability of the data line is improved, the data line can perform quick charging on the electronic equipment with different quick charging protocols, and the quick charging compatibility of the data line is effectively improved.
Optionally, the data line further includes a switch component, one end of the switch component is electrically connected to the power terminal of the data line, and the other end of the switch component is electrically connected to the processor of the data line, and the method further includes: and when the temperature of the data line is higher than the preset temperature, controlling the switch assembly to be in a disconnected state.
In this embodiment, the temperature of the data line is detected, and the switch component is controlled to be in the off state when the temperature of the data line is higher than the preset temperature, so that the abnormal protection of the data line, especially the over-temperature protection of the port or the transmission cable, is realized, and the service life of the data line is prolonged.
According to the charging control method provided by the embodiment of the application, the first charging protocol adapted to the electronic equipment and the second charging protocol between the second interface and the adapter are obtained; under the condition that the charging protocols of the first charging protocol and the second charging protocol are the same, controlling the third protocol module to communicate with the electronic equipment; or, when the charging protocols of the first charging protocol and the second charging protocol are different, the second protocol module is controlled to communicate with the electronic device. Therefore, the charging protocol between the first interface and the electronic equipment is configured according to the first charging protocol and the second charging protocol, so that the quick charging capability of the data line is improved, the data line can perform quick charging on the electronic equipment with different quick charging protocols, and the quick charging compatibility of the data line is effectively improved.
In the charging control method provided in the embodiments of the present application, the execution main body may be a charging control device, or a control module used in the charging control device to execute the charging control method. In the embodiment of the present application, a charging control method executed by a charging control device is taken as an example, and the charging control device provided in the embodiment of the present application is described.
As shown in fig. 4, an embodiment of the present application provides a data line, where the data line 400 includes a second protocol module supporting a second charging protocol and a third protocol module supporting a first charging protocol, and further includes:
an obtaining module 401, configured to obtain the first charging protocol adapted to the electronic device and the second charging protocol between the second interface of the data line and the adapter;
a communication module 402, configured to control the third protocol module to communicate with the electronic device when the charging protocols of the first charging protocol and the second charging protocol are the same; or, the second protocol module is controlled to communicate with the electronic device when the charging protocols of the first charging protocol and the second charging protocol are different.
Optionally, the data line further includes a switch component, one end of the switch component is electrically connected to the power terminal of the data line, and the other end of the switch component is electrically connected to the processor of the data line, and the data line 400 further includes:
and the control module is used for controlling the switch assembly to be in a disconnected state when the temperature of the data line is higher than a preset temperature.
The data line provided in the embodiment of the present application can implement each process implemented by the method embodiment of fig. 3, and is not described here again to avoid repetition.
Optionally, as shown in fig. 5, an embodiment of the present application further provides a data line 500, which includes a processor 501, a memory 502, and a program or an instruction stored in the memory 502 and executable on the processor 501, and when the program or the instruction is executed by the processor 501, the process of the charging control method embodiment is implemented, and the same technical effect can be achieved, and in order to avoid repetition, details are not repeated here.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above charging control method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the above charging control method embodiment, and can achieve the same technical effect, and the details are not repeated here to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A data line for conversion of a fast-fill protocol between an electronic device and an adapter, comprising: a first interface for connecting with the electronic device, a second interface for connecting with the adapter, and a transmission cable connecting the first interface and the second interface, the first interface including a processor, a first protocol module, a second protocol module, and a third protocol module,
one end of the first protocol module is electrically connected with the signal terminal of the second interface, and the other end of the first protocol module is electrically connected with the first port of the processor;
one end of the second protocol module is electrically connected with the second port of the processor, and the other end of the second protocol module is electrically connected with the first-class signal terminal of the first interface;
one end of the third protocol module is electrically connected with a third port of the processor, and the other end of the third protocol module is electrically connected with a second type signal terminal of the first interface;
the processor is used for controlling the second protocol module or the third protocol module to communicate with the electronic equipment according to the first charging protocol adapted to the electronic equipment and the second charging protocol between the second interface and the adapter.
2. The data line of claim 1, wherein the second type of signal terminal comprises a first signal terminal and a second signal terminal, the data line further comprising a first resistance and a second resistance;
one end of the first resistor is electrically connected with the first signal terminal, and the other end of the first resistor is electrically connected with a power supply terminal of the data line;
one end of the second resistor is electrically connected to the second signal terminal, and the other end is electrically connected to a power supply terminal of the data line.
3. The data line of claim 1 or 2, further comprising a switch assembly, one end of the switch assembly being electrically connected to the power terminal of the data line, and the other end of the switch assembly being electrically connected to the fourth port of the processor;
the data line further comprises a temperature detection module, and the temperature detection module is used for detecting the temperature of the data line and is electrically connected with the processor;
when the temperature detection module detects that the temperature of the data line is higher than a preset temperature, the processor controls the switch assembly to be in a disconnected state.
4. The data line of claim 1 or 2, wherein the charging protocol of the first protocol module and the charging protocol of the second protocol module are the same.
5. The data line of claim 1 or 2, wherein the first type of signal terminals comprise D + terminals and D-terminals, and the second type of signal terminals comprise CC1 terminals and CC2 terminals.
6. A charging control method applied to the data line according to any one of claims 1 to 5, the data line including a second protocol module supporting a second charging protocol and a third protocol module supporting a first charging protocol, the method comprising:
acquiring the first charging protocol adapted to the electronic equipment and the second charging protocol between the second interface and the adapter;
under the condition that the charging protocols of the first charging protocol and the second charging protocol are the same, controlling the third protocol module to communicate with the electronic equipment; or, when the charging protocols of the first charging protocol and the second charging protocol are different, the second protocol module is controlled to communicate with the electronic device.
7. The method of claim 6, wherein the data line further comprises a switch assembly, one end of the switch assembly being electrically connected to a power terminal of the data line and the other end being electrically connected to a processor of the data line, the method further comprising:
and when the temperature of the data line is higher than the preset temperature, controlling the switch assembly to be in a disconnected state.
8. A data line, wherein the data line includes a second protocol module supporting a second charging protocol and a third protocol module supporting a first charging protocol, and further comprising:
the acquisition module is used for the first charging protocol adapted to the electronic equipment and the second charging protocol between the second interface of the data line and the adapter;
the communication module is used for controlling the third protocol module to communicate with the electronic equipment under the condition that the charging protocols of the first charging protocol and the second charging protocol are the same; or, the second protocol module is controlled to communicate with the electronic device when the charging protocols of the first charging protocol and the second charging protocol are different.
9. The data line of claim 8, further comprising a switch assembly having one end electrically connected to a power terminal of the data line and another end electrically connected to a processor of the data line, the data line further comprising:
and the control module is used for controlling the switch assembly to be in a disconnected state when the temperature of the data line is higher than a preset temperature.
10. A data line comprising a processor, a memory and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the charge control method of claim 6 or 7.
CN202010675101.4A 2020-07-14 2020-07-14 Charging control method and data line Pending CN111817097A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010675101.4A CN111817097A (en) 2020-07-14 2020-07-14 Charging control method and data line
PCT/CN2021/106004 WO2022012528A1 (en) 2020-07-14 2021-07-13 Charging control method and data line

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010675101.4A CN111817097A (en) 2020-07-14 2020-07-14 Charging control method and data line

Publications (1)

Publication Number Publication Date
CN111817097A true CN111817097A (en) 2020-10-23

Family

ID=72842432

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010675101.4A Pending CN111817097A (en) 2020-07-14 2020-07-14 Charging control method and data line

Country Status (2)

Country Link
CN (1) CN111817097A (en)
WO (1) WO2022012528A1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112738328A (en) * 2020-12-24 2021-04-30 维沃移动通信有限公司 Electronic device
CN112737028A (en) * 2020-12-29 2021-04-30 维沃移动通信有限公司 Charging conversion equipment and charging control method
CN112838635A (en) * 2021-01-06 2021-05-25 闻泰通讯股份有限公司 Interface circuit and intelligent device
WO2022012528A1 (en) * 2020-07-14 2022-01-20 维沃移动通信有限公司 Charging control method and data line
CN114185826A (en) * 2021-12-13 2022-03-15 深圳市绿联科技股份有限公司 Interface adapter for external storage equipment
CN114844180A (en) * 2022-07-01 2022-08-02 龙旗电子(惠州)有限公司 Charging method, device and equipment applied to electronic equipment and storage medium
WO2022228246A1 (en) * 2021-04-27 2022-11-03 维沃移动通信有限公司 Interface circuit, electronic device and communication signal transmission method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20100004003U (en) * 2008-10-07 2010-04-15 (주)중앙티앤씨 a Multi functional gender for mobile phon including solar cell
CN203135171U (en) * 2012-09-07 2013-08-14 苹果公司 Connector adapter
CN106374309A (en) * 2016-11-02 2017-02-01 上海传英信息技术有限公司 USB transmission line, mobile terminal and USB charging method
US20170222459A1 (en) * 2016-02-03 2017-08-03 Samsung Electronics Co., Ltd. Method and apparatus for high speed charging using various charging schemes
CN208158154U (en) * 2018-03-20 2018-11-27 新港海岸(北京)科技有限公司 Fast charge line and fast charging system
CN208862330U (en) * 2018-10-10 2019-05-14 深圳造物部落科技有限公司 A kind of fast charge data line

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106849230B (en) * 2017-01-20 2018-08-28 吴钰淳 Fast charge method for converting protocol and data line
CN207199982U (en) * 2017-09-26 2018-04-06 厦门美图移动科技有限公司 A kind of data wire
CN107834628B (en) * 2017-11-02 2024-04-12 芯海科技(深圳)股份有限公司 Circuit and method for realizing multiple fast charging protocols based on TYPE-C interface
CN111817097A (en) * 2020-07-14 2020-10-23 维沃移动通信有限公司 Charging control method and data line

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20100004003U (en) * 2008-10-07 2010-04-15 (주)중앙티앤씨 a Multi functional gender for mobile phon including solar cell
CN203135171U (en) * 2012-09-07 2013-08-14 苹果公司 Connector adapter
US20170222459A1 (en) * 2016-02-03 2017-08-03 Samsung Electronics Co., Ltd. Method and apparatus for high speed charging using various charging schemes
CN106374309A (en) * 2016-11-02 2017-02-01 上海传英信息技术有限公司 USB transmission line, mobile terminal and USB charging method
CN208158154U (en) * 2018-03-20 2018-11-27 新港海岸(北京)科技有限公司 Fast charge line and fast charging system
CN208862330U (en) * 2018-10-10 2019-05-14 深圳造物部落科技有限公司 A kind of fast charge data line

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022012528A1 (en) * 2020-07-14 2022-01-20 维沃移动通信有限公司 Charging control method and data line
CN112738328A (en) * 2020-12-24 2021-04-30 维沃移动通信有限公司 Electronic device
CN112737028A (en) * 2020-12-29 2021-04-30 维沃移动通信有限公司 Charging conversion equipment and charging control method
CN112737028B (en) * 2020-12-29 2022-12-27 维沃移动通信有限公司 Charging conversion equipment and charging control method
CN112838635A (en) * 2021-01-06 2021-05-25 闻泰通讯股份有限公司 Interface circuit and intelligent device
WO2022228246A1 (en) * 2021-04-27 2022-11-03 维沃移动通信有限公司 Interface circuit, electronic device and communication signal transmission method
CN114185826A (en) * 2021-12-13 2022-03-15 深圳市绿联科技股份有限公司 Interface adapter for external storage equipment
CN114844180A (en) * 2022-07-01 2022-08-02 龙旗电子(惠州)有限公司 Charging method, device and equipment applied to electronic equipment and storage medium

Also Published As

Publication number Publication date
WO2022012528A1 (en) 2022-01-20

Similar Documents

Publication Publication Date Title
CN111817097A (en) Charging control method and data line
CN108695921B (en) Data backup method, wireless charging device, mobile terminal and storage medium
EP3149832B1 (en) Baseband pd communication over usb standard a connector
CN111697663B (en) Charging circuit and charging cable
EP3171484B1 (en) Mobile terminal, power supply adapter, and upgrading method thereof
US10412207B2 (en) Mobile terminal, power adapter, and upgrade method thereof
CN107302251A (en) A kind of intelligent movable power supplies and the method that usb data communication is carried out with it
CN109245199A (en) Charging method, charging unit, power supply provide equipment and terminal to be charged
KR20170002665A (en) Power adaptor, terminal and charging system
CN107453428B (en) A kind of method of automatic identification apple and Android device
CN107707000B (en) OTG power supply and wireless charging compatible circuit, related method and terminal equipment
CN102981916B (en) A kind of mobile terminal and control method thereof and device
CN109254210B (en) Electronic equipment port type detection method and device, detection circuit and electronic equipment
US9971591B2 (en) Mobile terminal, power adapter, and upgrade method thereof
CN213399565U (en) Charging circuit and electronic device
CN103473198A (en) Method for sharing and transmitting files between mobile terminals
CN109861038B (en) USB connection port capable of automatically switching connection mode and control method thereof
CN113054716A (en) Charging chip, charging device and mobile terminal
CN111817383A (en) Adapter, charger and charging equipment
CN112825401B (en) Charging line, charger, charging control method and charging device
CN216530587U (en) Power supply connector for supplying power to master equipment and slave equipment
CN111224453B (en) Communication method based on charging wire, charging device, intelligent device and storage medium
EP2645202B1 (en) Method for supplying power to wireless network terminal and wireless network terminal
CN108886225B (en) Charging cable
CN111224444A (en) Method and system for applying intelligent power adapter

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20201023