WO2020024116A1 - Procédé de configuration d'interface, dispositif terminal et dispositif interface - Google Patents

Procédé de configuration d'interface, dispositif terminal et dispositif interface Download PDF

Info

Publication number
WO2020024116A1
WO2020024116A1 PCT/CN2018/097815 CN2018097815W WO2020024116A1 WO 2020024116 A1 WO2020024116 A1 WO 2020024116A1 CN 2018097815 W CN2018097815 W CN 2018097815W WO 2020024116 A1 WO2020024116 A1 WO 2020024116A1
Authority
WO
WIPO (PCT)
Prior art keywords
chip
type
connector
working state
external device
Prior art date
Application number
PCT/CN2018/097815
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 华为技术有限公司
Priority to CN201880080710.6A priority Critical patent/CN111480152B/zh
Priority to PCT/CN2018/097815 priority patent/WO2020024116A1/fr
Publication of WO2020024116A1 publication Critical patent/WO2020024116A1/fr

Links

Images

Classifications

    • 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/42Bus transfer protocol, e.g. handshake; Synchronisation

Definitions

  • the present application relates to the technical field of terminal equipment, and in particular, to an interface configuration method, terminal equipment, and interface.
  • terminal devices Due to the diversified scenes in which users use terminal devices, many terminal devices may be unable to charge the interface and cannot connect to other devices after being wet or immersed in liquid.
  • the reason for the above situation is that the type-c interface installed on the terminal device is in the high and low level (toggle) state by default, that is, a rectangular voltage square wave is output on the channel configuration (CC) pin with a period of 50ms-100ms; when the type-c interface is wet or immersed in liquid, there is a voltage difference between the CC pin and the ground (GND) pin in the type-c interface and a path is formed; this leads to the formation of the CC pin The material undergoes an electrolytic reaction, which causes corrosion of the CC pin.
  • the embodiments of the present application provide an interface configuration method, a terminal device, and an interface to improve the problem that the CC pin of the type-c interface in the terminal device is corroded.
  • an embodiment of the present application provides a terminal device.
  • the terminal device is installed with a type-c interface.
  • the type-c interface includes a power output PD chip and a type-c connector.
  • the channel configuration CC pin is connected to the type-c connector.
  • the terminal device further includes a processing module and a monitoring module. In order to optimize the type-c interface, the processing module and the monitoring module have the following functions:
  • the processing module When determining that the type-c connector is not connected to an external device, the processing module sets the PD chip to a first working state (that is, a sink mode), shields the interrupt of the PD chip, and sends a startup to the monitoring module. A monitoring message to notify the monitoring module to start monitoring whether the type-c connector is connected to an external device;
  • the monitoring module After receiving the startup monitoring message, the monitoring module starts to monitor whether the type-c connector is connected to an external device, and when monitoring that the type-c connector is connected to an external device, sends a first A message
  • the processing module After receiving the first message, the processing module adjusts the PD chip from the first working state to a second working state (ie, a toggle mode), and starts receiving an interrupt of the PD chip.
  • a second working state ie, a toggle mode
  • the CC pin of the PD chip continuously outputs a low level in the first working state, and the CC pin of the PD chip outputs a rectangular square wave of high and low levels in the second working state.
  • the processing module in the terminal device determines that the type-c connector is not connected to an external device
  • the PD chip is set to the first working state in which the CC pin continuously outputs a low level, and when the processing module passes
  • the monitoring module monitors that the type-c is connected to an external device
  • the PD chip is set to the second working state of the rectangular square wave of high and low level output by the cc pin, so that the PD chip recognizes the external device, thereby ensuring the type-c interface Works fine.
  • the above solution can ensure that the type-c interface of the terminal device can be connected and recognize the normal operation of the external device.
  • the CC pin When the type-c connector is not connected to the external device, the CC pin continuously outputs a low level, thereby greatly reducing the CC.
  • the voltage difference between the pin and the GND pin can further alleviate the situation that the CC pin is corroded after the type-c interface is wet or immersed in liquid, so as to optimize the type-c interface.
  • the processing module may determine that the type-c connector is not connected to an external device in the following two cases:
  • the first case when the terminal device is powered on, it is determined that the type-c connector is not connected to an external device.
  • the processor module may default to the type-c connection when the terminal device is started and started. The device is not connected to an external device.
  • the second case when the second message sent by the PD chip is received, it is determined that the type-c connector is not connected to an external device; wherein the second message is that the PD chip works in the second Sent after it is determined that the type-c connector is not connected to an external device for a set duration.
  • the PD chip Because the PD chip is in the toggle mode, it can detect whether the type-c connector is connected to an external device through a rectangular square wave output from the CC pin. Therefore, when the PD chip detects that the type-c connection is not connected to an external device, it can promptly notify the processing module, so that the processing module can set the PD chip to sink mode in a timely manner. In addition, in order to avoid misjudgment due to a PD chip, the PD chip will determine that the type-c connector is not connected to an external device within a set duration (for example, 5 seconds, 10 seconds), and then send the second Message.
  • a set duration for example, 5 seconds, 10 seconds
  • the monitoring module includes a voltage dividing circuit and a monitoring chip; wherein the voltage dividing circuit provides a fixed voltage and is separately connected to the CC pin and the IC pin of the PD chip through a voltage dividing device.
  • the type-c connector is connected; in this case, the monitoring chip has the following functions: monitoring the voltage change of the voltage dividing device; determining when the voltage change of the voltage dividing device exceeds a set voltage threshold, determining The type-c connector is connected to an external device; and the first message is sent to the processing module.
  • the monitoring chip may collect the voltage of the voltage dividing device through an ADC, and compare the voltage values collected by a set number of times to determine the change of the voltage dividing device.
  • the voltage dividing circuit Since the voltage dividing circuit is fixed when the type-c connector is not connected to an external device, the voltage value of the voltage dividing device collected by the monitoring chip through the ADC is also fixed. When the type-c connector is connected to an external device, the external device introduces a new voltage, current, or equivalent resistance, etc., which causes the voltage of the voltage dividing device to change. Therefore, by this design, the monitoring chip can quickly and accurately judge whether the type-c connector is connected to an external device by judging a voltage change of any voltage dividing device.
  • the processing module may set the PD chip to the first working state by sending a third message to the PD chip, and the third message is used to notify the PD chip that the PD chip will The working state is adjusted to the first working state; the processing module may adjust the PD chip from the first working state to the second working state by sending a fourth message to the PD chip. The fourth message is used to notify the PD chip to adjust the working state to the second working state.
  • the processing module can set the working state of the PD chip.
  • the processing module after receiving the first message, sends a stop monitoring message to the monitoring module, where the stop monitoring message is used to notify the monitoring module to stop monitoring the type-c Whether the connector is connected to an external device; in this case, the monitoring module stops monitoring whether the type-c connector is connected to an external device after receiving the stop monitoring message.
  • the processing module and the PD chip communicate with each other through an internal integrated circuit I2C bus.
  • the SOC and the PD chip may transmit the second message, the third message, the fourth message, and the like through an I2C bus.
  • the processing module and the monitoring module communicate through a synchronous serial interface SSI.
  • SSI synchronous serial interface
  • an embodiment of the present application further provides a terminal device.
  • the terminal device is installed with a type-c interface.
  • the type-c interface includes a power output PD chip and a type-c connector.
  • the CC pin of the channel configuration is connected to the type-c connector.
  • the terminal device further includes a memory and a processor, and the program is stored in the memory.
  • the processor can read the program in the memory and perform the following operations:
  • the PD chip When it is determined that the type-c connector is not connected to an external device, set the PD chip to a first working state, shield the terminal of the PD chip, and start monitoring whether the type-c connector is connected to an external device; And when determining that the type-c connector is connected to an external device, adjust the PD chip from the first working state to a second working state, and start receiving an interrupt of the PD chip; wherein the PD chip
  • the CC pin continuously outputs a low level in the first working state, and the PD chip outputs a rectangular square wave of high and low levels in the second working state.
  • the PD chip when the processor in the terminal device determines that the type-c connector is not connected to an external device, the PD chip can be set to sink mode, and the PD chip is set when it is determined that the type-c connector is connected to an external device. It is toggle mode.
  • the CC pin in the PD chip continuously outputs a low level, thereby greatly reducing the CC pin and GND.
  • the voltage difference between the pins can further alleviate the situation that the CC pin is corroded after the type-c interface is wet or immersed in liquid, so as to optimize the type-c interface.
  • the processor may determine that the type-c connector is not connected to an external device in the following two cases:
  • the first case when the terminal device is powered on, it is determined that the type-c connector is not connected to an external device;
  • the second case when the first message sent by the PD chip is received, it is determined that the type-c connector is not connected to an external device; wherein the first message is that the PD chip works in the second Sent after it is determined that the type-c connector is not connected to an external device for a set duration.
  • the terminal device further includes a voltage dividing circuit, the voltage dividing circuit provides a fixed voltage, and is separately connected to the CC pin and the type-c of the PD chip through a voltage dividing device.
  • the connector is connected; in this case, the processor monitors a voltage change of the voltage dividing device; when the voltage change of the voltage dividing device is monitored to exceed a set voltage threshold, it is determined that the type-c connector is connected externally device.
  • the processor may implement the above-mentioned monitoring function through other devices (for example, PMU, etc.) separate from it. Specifically, the processor may send an instruction message to the device to notify the device to start or stop monitoring whether the type-c connector is connected to an external device, and determine the type-c by receiving a notification message from the device.
  • the connector connects external devices.
  • the processor and the device can communicate through SSI.
  • the processor may set the PD chip to the first working state by sending a second message to the PD chip; the processor may send a first message to the PD chip by Three messages, adjusting the PD chip from the first working state to the second working state.
  • the processor can set the working state of the PD chip.
  • the processor stops monitoring whether the type-c connector is connected to an external device.
  • the processor and the PD chip communicate with each other through an internal integrated circuit I2C bus.
  • an embodiment of the present application further provides an interface, where the interface includes a power output PD chip and a type-c connector, and a channel pin configured in the PD chip is connected to the type-c connector .
  • the PD chip has the following functions:
  • the working state of the chip is adjusted to a second working state; wherein the first message is used to notify the PD chip to adjust the working state to the first working state; the PD chip is CC under the first working state
  • the pin continuously outputs a low level; the connecting component is connected to the PD chip; the second message is used to notify the PD chip to adjust the working state to the second working state; the PD chip is in the In the second working state, the CC pin outputs a rectangular square wave of high and low levels.
  • the PD chip in the interface can adjust its working state according to the instruction message when receiving the instruction message sent by the processor in the terminal device.
  • the processor determines that the type-c connector in the interface is not connected to an external device, it can set the PD chip to sink mode, and when it determines that the type-c connector is connected to an external device, The PD chip is set to toggle mode.
  • the CC pin in the PD chip continuously outputs a low level, thereby greatly reducing the CC pin and GND.
  • the voltage difference between the pins can further alleviate the situation that the CC pin is corroded after the type-c interface is wet or immersed in liquid, so as to optimize the type-c interface.
  • the PD chip is further used for:
  • the PD chip when the PD chip detects that the type-c connection is not connected to an external device, it can notify the processor in time, so that the processor can set the PD chip to sink mode in time. In addition, in order to avoid misjudgment due to the PD chip, the PD chip sends the third message after determining that the type-c connector is not connected to an external device within a set duration (for example, 5 seconds, 10 seconds). .
  • a set duration for example, 5 seconds, 10 seconds.
  • the PD chip and the processor communicate with each other through an internal integrated circuit I2C bus.
  • an embodiment of the present application further provides an interface configuration method, which is applied to a processor in a terminal device, where the terminal device includes a power output PD chip and a type-c connector, and the PD chip
  • the channel configuration in the CC pin is connected to the type-c connector;
  • the processor has the functions of the processing module and the monitoring module in the first aspect, or the functions of the processor in the second aspect.
  • the method specifically includes the following steps:
  • the processor determines that the type-c connector is not connected to an external device, the processor sets the PD chip to a first working state, shields the interrupt of the PD chip, and starts monitoring whether the type-c connector is Connected to an external device; wherein the PD chip continuously outputs a low level under the first working state of the PD chip;
  • the processor When determining that the type-c connector is connected to an external device, the processor adjusts the PD chip from the first working state to a second working state, and starts receiving an interrupt of the PD chip; the PD The CC pin outputs a rectangular square wave of high and low levels in the second working state of the chip.
  • an embodiment of the present application further provides a computer program, and when the computer program is run on a computer, the computer is caused to execute the method provided in the fourth aspect.
  • an embodiment of the present application further provides a computer storage medium.
  • the computer storage medium stores a computer program.
  • the computer program is executed by a computer, the computer is caused to execute the method provided by the fourth aspect. .
  • an embodiment of the present application further provides a chip, which is used to read a computer program stored in a memory and execute the method provided in the fourth aspect.
  • an embodiment of the present application further provides a chip system including a processor, which is configured to support a computer device to implement the method provided in the fourth aspect.
  • the chip system further includes a memory, and the memory is configured to store programs and data necessary for the computer device.
  • the chip system can be composed of chips, and can also include chips and other discrete devices.
  • FIG. 1 is a structural diagram of a terminal device according to an embodiment of the present application.
  • FIG. 2 is a structural example diagram of a terminal device according to an embodiment of the present application.
  • FIG. 3 is an example equivalent circuit diagram of a terminal device when a type-c connector provided by an embodiment of the present application is not connected to an external device;
  • 4a-4d are equivalent circuit diagrams of a terminal device when a type-c connector according to an embodiment of the present application is connected to an external device;
  • FIG. 5 is a structural diagram of another terminal device according to an embodiment of the present application.
  • FIG. 6 is a flowchart of an interface configuration method according to an embodiment of the present application.
  • FIG. 7 is a flowchart of an example interface configuration according to an embodiment of the present application.
  • This application provides an interface configuration method, a terminal device, and an interface to improve the problem that the CC pin of the type-c interface in the terminal device is corroded.
  • the method and equipment are based on the same inventive concept. Since the principle of the method and the equipment to solve the problem is similar, the implementation of the equipment and the method can be referred to each other, and the duplicates are not described again.
  • the processing module in the terminal device determines that the type-c connector is not connected to an external device
  • the PD chip is set to the first working state where the CC pin continuously outputs a low level
  • the processing module monitors the type-c connection to an external device through a monitoring module
  • setting the PD chip to a second working state of a rectangular square wave of high and low level output by the cc pin, so that the PD chip recognizes the external device, So as to ensure the normal work of the type-c interface.
  • the above solution can ensure that the type-c interface of the terminal device can be connected and recognize the normal operation of the external device.
  • the CC pin When the type-c connector is not connected to the external device, the CC pin continuously outputs a low level, thereby greatly reducing the CC.
  • the voltage difference between the pin and the GND pin can further alleviate the situation that the CC pin is corroded after the type-c interface is wet or immersed in liquid, so as to optimize the type-c interface.
  • Terminal equipment also known as electronic equipment and user equipment (UE)
  • UE electronic equipment and user equipment
  • the terminal device may be a handheld device, a vehicle-mounted device, or the like.
  • MIDs mobile Internet devices
  • VR virtual reality
  • AR augmented reality
  • wireless terminal in industrial control wireless terminal in self driving, wireless terminal in remote surgery, wireless terminal in smart grid, transportation security wireless terminals in (transportation safety), wireless terminals in smart cities, or wireless terminals in smart homes, etc.
  • External device a device capable of connecting a terminal device through a type-c interface.
  • the external device may be an adapter, a headset, a mobile hard disk, a printer, a universal serial bus (Universal Serial Bus, USB) flash disk (U disk for short), and other devices.
  • USB Universal Serial Bus
  • Type-c interface which can realize the connection between terminal equipment and external equipment, and provide the interface of data transmission and charging function.
  • the type-c interface includes a type-c connector and a power output (PD) chip, and each pin in the PD chip is connected to the type-c connector.
  • PD power output
  • a type-c connector is a connector placed on the bottom of a terminal device. It can transmit current and signals after connecting other active devices.
  • the PD chip including 24 pins.
  • the 24 pins include TX + pin, TX- pin, RX + pin, RX- pin, VBUS pin, CC pin, D + pin, D- pin, and GND pin.
  • the PD chip can perform functions such as detecting whether the type-c connector is connected to an external device through the above-mentioned pins, and then perform data transmission or charging and discharging functions.
  • the PD chip will always be in the high and low level (toggle) mode, that is, the CC pin of the PD chip will output a rectangular square wave of high and low levels.
  • the external device When the type-c connector is connected to an external device, the external device will introduce new voltage, current, or equivalent resistance, etc. This will cause the waveform of the output on the CC pin to change.
  • the PD chip can monitor this waveform change. Detect whether the type-c connector is connected to an external device. If the PD chip detects that the type-c connector is connected to an external device, it will initiate an interrupt to the processing module in the terminal device to notify the processing module to perform a series of subsequent operations such as identifying the type of the external device to ensure the normal operation of the terminal device.
  • Power management unit as the power management unit of each chip in the terminal device, can provide the power required by each chip to ensure the normal operation of each chip of the terminal device.
  • the PMU also integrates an analog-to-digital converter (ADC), which can sample voltages and signals of certain pins in the type-c interface.
  • ADC analog-to-digital converter
  • a processing module for controlling and managing the PD chip.
  • the PD chip detects that the type-c connector is connected to an external device, it will initiate an interrupt to the processing module. After receiving the interrupt, the processing module will obtain information from the PD chip. In order to identify the type of the external device, the subsequent work of the PD chip is set, and the PD chip is controlled and managed.
  • the processing module may be a processor (ie, a central processing unit (CPU)) in a terminal device, or another device having a processing function independent of the processor.
  • processor ie, a central processing unit (CPU)
  • CPU central processing unit
  • the processing module may be a field-programmable gate array (FPGA), a complex programmable logic device (CPLD), an application-specific integrated circuit (ASIC), Or system-on-chip (System on chip, SOC) and some programmable chips.
  • FPGA field-programmable gate array
  • CPLD complex programmable logic device
  • ASIC application-specific integrated circuit
  • SOC System on chip
  • FIG. 1 shows a structural diagram of a terminal device provided by an embodiment of the present application.
  • a type-c interface is installed in the terminal device, that is, the type-c connector 104 and the PD chip 103 shown in the figure. All the pins in the PD chip 103 are connected to corresponding pins in the type-c connector 104.
  • CC pins cited in the embodiment of the present application
  • Pin and CC2 pin are shown in the figure.
  • the terminal device further includes a processing module 101 and a monitoring module 102.
  • a processing module 101 and a monitoring module 102.
  • a processing module 101 configured to determine that the type-c connector 104 is connected to an external device, set the PD chip 103 to a first working state (also referred to as a low-level (sink) mode), and shield the PD chip 103
  • the PD chip 103 interrupts and sends a monitoring start message to the monitoring module 102.
  • the PD chip 103 continuously outputs a low level in the CC pin in the first working state, and the startup monitoring message is used to notify the monitoring module 102 to start monitoring whether the type-c connector 104 is connected to an external device. device.
  • the monitoring module 102 is configured to, after receiving the startup monitoring message, start monitoring whether the type-c connector 104 is connected to an external device, and when monitoring that the type-c connector 104 is connected to an external device, The processing module 101 sends a first message.
  • the first message is used to notify the processing module 101 that the type-c connector 104 is connected to an external device, so that the processing module 101 resets the working state of the PD chip 103 so as not to affect the terminal. The device is working properly.
  • the processing module 101 is further configured to adjust the PD chip 103 from the first working state to the second working state (also referred to as a toggle mode) after receiving the first message, and Start receiving the interrupt of the PD chip 103.
  • the PD chip 103 outputs a rectangular square wave of high and low levels in the CC pin in the second working state.
  • the processing module 101 in the terminal device determines that the type-c connector 104 is not connected to an external device, it can set the PD chip 103 to sink mode and determine the type-c connector 104
  • the PD chip 103 is set to the toggle mode when an external device is connected.
  • the CC pin in the PD chip 103 continuously outputs a low level, thereby greatly reducing the CC pin.
  • the voltage difference from the GND pin can further alleviate the situation that the CC pin is corroded after the type-c interface is wet or immersed in liquid, so as to optimize the type-c interface.
  • the processing module 101 may determine that the type-c connector 104 is not connected to an external device in the following two cases:
  • the first case when the terminal device is powered on, it is determined that the type-c connector 104 is not connected to an external device.
  • the default type- The c connector 104 is not connected to an external device.
  • the second case when receiving the second message sent by the PD chip 103, it is determined that the type-c connector 104 is not connected to an external device; wherein the second message is that the PD chip 103 is in the Sent after determining that the type-c connector 104 is not connected to an external device for a set duration in the second working state.
  • the PD chip 103 when the PD chip 103 is in the toggle mode, it can detect whether the type-c connector 103 is connected to an external device through a rectangular square wave output from the CC pin. Therefore, when the PD chip 103 detects that the type-c connection 103 is not connected to an external device, it can notify the processing module 101 in time, so that the processing module 101 can set the PD chip 103 to sink mode in a timely manner. .
  • the PD chip 103 sends the second message after determining that the type-c connector 104 is not connected to an external device within a continuously set duration.
  • the set duration can be set to 5 seconds, 10 seconds, or the like.
  • the processing module 101 may set the PD chip 103 to the first working state by the following steps:
  • the processing module 101 can adjust the PD chip 103 from the first working state to the second working state by the following steps:
  • the processing module 101 may further send a stop monitoring message to the monitoring module 102 after receiving the first message, and the stop monitoring message is used to notify the monitoring module 102 to stop monitoring the office. Whether the type-c connector 104 is connected to an external device; the monitoring module 102 stops monitoring whether the type-c connector 104 is connected to an external device after receiving the stop monitoring message.
  • the monitoring module 102 continues to monitor the PD chip 103 in the toggle mode, resulting in waste of power.
  • processing module 101 and the PD chip 103 may communicate through an inter-integrated circuit (I2C) bus to transmit the second message, the third message, and the fourth message.
  • I2C inter-integrated circuit
  • the processing module 101 and the monitoring module 102 may communicate through a synchronous serial interface (SSI), and transmit the above-mentioned start monitoring message, stop monitoring message, first message, and the like.
  • the first message is an interrupt.
  • the processing module 101 may be implemented in multiple ways, for example, FPGA, ASIC, SOC, etc., which is not limited in this application.
  • the monitoring module 102 may also be implemented in multiple ways, for example, a dedicated integrated circuit, an FPGA, or the like.
  • the monitoring module 102 includes a voltage dividing circuit and a monitoring chip.
  • the voltage dividing circuit provides a fixed voltage, and is connected to the CC pin of the PD chip 103 and the type-c connector 104 through a voltage dividing device (for example, a resistor).
  • a voltage dividing device for example, a resistor
  • the monitoring chip is specifically configured to: monitor a voltage change of the voltage dividing device; when the voltage change of the voltage dividing device is monitored to exceed a set voltage threshold, determine that the type-c connector 104 is connected to an external device; And sending the first message to the processing module 101.
  • the monitoring chip continuously collects the voltage values of the voltage-dividing device 1 and the voltage-dividing device 2 through ADC1 and ADC2, and compares the voltage values with the voltage values collected last time to determine the voltage change of each voltage-dividing device. In addition, the monitoring chip saves the voltage value of the newly collected voltage-dividing device, so that it can continue to determine the voltage change in the future.
  • the monitoring chip may be a PMU.
  • the voltage dividing circuit is fixed, and the voltage values of the two voltage dividing devices collected by the monitoring chip through ADC1 and ADC2 are also fixed.
  • the external device introduces a new voltage, current, or equivalent resistance, etc., which causes the voltage of the voltage dividing device to change. Therefore, the monitoring chip can determine whether the type-c connector 104 is connected to an external device by determining a voltage change of any voltage dividing device.
  • the value of the set voltage threshold may be specifically set according to factors such as a specific scenario, a value of a voltage dividing device in a voltage dividing circuit, and a value of a fixed voltage.
  • each CC pin and the voltage divider circuit are connected to the path between the CC pin and the type-c connector.
  • the equivalent resistance between the nodes is 120 ⁇
  • the voltage value of the two voltage-dividing devices that the monitoring chip can monitor through ADC1 and ADC2 is 0.165V
  • the set voltage threshold is 0.04V.
  • Example 1 When a type-c connector is connected to a common adapter, the equivalent circuit of the terminal device is shown in Figure 4a.
  • Example 2 When a type-c connector is connected to a PD adapter, the equivalent circuit of the terminal device is shown in Figure 4b.
  • Equivalent resistance 1 4.7k ⁇
  • Equivalent resistance 2 4.7k ⁇ Current from current source 0.08A Voltage of the voltage-dividing device 1 sampled by ADC1 0.376V Voltage change of voltage-dividing device 1 0.211V
  • Equivalent resistance 1 5.1k ⁇
  • Equivalent resistance 2 5.1k ⁇ Current from current source 0.18A Voltage of the voltage-dividing device 1 sampled by ADC1 0.918V Voltage change of voltage-dividing device 1 0.753V
  • Equivalent resistance 1 5.6k ⁇
  • Equivalent resistance 2 5.6k ⁇ Current from current source 0.33A Voltage of the voltage-dividing device 1 sampled by ADC1 1.848V Voltage change of voltage-dividing device 1 1.683V
  • Example 3 When a type-c connector is connected to a plug-and-play (OTG) line or a digital headset, the equivalent circuit of the terminal device is shown in FIG. 4c.
  • OOG plug-and-play
  • Equivalent resistance 1 2.419k ⁇ Equivalent resistance 2 2.419k ⁇ Equivalent resistance 3 2.419k ⁇ Voltage of the voltage-dividing device 1 sampled by ADC1 0.082V Voltage change of voltage-dividing device 1 0.083V
  • Example 4 When a type-c connector is connected to an analog headset, the equivalent circuit of the terminal device is shown in Figure 4d.
  • the voltage of the voltage-dividing device 2 sampled by ADC2 is the same as the voltage of voltage-dividing device 1 sampled by ADC1.
  • the voltage change and voltage of type-c connector 2 before and after the analog earphone is connected to the type-c connector is the same, and is not listed here.
  • the voltage change of the voltage dividing device 1 in the above examples it can be known that, regardless of the type of the external device, the voltage change of at least one voltage dividing device before and after the type-c connector is connected to the external device exceeds the set voltage threshold of 0.04V. Therefore, experiments prove that the monitoring module can accurately determine whether the type-c connector is connected to an external device by monitoring the relationship between the voltage change of the voltage dividing device and the set voltage threshold.
  • each function in each embodiment of the present application Units can be integrated in one processing unit, or they can exist separately physically, or two or more units can be integrated in one unit.
  • the above integrated unit may be implemented in the form of hardware or in the form of software functional unit.
  • the integrated unit When the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it may be stored in a computer-readable storage medium.
  • the technical solution of the present application is essentially a part that contributes to the existing technology or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium.
  • a computer device which may be a personal computer, a server, or a network device
  • the aforementioned storage media include: U disks, mobile hard disks, read-only memory (ROM), random access memory (RAM), magnetic disks or compact discs, and other media that can store program codes .
  • this application also provides a terminal device.
  • a type-c interface is installed in the terminal device, that is, a power output PD chip 503 and a type-c connector 504 shown in the figure. All the pins in the PD chip 503 are connected to corresponding pins in the type-c connector 504. For simplicity, only two CC pins (ie, the CC1 pin and the CC2 pin in the figure) involved in the embodiment of the present application are exemplarily shown in FIG. 5.
  • the terminal device further includes a processor 501 and a memory 502.
  • the processor 501, the memory 502, and the PD chip 503 are connected to each other.
  • the processor 501 and the memory 502 may be connected to each other through a bus 505;
  • the bus 505 may be a peripheral component interconnect (PCI) bus or an extended industry standard structure (extended industry standard structure) architecture, EISA) bus, etc.
  • PCI peripheral component interconnect
  • EISA extended industry standard structure
  • the bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is used in FIG. 5, but it does not mean that there is only one bus or one type of bus.
  • the terminal device may further include a transceiver for performing wireless communication with a network device in a mobile communication system.
  • the processor 501 integrates the processing function of the processing module 101 in the terminal device as shown in FIG. 1 and the monitoring function in the monitoring module 102, and can perform the following operations:
  • the PD chip 503 When it is determined that the type-c connector 504 is not connected to an external device, the PD chip 503 is set to a first working state, the interrupt of the PD chip 503 is shielded, and whether the type-c connector 504 is monitored is started. Connected to an external device; wherein the PD pin 503 continuously outputs a low level under the first working state;
  • the PD chip 503 When it is determined that the type-c connector 504 is connected to an external device, the PD chip 503 is adjusted from the first working state to the second working state, and an interrupt of receiving the PD chip 503 is started; the PD chip 503 In the second working state, the CC pin outputs a rectangular square wave of high and low levels.
  • the processor 501 determines that the type-c connector 504 is not connected to an external device, it is specifically configured to:
  • the PD chip 503 When receiving the first message sent by the PD chip 503, it is determined that the type-c connector 504 is not connected to an external device; wherein the first message is that the PD chip 503 is in the second working state Sent after determining that the type-c connector 504 is not connected to an external device for a set duration.
  • the processor 501 can monitor whether the type-c connector 504 is connected to an external device in various ways.
  • the processor 501 may implement the monitoring function by its own hardware or software; or the processor 501 may implement the monitoring function by means of a circuit.
  • the terminal device further includes a voltage dividing circuit that provides a fixed voltage, and is separately connected to the CC pin and the type- of the PD chip 503 through a voltage dividing device.
  • c connector 504 is connected;
  • the processor 501 monitors whether the type-c connector 504 is connected to an external device, it is specifically configured to:
  • the processor 501 may collect the voltage in the voltage dividing device through a voltage sampling device (such as an ADC in a PMU) of the terminal device, and then collect the The voltage value determines the voltage change of the voltage dividing device.
  • a voltage sampling device such as an ADC in a PMU
  • the processor 501 when the processor 501 sets the PD chip 503 to the first working state, the processor 501 is specifically configured to:
  • the processor 501 adjusts the PD chip 503 from the first working state to the second working state
  • the processor 501 is specifically configured to:
  • the processor 501 is further configured to:
  • the processor 501 may implement the above-mentioned monitoring function through other devices (for example, PMU, etc.) separate from the processor. Specifically, the processor 501 may send an instruction message to the device to notify the device to start or stop monitoring whether the type-c connector 504 is connected to an external device, and determine the type by receiving a notification message from the device. -c connector 504 connects an external device.
  • the processor 501 and the device may communicate through SSI.
  • the processor 501 and the PD chip 503 communicate with each other through an I2C bus to transmit the first message, the second message, and the third message.
  • the memory 502 is configured to store programs and the like.
  • the program may include program code, and the program code includes a computer operation instruction.
  • the memory 502 may include random access memory (RAM), and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
  • the processor 501 reads and executes the program stored in the memory 502 to implement the functions described above, and thus optimizes the type-c interface.
  • An embodiment of the present application provides a terminal device.
  • the PD chip can be set to a sink mode, and the type-c connector is determined. Set the PD chip to toggle mode when connecting external devices.
  • the CC pin in the PD chip continuously outputs a low level, thereby greatly reducing the CC pin and GND.
  • the voltage difference between the pins can further alleviate the situation that the CC pin is corroded after the type-c interface is wet or immersed in liquid, so as to optimize the type-c interface.
  • this application further provides an interface, which can be installed in the terminal device shown in FIGS. 1-3 and FIG. 5.
  • the interface includes a power output PD chip and a type-c connector, and a channel configuration CC pin in the PD chip is connected to the type-c connector.
  • the PD chip can not only implement traditional functions through the pins it contains, but also perform the following operations:
  • the processor in the terminal device When receiving the first message sent by the processor in the terminal device, adjusting the working state of the PD chip to the first working state; wherein the first message is used to notify the PD chip to adjust the working state to The first working state; the PD chip continuously outputs a low level under the first working state; the connecting component is connected to the PD chip;
  • the CC pin Upon receiving a second message sent by the processor, adjusting the working state of the PD chip to a second working state; wherein the second message is used to notify the PD chip to adjust the working state to the A second working state; in the second working state, the CC pin outputs a rectangular square wave of high and low levels.
  • the PD chip is further configured to:
  • the PD chip and the processor communicate with each other through an internal integrated circuit I2C bus.
  • An embodiment of the present application provides an interface, and when a PD chip in the interface receives an instruction message sent by a processor in a terminal device, it can adjust its working state according to the instruction message. Based on the interface, when the processor determines that the type-c connector in the interface is not connected to an external device, it can set the PD chip to sink mode, and when it determines that the type-c connector is connected to an external device, The PD chip is set to toggle mode. In this way, without affecting the normal operation of the terminal device, when the type-c connector is not connected to an external device, the CC pin in the PD chip continuously outputs a low level, thereby greatly reducing the CC pin and GND. The voltage difference between the pins can further alleviate the situation that the CC pin is corroded after the type-c interface is wet or immersed in liquid, so as to optimize the type-c interface.
  • this application also provides an interface configuration method.
  • the method is applied to a processor in a terminal device as shown in FIG. 5, where the terminal device includes a power output PD chip and a type-c connector.
  • a channel configuration CC pin in the PD chip is connected to the type-c connector.
  • the method includes the following processes:
  • S601 When the processor determines that the type-c connector is not connected to an external device, the processor sets the PD chip to a first working state (that is, sink mode), shields the interrupt of the PD chip, and starts a monitoring station. Describes whether the type-c connector is connected to an external device.
  • a first working state that is, sink mode
  • the CC pin continuously outputs a low level in the PD chip in the first working state.
  • the processor may, but is not limited to, determine that the type-c connector is not connected to an external device in the following two ways:
  • the processor determines that the type-c connector is not connected to an external device.
  • Second method When the processor receives the first message sent by the PD chip, it determines that the type-c connector is not connected to an external device; wherein the first message is that the PD chip is in the first Sent after determining that the type-c connector has not been connected to an external device for a set period of time in the second working state (ie, the toggle mode).
  • the PD chip may send the first message to the processor through an I2C bus.
  • the processor may set the PD chip to the first working state through the following steps:
  • the processor sends a second message to the PD chip, and the second message is used to notify the PD chip to adjust a working state to the first working state.
  • the processor may send the second message to the PD chip through an I2C bus.
  • S602 When the processor determines that the type-c connector is connected to an external device, the processor adjusts the PD chip from the first working state to a second working state, and starts receiving an interrupt of the PD chip.
  • the PD chip outputs a rectangular square wave of high and low levels at the CC pin in the second working state.
  • the processor may adjust the PD chip from the first working state to the first working state by the following steps. Describe the second working state:
  • the processor sends a third message to the PD chip, and the third message is used to notify the PD chip to adjust a working state to the second working state.
  • the processor may send the third message to the PD chip through an I2C bus.
  • the processor may implement the monitoring function in multiple ways.
  • the terminal device further includes a voltage dividing circuit as shown in FIG. 2, and the processor has the functions of a monitoring chip and a processing module in FIG. 2, the processor may monitor the voltage of the voltage dividing device. When the voltage change of the voltage dividing device exceeds a set voltage threshold, the processor determines that the type-c connector is connected to an external device.
  • the The method also includes:
  • the processor stops monitoring whether the type-c connector is connected to an external device.
  • the processor may internally integrate other devices (for example, PMU, etc.) or modules with a monitoring function to implement the above monitoring function, or use other devices or modules with a monitoring function that are separate from the processor.
  • the monitoring function Specifically, the processor may notify the device to start or stop monitoring whether the type-c connector is connected to an external device by sending an instruction message to the device, and determine the type-c by receiving a notification message from the device.
  • the connector connects external devices.
  • the processor and the device can communicate through SSI.
  • An embodiment of the present application provides an interface configuration method.
  • the PD chip when the processor in the terminal device determines that the type-c connector is not connected to an external device, the PD chip is set to a CC pin that continuously outputs a low level.
  • a first working state when the processor determines that the type-c is connected to an external device, the PD chip is set to a second working state of a rectangular square wave in which a cc pin outputs high and low levels, so that the PD
  • the chip recognizes the external device to ensure the normal operation of the type-c interface.
  • the above solution can ensure that the type-c interface of the terminal device can be connected and recognize the normal operation of the external device.
  • the CC pin When the type-c connector is not connected to the external device, the CC pin continuously outputs a low level, thereby greatly reducing the CC.
  • the voltage difference between the pin and the GND pin can further alleviate the situation that the CC pin is corroded after the type-c interface is wet or immersed in liquid, so as to optimize the type-c interface.
  • the above interface configuration method may cause misjudgment whether the type-c connector is connected to an external device.
  • an example of an interface configuration is provided in the embodiment of this application.
  • the terminal device can reduce the misjudgment of the connection status of the type-c connector through a set fault tolerance mechanism.
  • the processing module is an SOC
  • the monitoring module includes a PMU and a voltage dividing circuit as an example.
  • the voltage dividing circuit is a voltage dividing circuit as shown in FIG. 2. Referring to FIG. 7, the process of configuring an interface on this interface includes the following steps:
  • the charging management chip is used to manage the charging of the terminal device.
  • the charging management chip sends an interrupt to the SOC to Notify the SOC to start the charging work to ensure the normal charging of the terminal device.
  • the interrupt of the charge management chip may be a Vbus_dec_in interrupt.
  • the charge management chip may be a PMU.
  • the SOC sets the PD chip in the type-c interface of the terminal device to sink mode, shields the interruption of the PD chip, and sends a start monitoring message to the PMU to notify the PMU to separately monitor the voltage dividing circuit through two ADCs.
  • the voltage changes of the two voltage-dividing devices in the device monitor whether the type-c connector is connected to an external device.
  • the PMU determines that the voltage change of the at least one voltage dividing device exceeds a set voltage threshold, it indicates that the type-c connector is connected to an external device.
  • the PMU can use the following methods to monitor the voltage change of a voltage-dividing device through any ADC:
  • the ADC samples the voltage of the voltage dividing device according to the set sampling period, and stores the collected voltage value in the PMU;
  • the PMU compares the newly sampled voltage value of the ADC with the voltage value of the last sample to determine the voltage change of the voltage-dividing device.
  • the PMU may store all voltage values of the voltage dividing device sampled by the ADC, or the PMU may save a set number of voltage values of the voltage dividing device sampled by the ADC, or the PMU may The voltage value of the voltage-dividing device is collected within a set duration (for example, 5s, 6s) that is closest to the current moment, which is not limited in this application.
  • S703 The SOC continues to determine whether an interruption to the charge management chip is received, and if so, executes S707, otherwise executes S704.
  • the SOC receives the interruption of the charge management chip, which indicates that the type-c connector may be connected to a power supply device, the SOC needs to identify the type of the device through the PD chip to ensure the normal operation of the terminal device. If the SOC does not receive the interrupt from the charge management chip, the SOC does not need to change the mode of the PD chip. Instead, the PMU continues to monitor the voltage change of the voltage-dividing device until the SOC receives the PMU and sends it when it determines that the type-c connector is connected to an external device. First news.
  • S704 The SOC determines whether the first message of the PMU is received, and if yes, executes S707, otherwise executes S705.
  • the SOC receives the first message, indicating that the type-c connector may be connected to a power supply device, the SOC needs to identify the type of the device through the PD chip to ensure the normal operation of the terminal device. If the SOC does not receive the first message, the SOC does not need to change the mode of the PD chip, but continues to monitor the voltage change of the voltage dividing device through the PMU.
  • the SOC determines that the screen of the terminal device changes from a black screen to a bright screen (that is, the screen of the terminal device is woken up).
  • the terminal device receives notifications of text messages and various applications, the terminal device receives incoming calls, and the user of the terminal device wakes up the screen by touching the screen or function keys.
  • the type-c connector of the terminal device when the type-c connector of the terminal device is connected to an external device, there may be various reasons such as misidentification of the PMU or the phone change of the voltage-dividing device not exceeding the set voltage threshold.
  • the message and / or the interruption of the charging management chip In this case, the terminal device generally has no operation response, and the user of the terminal device wakes up the screen to determine the working condition of the terminal device.
  • S706 The SOC judges whether the screen change is triggered by the user, if yes, executes S707, otherwise executes S703.
  • the SOC sends a stop monitoring message to the PMU to notify the PMU to stop monitoring the voltage change of the two voltage-dividing devices in the voltage-dividing circuit through two ADCs; adjusting the PD chip from sink mode to toggle mode and starting reception PD chip interrupt.
  • the PD chip interrupt is sent when the PD chip detects that the type-c connector is connected to an external device.
  • S708 The SOC determines whether an interrupt of the PD chip is received, and if so, executes S709; otherwise, it indicates that the type-c connector is likely not connected to an external device, and the SOC is required to execute S702 to continue setting the PD chip to sink mode.
  • the SOC can determine whether the execution of S702 needs to be postponed based on the display status of the screen: When the SOC determines that the screen of the current terminal device is bright, the SOC executes S702 after the first set time period (for example, 5s, or 10s, etc.); If it is determined that the screen of the current terminal device is a black screen, the SOC executes S702 immediately or after a second set duration. The second set duration is shorter than the first set duration.
  • the SOC obtains the information of the external device from the PD chip to identify the type of the external device, thereby performing the normal work of the terminal device.
  • S710 When the SOC receives the second message sent by the PD chip, it returns to execute S702.
  • the second message is sent after the PD chip determines that the type-c connector is not connected to an external device for a third set duration (for example, 10s) in the toggle mode. Therefore, in order to optimize the interface, the SOC needs to continue to The PD chip is set to sink mode.
  • the SOC in the terminal device can set the PD chip to sink mode when the type-c connector is not connected to an external device, and set the PD chip to toggle mode when it is determined that the type-c connector is connected to an external device.
  • the CC pin in the PD chip continuously outputs a low level, thereby greatly reducing the CC pin and GND.
  • the voltage difference between the pins can further alleviate the situation that the CC pin is corroded after the type-c interface is wet or immersed in liquid.
  • the SOC in S706 is also used to determine whether the screen is triggered by the user when the screen is woken up, and whether the SOC in S708
  • an embodiment of the present application further provides a computer program, which, when the computer program runs on a computer, causes the computer to execute the interface configuration method provided by the embodiment shown in FIG. 6 or FIG. 7.
  • an embodiment of the present application further provides a computer storage medium.
  • the computer storage medium stores a computer program, and when the computer program is executed by the computer, the computer executes the embodiment shown in FIG. 6 or FIG. 7. Provided interface configuration methods.
  • an embodiment of the present application further provides a chip for reading a computer program stored in a memory to implement the interface configuration method provided by the embodiment shown in FIG. 6 or FIG. 7.
  • an embodiment of the present application provides a chip system including a processor, which is configured to support a computer device to implement functions related to the processor in FIG. 6 or the SOC in FIG. 7.
  • the chip system further includes a memory, and the memory is configured to store programs and data necessary for the computer device.
  • the chip system can be composed of chips, and can also include chips and other discrete devices.
  • the embodiments of the present application provide an interface configuration method, terminal device, and interface.
  • the processing module in the terminal device sets the PD chip when it determines that the type-c connector is not connected to an external device. It is the first working state where the CC pin continuously outputs a low level, and when the processing module monitors the type-c through the monitoring module to connect to an external device, the PD chip is set to output a rectangular square wave of high and low level on the cc pin. A second working state, so that the PD chip recognizes the external device, thereby ensuring normal work of the type-c interface.
  • the above solution can ensure that the type-c interface of the terminal device can be connected and recognize the normal operation of the external device.
  • the CC pin When the type-c connector is not connected to the external device, the CC pin continuously outputs a low level, thereby greatly reducing the CC.
  • the voltage difference between the pin and the GND pin can further alleviate the situation that the CC pin is corroded after the type-c interface is wet or immersed in liquid, so as to optimize the type-c interface.
  • this application may be provided as a method, a system, or a computer program product. Therefore, this application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Moreover, this application may take the form of a computer program product implemented on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
  • computer-usable storage media including, but not limited to, disk storage, CD-ROM, optical storage, etc.
  • These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to work in a particular manner such that the instructions stored in the computer-readable memory produce a manufactured article including an instruction device, the instructions
  • the device implements the functions specified in one or more flowcharts and / or one or more blocks of the block diagram.
  • These computer program instructions can also be loaded on a computer or other programmable data processing device, so that a series of steps can be performed on the computer or other programmable device to produce a computer-implemented process, which can be executed on the computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more flowcharts and / or one or more blocks of the block diagrams.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Power Sources (AREA)

Abstract

L'invention concerne un procédé de configuration d'interface, un dispositif terminal et une interface pour améliorer le problème d'une broche CC d'une interface de type c dans un dispositif terminal qui est corrodé. Dans le procédé, un module de traitement dans un dispositif terminal configure, lorsqu'il est déterminé qu'un connecteur de type c n'est pas connecté à un dispositif externe, une puce PD devant être dans un premier état de fonctionnement dans lequel une broche CC délivre en continu un niveau bas, et configure, lorsque le module de traitement surveille que le connecteur de type c est connecté à un dispositif externe au moyen d'un module de surveillance, la puce PD Se trouve dans un second état de fonctionnement dans lequel la broche CC délivre une onde carrée de niveau élevé, de telle sorte que la puce PD identifie le dispositif externe, assurant ainsi le fonctionnement normal d'une interface de type-c. Selon la solution, lorsqu'un connecteur de type c n'est pas connecté à un dispositif externe, une broche CC peut être activée pour délivrer en continu un niveau bas, ce qui permet de réduire considérablement la différence de tension Entre la broche CC et une broche GND et d'atténuer davantage la corrosion de la broche CC après qu'une interface de type c soit affectée par l'humidité ou soit immergée dans un liquide.
PCT/CN2018/097815 2018-07-31 2018-07-31 Procédé de configuration d'interface, dispositif terminal et dispositif interface WO2020024116A1 (fr)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201880080710.6A CN111480152B (zh) 2018-07-31 2018-07-31 一种接口配置方法、终端设备及接口
PCT/CN2018/097815 WO2020024116A1 (fr) 2018-07-31 2018-07-31 Procédé de configuration d'interface, dispositif terminal et dispositif interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/097815 WO2020024116A1 (fr) 2018-07-31 2018-07-31 Procédé de configuration d'interface, dispositif terminal et dispositif interface

Publications (1)

Publication Number Publication Date
WO2020024116A1 true WO2020024116A1 (fr) 2020-02-06

Family

ID=69230973

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/097815 WO2020024116A1 (fr) 2018-07-31 2018-07-31 Procédé de configuration d'interface, dispositif terminal et dispositif interface

Country Status (2)

Country Link
CN (1) CN111480152B (fr)
WO (1) WO2020024116A1 (fr)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111420391A (zh) * 2020-03-04 2020-07-17 青岛小鸟看看科技有限公司 一种头戴显示系统及其空间定位方法
CN113030794A (zh) * 2021-03-02 2021-06-25 Oppo广东移动通信有限公司 设备检测方法及装置、计算机可读介质和电子设备
CN113672533A (zh) * 2021-08-03 2021-11-19 维沃移动通信有限公司 插入检测方法、装置、电子设备及存储介质

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112737034A (zh) * 2020-12-29 2021-04-30 四川长虹电器股份有限公司 低功耗锂电池充电管理驱动电路
CN114264423B (zh) * 2022-03-03 2022-07-05 荣耀终端有限公司 进液检测控制方法和电子设备
CN115904851B (zh) * 2023-01-10 2023-08-15 荣耀终端有限公司 终端设备及外接设备接入检测系统
CN116069697B (zh) * 2023-03-06 2023-08-22 荣耀终端有限公司 Type-C接口电平控制方法及相关装置
CN116962953A (zh) * 2023-09-21 2023-10-27 荣耀终端有限公司 设备连接检测电路、音频通道切换方法及电子设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180059771A1 (en) * 2016-08-25 2018-03-01 Samsung Electronics Co., Ltd. Semiconductor device and method of operating the same
CN207249664U (zh) * 2017-08-09 2018-04-17 深圳市亿道数码技术有限公司 一种基于intel kabylake平台的双type‑c接口装置
CN108268405A (zh) * 2016-12-30 2018-07-10 维沃移动通信有限公司 Type-C接口的保护电路、保护方法及移动终端
CN108337463A (zh) * 2017-07-20 2018-07-27 青岛海信电器股份有限公司 一种电视机及其usb-c接口连接外部设备的控制方法

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9146888B2 (en) * 2012-07-05 2015-09-29 Apple Inc. Techniques for monitoring contacts in a connector
US10324877B2 (en) * 2014-12-24 2019-06-18 Texas Instruments Incorporated Circuit and method for interfacing universal serial bus
US10014637B2 (en) * 2015-10-20 2018-07-03 Sony Mobile Communications Inc. Connector receptacle interfacing circuit and method of operation
US11181966B2 (en) * 2015-11-13 2021-11-23 Texas Instruments Incorporated USB interface circuit and method for low power operation
KR102628011B1 (ko) * 2016-01-29 2024-01-22 삼성전자주식회사 Usb 전력 전송 장치와 이를 포함하는 시스템
WO2017166211A1 (fr) * 2016-03-31 2017-10-05 华为技术有限公司 Élément fonctionnel de test et procédé de débogage de données
WO2017177377A1 (fr) * 2016-04-12 2017-10-19 华为技术有限公司 Procédé, appareil et système pour identifier un dispositif d'homologue par un dispositif de port usb de type c
CN106843438B (zh) * 2016-12-13 2020-05-29 硅谷数模半导体(北京)有限公司 级联通讯方法、级联电路
US10476394B2 (en) * 2016-12-28 2019-11-12 Texas Instruments Incorporated Dynamic learning of voltage source capabilities
CN108268388B (zh) * 2016-12-30 2019-12-03 维沃移动通信有限公司 一种Type-C接口保护电路及方法、移动终端
CN106844265B (zh) * 2017-02-06 2018-10-19 维沃移动通信有限公司 一种通用串行总线usb接口的控制方法及移动终端
CN207051889U (zh) * 2017-05-31 2018-02-27 珠海市魅族科技有限公司 一种终端设备

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180059771A1 (en) * 2016-08-25 2018-03-01 Samsung Electronics Co., Ltd. Semiconductor device and method of operating the same
CN108268405A (zh) * 2016-12-30 2018-07-10 维沃移动通信有限公司 Type-C接口的保护电路、保护方法及移动终端
CN108337463A (zh) * 2017-07-20 2018-07-27 青岛海信电器股份有限公司 一种电视机及其usb-c接口连接外部设备的控制方法
CN207249664U (zh) * 2017-08-09 2018-04-17 深圳市亿道数码技术有限公司 一种基于intel kabylake平台的双type‑c接口装置

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111420391A (zh) * 2020-03-04 2020-07-17 青岛小鸟看看科技有限公司 一种头戴显示系统及其空间定位方法
CN113030794A (zh) * 2021-03-02 2021-06-25 Oppo广东移动通信有限公司 设备检测方法及装置、计算机可读介质和电子设备
CN113672533A (zh) * 2021-08-03 2021-11-19 维沃移动通信有限公司 插入检测方法、装置、电子设备及存储介质

Also Published As

Publication number Publication date
CN111480152B (zh) 2022-04-22
CN111480152A (zh) 2020-07-31

Similar Documents

Publication Publication Date Title
WO2020024116A1 (fr) Procédé de configuration d'interface, dispositif terminal et dispositif interface
US9846472B2 (en) Firmware update method and power system thereof
US8769317B2 (en) USB hub for supplying power upon determination whether a USB device is chargeable according to data transfer rate of the USB device
US9866055B2 (en) Automatic scheme to detect multi-standard charger types
CN112540304B (zh) 电池电量管理方法、电子设备及计算机存储介质
JP2018206425A (ja) Type−Cコネクタサブシステムの低電力実装
WO2017152424A1 (fr) Procédé et dispositif de terminal pour établir une connexion entre des dispositifs avec une interface de type c à bus série universel usb
EP2584471A1 (fr) Procédé et terminal de sélection interne d'un circuit selon l'état de l'interface USB
US8860378B2 (en) Method and system for attachment and removal indication for battery charging devices
EP2757839A1 (fr) Procédé et appareil de gestion d'énergie d'un module d'accès réseau
US9018896B2 (en) Method and system for determining whether a portable device is charging
US8671291B2 (en) Method and device for charging energy storage devices
AU2015271399A1 (en) Super hub system and method thereof
US9639132B2 (en) Systems and methods for automatic detection of a device
US20240152192A1 (en) Charging Control Method, Electronic Device, and Charging Control System
WO2022127659A1 (fr) Procédé de protection, appareil de protection, dispositif électronique, support de stockage lisible et puce
US11947481B2 (en) Terminal and type C interface anti-corrosion method
EP3759573A1 (fr) Modes de fonctionnement d'un écran d'ordinateur
CN111830394A (zh) 充电电路故障检测方法、电子设备及计算机可读存储介质
US20220173605A1 (en) Controlling charging of computing device through ports connected to external devices
WO2017004876A1 (fr) Procédé et terminal permettant de configurer un courant de sortie
CN113934661A (zh) 一种电子设备、控制方法、装置及介质
US20230258696A1 (en) Voltage monitoring system, voltage monitoring device and voltage monitoring method
WO2022061935A1 (fr) Appareil d'alimentation électrique, procédé de commande pour un appareil d'alimentation électrique, et support de stockage

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: 18928872

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18928872

Country of ref document: EP

Kind code of ref document: A1