WO2023103802A1 - Procédé de test d'informations de protocole, testeur, support de stockage et produit programme - Google Patents

Procédé de test d'informations de protocole, testeur, support de stockage et produit programme Download PDF

Info

Publication number
WO2023103802A1
WO2023103802A1 PCT/CN2022/134115 CN2022134115W WO2023103802A1 WO 2023103802 A1 WO2023103802 A1 WO 2023103802A1 CN 2022134115 W CN2022134115 W CN 2022134115W WO 2023103802 A1 WO2023103802 A1 WO 2023103802A1
Authority
WO
WIPO (PCT)
Prior art keywords
protocol
charging protocol
electronic device
handshake
charging
Prior art date
Application number
PCT/CN2022/134115
Other languages
English (en)
Chinese (zh)
Inventor
郑连生
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2023103802A1 publication Critical patent/WO2023103802A1/fr

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/00036Charger exchanging data with battery
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • G06F13/4068Electrical coupling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • G06F13/4286Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus using a handshaking protocol, e.g. RS232C link
    • 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
    • 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
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0042Universal serial bus [USB]
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J2207/00Indexing scheme relating to details of circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J2207/30Charge provided using DC bus or data bus of a computer

Definitions

  • the function of electronic equipment is more and more perfect with the optimization of its hardware device and software architecture, but it also makes the power consumption of electronic equipment faster. Therefore, the existing technology proposes a variety of fast charging protocols, so that electronic equipment that supports fast charging protocols can Fast charging is achieved in the manner stipulated by the agreement.
  • the electronic device For some specific fast charging protocols, it is stipulated that the electronic device must take the fast charging protocol as the first priority charging protocol while supporting the fast charging protocol.
  • the electronic devices declare that they support the specific fast charging protocol and regard the specific fast charging protocol as the first priority charging protocol, their real support for the specific fast charging protocol may be different from the statement . Based on this, it is necessary to detect the fast charging protocol supported by the electronic device.
  • the method further includes: the first recording result only includes the pulse information of the handshake signal with the first charging protocol When the pulse information is the same, it is determined that the first record result matches the pulse information of the handshake signal of the first charging protocol; when the first record result includes pulse information different from the handshake signal of the first charging protocol When the pulse is pulsed, it is determined that the first record result does not match the pulse information of the handshake signal of the first charging protocol.
  • the method further includes: combining the first recording result with the When the pulse information of the handshake signal of the first charging protocol does not match, compare the first recorded result with the pulse information of the handshake signal of other charging protocols in at least one charging protocol except the first charging protocol; When a record result matches the pulse information of the handshake signal of the second charging protocol among the other charging protocols, it is determined that the second charging protocol is the first priority in the electronic device under test.
  • the first record result includes pulse information different from the pulse information of the handshake signal of the first charging protocol, it can be considered that the first handshake signal is not the handshake signal of the first charging protocol. Further, the first record result only includes pulse information related to the second charging protocol When the pulse information of the handshake signals is the same as the pulse, it can be considered that the first handshake signal is the handshake signal of the second charging protocol. In this way, it can be further determined that the second charging protocol is the first priority in the electronic device under test, so as to obtain more comprehensive priority information of the electronic device under test according to the first recording result.
  • the tester is set not to send a handshake response signal
  • the The method also includes: receiving the nth handshake signal sent by the electronic device under test for the first time, where n is an integer greater than 1; recording the nth record result including the nth handshake signal, wherein the duration of the nth record result greater than the duration of the handshake signal of any charging protocol in the at least one charging protocol or equal to the duration of the handshake signal of the charging protocol with the longest duration; between the nth record result and the at least one charging protocol
  • the priority information of the third charging protocol in the electronic device under test is determined according to the determined priority information of the charging protocol in the electronic device under test.
  • the tester can not only determine whether the first charging protocol is the first priority of the electronic device under test, but also record the corresponding Record the results and get more priority information according to the record results, thereby improving the tester's ability to test the priority information of each protocol of the electronic device under test.
  • the priority sequence of the charging protocols supported by the electronic device under test can be sequentially determined.
  • the test result of the priority information of each protocol supported by the electronic equipment under test by the tester is made more specific.
  • an embodiment of the present application provides a protocol information testing method, the method is applied to a tester, and the tester records the pulse information of the handshake signal of at least one charging protocol, and the at least one charging protocol
  • the protocol includes a first charging protocol
  • the method includes: receiving a first handshake signal sent by the electronic device under test for the first time, and the first handshake signal is when the electronic device determines that the port of the tester is dedicated for charging The first signal sent after the port; record the first record result including the first handshake signal, wherein the duration of the first record result is longer than the handshake signal of any charging protocol in the at least one charging protocol Duration or equal to the duration of the handshake signal of the charging protocol with the longest duration; when the first record result matches the pulse information of the handshake signal of the first charging protocol, send the handshake response signal of the first charging protocol to the The electronic device under test; according to the data information received after sending the handshake response signal of the first charging protocol, determine the priority information of the first charging protocol in the electronic device under test.
  • the tester receives the first handshake signal sent by the electronic device under test for the first time, and records the first handshake signal including the first The result of the first record of the handshake signal. Since the duration of the first record result is longer than the duration of the handshake signal of any charging protocol in at least one charging protocol or equal to the duration of the handshake signal of the charging protocol with the longest duration in at least one charging protocol, and at least one charging protocol The first charging protocol is included, therefore, the first record result has the ability to include all information of the handshake signal of the first charging protocol.
  • the tester only receives the signal once and determines that the first recorded result matches the pulse information of the handshake signal of the first charging protocol.
  • the tester sends a handshake response signal and receives the corresponding data information to determine the first record of the electronic device under test.
  • the priority is specific to the first charging protocol, and the tester does not need to determine whether the first record result matches the pulse information of the handshake signals of other protocols, nor does it need to send handshake response signals of other protocols, which can reduce data processing costs.
  • the first handshake signal is the information generated in the handshake phase.
  • the data information received after sending the handshake response signal of the first charging protocol may include the information generated in the protocol identification phase. In this way, the information in the protocol identification phase can be combined with the handshake. Phase information is used to determine the priority of the first charging protocol in the electronic device under test, so that the obtained test results are more accurate.
  • the method further includes: the first recording result only includes the pulse information of the handshake signal with the first charging protocol When the pulse information is the same, it is determined that the first record result matches the pulse information of the handshake signal of the first charging protocol; when the first record result includes pulse information different from the handshake signal of the first charging protocol When the pulse is pulsed, it is determined that the first record result does not match the pulse information of the handshake signal of the first charging protocol.
  • the first handshake signal is indeed a handshake signal of the first charging protocol and the case of a handshake signal not of the first charging protocol, so that when the first handshake signal is not a handshake signal of the first charging protocol Under certain circumstances, it will not be wrongly determined that the first charging protocol is the first priority in the electronic device under test, ensuring the accuracy of the test result.
  • determining the priority information of the first charging protocol in the electronic device under test includes: after sending a handshake response signal of the first charging protocol, receiving a message of the first charging protocol from the electronic device under test When detecting the data packet from the Internet packet detector, it is determined that the first charging protocol is the first priority in the electronic device under test.
  • the Internet packet detector data packet is the information generated in the protocol identification stage. If the electronic device under test sends an Internet packet detector data packet of a certain protocol and receives the corresponding confirmation data packet, it can configure charging parameters based on the protocol. And accept power supply, therefore, if the tester receives the Internet packet detector data packet of the first charging protocol from the electronic device under test after sending the handshake response signal of the first charging protocol, it means that the electronic device under test does support the first charging protocol. charging protocol. It is determined that the first charging protocol is the first priority in the electronic device under test by receiving the Internet packet detector data packet in the protocol identification stage, so that the obtained test result is consistent with the actual situation of the electronic device under test.
  • the third possible implementation of the protocol information testing method according to the data received after sending the handshake response signal of the first charging protocol information, determining the priority information of the first charging protocol in the electronic device under test, including: after sending the handshake response signal of the first charging protocol, the first charging from the electronic device under test is not received When the Internet packet detector data packet of the protocol is received and the second handshake signal sent for the first time is received from the electronic device under test, it is determined that the first charging protocol is not the first priority in the electronic device under test , the second handshake signal is different from the first handshake signal.
  • the electronic device under test If the electronic device under test receives a handshake response signal of a certain protocol but does not support the protocol, it will not send the Internet packet detector data packet of the protocol, but send another handshake signal until it sends out the Internet packet of a certain protocol.
  • the charging parameters can be configured based on this protocol and the power supply can be accepted. Therefore, if the tester does not receive the Internet packet detector data packet of the first charging protocol from the electronic device under test after sending the handshake response signal of the first charging protocol, but receives the second handshaking signal sent for the first time , indicating that the electronic device under test does not support the first charging protocol. It is determined that the first charging protocol is not the first priority in the electronic device under test by not receiving the Internet packet detector data packet in the protocol identification stage, so that the obtained test result is consistent with the actual situation of the electronic device under test.
  • the method further includes: receiving the first The nth handshake signal sent, n is an integer greater than 1; when the charging protocol of the first priority in the electronic device under test is not determined, record the nth recording result including the nth handshake signal, wherein the nth The duration of the n record result is longer than the duration of the handshake signal of any charging protocol in the at least one charging protocol or equal to the duration of the handshake signal of the charging protocol with the longest duration;
  • the pulse information of the handshake signal of the second charging protocol in one charging protocol matches, send the handshake response signal of the second charging protocol to the electronic device under test; after sending the handshake response signal of the second charging protocol,
  • the Internet packet detector data packet of the second charging protocol from the electronic device under test it is determined that the second charging protocol is the first priority in the electronic device under test.
  • the tester determines that the electronic device under test does not use the first charging protocol as the first priority, it can also determine the specific type of the first priority charging protocol of the electronic device under test, that is, the second charging protocol. protocol, and determine that charging protocols other than the second charging protocol on the electronic device under test are not the first priority, further improving the tester's ability to test the priority information of the charging protocol of the electronic device under test.
  • the embodiment of the present application provides a protocol information testing device, the device is applied to a tester, and the tester records the pulse information of the handshake signal of at least one charging protocol, and the at least one charging protocol
  • the protocol includes a first charging protocol
  • the device includes: a first receiving module, configured to receive a first handshake signal sent by the electronic device under test for the first time, and the first handshake signal is determined after the electronic device determines the The port of the tester is sent after the dedicated charging port; the first recording module is used to record the first recording result including the first handshake signal, wherein the duration of the first recording result is longer than the at least one charging protocol
  • the device further includes: a first comparison module, configured to When the first recorded result does not match the pulse information of the handshake signal of the first charging protocol, compare the first recorded result with the handshake signal of at least one charging protocol other than the first charging protocol. Pulse information; a fourth determining module, configured to determine that the second charging protocol is in the measured Electronic equipment is the first priority.
  • the nth record result and the third charging in the at least one charging protocol determine the priority information of the third charging protocol in the electronic device under test, including: When the charging protocol of the tth priority of the electronic device under test has been determined, it is determined that the third charging protocol is the t+1 priority in the electronic device under test, and t is a positive integer; When determining the charging protocol of the first priority of the electronic device under test, it is determined that the third charging protocol is the first priority of the electronic device under test.
  • an embodiment of the present application provides a protocol information testing device, the device is applied to a tester, and the tester records the pulse information of the handshake signal of at least one charging protocol, and the at least one charging protocol
  • the protocol includes a first charging protocol
  • the device includes: a third receiving module, configured to receive a first handshake signal sent by the electronic device under test for the first time, and the first handshake signal is determined after the electronic device determines the The port of the tester is the first signal sent after the dedicated charging port; the third recording module is used to record the first recording result including the first handshake signal, wherein the duration of the first recording result is longer than the at least The duration of the handshake signal of any charging protocol in a charging protocol or equal to the duration of the handshake signal of the charging protocol with the longest duration; the first sending module is used to compare the first recording result with the first charging protocol When the pulse information of the handshake signal matches, send the handshake response signal of the first charging protocol to the electronic device under test; the sixth determination module is used to transmit the data information received after sending
  • the device further includes: a seventh determination module, configured to include only information related to the first charge in the first record result.
  • a seventh determination module configured to include only information related to the first charge in the first record result.
  • the eighth determination module is configured to match the first record result with the pulse information of the handshake signal of the first charging protocol;
  • the pulse information of the handshake signal of the first charging protocol is different, it is determined that the first record result does not match the pulse information of the handshake signal of the first charging protocol.
  • the protocol information testing device according to the data received after sending the handshake response signal of the first charging protocol information, determining the priority information of the first charging protocol in the electronic device under test, including: after sending the handshake response signal of the first charging protocol, the first charging from the electronic device under test is not received When the Internet packet detector data packet of the protocol is received and the second handshake signal sent for the first time is received from the electronic device under test, it is determined that the first charging protocol is not the first priority in the electronic device under test , the second handshake signal is different from the first handshake signal.
  • the device further includes: a fourth receiving module, configured to receive the The nth handshake signal sent by the electronic device under test for the first time, n is an integer greater than 1; the fourth recording module is used to record the first priority charging protocol in the electronic device under test including the The nth recorded result of the nth handshake signal, wherein the duration of the nth recorded result is longer than the duration of the handshake signal of any charging protocol in the at least one charging protocol or equal to the duration of the handshake signal of the charging protocol with the longest duration Duration; the second sending module, configured to send the handshake response signal of the second charging protocol when the nth record result matches the pulse information of the handshake signal of the second charging protocol in the at least one charging protocol to the electronic device under test; the ninth determination module is configured to receive the Internet packet detector data packet of the second charging protocol from the electronic device under test after sending the handshake response signal of the second charging protocol, It is
  • an embodiment of the present application provides a tester, including: a processor; a memory for storing processor-executable instructions; wherein, the processor is configured to implement the above-mentioned first test when executing the instructions.
  • a tester including: a processor; a memory for storing processor-executable instructions; wherein, the processor is configured to implement the above-mentioned first test when executing the instructions.
  • Fig. 2 shows an exemplary application scenario of a method for testing protocol information according to an embodiment of the present application.
  • Fig. 4 shows another exemplary workflow of the handshake priority testing method according to the embodiment of the present application.
  • Fig. 8 shows an exemplary flowchart of a method for testing protocol information according to an embodiment of the present application.
  • Fig. 9 shows an exemplary structural diagram of a tester according to an embodiment of the present application.
  • the tester After the tester is connected to the electronic device under test, the tester first sends an extended message (Source Capabilities) to the electronic device under test. If no request message (Request message) is received from the electronic device under test, ), the tester determines that the electronic device under test does not support the USB PD protocol.
  • an extended message (Source Capabilities)
  • Another detection method is that the tester can test different kinds of fast charging protocols.
  • This detection method is generally aimed at more common fast charging protocols, such as Apple2.4, DCP, QC2.0, QC3.0, AFC, FCP and other fast charging protocols.
  • MCU internal microcontroller unit
  • the tester actively switches between different protocol signals and port voltages through the internal microcontroller unit (MCU), and records the electronic device under test for different The response of the protocol signal and the port voltage, and determine the fast charging protocol supported by the electronic device under test according to the recorded response.
  • the fast charging protocols supported by the tested electronic device are presented in the form of a list, and the order of the protocols in the list is usually random, and this detection method cannot determine the priority information of the protocols in the list.
  • the tester can only display the protocol name and power information of the protocol, and cannot provide effective information for determining the priority of the fast charging protocol supported by the mobile phone.
  • the above-mentioned prior art fast charging protocol detection method is only used for fast charging capability evaluation, it is only necessary to determine which fast charging protocols are supported by the electronic device under test, and it is not necessary to determine the priority of the fast charging protocol on the electronic device under test. Due to certain specific fast charging protocols, such as the universal fast charging specification (UFCS) for mobile terminals, electronic devices that support this protocol are required to choose this protocol first when charging (that is, to use a specific fast charging protocol as the first A priority), obviously, the above-mentioned prior art fast charging protocol detection method cannot determine the priority of the fast charging protocol supported by the electronic device under test, that is, it cannot determine whether the electronic device under test is supporting a specific fast charging protocol. , abide by the specific fast charging protocol, and take the specific fast charging protocol as the first priority protocol.
  • UCS universal fast charging specification
  • the UFCS fast charging method defined by the UFCS specification is as follows: the device to be charged is connected to the charger or power supply device using a standard cable (USB cable, including D+, D- signal lines), and the device to be charged supports the UFCS specification. After connection, the device being charged and the charger or power supply device communicate based on battery charging specification revision 1.2 (BC1.2), and BC1.2 communication is used to determine the charging port type of the charger or power supply device .
  • BC1.2 battery charging specification revision 1.2
  • the implementation of the UFCS specification is carried out after determining that the charging port type of the charger or power supply equipment is a dedicated charging port (DCP).
  • DCP dedicated charging port
  • the implementation of the UFCS specification can be seen as going through four stages in sequence: handshake stage, protocol identification stage, parameter Adjustment phase, charging phase.
  • the charged device sends a UFCS handshake signal to the charger or power supply device through the D+ and D- signal lines, and the charger or power supply device receives the signal transmitted on the D- signal line and identifies its Whether it is a UFCS handshake signal. If it is not a UFCS handshake signal, the charger or the power supply device does not respond to the UFCS handshake signal, and the charged device does not receive the UFCS handshake response signal.
  • the charger or power supply device if the charger or power supply device recognizes the UFCS handshake signal, the charger or power supply device sends a UFCS handshake response signal to the charged device in response to the UFCS handshake signal, and the charged device receives the UFCS handshake response signal, Indicates that the handshake is successful. After the handshake is successful, enter the second stage (protocol identification stage).
  • Fig. 1 shows an example of signals transmitted on the D+ and D- signal lines when the handshake is successful and the protocol identification is successful in the prior art.
  • the charger or power supply device After the protocol identification is successful, enter the third stage (parameter adjustment stage), the charger or power supply device communicates with the charged device to adjust charging parameters (such as rated power, rated voltage, rated current, etc.), and then enters the fourth stage (charging phase), the charger or the power supply device charges the device being charged with the adjusted charging parameters.
  • charging parameters such as rated power, rated voltage, rated current, etc.
  • the following describes the manner in which the tester tests the support of the UFCS specification by the electronic device (device to be charged) based on the UFCS specification with reference to FIG. 1 .
  • the test is implemented through the following steps:
  • Step 3 when the UFCS handshake signal is detected, the tester shakes hands with the electronic device under test;
  • the hardware reset and/or software reset is used to repeat the above steps 2 to 3 several times.
  • the first signal from the electronic device under test is the UFCS handshake signal. , it can be determined that the electronic device supports the UFCS specification.
  • the above detection method is to detect and determine that the electronic device supports the UFCS specification by identifying the UFCS handshake signal.
  • the level of the UFCS handshake signal can be shown in FIG. 1 (for example, including 2 pulses).
  • identifying the UFCS handshake signal in the prior art, it is generally recognized that the UFCS handshake signal is recognized only if the signal includes the same pulse as the UFCS handshake signal.
  • part of the handshake signal of another fast charging protocol different from the UFCS specification is the same as the level of the UFCS handshake signal (for example, including 4 pulses), or set a pseudo-pulse signal of the handshake signal of a non-quick charging protocol, so that A part of the false pulse signal has the same level as the UFCS handshake signal, and after confirming that the charging port type of the tester is a dedicated charging port, the electronic device under test first sends out a handshake signal or a false pulse signal of another fast charging protocol , then in step 2, when the tester is testing, it is easy to identify the handshake signal or pseudo-pulse signal of another fast charging protocol as the UFCS handshake signal, thus obtaining a wrong test result that the electronic device under test supports the UFCS specification.
  • protocol information testing method tester, storage medium and program product are proposed.
  • the protocol information testing method of the embodiment of the application it is possible to detect and determine the priority of a specific fast charging protocol in the electronic device under test. Level conditions to determine whether the electronic device under test violates a specific fast charging protocol.
  • Fig. 2 shows an exemplary application scenario of a method for testing protocol information according to an embodiment of the present application.
  • the protocol information testing method can be applied to a tester, and the tester can include a protocol information testing device, a microcontroller unit MCU and a power supply, wherein the microcontroller unit MCU and the power supply pass a common
  • the interface bus general purpose interface bus, GPI B
  • GPI B general purpose interface bus
  • I2C integrated circuit bus
  • the protocol information testing device can be realized by a programmable logic unit (field programmable gate array, FPGA) or another microcontroller unit, and the protocol information testing device can be used to receive handshaking signals (such as the first handshaking signal, the second handshaking signal hereinafter) signal, the nth handshake signal), send a handshake response signal (such as the handshake response signal of the first charging protocol below, the handshake response signal of the second charging protocol below), receive the Ping data packet (such as the first charging protocol below An internet packet detector data packet, an internet packet detector data packet of the second charging protocol), sending an ACK data packet, and the like.
  • the tester and the electronic device under test are connected through a USB cable (including VBUS signal line, D+ signal line, D- signal line, ground line GND, etc.).
  • the electronic device under test can be, for example, the above-mentioned charged device, or it can be a terminal device such as a smart phone, a notebook computer, a tablet computer, a headset, a smart speaker, and an AR/VR display device.
  • the electronic device under test may include a battery, a charge management circuit, a system-on-a-chip (SOC), and a protocol information processing device, wherein the charge management circuit is connected to the protocol information processing device and the system-on-a-chip through an integrated circuit Bus connection, the protocol information processing device can be a single chip or a programmable logic unit integrated into the charging management circuit, etc.
  • the protocol information processing device can be used to send handshake signals, receive handshake response signals, send Ping data packets, and receive ACK packets etc.
  • the electronic equipment under test can be realized by existing technology.
  • the power supply of the tester can be connected to the charging management circuit of the electronic device under test through the VBUS signal line of the USB cable, and the protocol information testing device can be connected to the protocol of the electronic device under test through the D+ and D- signal lines of the USB cable. information processing device.
  • the tester can supply power to the electronic device under test through the VBUS signal line.
  • the tester and the electronic device under test can first perform BC1.2 communication, and its exemplary implementation can refer to the above "step two" related description.
  • the electronic device under test When the BC1.2 communication determines that the charging port of the tester is a dedicated charging port DCP, the electronic device under test starts to output signals to the tester through the D+ and D- signal lines. Wherein, for all fast charging protocols supported by the electronic device under test (such as UFCS specification, QC protocol, VOOC protocol, etc.), the electronic device under test can send a handshake signal corresponding to the protocol. The electronic device under test can also emit a false pulse signal that is used to disguise the handshake signal of a specific fast charging protocol (such as the UFCS specification).
  • the tester can have the ability to identify handshake signals of various protocols (such as UFCS specification, QC protocol, VOOC protocol, etc.).
  • the support of the electronic device for a specific fast charging protocol (such as the UFCS specification), and whether the specific fast charging protocol supported by the electronic device under test is the first priority.
  • the tester can also determine some or all of all charging protocols (such as UFCS specification, QC protocol, VOOC protocol, etc.) supported by the electronic device under test according to the signal reception situation of the signal from the electronic device under test order of priority.
  • the microcontroller unit can further sort out the determined test results and output them to other units, such as a memory (not shown), to be stored for subsequent display and the like.
  • protocol information test method is the handshake priority test method (or called handshake identification, handshake request, etc.), which can complete the support and priority of the electronic device under test for the protocol according to the information in the handshake phase information detection.
  • handshake priority test method or called handshake identification, handshake request, etc.
  • the electronic device under test After the electronic device under test determines that the charging port of the tester is a dedicated charging port DCP, it can send a handshake signal to the tester for the first time (the example of the first handshake signal below), and in the tester, the protocol information testing device first When a signal is received once (for example, when the level changes from low to high), start recording the level change of the D+/D- signal line until the level change information with a duration equal to the preset time period is recorded, as the corresponding to the first The recording result of the second received signal (hereinafter an example of the first recording result).
  • the preset time period may be greater than the duration of the handshake signal of any one of the at least one charging protocol recorded by the tester, or equal to the duration of the handshake signal of the charging protocol with the longest duration.
  • the comparison confirms that the record result matches the handshake signal of protocol A, that is, the level change in the record result conforms to the level change of the handshake signal of protocol A, and Except for the pulse corresponding to the level change of the protocol A handshake signal, there are no other pulses, that is, as shown in case 1 in Figure 3, the protocol A handshake signal includes 2 pulses, and the recording result only includes 2 pulses and
  • the microcontroller unit can determine that the electronic device under test supports protocol A, and the electronic device under test does use protocol A as the first priority. In the application scenario where it is only necessary to confirm whether protocol A is the first priority, the test can end.
  • the electronic device under test does not use the handshake signal of protocol A as the signal sent for the first time, that is, it does not take protocol A as the first priority, and does not support protocol A.
  • the electronic device under test sends a pseudo-pulse signal disguised as a protocol A handshake signal for the first time, that is, as shown in case 2 in Figure 3, the protocol A handshake signal includes 2 pulses, and the recorded result includes 3 pulses And there are 2 pulses in agreement with the protocol A handshake signal, and the level change of the handshake signal including only 3 pulses is not stored in the tester, the tester cannot determine the first priority of the electronic device under test.
  • the specific type of protocol at the level is not be used.
  • the microcontroller unit can further determine that the electronic device under test supports protocol X, and The electronic equipment under test has protocol X as the first priority. In the scenario where it is only necessary to record the record result once and compare it to determine the priority information of the electronic device under test, the test can end.
  • the electronic device under test will consider the handshake failure.
  • the electronic device under test will switch to another protocol and continue sending signals.
  • the electronic device under test can send handshake signals of all the protocols it supports one after another, and the tester receives each handshake signal in turn, and can identify and determine the protocol type and priority corresponding to each handshake signal received, so that It can determine the types of all protocols supported by the tested electronic equipment and the priority order of each protocol.
  • the electronic equipment under test sends out the first signal (such as the first handshake signal) for the first time
  • the protocol information testing device receives the first signal for the first time
  • it can record Below is the recording result corresponding to the first signal received for the first time (hereinafter an example of the first recording result).
  • the recording result corresponding to the first signal received for the first time can be identified and determined by the microcontroller unit to determine the type and priority information of the fast charging protocol of the electronic device under test.
  • the determined information may include the type of the first priority protocol of the electronic device under test.
  • the tester Since the tester does not send a handshake response signal during the handshake priority test, when the electronic device under test does not receive the handshake response signal after sending out the second signal for the first time and reaching the number of retries of the second signal, Switch to other protocols and send a third signal for the first time.
  • the tester can record the recording result corresponding to the third signal received for the first time, and continue to identify the type and priority information of the fast charging protocol of the electronic device under test according to the recording result.
  • the determined information may include the type of the first priority protocol or the type of the second priority protocol or the type of the third priority protocol of the electronic device under test.
  • the microcontroller unit can obtain the protocol supported by the electronic equipment under test.
  • the priority order of parts or all of the protocol For example, in the example of FIG. 4 , all protocols supported by the electronic device under test include protocol A, protocol B, and protocol C, and the priority order of each protocol on the electronic device under test is protocol A>protocol B>protocol C.
  • the electronic equipment under test can send the signals to the tester sequentially in the order of protocol A, protocol B, and protocol C.
  • protocol information testing method is a protocol priority testing method (or called protocol identification, protocol request, etc.), which can complete the electronic equipment under test for the electronic device under test according to the information in the handshake phase and the information in the protocol identification phase Protocol support and detection of priority information.
  • protocol priority testing method or called protocol identification, protocol request, etc.
  • the electronic device under test can be an electronic device that declares that it supports protocol A (such as the UFCS specification). Since the UFCS specification requires electronic devices that support this protocol to take it as the first priority, theoretically, , on the electronic device under test, the fast charging protocol with the first priority is protocol A (hereinafter an example of the first charging protocol).
  • protocol A hereinafter an example of the first charging protocol.
  • the protocol information testing device can transmit the recording result to the microcontroller unit, and the microcontroller unit can compare the level change information with the level characteristics of the handshake signals of the stored protocols (the handshake signal of at least one charging protocol hereinafter) example of pulse information) for comparison.
  • the record result can be compared with the handshake signal of protocol A. If the comparison confirms that the record result matches the handshake signal of protocol A, that is, the level change in the record result conforms to the level change of the handshake signal of protocol A, you can
  • the control protocol information testing device sends a protocol A handshake response signal (hereinafter an example of a handshake response signal of the first charging protocol) through the D+/D ⁇ signal line.
  • Protocol A Ping data packet (the example of the Internet packet detector data packet of the first charging protocol below) to the tester through the D+/D- signal line after receiving the protocol A handshake response signal
  • test If the instrument receives the Protocol A Ping data packet it can be considered that the electronic device under test supports Protocol A, and indeed takes Protocol A as the first priority.
  • the electronic device under test supports a specific fast charging protocol, and whether the specific fast charging protocol supported by the electronic device under test is the first priority.
  • the specific fast charging protocol may be the UFCS specification, or other regulations other than the UFCS specification must be the first priority fast charging protocol.
  • the embodiment of the present application is specific to the specific fast charging protocol. The specific type is not limited.
  • the handshake signal of a certain protocol includes a pulse
  • a certain pseudo-pulse signal also includes a pulse
  • the handshake signal using the protocol and the pseudo-pulse signal are combined to form UFCS
  • the protocol information test device may misidentify the combined signal as a UFCS handshake signal and send a UFCS handshake response signal
  • the electronic equipment under test Unable to send protocol UFCS ping packets to tester.
  • the tester does not receive the protocol UFCS Ping data packet, so it can detect and confirm that the electronic device under test does not take the UFCS protocol as the first priority, so as to obtain more accurate test results.
  • Fig. 6 shows another exemplary workflow of the protocol priority testing method according to the embodiment of the present application.
  • the duration of the recorded result may be longer than the duration of the handshake signal of any one of the at least one charging protocol recorded by the tester, or equal to the duration of the handshake signal of the charging protocol with the longest duration.
  • the tester After the tester identifies and determines that the recorded result matches the handshake signal of protocol B (the example of the second charging protocol below), it can send a protocol B handshake response signal (the example of the handshake response signal of the second charging protocol below) to the electronic device under test. equipment. If the tester receives the protocol B Ping data packet (the example of the Internet packet detector data packet of the second charging protocol below) after sending the protocol B handshake response signal, it can be considered that the electronic device under test supports the protocol B, and uses the protocol B as first priority.
  • the tester does not receive the protocol B Ping data packet within a certain period of time, it can be considered that the electronic device under test does not support protocol B.
  • the tester sends a handshake response signal in response to a handshake signal of a certain protocol (for example, protocol X), and receives the Ping packet of the protocol (or further, sends the ACK packet of the protocol), It can be considered that the electronic device under test supports the protocol, and takes the protocol X as the first priority.
  • protocol X for example, protocol X
  • a retry mechanism similar to a handshake signal may also be set for the Ping data packet.
  • the electronic device under test receives the protocol A handshake response signal, it sends the protocol A Ping data packet of the first preset bit rate to the tester for the first time, but does not receive the protocol A ACK data packet, and the electronic device under test The device can send out the protocol A Ping data packet of the first preset bit rate for the second time. If the protocol A ACK data packet has not been received yet, the electronic device under test can send a protocol A Ping data packet of the second preset bit rate, and wait for receiving the protocol A ACK data packet. If the electronic device under test has successively sent protocol A Ping data packets of all the preset bit rates it supports, but has not received the protocol A ACK data packet, then switch to other protocols and send out handshake signals of other protocols.
  • the tester may send a reset signal to the electronic device under test, so that the electronic device under test can determine again that the charging port of the tester is a dedicated charging port DCP After that, send the signal to the signal of the tester for the first time, and then execute the flow in Fig. 5 and Fig. 6 .
  • it is equivalent to performing a handshake priority test first, followed by a protocol priority test. If the results of the two tests are different, the result of the protocol priority test may prevail.
  • the charging parameter configuration and charging operation are not started directly only when the handshake is successful in the handshake phase, but after the handshake is successful, it enters the protocol identification phase and starts when the protocol identification is successful. Perform charging parameter configuration and charging operation.
  • the handshake priority test is based on the information in the handshake phase to complete the detection of the electronic device under test’s support for the protocol and the priority information
  • the protocol priority test is based on the information in the handshake phase and the protocol identification phase. Information, to complete the detection of the electronic device under test's support for the protocol and the priority information.
  • the information used in the protocol priority test is more comprehensive, so that more accurate detection results can be obtained.
  • the accuracy rate of the support status and priority information of the electronic device under test obtained by the tester for the protocol can be further improved.
  • the protocol information testing device confirms whether the electronic device under test takes protocol A as the first priority as an example.
  • the protocol information testing device can also perform more functions, for example, it can store the level information of the handshake signals of each protocol, and complete the comparison and confirmation of the microcontroller unit in the above example.
  • the embodiment of the present application does not limit the specific execution units of the above functions.
  • the protocol information testing method of the embodiment of the present application it is possible to effectively identify some counterfeit behaviors in which the electronic equipment under test claims to support a specific protocol but does not comply with the provisions of the specific protocol, so as to ensure the compliance of the electronic equipment under test with respect to the specific protocol, and avoid
  • the use of other protocols leads to security issues and affects the reputation of specific protocols, promoting the development of integrated fast charging ecology.
  • By testing the priority it can provide design trend reference for electronic equipment designers, which facilitates the design of electronic equipment to normalize the protocols with relatively high priority in the market, and is no longer compatible with low priority protocols, reducing multi-protocol support cost and the resulting design risk.
  • Fig. 7 shows an exemplary flowchart of a method for testing protocol information according to an embodiment of the present application.
  • an embodiment of the present application provides a method for testing protocol information.
  • the method is applied to a tester, and the tester records pulse information of at least one handshake signal of a charging protocol.
  • the at least one A charging protocol includes a first charging protocol, the method comprising:
  • Step S1 receiving the first handshake signal sent by the electronic device under test for the first time, the first handshake signal is sent after the electronic device determines that the port of the tester is a dedicated charging port;
  • Step S2 recording the first recording result including the first handshake signal, wherein the duration of the first recording result is longer than the duration of the handshake signal of any charging protocol in the at least one charging protocol or equal to the longest duration The duration of the handshake signal of the charging protocol;
  • Step S3 when the first recording result matches the pulse information of the handshake signal of the first charging protocol, determine that the first charging protocol is the first priority in the electronic device under test.
  • the tester can refer to the example of the tester in the above and the relevant descriptions of Fig. 2, Fig. 3, and Fig. 4, and at least one charging protocol can include the above-mentioned UFCS specification, QC protocol, VOOC protocol, etc. protocol
  • the present application does not limit the specific type and quantity of each protocol included in at least one charging protocol.
  • the pulse information of the handshake signal of at least one charging protocol refer to the examples of the handshake signal of protocol A and the handshake signal of protocol X in the above and related descriptions of FIG. 3 and FIG. 4 .
  • the present application also does not limit the specific waveform of the pulse information of the handshake signal of at least one charging protocol.
  • the first charging protocol reference may be made to protocol A in the above and related descriptions of FIG. 2 , FIG. 3 , and FIG. 4 , that is, an example of the UFCS specification.
  • the present application does not limit the specific type of the first charging protocol.
  • the electronic equipment under test can refer to the example of the electronic equipment under test in the relevant descriptions of the above and FIG. 2, FIG.
  • For a handshake signal reference may be made to the example of the signal sent for the first time in the related description of FIG. 3 and the first signal in the related description of FIG. 4 .
  • the "first sending" mentioned in this article means that the electronic device sends a handshake signal of a charging protocol for the first time (for example, the first handshake signal mentioned above, or the first signal).
  • An electronic device may send a handshake signal of a certain charging protocol multiple times.
  • the first recording result can refer to the example of the recording result corresponding to the signal received for the first time in the related description of the above and FIG. 3 , and the first recording result corresponding to the first received signal in the related description of FIG. An example of the recorded result of a signal.
  • step S3 the first record result is matched with the pulse information of the handshake signal of the first charging protocol, and reference may be made to the example of "Case 1" in the above and related descriptions of FIG. 3 .
  • the tester obtains the first record result based on the first handshake signal sent for the first time.
  • the tester can also re-obtain the first record result based on the first handshake signal sent for the second time or the third time.
  • the electronic device under test sends the first handshake signal for the first time, and the first record result is obtained on the tester based on the first handshake signal sent for the first time.
  • the second The first handshake signal is sent for the first time, and the first recording result is obtained on the tester based on the first handshake signal sent for the second time.
  • the tester can be set to execute step S3 again based on the newly obtained first record result, so as to ensure the accuracy of the test result of the protocol information test method in the embodiment of the present application, or it can also be set to identify and determine the first record result obtained again When the included pulse information is the same as the previously obtained first record result, the re-obtained first record result is not processed, so as to save the data processing cost of the protocol information testing method in the embodiment of the present application.
  • the present application does not limit the manner in which the tester processes the retrieved first record result.
  • the tester obtains the nth record result based on the nth handshake signal sent for the first time.
  • the tester can also be based on the second, the first
  • the nth handshake signal sent three times waits to re-obtain the nth record result, and then perform similar processing on the re-obtained nth record result as the re-obtained first record result.
  • the processing method of the results is not limited.
  • the tester receives the first handshake signal sent by the electronic device under test for the first time, and records the first handshake signal including the first The result of the first record of the handshake signal. Since the duration of the first record result is longer than the duration of the handshake signal of any charging protocol in at least one charging protocol or equal to the duration of the handshake signal of the charging protocol with the longest duration in at least one charging protocol, and at least one charging protocol The first charging protocol is included, therefore, the first record result has the ability to include all information of the handshake signal of the first charging protocol.
  • the protocol information testing method of the embodiment of the present application can directly obtain the priority of the first charging protocol in the electronic device under test.
  • the first charging protocol is a specific fast charging protocol, it can detect and determine the specific fast charging protocol in the The priority case among all fast charging protocols supported by the electronic device under test.
  • the tester only receives the signal once and confirms that the first record result matches the pulse information of the handshake signal of the first charging protocol, so that it can be determined that the first priority of the electronic device under test is a specific first charging protocol, without further Determining whether the first record result matches the pulse information of handshake signals of other protocols can reduce data processing costs.
  • the method further includes: when the first record result only includes the same pulse information as the pulse information of the handshake signal of the first charging protocol, determining that the first record result is the same as The pulse information of the handshake signal of the first charging protocol matches; when the first record result includes a pulse different from the pulse information of the handshake signal of the first charging protocol, determine that the first record result is different from the pulse information of the handshake signal of the first charging protocol.
  • the pulse information of the handshake signal of the first charging protocol does not match.
  • the first recording result only includes the same pulse as the pulse information of the handshake signal of the first charging protocol, and reference may be made to the example of “Case 1” in the above and related descriptions of FIG. 3 .
  • the first recording result includes pulses different from the pulse information of the handshake signal of the first charging protocol, and reference may be made to the examples of "case 2" and "case 3" in the above and related descriptions of FIG. 3 .
  • the first record result only includes the same pulse as the pulse information of the handshake signal of the first charging protocol, it can be considered that the first handshake signal is indeed the handshake signal of the first charging protocol, and the first record result includes the handshake with the first charging protocol
  • the pulse information of the signal is different, it can be considered that the first handshake signal is not the handshake signal of the first charging protocol, but a pulse signal or a pseudo pulse signal of another protocol.
  • the first handshake signal is indeed a handshake signal of the first charging protocol and the case of a handshake signal not of the first charging protocol, so that when the first handshake signal is not a handshake signal of the first charging protocol Under certain circumstances, it will not be mistakenly determined that the first priority among the electronic devices under test is the first charging protocol, so as to ensure the accuracy of the test results.
  • the method further includes: when the first recorded result does not match the pulse information of the handshake signal of the first charging protocol, comparing the first recorded result with at least one charging In the protocol, the pulse information of the handshake signal of other charging protocols except the first charging protocol; when the first record result matches the pulse information of the handshake signal of the second charging protocol in the other charging protocol, determine The second charging protocol is a first priority in the electronic device under test.
  • the second charging protocol can refer to the example of protocol X in the above and related descriptions of Fig. 3 and Fig. 4, and the pulse information of the handshake signal of the second charging protocol can refer to the above and related descriptions of Fig. Example of protocol X handshake signals.
  • the first record result matches the pulse information of the handshake signal of the second charging protocol among the other charging protocols, and reference may be made to the example of "Case 3" in the above and related descriptions of FIG. 3 .
  • the first record result includes pulse information different from the pulse information of the handshake signal of the first charging protocol, it can be considered that the first handshake signal is not the handshake signal of the first charging protocol. Further, the first record result only includes pulse information related to the second charging protocol When the pulse information of the handshake signals is the same as the pulse, it can be considered that the first handshake signal is the handshake signal of the second charging protocol. In this way, it can be further determined that the second charging protocol is the first priority in the electronic device under test, so as to obtain more comprehensive priority information of the electronic device under test according to the first recording result.
  • the tester is set not to send a handshake response signal
  • the method further includes: receiving the nth handshake signal sent by the electronic device under test for the first time, where n is an integer greater than 1 ; Record the nth record result including the nth handshake signal, wherein the duration of the nth record result is longer than the duration of the handshake signal of any charging protocol in the at least one charging protocol or equal to the charging with the longest duration The duration of the handshake signal of the protocol; when the nth record result matches the pulse information of the handshake signal of the third charging protocol in the at least one charging protocol, according to the determined charging protocol in the electronic device under test The priority information of the third charging protocol is used to determine the priority information of the third charging protocol in the electronic device under test.
  • nth handshake signal reference may be made to the examples of the second signal and the third signal in the above and related descriptions of FIG. 4 .
  • nth recording result reference may be made to the examples of the recording result corresponding to the second signal received for the first time and the recording result corresponding to the third signal received for the first time in the above and related descriptions of FIG. 4 .
  • the manner of determining that the nth record result matches the pulse information of the handshake signal of the third charging protocol in the at least one charging protocol can refer to the manner of determining that the first record result matches the pulse information of the handshake signal of the first charging protocol example of .
  • the tester can not only determine whether the first charging protocol is the first priority of the electronic device under test, but also record the corresponding Record the results and get more priority information according to the record results, thereby improving the tester's ability to test the priority information of each protocol of the electronic device under test.
  • determining the priority information of the third charging protocol in the electronic device under test includes: when the t-th priority charging protocol of the electronic device under test has been determined, determining the In the third charging protocol, it is the t+1th priority in the electronic device under test, and t is a positive integer; when the charging protocol of the first priority of the electronic device under test is not determined, determine the third The charging protocol is the first priority in the electronic device under test.
  • the third charging protocol is the t+1th priority of the electronic device under test, which can be referred to above
  • protocol B such as the QC protocol
  • protocol B can be identified as an example of the second priority.
  • the charging protocol of the first priority of the electronic device under test is not determined, it is determined that the third charging protocol is the first priority of the electronic device under test, and reference may be made to the relevant descriptions above and in FIG. 4
  • protocol B can be confirmed as an example of the first priority.
  • the priority sequence of the charging protocols supported by the electronic device under test can be sequentially determined.
  • the test result of the priority information of each protocol supported by the electronic equipment under test by the tester is made more specific.
  • Fig. 8 shows an exemplary flowchart of a method for testing protocol information according to an embodiment of the present application.
  • an embodiment of the present application provides a method for testing protocol information.
  • the method is applied to a tester, and the tester records pulse information of at least one handshake signal of a charging protocol.
  • the at least one A charging protocol includes a first charging protocol, the method comprising:
  • Step S4 receiving the first handshake signal sent by the electronic device under test for the first time, the first handshake signal is the first signal sent after the electronic device determines that the port of the tester is a dedicated charging port;
  • Step S5 recording the first recording result including the first handshake signal, wherein the duration of the first recording result is longer than the duration of the handshake signal of any charging protocol in the at least one charging protocol or equal to the longest duration The duration of the handshake signal of the charging protocol;
  • Step S6 when the first record result matches the pulse information of the handshake signal of the first charging protocol, sending a handshake response signal of the first charging protocol to the electronic device under test;
  • Step S7 according to the data information received after sending the handshake response signal of the first charging protocol, determine the priority information of the first charging protocol in the electronic device under test.
  • the tester can refer to the example of the tester in the above and the relevant descriptions of Figure 2, Figure 5, and Figure 6, and at least one charging protocol can include the above-mentioned UFCS specification, QC protocol, VOOC protocol, etc. protocol
  • the present application does not limit the specific type and quantity of each protocol included in at least one charging protocol.
  • the pulse information of the handshake signal of at least one charging protocol refer to the examples of the handshake signal of protocol A and the handshake signal of protocol X in the above and related descriptions of FIG. 5 and FIG. 6 .
  • the present application also does not limit the specific waveform of the pulse information of the handshake signal of at least one charging protocol.
  • the first charging protocol reference may be made to protocol A in the above description and related descriptions of FIG. 2 , FIG. 5 , and FIG. 6 , that is, an example of the UFCS specification.
  • the present application does not limit the specific type of the first charging protocol.
  • the electronic equipment under test can refer to the example of the electronic equipment under test in the relevant descriptions of the above and FIG. 2, FIG.
  • For a handshake signal reference may be made to the example of the first signal sent above and in the related description of FIG. 5 and the first signal in the related description of FIG. 6 .
  • the "first sending” mentioned here refers to the handshake signal of a certain charging protocol sent by the electronic device for the first time (for example, the first handshake signal mentioned above, or the first signal).
  • An electronic device may send a handshake signal of a certain charging protocol multiple times.
  • For the first recording result reference may be made to the example of the recording result corresponding to the signal received for the first time in the above and related descriptions of FIG. 5 and FIG. 6 .
  • step S6 the first record result is matched with the pulse information of the handshake signal of the first charging protocol, and reference may be made to the example of "case 1" in the above and related descriptions of FIG. 3 .
  • the tester obtains the first record result based on the first handshake signal sent for the first time as an example.
  • the tester can also re-obtain the first record result based on the first handshake signal sent for the second and third times.
  • the electronic device under test sends the first handshake signal for the first time, and the first record result is obtained on the tester based on the first handshake signal sent for the first time. If the electronic device under test does not receive the handshake response signal, the second The first handshake signal is sent for the first time, and the first recording result is obtained on the tester based on the first handshake signal sent for the second time.
  • the tester can be set to perform step S6 again based on the newly obtained first record result, so as to ensure the accuracy of the test result of the protocol information test method in the embodiment of the present application, or it can also be set to identify and determine the first record result obtained again When the included pulse information is the same as the previously obtained first record result, the re-obtained first record result is not processed, so as to save the data processing cost of the protocol information testing method in the embodiment of the present application.
  • the present application does not limit the manner in which the tester processes the retrieved first record result.
  • the nth record result obtained by the tester based on the nth handshake signal sent for the first time is used as an example.
  • the nth handshake signal sent three times re-obtains the nth record result, and then performs similar processing to the re-obtained first nth record result on the re-obtained nth record result.
  • the processing method is not limited.
  • the tester receives the first handshake signal sent by the electronic device under test for the first time, and records the first handshake signal including the first The result of the first record of the handshake signal. Since the duration of the first record result is longer than the duration of the handshake signal of any charging protocol in at least one charging protocol or equal to the duration of the handshake signal of the charging protocol with the longest duration in at least one charging protocol, and at least one charging protocol The first charging protocol is included, therefore, the first record result has the ability to include all information of the handshake signal of the first charging protocol.
  • the tester can determine the priority information of the first charging protocol in the electronic device under test.
  • the protocol information testing method of the embodiment of the present application can directly obtain the priority of the first charging protocol in the electronic device under test.
  • the first charging protocol is a specific fast charging protocol, it can detect and determine the specific fast charging protocol in the The priority case among all fast charging protocols supported by the electronic device under test.
  • the tester only receives the signal once and determines that the first recorded result matches the pulse information of the handshake signal of the first charging protocol.
  • the tester sends a handshake response signal and receives the corresponding data information to determine the first record of the electronic device under test.
  • the priority is specific to the first charging protocol, and the tester does not need to determine whether the first record result matches the pulse information of the handshake signals of other protocols, nor does it need to send handshake response signals of other protocols, which can reduce data processing costs.
  • the first handshake signal is the information generated in the handshake phase.
  • the data information received after sending the handshake response signal of the first charging protocol may include the information generated in the protocol identification phase. In this way, the information in the protocol identification phase can be combined with the handshake. Phase information is used to determine the priority of the first charging protocol in the electronic device under test, so that the obtained test results are more accurate.
  • the method further includes: when the first record result only includes the same pulse information as the pulse information of the handshake signal of the first charging protocol, determining that the first record result is the same as The pulse information of the handshake signal of the first charging protocol matches; when the first record result includes a pulse different from the pulse information of the handshake signal of the first charging protocol, determine that the first record result is different from the pulse information of the handshake signal of the first charging protocol.
  • the pulse information of the handshake signal of the first charging protocol does not match.
  • the first recording result only includes the same pulse as the pulse information of the handshake signal of the first charging protocol, and reference may be made to the example of “Case 1” in the above and related descriptions of FIG. 3 .
  • the first recording result includes pulses different from the pulse information of the handshake signal of the first charging protocol, and reference may be made to the examples of "case 2" and "case 3" in the above and related descriptions of FIG. 3 .
  • the first record result only includes the same pulse as the pulse information of the handshake signal of the first charging protocol, it can be considered that the first handshake signal is indeed the handshake signal of the first charging protocol, and the first record result includes the handshake with the first charging protocol
  • the pulse information of the signal is different, it can be considered that the first handshake signal is not the handshake signal of the first charging protocol, but a pulse signal or a pseudo pulse signal of another protocol.
  • the first handshake signal is indeed a handshake signal of the first charging protocol and the case of a handshake signal not of the first charging protocol, so that when the first handshake signal is not a handshake signal of the first charging protocol Under certain circumstances, it will not be wrongly determined that the first charging protocol is the first priority in the electronic device under test, ensuring the accuracy of the test result.
  • determining the priority information of the first charging protocol in the electronic device under test includes: After sending the handshake response signal of the first charging protocol, when receiving the Internet packet detector data packet of the first charging protocol from the electronic device under test, it is determined that the first charging protocol in the electronic device under test is number one priority.
  • the Internet packet detector data packet of the first charging protocol can refer to the example of the protocol A Ping data packet in the above description and the related description of FIG. 5 .
  • the tester After sending the handshake response signal of the first charging protocol, receiving the Internet packet detector data packet of the first charging protocol from the electronic device under test, you can refer to the above and related descriptions in Figure 5, the tester sends protocol A Example of a Protocol A Ping packet received after the handshake response signal.
  • the Internet packet detector data packet is the information generated in the protocol identification stage. If the electronic device under test sends an Internet packet detector data packet of a certain protocol and receives the corresponding confirmation data packet, it can configure charging parameters based on the protocol. And accept power supply, therefore, if the tester receives the Internet packet detector data packet of the first charging protocol from the electronic device under test after sending the handshake response signal of the first charging protocol, it means that the electronic device under test does support the first charging protocol. charging protocol. It is determined that the first charging protocol is the first priority in the electronic device under test by receiving the Internet packet detector data packet in the protocol identification stage, so that the obtained test result is consistent with the actual situation of the electronic device under test.
  • determining the priority information of the first charging protocol in the electronic device under test includes: After sending the handshake response signal of the first charging protocol, the Internet packet detector data packet of the first charging protocol from the electronic device under test is not received, and the second handshake sent for the first time is received from the electronic device under test signal, it is determined that the first charging protocol is not the first priority in the electronic device under test, and the second handshake signal is different from the first handshake signal.
  • the second handshake signal may be a second signal sent by the electronic device under test.
  • the second handshake signal sent for the first time reference may be made to the example of the second signal in the above and related descriptions of FIG. 6 .
  • the Internet packet detector data packet of the first charging protocol from the electronic device under test is not received, and the second packet sent for the first time is received from the electronic device under test.
  • the handshake signal you can refer to the above and the relevant description in Figure 6, after the tester sends the protocol A handshake response signal, it does not receive the protocol A Ping data packet and receives the second signal example.
  • the electronic device under test If the electronic device under test receives a handshake response signal of a certain protocol but does not support the protocol, it will not send the Internet packet detector data packet of the protocol, but send another handshake signal until it sends out the Internet packet of a certain protocol.
  • the charging parameters can be configured based on this protocol and the power supply can be accepted. Therefore, if the tester does not receive the Internet packet detector data packet of the first charging protocol from the electronic device under test after sending the handshake response signal of the first charging protocol, but receives the second handshaking signal sent for the first time , indicating that the electronic device under test does not support the first charging protocol. It is determined that the first charging protocol is not the first priority in the electronic device under test by not receiving the Internet packet detector data packet in the protocol identification stage, so that the obtained test result is consistent with the actual situation of the electronic device under test.
  • the method further includes: receiving the nth handshake signal sent by the electronic device under test for the first time, where n is an integer greater than 1; In the charging protocol of the above-mentioned level, record the nth record result including the nth handshake signal, wherein the duration of the nth record result is longer than the duration of the handshake signal of any charging protocol in the at least one charging protocol or equal to The duration of the handshake signal of the charging protocol with the longest duration; when the nth record result matches the pulse information of the handshake signal of the second charging protocol in the at least one charging protocol, send the handshake signal of the second charging protocol A handshake response signal is sent to the electronic device under test; after sending the handshake response signal of the second charging protocol, when receiving an Internet packet detector data packet of the second charging protocol from the electronic device under test, it is determined that the first The second charging protocol is the first priority in the electronic device under test.
  • nth handshake signal reference may be made to the example of the second signal in the above and related descriptions of FIG. 6 .
  • nth recording result reference may be made to the example of the recording result corresponding to the second type of signal in the above and related descriptions of FIG. 6 .
  • second charging protocol reference may be made to the example of protocol B in the above and related descriptions of FIG. 6 .
  • the manner of determining that the nth record result matches the pulse information of the handshake signal of the second charging protocol in the at least one charging protocol can refer to the manner of determining that the first record result matches the pulse information of the handshake signal of the first charging protocol example of .
  • the tester After sending the handshake response signal of the second charging protocol, receiving the Internet packet detector data packet of the second charging protocol from the electronic device under test, you can refer to the above and the related description in Figure 6, the tester sends the protocol B handshake Example of a Protocol B Ping packet received after a response signal.
  • the tester determines that the electronic device under test does not use the first charging protocol as the first priority, it can also determine the specific type of the first priority charging protocol of the electronic device under test, that is, the second charging protocol. protocol, and determine that charging protocols other than the second charging protocol on the electronic device under test are not the first priority, further improving the tester's ability to test the priority information of the charging protocol of the electronic device under test.
  • An embodiment of the present application provides a protocol information testing device, the device is applied to a tester, and the tester records the pulse information of the handshake signal of at least one charging protocol, and the at least one charging protocol includes the first charging protocol, the device includes:
  • the first receiving module is configured to receive a first handshake signal sent by the electronic device under test for the first time, and the first handshake signal is sent after the electronic device determines that the port of the tester is a dedicated charging port;
  • the first recording module is configured to record a first recording result including the first handshake signal, wherein the duration of the first recording result is longer than the duration of the handshake signal of any charging protocol in the at least one charging protocol or Equal to the duration of the handshake signal of the charging protocol with the longest duration;
  • a first determining module configured to determine that the first charging protocol is the first priority among the electronic devices under test when the first recording result matches the pulse information of the handshake signal of the first charging protocol class.
  • the device further includes:
  • a second determining module configured to determine the handshake between the first record result and the first charging protocol when the first record result only includes pulse information identical to the pulse information of the handshake signal of the first charging protocol The pulse information of the signal matches;
  • a third determination module configured to determine the first record result and the handshake signal of the first charging protocol when the first record result includes pulse information different from the pulse information of the handshake signal of the first charging protocol The pulse information does not match.
  • the device further includes:
  • a first comparison module configured to compare the first recorded result with at least one charging protocol except the first charging protocol when the first recorded result does not match the pulse information of the handshake signal of the first charging protocol The pulse information of the handshake signal of other charging protocols;
  • a fourth determining module configured to determine that the second charging protocol is in the electronic device under test when the first record result matches the pulse information of the handshake signal of the second charging protocol among the other charging protocols.
  • Medium is the first priority.
  • the tester is set not to send a handshake response signal
  • the device further includes:
  • the second receiving module is used to receive the nth handshake signal sent by the electronic device under test for the first time, where n is an integer greater than 1;
  • the second recording module is configured to record the nth recording result including the nth handshake signal, wherein the duration of the nth recording result is longer than the duration of the handshake signal of any charging protocol in the at least one charging protocol or Equal to the duration of the handshake signal of the charging protocol with the longest duration;
  • the fifth determination module is configured to, when the nth record result matches the pulse information of the handshake signal of the third charging protocol in the at least one charging protocol, according to the determined charging protocol in the electronic device under test
  • the priority information of the third charging protocol is used to determine the priority information of the third charging protocol in the electronic device under test.
  • determining the priority information of the third charging protocol in the electronic device under test includes: when the t-th priority charging protocol of the electronic device under test has been determined, determining the In the third charging protocol, it is the t+1th priority in the electronic device under test, and t is a positive integer; when the charging protocol of the first priority of the electronic device under test is not determined, determine the third The charging protocol is the first priority in the electronic device under test.
  • An embodiment of the present application provides a protocol information testing device, the device is applied to a tester, and the tester records the pulse information of the handshake signal of at least one charging protocol, and the at least one charging protocol includes the first charging protocol, the device includes:
  • the third receiving module is used to receive the first handshake signal sent by the electronic device under test for the first time, the first handshake signal is the first handshake signal sent after the electronic device determines that the port of the tester is a dedicated charging port a signal;
  • a third recording module configured to record a first recording result including the first handshake signal, wherein the duration of the first recording result is longer than the duration of the handshake signal of any charging protocol in the at least one charging protocol or Equal to the duration of the handshake signal of the charging protocol with the longest duration;
  • a first sending module configured to send a handshake response signal of the first charging protocol to the electronic device under test when the first record result matches the pulse information of the handshake signal of the first charging protocol
  • the sixth determination module is configured to determine the priority information of the first charging protocol in the electronic device under test according to the data information received after sending the handshake response signal of the first charging protocol.
  • a seventh determination module configured to determine the handshake between the first record result and the first charging protocol when the first record result only includes pulse information identical to the pulse information of the handshake signal of the first charging protocol The pulse information of the signal matches;
  • An eighth determination module configured to determine the first record result and the handshake signal of the first charging protocol when the first record result includes pulse information different from the pulse information of the handshake signal of the first charging protocol The pulse information does not match.
  • determining the priority information of the first charging protocol in the electronic device under test includes: After sending the handshake response signal of the first charging protocol, the Internet packet detector data packet of the first charging protocol from the electronic device under test is not received, and the second handshake sent for the first time is received from the electronic device under test signal, it is determined that the first charging protocol is not the first priority in the electronic device under test, and the second handshake signal is different from the first handshake signal.
  • the device further includes:
  • the second sending module is configured to send the handshake response signal of the second charging protocol to the at least one charging protocol when the nth record result matches the pulse information of the handshake signal of the second charging protocol in the at least one charging protocol. Describe the electronic equipment under test;
  • the ninth determination module is configured to determine that the second charging protocol is in the second charging protocol when receiving the Internet packet detector data packet of the second charging protocol from the electronic device under test after sending the handshake response signal of the second charging protocol.
  • the electronic equipment under test is the first priority.
  • Fig. 9 shows an exemplary structural diagram of a tester according to an embodiment of the present application.
  • An embodiment of the present application provides a tester, including: a processor and a memory for storing instructions executable by the processor; wherein the processor is configured to implement the above method when executing the instructions.
  • the tester can be a stand-alone electronic device, or integrated as a device in a mobile phone, foldable electronic device, tablet computer, desktop computer, laptop computer, handheld computer, notebook computer, speaker with screen , ultra-mobile personal computer (ultra-mobile personal computer, UMPC), netbook, augmented reality (augmented reality, AR) equipment, virtual reality (virtual reality, VR) equipment, artificial intelligence (artificial intelligence, AI) equipment, drone , on-board equipment, smart home equipment, or at least one of smart city equipment.
  • augmented reality augmented reality, AR
  • VR virtual reality
  • AI artificial intelligence
  • the tester may include a processor 110, an internal memory 121, a communication module 160, and the like.
  • the communication module 160 and the processor 110 may correspond to the protocol information testing device in FIG. 3 .
  • the processor 110 may include one or more processing units, for example: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processing unit (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural network processor (neural-network processing unit, NPU), etc. Wherein, different processing units may be independent devices, or may be integrated in one or more processors. For example, the processor 110 may execute the protocol information testing method of the embodiment of the present application.
  • processor 110 may include one or more interfaces.
  • the interface may include an integrated circuit (inter-integrated circuit, I2C) interface, a universal asynchronous receiver/transmitter (universal asynchronous receiver/transmitter, UART) interface, a general-purpose input/output (general-purpose input/output, GPIO) interface, and the like.
  • the processor 110 may be connected to modules such as a communication module through at least one of the above interfaces.
  • the memory 121 may be used to store computer-executable program code including instructions.
  • the memory 121 may include an area for storing programs and an area for storing data.
  • the storage program area can store an operating system, at least one application program required by a function (such as an application program that determines that the first record result matches the pulse information of the handshake signal of the first charging protocol, etc.) and the like.
  • the storage data area can store data created during the use of the tester (such as the first record result, the nth record result, protocol priority information, etc.) and the like.
  • the memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (universal flash storage, UFS) and the like.
  • the processor 110 executes various functional methods or data processing of the tester by executing instructions stored in the memory 121 and/or instructions stored in the memory provided in the processor.
  • the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the computing device.
  • the computing device may include more or fewer components than shown, or combine some components, or separate some components, or arrange different components.
  • the illustrated components can be realized in hardware, software or a combination of software and hardware.
  • An embodiment of the present application provides a non-volatile computer-readable storage medium, on which computer program instructions are stored, and when the computer program instructions are executed by a processor, the foregoing method is implemented.
  • An embodiment of the present application provides a computer program product, including computer-readable codes, or a non-volatile computer-readable storage medium bearing computer-readable codes, when the computer-readable codes are stored in a processor of an electronic device When running in the electronic device, the processor in the electronic device executes the above method.
  • a computer readable storage medium may be a tangible device that can retain and store instructions for use by an instruction execution device.
  • a computer readable storage medium may be, for example, but is not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing.
  • Non-exhaustive list of computer-readable storage media include: portable computer disk, hard disk, random access memory (Random Access Memory, RAM), read only memory (Read Only Memory, ROM), erasable Electrically Programmable Read-Only-Memory (EPROM or flash memory), Static Random-Access Memory (Static Random-Access Memory, SRAM), Portable Compression Disk Read-Only Memory (Compact Disc Read-Only Memory, CD -ROM), Digital Video Disc (DVD), memory sticks, floppy disks, mechanically encoded devices such as punched cards or raised structures in grooves with instructions stored thereon, and any suitable combination of the foregoing .
  • RAM Random Access Memory
  • ROM read only memory
  • EPROM or flash memory erasable Electrically Programmable Read-Only-Memory
  • Static Random-Access Memory SRAM
  • Portable Compression Disk Read-Only Memory Compact Disc Read-Only Memory
  • CD -ROM Compact Disc Read-Only Memory
  • DVD Digital Video Disc
  • Computer readable program instructions or codes described herein may be downloaded from a computer readable storage medium to a respective computing/processing device, or downloaded to an external computer or external storage device over a network, such as the Internet, local area network, wide area network, and/or wireless network.
  • the network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers, and/or edge servers.
  • a network adapter card or a network interface in each computing/processing device receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in each computing/processing device .
  • Computer program instructions for performing the operations of the present application may be assembly instructions, instruction set architecture (Instruction Set Architecture, ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or in one or more source or object code written in any combination of programming languages, including object-oriented programming languages—such as Smalltalk, C++, etc., and conventional procedural programming languages—such as the “C” language or similar programming languages.
  • Computer readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server implement.
  • the remote computer can be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or it can be connected to an external computer such as use an Internet service provider to connect via the Internet).
  • electronic circuits such as programmable logic circuits, field-programmable gate arrays (Field-Programmable Gate Array, FPGA) or programmable logic arrays (Programmable Logic Array, PLA), the electronic circuit can execute computer-readable program instructions, thereby realizing various aspects of the present application.
  • These computer-readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine such that when executed by the processor of the computer or other programmable data processing apparatus , producing an apparatus for realizing the functions/actions specified in one or more blocks in the flowchart and/or block diagram.
  • These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause computers, programmable data processing devices and/or other devices to work in a specific way, so that the computer-readable medium storing instructions includes An article of manufacture comprising instructions for implementing various aspects of the functions/acts specified in one or more blocks in flowcharts and/or block diagrams.
  • each block in a flowchart or block diagram may represent a module, a portion of a program segment, or an instruction that includes one or more Executable instructions.
  • the functions noted in the block may occur out of the order noted in the figures. For example, two blocks in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved.
  • each block in the block diagrams and/or flowcharts, and combinations of blocks in the block diagrams and/or flowcharts can be implemented with hardware (such as circuits or ASIC (Application Specific Integrated Circuit, application-specific integrated circuit)), or it can be realized by a combination of hardware and software, such as firmware.
  • hardware such as circuits or ASIC (Application Specific Integrated Circuit, application-specific integrated circuit)
  • firmware such as firmware

Landscapes

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

Abstract

La présente demande concerne un procédé de test d'informations de protocole, un testeur, un support de stockage et un produit programme. Le procédé est appliqué à un testeur, le testeur enregistre des informations d'impulsion d'un signal d'établissement de liaison d'au moins un protocole de charge et le au moins un protocole de charge comprend un premier protocole de charge. Le procédé consiste à : recevoir un premier signal d'établissement de liaison envoyé pour la première fois par un dispositif électronique à l'essai ; enregistrer un premier résultat d'enregistrement comprenant le premier signal d'établissement de liaison ; et, si le premier résultat d'enregistrement est mis en correspondance avec les informations d'impulsion du signal d'établissement de liaison du premier protocole de charge, déterminer que le premier protocole de charge présente une première priorité dans le dispositif électronique à l'essai. Selon le procédé de test d'informations de protocole dans les modes de réalisation de la présente demande, la priorité du premier protocole de charge, en tant que protocole de charge rapide spécifique dans tous les protocoles de charge rapides pris en charge par le dispositif électronique à l'essai peut être déterminée par un test, de manière à déterminer si le dispositif électronique à l'essai enfreint la réglementation du protocole de charge rapide spécifique.
PCT/CN2022/134115 2021-12-08 2022-11-24 Procédé de test d'informations de protocole, testeur, support de stockage et produit programme WO2023103802A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111492413.2 2021-12-08
CN202111492413.2A CN116247755B (zh) 2021-12-08 2021-12-08 协议信息测试方法、测试仪、存储介质

Publications (1)

Publication Number Publication Date
WO2023103802A1 true WO2023103802A1 (fr) 2023-06-15

Family

ID=86633624

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/134115 WO2023103802A1 (fr) 2021-12-08 2022-11-24 Procédé de test d'informations de protocole, testeur, support de stockage et produit programme

Country Status (2)

Country Link
CN (2) CN117955206A (fr)
WO (1) WO2023103802A1 (fr)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117498508A (zh) * 2023-12-29 2024-02-02 深圳市卓芯微科技有限公司 移动设备的快充方法、装置、电子设备以及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110016334A1 (en) * 2009-07-20 2011-01-20 Texas Instruments Incorporated Auto-Detect Polling for Correct Handshake to USB Client
CN106356918A (zh) * 2016-08-30 2017-01-25 宇龙计算机通信科技(深圳)有限公司 一种快速充电识别方法及终端设备
CN109066874A (zh) * 2018-08-30 2018-12-21 北京小米移动软件有限公司 快速充电方法及装置、电子设备、计算机可读存储介质
CN112260366A (zh) * 2020-11-06 2021-01-22 维沃移动通信有限公司 充电方法、充电装置和充电器
CN112448435A (zh) * 2019-09-03 2021-03-05 中兴通讯股份有限公司 终端设备充电方法、装置和存储介质

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106329625B (zh) * 2016-08-31 2019-12-10 宇龙计算机通信科技(深圳)有限公司 一种充电方法及装置
CN110460557B (zh) * 2018-05-07 2021-02-19 北汽福田汽车股份有限公司 电动车的充电管理方法、装置、电池管理系统及电动车
CN111817380B (zh) * 2020-07-14 2023-02-21 维沃移动通信有限公司 充电器、数据线、充电设备和电子设备
CN113690981A (zh) * 2021-08-25 2021-11-23 Oppo广东移动通信有限公司 充电协议的确定方法、装置、电子设备和可读存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110016334A1 (en) * 2009-07-20 2011-01-20 Texas Instruments Incorporated Auto-Detect Polling for Correct Handshake to USB Client
CN106356918A (zh) * 2016-08-30 2017-01-25 宇龙计算机通信科技(深圳)有限公司 一种快速充电识别方法及终端设备
CN109066874A (zh) * 2018-08-30 2018-12-21 北京小米移动软件有限公司 快速充电方法及装置、电子设备、计算机可读存储介质
CN112448435A (zh) * 2019-09-03 2021-03-05 中兴通讯股份有限公司 终端设备充电方法、装置和存储介质
CN112260366A (zh) * 2020-11-06 2021-01-22 维沃移动通信有限公司 充电方法、充电装置和充电器

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117498508A (zh) * 2023-12-29 2024-02-02 深圳市卓芯微科技有限公司 移动设备的快充方法、装置、电子设备以及存储介质

Also Published As

Publication number Publication date
CN117955206A (zh) 2024-04-30
CN116247755B (zh) 2024-01-16
CN116247755A (zh) 2023-06-09

Similar Documents

Publication Publication Date Title
JP5717005B2 (ja) Usbインタフェースのステータスに従って内部回路を選択するための方法および端末
TWI733752B (zh) 用於旁波帶通訊之系統及方法、以及實體非暫時性計算機可讀媒體
CN1503132B (zh) 计算机主机板输出入端口的测试装置
TWI573368B (zh) 可攜式電子裝置以及其充電方法
WO2023103802A1 (fr) Procédé de test d'informations de protocole, testeur, support de stockage et produit programme
WO2012034524A1 (fr) Procédé d'identification de type de version de système d'exploitation windows d'un hôte par un dispositif usb
US10304546B2 (en) External storage device and method of setting reference frequency for the same
US9780599B2 (en) Electronic device and method of detecting efficiency of charging
JPWO2013168289A1 (ja) 電子機器およびその制御方法
CN102622314A (zh) 使用独立状态机进行移动设备外围检测
WO2021239102A1 (fr) Procédé et appareil de commande de charge
US20180367319A1 (en) Secure power over ethernet power distribution system
TW201725822A (zh) 快速充電方法、移動終端和轉接器
US10762029B2 (en) Electronic apparatus and detection method using the same
US20170288668A1 (en) Voltage tolerant termination presence detection
JP6931706B2 (ja) メッセージレコードの結合と表示方法、および端末装置
US20180097315A1 (en) Power adapter, terminal device, charging system, and charging method
JP2017224105A (ja) 情報処理装置、情報処理方法およびプログラム
CN111481107A (zh) 扫地机充电座的定位方法及装置、计算设备、存储介质
US11614484B2 (en) Method and system for testing time parameters of adaptor
CN109507507A (zh) 适配器检测方法、装置、存储介质、测试板及检测系统
TW202247630A (zh) 多協定usb適應性充電
CN104142839A (zh) 一种防止音频芯片初始化失效的方法
WO2022046084A1 (fr) Mises à jour de micrologiciel
CN114884768A (zh) 一种总线空闲状态的检测装置、系统及检测方法

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22903225

Country of ref document: EP

Kind code of ref document: A1