CN113937832A - Charging cable, and identification method and system of charging cable - Google Patents

Charging cable, and identification method and system of charging cable Download PDF

Info

Publication number
CN113937832A
CN113937832A CN202010607070.9A CN202010607070A CN113937832A CN 113937832 A CN113937832 A CN 113937832A CN 202010607070 A CN202010607070 A CN 202010607070A CN 113937832 A CN113937832 A CN 113937832A
Authority
CN
China
Prior art keywords
charging
charging cable
pin
discovery
power supply
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.)
Granted
Application number
CN202010607070.9A
Other languages
Chinese (zh)
Other versions
CN113937832B (en
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202010607070.9A priority Critical patent/CN113937832B/en
Publication of CN113937832A publication Critical patent/CN113937832A/en
Application granted granted Critical
Publication of CN113937832B publication Critical patent/CN113937832B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/00032Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by data exchange
    • H02J7/00045Authentication, i.e. circuits for checking compatibility between one component, e.g. a battery or a battery charger, and another component, e.g. a power source
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01RELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
    • H01R13/00Details of coupling devices of the kinds covered by groups H01R12/70 or H01R24/00 - H01R33/00
    • H01R13/66Structural association with built-in electrical component
    • H01R13/665Structural association with built-in electrical component with built-in electronic circuit
    • 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
    • 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/0013Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries acting upon several batteries simultaneously or sequentially
    • 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/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
    • 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/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
    • H02J7/0034Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits using reverse polarity correcting or protecting circuits
    • 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/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
    • H02J7/0036Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits using connection detecting circuits
    • 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/0042Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by the mechanical construction
    • H02J7/0045Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by the mechanical construction concerning the insertion or the connection of the batteries
    • 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/0047Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with monitoring or indicating devices or circuits
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/007Regulation of charging or discharging current or voltage

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

A charging cable, a charging cable identification method and a charging cable identification system relate to the technical field of charging, can identify whether the charging cable is suitable for quick charging or not, and improve the accuracy of identification results. The charging cable includes a wire, a first connector, and a second connector; the first connector comprises a first power supply pin, a first auxiliary configuration pin, a second auxiliary configuration pin and a kit provided with an identification circuit; the identification circuit comprises a first pull-up resistor, a second pull-up resistor and an IC chip, wherein the IC chip stores preset indication information for indicating whether the charging cable supports quick charging or not; the first end of the first pull-up resistor is connected with a first power supply pin, and the second end of the first pull-up resistor is connected with a first auxiliary configuration pin; the first end of the second pull-up resistor is connected with the first power supply pin, and the second end of the second pull-up resistor is connected with the second auxiliary configuration pin; the signal pin of the IC chip is connected with the second auxiliary configuration pin, and the power supply pin is connected with the first auxiliary configuration pin or the first power supply pin.

Description

Charging cable, and identification method and system of charging cable
Technical Field
The embodiment of the application relates to the technical field of charging, in particular to a charging cable, and a charging cable identification method and system.
Background
With the development of electronic technology, users demand more and more functions of electronic devices. For example, the fast charging function has become a fundamental requirement of most users for electronic devices.
After the electronic device (such as a mobile phone or a smart watch) is connected to the power supply device (such as a power adapter or other devices such as a notebook computer) through the charging cable, the electronic device can interact with the power supply device to negotiate the charging voltage or the charging current for the electronic device to be charged by the power supply device. The power supply equipment can rapidly charge the electronic equipment in a high-voltage or high-current mode.
However, even if the power supply apparatus and the electronic apparatus negotiate to perform quick charging; however, not all charging cables are suitable for quick charging. For example, some charging cables may be suitable for rapid charging; however, some charging cables may not be suitable for rapidly charging electronic devices with a large current because of their large wire resistance. If the electronic device is connected to the power supply device through such a charging cable, and the power supply device rapidly charges the electronic device with a large current, there may be a safety hazard.
Disclosure of Invention
The application provides a charging cable, a charging cable identification method and a charging cable identification system, which can identify whether the charging cable is suitable for quick charging and can improve the accuracy of an identification result.
In a first aspect, the present application provides a charging cable comprising: the wire, the first connector and the second connector. The first connector includes a first power pin and the second connector includes a second power pin. The first power supply pin is connected with the second power supply pin through a wire.
The first connector further comprises a first auxiliary configuration pin, a second auxiliary configuration pin and a kit. The kit is provided with an identification circuit. The identification circuit comprises a first pull-up resistor, a second pull-up resistor and an Integrated Circuit (IC) chip, wherein preset indication information is stored in the IC chip and is used for indicating whether the charging cable supports quick charging or not.
The first end of the first pull-up resistor is connected with the first power supply pin, and the second end of the first pull-up resistor is connected with the first auxiliary configuration pin. The first end of the second pull-up resistor is connected with the first power supply pin, and the second end of the second pull-up resistor is connected with the second auxiliary configuration pin. The second auxiliary configuration pin is also connected with a signal pin of the IC chip.
In one design, the first auxiliary configuration pin is connected to a power pin of the IC chip for supplying power to the IC chip. In another design, the first power pin is connected to a power pin of the IC chip for supplying power to the IC chip.
The IC chip is used for receiving a discovery request from the electronic equipment from the signal pin, wherein the discovery request is used for acquiring preset indication information; and responding to the discovery request, and sending a discovery confirmation message to the electronic equipment through a signal pin, wherein the discovery confirmation message comprises the preset indication information.
It should be noted that the resistance values of the first pull-up resistor and the second pull-up resistor may be the same or different. The first pull-up resistor and the second pull-up resistor are double pull-up resistors configured in the charging cable, and are used for supporting the electronic device to judge whether the charging cable supports quick charging or not through whether the charging cable is configured with the double pull-up resistors or not.
The application provides a charging cable, no matter whether this charging cable supports the PD agreement, this charging cable all can support the cell-phone with the mode of dual judgement, confirms whether this charging cable supports quick charge. The double determination may include: (1) double pull-up judgment; (2) and judging the indication information. Wherein, (1) the double pull-up determination means: the electronic device may determine whether a dual pull-up resistor is configured in the charging cable. (2) The instruction information determination means: the electronic device can read the preset indication information stored in the IC chip and judge whether the charging cable supports quick charging or not according to the preset indication information. If the charging cable is configured with double pull-up resistors and the preset indication information indicates that the charging cable supports quick charging, the electronic device can recognize that the charging cable supports quick charging.
That is to say, the scheme provided by the embodiment of the present application can be applied to determine whether all charging cables (e.g., Type-C charging cables) that support or do not support the PD protocol support fast charging. In other words, this scheme is applicable to the charging cable of multiple specification (like Type-C charging cable).
In addition, by adopting the scheme of the embodiment of the application, new pins do not need to be added to the charging cable, the power supply equipment and the charging interface (such as a Type-C interface or a Type-A interface) of the electronic equipment; the non-standard charging interface does not need to be additionally customized for the charging cable, the power supply equipment and the electronic equipment, and the judgment on whether the charging cable supports quick charging can be realized.
Further, the charging cable that this application provided can support through above-mentioned dual judgement to whether this charging cable supports quick charge. Thus, the accuracy of the recognition result can be improved.
With reference to the first aspect, in one possible design, the first connector is a Type-C connector. The first power pin is a VBUS pin, and the first auxiliary configuration pin and the second auxiliary configuration pin are both Configuration Channel (CC) pins.
Specifically, the first connector may include a connector body and a set. The connector body is a Type-C connector body. The Type-C connector body includes a first VBUS pin, a first CC pin, and a second CC pin.
With reference to the first aspect, in another possible design manner, the power pin or an auxiliary configuration pin (e.g., a second auxiliary configuration pin or a first auxiliary configuration pin) of the charging cable may be used. A large voltage (e.g., several hundred volts V) is input, and the IC chip is broken down due to the large voltage. In order to protect the IC chip, the identification circuit may further include: a protection circuit. The protection circuit may include: a first zener diode and a second zener diode.
Wherein the first zener diode and the second zener diode have the following characteristics: when the zener diode is subjected to a reverse transient high energy impact (for example, the voltage value input from the negative pole to the positive pole is greater than the preset voltage threshold value of the zener diode), the zener diode can be instantaneously and reversely broken down (referred to as avalanche breakdown). At this time, the resistance value of the reverse resistor of the zener diode is reduced to a very small value, which is equivalent to the resistance value of the wire. However, the forward resistance of the zener diode is unchanged regardless of whether the zener diode is subjected to a reverse transient high energy surge.
Assume that the first auxiliary configuration pin is connected to a power supply pin of the IC chip. In the design, the cathode of the first voltage stabilizing diode is connected with the first auxiliary configuration pin, and the anode of the first voltage stabilizing diode is grounded; the cathode of the second voltage stabilizing diode is connected with the second auxiliary configuration pin, and the anode of the second voltage stabilizing diode is grounded. Based on the above connection manner of the first zener diode in the identification circuit, the first zener diode may be instantaneously reverse-broken when the first auxiliary configuration pin input voltage value is greater than the voltage of the preset voltage threshold. The anode of the first voltage stabilizing diode is grounded; thus, the voltage on the first auxiliary configuration pin may then be drained through the first zener diode. Based on the connection mode of the second voltage stabilizing diode in the identification circuit, when the input voltage value of the second auxiliary configuration pin is larger than the voltage of the preset voltage threshold value, the second voltage stabilizing diode can be instantaneously and reversely broken down. The anode of the second voltage stabilizing diode is grounded; thus, the voltage on the second auxiliary configuration pin may then be drained through the second zener diode.
In summary, even if the first auxiliary configuration pin and the second auxiliary configuration pin of the first connector input a voltage whose value is greater than the preset voltage threshold, the voltage can be discharged through the zener diode, and the IC chip will not be broken down. Therefore, the IC chip can work normally, and the service life of the IC chip is prolonged.
Assume that the VBUS pin is connected to a power supply pin of the IC chip. In the design, the cathode of the first voltage stabilizing diode is connected with the VBUS pin, and the anode of the first voltage stabilizing diode is grounded; the cathode of the second voltage stabilizing diode is connected with the second auxiliary configuration pin, and the anode of the second voltage stabilizing diode is grounded. Based on the above connection manner of the first zener diode and the second zener diode in the identification circuit, the principle that the first zener diode and the second zener diode protect the IC chip from being broken down may refer to the above description, and will not be described herein again.
With reference to the first aspect, in another possible design manner, the first zener diode and the second zener diode are transient diodes (TVS). The voltage regulator diode (such as TVS) has the following characteristics: when the zener diode is subjected to a reverse transient high energy impact (for example, the voltage value input from the negative pole to the positive pole is greater than the preset voltage threshold value of the zener diode), the zener diode can be instantaneously and reversely broken down (referred to as avalanche breakdown). At this time, the resistance value of the reverse resistor of the zener diode is reduced to a very small value, which is equivalent to the resistance value of the wire. However, the forward resistance of the zener diode is unchanged regardless of whether the zener diode is subjected to a reverse transient high energy surge.
With reference to the first aspect, in another possible design manner, the identification circuit further includes: a voltage conversion circuit.
Assume that the first auxiliary configuration pin is connected to a power supply pin of the IC chip. In this design, the first auxiliary configuration pin is connected to a power supply pin of the IC chip, and specifically includes: the first auxiliary configuration pin is connected with a power supply pin of the IC chip through the voltage conversion circuit. The first auxiliary configuration pin is connected with a first end of the voltage conversion circuit, and a second end of the voltage conversion circuit is connected with a power supply pin of the IC chip. The voltage conversion circuit is used for converting the voltage provided by the first auxiliary configuration pin into the working voltage of the IC chip.
Assume that the VBUS pin is connected to a power supply pin of the IC chip. In this design, the VBUS pin is connected to a power supply pin of the IC chip, and specifically includes: the VBUS pin is connected with a power supply pin of the IC chip through a voltage conversion circuit. The VBUS pin is connected with a first end of the voltage conversion circuit, and a second end of the voltage conversion circuit is connected with a power supply pin of the IC chip. The voltage conversion circuit is used for converting the voltage provided by the VBUS pin into the working voltage of the IC chip.
In the present application, the voltage supplied from the first connector may be converted into the operating voltage of the IC chip by the voltage conversion circuit. Thus, the normal operation of the IC chip can be ensured.
With reference to the first aspect, in another possible design manner, the discovery acknowledgement message further includes: and the authentication information is used for authenticating and authenticating the charging cable. The authentication information includes at least one of a manufacturer code, an authentication code, a product identification, a product code, hardware version information, and firmware version information of the charging cable;
wherein the manufacturer code is used to indicate the manufacturer or vendor of the charging cable. The authentication code is used to indicate whether the charging cable is authenticated by a manufacturer or a vendor, and the manufacturer or the vendor sets a fixed authentication code for the authenticated charging cable. The product identification is used for indicating the model of the charging cable; the product code is the code of the charging cable in the model indicated by the product identification. The hardware version information is used for indicating the hardware version of the charging cable; the firmware version information is used to indicate the software version of the charging cable.
In a second aspect, the present application provides a method for identifying a charging cable, which may be applied to an electronic device including a charging interface including a first auxiliary configuration pin and a second auxiliary configuration pin. The method can comprise the following steps: when the first connector of the charging cable is inserted into the charging interface, the electronic equipment identifies whether the charging cable is provided with double pull-up resistors or not; wherein the second connector of the charging cable is connected with the power supply equipment; if the charging cable is determined to be configured with the double pull-up resistors, the electronic equipment sends a first discovery request from the first auxiliary configuration pin; the first discovery request is used for acquiring preset indication information indicating whether the charging cable supports quick charging from the charging cable; if the electronic equipment receives the discovery confirmation message of the first discovery request within the first preset time period and the preset indication information in the discovery confirmation message of the first discovery request indicates that the charging cable supports quick charging, the electronic equipment interacts with the power supply equipment to request the power supply equipment to quickly charge the electronic equipment in a high-current mode.
According to the identification method of the charging cable provided by the embodiment of the application, no matter whether the charging cable supports the PD protocol or not, the electronic equipment can determine whether the charging cable supports quick charging or not in the double judgment mode. That is, according to the present solution, it is possible to determine whether or not fast charging is supported for all charging cables that support or do not support the PD protocol. In other words, this scheme is applicable to the charging cable of multiple specification. Furthermore, the electronic equipment identifies whether the charging cable supports quick charging through the dual judgment, so that the accuracy of the identification result can be improved.
In addition, in the scheme, new pins do not need to be added to charging interfaces (such as charging interfaces) of the charging cable, the power supply equipment and the electronic equipment; the non-standard charging interface does not need to be additionally customized for the charging cable, the electronic equipment and the power supply equipment, and whether the charging cable supports quick charging or not can be judged.
With reference to the second aspect, in a possible design, the charging interface is a Type-C interface. The first auxiliary configuration pin and the second auxiliary configuration pin are both CC pins.
With reference to the second aspect, in a possible design manner, a double pull-down resistor is configured in the charging interface of the electronic device. After the first connector of the charging cable is inserted into the charging interface, the double pull-down resistors in the charging interface of the electronic device and the pull-up resistors in the charging cable may form a voltage division circuit. If the charging cable is provided with double pull-up resistors, each of the double pull-down resistors can form a voltage-dividing circuit with one pull-up resistor, and the electronic device can detect the voltage on the two pull-down resistors. If only one pull-up resistor is configured in the charging cable, one of the double pull-down resistors can form a voltage-dividing circuit together with the pull-up resistor, and the electronic device intelligence can detect the voltage on the pull-down resistor, while the other pull-down resistor can not detect the voltage.
Based on this, the above-mentioned electronic equipment discerns whether charging cable disposes double pull-up resistance, can include: the electronic equipment detects the voltage on the double pull-down resistors of the charging interface to judge whether the charging cable is configured with the double pull-up resistors.
If the voltage is detected on the two pull-down resistors of the charging interface, the electronic device can determine that the charging cable is configured with the two pull-up resistors. If a voltage is detected on one pull-down resistor of the charging interface and no voltage is detected on the other pull-down resistor, or no voltage is detected on both the two pull-down resistors of the charging interface, the electronic device can determine that the charging cable is not configured with the two pull-up resistors.
With reference to the second aspect, in another possible design, the first connector of the charging cable may be inserted into the charging interface in a forward direction, and may also be inserted into the charging interface in a reverse direction. The direction in which the first connector is inserted into the charging interface may cause the charging cable not to receive the first discovery request sent by the electronic device from the first auxiliary configuration pin, and thus not to reply to the discovery confirm message of the first discovery request in response to the first discovery request.
Based on the situation, if the electronic device does not receive the discovery confirm message of the first discovery request within the first preset time length, the electronic device may send a second discovery request from the second auxiliary configuration pin; the second discovery request is used for acquiring preset indication information indicating whether the charging cable supports quick charging from the charging cable; if the electronic device receives the discovery confirmation message of the second discovery request within the second preset time period and the preset indication information in the discovery confirmation message of the second discovery request indicates that the charging cable supports quick charging, the electronic device interacts with the power supply device to request the power supply device to quickly charge the electronic device in a high-current mode.
In the application, after the electronic device sends a discovery request from a CC pin, if a discovery confirmation message of the discovery request is not received within a preset time length; an attempt may be made to send a present request from another CC pin. Therefore, the direction of inserting the first connector into the charging interface can be reduced, the influence on the identification result is reduced, and the accuracy of the identification result can be improved.
With reference to the second aspect, in another possible design manner, the method further includes: if the preset indication information in the discovery confirm message of the first discovery request or the discovery confirm message of the second discovery request indicates that the charging cable does not support rapid charging, the electronic device interacts with the power supply device to request the power supply device to charge the electronic device according to the conventional charging current.
Wherein the current value of the conventional charging current is less than or equal to the current value of the charging current supported by the electronic equipment; and the current value of the regular charging current is less than or equal to the current value of the charging current supported by the charging cable.
It can be understood that, under the condition that the charging cable does not support quick charging, the power supply device is requested to charge the electronic device according to the conventional charging current, so that the charging safety of the electronic device can be ensured.
With reference to the second aspect, in another possible design manner, the method further includes: and if the charging cable is determined not to be configured with the double pull-up resistors, the electronic equipment interacts with the power supply equipment, and the power supply equipment is requested to charge the electronic equipment according to the conventional charging current.
Wherein the current value of the conventional charging current is less than or equal to the current value of the charging current supported by the electronic device; and the current value of the regular charging current is less than or equal to the current value of the charging current supported by the charging cable.
It can be understood that, under the condition that the charging cable does not support quick charging, the power supply device is requested to charge the electronic device according to the conventional charging current, so that the charging safety of the electronic device can be ensured.
With reference to the second aspect, in another possible design manner, the first discovery request includes: a message header field, a command type field, and a command field.
Wherein, the message header field includes the message identification of the first discovery request, and the message identifications of different discovery requests are different. For example, the message identification of the second discovery request is different from the message identification of the first discovery request. The command type field is used to indicate that the message type of the first discovery request is a request message. The command field is used to indicate that the purpose of the first discovery request is to acquire preset indication information indicating whether the charging cable supports rapid charging.
It should be noted that the message format of the second discovery request is the same as the message format of the first discovery request. And, the command type field and the command field of the first discovery request are the same as the command type field and the command field of the second discovery request, respectively. However, the message identity of the second discovery request is different from the message identity of the first discovery request.
With reference to the second aspect, in another possible design manner, the discovery confirm message includes: a header field, a command type field, a command field, and a current field.
Wherein, the message header field includes the message identification of the discovery confirm message, and the message identifications of different discovery confirm messages are different. For example, the message identity of the discovery confirm message of the first discovery request is different from the message identity of the discovery confirm message of the second discovery request. The command type field is used to indicate that the message type of the discovery confirm message is a confirm message. The command field is used to indicate that the discovery confirm message is used to transmit preset indication information indicating whether the charging cable supports fast charging. The current field includes preset indication information indicating whether the charging cable supports rapid charging.
It should be noted that the message format of the discovery confirm message of the second discovery request is the same as the message format of the discovery confirm message of the first discovery request. And, the command type field, the command field, and the current field of the first discovery request are respectively the same as the command type field, the command field, and the current field of the second discovery request. However, the message identity of the discovery confirm message of the second discovery request is different from the message identity of the discovery confirm message of the first discovery request.
With reference to the second aspect, in another possible design manner, the preset indication information in the current field includes: a current value of the charging current supported by the charging cable. Wherein, above-mentioned instruction information instruction charging cable support quick charge predetermines specifically includes: at least one current value indicated by the preset indication information is larger than a preset current threshold value. That is, the electronic device may determine whether at least one current value indicated by the preset indication information is greater than a preset current threshold value; if at least one current value indicated by the preset indication information is greater than a preset current threshold value, the electronic device may determine that the charging cable supports rapid charging; if all the current values indicated by the preset indication information are less than or equal to the preset current threshold, the electronic device may determine that the charging cable does not support rapid charging.
With reference to the second aspect, in another possible design manner, the preset indication information in the current field includes a first flag bit or a second flag bit, where the first flag bit is used to indicate that the charging cable supports fast charging, and the second flag bit is used to indicate that the charging cable does not support fast charging. If the first flag bit is included in the current field, the electronic device may determine that the charging cable supports fast charging. If the second flag bit is included in the current field, the electronic device may determine that the charging cable does not support fast charging.
With reference to the second aspect, in another possible design manner, the discovery confirmation message further includes authentication information for performing authentication on the charging cable; the authentication information comprises at least one of a manufacturer code, an authentication code, a product identification, a product code, hardware version information and firmware version information of the charging cable;
wherein the manufacturer code is used to indicate the manufacturer or vendor of the charging cable. The authentication code is used for indicating whether the charging cable is authenticated by a manufacturer or a manufacturer, and the manufacturer or the manufacturer sets a fixed authentication code for the authenticated charging cable; the product identifier is used to indicate the model of the charging cable. The product code is the code of the charging cable in the model indicated by the product identification. The hardware version information is used to indicate a hardware version of the charging cable. The firmware version information is used to indicate the software version of the charging cable.
With reference to the second aspect, in another possible design manner, before the electronic device interacts with the power supply device and requests the power supply device to rapidly charge the electronic device in a high-current manner, the electronic device may perform authentication and verification on the charging cable according to the authentication information; the electronic device determines that the charging cable passes the authentication.
In the application, before the electronic device judges whether the charging cable supports the quick charging according to the preset indication information, the electronic device may authenticate the charging cable. The electronic device may only identify whether the charging cable passing the authentication supports the fast charging. Therefore, in the application, the electronic equipment only passes authentication and supports the charging cable for quick charging to perform quick charging. In this way, the possibility of potential safety hazards due to the fact that the electronic device is rapidly charged by using the copy of the charging cable (namely, the charging cable) provided by the application can be reduced. Therefore, the safety of the electronic equipment for quick charging can be improved.
In a third aspect, the present application provides an electronic device comprising a processor, a memory, a battery, and a charging interface. The charging interface comprises a first auxiliary configuration pin and a second auxiliary configuration pin. The memory, the battery and the charging interface are coupled with the processor.
The processor is used for identifying whether the charging cable is provided with double pull-up resistors or not when the first connector of the charging cable is inserted into the charging interface; wherein the second connector of the charging cable is connected with the power supply equipment. The processor is further configured to issue a first discovery request from the first auxiliary configuration pin if it is determined that the charging cable is configured with dual pull-up resistors. The first discovery request is used for acquiring preset indication information indicating whether the charging cable supports quick charging from the charging cable. The processor is further configured to, if the first auxiliary configuration pin receives a discovery confirm message of the first discovery request within a first preset time period and preset indication information in the discovery confirm message of the first discovery request indicates that the charging cable supports fast charging, interact with the power supply device through the charging interface via the overcharging cable, and request the power supply device to fast charge the battery in a high-current manner.
With reference to the third aspect, in a possible design manner, the charging interface is a charging interface, and the first auxiliary configuration pin and the second auxiliary configuration pin are both CC pins.
With reference to the third aspect, in another possible design manner, the processor is further configured to send a second discovery request from the second auxiliary configuration pin if the first auxiliary configuration pin does not receive the discovery confirm message of the first discovery request within the first preset time period. Wherein the second discovery request is for acquiring preset indication information indicating whether the charging cable supports fast charging from the charging cable. The processor is further configured to, if the second auxiliary configuration pin receives a discovery confirm message of the second discovery request within a second preset duration, and preset indication information in the discovery confirm message of the second discovery request indicates that the charging cable supports fast charging, interact with the power supply device through the charging interface, and request the power supply device to fast charge the battery in a high-current manner.
With reference to the third aspect, in another possible design manner, the processor is further configured to interact with the power supply device through the charging interface to request the power supply device to charge the battery according to the normal charging current if preset indication information in the discovery confirm message of the first discovery request or the discovery confirm message of the second discovery request indicates that the charging cable does not support fast charging. Wherein the current value of the conventional charging current is less than or equal to the current value of the charging current supported by the electronic device; and the current value of the regular charging current is less than or equal to the current value of the charging current supported by the charging cable.
With reference to the third aspect, in another possible design manner, the processor is further configured to, if it is determined that the charging cable is not configured with the dual pull-up resistors, interact with the power supply device through the charging interface to request the power supply device to charge the battery according to the normal charging current.
Wherein the current value of the conventional charging current is less than or equal to the current value of the charging current supported by the electronic device; and the current value of the regular charging current is less than or equal to the current value of the charging current supported by the charging cable.
With reference to the third aspect, in another possible design manner, the first discovery request includes: a message header field, a command type field, and a command field.
Wherein, the message header field of the first discovery request comprises the message identification of the first discovery request, and the message identifications of different discovery requests are different; the command type field of the first discovery request is used for indicating that the message type of the first discovery request is a request message; the command field of the first discovery request is used to indicate that the purpose of the first discovery request is to acquire preset indication information indicating whether the charging cable supports rapid charging.
With reference to the third aspect, in another possible design manner, the discovery confirm message includes: a header field, a command type field, a command field, and a current field.
Wherein, the message header field of the discovery confirmation message comprises the message identification of the discovery confirmation message, and the message identifications of different discovery confirmation messages are different; the command type field is used for indicating that the message type of the discovery confirmation message is the confirmation message; the command field is used for indicating that the purpose of the discovery confirmation message is discovery identity; the current field includes preset indication information indicating whether the charging cable supports rapid charging.
With reference to the third aspect, in another possible design manner, the preset indication information in the current field includes: a current value of the charging current supported by the charging cable.
Wherein, it indicates that the cable that charges supports quick charge to predetermine indicating information, specifically includes: at least one current value indicated by the preset indication information is larger than a preset current threshold value.
With reference to the third aspect, in another possible design manner, the preset indication information in the current field includes a first flag bit or a second flag bit, where the first flag bit is used to indicate that the charging cable supports fast charging, and the second flag bit is used to indicate that the charging cable does not support fast charging.
With reference to the third aspect, in another possible design, a double pull-down resistor is configured in the charging interface of the electronic device. The processor, configured to identify whether the charging cable is configured with dual pull-up resistors, includes: the processor is used for detecting the voltage on the double pull-down resistors of the charging interface so as to judge whether the charging cable is provided with the double pull-up resistors or not;
if the double pull-down resistors of the charging interface detect voltages, the processor determines that the charging cable is configured with the double pull-up resistors; if the voltage is detected on one pull-down resistor of the charging interface, the voltage is not detected on the other pull-down resistor, or the voltages are not detected on the double pull-down resistors of the charging interface, the processor determines that the charging cable is not configured with the double pull-up resistors.
With reference to the third aspect, in another possible design manner, the discovery confirmation message further includes authentication information for performing authentication on the charging cable; wherein the authentication information includes at least one of a manufacturer code, an authentication code, a product identification, a product code, hardware version information, and firmware version information of the charging cable.
Wherein the manufacturer code is used to indicate a manufacturer or vendor of the charging cable; the authentication code is used for indicating whether the charging cable is authenticated by a manufacturer or a manufacturer, and the manufacturer or the manufacturer sets a fixed authentication code for the authenticated charging cable; the product identification is used for indicating the model of the charging cable; the product code is the code of the charging cable in the model indicated by the product identification; the hardware version information is used for indicating the hardware version of the charging cable; the firmware version information is used to indicate the software version of the charging cable.
The processor is also used for authenticating and authenticating the charging cable according to the authentication information before interacting with the power supply equipment through the charging interface and requesting the power supply equipment to rapidly charge the battery in a large-current mode; and determining that the charging cable passes authentication.
In a fourth aspect, the present application provides a system for identifying a charging cable, the system comprising an electronic device, and a charging cable as described in the first aspect and any one of its possible designs. The charging cable comprises a first connector, a second connector and a wire, the first connector is used for being plugged with a charging interface of the electronic equipment, and the second connector is used for being plugged with the power supply equipment. The charging interface of the electronic device comprises a first auxiliary configuration pin and a second auxiliary configuration pin.
The electronic equipment is used for identifying whether the charging cable is provided with double pull-up resistors or not when the first connector of the charging cable is inserted into the charging interface; wherein the second connector of the charging cable has connected thereto the power supply device. The electronic equipment is further used for sending a first discovery request from a first auxiliary configuration pin of the electronic equipment if the charging cable is determined to be configured with the double pull-up resistors; the first discovery request is used for acquiring preset indication information indicating whether the charging cable supports quick charging from the charging cable. The charging cable is used for sending a discovery confirmation message of the first discovery request to the electronic equipment through the signal pin if the signal pin of the IC chip in the charging cable receives the first discovery request, wherein the discovery confirmation message of the first discovery request comprises preset indication information. And the electronic equipment is also used for interacting with the power supply equipment and requesting the power supply equipment to quickly charge the electronic equipment in a large-current mode if the discovery confirmation message of the first discovery request is received within a first preset time period and the preset indication information in the discovery confirmation message of the first discovery request indicates that the charging cable supports quick charging.
With reference to the fourth aspect, in a possible design manner, the electronic device is further configured to send a second discovery request from a second auxiliary configuration pin of the electronic device if a discovery confirmation message of the first discovery request is not received within a first preset time period; wherein the second discovery request is for acquiring preset indication information indicating whether the charging cable supports fast charging from the charging cable. The charging cable is further configured to send a discovery confirmation message of the second discovery request to the electronic device through the signal pin if the signal pin of the IC chip receives the second discovery request, where the discovery confirmation message of the second discovery request includes preset indication information. The electronic device is further configured to interact with the power supply device and request the power supply device to rapidly charge the electronic device in a high-current manner if the discovery confirmation message of the second discovery request is received within a second preset time period and the preset indication information in the discovery confirmation message of the second discovery request indicates that the charging cable supports rapid charging.
With reference to the fourth aspect, in another possible design manner, the electronic device is further configured to interact with the power supply device to request the power supply device to charge the electronic device according to a normal charging current if preset indication information in the discovery confirm message of the first discovery request or the discovery confirm message of the second discovery request indicates that the charging cable does not support fast charging. Wherein the current value of the conventional charging current is less than or equal to the current value of the charging current supported by the electronic device; and the current value of the regular charging current is less than or equal to the current value of the charging current supported by the charging cable.
With reference to the fourth aspect, in another possible design manner, the electronic device is further configured to interact with the power supply device to request the power supply device to charge the electronic device according to a normal charging current if it is determined that the charging cable is not configured with the dual pull-up resistors. Wherein the current value of the conventional charging current is less than or equal to the current value of the charging current supported by the electronic device; and the current value of the regular charging current is less than or equal to the current value of the charging current supported by the charging cable.
In a fifth aspect, the present application provides a chip system, where the chip system is applied to a charging cable, and a first connector of the charging cable includes a power pin, a first auxiliary configuration pin, and a second auxiliary configuration pin. The power pin of the first connector is connected with the first auxiliary configuration pin through a first pull-up resistor, and the power pin of the first connector is connected with the second auxiliary configuration pin through a second pull-up resistor.
The chip system comprises an interface circuit and a processor. The interface circuit is interconnected with the processor. The interface circuit includes a signal pin and a power pin. The signal pin is connected with the second auxiliary configuration pin, and the power supply pin of the interface circuit is connected with the power supply pin of the first connector or the first auxiliary configuration pin. The processor stores preset indication information which is used for indicating whether the charging cable supports quick charging or not;
the processor is configured to receive a discovery request from an electronic device from a signal pin; the discovery request is used for acquiring preset indication information; and responding to the discovery request, and sending a discovery confirmation message to the electronic equipment through a signal pin, wherein the discovery confirmation message comprises preset indication information.
In a sixth aspect, the present application provides a chip system, which is applied to an electronic device including a charging interface, and includes an interface circuit and a processor; the interface circuit and the processor are interconnected through a line; the interface circuit is used for receiving signals from the memory and sending signals to the processor, and the signals comprise computer instructions stored in the memory; when the processor executes the computer instructions, the electronic device performs the method as described in the second aspect and any possible design thereof.
In a seventh aspect, the present application provides a computer-readable storage medium comprising computer instructions which, when run on an electronic device, cause the electronic device to perform the method according to the second aspect and any one of its possible design approaches.
In an eighth aspect, the present application provides a computer program product for causing a computer to perform the method according to the second aspect and any one of its possible designs when the computer program product runs on the computer.
It should be understood that, for the electronic device according to the third aspect and any possible design manner thereof, the system according to the fourth aspect, the chip system according to the fifth aspect and the sixth aspect, the computer storage medium according to the seventh aspect, and the computer program product according to the eighth aspect, the advantageous effects that can be achieved by the electronic device according to the third aspect and any possible design manner thereof provided above may refer to the advantageous effects of the first aspect and the second aspect and any possible design manner thereof, and are not described herein again.
Drawings
Fig. 1 is a schematic diagram of a charging interface according to an embodiment of the present disclosure;
fig. 2A is a schematic product form view of a charging cable according to an embodiment of the present disclosure;
fig. 2B is a schematic product form of another charging cable according to an embodiment of the present disclosure;
fig. 2C is a schematic product form of another charging cable according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram of a charging system according to an embodiment of the present disclosure;
fig. 4A is a schematic structural diagram of a charging cable according to an embodiment of the present disclosure;
fig. 4B is a schematic structural diagram of another charging cable provided in the embodiment of the present application;
FIG. 5A is a schematic pin diagram of a Type-C male header according to an embodiment of the present disclosure;
fig. 5B is a pin diagram of a Type-C female header according to an embodiment of the present application;
fig. 6 is a schematic hardware structure diagram of an electronic device according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of another charging cable provided in an embodiment of the present application;
fig. 8 is a flowchart of an identification method for a charging cable according to an embodiment of the present disclosure;
fig. 9 is a flowchart of another identification method for a charging cable according to an embodiment of the present disclosure;
fig. 10A is a flowchart of another identification method for a charging cable according to an embodiment of the present disclosure;
fig. 10B is a flowchart of another identification method for a charging cable according to an embodiment of the present disclosure;
fig. 10C is a schematic structural diagram of another charging cable provided in the embodiment of the present application;
fig. 11 is a schematic structural diagram of another charging cable provided in an embodiment of the present application;
fig. 12 is a schematic structural diagram of another charging cable provided in an embodiment of the present application;
fig. 13 is a schematic structural diagram of another charging cable provided in an embodiment of the present application;
fig. 14 is a schematic structural diagram of another charging cable provided in an embodiment of the present application;
fig. 15 is a schematic structural diagram of a chip system according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. The following terms "first", "second", etc. are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first," "second," etc. may explicitly or implicitly include one or more of that feature.
In the description of the present application, it is to be noted that, unless otherwise explicitly specified or limited, the terms "disposed," "connected," and "connected" are to be construed broadly, e.g., as meaning fixedly connected, detachably connected, or integrally connected; the specific meaning of the above terms in the present application can be understood in a specific case by those of ordinary skill in the art. For ease of understanding, the terms referred to in the embodiments of the present application are described herein:
(1) universal Serial Bus (USB) is a transmission standard (or called transport protocol).
The USB transmission protocol mainly includes the following: USB 1.0 protocol, USB 2.0 protocol, USB 3.0 protocol, USB3.1 protocol, etc. The USB 1.0 protocol and the USB 2.0 protocol are older transmission protocols and have a slower transmission speed.
The USB 2.0 protocol and the USB 3.0 protocol are currently the more widely used transport protocols. For example, notebook computers, USB disks, and mobile computers are combined with USB 2.0 and USB 3.0. The USB3.1 protocol is a new USB transport protocol, which is an upgraded version of USB 3.0. Compared with the USB 1.0 protocol, the USB 2.0 protocol, and the USB 3.0 protocol, the USB3.1 protocol has the fastest transmission speed. After upgrading, the USB3.1 can be specifically divided into USB3.1 Gen1 and USB3.1 Gen2 according to the transmission rate. Among them, USB3.1 Gen1 is commonly called USB 3.0.
(2) Type-C is an interface standard (i.e., interface Type).
The USB Type-C interface may adopt any USB transmission protocol such as USB 2.0 protocol, USB 3.0 protocol, or USB3.1 protocol. The USB transport protocol may also support multiple interface types. For example, the USB3.1 protocol may support USB Type A, USB Type B, and USB Type-C interface types. Wherein, the Type-C interface transmission speed adopting the USB3.1 protocol is higher.
(3) The USB (PD) protocol, also called PD protocol.
The USB PD protocol is a standard for implementing high-current or high-voltage charging using a USB interface (such as the USB Type-C interface mentioned above), and aims to provide a more powerful power charging scheme for users. For example, the high voltage may be any voltage value such as 5 volts (V), 12V, or 20V, and the large current may be any current value such as 1.5 amperes (a), 2A, 3A, or 5A.
Currently, most electronic devices (such as mobile phones, tablet computers or other electronic products) have a Type-C interface as a charging interface. The Type-C interface is a USB interface and is also called a USB Type-C interface. The Type-C interface supports functions of charging, data transmission, display output and the like of the USB standard. The Type-C interface does not distinguish the front side from the back side, and is an interface supporting double-sided insertion.
Taking the mobile phone 100 shown in fig. 1 as an example, an interface for charging the mobile phone 100 on many mobile phones is a Type-C female connector (also called a Type-C female socket) 110 shown in fig. 1. The Type-C female head 110 for connecting the power supply device and the mobile phone 100, and one end of the charging cable 200 for charging the mobile phone 100 (i.e. one end of the Type-C female head 110 for plugging the charging cable 200 into the mobile phone 100) are the Type-C male head 210 shown in fig. 1.
For example, from the product form of the charging cable, the charging cable (such as the charging cable 200 shown in fig. 1) of the electronic device may include the following: the Type-a interface 220 shown in fig. 2A changes to the charging cable of the Type-C interface 210, the Type-C interface 230 shown in fig. 2B changes to the charging cable of the Type-C interface 210, and the earphone interface (also referred to as earphone head) 240 shown in fig. 2C changes to the charging cable of the Type-C interface 210. For example, the headset interface 240 may be 3.5 millimeters (mm).
It should be noted that the charging cable provided in the embodiment of the present application may be a charging cable having a Type-C interface (i.e., a Type-C male connector) at one end. The other end of the charging cable may be the Type-a interface 220 shown in fig. 2A or the headset head 240 shown in fig. 2C.
That is to say, the charging cable provided in the embodiment of the present application may be any one of the charging cables shown in fig. 2A or fig. 2C. Of course, the charging cable according to the embodiment of the present application includes, but is not limited to, the cable shown in fig. 2A or fig. 2C. The charging cable can be a Type-C interface at one end, and the other end is a charging cable of other charging interfaces except the Type-C interface.
It should be noted that Type-C (i.e., USB Type-C) is only one interface Type, and the Type-C interface may support a USB 3.0 protocol or a USB3.1 protocol, may also support a Display Port protocol, may also support a PD protocol, and the like. However, the above-described function is not provided for each charging cable provided with a Type-C interface. It is not possible to determine whether the charging cable supports the above-described function only because the charging cable is configured with a Type-C interface. That is, although the charging cables shown in fig. 2A and 2C are each configured with a Type-C interface; however, the user cannot recognize that the charging cable has the above function because the charging cable is provided with the Type-C interface.
Illustratively, from the function of the charging cable, the Type-C charging cable (i.e., the charging cable configured with the Type-C interface) can be classified into the following three types:
(1) and a charging cable which is provided with a Type-C interface (namely, positive and negative plugging is supported) and supports common data transmission is arranged. It is to be noted that such a charging cable does not support rapid charging. If the electronic device is connected to the power supply device through such a charging cable, and the power supply device rapidly charges the electronic device with a large current, there may be a safety hazard. For example, in the embodiment of the present application, a charging mode in which the current value of the charging current is greater than the preset current threshold may be a large-current charging mode. For example, the predetermined current threshold may be 3A. Of course, the value of the preset current threshold is not limited to 3A. As charging technology develops, the maximum charging current supported by the electronic device and the charging cable may become larger and larger, and the preset current threshold may also become larger and larger.
(2) The charging cable is provided with a Type-C interface, supports a PD protocol and supports quick charging.
(3) Full-function charging cable. Namely, a charging cable configured with a Type-C interface, supporting a PD protocol, supporting high-speed signaling, supporting fast charging, supporting Display Port, and other protocols.
In summary, not all charging cables configured with Type-C interfaces support fast charging. Therefore, how to identify the charging cable supporting the fast charging is an urgent problem to be solved.
In some aspects, a Type-C charging cable that supports fast charging may be identified as follows. Some Type-C charging cables are configured with an electronic marked cable (E-mark) chip. The E-mark chip stores information of the Type-C charging cable, such as indication information used for indicating whether the Type-C charging cable supports quick charging. The electronic equipment (such as a mobile phone) can read the indication information in the E-mark chip through the communication with the CC pin of the Type-C charging cable, and then identify whether the Type-C charging cable supports quick charging or not according to the indication information.
However, not all Type-C charging cables are configured with E-mark chips. Generally, a charging cable of a Type-C to Type-C interface is possibly configured with an E-mark chip; and other Type-C charging cables (such as charging cables of Type-C to Type-A interfaces) are not provided with the E-mark chip. That is to say, the above scheme is only applicable to the charging cable of Type-C to Type-C interface and is possible, and can not be applicable to all Type-C charging cables.
In another approach, a Type-C charging cable that supports fast charging may be identified as follows. By taking the charging cable with the Type-A interface converted into the Type-C interface as an example, a specific pin can be added to the Type-A interface (namely, Type-A male connector) of the Type-C charging cable, and a corresponding pin can be added to the Type-A interface (namely, Type-A female connector) of the power supply equipment. In addition, an IC Chip (Integrated Circuit Chip) may be disposed in the Type-C charging cable, where information of the Type-C charging cable, such as indication information for indicating whether the Type-C charging cable supports fast charging, is stored in the IC Chip.
However, with the adoption of the scheme, specific pins need to be added to the Type-A interface of the Type-C charging cable and the Type-A interface of the power supply equipment. As such, both the power supply device and the Type-C charging cable require additional custom non-standard charging interfaces (i.e., connectors).
The embodiment of the application provides a charging cable, and a method and a system for identifying the charging cable, so that whether the charging cable is suitable for quick charging can be identified without additionally customizing a non-standard connector. In addition, the identification method of the charging cable provided by the embodiment of the application can be applied to all Type-C charging cables with one ends being Type-C interfaces and the other ends being other types of charging interfaces (such as Type-A interfaces).
The identification system of the charging cable may include: charging cable, electronic equipment and power supply unit. Wherein, this charging cable is Type-C charging cable.
Specifically, the charging cable may include a first connector and a second connector. The first connector is used for connecting electronic equipment, and the second connector is used for connecting power supply equipment. The first connector is a Type-C interface (referred to as a Type-C male connector), and the second connector can be a Type-a interface or a headset interface or other types of charging interfaces.
Wherein the power supply device is configured to: when the second connector of the charging cable is connected with the power supply equipment and the first connector of the charging cable is connected with the electronic equipment, the electronic equipment is charged through the charging cable.
For example, the power supply device may be a power adapter, or an electronic device such as a Personal Computer (PC), a notebook computer, or the like that can be charged by wire to other electronic devices. For example, in fig. 3, the power supply device is a notebook computer 303, and the notebook computer 303 includes a Type-a female connector 303 a.
For example, the electronic device may be a mobile phone, a tablet computer, a wearable device (such as a smart watch, a wireless headset, smart glasses, or a helmet, etc.), a desktop, a laptop, a handheld computer, a notebook, an ultra-mobile personal computer (UMPC), a netbook, a cellular phone, a Personal Digital Assistant (PDA), an Augmented Reality (AR) Virtual Reality (VR) device, or the like, which includes a Type-C mother head that can be used for charging, and the embodiment of the present application does not particularly limit the specific form of the electronic device. For example, in fig. 3, the electronic device is a mobile phone 302, and the mobile phone 302 includes a Type-C female head 302 a.
Illustratively, the first connector is a Type-C interface, the second connector is a Type-a interface, the electronic device is a mobile phone, and the power supply device is a notebook computer. The identification system of the charging cable may be the identification system 300a shown in fig. 3. As shown in fig. 3, the recognition system 300a may include: a charging cable 301, a cell phone 302 and a notebook computer 303.
This charging cable 301 includes a Type-C male (i.e., Type-C interface) 301a and a Type-a male (i.e., Type-a interface) 301 b. The handset 302 includes a Type-C female (i.e., Type-C interface) 302 a. The notebook computer 303 includes a Type-a female (i.e., Type-a interface) 303 a.
The notebook computer 303 is configured to: when the Type-A male head 301b of the charging cable 301 is inserted into the Type-A female head 303a of the notebook computer 303 and the Type-C male head 301a of the charging cable 301 is inserted into the Type-C female head 302a of the mobile phone 302, the mobile phone 302 is charged through the charging cable 301.
It should be noted that the charging cable 301 is different from a conventional charging cable that converts a Type-C interface into a Type-a interface. Specifically, compared with the charging cable with the conventional Type-C interface converted into the Type-a interface, the Type-C male connector 301a of the charging cable 301 is improved, and the charging cable 301 can support the mobile phone 302 to identify whether the charging cable 301 supports quick charging.
The charging cable (e.g., charging cable 301) may include a wire, and a first connector and a second connector mounted at two ends of the wire and electrically connected to the wire. That is, the charging cable may be divided into three parts: the first connector (i.e. Type-C interface), wire rod and second connector (such as Type-A interface or earphone interface etc.).
For example, taking the charging cable 301 that is a Type-a interface to Type-C interface shown in fig. 3 as an example, the charging cable 301 may be divided into three parts shown in fig. 4A: Type-C interface 301a, cable 301C, and Type-A interface 301 b.
Referring to fig. 4B, a schematic diagram of the Type-C interface 301a (i.e. the first connector, also called Type-C connector) shown in fig. 4A is shown. As shown in fig. 4A or 4B, the Type-C connector (i.e., Type-C interface) 301a includes: a Type-C connector body 401 and a set 402.
For example, the kit 402 may be a plastic kit. One or more circuits of the Type-C connector 301a (e.g., an identification circuit 402a for the mobile phone 302 to identify whether the charging cable 301 supports fast charging) are molded into the kit 402. The one or more circuits are electrically connected to the Type-C connector body 401. And, the one or more circuits are electrically connected to the wire 301c, and the wire 301c is electrically connected to the second connector (i.e., the Type-a interface 301 b). It will be appreciated that one or more of the circuits described above may be integrated on a Printed Circuit Board (PCB). The set 402 can be integrally injection-molded on the Type-C connector body 401 and the PCB, and the set 402 is integrally fixed with the wire 301C.
It should be noted that the identification circuit 402a may include a device for storing information related to the charging cable 301. For example, the related information of the charging cable 301 may include: indication information for indicating whether the charging cable 301 supports quick charging. In this way, when the Type-a male connector 301B of the charging cable 301 is inserted into the Type-a female connector 303a of the notebook computer 303 and the Type-C male connector 301a of the charging cable 301 is inserted into the Type-C female connector 302a of the mobile phone 302, the mobile phone 302 can obtain the indication information from the charging cable 301 through the CC1 or the CC2 pin shown in fig. 4B to identify whether the charging cable 301 supports fast charging.
As shown in fig. 4B, in the charging cable 301, the above-described identification circuit 402a can be connected to four kinds of pins (e.g., a VBUS pin, a CC1 pin, a CC2 pin, and a GND pin) of the Type-C connector body 401.
Please refer to fig. 5A, which illustrates a pin arrangement diagram of a Type-C male plug of a charging cable according to an embodiment of the present application. As shown in FIG. 5A, the Type-C male includes: 4 VBUS pins for power supply, 4 Ground (GND) pins for ground, two CC pins (CC and VCONN). The Type-C male connector further comprises: 4 pairs of Transmit (TX) pin/Receive (RX) pin, 1 pair of D + pin/D-pin, a pair of side band channel (SBU) pins.
Where the VBUS pin is a power pin for powering the electronic device and devices in the charging cable (such as one or more circuits described above, including the identification circuit 402 a). The GND pin is ground. The CC1 pin and the CC2 pin shown in fig. 4B are channel configuration (channel configuration) signal pins for function negotiation. The pin CC1 and/or the pin CC2 may be used to determine the insertion direction of the Type-C interface, negotiate a charging mode (e.g., whether to charge quickly) on the Type-C interface, and so on. For example, in the embodiment of the present application, the cell phone 302 may obtain the indication information indicating whether the charging cable 301 supports fast charging from the identification circuit 402a through the CC1 pin or the CC2 pin.
It should be noted that, of the two CC pins of the Type-C male connector of the charging cable 301, one CC pin may be used as a signal pin, and the other CC pin may be used as a power supply VCONN pin. For example, the CC1 pin shown in fig. 4B may be used as a signal pin (i.e., the a5 pin CC shown in fig. 5A), and the CC2 pin shown in fig. 4B may be used as a VCONN pin (i.e., the B5 pin VCONN shown in fig. 5A). Alternatively, the CC2 pin shown in fig. 4B may be used as a signal pin (i.e., the a5 pin CC shown in fig. 5A), and the CC1 pin shown in fig. 4B may be used as a VCONN pin (i.e., the B5 pin VCONN shown in fig. 5A).
It is specified in the USB power delivery specification that the Type-C interface can support a voltage of 20V and a current of 5A at the maximum. It should be noted that the Type-C interface can support a voltage of 20V and a current of 5A at most, and does not indicate that the Type-C interface of the charging cable 301 supports a voltage of 20V and a current of 5A, nor does the wire of the charging cable 301 support a voltage of 20V and a current of 5A. Therefore, the indication information for indicating whether the charging cable 301 supports fast charging may specifically be: and indication information for indicating whether the Type-C interface and the wire of the charging cable 301 both support quick charging.
The Type-C interface is an interface that supports double-sided insertion. To illustrate the principle of determining the insertion direction of the Type-C male plug through two CC pins of the Type-C male plug, fig. 5B shows a pin arrangement diagram of the Type-C female plug of the electronic device 302 according to an embodiment of the present application. As shown in fig. 5B, the Type-C female head includes: 4 VBUS pins for power supply and 4 GND pins for ground, and two CC pins (CC1 pin and CC2 pin). Type-C female head still includes: 4 pairs of TX pin/RX pin, 2 pairs of D + pin/D-pin and a pair of SBU pin.
The specific functions of the Type-C male pin shown in fig. 5A and the other pins (such as the TX pin, the RX pin, the D + pin, the D-pin, or the SBU pin) of the Type-C female pin shown in fig. 5B are not described herein in this embodiment of the application.
It will be appreciated that when the Type-C male header shown in FIG. 5A is inserted forward into the Type-C female header shown in FIG. 5B, the A5 pin CC of the Type-C male header shown in FIG. 5A contacts the A5 pin CC1 of the Type-C female header shown in FIG. 5B, and the electronic device (e.g., the cell phone 302) communicates with the charging cable 301 using the CC1 pin. When the Type-C male connector shown in FIG. 5A is reversely inserted into the Type-C female connector shown in FIG. 5B, the A5 pin CC of the Type-C male connector shown in FIG. 5A contacts the B5 pin CC2 of the Type-C female connector shown in FIG. 5B, and the cell phone 302 communicates with the charging cable 301 using the CC2 pin.
Referring to fig. 6, a schematic diagram of a hardware structure of the electronic device is shown by taking the electronic device as a mobile phone as an example. As shown in fig. 6, the electronic device 600 may include: the mobile phone includes a processor 610, an external memory interface 620, an internal memory 621, a USB interface 630, a charging management module 640, a power management module 641, a battery 642, an antenna 1, an antenna 2, a mobile communication module 650, a wireless communication module 660, an audio module 670, a speaker 670A, a receiver 670B, a microphone 170C, an earphone interface 170D, a sensor module 680, a button 690, a motor 691, a pointer 692, a camera 693, a display 694, and a Subscriber Identity Module (SIM) card interface 695. This USB interface 630 is the Type-C interface, and this Type-C interface is the female head of Type-C (also called the female seat of Type-C). This female head of Type-C can peg graft the public head of Type-C of charging cable 301.
The sensor module 680 may include a pressure sensor, a gyroscope sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, and the like.
It is to be understood that the illustrated structure of the present embodiment does not constitute a specific limitation to the electronic apparatus 100. In other embodiments, electronic device 100 may include more or fewer components than shown, or combine certain components, or split certain components, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 610 may include one or more processing units, such as: the processor 610 may include an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a memory, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), among others. The different processing units may be separate devices or may be integrated into one or more processors.
The controller may be a neural center and a command center of the electronic device 100. The controller can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 610 for storing instructions and data. In some embodiments, the memory in the processor 610 is a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 610. If the processor 610 needs to use the instruction or data again, it can be called directly from the memory. Avoiding repeated accesses reduces the latency of the processor 610, thereby increasing the efficiency of the system.
In some embodiments, processor 610 may include one or more interfaces. The interface may include an integrated circuit (I2C) interface, an integrated circuit built-in audio (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a general-purpose input/output (GPIO) interface, a Subscriber Identity Module (SIM) interface, and/or a Universal Serial Bus (USB) interface, etc.
It should be understood that the interface connection relationship between the modules illustrated in the present embodiment is only an exemplary illustration, and does not limit the structure of the electronic device 100. In other embodiments, the electronic device 100 may also adopt different interface connection manners or a combination of multiple interface connection manners in the above embodiments.
The charging management module 640 is configured to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 640 may receive charging input from a wired charger via the USB interface 630. This USB interface 630 is female head of Type-C, the public head of Type-C of the charging cable 301 of pluggable. The charging management module 640 can receive a charging input from a charger (i.e., the power supply device, such as the laptop 303) via the charging cable 301 to the USB interface 630. In some wireless charging embodiments, the charging management module 640 may receive a wireless charging input through a wireless charging coil of the electronic device 100. The charging management module 640 may also supply power to the electronic device through the power management module 641 while charging the battery 642.
The power management module 641 is configured to connect the battery 642, the charging management module 640 and the processor 610. The power management module 641 receives the input from the battery 642 and/or the charging management module 640, and supplies power to the processor 610, the internal memory 621, the external memory, the display 694, the camera 693, the wireless communication module 660, and the like. The power management module 641 may also be configured to monitor battery capacity, battery cycle count, battery state of health (leakage, impedance), and other parameters. In some other embodiments, the power management module 641 may be disposed in the processor 610. In other embodiments, the power management module 641 and the charging management module 640 may be disposed in the same device.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 650, the wireless communication module 660, the modem processor, the baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 100 may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 650 may provide a solution including 2G/3G/4G/5G wireless communication applied to the electronic device 100. The mobile communication module 650 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like. The mobile communication module 650 may receive the electromagnetic wave from the antenna 1, filter, amplify, etc. the received electromagnetic wave, and transmit the filtered electromagnetic wave to the modem processor for demodulation.
The wireless communication module 660 may provide a solution for wireless communication applied to the electronic device 100, including Wireless Local Area Networks (WLANs) (e.g., wireless fidelity (Wi-Fi) networks), bluetooth (bluetooth, BT), Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR), and the like.
The wireless communication module 660 may be one or more devices integrating at least one communication processing module. The wireless communication module 660 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering on electromagnetic wave signals, and transmits the processed signals to the processor 610. The wireless communication module 660 may also receive a signal to be transmitted from the processor 610, perform frequency modulation and amplification on the signal, and convert the signal into electromagnetic waves through the antenna 2 to radiate the electromagnetic waves.
In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 650 and antenna 2 is coupled to wireless communication module 660 such that electronic device 100 may communicate with networks and other devices via wireless communication techniques. The wireless communication technology may include global system for mobile communications (GSM), General Packet Radio Service (GPRS), code division multiple access (code division multiple access, CDMA), Wideband Code Division Multiple Access (WCDMA), time-division code division multiple access (time-division code division multiple access, TD-SCDMA), Long Term Evolution (LTE), LTE, BT, GNSS, WLAN, NFC, FM, and/or IR technologies, etc. The GNSS may include a Global Positioning System (GPS), a global navigation satellite system (GLONASS), a beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS), and/or a Satellite Based Augmentation System (SBAS).
The electronic device 100 implements display functions via the GPU, the display screen 694, and the application processor. The GPU is a microprocessor for image processing, connected to the display screen 694 and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 610 may include one or more GPUs that execute program instructions to generate or alter display information.
The display screen 694 is used to display images, video, and the like. The display screen 694 includes a display panel. The display panel may adopt a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMOLED), a flexible light-emitting diode (FLED), a miniature, a Micro-oeld, a quantum dot light-emitting diode (QLED), and the like.
The electronic device 100 may implement a shooting function through the ISP, the camera 693, the video codec, the GPU, the display 694, and the application processor. The ISP is used to process the data fed back by the camera 693. The camera 693 is used to capture still images or video. In some embodiments, electronic device 100 may include 1 or N cameras 693, N being a positive integer greater than 1. The digital signal processor is used for processing digital signals, and can process digital image signals and other digital signals. For example, when the electronic device 100 selects a frequency bin, the digital signal processor is used to perform fourier transform or the like on the frequency bin energy. Video codecs are used to compress or decompress digital video. The NPU is a neural-network (NN) computing processor that processes input information quickly by using a biological neural network structure, for example, by using a transfer mode between neurons of a human brain, and can also learn by itself continuously. Applications such as intelligent recognition of the electronic device 100 can be realized through the NPU, for example: image recognition, face recognition, speech recognition, text understanding, and the like.
The external memory interface 620 may be used to connect an external memory card, such as a Micro SD card, to extend the memory capability of the electronic device 100. The external memory card communicates with the processor 610 through the external memory interface 620 to implement a data storage function. For example, files such as music, video, etc. are saved in an external memory card.
Internal memory 621 may be used to store computer-executable program code, including instructions. The processor 610 executes various functional applications of the electronic device 100 and data processing by executing instructions stored in the internal memory 621. For example, in the embodiment of the present application, the processor 610 may execute instructions stored in the internal memory 621, and the internal memory 621 may include a program storage area and a data storage area.
The storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like. The storage data area may store data (such as audio data, phone book, etc.) created during use of the electronic device 100, and the like. In addition, the internal memory 621 may include a high-speed random access memory, and may further include a nonvolatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (UFS), and the like.
The electronic device 100 may implement audio functions via the audio module 670, the speaker 670A, the receiver 670B, the microphone 170C, the headset interface 170D, and the application processor, among others. Such as music playing, recording, etc.
The audio module 670 is used to convert digital audio information into an analog audio signal output and also used to convert an analog audio input into a digital audio signal. The audio module 670 may also be used to encode and decode audio signals. In some embodiments, the audio module 670 may be disposed in the processor 610, or some functional modules of the audio module 670 may be disposed in the processor 610. The speaker 670A, also known as a "horn", is used to convert electrical audio signals into acoustic signals. The receiver 670B, also called "earpiece", is used to convert the electrical audio signal into an acoustic signal. The microphone 170C, also referred to as a "microphone," is used to convert sound signals into electrical signals.
The headphone interface 170D is used to connect a wired headphone. The headset interface 170D may be a USB interface 630, or may be a 3.5mm open mobile electronic device platform (OMTP) standard interface, a cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
The keys 690 include a power-on key, a volume key, and the like. The keys 690 may be mechanical keys. Or may be touch keys. The motor 691 may produce a vibration indication. Motor 691 can be used for incoming call vibration prompting, as well as for touch vibration feedback. Indicator 692 may be an indicator light that may be used to indicate a state of charge, a change in charge, or may be used to indicate a message, a missed call, a notification, etc. The SIM card interface 695 is used for connecting a SIM card. The SIM card can be attached to and detached from the electronic apparatus 100 by being inserted into the SIM card interface 695 or being pulled out of the SIM card interface 695. The electronic device 100 may support 1 or N SIM card interfaces, N being a positive integer greater than 1. The SIM card interface 695 can support a Nano SIM card, a Micro SIM card, a SIM card, etc.
The embodiment of the application provides a charging cable. This charging cable includes: the wire rod, and install in wire rod both ends and with the first connector and the second connector of this wire rod electricity connection.
Wherein the first connector may be a Type-C connector (i.e., a Type-C interface); the second connector may be any other charging interface except for a Type-C interface, such as a Type-a interface (also referred to as a Type-a connector) or an earphone interface.
In the following embodiments, taking the first connector as a Type-C connector and the second connector as a Type-a interface as an example, the charging cable, and the method and system for identifying the charging cable provided in the embodiments of the present application are described.
For example, the recognition system 300a shown in fig. 3 includes: a charging cable 301, a cell phone 302 and a notebook computer 303. The charging cable 301 may be the charging cable 301 shown in fig. 4B. In the embodiment of the present application, whether the charging cable 301 supports fast charging is identified by the electronic device to be charged (e.g., the mobile phone 302).
As shown in fig. 4B, the charging cable 301 may include: a wire 301C, and a Type-C connector 301a (i.e., a first connector) and a Type-a connector 301b (i.e., a second connector) mounted at both ends of the wire 301C and electrically connected to the wire 301C.
The Type-C connector 301a (i.e., the first connector) may include a first power pin (e.g., VBUS pin). The Type-a connector 301b (i.e., the second connector) may include a second power pin (e.g., VBUS pin). The first power pin (e.g., VBUS pin) is connected to the second power pin (e.g., VBUS pin) through a wire 301 c.
The Type-C connector 301a (i.e., the first connector) may also include a first ground pin (e.g., a GND pin). The Type-a connector 301b (i.e., the second connector) may include a second ground pin (e.g., a GND pin). The first ground pin (e.g., GND pin) is connected to the second ground pin (e.g., GND pin) through a wire 301 c.
The Type-C connector 301a (i.e., the first connector) may further include: a first auxiliary configuration pin (e.g., CC1 pin), a second auxiliary configuration pin (e.g., CC2 pin), and the kit 402.
Specifically, the first connector 301a may include a Type-C connector body 401 and a set 402. The aforementioned CC1 pin, CC2 pin, VBUS pin, and GND pin are all provided on the Type-C connector body 401. Wherein one or more circuits (including the identification circuit 402a) having a Type-C connector 301a are provided in the kit 402. For example, the package 402 may be a plastic package in which the identification circuit 402a is molded. For a detailed description of the Type-C connector body 401 and the set 402, reference may be made to the related descriptions of the above embodiments, which are not repeated herein.
In some embodiments, the circuit structure of the identification circuit 402a shown in FIG. 4B is as shown in FIG. 7. As shown in fig. 7, the identification circuit 402a includes: pull-up resistor R1, pull-up resistor R2, and IC chip 701. In this embodiment, power is supplied to the IC chip 701 from one of the CC pins (e.g., the CC1 pin) of the Type-C connector body 401.
As shown in FIG. 7, a first terminal of the pull-up resistor R1 is connected to the VBUS pin of the Type-C connector body 401, and a second terminal of the pull-up resistor R1 is connected to one CC pin (e.g., the CC1 pin) of the Type-C connector body 401. As shown in FIG. 7, a first terminal of the pull-up resistor R2 is connected to the VBUS pin of the Type-C connector body 401, and a second terminal of the pull-up resistor R2 is connected to another CC pin (e.g., the CC2 pin) of the Type-C connector body 401.
Pull-up resistor R1 in any of the embodiments described herein is a first pull-up resistor and pull-up resistor R2 is a second pull-up resistor. The resistance of the pull-up resistor R1 may be the same as or different from the resistance of the pull-up resistor R2. Illustratively, the pull-up resistor R1 or the pull-up resistor R2 may have any resistance value, such as 56 kilo-ohms (K Ω), 22K Ω, or 10K Ω. For example, the pull-up resistor R1 and the pull-up resistor R2 may have a resistance of 56K Ω. It should be noted that the resistance values of the pull-up resistor R1 or the pull-up resistor R2 include, but are not limited to, the above resistance values, and other possible resistance values are not described herein.
After the Type-a male connector 301b of the charging cable 301 is inserted into the Type-a female connector 303a of the notebook computer 303, the VBUS pin of the Type-a female connector 303a of the notebook computer 303 may provide a voltage (e.g., a voltage of 5V) to the VBUS pin of the Type-C connector body 401 of the Type-a male connector 301 b. At this time, a voltage of 5V may be detected on the VBUS pin of the Type-C connector body 401 of the Type-A male connector 301 b. Thus, a voltage can be detected even at the pin CC1 connected to the VBUS pin (i.e., the VBUS pin of the Type-C connector body 401) through the pull-up resistor R1, and also at the pin CC2 connected to the VBUS pin through the pull-up resistor R2. Thus, the CC pin (e.g., the CC1 pin) of the Type-C connector body 401 can provide power to the IC chip 701.
It should be noted that in the conventional technology, only one CC pin of the Type-C connector is connected to the pull-up resistor. In the embodiment of the present application, the two CC pins of the Type-C connector body 401 are connected to pull-up resistors.
It can be understood that the above-mentioned dual pull-up resistors (such as pull-up resistor R1 and pull-up resistor R2) are configured at the Type-a male plug 301b of the charging cable 301, and are used for supporting the mobile phone 302 to determine whether the charging cable 301 supports fast charging through whether the charging cable 301 is configured with the dual pull-up resistors. The specific method and principle of the mobile phone 302 for determining whether the charging cable 301 is configured with the dual pull-up resistor may refer to the detailed description in the following embodiments, which are not repeated herein.
It should be noted that, with the solution provided in the embodiment of the present application, it may be determined whether the charging cable 301 supports fast charging through double determination. The double determination may include: (1) double pull-up judgment; (2) and judging the indication information. Wherein, (1) the double pull-up determination means: the handset 302 may determine whether a dual pull-up resistor is configured in the charging cable 301. (2) The detailed description of the instruction information determination may refer to the following detailed description of the IC chip 701.
As shown in fig. 7, IC chip 701 includes a power pin (e.g., VDD pin), a signal pin (e.g., CC pin), and a ground pin (e.g., DGND). The IC chip 701 stores therein preset instruction information. The preset indication information is used to indicate whether the charging cable 301 supports fast charging. For example, the preset indication information may be used to indicate that the current values of the charging currents supported by the charging cable 301 are 1.5A and 2A. For another example, the preset indication information may be used to indicate that the current value of the charging current supported by the charging cable 301 is 3A. For another example, the preset indication information may be used to indicate that the charging current supported by the charging cable 301 is 5A.
If the current value of the charging current supported by the charging cable 301 is greater than or equal to the preset current threshold, it indicates that the charging cable 301 supports fast charging. If the current value of the charging current supported by the charging cable 301 is smaller than the preset current threshold, it indicates that the charging cable 301 does not support fast charging. For example, the predetermined current threshold may be 3A. Of course, the value of the preset current threshold is not limited to 3A. As charging technology develops, the maximum charging current supported by the charging cable may become larger and larger, and the preset current threshold may also become larger and larger.
Among them, a power pin (e.g., VDD pin) of the IC chip 701 is connected to any CC pin of the Type-C connector body 401. For example, as shown in FIG. 7, the VDD pin of the IC chip 701 is connected to the CC1 pin of the Type-C connector body 401. It will be appreciated that the CC1 pin of the Type-C connector body 401 is connected to the VDD pin of the IC chip 701 for supplying power to the IC chip 701.
The CC pin of the IC chip 701 is connected to another CC pin of the Type-C connector body 401. For example, as shown in FIG. 7, the VDD pin of the IC chip 701 is connected to the CC2 pin of the Type-C connector body 401. The CC pin of the IC chip 701 and the CC2 pin of the Type-C connector body 401 are used to support the mobile phone 302 to obtain the preset indication information from the IC chip 701, so as to identify whether the charging cable 301 supports fast charging according to the preset indication information. The instruction information determination (2) described above means: the mobile phone 302 can read the preset indication information stored in the IC chip 701, and determine whether the charging cable 301 supports fast charging according to the preset indication information.
In summary, according to the scheme provided by the embodiment of the present application, whether the charging cable 301 supports fast charging can be determined by double determination. The double determination may include: (1) double pull-up judgment; (2) and judging the indication information. Wherein, (1) the double pull-up determination means: the handset 302 may determine whether a dual pull-up resistor is configured in the charging cable 301. (2) The instruction information determination means: the mobile phone 302 can read the preset indication information stored in the IC chip 701, and determine whether the charging cable 301 supports fast charging according to the preset indication information. If the charging cable 301 is configured with dual pull-up resistors and the preset indication information indicates that the charging cable 301 supports fast charging, the mobile phone 302 may recognize that the charging cable 301 supports fast charging.
The embodiment of the present application provides a charging cable 301, and regardless of whether the charging cable 301 supports the PD protocol, the charging cable 301 may support the mobile phone 302 to determine whether the charging cable 301 supports the fast charging in the above-mentioned dual determination manner. That is to say, the scheme provided by the embodiment of the present application can be applied to determine whether all Type-C charging cables that support or do not support the PD protocol support fast charging. In other words, this scheme is applicable in the Type-C charging cable of multiple specification.
In addition, by adopting the scheme of the embodiment of the application, new pins do not need to be added to the charging interfaces (such as a Type-C interface or a Type-A interface) of the charging cable 301, the power supply equipment (such as the notebook computer 303) and the electronic equipment (such as the mobile phone 302); that is, it is not necessary to additionally customize a non-standard charging interface for the charging cable 301, the notebook computer 303, and the mobile phone 302, and it is possible to determine whether the charging cable supports fast charging.
Further, the charging cable 301 provided in the embodiment of the present application may support the above-mentioned dual determination to identify whether the charging cable 301 supports fast charging. Thus, the accuracy of the recognition result can be improved.
For convenience of understanding, the embodiment of the present application introduces the identification method of the charging cable 301 described in the above embodiment to describe in detail the principle of identifying whether the charging cable 301 supports fast charging in the embodiment of the present application.
The embodiment of the present application provides a method for identifying a charging cable, which can be applied to the identification system 300a shown in fig. 3. Specifically, as shown in fig. 8, the identification method of the charging cable may include S801-S810.
It should be noted that, with respect to the charging cable 301, whether or not the charging cable 301 supports quick charging may be identified by the mobile phone 302 shown in fig. 3. Wherein, after the user can insert the Type-a male plug 301b of the charging cable 301 shown in fig. 3 into the Type-a female plug 303a of the notebook computer 303 and insert the Type-C male plug 301a of the charging cable 301 into the Type-C female plug 302a of the mobile phone 302, the mobile phone 302 can identify whether the charging cable 301 supports quick charging.
For convenience of description, in the following embodiments, the Type-a male connector 301b of the charging cable 301 shown in fig. 3 is inserted into the Type-a female connector 303a of the notebook computer 303, which is simply referred to as the charging cable 301, to connect to the notebook computer 303; the Type-C male connector 301a of the charging cable 301 shown in fig. 3 is inserted into the Type-C female connector 302a of the mobile phone 302, which is simply referred to as the charging cable 301, to connect to the mobile phone 302.
S801, the mobile phone 302 identifies whether the charging cable 301 is configured with a double pull-up resistor.
The Type-C female terminal 302a of the mobile phone 302 is configured with dual pull-down resistors (e.g., pull-down resistor R3 and pull-down resistor R4). The cell phone 302 (e.g., the processor of the cell phone 302) can detect the voltages of the pull-down resistor R3 and the pull-down resistor R4 to determine whether the charging cable 301 is configured with dual pull-up resistors.
Specifically, in the following cases (a), (b), and (c), the cell phone 302 detects the voltages at the pull-down resistor R3 and the pull-down resistor R4, and different detection results can be obtained. Therefore, the cell phone 302 can determine whether or not the charging cable 301 is provided with the double pull-up resistor by detecting the voltages at the pull-down resistor R3 and the pull-down resistor R4.
Case (a): the Type-C female head 302a of cell-phone 302 connects the charging cable that disposes two pull-up resistance, and this charging cable connects power supply unit. Voltages are sensed across pull-down resistor R3 and pull-down resistor R4.
On the one hand, after the Type-A male connector 301b of the charging cable 301 is inserted into the Type-A female connector 303a of the notebook computer 303, the VBUS pin of the Type-C connector body 401 of the Type-A male connector 301b has a voltage of 5V. Thus, a voltage can be detected even at the pin CC1 connected to the VBUS pin (i.e., the VBUS pin of the Type-C connector body 401) through the pull-up resistor R1, and also at the pin CC2 connected to the VBUS pin through the pull-up resistor R2.
On the other hand, the two pull-down resistors are respectively connected to a CC pin in the Type-C female connector 302a of the mobile phone 302. For example, the pull-down resistor R3 may be connected to the CC1 pin in the Type-C female header shown in FIG. 5B, and the pull-down resistor R4 may be connected to the CC2 pin in the Type-C female header shown in FIG. 5B. Therefore, after the Type-C male connector 301a of the charging cable 301 is inserted into the Type-C female connector 302a of the mobile phone 302, the CC pin in the Type-C female connector 302a can contact the CC pin in the Type-C male connector 301 a. Specifically, a CC pin of the female head 302a of Type-C can contact the CC1 pin of the male head 301a of Type-C, and another CC pin of the female head 302a of Type-C can contact the CC2 pin of the male head 301a of Type-C.
From the above description it follows that: after the Type-A male connector 301b of the charging cable 301 is inserted into the Type-A female connector 303a of the notebook computer 303, a voltage can be detected on both the CC1 pin and the CC2 pin of the Type-A male connector 301 b. Therefore, after the Type-C male connector 301a of the charging cable 301 is inserted into the Type-C female connector 302a of the mobile phone 302, the CC pin in the Type-C male connector 301a contacts the CC pin in the Type-C female connector 302 a; therefore, the two pull-down resistors (e.g., pull-down resistor R3 and pull-down resistor R4) can form a voltage divider circuit with the two pull-up resistors (e.g., pull-up resistor R1 and pull-up resistor R2) of the charging cable 301. Thus, the voltage across pull-down resistor R3 and pull-down resistor R4 can also be detected.
Case (b): the female head 302a of Type-C of cell-phone 302 connects the charging cable that disposes single pull-up resistance, and this charging cable connects power supply unit. A voltage may be sensed across pull-down resistor R3 or pull-down resistor R4. In other words, only one pull-down resistor can detect a voltage, while the other pull-down resistor cannot detect a voltage.
Charging cable disposes single pull-up resistance, means that in this charging cable's Type-C connector, only a CC pin connects up pull-up resistance. Therefore, after the Type-A male plug of the charging cable is inserted into the Type-A female plug 303a of the notebook computer 303, only one of the CC1 pin and the CC2 pin of the Type-A male plug can detect the voltage, and the other CC pin cannot detect the voltage. Thus, after the Type-C male plug of the charging cable is inserted into the Type-C female plug of the mobile phone 302, only one of the two pull-down resistors can form a voltage-dividing circuit with one pull-up resistor of the charging cable 301. In this way, only one of the pull-down resistors R3 and R4 has a voltage detectable at it.
Case (c): the Type-C female head 302a of the cell phone 302 is not connected to any charging cable. No voltage is detected across both pull-down resistor R3 and pull-down resistor R4.
In the case (a) or the case (b), the voltage value detected by the mobile phone 302 may be affected by the resistance values of the pull-up resistor and the pull-down resistor. The resistance values of the pull-up resistor and/or the pull-down resistor are different, and the voltage values detectable by the mobile phone 302 are different, which is not limited in the embodiment of the present application.
Specifically, if the cell phone 302 detects a voltage across both the pull-down resistor R3 and the pull-down resistor R4, it can be determined that the charging cable 301 is configured with dual pull-up resistors; in this case, the handset 302 may perform S802. If the cell phone 302 detects a voltage on only one pull-down resistor (e.g., pull-down resistor R3 or pull-down resistor R4), then it can be determined that the charging cable 301 is configured with a single pull-up resistor; in this case, the handset 302 may perform S810.
S802, the mobile phone 302 sends out a first discovery request from the CC1 pin of the Type-C female connector 302a, and the CC2 pin of the Type-C female connector 302a is used as a VCONN pin to supply power.
In the case that the mobile phone 302 cannot determine that the Type-C male connector 301a of the charging cable 301 is inserted in the forward direction or the reverse direction into the Type-C female connector 302a of the mobile phone 302, the mobile phone 302 may attempt to issue a discovery request (e.g., the first discovery request) from one CC pin (e.g., the CC1 pin) of the Type-C female connector 302a, and supply power to the other CC pin (e.g., the CC2 pin) as the VCONN pin.
The discovery request (discovery identity request) described in the embodiment of the present application, for example, the first discovery request, is used to obtain the preset indication information from the charging cable 301. For example, the message format of the first discovery request described above is shown in table 1.
TABLE 1
Figure BDA0002561222010000201
As shown in table 1, the first discovery request may include at least the following fields: a Message Header (Message Header) field, a Command Type (Command Type) field, and a Command (Command) field. The Message Header field includes a Message identification (Message ID) of the first discovery request. The Command Type field is used to indicate that the message Type of the first discovery Request is a Request (Request) message. The Command field is used to indicate the purpose of the first discovery request, such as discovery Identity (discovery Identity), that is, to obtain the preset indication information stored in the charging cable 301, so as to identify whether the charging cable 301 supports fast charging.
It should be noted that the cell phone 302 can issue the first discovery request from any CC pin of the Type-C female header 302 a. In S802, the mobile phone sends the first discovery request from the CC1 pin of the Type-C header 302 a. In two cases, the Type-C male connector 301a of the charging cable 301 is inserted into the Type-C female connector 302a of the mobile phone 302 in the forward direction, and the Type-C male connector 301a of the charging cable 301 is inserted into the Type-C female connector 302a of the mobile phone 302 in the reverse direction, the Type-C male connector 301a can receive the CC pin of the first discovery request differently.
(1) Case of forward insertion:
assuming that the Type-C male connector 301a of the charging cable 301 is inserted into the Type-C female connector 302a of the mobile phone 302 in the forward direction, the CC1 pin of the Type-C male connector 301a contacts the CC1 pin of the Type-C female connector 302a, and the CC2 pin of the Type-C male connector 301a contacts the CC2 pin of the Type-C female connector 302 a.
In this case, the CC1 pin of the Type-C male connector 301a of the charging cable 301 may receive a first discovery request from the CC1 pin of the Type-C female connector 302 a. However, as shown in FIG. 7, the CC1 pin of the Type-C male connector 301a is connected to the VDD pin of the IC chip 701 for supplying power to the IC chip 701. Therefore, the IC chip 701 cannot respond to the first discovery request. Thus, the mobile phone 302 does not receive the discovery confirm message of the first discovery request.
(2) Case of reverse insertion:
assuming that the Type-C male connector 301a of the charging cable 301 is reversely inserted into the Type-C female connector 302a of the mobile phone 302, the CC1 pin of the Type-C male connector 301a contacts the CC2 pin of the Type-C female connector 302a, and the CC2 pin of the Type-C male connector 301a contacts the CC1 pin of the Type-C female connector 302 a.
In this case, the CC2 pin of the Type-C male connector 301a of the charging cable 301 may receive a first discovery request from the CC1 pin of the Type-C female connector 302 a. As shown in FIG. 7, the CC2 pin of the Type-C male connector 301a is connected to a signal pin (e.g., CC pin) of the IC chip 701. Therefore, the first discovery request may be transmitted to the IC chip 701, and the IC chip 701 may reply to a discovery identity ACK (discovery identity ACK) through a signal pin of the IC chip 701 in response to the first discovery request.
It should be noted that, when the Type-C male connector 301a of the charging cable 301 is inserted into the Type-C female connector 302a of the mobile phone 302 in the forward or reverse direction, the contact condition of the CC pins of the Type-C male connector 301a and the Type-C female connector 302a includes, but is not limited to, the condition described in the above embodiment.
For example, in some embodiments, with a positive insertion, the CC1 pin of the Type-C male header 301a contacts the CC2 pin of the Type-C female header 302a, and the CC2 pin of the Type-C male header 301a contacts the CC1 pin of the Type-C female header 302 a; in the case of reverse insertion, the CC1 pin of the Type-C male header 301a contacts the CC1 pin of the Type-C female header 302a, and the CC2 pin of the Type-C male header 301a contacts the CC2 pin of the Type-C female header 302 a.
In this embodiment, in the case of forward insertion, as shown in fig. 7, since the CC2 pin of the Type-C male header 301a is connected to the signal pin (e.g., CC pin) of the IC chip 701; accordingly, a first discovery request may be transmitted to IC chip 701, and IC chip 701 may reply with a discovery confirm message through a signal pin (e.g., CC pin) of IC chip 701 in response to the first discovery request. In the case of reverse insertion, the IC chip 701 does not reply to the discovery confirm message via a signal pin (e.g., CC pin).
From the above embodiment, it can be seen that: influenced by the direction in which the Type-C male connector 301a of the charging cable 301 is inserted into the Type-C female connector 302a of the mobile phone 302 (i.e., forward or reverse insertion). The first discovery request issued by the handset executing S802 from the CC1 pin of the Type-C female head 302a is not necessarily receivable by the charging cable 301. As such, the charging cable 301 may not necessarily send the discovery confirm message of the first discovery request to the handset 302.
To avoid the effect of the direction in which the Type-C male connector 301a of the charging cable 301 is inserted into the Type-C female connector 302a of the mobile phone 302 (i.e., forward or reverse insertion) on the quick charging identification result. If the cell phone 302 does not receive the discovery confirm message within the first preset time period since the first discovery request was sent, the cell phone 802 may send a second discovery request from the CC2 pin of the Type-C header 302 a. Specifically, after S802, the method of the embodiment of the present application further includes S803.
S803, the mobile phone 302 determines whether the discovery confirm message of the first discovery request is received within the first preset time duration.
The first preset time duration may be a fixed time duration from the beginning of the mobile phone 302 sending the first discovery request. For example, the first preset time period may be any one of 1 second(s), 3s, 30 milliseconds (ms), or 10 ms. The first preset time length can be preset in the mobile phone; or the first preset time period may be set in the mobile phone by the user, which is not limited in the embodiment of the present application.
The discovery identity ACK (discovery identity ACK) described in this embodiment is used to indicate to the cell phone 302 whether the charging cable 301 supports fast charging. For example, the message format of the discovery confirm message is shown in table 2.
TABLE 2
Figure BDA0002561222010000221
As shown in table 2, the discovery acknowledgement message (discovery identity ACK) may include at least the following fields: a Message Header (Message Header) field, a Command Type (Command Type) field, a Command (Command) field, and a VBUS Current (Current) field. The VBUS current field may also be referred to as a current field for short.
The Message Header field includes a Message identity (Message ID) of the discover identity ACK. The Command Type field is used to indicate that the message Type of the discover identity ACK is an Acknowledgement (ACK) message. The Command field is used to indicate the purpose of the Discover Identity ACK, such as discovery Identity (Discover Identity). The Current field stores therein the preset indication information described in the embodiments of the present application. For example, the preset indication information may be used to indicate a current value of the charging current supported by the charging cable 301, such as 2A, 1.5A, or 5A. Optionally, in other embodiments, the preset indication information may also be a first flag (e.g. 10) or a second flag (e.g. 00) with a preset length. The first flag bit may be used to indicate that the charging cable 301 supports fast charging, and the second flag bit may be used to indicate that the charging cable 301 does not support fast charging. Of course, the first flag bit and the second flag bit are not limited to 10 and 00. For example, the first flag bit may be 1, and the second flag bit may be 0, which is not limited in this embodiment of the application.
It should be noted that the Message ID included in the header of the discovery acknowledgement Message (discovery Identity ACK) of the first discovery request is the same as the Message ID included in the header of the first discovery Message, and the Command field of the discovery acknowledgement Message is also the discovery Identity. In contrast, the command type of the discovery confirm message of the first discovery request is ACK. Based on this, after the mobile phone 302 receives a Message, if the Message ID included in the header of the Message is the same as the Message ID included in the header of the first discovery Message, the Command type of the Message is ACK, and the Command field of the Message is Discover Identity, the mobile phone 302 may determine that the Message is a discovery confirm Message of the first discovery request.
Specifically, after S803, if the mobile phone 302 does not receive the discovery confirm message of the first discovery request within the first preset time period, the mobile phone 302 may perform S804-S805. After S803, if the handset 302 receives the discovery confirm message of the first discovery request within the first preset time period, the handset 302 may perform S806.
S804, the mobile phone 302 sends out a second discovery request from the CC2 pin of the Type-C female connector 302a, and turns off the power output of the CC2 pin of the Type-C female connector 302a, and supplies power to the CC1 pin as a VCONN pin.
The second discovery request (discovery identity request) is used to obtain the preset indication information from the charging cable 301. The message format of the second discovery request is the same as the message format of the first discovery request. For example, the message format of the second discovery request is shown in table 1. Also, the specific contents of the Command Type field and the Command field of the second discovery request are the same. The difference is that: the Message ID of the second discovery request is different from the Message ID of the first discovery request.
S805, the mobile phone 302 determines whether the discovery confirm message of the second discovery request is received within a second preset time period.
The second preset time period may be a fixed time period from the mobile phone 302 sending the second discovery request. For example, the second preset time period may be any one of 1 second(s), 3s, 30 milliseconds (ms), or 10 ms. The second preset time period may be the same as or different from the first preset time period. The second preset time length can be configured in the mobile phone in advance; or the second preset time period may be set in the mobile phone by the user, which is not limited in the embodiment of the present application.
It should be noted that the Message ID included in the header of the discovery acknowledgement Message (discovery Identity ACK) of the second discovery request is the same as the Message ID included in the header of the second discovery Message, and the Command field of the discovery acknowledgement Message is also discovery Identity. In contrast, the command type of the discovery confirm message of the second discovery request is ACK. Based on this, after the mobile phone 302 receives a Message, if the Message ID contained in the header of the Message is the same as the Message ID contained in the header of the second discovery Message, the Command type of the Message is ACK, and the Command field of the Message is Discover Identity, the mobile phone 302 may determine that the Message is a discovery confirm Message of the second discovery request.
It is understood that in the case that the IC chip 701, the CC1 pin and the CC2 pin shown in fig. 7 are normal, the reason why the cell phone 302 does not receive the discovery confirm message of the first discovery request within the first preset time period after S802 is that: influenced by the direction in which the Type-C male connector 301a of the charging cable 301 is inserted into the Type-C female connector 302a of the mobile phone 302 (i.e., forward or reverse insertion). In this case, the handset 302 may execute S804 to issue a second discovery request from another CC pin (e.g., the CC2 pin).
From the description of the above embodiments: in the case of the above (1) forward insertion, the CC1 pin of the Type-C male header 301a contacts the CC1 pin of the Type-C female header 302a, and the CC2 pin of the Type-C male header 301a contacts the CC2 pin of the Type-C female header 302 a.
In this case, the CC2 pin of the Type-C male connector 301a of the charging cable 301 may receive the second discovery request from the CC2 pin of the Type-C female connector 302 a. As shown in FIG. 7, the CC2 pin of the Type-C male connector 301a is connected to a signal pin (e.g., CC pin) of the IC chip 701. Therefore, the second discovery request may be transmitted to the IC chip 701, and the IC chip 701 may reply to a discovery acknowledgement message (discovery identity ACK) of the second discovery request through a signal pin of the IC chip 701 in response to the second discovery request.
In the case of the above (2) reverse insertion, the CC1 pin of the Type-C male header 301a contacts the CC2 pin of the Type-C female header 302a, and the CC2 pin of the Type-C male header 301a contacts the CC1 pin of the Type-C female header 302 a.
In this case, the CC1 pin of the Type-C male connector 301a of the charging cable 301 may receive the second discovery request from the CC2 pin of the Type-C female connector 302 a. However, as shown in FIG. 7, the CC1 pin of the Type-C male connector 301a is connected to the VDD pin of the IC chip 701 for supplying power to the IC chip 701. Therefore, the IC chip 701 cannot respond to the first discovery request. Thus, the handset 302 does not receive the discovery confirm message of the second discovery request.
Specifically, if the mobile phone 302 receives the discovery confirm message of the second discovery request within the second preset time period, the mobile phone 302 may execute step S806 to determine whether the mobile phone 302 supports fast charging. If the handset 302 does not receive the discovery confirm message of the second discovery request within the second preset time period, the handset 302 may execute S809. The handset 302 may also turn off the power output of the CC1 pin of the Type-C header 302a if the handset 302 does not receive the discovery confirm message of the second discovery request within the second preset time period.
S806, the mobile phone 302 obtains the preset indication information from the discovery confirm message.
S807, the mobile phone 302 determines whether the charging cable 301 supports fast charging according to the preset indication information.
Illustratively, after S803, if the handset 302 receives the discovery confirm message of the first discovery request within the first preset time duration; or, after S805, if the mobile phone 302 receives the discovery confirm message of the second discovery request within the second preset time period, the mobile phone 302 may read the Current field of the discovery confirm message to obtain the preset indication information, and determine whether the charging cable 301 supports fast charging according to the preset indication information.
For example, the preset indication information may be used to indicate a current value of the charging current supported by the charging cable 301, such as 2A, 1.5A, or 5A. If the current value of the charging current indicated by the preset indication information is greater than or equal to the preset current threshold, the cell phone 302 may determine that the charging cable 301 supports fast charging. If the current value of the charging current indicated by the preset indication information is smaller than the preset current threshold, the cell phone 302 may determine that the charging cable 301 does not support the quick charging.
For another example, the predetermined indication information may also be a first flag (e.g. 10) or a second flag (e.g. 00) with a predetermined length. The first flag bit may be used to indicate that the charging cable 301 supports fast charging, and the second flag bit may be used to indicate that the charging cable 301 does not support fast charging. If the preset indication information read by the cell phone 302 from the Current field of the discovery confirm message is the first flag bit, it can be determined that the charging cable 301 supports fast charging. If the preset indication information read from the Current field of the discovery confirm message by the cell phone 302 is the second flag bit, it can be determined that the charging cable 301 does not support fast charging.
After S807, if the cell phone 302 determines that the charging cable 301 supports quick charging, the cell phone 302 may perform S808; if the cell phone 302 determines that the charging cable 301 does not support quick charging, the cell phone 302 may perform S810.
And S808, the mobile phone 302 interacts with the notebook computer 303 through the charging cable 301 to request the notebook computer 303 to rapidly charge the mobile phone 302 in a high-current mode.
The large current in S808 is determined by the mobile phone 302 according to the charging current supported by the mobile phone 302 and the charging current supported by the charging cable 301. The current value of the large current is larger than or equal to the preset current threshold value.
S809, the mobile phone 302 interacts with the notebook computer 303 through the charging cable 301, and requests the notebook computer 303 to charge the mobile phone 302 according to the conventional charging current.
Wherein, the normal charging current described in S809 is determined by the mobile phone 302 according to the charging current supported by the mobile phone 302 and the charging current supported by the charging cable 301. The current value of the normal charging current is less than or equal to the current value of the charging current supported by the mobile phone 302; and the current value of the regular charging current is less than or equal to the current value of the charging current supported by the charging cable 301. The current value of the normal charging current is less than or equal to the preset current threshold.
And S810, the mobile phone 302 interacts with the notebook computer 303 through the charging cable 301 according to a conventional process, and requests the notebook computer 303 to charge the mobile phone 302.
In the method for identifying a charging cable provided in the embodiment of the present application, no matter whether the charging cable 301 supports the PD protocol, the mobile phone 302 may determine whether the charging cable 301 supports the fast charging in the above-described dual determination manner. That is to say, through this scheme, can support the judgement whether quick charge is carried out to all Type-C charging cables that support or do not support the PD agreement. In other words, this scheme is applicable in the Type-C charging cable of multiple specification. Further, the mobile phone 302 identifies whether the charging cable 301 supports fast charging through the above dual determination, so as to improve the accuracy of the identification result.
In addition, in the scheme, new pins do not need to be added to the charging cable 301, the power supply device (such as the notebook computer 303) and the charging interface (such as the Type-C interface or the Type-A interface) of the electronic device (such as the mobile phone 302); that is, it is not necessary to additionally customize a non-standard charging interface for the charging cable 301, the notebook computer 303, and the mobile phone 302, and it can be determined whether the charging cable supports fast charging.
In other embodiments, the discovery acknowledgement message (discovery identity ACK), such as the discovery acknowledgement message of the first discovery request or the discovery acknowledgement message of the second discovery request, may further include: authentication information for authenticating the charging cable 301. For example, the authentication information may include at least one of a manufacturer code of the charging cable 301, an authentication code of the charging cable 301, a product Identification (ID), a product code, hardware version information, and firmware version information. For example, the message format of the discovery confirm message is shown in table 3.
TABLE 3
Figure BDA0002561222010000241
Wherein the manufacturer code is used to indicate the manufacturer or vendor of the charging cable 301. For example, the manufacturer code may be a huapei. The authentication code is used to indicate whether the charging cable 301 is authenticated by the manufacturer or the vendor. Wherein, the manufacturer or the manufacturer can set a fixed authentication code for the authenticated charging cable 301, so that the electronic device (such as the mobile phone 302) can recognize the authentication code. The manufacturer or manufacturer may manufacture or produce various models of the charging cable, and the product ID indicates the model of the charging cable 301. A manufacturer or manufacturer may make or produce a large number of charging cables for the same model. The product code is product information (information such as a code) of the charging cable 301 in the model indicated by the product ID. A manufacturer or vendor may perform a product upgrade of hardware or software for each model of charging cable. The hardware version information described above is used to indicate the hardware version of the charging cable 301. The firmware version information is used to indicate the software version of the charging cable 301.
In this embodiment, after S803, if the handset 203 receives the discovery confirm message of the first discovery request; alternatively, after S805, if the handset 203 receives the discovery confirm message of the second discovery request, the handset 302 may not perform S806 first, but perform S901 shown in fig. 9 to authenticate the charging cable 301. After S901, if the authentication of the charging cable 301 passes, the handset 302 may perform S806. As shown in fig. 9, before S806, the method of the embodiment of the present application further includes S901.
S901, the mobile phone 302 performs authentication and verification on the charging cable 302 according to the authentication information in the discovery confirmation message.
Wherein, the authentication information may include: at least one of a manufacturer code of the charging cable 301, an authentication code of the charging cable 301, a product Identification (ID), a product code, hardware version information, and firmware version information.
The mobile phone 302 may store authentication information of at least one charging cable that supports the mobile phone 302 for fast charging identification. The authentication information of each charging cable may include: at least one of manufacturer code, authentication code, product ID, product code, hardware version information, and firmware version information of the corresponding charging cable.
The mobile phone 302 may compare the authentication information of the charging cable 302 with the authentication information of at least one charging cable stored in the mobile phone 302 to authenticate the charging cable 302. If the authentication information of the charging cable 302 is the same as the authentication information of any one of the charging cables stored in the mobile phone 302, the authentication of the charging cable 302 is passed. If the authentication information of the charging cable 302 is different from the authentication information of each charging cable stored in the mobile phone 302, the authentication of the charging cable 302 is not passed.
Specifically, as shown in fig. 9, after S901, if the authentication of the charging cable 302 is passed, the mobile phone 302 may perform S806; if the authentication of the charging cable 302 is not passed, the handset 302 may perform S810.
In this embodiment, before determining whether the charging cable 302 supports fast charging, the mobile phone 302 may perform authentication on the charging cable 302. The mobile phone 302 may only identify whether the charging cable passing the authentication supports the fast charging. Therefore, in the embodiment of the present application, the mobile phone 3002 only uses the charging cable that passes the authentication and supports the fast charging to perform the fast charging. In this way, the possibility of potential safety hazards due to the use of the handset 302 for rapid charging using a replica of the charging cable provided herein (i.e., the charging cable) can be reduced. Thus, the safety of the mobile phone 302 for quick charging can be improved.
For convenience of understanding, fig. 10A illustrates another flowchart of an identification method of a charging cable provided in an embodiment of the present application. As shown in fig. 10A, after the charging cable 301 is inserted into S1000 (i.e., the charging cable 301 is connected to the mobile phone 302 and connected to the laptop 303), the mobile phone 302 can identify whether the CC1 pin and the CC2 pin of the charging cable 301 are connected to the dual pull-up resistor, i.e., the mobile phone 302 can perform S1001. For a detailed description of S1001, reference may be made to the description of S801 in the foregoing embodiment, which is not repeated herein.
If the CC1 pin and the CC2 pin of the charging cable 301 are not connected with the dual pull-up resistors, the mobile phone 302 may be charged according to the general charging procedure, i.e., S1010 is performed. For a detailed description of S1010, reference may be made to the description of S810 in the above embodiments, which is not repeated herein.
If the dual pull-up resistors are connected to the CC1 pin and the CC2 pin of the charging cable 301, the cell phone 302 supplies the power VCONN from the CC2 pin of the Type-C female connector 302a of the cell phone 302, and sends the first discovery request from the CC1 pin, and S1002 is executed. For a detailed description of S1002, reference may be made to the description of S802 in the foregoing embodiments, which are not repeated herein.
After S1002, the handset 302 may determine whether to receive a response to the first discovery request (i.e., a discovery confirm message of the first discovery request), i.e., execute S1003. For a detailed description of S1003, reference may be made to the description of S803 in the above embodiment, which is not repeated herein.
After S1003, if the response is received, the mobile phone 302 may determine whether the response information is consistent with the authentication requirement, and then execute S1004. The response information may also be referred to as authentication information. For a detailed description of S1004, reference may be made to the description of S901 in the above embodiments, which is not repeated herein.
After S1003, if no response is received, the handset 302 may turn off the VCONN output of the CC2 pin of the Type-C female header 302a, i.e., execute S1005. Then, the handset 302 may supply the power VCONN from the CC1 pin of the Type-C header 302a and send a second discovery request from the CC2 pin, i.e., execute S1006. For a detailed description of S1005 and S1006, reference may be made to the description of S804 in the above embodiment, which is not repeated herein.
After S1006, the handset 302 may determine whether a response to the second discovery request (i.e., a discovery confirm message of the second discovery request) is received, i.e., execute S1007. For a detailed description of S1007, reference may be made to the description of S805 in the above embodiment, which is not repeated herein.
After S1007, if a response is received, the mobile phone 302 may determine whether the response information is consistent with the authentication request, and then execute S1008. The response information may also be referred to as authentication information. For a detailed description of S1008, reference may be made to the description of S901 in the above embodiments, which is not repeated herein. After S1007, if no response is received, the handset 302 may turn off the power supply VCONN output of the CC1 pin of the Type-C female connector 302a, and identify the charging cable 301 as a normal fast charging cable, i.e., execute S1009 and S1012. For a detailed description of S1012, reference may be made to the description of S809 in the foregoing embodiment, which is not repeated herein.
After S1004 and S1008, if the response information is consistent with the authentication requirement, the mobile phone 302 may identify the charging cable 301 as the dedicated fast charging cable, i.e., perform S1011. For a detailed description of S1011, reference may be made to the description of S808 in the above embodiments, which are not repeated herein. If the response message is not consistent with the authentication requirement, the mobile phone 302 may recognize the charging cable 301 as a general charging cable, and the mobile phone may perform S1010.
In some embodiments, the reason why the mobile phone 302 does not receive the discovery confirm message of the first discovery request within the first preset time period and the reason why the mobile phone 302 does not receive the discovery confirm message of the second discovery request within the second preset time period may not be that the charging interface is plugged in or unplugged; but because the IC chip 701 has not been successfully started or because of other reasons, the IC chip 701 cannot timely feed back the discovery confirm message of the discovery request.
Based on this, after S802 (i.e., S1002), the handset 302 may perform S803 (i.e., S1003) to determine whether a discovery confirm message of the first discovery request is received within a first preset time period; if a discovery confirm message for the first discovery request is not received, the handset 302 may again issue the first discovery request from the CC1 pin of the Type-C header 302 a. In the case that the first discovery request is sent from the CC1 pin of the Type-C mother header 302a multiple times (e.g., N times), and the discovery confirm message of the first discovery request is not received, the handset 302 may execute S804 (i.e., S1005).
Specifically, after S802, the handset 302 executes S803 (i.e., S1003) to determine whether a discovery confirm message of the first discovery request is received within a first preset time period; if a discovery confirm message of the first discovery request is not received, the handset 302 may determine whether the reset count value of the handset 302 is equal to N. Wherein N is more than or equal to 2 and is a positive integer. For example, N-2, N-3 or N-4. The reset count value may have an initial value of 0. If the reset count value of the mobile phone 302 is less than N, the mobile phone 302 performs software reset. After the software of the mobile phone 302 is reset, the S802 may be executed again; also, the mobile phone 302 may add 1 to the reset count value of the mobile phone 302. If the reset count value of the cell phone 302 is equal to N, the cell phone 302 may perform S804 (i.e., S1005); the reset count value of the handset 302 is then cleared.
Illustratively, in conjunction with fig. 10A, as shown in fig. 10B, after S1003 (i.e., S803), if the handset 302 does not receive a response (i.e., the discovery confirm message of the first discovery request), the handset 302 may perform S1013 to determine whether the reset count value of the handset 302 is equal to N. If the reset count value is less than N, the mobile phone 302 executes S1014 to perform software reset and add 1 to the reset count value. The reset count value may have an initial value of 0. After the software reset, the mobile phone 302 may re-execute S1002 (i.e., S802). If the reset count value is equal to N, the handset 302 may perform S1015, clear the reset count value, and perform S1005.
In some embodiments, after S802 (i.e., S1002), the handset 302 performs S803 (i.e., S1003) after receiving the response message of the first discovery request, and determines whether the discovery confirm message of the first discovery request is received within a first preset time period. In this embodiment, the first preset duration is a fixed duration from the receipt of the response message of the first discovery request by the handset 302. The response message is used to indicate that the IC chip 701 has received the first discovery request. However, the response message does not include the preset indication information.
If the mobile phone 302 does not receive the response message of the first discovery request within the third preset time period, the mobile phone 302 does not execute the step S803 to determine whether the discovery confirm message of the first discovery request is received within the first preset time period, and does not perform software reset; but instead determines whether the retry count of the handset 302 is equal to M. Wherein M is more than or equal to 2, and N is a positive integer. For example, M-2 or M-3. The retry count value may have an initial value of 0.
If the retry count value of the handset 302 is equal to M, the handset 302 may perform S804 (equivalent to S1005); the retry count of the handset 302 is then cleared. If the retry count of the cell phone 302 is less than M, the cell phone 302 may issue the first discovery request again from the CC1 pin of the Type-C header 302a until the cell phone 302 receives a response message of the first discovery request within a third preset time period or the retry count is equal to M.
In some cases, the IC chip 701 may be broken down due to a large voltage (e.g., several hundred volts V) input from the CC pin or the VBUS pin of the Type-C male connector 301a of the charging cable 302. For example, part of the housing of the handset is metallic, or the housing of the handset includes metallic components thereon. Thus, after the Type-C male connector 301a of the charging cable 302 is inserted into the Type-C female connector 302a of the mobile phone 302, a large voltage may be input to the CC pin or the VBUS pin of the Type-C male connector 301a due to static electricity generated on the housing of the mobile phone 302, which may cause the IC chip 701 to be broken down. For another example, the Type-C male connector 301a of the charging cable 302 may generate static electricity due to static electricity in the air or contact with a user, so that a large voltage is input to the CC pin or the VBUS pin of the Type-C male connector 301a, resulting in breakdown of the IC chip 701.
In order to protect the IC chip 701, as shown in fig. 10C, the identification circuit 402a shown in fig. 7 may further include: a guard circuit 702. The guard circuit 702 may include: zener diode K1 and zener diode K2. Wherein, zener diode K1 is a first zener diode, and zener diode K2 is a second zener diode.
As shown in fig. 10C, the cathode of the zener diode K1 is connected to the first auxiliary configuration pin (e.g., the CC1 pin) of the Type-C connector body 401, and the anode of the zener diode K1 is grounded; the cathode of the zener diode K2 is connected to the second auxiliary configuration pin (e.g., the CC2 pin) of the Type-C connector body 401, and the anode of the zener diode K2 is grounded.
For example, the zener diodes provided in the embodiments of the present application (such as the zener diode K1 and the zener diode K2) may be transient diodes TVS. The voltage regulator diode (such as TVS) has the following characteristics: when the zener diode is subjected to a reverse transient high energy impact (for example, the voltage value input from the negative pole to the positive pole is greater than the preset voltage threshold value of the zener diode), the zener diode can be instantaneously and reversely broken down (referred to as avalanche breakdown). At this time, the resistance value of the reverse resistor of the zener diode is reduced to a very small value, which is equivalent to the resistance value of the wire. However, the forward resistance of the zener diode is unchanged regardless of whether the zener diode is subjected to a reverse transient high energy surge.
Illustratively, the connection mode of the zener diode K1 in the identification circuit 402a is based on that shown in fig. 10C. When the input voltage value of the pin CC1 is greater than the voltage of the preset voltage threshold, the zener diode K1 can be instantaneously and reversely broken down. Since the anode of the zener diode K1 is grounded; therefore, the voltage at pin CC1 can be drained through zener diode K1. The connection mode of the zener diode K2 in the identification circuit 402a is based on that shown in fig. 10C. When the input voltage value of the pin CC2 is greater than the voltage of the preset voltage threshold, the zener diode K2 can be instantaneously and reversely broken down. Since the anode of the zener diode K2 is grounded; therefore, the voltage at pin CC2 can be drained through zener diode K2.
In summary, even if the voltage value input by the pin CC1 and the pin CC2 of the Type-C male connector 301a is larger than the voltage threshold, the voltage can be discharged through the zener diode K1 or the zener diode K2, and the IC chip 701 will not be broken down. Therefore, the normal work of the IC chip 701 can be ensured, and the service life of the IC chip 701 is prolonged.
In other embodiments, the operating voltage of the IC chip 701 may be different from the voltage provided by the CC1 pin of the Type-C male 301 a. For example, the voltage value of the operating voltage of the IC chip 701 may be 2.5V, and the voltage value of the voltage provided by the CC1 pin of the Type-C male connector 301a may be 3V.
Based on this situation, the identification circuit 402a may further include a voltage conversion circuit 703. For example, as shown in fig. 11, the identification circuit 402a shown in fig. 10C may further include a voltage conversion circuit 703. The first terminal 703a of the voltage conversion circuit 703 is connected to the pin CC1 of the Type-C male connector 301a, and the second terminal 703b of the voltage conversion circuit 703 is connected to the pin VDD of the IC chip 701. The voltage conversion circuit 703 is used to convert the voltage provided by the pin CC1 of the Type-C male connector 301a into the operating voltage of the IC chip 701.
In this embodiment, the voltage conversion circuit 703 may convert the voltage provided by the CC1 pin of the Type-C male connector 301a into the operating voltage of the IC chip 701. Thus, the normal operation of the IC chip 701 can be ensured.
In other embodiments, the circuit structure of the identification circuit 402a shown in FIG. 4B is as shown in FIG. 12. As shown in fig. 12, the identification circuit 402a includes: pull-up resistor R1, pull-up resistor R2 and IC chip 1201. In this embodiment, the IC chip 1201 is powered by the VBUS pin of the Type-C connector body 401.
As shown in FIG. 12, a first terminal of the pull-up resistor R1 is connected to the VBUS pin of the Type-C connector body 401, and a second terminal of the pull-up resistor R1 is connected to one CC pin (referred to as a first auxiliary configuration pin, e.g., the CC1 pin) of the Type-C connector body 401. As shown in FIG. 12, a first terminal of the pull-up resistor R2 is connected to the VBUS pin of the Type-C connector body 401, and a second terminal of the pull-up resistor R2 is connected to another CC pin (referred to as a second auxiliary configuration pin, such as the CC2 pin) of the Type-C connector body 401. For a detailed description of the pull-up resistor R1 and the pull-up resistor R2, reference may be made to the related descriptions in the above embodiments, which are not repeated herein.
After the Type-a male connector 301b of the charging cable 301 is inserted into the Type-a female connector 303a of the notebook computer 303, the VBUS pin of the Type-a female connector 303a of the notebook computer 303 may provide a voltage (e.g., a voltage of 5V) to the VBUS pin of the Type-C connector body 401 of the Type-a male connector 301 b. At this time, a voltage of 5V may be detected on the VBUS pin of the Type-C connector body 401 of the Type-A male connector 301 b. Thus, the VBUS pin of the Type-C connector body 401 can provide power to the IC chip 1201.
It should be noted that in the conventional technology, only one CC pin of the Type-C connector is connected to the pull-up resistor. In the embodiment of the present application, the two CC pins of the Type-C connector body 401 are connected to pull-up resistors.
It can be understood that the above-mentioned dual pull-up resistors (such as pull-up resistor R1 and pull-up resistor R2) are configured at the Type-a male plug 301b of the charging cable 301, and are used for supporting the mobile phone 302 to determine whether the charging cable 301 supports fast charging through whether the charging cable 301 is configured with the dual pull-up resistors. The detailed description of the above embodiments can be referred to for the specific method and principle of the mobile phone 302 for determining whether the charging cable 301 is configured with the dual pull-up resistor, and details thereof are not repeated herein.
As shown in fig. 12, IC chip 1201 includes a power supply pin (e.g., VDD pin), a signal pin (e.g., CC pin), and a ground pin (e.g., DGND). The IC chip 1201 stores therein preset instruction information. The preset indication information is used to indicate whether or not the charging cable 301 supports fast charging.
As shown in FIG. 12, the power pin (e.g., VDD pin) of IC chip 1201 is connected to the VBUS pin of Type-C connector body 401. It is understood that the VBUS pin of the Type-C connector body 401 is connected to the VDD pin of the IC chip 1201 for supplying power to the IC chip 1201.
The CC pin of the IC chip 1201 is connected to one CC pin of the Type-C connector body 401. For example, as shown in FIG. 12, the VDD pin of the IC chip 1201 is connected to the CC2 pin of the Type-C connector body 401. The CC pin of the IC chip 1201 and the CC2 pin of the Type-C connector body 401 are used to support the mobile phone 302 to obtain the preset indication information from the IC chip 1201, so as to identify whether the charging cable 301 supports fast charging according to the preset indication information.
In summary, according to the scheme provided by the embodiment of the present application, whether the charging cable 301 supports fast charging can be determined by double determination. The double determination may include: (1) double pull-up judgment; (2) and judging the indication information. Wherein, the (1) dual pull-up determination and the (2) indication information determination, and the mobile phone 302 identifies whether the charging cable 301 supports the specific manner of fast charging according to the (1) dual pull-up determination and the (2) indication information determination, which is not described herein again.
It should be noted that, for the technical problems solved by the charging cable 301 shown in fig. 12 and the technical effects that can be achieved, reference may be made to the detailed description of the charging cable 301 shown in fig. 7 in the foregoing embodiments, which is not repeated herein. In addition, before the notebook computer 303 charges the mobile phone 302 using the charging cable 301 shown in fig. 12, the mobile phone 302 identifies whether the charging cable 301 supports the fast charging method, which may refer to the methods shown in fig. 8 and fig. 9, and details of the embodiment of the present application are not repeated herein.
In order to avoid the IC chip 1201 from being broken down by a large voltage (e.g., several hundred volts V) inputted from the CC pin or the VBUS pin of the Type-C male connector 301a of the charging cable 302 as described in the above-described embodiment. That is, in order to protect the IC chip 1201, as shown in fig. 13, the identification circuit 402a shown in fig. 12 may further include: the guard circuit 1202. The guard circuit 1202 may include: zener diode K1 and zener diode K2.
As shown in fig. 12, the cathode of the zener diode K1 is connected to the first auxiliary configuration pin (e.g., the CC1 pin) of the Type-C connector body 401, and the anode of the zener diode K1 is grounded; the cathode of the zener diode K2 is connected to the second auxiliary configuration pin (e.g., the CC2 pin) of the Type-C connector body 401, and the anode of the zener diode K2 is grounded.
For example, the zener diodes provided in the embodiments of the present application (such as the zener diode K1 and the zener diode K2) may be TVS. The characteristics of the zener diode (e.g., TVS) can refer to the related description in the above embodiments, and are not repeated herein. Moreover, the principle that the protection circuit 1202 protects the IC chip 1201 from breakdown may refer to the related description in the above embodiments, which is not repeated herein.
Optionally, the identification circuit 402a shown in fig. 12 or fig. 13 may further include a voltage conversion circuit 703. For example, as shown in fig. 14, the identification circuit 402a shown in fig. 13 may further include a voltage conversion circuit 1203. As shown in fig. 14, a first end 1203a of the voltage conversion circuit 1203 is connected to the VBUS pin of the Type-C connector body 401, and a second end 1203b of the voltage conversion circuit 1203 is connected to the VDD pin of the IC chip 1201. The voltage converting circuit 1203 is configured to convert a voltage provided by the VBUS pin of the Type-C male connector 301a into an operating voltage of the IC chip 701.
In this embodiment, the voltage provided by the VBUS pin of the Type-C male connector 301a may be converted into an operating voltage of the IC chip 701 by the voltage conversion circuit 703. Thus, the normal operation of the IC chip 701 can be ensured.
In other embodiments, the functions of the identification circuit of the charging cable may be implemented in one chip. That is, the functions of the pull-up resistor R1, the pull-up resistor R2, the protection circuit 702, the voltage conversion circuit 703, the IC chip 701, and the like may be integrated into one chip (e.g., an IC chip).
Other embodiments of the present application provide an electronic device. The electronic device may be the electronic device to be charged, or the power supply device. The electronic device may include: the device comprises a charging interface, a memory and one or more processors. The interface that should charge is Type-C interface, Type-C connector promptly. The charging interface, the memory and the processor are coupled. The memory is for storing computer program code comprising computer instructions. When the processor executes the computer instructions, the electronic device may perform the functions or steps performed by the mobile phone 302 or the tablet computer 313 in the above method embodiments. The structure of the electronic device may refer to the structure of the electronic device 600 shown in fig. 6.
The embodiment of the present application further provides a chip system, such as the IC chip 701 described above, or a chip system integrated with the functions of the pull-up resistor R1, the pull-up resistor R2, the protection circuit 702, the voltage conversion circuit 703, the IC chip 701, and the like. The system-on-chip is applicable to a charging cable (e.g., charging cable 301).
The system-on-chip is exemplified by an IC chip 701. As shown in fig. 15, a chip system 1500 includes at least one processor 1501 and at least one interface circuit 1502. The processor 1501 and the interface circuit 1502 may be interconnected by wires.
The interface circuit 1502 may include a signal pin (e.g., the CC pin of IC chip 701) and a power pin (e.g., the VDD pin of IC chip 701); the processor 1501 stores therein preset indication information indicating whether the charging cable supports quick charging. The processor 1501 is configured to receive a discovery request (e.g., a first discovery request or a second discovery request) from an electronic device (e.g., the handset 320) from a signal pin; the discovery request is used for acquiring preset indication information; and responding to the discovery request, and sending a discovery confirmation message to the electronic equipment through a signal pin, wherein the discovery confirmation message comprises preset indication information.
The embodiment of the present application further provides another chip system, which is applied to an electronic device (such as the mobile phone 302 described above) including a Type-C interface, and the chip system includes an interface circuit and a processor. The interface circuit and the processor are interconnected by a line. For example, the interface circuitry may include the respective pins of a Type-C interface (i.e., a Type-C female header). An interface circuit for receiving signals from the memory and sending the signals to the processor, the signals comprising computer instructions stored in the memory; when the processor executes the computer instructions, the electronic device performs the method steps as performed by the handset 302 in the embodiments described above.
The embodiment of the present application further provides a computer storage medium, where the computer storage medium includes computer instructions, and when the computer instructions are run on the electronic device, the electronic device is enabled to execute each function or step executed by the mobile phone in the foregoing method embodiment.
The embodiment of the present application further provides a computer program product, which when running on a computer, causes the computer to execute each function or step executed by the mobile phone in the above method embodiments.
Through the description of the above embodiments, it is clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described device embodiments are merely illustrative, and for example, the division of the modules or units is only one logical functional division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another device, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may be one physical unit or a plurality of physical units, that is, may be located in one place, or may be distributed in a plurality of different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially or partially contributed to by the prior art, or all or part of the technical solutions may be embodied in the form of a software product, where the software product is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only an embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions within the technical scope of the present disclosure should be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (33)

1. A charging cable, characterized in that the charging cable comprises: a wire, a first connector and a second connector; the first connector comprises a first power supply pin; the second connector comprises a second power pin; the first power supply pin is connected with the second power supply pin through the wire;
the first connector further comprises a first auxiliary configuration pin, a second auxiliary configuration pin and a kit, wherein the kit is provided with an identification circuit; the identification circuit comprises a first pull-up resistor, a second pull-up resistor and an Integrated Circuit (IC) chip;
a first end of the first pull-up resistor is connected with the first power supply pin, and a second end of the first pull-up resistor is connected with the first auxiliary configuration pin; a first end of the second pull-up resistor is connected with the first power supply pin, and a second end of the second pull-up resistor is connected with the second auxiliary configuration pin; the second auxiliary configuration pin is also connected with a signal pin of the IC chip; the first auxiliary configuration pin or the first power supply pin is connected with a power supply pin of the IC chip and used for supplying power to the IC chip;
preset indication information is stored in the IC chip; the IC chip is used for receiving a discovery request from electronic equipment from the signal pin, and the discovery request is used for acquiring the preset indication information; responding to the discovery request, and sending a discovery confirmation message to the electronic device through the signal pin, wherein the discovery confirmation message comprises the preset indication information; the preset indication information is used for indicating whether the charging cable supports quick charging or not.
2. The charging cable of claim 1, wherein the first connector is a Type-C connector, the first power pin is a VBUS pin, and the first and second auxiliary configuration pins are both Configuration Channel (CC) pins.
3. The charging cable according to claim 1 or 2, wherein the first auxiliary configuration pin is connected to a power supply pin of the IC chip;
the identification circuit further comprises: a first zener diode and a second zener diode;
the negative electrode of the first voltage stabilizing diode is connected with the first auxiliary configuration pin, and the positive electrode of the first voltage stabilizing diode is grounded; and the cathode of the second voltage stabilizing diode is connected with the second auxiliary configuration pin, and the anode of the second voltage stabilizing diode is grounded.
4. The charging cable of any one of claims 1-3, wherein the identification circuit further comprises: a voltage conversion circuit;
the first auxiliary configuration pin is connected to a power pin of the IC chip, and specifically includes: the first auxiliary configuration pin is connected with a power supply pin of the IC chip through the voltage conversion circuit; the first auxiliary configuration pin is connected with a first end of the voltage conversion circuit, and a second end of the voltage conversion circuit is connected with a power supply pin of the IC chip;
the voltage conversion circuit is used for converting the voltage provided by the first auxiliary configuration pin into the working voltage of the IC chip.
5. The charging cable according to claim 1 or 2, wherein the first power pin is connected to a power pin of the IC chip;
the identification circuit further comprises: a first zener diode and a second zener diode;
the negative electrode of the first voltage stabilizing diode is connected with the first power supply pin, and the positive electrode of the first voltage stabilizing diode is grounded; and the cathode of the second voltage stabilizing diode is connected with the second auxiliary configuration pin, and the anode of the second voltage stabilizing diode is grounded.
6. The charging cable of claim 1, 2 or 4, wherein the identification circuit further comprises: a voltage conversion circuit;
the first power pin is connected to a power pin of the IC chip, and specifically includes: the first power supply pin is connected with a power supply pin of the IC chip through the voltage conversion circuit; the first power supply pin is connected with a first end of the voltage conversion circuit, and a second end of the voltage conversion circuit is connected with a power supply pin of the IC chip;
the voltage conversion circuit is used for converting the voltage provided by the first power supply pin into the working voltage of the IC chip.
7. The charging cable according to claim 3 or 5, wherein the first and second zener diodes are transient diodes TVS.
8. The charging cable of claim 2, wherein the discovery acknowledgement message further comprises: authentication information for authenticating the charging cable; wherein the authentication information includes at least one of a manufacturer code, an authentication code, a product identification, a product code, hardware version information, and firmware version information of the charging cable;
wherein the manufacturer code is to indicate a manufacturer or vendor of the charging cable; the authentication code is used for indicating whether the charging cable is authenticated by the manufacturer or the manufacturer, and the manufacturer or the manufacturer sets a fixed authentication code for the authenticated charging cable; the product identification is used for indicating the model of the charging cable; the product code is a code of the charging cable in a model indicated by the product identification; the hardware version information is used for indicating a hardware version of the charging cable; the firmware version information is used to indicate a software version of the charging cable.
9. The method for identifying the charging cable is applied to electronic equipment, wherein the electronic equipment comprises a charging interface, and the charging interface comprises a first auxiliary configuration pin and a second auxiliary configuration pin; the method comprises the following steps:
when the first connector of the charging cable is inserted into the charging interface, the electronic equipment identifies whether the charging cable is provided with double pull-up resistors or not; wherein the second connector of the charging cable is connected with a power supply device;
if the charging cable is configured with the double pull-up resistors, the electronic equipment sends a first discovery request from the first auxiliary configuration pin; the first discovery request is used for acquiring preset indication information indicating whether the charging cable supports quick charging from the charging cable;
if the electronic device receives the discovery confirmation message of the first discovery request within a first preset time period, and preset indication information in the discovery confirmation message of the first discovery request indicates that the charging cable supports quick charging, the electronic device interacts with the power supply device to request the power supply device to quickly charge the electronic device in a large-current manner.
10. The method of claim 9, wherein the charging interface is a Type-C interface, and the first auxiliary configuration pin and the second auxiliary configuration pin are both configuration channel CC pins.
11. The method according to claim 9 or 10, characterized in that the method further comprises:
if the electronic device does not receive the discovery confirmation message of the first discovery request within the first preset time length, the electronic device sends a second discovery request from the second auxiliary configuration pin; wherein the second discovery request is used for acquiring preset indication information indicating whether the charging cable supports fast charging from the charging cable;
if the electronic device receives the discovery confirmation message of the second discovery request within a second preset time period, and preset indication information in the discovery confirmation message of the second discovery request indicates that the charging cable supports quick charging, the electronic device interacts with the power supply device to request the power supply device to quickly charge the electronic device in a high-current mode.
12. The method of claim 11, further comprising:
if the preset indication information in the discovery confirm message of the first discovery request or the discovery confirm message of the second discovery request indicates that the charging cable does not support rapid charging, the electronic device interacts with the power supply device to request the power supply device to charge the electronic device according to a conventional charging current;
wherein a current value of the regular charging current is less than or equal to a current value of a charging current supported by the electronic device; and the current value of the normal charging current is less than or equal to the current value of the charging current supported by the charging cable.
13. The method according to any one of claims 9-12, further comprising:
if the charging cable is determined not to be configured with the double pull-up resistors, the electronic equipment interacts with the power supply equipment and requests the power supply equipment to charge the electronic equipment according to a conventional charging current;
wherein a current value of the regular charging current is less than or equal to a current value of a charging current supported by the electronic device; and the current value of the normal charging current is less than or equal to the current value of the charging current supported by the charging cable.
14. The method according to any of claims 9-13, wherein the first discovery request comprises: a message header field, a command type field, and a command field;
wherein, the message header field of the first discovery request comprises the message identifier of the first discovery request, and the message identifiers of different discovery requests are different; the command type field of the first discovery request is used for indicating that the message type of the first discovery request is a request message; the command field of the first discovery request is used for indicating that the purpose of the first discovery request is to acquire preset indication information indicating whether the charging cable supports quick charging.
15. The method according to any of claims 9-14, wherein the discovery acknowledgement message comprises: a message header field, a command type field, a command field, and a current field;
wherein, the message header field of the discovery confirmation message comprises the message identifier of the discovery confirmation message, and the message identifiers of different discovery confirmation messages are different; the command type field is used for indicating that the message type of the discovery confirmation message is a confirmation message; the command field is used for indicating the purpose of the discovery confirm message to be transmitting preset indication information indicating whether the charging cable supports quick charging; the current field includes preset indication information indicating whether the charging cable supports rapid charging.
16. The method of claim 15, wherein the preset indication information in the current field comprises: a current value of a charging current supported by the charging cable;
wherein, preset instruction information indicates that the charging cable supports quick charge, specifically includes: at least one current value indicated by the preset indication information is larger than a preset current threshold value.
17. The method of claim 15, wherein the preset indication information in the current field comprises a first flag bit for indicating that the charging cable supports fast charging or a second flag bit for indicating that the charging cable does not support fast charging.
18. The method according to any one of claims 9-17, wherein the discovery confirm message further includes authentication information for authenticating the charging cable; wherein the authentication information includes at least one of a manufacturer code, an authentication code, a product identification, a product code, hardware version information, and firmware version information of the charging cable;
wherein the manufacturer code is to indicate a manufacturer or vendor of the charging cable; the authentication code is used for indicating whether the charging cable is authenticated by the manufacturer or the manufacturer, and the manufacturer or the manufacturer sets a fixed authentication code for the authenticated charging cable; the product identification is used for indicating the model of the charging cable; the product code is a code of the charging cable in a model indicated by the product identification; the hardware version information is used for indicating a hardware version of the charging cable; the firmware version information is used for indicating the software version of the charging cable;
before the electronic device interacts with the power supply device and requests the power supply device to rapidly charge the electronic device in a high-current manner, the method further includes:
the electronic equipment authenticates the charging cable according to the authentication information;
the electronic device determines that the charging cable passes the authentication.
19. An electronic device, comprising a processor, a memory, a battery, and a charging interface, wherein the charging interface comprises a first auxiliary configuration pin and a second auxiliary configuration pin; wherein the memory, the battery, the charging interface are coupled with the processor;
the processor is used for identifying whether the charging cable is provided with double pull-up resistors or not when the first connector of the charging cable is inserted into the charging interface; wherein the second connector of the charging cable is connected with a power supply device;
the processor is further configured to issue a first discovery request from the first auxiliary configuration pin if it is determined that the charging cable is configured with the dual pull-up resistors; the first discovery request is used for acquiring preset indication information indicating whether the charging cable supports quick charging from the charging cable;
the processor is further configured to, if the first auxiliary configuration pin receives a discovery confirm message of the first discovery request within a first preset time period and preset indication information in the discovery confirm message of the first discovery request indicates that the charging cable supports fast charging, interact with the power supply device through the charging cable via the charging interface, and request the power supply device to fast charge the battery in a high-current manner.
20. The electronic device of claim 19, wherein the charging interface is a charging interface, and the first auxiliary configuration pin and the second auxiliary configuration pin are both Configuration Channel (CC) pins.
21. The electronic device of claim 19 or 20,
the processor is further configured to send a second discovery request from the second auxiliary configuration pin if the first auxiliary configuration pin does not receive a discovery confirm message of the first discovery request within the first preset duration; wherein the second discovery request is used for acquiring preset indication information indicating whether the charging cable supports fast charging from the charging cable;
the processor is further configured to, if the second auxiliary configuration pin receives a discovery confirm message of the second discovery request within a second preset time period and preset indication information in the discovery confirm message of the second discovery request indicates that the charging cable supports fast charging, interact with the power supply device through the charging interface to request the power supply device to fast charge the battery in a high-current manner.
22. The electronic device of claim 21,
the processor is further configured to interact with the power supply device through the charging interface and request the power supply device to charge the battery according to a conventional charging current if preset indication information in a discovery confirmation message of the first discovery request or a discovery confirmation message of the second discovery request indicates that the charging cable does not support fast charging;
wherein a current value of the regular charging current is less than or equal to a current value of a charging current supported by the electronic device; and the current value of the normal charging current is less than or equal to the current value of the charging current supported by the charging cable.
23. The electronic device of any one of claims 19-22,
the processor is further configured to interact with the power supply device through the charging interface if it is determined that the charging cable is not configured with the dual pull-up resistors, and request the power supply device to charge the battery according to a conventional charging current;
wherein a current value of the regular charging current is less than or equal to a current value of a charging current supported by the electronic device; and the current value of the normal charging current is less than or equal to the current value of the charging current supported by the charging cable.
24. The electronic device of any of claims 19-23, wherein the first discovery request comprises: a message header field, a command type field, and a command field;
wherein, the message header field of the first discovery request comprises the message identifier of the first discovery request, and the message identifiers of different discovery requests are different; the command type field of the first discovery request is used for indicating that the message type of the first discovery request is a request message; the command field of the first discovery request is used for indicating that the purpose of the first discovery request is discovery identity, and is used for acquiring preset indication information indicating whether the charging cable supports quick charging.
25. The electronic device of any one of claims 19-24, wherein the discovery confirm message comprises: a message header field, a command type field, a command field, and a current field;
wherein, the message header field of the discovery confirmation message comprises the message identifier of the discovery confirmation message, and the message identifiers of different discovery confirmation messages are different; the command type field is used for indicating that the message type of the discovery confirmation message is a confirmation message; the command field is used for indicating the purpose of the discovery confirm message to be transmitting preset indication information indicating whether the charging cable supports quick charging; the current field includes preset indication information indicating whether the charging cable supports rapid charging.
26. An identification system of a charging cable, characterized in that the system comprises an electronic device, and a charging cable according to any one of claims 1-8; the first connector of the charging cable is used for being plugged with a charging interface of the electronic equipment, and the second connector of the charging cable is used for being plugged with power supply equipment; the charging interface of the electronic equipment comprises a first auxiliary configuration pin and a second auxiliary configuration pin;
the electronic equipment is used for identifying whether the charging cable is provided with double pull-up resistors or not when the first connector of the charging cable is inserted into the charging interface; wherein the second connector of the charging cable has connected a power supply device;
the electronic device is further configured to send a first discovery request from a first auxiliary configuration pin of the electronic device if it is determined that the charging cable is configured with the dual pull-up resistors; the first discovery request is used for acquiring preset indication information indicating whether the charging cable supports quick charging from the charging cable;
the charging cable is configured to send a discovery confirmation message of the first discovery request to the electronic device through a signal pin if the signal pin of the IC chip in the charging cable receives the first discovery request, where the discovery confirmation message of the first discovery request includes the preset indication information;
the electronic device is further configured to interact with the power supply device and request the power supply device to rapidly charge the electronic device in a high-current manner if a discovery confirmation message of the first discovery request is received within a first preset time period and preset indication information in the discovery confirmation message of the first discovery request indicates that the charging cable supports rapid charging.
27. The system according to claim 26, wherein the electronic device is further configured to issue a second discovery request from a second auxiliary configuration pin of the electronic device if the discovery confirm message of the first discovery request is not received within the first preset time period; wherein the second discovery request is used for acquiring preset indication information indicating whether the charging cable supports fast charging from the charging cable;
the charging cable is further configured to send a discovery confirmation message of the second discovery request to the electronic device through the signal pin if the signal pin of the IC chip receives the second discovery request, where the discovery confirmation message of the second discovery request includes the preset indication information;
the electronic device is further configured to interact with the power supply device and request the power supply device to rapidly charge the electronic device in a high-current manner if a discovery confirmation message of the second discovery request is received within a second preset time period and preset indication information in the discovery confirmation message of the second discovery request indicates that the charging cable supports rapid charging.
28. The system of claim 27,
the electronic device is further configured to interact with the power supply device and request the power supply device to charge the electronic device according to a conventional charging current if preset indication information in a discovery confirm message of the first discovery request or a discovery confirm message of the second discovery request indicates that the charging cable does not support fast charging;
wherein a current value of the regular charging current is less than or equal to a current value of a charging current supported by the electronic device; and the current value of the normal charging current is less than or equal to the current value of the charging current supported by the charging cable.
29. The system of any one of claims 26-28,
the electronic device is further configured to interact with the power supply device and request the power supply device to charge the electronic device according to a conventional charging current if it is determined that the charging cable is not configured with the dual pull-up resistors;
wherein a current value of the regular charging current is less than or equal to a current value of a charging current supported by the electronic device; and the current value of the normal charging current is less than or equal to the current value of the charging current supported by the charging cable.
30. The chip system is applied to a charging cable, and a first connector of the charging cable comprises a power supply pin, a first auxiliary configuration pin and a second auxiliary configuration pin; a power supply pin of the first connector is connected with the first auxiliary configuration pin through a first pull-up resistor, and a power supply pin of the first connector is connected with the second auxiliary configuration pin through a second pull-up resistor;
the chip system comprises an interface circuit and a processor, wherein the interface circuit is interconnected with the processor; the interface circuit comprises a signal pin and a power supply pin, the signal pin is connected with the second auxiliary configuration pin, and the power supply pin of the interface circuit is connected with the power supply pin of the first connector or the first auxiliary configuration pin; the processor stores preset indication information, and the preset indication information is used for indicating whether the charging cable supports quick charging or not;
the processor to receive a discovery request from an electronic device from the signal pin; the discovery request is used for acquiring the preset indication information; responding to the discovery request, and sending a discovery confirmation message to the electronic device through the signal pin, wherein the discovery confirmation message comprises the preset indication information.
31. The chip system is applied to electronic equipment comprising a charging interface and comprises an interface circuit and a processor; the interface circuit and the processor are interconnected through a line; the interface circuit to receive signals from the memory and to send the signals to the processor, the signals including computer instructions stored in the memory; the electronic device performs the method of any of claims 9-18 when the processor executes the computer instructions.
32. A computer-readable storage medium comprising computer instructions that, when executed on an electronic device, cause the electronic device to perform the method of any of claims 9-18.
33. A computer program product, characterized in that, when the computer program product is run on a computer, it causes the computer to perform the method according to any of claims 9-18.
CN202010607070.9A 2020-06-29 2020-06-29 Charging cable, and identification method and system thereof Active CN113937832B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010607070.9A CN113937832B (en) 2020-06-29 2020-06-29 Charging cable, and identification method and system thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010607070.9A CN113937832B (en) 2020-06-29 2020-06-29 Charging cable, and identification method and system thereof

Publications (2)

Publication Number Publication Date
CN113937832A true CN113937832A (en) 2022-01-14
CN113937832B CN113937832B (en) 2024-05-03

Family

ID=79273098

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010607070.9A Active CN113937832B (en) 2020-06-29 2020-06-29 Charging cable, and identification method and system thereof

Country Status (1)

Country Link
CN (1) CN113937832B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114094680A (en) * 2022-01-20 2022-02-25 浙江地芯引力科技有限公司 Charging method and device for charging wire and storage medium
CN114584322A (en) * 2022-03-31 2022-06-03 浙江地芯引力科技有限公司 Method and device for switching key authentication mode of connection device, connection device and medium
CN116742762A (en) * 2023-08-14 2023-09-12 陕西拓普索尔电子科技有限责任公司 Charging method, device and equipment
CN117375210A (en) * 2023-12-07 2024-01-09 广州通则康威科技股份有限公司 Power supply circuit suitable for CPE equipment
CN117370249A (en) * 2023-12-06 2024-01-09 瀚昕微电子(无锡)有限公司 Interface circuit, interface device and interface chip

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108233130A (en) * 2017-08-01 2018-06-29 珠海市魅族科技有限公司 USB cable, USB interface and adapter
CN110534988A (en) * 2019-09-25 2019-12-03 上海爻火微电子有限公司 Type A-Type C cable and its cable chip

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108233130A (en) * 2017-08-01 2018-06-29 珠海市魅族科技有限公司 USB cable, USB interface and adapter
CN110534988A (en) * 2019-09-25 2019-12-03 上海爻火微电子有限公司 Type A-Type C cable and its cable chip

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114094680A (en) * 2022-01-20 2022-02-25 浙江地芯引力科技有限公司 Charging method and device for charging wire and storage medium
CN114584322A (en) * 2022-03-31 2022-06-03 浙江地芯引力科技有限公司 Method and device for switching key authentication mode of connection device, connection device and medium
CN114584322B (en) * 2022-03-31 2023-08-22 浙江地芯引力科技有限公司 Method and device for switching secret key authentication modes of connecting device, connecting device and medium
CN116742762A (en) * 2023-08-14 2023-09-12 陕西拓普索尔电子科技有限责任公司 Charging method, device and equipment
CN116742762B (en) * 2023-08-14 2024-04-26 陕西拓普索尔电子科技有限责任公司 Charging method, device and equipment
CN117370249A (en) * 2023-12-06 2024-01-09 瀚昕微电子(无锡)有限公司 Interface circuit, interface device and interface chip
CN117370249B (en) * 2023-12-06 2024-03-01 瀚昕微电子(无锡)有限公司 Interface circuit, interface device and interface chip
CN117375210A (en) * 2023-12-07 2024-01-09 广州通则康威科技股份有限公司 Power supply circuit suitable for CPE equipment
CN117375210B (en) * 2023-12-07 2024-02-20 广州通则康威科技股份有限公司 Power supply circuit suitable for CPE equipment

