CN118012791A - Electronic equipment, connection detection method and equipment connection system - Google Patents
Electronic equipment, connection detection method and equipment connection system Download PDFInfo
- Publication number
- CN118012791A CN118012791A CN202410108705.9A CN202410108705A CN118012791A CN 118012791 A CN118012791 A CN 118012791A CN 202410108705 A CN202410108705 A CN 202410108705A CN 118012791 A CN118012791 A CN 118012791A
- Authority
- CN
- China
- Prior art keywords
- port
- resistor
- electronic device
- auxiliary
- equipment
- 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
- 238000001514 detection method Methods 0.000 title claims abstract description 43
- 238000004891 communication Methods 0.000 claims abstract description 53
- 230000008859 change Effects 0.000 claims description 32
- 230000005540 biological transmission Effects 0.000 claims description 22
- 238000000034 method Methods 0.000 claims description 17
- 230000004044 response Effects 0.000 claims description 16
- 230000002452 interceptive effect Effects 0.000 claims description 5
- 238000010586 diagram Methods 0.000 description 11
- 238000004590 computer program Methods 0.000 description 3
- 230000003993 interaction Effects 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 239000000523 sample Substances 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000001953 sensory effect Effects 0.000 description 1
- 238000001179 sorption measurement Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/10—Program control for peripheral devices
- G06F13/12—Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor
- G06F13/122—Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor where hardware performs an I/O function other than control of data transfer
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/40—Bus structure
- G06F13/4063—Device-to-bus coupling
- G06F13/4068—Electrical coupling
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
- G06F13/4282—Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
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
The application provides electronic equipment, a connection detection method and an equipment connection system; the electronic device includes: a communication unit including a first port and a second port shorted to connect with an auxiliary device through a single line, the first port and the second port configurable to satisfy a serial communication interface protocol, the single line being used for half-duplex communication with the auxiliary device; a circuit unit comprising: one end of the first resistor is connected with a power supply, and the other end of the first resistor can be connected with the first port and the second port; one end of the second resistor is connected with the ground, and the other end of the second resistor can be connected with the first port and the second port; and the control unit is used for controlling the first resistor and the second resistor in the circuit unit to be selectively conducted with the first port so as to determine the connection state between the electronic equipment and the auxiliary equipment according to the level signal of the first port.
Description
Technical Field
The present application relates to a device connection technology, and in particular, to an electronic device, a connection detection method, and a device connection system.
Background
The current electronic device and other auxiliary devices can be connected through a single wire, and the connection state of the electronic device and the auxiliary devices can be detected currently by adding an additional sensor or sending a heartbeat packet to the auxiliary devices. But the sensor is additionally added, so that the detection cost is increased, and meanwhile, the problem of lower detection accuracy exists when the electronic equipment is used for detecting the connection state of the electronic equipment and the auxiliary equipment at present. For example, a connection state error may occur when the auxiliary device is plugged in and plugged out quickly. For example, when the electronic device is disconnected from the auxiliary device, the problem of the short-distance disconnection of the electronic device from the auxiliary device cannot be accurately detected.
Disclosure of Invention
The embodiment of the application provides electronic equipment, a connection detection method and an equipment connection system. To address one or more of the problems described above.
According to a first aspect of the present application, there is provided an electronic device comprising: a communication unit including a first port and a second port shorted to connect with an auxiliary device through a single line, the first port and the second port configurable to satisfy a serial communication interface protocol, the single line being used for half-duplex communication with the auxiliary device; a circuit unit comprising: one end of the first resistor is connected with a power supply, and the other end of the first resistor can be connected with the first port and the second port; one end of the second resistor is connected with the ground, and the other end of the second resistor can be connected with the first port and the second port; and the control unit is used for controlling the first resistor and the second resistor in the circuit unit to be selectively conducted with the first port so as to determine the connection state between the electronic equipment and the auxiliary equipment according to the level signal of the first port.
According to an embodiment of the present application, the control unit is configured to detect, when the first port is connected to the first resistor, whether the electronic device is connected to the auxiliary device through the first port; for detecting, by the first port, whether the electronic device is disconnected from the auxiliary device, with the first port connected to the second resistor.
According to an embodiment of the present application, the control unit is configured to determine, in response to a change in a level signal of the first port, whether the electronic device and the auxiliary device are in an off state when the first port and the second port are configured to be in a half duplex communication operation state.
According to an embodiment of the present application, when the electronic device is disconnected from the auxiliary device, the control unit controls the first port to be connected to the first resistor, and configures the first port as a general data interface, so as to detect connection between the electronic device and the auxiliary device.
According to an embodiment of the present application, the control unit is configured to determine that the electronic device is connected to the auxiliary device through the first port in response to the change of the level signal satisfying a first condition in a case where the first port is connected to the first resistor, and control the first port to be connected to the second resistor, so as to detect whether the electronic device is disconnected from the auxiliary device; the control unit is further configured to determine that the electronic device is disconnected from the auxiliary device in response to the change in the level signal satisfying a second condition in a case where the first port is connected to the second resistor, and control the first port to be connected to the first resistor to detect whether the electronic device is connected to the auxiliary device.
According to an embodiment of the application, the electronic device is connected with the auxiliary device through a connector, and the connector comprises a power supply loop, a ground loop and a data transmission loop; one end of the power supply loop is connected with the power supply of the electronic equipment, and the other end of the power supply loop is connected with the auxiliary equipment and is used for supplying power to the auxiliary equipment through the power supply of the electronic equipment; one end of the data transmission loop is connected with the first port, and the other end of the data transmission loop is connected with the data transmission port of the auxiliary equipment and is used for transmitting interactive data between the electronic equipment and the auxiliary equipment; the grounding loop is used for grounding; the first condition comprises that the level signal is changed from a first voltage to a second voltage before the electronic equipment supplies power to the auxiliary equipment, and the level signal is changed from the second voltage to the first voltage after the electronic equipment supplies power; the second condition includes the level signal changing from a first voltage to a second voltage and a duration of time at the second voltage exceeding a first time threshold; the first voltage is different from the second voltage.
According to an embodiment of the present application, when the electronic device is in the sleep mode, the first port is configured to trigger a general data interface for interrupting sleep, so as to wake up the electronic device according to a change of a level signal of the first port, so as to determine a connection state between the electronic device and the auxiliary device.
According to a second aspect of the present application, there is provided a connection detection method applied to an electronic device, the electronic device including: the communication unit comprises a first port and a second port, wherein the first port and the second port are in short circuit so as to be connected with auxiliary equipment through a single wire; a circuit unit comprising: one end of the first resistor is connected with a power supply, and the other end of the first resistor can be connected with the first port and the second port; one end of the second resistor is connected with the ground, and the other end of the second resistor can be connected with the first port and the second port; the method comprises the following steps: configuring the first port and the second port to meet a serial communication interface protocol, and performing half-duplex communication with the auxiliary equipment through the single wire; and configuring a first resistor and a second resistor in the circuit unit to be selectively conducted with the first port so as to determine the connection state between the electronic equipment and the auxiliary equipment according to the level signal of the first port.
According to an embodiment of the application, the method further comprises: detecting whether the electronic equipment is connected with the auxiliary equipment or not through the first port under the condition that the first port is connected with the first resistor; and detecting whether the electronic equipment is disconnected from the auxiliary equipment or not through the first port under the condition that the first port is connected with the second resistor.
According to a third aspect of the present application, there is provided a device connection system comprising an electronic device as described in any one of the above and an auxiliary device connected to the electronic device by a single wire.
Drawings
The above, as well as additional purposes, features, and advantages of exemplary embodiments of the present application will become readily apparent from the following detailed description when read in conjunction with the accompanying drawings. Several embodiments of the present application are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings and in which:
In the drawings, the same or corresponding reference numerals indicate the same or corresponding parts.
Fig. 1 is a schematic diagram showing a composition structure of an electronic device according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a connection circuit between an electronic device and an auxiliary device according to an embodiment of the present application;
Fig. 3 is a schematic process flow diagram of a connection detection method according to an embodiment of the present application;
fig. 4 shows an application scenario diagram of a connection detection method provided by an embodiment of the present application;
fig. 5 shows another application scenario diagram of the connection detection method provided by the embodiment of the present application.
Detailed Description
In order to make the objects, features and advantages of the present application more comprehensible, the technical solutions according to the embodiments of the present application will be clearly described in the following with reference to the accompanying drawings, and it is obvious that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
In the following description, reference is made to "some embodiments" which describe a subset of all possible embodiments, but it is to be understood that "some embodiments" can be the same subset or different subsets of all possible embodiments and can be combined with one another without conflict.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of the application only and is not intended to be limiting of the application.
The composition structure of the electronic device provided by the embodiment of the application is described.
Fig. 1 shows a schematic diagram of a composition structure of an electronic device according to an embodiment of the present application.
Fig. 2 shows a schematic diagram of a connection circuit between an electronic device and an auxiliary device according to an embodiment of the application.
Referring to fig. 1 and 2, an electronic device according to an embodiment of the present application includes a communication unit 1 including a first port 11 and a first port 12, the first port 11 and the first port 12 being shorted to connect with an auxiliary device through a single line, the first port 11 and the first port 12 being capable of being configured to satisfy a serial communication interface protocol, and performing half duplex communication with the auxiliary device through the single line; a circuit unit 2 including a first resistor 21 and a first resistor 22, one end of the first resistor 21 being connected to a power source, and the other end being connectable to the first port 11 and the first port 12; one end of the second resistor 22 is connected to ground, and the other end can be connected to the first port 11 and the first port 12; the control unit 3 is configured to control the first resistor 21 and the second resistor 22 in the circuit unit 2 to selectively conduct with the first port 11, so as to determine a connection state between the electronic device and the auxiliary device according to the level signal of the first port 11.
In some embodiments, the electronic device may be a notebook computer, a tablet computer, or the like. The auxiliary device may be a device connected to the electronic device for information exchange, and the auxiliary device may include an input device such as a keyboard, a mouse, a camera, a scanner, a light pen, a handwriting input board, a joystick, a voice input device, and the like. The serial communication interface protocol may include UART (Universal Asynchronous Receiver/Transmitter, universal asynchronous receiver Transmitter), and embodiments of the present application are not limited to a particular serial communication interface protocol. In the case where the first port 11 and the first port 12 are configured to satisfy UART, the first port 11 may be configured as a UART receiving port (UARTRx), and the second port 12 may be configured as a UART transmitting port (UARTTx). Wherein UARTRx is a receiving port of UART. When the electronic device receives data, the data will be transmitted to the electronic device through UARTRx pins. In communication UARTRx is used to receive data from other devices. UARTTx is a transmit port of UART. When the electronic device is to send data, the data will be transmitted to the auxiliary device via UARTTx pins. In communication UARTTx is used to transmit data to the auxiliary device. The resistances of the first resistor 21 and the second resistor 22 may be the same, and the resistances of the first resistor 21 and the second resistor 22 may be different, which is not limited to specific resistances of the first resistor 21 and the second resistor 22 in the embodiment of the present application. The second resistor 22, when connected to the first port 11, can make the level signal of the first port 11 at a low level in the case where the electronic device is disconnected from the auxiliary device. The level signal of the first port 11 may be a high level or a low level, the high level may be a logic level 1, and the low level may be a corresponding logic level 0, and the high level or the low level may be a physical level, wherein the high level may be 3.3V, and the low level may be a level less than a preset threshold, such as a level less than or equal to 0.3V. The connection state may include: the electronic equipment is connected with the auxiliary equipment, and the electronic equipment is disconnected with the auxiliary equipment. From the change in the level signal of the first port 11, it is possible to determine the connection between the electronic device and the auxiliary device or to determine the disconnection between the electronic device and the auxiliary device.
According to the electronic equipment provided by the embodiment of the application, the first resistor and the second resistor in the configuration circuit unit are selectively conducted with the first port, so that the connection state between the electronic equipment and the auxiliary equipment is determined according to the level signal of the first port. Under the condition that the single line is connected with auxiliary equipment, the auxiliary equipment is inserted and pulled out to be detected, a sensor is not required to be additionally arranged, the detection efficiency is improved, and the detection cost is saved.
In some embodiments, in case the electronic device is disconnected from the auxiliary device, the control unit 3 controls the first port 11 to be connected to the first resistor 21, and configures the first port 11 as a general data interface to detect the connection of the electronic device to the auxiliary device. The control unit 3 is configured to detect whether or not the electronic device is connected to the auxiliary device through the first port 11 when the first port 11 is connected to the first resistor 21. The general purpose data interface may include a GPIO (General Purpose Input Output ) interface, among others. The first port 11 is connected to a circuit where the first resistor 21 is located, and the circuit where the first resistor 21 is located may include the first resistor 21 and VCC (power supply).
In some embodiments, the control unit 3 is configured to determine that the electronic device is connected to the auxiliary device through the first port 11 in response to the change of the level signal satisfying the first condition in a case where the first port 11 is connected to the first resistor 21, and control the first port 11 to be connected to the second resistor 22 to detect whether the electronic device is disconnected from the auxiliary device. The first condition may include the electronic device changing the first voltage to the second voltage and the second voltage to the first voltage. The first voltage may be high level 3.3V, the second voltage may be low level 0.3V, the first voltage may be logic level 1, and the second voltage may be logic level 0. The second resistor 22 is connected to the first port 11 so that the level signal of the first port 11 is at a low level in the case where the electronic device is disconnected from the auxiliary device.
The electronic device of the embodiment of the application comprises a control unit, a first port and a second port, wherein the control unit is used for controlling the connection of the first port and the first resistor under the condition that the electronic device is disconnected from the auxiliary device, configuring the first port as a universal data interface so as to detect the connection of the electronic device and the auxiliary device, and detecting whether the electronic device is connected with the auxiliary device or not through the first port under the condition that the first port is connected with the first resistor. Under the condition that the first port is connected with the first resistor, the electronic equipment is determined to be connected with the auxiliary equipment through the first port in response to the change of the level signal to meet the first condition, and the first port is controlled to be connected with the second resistor so as to detect whether the electronic equipment is disconnected with the auxiliary equipment. Therefore, the consistency of the actual connection state of the electronic equipment and the auxiliary equipment and the connection state in a system of the electronic equipment can be ensured, the situation of error connection state can not occur when the auxiliary equipment is quickly plugged and unplugged, the detection speed of the connection state between the electronic equipment and the auxiliary equipment is higher, and the detection accuracy when the connection state of the electronic equipment and the auxiliary equipment is detected is improved.
In some embodiments, in the case where the electronic device is connected to the auxiliary device and the first port 11 and the second port 12 are configured to be in a half duplex communication operation state, the control unit 3 is configured to detect, through the first port 11, whether or not the electronic device is disconnected from the auxiliary device in the case where the first port 11 is connected to the second resistor 22. The half duplex communication operating state may include an operation mode of UART. In a half duplex communication operating state, data may be transmitted in both directions, but the electronic device may only receive data from or transmit data to the auxiliary device in one direction at a time. When the UART is in the receive mode, data is sent from the auxiliary device to the first port 11, and when the UART is in the transmit mode, data is sent from the second port 12 to the auxiliary device.
In some embodiments, the control unit 3 is configured to determine that the electronic device is disconnected from the auxiliary device in response to the change in the level signal satisfying the second condition in the case where the first port 11 is connected to the second resistor 22, and control the first port 11 to be connected to the first resistor 21 to detect whether the electronic device is connected to the auxiliary device. Wherein the second condition may include the level signal changing from the first voltage to the second voltage and the duration of time at the second voltage exceeding a first time threshold. The first voltage may be high level 3.3V, the second voltage may be low level 0.3V, the first voltage may be logic level 1, and the second voltage may be logic level 0. The first time threshold may include a set minimum duration that enables a determination of disconnection of the electronic device from the auxiliary device. The embodiment of the application is not limited to a specifically set first time threshold. The first resistor 21 may be connected in parallel with the resistor of the data interface of the auxiliary device such that the level signal of the first port 11 is at a high level in case the electronic device is connected to the auxiliary device.
The electronic device of the embodiment of the application is characterized in that the control unit is used for responding to the change of the level signal of the first port to determine whether the electronic device and the auxiliary device are in a disconnection state or not under the condition that the electronic device is connected with the auxiliary device and the first port and the second port are configured to be in a half-duplex communication working state. In the case that the first port is connected with the second resistor, in response to the change of the level signal satisfying the second condition, it is determined that the electronic device is disconnected from the auxiliary device, and the first port is controlled to be connected with the first resistor to detect whether the electronic device is connected with the auxiliary device. Therefore, the problem that the electronic equipment and the auxiliary equipment cannot be accurately detected to be separated in a short distance can be avoided, the consistency of the physical connection of the electronic equipment and the auxiliary equipment and the connection state in a system of the electronic equipment is ensured, the condition that the auxiliary equipment and the electronic equipment are separated in a short distance can be detected through a level signal of a port, the detection speed of the connection state between the electronic equipment and the auxiliary equipment is higher, and the connection state of the electronic equipment and the auxiliary equipment can be accurately detected when the connection of the electronic equipment and the auxiliary equipment is disconnected.
In some embodiments, the electronic device is connected to the auxiliary device by a connector that includes a power supply loop, a ground loop, and a data transmission loop; one end of the power supply loop is connected with a power supply of the electronic equipment, and the other end of the power supply loop is connected with auxiliary equipment and is used for supplying power to the auxiliary equipment through the power supply of the electronic equipment; one end of the data transmission loop is connected with the first port 11, and the other end of the data transmission loop is connected with a data transmission port of the auxiliary equipment and is used for transmitting interactive data between the electronic equipment and the auxiliary equipment; the ground loop is used for grounding. The connector may include at least three POGO pins (spring probes) corresponding to the power supply loop, the ground loop, and the data transmission loop, respectively. The auxiliary device may include a magnetically attractable keyboard and the electronic device may include a tablet computer. And 3 POGO pins are arranged on the tablet personal computer and respectively correspond to a power supply loop, a grounding loop and a data transmission loop of the connector, the magnetic keyboard does not have any power supply, and the tablet personal computer can work based on the voltage output by the power supply loop of the tablet personal computer after being connected by adsorption. When the tablet personal computer is connected with the magnetic keyboard, the 3 POGO pins are connected, and the pull-down resistor is arranged on the data terminal corresponding to the data transmission loop at the magnetic keyboard side, so that the level signal of the first port 11 is changed from high level to low level. The control unit 3 responds to the level signal of the first port 11 to change from high level to low level, and controls the power supply of the tablet personal computer to supply power to the magnetic keyboard through the power supply loop.
According to the electronic equipment, the electronic equipment is connected with the auxiliary equipment through the connector, and the connector comprises a power supply loop, a grounding loop and a data transmission loop. The power supply loop is used for supplying power to the auxiliary equipment through a power supply of the electronic equipment, the data transmission loop is used for transmitting interactive data between the electronic equipment and the auxiliary equipment, and the grounding loop is used for grounding. Therefore, the consistency of the actual connection state of the electronic equipment and the auxiliary equipment and the connection state in a system of the electronic equipment can be ensured, the situation of error connection state can not occur when the auxiliary equipment is quickly plugged in and plugged out, the detection speed of the connection state between the electronic equipment and the auxiliary equipment is high, the electronic equipment can normally supply power to the auxiliary equipment or perform normal serial communication through the connector after the connection state is determined, and the electronic equipment and the auxiliary equipment can normally work while the detection accuracy when the connection state of the electronic equipment and the auxiliary equipment is detected is improved.
In some embodiments, the first port 11 is configured to trigger a general data interface to interrupt sleep in case the electronic device is in sleep mode to wake up the electronic device to determine a connection state between the electronic device and the auxiliary device according to a change in a level signal of the first port 11. When the tablet pc is in the sleep mode, i.e. the screen is turned off, the first port 11 may be configured to trigger a general data interface for interrupting sleep, at this time, if the magnetic keyboard is connected, the level signal of the first port 11 will change, the change of the level signal of the first port 11 will wake up the tablet pc, and the control unit 3 determines that the tablet pc is connected with the magnetic keyboard through the first port 11 and controls the first port 11 to be connected with the second resistor 22 in order to detect whether the tablet pc is disconnected from the magnetic keyboard if the change of the level signal meets the first condition under the condition that the first port 11 is connected with the first resistor 21.
When the tablet computer is in the sleep mode, i.e. the screen is turned off, the first port 11 may be configured to trigger a general data interface for interrupting sleep, at this time, if the magnetic keyboard is pulled out, the level signal of the first port 11 will change, the change of the level signal of the first port 11 will wake up the tablet computer, and the control unit 3 determines that the tablet computer is disconnected from the magnetic keyboard in response to the change of the level signal satisfying the second condition under the condition that the first port 11 is connected with the second resistor 22, and controls the first port 11 to be connected with the first resistor 21 so as to detect whether the tablet computer is connected with the magnetic keyboard.
In the electronic device of the embodiment of the application, when the electronic device is in the sleep mode, the first port is configured to trigger the general data interface for interrupting sleep, so that the electronic device is awakened according to the change of the level signal of the first port to determine the connection state between the electronic device and the auxiliary device. Therefore, under the condition that the electronic equipment is dormant, the consistency of the actual connection state of the electronic equipment and the auxiliary equipment and the connection state in a system of the electronic equipment is ensured, the situation that the connection state is wrong when the auxiliary equipment is plugged in and pulled out quickly is avoided, and the detection speed of the connection state between the electronic equipment and the auxiliary equipment is high. The problem that the electronic equipment cannot be accurately detected to be separated from the auxiliary equipment in a short distance can be avoided. The electronic equipment can wake up and detect the condition that the auxiliary equipment is separated from the electronic equipment in a short distance through the change of the level signal of the port, and can accurately detect the connection state of the electronic equipment and the auxiliary equipment when the electronic equipment and the auxiliary equipment are disconnected, so that the detection accuracy when the connection state of the electronic equipment and the auxiliary equipment is detected is improved.
The processing flow in the connection detection method provided by the embodiment of the application is described.
Referring to fig. 3, fig. 3 is a schematic process flow diagram of a connection detection method according to an embodiment of the present application, and will be described with reference to steps S101 to S102 shown in fig. 3.
Step S101, configuring the first port and the second port to satisfy the serial communication interface protocol, and performing half duplex communication with the auxiliary device through a single line.
In some embodiments, the connection detection method may be applied to an electronic device, the electronic device including: the communication unit 1 comprises a first port 11 and a second port 12, wherein the first port 11 and the second port 12 are short-circuited to be connected with auxiliary equipment through a single wire; a circuit unit 2 comprising: a first resistor 21, one end of the first resistor 21 is connected to a power source, and the other end can be connected to the first port 11 and the second port 12; and a second resistor 22, one end of the second resistor 22 is connected to ground, and the other end can be connected to the first port 11 and the second port 12. The electronic device can be a notebook computer, a tablet computer and the like. The auxiliary device may be a device connected to the electronic device for information exchange, and the auxiliary device may include an input device such as a keyboard, a mouse, a camera, a scanner, a light pen, a handwriting input board, a joystick, a voice input device, and the like. The first port 11 and the first port 12 are shorted to connect with the auxiliary device through a single line, the first port 11 and the first port 12 being configurable to satisfy a serial communication interface protocol for half duplex communication with the auxiliary device through the single line. The half duplex communication operating state may include one mode of operation of the UART. In a half duplex communication operating state, data may be transmitted in both directions, but the electronic device may only receive data from or transmit data to the auxiliary device in one direction at a time. When the UART is in the receive mode, data is sent from the auxiliary device to the first port 11, and when the UART is in the transmit mode, data is sent from the second port 12 to the auxiliary device. The serial communication interface protocol may include UART, SPI, I, 2, C, CAN and USB. Embodiments of the present application are not limited to a particular serial communication interface protocol. In the case where the first port 11 and the first port 12 are configured to satisfy UART, the first port 11 may be configured to UARTRx and the second port 12 may be configured to UARTTx. Wherein UARTRx is a receiving port of UART. When the electronic device receives data, the data will be transmitted to the electronic device through UARTRx pins. In communication UARTRx is used to receive data from other devices. UARTTx is a transmit port of UART. When the electronic device is to send data, the data will be transmitted to the auxiliary device via UARTTx pins. In communication UARTTx is used to transmit data to the auxiliary device.
The resistances of the first resistor 21 and the second resistor 22 may be the same, and the resistances of the first resistor 21 and the second resistor 22 may be different, which is not limited to specific resistances of the first resistor 21 and the second resistor 22 in the embodiment of the present application. The second resistor 22, when connected to the first port 11, can make the level signal of the first port 11 at a low level in the case where the electronic device is disconnected from the auxiliary device. The level signal of the first port 11 may be a high level or a low level, the high level may be a logic level 1, and the low level may be a corresponding logic level 0, and the high level or the low level may be a physical level, wherein the high level may be 3.3V, and the low level may be a level less than a preset threshold, such as a level less than or equal to 0.3V. The connection state may include: the electronic equipment is connected with the auxiliary equipment, and the electronic equipment is disconnected with the auxiliary equipment. From the change in the level signal of the first port 11, it is possible to determine the connection between the electronic device and the auxiliary device or to determine the disconnection between the electronic device and the auxiliary device.
Step S102, the first resistor and the second resistor in the configuration circuit unit are selectively conducted with the first port, so that the connection state between the electronic equipment and the auxiliary equipment is determined according to the level signal of the first port.
In some embodiments, the first resistor 21 has one end connected to a power source and the other end connectable to the first port 11 and the first port 12. One end of the second resistor 22 is connected to ground, and the other end can be connected to the first port 11 and the first port 12. The resistances of the first resistor 21 and the second resistor 22 may be the same, and the resistances of the first resistor 21 and the second resistor 22 may be different, which is not limited to specific resistances of the first resistor 21 and the second resistor 22 in the embodiment of the present application. The second resistor 22, when connected to the first port 11, can make the level signal of the first port 11 at a low level in the case where the electronic device is disconnected from the auxiliary device. The level signal of the first port 11 may be a high level or a low level, the high level may be a logic level 1, and the low level may be a corresponding logic level 0, and the high level or the low level may be a physical level, wherein the high level may be 3.3V, and the low level may be a level less than a preset threshold, such as a level less than or equal to 0.3V. The connection state may include: the electronic equipment is connected with the auxiliary equipment, and the electronic equipment is disconnected with the auxiliary equipment. From the change in the level signal of the first port 11, it is possible to determine the connection between the electronic device and the auxiliary device or to determine the disconnection between the electronic device and the auxiliary device.
According to the method, the first resistor and the second resistor in the circuit unit are selectively conducted with the first port, so that the connection state between the electronic equipment and the auxiliary equipment is determined according to the level signal of the first port. Under the condition that the single line is connected with auxiliary equipment, the auxiliary equipment is inserted and pulled out to be detected, a sensor is not required to be additionally arranged, the detection efficiency is improved, and the detection cost is saved.
In some embodiments, the connection detection method further comprises: in the case that the first port is connected with the first resistor, whether the electronic device is connected with the auxiliary device or not is detected through the first port. In the case that the first port is connected with the second resistor, whether the electronic device is disconnected from the auxiliary device or not is detected through the first port.
In some embodiments, in the case where the first port 11 is connected to the second resistor 22, in response to the change in the level signal satisfying the second condition, it is determined that the electronic device is disconnected from the auxiliary device, and the first port 11 is controlled to be connected to the first resistor 21 to detect whether or not the connection between the electronic device and the auxiliary device is made through the first port 11.
One end of the first resistor 21 is connected to a power source, and the other end can be connected to the first port 11 and the first port 12. The first port 11 is connected to a loop in which the first resistor 21 is located, and the loop in which the first resistor 21 is located may include the first resistor 21 and VCC. The second condition may include the level signal changing from the first voltage to the second voltage and the duration of time at the second voltage exceeding a first time threshold. The first voltage may be high level 3.3V, the second voltage may be low level 0.3V, the first voltage may be logic level 1, and the second voltage may be logic level 0. The first time threshold may include a set minimum duration that enables a determination of disconnection of the electronic device from the auxiliary device. The embodiment of the application is not limited to a specifically set first time threshold. The first resistor 21 may be connected in parallel with the resistor of the data interface of the auxiliary device such that the level signal of the first port 11 is at a high level in case the electronic device is connected to the auxiliary device.
According to the method, under the condition that the first port is connected with the second resistor, whether the electronic equipment is disconnected with the auxiliary equipment or not is detected through the first port. Therefore, the problem that the electronic equipment and the auxiliary equipment cannot be accurately detected to be separated in a short distance can be avoided, the consistency of the physical connection of the electronic equipment and the auxiliary equipment and the connection state in a system of the electronic equipment is ensured, the condition that the auxiliary equipment and the electronic equipment are separated in a short distance can be detected through a level signal of a port, the detection speed of the connection state between the electronic equipment and the auxiliary equipment is higher, and the connection state of the electronic equipment and the auxiliary equipment can be accurately detected when the connection of the electronic equipment and the auxiliary equipment is disconnected.
In some embodiments, in the case where the first port 11 is connected to the first resistor 21, in response to the change in the level signal satisfying the first condition, it is determined that the electronic device is connected to the auxiliary device through the first port 11, and the first port 11 is controlled to be connected to the second resistor 22 to detect whether or not disconnection is occurred between the electronic device and the auxiliary device.
Wherein one end of the second resistor 22 is connected to ground and the other end is connectable to the first port 11 and the first port 12. The first port 11 is connected to a loop where the second resistor 22 is located, and the loop where the second resistor 22 is located may include the second resistor 22 and GND. The first condition may include the electronic device changing the first voltage to the second voltage of the level signal before powering the auxiliary device and the second voltage to the first voltage of the level signal after powering. The first voltage may be high level 3.3V, the second voltage may be low level 0.3V, the first voltage may be logic level 1, and the second voltage may be logic level 0. The second resistor 22, when connected to the first port 11, can make the level signal of the first port 11 at a low level in the case where the electronic device is disconnected from the auxiliary device.
According to the method, under the condition that the first port is connected with the first resistor, whether the electronic equipment is connected with the auxiliary equipment or not is detected through the first port. Therefore, the consistency of the actual connection state of the electronic equipment and the auxiliary equipment and the connection state in a system of the electronic equipment can be ensured, the situation of error connection state can not occur when the auxiliary equipment is quickly plugged and unplugged, the detection speed of the connection state between the electronic equipment and the auxiliary equipment is higher, and the detection accuracy when the connection state of the electronic equipment and the auxiliary equipment is detected is improved.
Fig. 4 shows an application scenario diagram of the connection detection method provided by the embodiment of the present application.
Referring to fig. 4, an application scenario of the connection detection method provided by the embodiment of the present application is provided. The method is applied to connection detection of the tablet personal computer and the keyboard.
The controller 1 of the tablet computer may include a communication unit, a circuit unit, and a control unit. Wherein the communication unit, including first port UartRx and second port UartTx, first port UartRx and second port UartTx are shorted to connect with the auxiliary device over a single line, first port UartRx and second port UartTx can be configured to satisfy a serial communication interface protocol for half duplex communication with the auxiliary device over the single line. A circuit unit comprising: a first resistor R1, one end of the first resistor R1 is connected to the power VCC, and the other end can be connected to the first port UartRx and the second port UartTx; a second resistor R2, one end of the second resistor R2 is connected to the ground GND, and the other end thereof can be connected to the first port UartRx and the second port UartTx; the control unit Ctrl is configured to control the first resistor R1 and the second resistor R2 in the circuit unit to be selectively turned on with the first port UartRx, so as to determine a connection state between the tablet pc and the keyboard according to the level signal of the first port UartRx. The level signal of the first port UartRx may be obtained through TP point monitoring.
The controller 2 of the keyboard may include UartRx and UartTx data transfer ports corresponding to the first and second ports UartRx and UartTx of the tablet. The keyboard further comprises a third resistor R3, one end of the third resistor R3 is connected with UartRx and UartTx data transmission ports, and the other end of the third resistor R3 is connected with the ground GND. The third resistor R3 has a preset proportional relation with the first resistor and the second resistor, and can generate level change when the auxiliary equipment is connected, so that the connection state of the auxiliary equipment is detected.
The tablet personal computer is connected with the auxiliary equipment through a connector, and the connector comprises 3 POGO pins which respectively correspond to a power supply loop, a grounding loop and a data transmission loop. One end of the power supply loop is connected with a power VCC of the tablet personal computer, and the other end of the power supply loop is connected with the keyboard and is used for supplying power to the keyboard through the power of the tablet personal computer; one end of the data transmission loop is connected with the first port UartRx, and the other end of the data transmission loop is connected with UartRx and UartTx data transmission ports of the keyboard and is used for transmitting interactive data between the tablet computer and the keyboard; the grounding loop is used for grounding wires; the control unit Ctrl is configured to control the power VCC of the tablet computer to supply power to the keyboard through the power supply loop in response to the TP point monitoring that the level signal of the first port UartRx changes from high level to low level when the first port UartRx is connected to the first resistor R1.
It can be understood that the application scenario of the connection detection method of fig. 4 is only a part of exemplary implementation manners of the embodiment of the present application, and the application scenario of the connection detection method of the embodiment of the present application includes, but is not limited to, the application scenario of the connection detection method shown in fig. 4.
Fig. 5 shows another application scenario diagram of the connection detection method provided by the embodiment of the present application.
Referring to fig. 5, another application scenario of the connection detection method provided by the embodiment of the present application is shown. The control logic is applied to connection detection of the tablet personal computer and the keyboard. The MCU of the tablet computer may include a communication unit, a circuit unit, and a control unit. Wherein the communication unit, including first port UartRx and second port UartTx, first port UartRx and second port UartTx are shorted to connect with the auxiliary device over a single line, first port UartRx and second port UartTx can be configured to satisfy a serial communication interface protocol for half duplex communication with the auxiliary device over the single line. A circuit unit comprising: a first resistor R1, one end of the first resistor R1 is connected to the power VCC, and the other end can be connected to the first port UartRx and the second port UartTx; a second resistor R2, one end of the second resistor R2 is connected to the ground GND, and the other end thereof can be connected to the first port UartRx and the second port UartTx; the control unit Ctrl is configured to control the first resistor R1 and the second resistor R2 in the circuit unit to be selectively turned on with the first port UartRx, so as to determine a connection state between the tablet pc and the keyboard according to the level signal of the first port UartRx. The level signal of the first port UartRx may be monitored at point TP 1. The control unit Ctrl pull-up indicates that the first resistor R1 in the control circuit unit is turned on with the first port UartRx, and the control unit Ctrl pull-down indicates that the second resistor R2 in the control circuit unit is turned on with the first port UartRx. In the case where the MCU of the tablet computer is in the sleep mode, the first port UartRx is configured to trigger a general data interface to interrupt sleep, so as to wake up the MCU of the tablet computer to determine a connection state between the tablet computer and the keyboard according to a change of the level signal of the first port UartRx.
When the MCU of the tablet computer is in the sleep mode, the control unit Ctrl is pulled up, the first resistor R1 in the control circuit unit is conducted with the first port UartRx, and the level signal of the first port UartRx is at a high level of 3.3V.
The keyboard is accessed, the level signal of the first port UartRx changes, the change of the level signal of the first port UartRx wakes up the MCU of the tablet computer, and at this time, the level signal of the first port UartRx changes from high level 3.3V to low level 0.3V. In response to the level signal of the first port UartRx being low for 100ms in succession, the tablet powers the keyboard.
After the keyboard is powered on, the level signal of the first port UartRx is changed from low level 0.3V to 3.3V high level due to normal power supply. The control unit Ctrl determines that the keyboard is connected with the tablet computer through the first port UartRx in response to the level signal changing from low level 0.3V to 3.3V high level. The control unit Ctrl is pulled down, and the control unit Ctrl controls the first port UartRx to be connected with the second resistor R2. At this time, the first port UartRx and the second port UartTx are configured to be in a half duplex communication operation state, and the level signal of the first port UartRx is high level 3.3V.
The keyboard is pulled out, and the level signal of the first port UartRx is changed from high level 3.3V to 0V low level. The control unit Ctrl responds to the level signal to change from high level 3.3V to 0V, and the duration of the level signal at 0V exceeds a set first time threshold value, so that the keyboard is determined to be disconnected from the tablet personal computer. The power supply is stopped and the control unit Ctrl is pulled up, and the control unit Ctrl controls the first port UartRx to be connected with the first resistor R1. At this time, the control unit Ctrl configures the first port UartRx to be a general data interface. The level signal of the first port UartRx is high level 3.3V. The MCU switches to sleep mode.
It can be understood that the application scenario of the connection detection method of fig. 5 is only a part of exemplary implementation manners of the embodiment of the present application, and the application scenario of the connection detection method of the embodiment of the present application includes, but is not limited to, the application scenario of the connection detection method shown in fig. 5.
It should be noted that, the description of the method in the embodiment of the present application is similar to the description of the embodiment of the electronic device, and has similar beneficial effects as the embodiment of the electronic device, so that a detailed description is omitted. The technical details of the connection detection method provided in the embodiment of the present application may be understood from the description of any one of fig. 1 to 5.
Various implementations of the device connection systems and techniques described here can be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for carrying out methods of the present application may be written in any combination of one or more programming languages. These program code may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus such that the program code, when executed by the processor or controller, causes the functions/operations specified in the flowchart and/or block diagram to be implemented. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present application, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and pointing device (e.g., a mouse or trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), and the internet.
The computer system may include a client and a server. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server may be a cloud server, a server of a distributed system, or a server incorporating a blockchain.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present application may be performed in parallel, sequentially, or in a different order, so long as the desired results of the technical solution disclosed in the present application can be achieved, and are not limited herein.
Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature. In the description of the present application, the meaning of "a plurality" is two or more, unless explicitly defined otherwise.
The foregoing is merely illustrative of the present application, and the present application is not limited thereto, and any person skilled in the art will readily recognize that variations or substitutions are within the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (10)
1. An electronic device, comprising:
a communication unit including a first port and a second port shorted to connect with an auxiliary device through a single line, the first port and the second port configurable to satisfy a serial communication interface protocol, the single line being used for half-duplex communication with the auxiliary device;
A circuit unit comprising: one end of the first resistor is connected with a power supply, and the other end of the first resistor can be connected with the first port and the second port; one end of the second resistor is connected with the ground, and the other end of the second resistor can be connected with the first port and the second port;
And the control unit is used for controlling the first resistor and the second resistor in the circuit unit to be selectively conducted with the first port so as to determine the connection state between the electronic equipment and the auxiliary equipment according to the level signal of the first port.
2. The electronic device according to claim 1, wherein the control unit is configured to detect, in a case where the first port is connected to the first resistor, whether or not the electronic device is connected to the auxiliary device through the first port; for detecting, by the first port, whether the electronic device is disconnected from the auxiliary device, with the first port connected to the second resistor.
3. The electronic device of claim 1, wherein the control unit is configured to determine whether the electronic device is in an off state with the auxiliary device in response to a change in a level signal of the first port if the first port and the second port are configured to be in a half duplex communication operating state.
4. The electronic device according to claim 1, wherein the control unit controls the first port to be connected to the first resistor in a case where the electronic device is disconnected from the auxiliary device, and configures the first port as a general-purpose data interface to detect connection of the electronic device to the auxiliary device.
5. The electronic device according to claim 2, wherein the control unit is configured to determine that the electronic device is connected to the auxiliary device through the first port in response to the change in the level signal satisfying a first condition in a case where the first port is connected to the first resistor, and control the first port to be connected to the second resistor to detect whether or not disconnection between the electronic device and the auxiliary device is detected;
The control unit is further configured to determine that the electronic device is disconnected from the auxiliary device in response to the change in the level signal satisfying a second condition in a case where the first port is connected to the second resistor, and control the first port to be connected to the first resistor to detect whether the electronic device is connected to the auxiliary device.
6. The electronic device of claim 5, the electronic device connected with the auxiliary device through a connector, the connector comprising a power supply loop, a ground loop, and a data transmission loop;
One end of the power supply loop is connected with the power supply of the electronic equipment, and the other end of the power supply loop is connected with the auxiliary equipment and is used for supplying power to the auxiliary equipment through the power supply of the electronic equipment;
One end of the data transmission loop is connected with the first port, and the other end of the data transmission loop is connected with the data transmission port of the auxiliary equipment and is used for transmitting interactive data between the electronic equipment and the auxiliary equipment;
the grounding loop is used for grounding;
The first condition comprises that the level signal is changed from a first voltage to a second voltage before the electronic equipment supplies power to the auxiliary equipment, and the level signal is changed from the second voltage to the first voltage after the electronic equipment supplies power;
The second condition includes the level signal changing from a first voltage to a second voltage and a duration of time at the second voltage exceeding a first time threshold; the first voltage is different from the second voltage.
7. The electronic device of claim 1, wherein the first port is configured to trigger a generic data interface that interrupts sleep when the electronic device is in sleep mode to wake the electronic device to determine a connection state between the electronic device and the auxiliary device based on a change in a level signal of the first port.
8. The connection detection method is applied to electronic equipment, and the electronic equipment comprises the following steps: the communication unit comprises a first port and a second port, wherein the first port and the second port are in short circuit so as to be connected with auxiliary equipment through a single wire;
A circuit unit comprising: one end of the first resistor is connected with a power supply, and the other end of the first resistor can be connected with the first port and the second port; one end of the second resistor is connected with the ground, and the other end of the second resistor can be connected with the first port and the second port;
The method comprises the following steps: configuring the first port and the second port to meet a serial communication interface protocol, and performing half-duplex communication with the auxiliary equipment through the single wire;
And configuring a first resistor and a second resistor in the circuit unit to be selectively conducted with the first port so as to determine the connection state between the electronic equipment and the auxiliary equipment according to the level signal of the first port.
9. The method of claim 8, the method further comprising:
detecting whether the electronic equipment is connected with the auxiliary equipment or not through the first port under the condition that the first port is connected with the first resistor;
and detecting whether the electronic equipment is disconnected from the auxiliary equipment or not through the first port under the condition that the first port is connected with the second resistor.
10. A device connection system comprising the electronic device of any of claims 1-7 and an auxiliary device connected to the electronic device by a single wire.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410108705.9A CN118012791A (en) | 2024-01-25 | 2024-01-25 | Electronic equipment, connection detection method and equipment connection system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410108705.9A CN118012791A (en) | 2024-01-25 | 2024-01-25 | Electronic equipment, connection detection method and equipment connection system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN118012791A true CN118012791A (en) | 2024-05-10 |
Family
ID=90957651
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410108705.9A Pending CN118012791A (en) | 2024-01-25 | 2024-01-25 | Electronic equipment, connection detection method and equipment connection system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN118012791A (en) |
-
2024
- 2024-01-25 CN CN202410108705.9A patent/CN118012791A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7698490B2 (en) | Passive USB power configuration switching | |
CN101622612B (en) | Detecting connection to a usb host or hub without using an extra status input | |
US20080222438A1 (en) | Apparatus For Automatically Detecting And Differentiating Between USB Host And Device | |
US10565145B2 (en) | Felxconnect disconnect detection | |
US9811145B2 (en) | Reduction of idle power in a communication port | |
JP3610424B2 (en) | Electronic equipment and interface circuit | |
CN108681514B (en) | Device detection method and device, storage medium and electronic device | |
US8954634B2 (en) | Operating a demultiplexer on an inter-integrated circuit (‘I2C’) bus | |
CN111881074B (en) | Electronic system, host device and control method | |
EP2290554A1 (en) | Management of a configuration of a USB device | |
US20150318719A1 (en) | Charging method and electronic device | |
CN118012791A (en) | Electronic equipment, connection detection method and equipment connection system | |
KR100659515B1 (en) | Automatic Switching Method of USB Operation Mode, and Single-Type USB Port Device Using The Same | |
CN214954958U (en) | Electronic device sharing universal sequence bus signal | |
US11334506B2 (en) | Interface connection device, system and method thereof | |
CN212208279U (en) | USB interface switching device and terminal equipment | |
CN108089959B (en) | Mainboard detection circuit and electronic device applying same | |
CN113220623A (en) | Electronic device sharing universal sequence bus signal and operation method thereof | |
KR20140092547A (en) | USB OTG auto change device | |
KR20030072980A (en) | The method and equipment for USB Host/Client mode detection and changing | |
CN115834369B (en) | Method and system for configuring server network | |
EP3992758A1 (en) | Head mounted display device and power management method thereof | |
CN109344016B (en) | USB device capable of switching between host and device modes and switching method | |
CN110362349B (en) | Virtual input management device and management method thereof | |
KR101268852B1 (en) | A universal serial bus peripheral device and Method for reducing a transmitting power in thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |