EP4629087A1 - Équipement terminal et système de détection d'accès à un dispositif externe - Google Patents
Équipement terminal et système de détection d'accès à un dispositif externeInfo
- Publication number
- EP4629087A1 EP4629087A1 EP23915572.4A EP23915572A EP4629087A1 EP 4629087 A1 EP4629087 A1 EP 4629087A1 EP 23915572 A EP23915572 A EP 23915572A EP 4629087 A1 EP4629087 A1 EP 4629087A1
- Authority
- EP
- European Patent Office
- Prior art keywords
- terminal
- voltage
- power supply
- processor
- external device
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/266—Arrangements to supply power to external peripherals either directly from the computer or under computer control, e.g. supply of power through the communication port, computer controlled power-strips
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/16—Constructional details or arrangements
- G06F1/1613—Constructional details or arrangements for portable computers
- G06F1/1626—Constructional details or arrangements for portable computers with a single-body enclosure integrating a flat display, e.g. Personal Digital Assistants [PDAs]
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/16—Constructional details or arrangements
- G06F1/1613—Constructional details or arrangements for portable computers
- G06F1/1632—External expansion units, e.g. docking stations
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/16—Constructional details or arrangements
- G06F1/1613—Constructional details or arrangements for portable computers
- G06F1/1633—Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
- G06F1/1662—Details related to the integrated keyboard
- G06F1/1669—Detachable keyboards
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02E—REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
- Y02E60/00—Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
- Y02E60/10—Energy storage using batteries
Definitions
- a terminal device In response to the development of terminal technologies, a terminal device usually has a pogo pin connector.
- the terminal device may be connected to another device (for example, a keyboard having the pogo pin connector) through the pogo pin connector, and supply power for the another device or communicate with the another device through the pogo pin connector.
- the terminal device is provided with a Hall element, and a soft circuit board of the Hall element is mounted at a position of the pogo pin connector.
- the Hall element may detect a change in a magnetic field, and send an interrupt signal to a processor of the terminal device.
- the processor determines keyboard connection based on a received interrupt signal.
- Embodiments of this application provide a terminal device and a system for detecting connection of an external device, so as to determine that an external device is connected to the terminal device when a voltage difference exists between two terminals of a first element, thereby improving accuracy for detecting connection of the external device.
- an embodiment of this application provides a terminal device, including a power supply module, a first element, a pogo pin connector, and a processor, where the first element is an element having a resistance value less than a specific value.
- the power supply module includes a positive connection terminal and a negative connection terminal.
- the pogo pin connector includes a positive pin and a negative pin.
- the first element is connected to a path between the positive connection terminal and the positive pin, or the first element is connected to a path between the negative connection terminal and the negative pin.
- the processor is configured to determine that an external device is connected to the terminal device when detecting that a voltage difference exists between two terminals of the first element.
- the processor can determine that the external device is connected to the terminal device without arranging a Hall element in the terminal device based on a detected voltage difference between the two terminals of the first element.
- a magnet of the external device is not required to be precisely placed at a position of a soft circuit board of the Hall element, thereby improving a case in which the terminal device does not detect keyboard connection, and improving accuracy of detection of the external device connection.
- the terminal device further includes a protection circuit and a voltage comparison unit, where one terminal of the protection circuit is connected to one terminal of the first element, an other terminal of the protection circuit is connected to a first terminal of the voltage comparison unit, a second terminal of the voltage comparison unit is connected to an other terminal of the first element, and a third terminal of the voltage comparison unit is connected to the processor;
- the voltage comparison unit is configured to detect a voltage difference between the two terminals of the first element, and send a first signal to the processor when detecting the voltage difference existing between the two terminals of the first element;
- the processor is specifically configured to determine that the external device is connected to the terminal device when receiving the first signal.
- elements in the circuit may be protected through the protection circuit, and a voltage difference existing between the two terminals of the first element is detected through the voltage comparison unit, and the first signal is sent to the processor.
- the processor of the terminal device can determine that the external device is connected to the terminal device based on the received first signal of the voltage comparison unit, thereby further improving accuracy for detecting connection of the external device.
- the voltage comparison unit includes a voltage comparator or an analog-to-digital converter ADC chip. In this way, whether the voltage difference exists between two terminals of the first element may be detected through the voltage comparator or the ADC chip, which can improve accuracy of detection of the voltage difference between the two terminals of the first element.
- the terminal device further includes the protection circuit, where one terminal of the protection circuit is connected to one terminal of the first element, an other terminal of the protection circuit is connected to a first input terminal of the processor, and a second input terminal of the processor is connected to an other terminal of the first element; and the processor is specifically configured to detect the voltage difference between the two terminals of the first element, and determine that an external device is connected to the terminal device when detecting that a voltage difference exists between two terminals of the first element. In this way, the voltage difference existing between the two terminals of the first element may be detected through the processor, and another element does not need to detect the voltage difference existing between the two terminals of the first element, thereby reducing costs of the terminal device.
- the method further includes: when detecting a voltage difference existing between two terminals of the first element, a voltage comparison unit sends a first signal to the processor; and when receiving the first signal, the processor determines that the external device is connected to the terminal device.
- the voltage comparison unit includes an ADC chip.
- the method further includes: when detecting a voltage difference existing between two terminals of the first element, the ADC chip sends an ADC signal to the processor; and when receiving the ADC signal, the processor determines that the external device is connected to the terminal device.
- the keyboard when the keyboard is connected to the terminal device through the pogo pin connector, the keyboard sends a heartbeat packet to the processor of the terminal device at regular intervals.
- the processor of the terminal device determines that the keyboard is connected to the terminal device based on the received heartbeat packet, communicates with the keyboard, and may further control the power supply of the terminal device to supply power to the keyboard.
- the processor of the terminal device can determine an external state of the keyboard based on the received heartbeat packet.
- the controller may generate an operation control signal based on instruction operation code and a timing signal, and control obtaining and executing of instructions. For example, in this embodiment of this application, when detecting the voltage difference existing between two terminals of the first element, the processor may control the power supply module to use a larger voltage value to supply power to the external device, or control to use a power supply module with a larger voltage value to supply power to the external device.
- the processor 110 may be integrated with a function of the ADC chip, and may be configured to detect whether a voltage difference exists between two terminals of a circuit element. For example, in this embodiment of this application, when detecting the voltage difference existing between two terminals of the first element, the processor 110 can determine that the external device is connected to the terminal device.
- the processor 110 may include one or more interfaces.
- the interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit sound (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver/transmitter (universal asynchronous receiver/transmitter, UART) interface, a mobile industry processor interface (mobile industry processor interface, MIPI), a general-purpose input/output (general-purpose input/output, GPIO) interface, a subscriber identity module (subscriber identity module, SIM) interface, a universal serial bus (universal serial bus, USB) interface, and/or the like.
- I2C integrated circuit
- I2S integrated circuit sound
- PCM pulse code modulation
- PCM pulse code modulation
- UART universal asynchronous receiver/transmitter
- MIPI mobile industry processor interface
- GPIO general-purpose input/output
- SIM subscriber identity module
- USB universal serial bus
- the I2C interface is a bidirectional synchronous serial bus and includes a serial data line (serial data line, SDA) and a serial clock line (serial clock line, SCL).
- SDA serial data line
- SCL serial clock line
- the MIPI interface may be configured to connect the processor 110 to a peripheral device such as the display 194 or the camera 193.
- the MIPI interface includes a camera serial interface (camera serial interface, CSI), a display serial interface (display serial interface, DSI), and the like.
- the processor 110 communicates with the camera 193 through the CSI interface, to implement a photographing function of the electronic device 100.
- the processor 110 communicates with the display 194 through the DSI interface, to implement a display function of the electronic device 100.
- the power management module 141 may include a first element, a protection circuit, and a voltage comparator.
- a connection manner between the first element and the pogo pin connector reference is made to FIG. 3 to FIG. 8 below.
- the protection circuit, and the voltage comparator reference is made to FIG. 6 below.
- the voltage comparator may be configured to detect whether the voltage difference exists between two terminals of the first element, and send a level signal to the processor 110 when detecting the voltage difference existing between two terminals of the first element, so that the processor 110 can determine that the external device is connected based on the level signal.
- FIG. 2 is a schematic diagram of a use scenario of a terminal device.
- the terminal device is a tablet computer and the external device is a keyboard, and this does not constitute any limitation.
- the tablet computer 201 may use a battery to supply power to the keyboard 202 through the positive pin and the negative pin of the pogo pin connector, and may use a processor to communicate with the keyboard 202 through a communication pin of the pogo pin connector.
- the power supply module, the first element, and the external device form a path, and a voltage difference exists between two terminals of the first element.
- the first input terminal and the second input terminal of the processor respectively obtain a voltage value between the two terminals of the first element, and compare the two collected voltage values, to determine whether the voltage difference exists between the two terminals of the first element.
- the processor can determine that an external device is connected to the terminal device.
- the power supply module may be configured to supply power to the external device through the pogo pin connector.
- the processor may further be connected to the communication pin of the pogo pin connector (not shown in FIG. 3 ).
- the processor may communicate with the external device through the communication pin of the pogo pin connector.
- the processor of the tablet computer may communicate with a keyboard through the communication pin of the connector, and receive text inputted by the keyboard.
- the protection circuit in the terminal device, a case in which damage of an element in the circuit may be reduced, and a service life of the element in the circuit can be prolonged.
- the processor determines that the external device is connected to the terminal device, thereby improving accuracy of detection of the external device connection. Compared with a Hall element, costs of the circuit are reduced.
- a connection manner of the protection circuit, the voltage comparison unit, and the processor may further include the following.
- One terminal of the protection circuit is connected to one terminal of the first element connected to the positive connection terminal of the power supply module, the other terminal of the protection circuit is connected to the first terminal of the voltage comparison unit, the second terminal of the voltage comparison unit is connected to one terminal of the first element connected to the positive pin of the pogo pin connector, and the third terminal of the voltage comparison unit is connected to the processor.
- a connection manner of the power supply module, the first element, and the pogo pin connector may further include the following.
- the first element may further be connected between the negative connection terminal of the power supply module and the negative pin of the pogo pin connector, and the positive connection terminal of the power supply module is connected to the positive pin of the pogo pin connector.
- the first element may further be connected between the negative connection terminal of the power supply module and the negative pin of the pogo pin connector.
- a connection manner of the protection circuit, the voltage comparison unit, and the processor may include the following.
- One terminal of the protection circuit is connected to one terminal of the first element connected to the negative connection terminal of the power supply module, the other terminal of the protection circuit is connected to the first terminal of the voltage comparison unit, the second terminal of the voltage comparison unit is connected to one terminal of the first element connected to the negative pin of the pogo pin connector, and the third terminal of the voltage comparison unit is connected to the processor.
- one terminal of the protection circuit is connected to one terminal of the first element connected to the negative pin of the pogo pin connector, the other terminal of the protection circuit is connected to the first terminal of the voltage comparison unit, the second terminal of the voltage comparison unit is connected to one terminal of the first element connected to the negative connection terminal of the power supply module, and the third terminal of the voltage comparison unit is connected to the processor.
- the power supply module, the first element, and the external device form a path, and a voltage difference exists between two terminals of the first element.
- the voltage comparison unit may collect voltage values of the two terminals of the first element, and compare the two collected voltage values, to determine whether the voltage difference exists between two terminals of the first element.
- the voltage comparison unit may send a first signal to the processor.
- the processor can determine that the external device is connected to the terminal device.
- the level signal sent by the voltage comparator to the processor may be a high-level signal or a low-level signal.
- the level signal sent by the voltage comparator is related to a connection manner of a positive input terminal and a negative input terminal of the voltage comparator in the circuit. This is not limited in this embodiment of this application.
- the positive input terminal of the voltage comparator is one terminal of the first element connected to a positive connection terminal of the power supply module, and the negative input terminal is one terminal connected to a voltage protector, a voltage at the positive input terminal is higher than a voltage at the negative input terminal, and the voltage comparator may output the high-level signal.
- the voltage difference between the two terminals of the first element may be detected through the voltage comparator, so that accuracy of the detected voltage difference is relatively high, thereby further improving accuracy of detection of device connection.
- FIG. 7 is a schematic diagram of a circuit for detecting connection of an external device including an ADC chip.
- the terminal device may include a power supply module, a first element, a pogo pin connector, a protection circuit, an ADC chip, and a processor.
- a circuit shown in FIG. 7 may be a circuit obtained by replacing a voltage comparison unit with the ADC chip.
- the power supply module, the first element, and the external device form a path, and a voltage difference exists between two terminals of the first element.
- the ADC chip may collect the voltage difference between the two terminals of the first element, and compare the two collected voltage differences, to determine whether the voltage difference exists between two terminals of the first element.
- the ADC chip sends an ADC signal to the processor.
- the processor can determine that the external device is connected to the terminal device.
- the ADC signal sent by the ADC chip to the processor is a digital signal.
- the ADC signal is not specifically limited in this embodiment of this application.
- the first element may include any of the following elements: a diode, a reed switch, a magneto-sensitive diode, and a magneto-sensitive switch.
- the first element may be a diode, and the diode may be connected between a positive connection terminal of the power supply module and a positive pin of the pogo pin connector.
- the diode may also be connected between a negative connection terminal of the power supply module and a negative pin of the pogo pin connector.
- a specific connection manner may be as follows.
- a positive terminal of the diode is connected to the positive connection terminal of the power supply module, and a negative terminal of the diode is connected to the positive pin of the pogo pin connector.
- a specific connection manner may be as follows. The positive terminal of the diode is connected to the negative pin of the pogo pin connector, and the negative terminal of the diode is connected to the negative connection terminal of the power supply module.
- a position of the diode in the circuit is not limited in this embodiment of this application.
- the first element may be the reed switch, and the reed switch may be connected between a positive connection terminal of the power supply module and a positive pin of the pogo pin connector.
- the reed switch may alternatively be connected between the negative pin of the pogo pin connector and the negative connection terminal of the power supply module.
- a position of the reed switch in the circuit is not limited in this embodiment of this application.
- the external device may be provided with a magnet, so that a connection between the external device and the terminal device is more stable.
- the external device and the terminal device are connected through the pogo pin connector, the external device may be attracted to the terminal device through the magnet.
- the reed switch senses a magnetic field generated by the magnet, and changes from an open state to a closed state. In this way, the power supply module, the reed switch, and the external device form a path.
- the processor can determine that the external device is connected to the terminal device. For a process in which the processor determines that the external device is connected to the terminal device, reference may be made to related descriptions of FIG. 3 to FIG. 7 . Details are not described herein again.
- a specific connection manner may be as follows. A positive terminal of the magneto-sensitive diode is connected to the positive connection terminal of the power supply module, and a negative terminal of the magneto-sensitive diode is connected to the positive pin of the pogo pin connector.
- a specific connection manner may be as follows. The positive terminal of the magneto-sensitive diode is connected to the negative pin of the pogo pin connector, and the negative terminal of the magneto-sensitive diode is connected to the negative connection terminal of the power supply module.
- a position of the magneto-sensitive diode in the circuit is not limited in this embodiment of this application.
- the external device may be provided with a magnet, so that a connection between the external device and the terminal device is more stable.
- the external device and the terminal device are connected through the pogo pin connector, the external device may be attracted to the terminal device through the magnet, and a path is formed by the power supply module, the magneto-sensitive diode, and the external device.
- the processor can determine that the external device is connected to the terminal device. For a process in which the processor determines that the external device is connected to the terminal device, reference may be made to related descriptions of FIG. 3 to FIG. 7 . Details are not described herein again.
- the magneto-sensitive diode may sense a change of the magnetic field generated by the magnet, and reduce a resistance value of the magneto-sensitive diode, so that the magneto-sensitive diode consumes less electrical energy.
- the first element may be a magneto-sensitive switch
- the magneto-sensitive switch may be connected between a positive connection terminal of the power supply module and the positive pin of the pogo pin connector.
- the magneto-sensitive switch may also be connected between the negative pin of the pogo pin connector and the negative connection terminal of the power supply module.
- a position of the magneto-sensitive switch in the circuit is not limited in this embodiment of this application.
- the external device may be provided with a magnet, so that a connection between the external device and the terminal device is more stable.
- the external device and the terminal device are connected through the pogo pin connector, the external device may be attracted to the terminal device through the magnet, and the magneto-sensitive switch senses the magnetic field generated by the magnet, and changes from an open state to a closed state.
- the power supply module, the magneto-sensitive switch, and the external device form a path.
- the processor can determine that the external device is connected to the terminal device. For a process in which the processor determines that the external device is connected to the terminal device, reference may be made to related descriptions of FIG. 3 to FIG. 7 . Details are not described herein again.
- the first element may further include another element having a resistance value less than a specific value.
- the first element includes any one of the diode, the reed switch, the magneto-sensitive diode, and the magneto-sensitive switch.
- a pin of the pogo pin connector may be exposed to the air.
- a pin of a charged pogo pin connector may be subject to corrosion when exposed to the air, thereby affecting a service life of the pogo pin connector.
- the processor may reduce a voltage value outputted by the terminal device through the pin of the pogo pin connector when the external device is disconnected from the terminal device.
- a power supply of the terminal device may output a relatively small voltage.
- a processor of the terminal device may control the power supply of the terminal device to output a relatively large voltage.
- a voltage outputted by the power supply module may be a first voltage value.
- the processor may control the voltage outputted by the power supply module to increase from the first voltage value to a second voltage value.
- the first voltage value outputted by the power supply module is greater than a turn-on voltage of the diode.
- the first voltage value outputted by the power supply module may enable the diode to be in a turn-on state.
- the power supply module, the first element, and the external device form a path, so that a voltage difference exists between two terminals of the diode.
- the processor may control the voltage outputted by the power supply module to decrease from the second voltage value to the first voltage value.
- a process in which the processor detects that no voltage difference exists between two terminals of the first element is similar to a process in which the processor detects that the voltage difference exists between two terminals of the first element. Details are not described herein again.
- FIG. 8 is a schematic diagram of a circuit for detecting connection of an external device including a first power supply module and a second power supply module according to an embodiment of this application.
- a terminal device may include a first power supply module, a second power supply module, a first switch, a second switch, a first element, a pogo pin connector, a protection circuit, a voltage comparison unit, and a processor.
- the first power supply module includes a first positive connection terminal and a first negative connection terminal
- the second power supply module includes a second positive connection terminal and a second negative connection terminal.
- the first switch is connected between the first positive connection terminal of the first power supply module and the first element
- the second switch is connected between the second positive connection terminal of the second power supply module and the first element.
- the first switch may further be connected between the first negative connection terminal of the first power supply module and a negative pin of the pogo pin connector
- the second switch may further be connected between the second negative connection terminal of the second power supply module and the negative pin of the pogo pin connector. Positions of the first switch and the second switch in the circuit are not limited in this embodiment of this application.
- the first switch and the second switch are in communication connection with the processor (not shown in FIG. 8 ).
- a connection manner of the first element, the pogo pin connector, the protection circuit, the voltage comparison unit, and the processor in FIG. 8 is the same as that in FIG. 5 . Details are not described herein again.
- the first switch when the external device is not connected to the terminal device, the first switch may be in an open state, and the second switch may be in a closed state.
- the first power supply module, the first element, and the external device may form a path.
- the processor can determine that the external device is connected to the terminal device based on a detected voltage difference existing between the two terminals of the first element.
- the processor of the terminal device may control states of the first switch and the second switch, to switch a path on which the first element is located.
- the processor may control the first switch to be in the closed state and control the second switch to be in the open state, so that the first element is switched from being connected to a path between the first positive connection terminal of the first power supply module and a positive pin to being connected to a path between the second positive connection terminal of the second power supply module and a positive pin.
- the terminal device may supply power to the external device through the second power supply module having a relatively large output voltage value.
- the first element may further be connected between the first negative connection terminal of the first power supply module and the negative pin of the pogo pin connector.
- the processor may control the first switch to be in the closed state and control the second switch to be in the open state, so that the first element is switched from being connected to a path between the first negative connection terminal of the first power supply module and a negative pin to being connected to a path between the second negative connection terminal of the second power supply module and a negative pin.
- the first power supply module and the second power supply module may be applied to any one of the circuits shown in FIG. 3 to FIG. 8 .
- a description is provided by using an example in which the first power supply module and the second power supply module are applied to the circuit shown in FIG. 5 , and this does not constitute any limitation.
- the voltage comparison unit detects that no voltage difference exists between two terminals of the first element and sends a second signal to the processor.
- the processor controls the first switch to be in the open state and controls the second switch to be in the closed state based on the received second signal.
- a voltage outputted by the first power supply module needs to be greater than a turn-on voltage of the diode.
- the voltage outputted by the first power supply module may enable the diode to be in a turn-on state.
- the first power supply module, the first element, and the external device may form a path, so that a voltage difference exists between two terminals of the diode.
- FIG. 9 is a schematic diagram of a circuit for detecting disconnection of an external device from a terminal device according to an embodiment of this application.
- the terminal device may include a power supply module, a first element, a pogo pin connector, and a processor.
- a communication pin of the pogo pin connector is connected to the processor.
- the processor may detect that the external device is connected to the terminal device through the communication pin of the pogo pin connector, and control the power supply module to output a voltage to supply power to the external device.
- the processor may accurately determine that the external device is disconnected from the terminal device, and control the power supply module not to output a voltage, so that a pin of the pogo pin connector is not easily corroded.
- An embodiment of this application further provides a method for detecting connection of an external device. The method is applied to the terminal device in the foregoing embodiments.
- the method further includes the following.
- a processor of the terminal device determines that the external device is connected to the terminal device.
- FIG. 3 Details are not described herein again.
- the method for detecting connection of an external device may further include the following.
- a voltage comparison unit When detecting a voltage difference existing between two terminals of the first element, a voltage comparison unit sends a first signal to the processor; and when receiving the first signal, the processor determines that the external device is connected to the terminal device.
- FIG. 5 For a circuit of a corresponding terminal device when the method is implemented, reference may be made to FIG. 5 . Details are not described herein again.
- FIG. 10 is a schematic diagram of a hardware structure of another terminal device according to an embodiment of this application.
- the terminal device may include a processor 1001, a communication line 1004, and at least one communication interface (a communication interface 1003 is used as an example for description in FIG. 10 ).
- the communication interface 1003 is an apparatus of any transceiver type, and is configured to communicate with another device or a communication network, such as the Ethernet or a wireless local area network (wireless local area networks, WLAN).
- a communication network such as the Ethernet or a wireless local area network (wireless local area networks, WLAN).
- the memory 1002 is configured to store computer-executable instructions for executing the solutions of this application, and the processor 1001 controls execution.
- the processor 1001 is configured to execute the computer-executable instructions stored in the memory 1002. For example, in this embodiment of this application, when detecting a voltage difference existing between two terminals of the first element, the processor 1001 can determine that the external device is connected to the terminal device.
- the processor 1001 may include one or more CPUs, for example, a CPU 0 and a CPU 1 in FIG. 10 .
- the terminal device may include one or more processors, for example, a processor 1001 and a processor 1005 in FIG. 10 .
- processors may be a single-core (single-CPU) processor, or may be a multi-core (multi-CPU) processor.
- the processor herein may be one or more devices, circuits, and/or processing cores configured to process data (for example, a computer program instruction).
- FIG. 11 is a schematic structural diagram of a chip according to an embodiment of this application.
- a chip 110 includes one or at least two (including two) processors 111, a communication line 112, a communication interface 113, and a memory 114.
- a memory 114 stores the following elements: an executable module, a data structure, or a subset thereof, or an extended set thereof.
- the foregoing method described in embodiments of this application is applicable to the processor 111 or may be implemented by the processor 111.
- the processor 111 may be an integrated circuit chip and has a signal processing capability. During implementation, each step of the foregoing method may be completed through an integrated logic circuit of hardware in the processor 111 or an instruction in the form of software.
- the foregoing processor 111 may be a general-purpose processor, (for example, a microprocessor or a conventional processor), a digital signal processor (digital signal processing, DSP), an application specific integrated circuit (application specific integrated circuit, ASIC), a field-programmable gate array (field-programmable gate array, FPGA) or another programmable logic device, a discrete gate, a transistor logic device, or a discrete hardware component.
- the processor 111, the memory 114, and the communication interface 113 may communicate with each other through the communication line 112.
- the instructions executed by the processor stored in the memory may be implemented in a form of a computer program product.
- the computer program product may be pre-written into the memory, or may be downloaded and installed in the memory in the form of software.
- An embodiment of this application further provides a computer program product including one or more computer instructions.
- the computer may be a general-purpose computer, a dedicated computer, a computer network, or another programmable apparatus.
- the computer instructions may be stored in a computer-readable storage medium or may be transmitted from a computer-readable storage medium to another computer-readable storage medium.
- the computer instructions may be transmitted from a website, a computer, server, or a data center to another website, computer, server, or data center in a wired (for example, a coaxial cable, an optical fiber, or a digital subscriber line (digital subscriber line, DSL)) or wireless (for example, infrared, radio, or microwave) manner.
- the computer-readable storage medium may be any usable medium that may be stored by the computer, or may be a data storage device, such as a server or a data center, integrating one or more usable media.
- the usable medium may include a magnetic medium (such as a floppy disk, a hard disk, or a magnetic tape), an optical medium (such as a digital versatile disc (digital versatile disc, DVD)), a semi-conductive medium (such as a solid state disk (solid state disk, SSD)), and the like.
- a magnetic medium such as a floppy disk, a hard disk, or a magnetic tape
- an optical medium such as a digital versatile disc (digital versatile disc, DVD)
- a semi-conductive medium such as a solid state disk (solid state disk, SSD)
- An embodiment of this application further provides a computer-readable storage medium.
- the computer-readable medium may include a computer storage medium and a communication medium, and may further include any medium that can send a computer program from one place to another.
- the storage medium may be any target medium accessible to a computer.
- the computer-readable storage medium may include a compact disc read-only memory (compact disc read-only memory, CD-ROM), a RAM, a ROM, an EEPROM, or another optical disc memory.
- the computer-readable medium may include a magnetic disk memory or another magnetic disk storage device.
- any connection line may also be appropriately referred to as a computer-readable medium.
- the coaxial cable, the optical fiber cable, the twisted pair, the DSL or the wireless technologies such as infrared ray, radio, and microwave
- the coaxial cable, the optical fiber cable, the twisted pair, the DSL or the wireless technologies such as infrared ray, radio, and microwave
- the magnetic disk and the optical disc used herein include a compact disc (CD), a laser disc, an optical disc, a digital versatile disc (digital versatile disc, DVD), a floppy disk, and a Blu-ray disc.
- the magnetic disk generally reproduces data in a magnetic manner, and the optical disc reproduces data optically by using a laser.
- an embodiment of this application further provides a system for detecting connection of an external device.
- the system for detecting connection of an external device includes an external device and the terminal device.
- the external device and the terminal device may be connected through a pogo pin connector, and the terminal device may supply power to the external device through the pogo pin connector.
- the external device may be a keyboard, or another device.
- the terminal device may be a tablet computer, or may be another device.
- the terminal device when the external device is connected to the terminal device through the pogo pin connector, the terminal device can determine that the external device is connected to the terminal device, and may use a power supply module in the terminal device to supply power to the external device through connection of the pogo pin connector.
- a power supply module in the terminal device to supply power to the external device through connection of the pogo pin connector.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Quality & Reliability (AREA)
- Power Sources (AREA)
- Measuring Magnetic Variables (AREA)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310030001.XA CN115904851B (zh) | 2023-01-10 | 2023-01-10 | 终端设备及外接设备接入检测系统 |
| PCT/CN2023/112370 WO2024148811A1 (fr) | 2023-01-10 | 2023-08-10 | Équipement terminal et système de détection d'accès à un dispositif externe |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| EP4629087A1 true EP4629087A1 (fr) | 2025-10-08 |
| EP4629087A4 EP4629087A4 (fr) | 2026-02-25 |
Family
ID=86471317
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| EP23915572.4A Pending EP4629087A4 (fr) | 2023-01-10 | 2023-08-10 | Équipement terminal et système de détection d'accès à un dispositif externe |
Country Status (3)
| Country | Link |
|---|---|
| EP (1) | EP4629087A4 (fr) |
| CN (2) | CN117234815B (fr) |
| WO (1) | WO2024148811A1 (fr) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN117234815B (zh) * | 2023-01-10 | 2024-08-13 | 荣耀终端有限公司 | 终端设备及外接设备接入检测系统 |
Family Cites Families (18)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6262580B1 (en) * | 1999-10-14 | 2001-07-17 | United Microelectronics Corp | Method and testing system for measuring contact resistance for pin of integrated circuit |
| TWI545441B (zh) * | 2014-02-17 | 2016-08-11 | 廣達電腦股份有限公司 | 電腦系統及其通用序列匯流排裝置的偵測方法 |
| CN105515148B (zh) * | 2015-12-03 | 2017-12-22 | 中国联合网络通信集团有限公司 | 一种射频拉远单元、断电告警方法及基站 |
| US10079499B2 (en) * | 2016-03-17 | 2018-09-18 | Qualcomm Incorporated | Type-C factory and special operating mode support |
| CN108281991A (zh) * | 2017-01-06 | 2018-07-13 | 中兴通讯股份有限公司 | 一种线路保护电路、方法及供电线缆 |
| WO2020024116A1 (fr) * | 2018-07-31 | 2020-02-06 | 华为技术有限公司 | Procédé de configuration d'interface, dispositif terminal et dispositif interface |
| CN109604869B (zh) * | 2018-12-19 | 2020-08-14 | 上海广为焊接设备有限公司 | 焊接装置外接附件设备识别装置及其方法 |
| KR102609837B1 (ko) * | 2019-04-04 | 2023-12-05 | 삼성전자 주식회사 | 전원 라인을 통해 외부 장치와 통신할 수 있는 전자 장치 및 방법 |
| CN110620411B (zh) * | 2019-09-16 | 2026-01-27 | 努比亚技术有限公司 | 可穿戴设备及其充电连接检测方法 |
| CN210832714U (zh) * | 2019-10-14 | 2020-06-23 | 深圳和而泰小家电智能科技有限公司 | 一种化霜电路及制冷设备 |
| CN110890883B (zh) * | 2019-12-13 | 2024-11-26 | 深圳市嘉昱机电有限公司 | 一种红外光电开关信号的转换装置及系统 |
| CN210723427U (zh) * | 2019-12-23 | 2020-06-09 | 西安Tcl软件开发有限公司 | 连接装置、用户终端及充电系统 |
| CN113329285B (zh) * | 2020-02-28 | 2023-03-31 | Oppo广东移动通信有限公司 | 一种耳机盒和无线耳机 |
| CN212910129U (zh) * | 2020-07-10 | 2021-04-06 | 顺微电子科技(上海)有限公司 | 一种外接负载工作指示电路 |
| CN112290640B (zh) * | 2020-11-11 | 2022-09-02 | 维沃移动通信有限公司 | 一种充电接口电路和电子设备 |
| CN113535622B (zh) * | 2021-06-04 | 2024-12-10 | 浙江大华技术股份有限公司 | 供电切换系统、usb插座和电子设备 |
| CN115525099B (zh) * | 2022-01-11 | 2023-08-11 | 荣耀终端有限公司 | 一种终端设备及检测键盘接入的方法 |
| CN117234815B (zh) * | 2023-01-10 | 2024-08-13 | 荣耀终端有限公司 | 终端设备及外接设备接入检测系统 |
-
2023
- 2023-01-10 CN CN202310962345.4A patent/CN117234815B/zh active Active
- 2023-01-10 CN CN202310030001.XA patent/CN115904851B/zh active Active
- 2023-08-10 WO PCT/CN2023/112370 patent/WO2024148811A1/fr not_active Ceased
- 2023-08-10 EP EP23915572.4A patent/EP4629087A4/fr active Pending
Also Published As
| Publication number | Publication date |
|---|---|
| CN115904851B (zh) | 2023-08-15 |
| CN117234815B (zh) | 2024-08-13 |
| CN117234815A (zh) | 2023-12-15 |
| WO2024148811A1 (fr) | 2024-07-18 |
| CN115904851A (zh) | 2023-04-04 |
| WO2024148811A9 (fr) | 2024-09-19 |
| EP4629087A4 (fr) | 2026-02-25 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US20200195019A1 (en) | Electronic device, method of controlling charging by electronic device, and method of supplying power by power supply device | |
| EP4199304B1 (fr) | Procédé de détection d'impédance pour câble de charge, dispositif électronique et dispositif d'alimentation en puissance | |
| CN111433756B (zh) | 一种终端及Type C接口防腐蚀方法 | |
| EP2784901B1 (fr) | Chargeurs de bus de série universel et procédés de gestion de charge | |
| EP4629087A1 (fr) | Équipement terminal et système de détection d'accès à un dispositif externe | |
| CN115513571B (zh) | 电池温度的控制方法和终端设备 | |
| CN113489079B (zh) | 终端设备和充电系统 | |
| CN107277906B (zh) | 模式选择方法、装置、终端及计算机可读存储介质 | |
| CN107291213B (zh) | 模式选择方法、装置、终端及计算机可读存储介质 | |
| CN116799890A (zh) | 一种充电方法及相关装置 | |
| CN116679235A (zh) | 一种电子器件的漏电检测方法、电子设备及存储介质 | |
| CN116069697B (zh) | Type-C接口电平控制方法及相关装置 | |
| CN116315185B (zh) | 电子设备及电池管理方法 | |
| US12487699B2 (en) | Method for calculating position information in touchscreen and electronic device | |
| CN111384754B (zh) | 充电方法、装置、存储介质及移动终端 | |
| CN113541214B (zh) | 充电控制方法及充电控制装置 | |
| CN116107411B (zh) | 开机方法及相关装置 | |
| CN116707048A (zh) | 一种基于otg的充电控制方法及相关装置 | |
| CN117155126B (zh) | 终端设备及控制方法 | |
| EP4531231A1 (fr) | Dispositif terminal et procédé de commande de charge | |
| CN116501534B (zh) | 充电异常管理方法及相关装置 | |
| CN118606244B (zh) | 一种设备识别装置、方法及电子设备 | |
| CN106325453A (zh) | 一种输出电流的配置方法及终端 | |
| EP4661241A1 (fr) | Procédé et système de commutation de fonction de source d'alimentation, et dispositif électronique | |
| KR20150049221A (ko) | 배터리 충전 제어 방법 및 그 전자 장치 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: THE INTERNATIONAL PUBLICATION HAS BEEN MADE |
|
| PUAI | Public reference made under article 153(3) epc to a published international application that has entered the european phase |
Free format text: ORIGINAL CODE: 0009012 |
|
| STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: REQUEST FOR EXAMINATION WAS MADE |
|
| 17P | Request for examination filed |
Effective date: 20250630 |
|
| AK | Designated contracting states |
Kind code of ref document: A1 Designated state(s): AL AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC ME MK MT NL NO PL PT RO RS SE SI SK SM TR |
|
| A4 | Supplementary search report drawn up and despatched |
Effective date: 20260127 |
|
| RIC1 | Information provided on ipc code assigned before grant |
Ipc: G06F 11/22 20060101AFI20260121BHEP |
|
| DAV | Request for validation of the european patent (deleted) | ||
| DAX | Request for extension of the european patent (deleted) |