Also Published As

Publication number Publication date
CN113937832B (en) 2024-05-03

Similar Documents

Publication Publication Date Title
CN113937832B (en) Charging cable, and identification method and system thereof
US10671135B2 (en) Intelligent mobile power supply and method for USB data communication therewith
KR102609837B1 (en) Electronic device and method of communicating with an external device via a power supply line
EP3149832B1 (en) Baseband pd communication over usb standard a connector
US11288407B2 (en) Method and electronic device for controlling voltage output to external electronic device according to size of voltage detected at signal terminal connected to external electronic device
CN108666826B (en) Adapter, terminal equipment and adapter system
US8417292B2 (en) Device-adaptive connection establishing method and system for a mobile terminal
CN109450023B (en) Charging circuit, charging processing method, electronic device, and storage medium
CN101534349A (en) Method and apparatus for determining external connection device in mobile terminal
US11176078B2 (en) Communication method using input/output interface, and apparatus therefor
KR20130122266A (en) System and apparatus and method for performing charging in host mode
EP4283826A1 (en) Charging circuit, charging control method and electronic device
CN108964187A (en) The charging method of terminal and terminal room
EP4099714A1 (en) Electronic device for audio, and method for managing power in electronic device for audio
CN113013934A (en) Electronic equipment, electronic device and charging method
CN110635186B (en) Charging method and electronic equipment
CN113504887A (en) Volume setting method and electronic equipment
CN109525919B (en) On-off control device, on-off control method, system and storage medium
EP1986406B1 (en) System and method for recognizing external device by portable terminal
US20230259188A1 (en) Electronic device comprising connector
KR20210033758A (en) Method for power supply and an electronic device thereof
CN116671129A (en) Method for searching audio output device by using power supply device and power supply device thereof
CN110475175B (en) Method and device for charging wireless earphone
CN114077565A (en) Identification circuit, system control circuit, access circuit and interface device
CN113030794A (en) Device detection method and device, computer readable medium and electronic device

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
GR01 Patent grant
GR01 Patent grant