CN111611182B - Electronic equipment capable of being detected by detection device and detection system - Google Patents

Electronic equipment capable of being detected by detection device and detection system Download PDF

Info

Publication number
CN111611182B
CN111611182B CN202010429737.0A CN202010429737A CN111611182B CN 111611182 B CN111611182 B CN 111611182B CN 202010429737 A CN202010429737 A CN 202010429737A CN 111611182 B CN111611182 B CN 111611182B
Authority
CN
China
Prior art keywords
interface
terminal
pin
converter
electronic 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.)
Active
Application number
CN202010429737.0A
Other languages
Chinese (zh)
Other versions
CN111611182A (en
Inventor
周琮棋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hefei Lianbao Information Technology Co Ltd
Original Assignee
Hefei Lianbao Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hefei Lianbao Information Technology Co Ltd filed Critical Hefei Lianbao Information Technology Co Ltd
Priority to CN202010429737.0A priority Critical patent/CN111611182B/en
Publication of CN111611182A publication Critical patent/CN111611182A/en
Application granted granted Critical
Publication of CN111611182B publication Critical patent/CN111611182B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/10Program control for peripheral devices
    • G06F13/12Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor
    • G06F13/122Program 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing
    • G06F11/273Tester hardware, i.e. output processing circuits
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • G06F13/4291Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus using a clocked protocol

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)
  • Quality & Reliability (AREA)
  • Power Sources (AREA)

Abstract

The embodiment of the invention provides electronic equipment and a detection system which can be detected by a detection device, wherein the electronic equipment comprises a basic input and output system, an embedded controller, a first controller, a converter and a first interface; under the condition that the first interface is connected with the second interface, the electronic equipment supplies power to the detection device, the converter receives a first signal sent by the detection device and is communicated with the embedded controller and the first interface to form a first data path, so that the basic input and output system can send detection data to the detection device; under the condition that the first interface is connected with the third interface of the other electronic equipment, the converter receives a second signal sent by the other electronic equipment and forms a second data path by communicating the first controller with the first interface so as to enable data transmission between the electronic equipment and the other electronic equipment. Therefore, the detection device is only connected with the electronic equipment through the first interface, the connection and the disassembly are convenient, and the normal use function of the first interface is ensured.

Description

Electronic equipment capable of being detected by detection device and detection system
Technical Field
The embodiment of the invention relates to the technical field of electronic equipment, in particular to electronic equipment and a detection system which can be detected by a detection device.
Background
The mainboard failure diagnosis card utilizes the detection result of the internal self-checking program of the Basic Input Output System (BIOS) in the mainboard to display the codes one by one, and the computer failure can be quickly known by combining the code meaning quick look-up table. Especially when the PC can not guide the operating system, the screen is dark and the loudspeaker is not called, the card can be used for embodying the convenience of the PC, so that you can get twice the result with half the effort.
One of the mainboard fault diagnosis cards is provided with an M.2 interface, and when the mainboard fault diagnosis card is installed, a shell of a computer needs to be disassembled, and the mainboard fault diagnosis card is inserted into an M.2 slot on a mainboard; the other type is provided with a USB interface and a Battery Connector interface, the computer supplies power for the mainboard fault diagnosis card through the USB interface, the embedded controller transmits the detection result to the mainboard fault diagnosis card through the Battery Connector interface, although the USB interface can be inserted into the computer under the condition that the computer shell is not disassembled, the Battery Connector interface can be inserted into the mainboard after the shell is disassembled. Therefore, the two main board fault diagnosis cards can be connected and used only by disassembling the shell of the computer, and the use is inconvenient.
Disclosure of Invention
In view of the foregoing problems in the prior art, embodiments of the present invention provide an electronic device and a detection system capable of being detected by a detection device, so that the detection device can be conveniently mounted on or dismounted from the electronic device.
In order to solve the above problems, the embodiment of the present invention provides the following technical solutions:
an electronic device capable of being detected by a detection device comprises a basic input and output system, an embedded controller, a first controller, a converter and a first interface, wherein the basic input and output system is connected with the converter through the embedded controller;
under the condition that the first interface is connected with the second interface of the detection device, the electronic equipment supplies power to the detection device through the first interface, the converter receives a first signal sent by the detection device and is communicated with the embedded controller and the first interface to form a first data path, so that the basic input and output system sends detection data to the detection device based on the first data path;
under the condition that the first interface is connected with a third interface of another electronic device, the converter receives a second signal sent by the other electronic device and communicates the first controller with the first interface to form a second data path, so that data are transmitted between the electronic device and the other electronic device based on the second data path.
In some embodiments, the first interface includes a first terminal, a second terminal, and a third terminal, and in a case where the first interface is connected to the second interface of the detection apparatus, the electronic device supplies power to the detection apparatus through the first terminal, and the converter is communicatively connected to the detection apparatus through the second terminal and the third terminal.
In some embodiments, the embedded controller is connected to the converter through its fourth and fifth terminals, and when the converter receives the first signal, the converter connects the second terminal and the fourth terminal to form a first sub-path, and connects the third terminal and the fifth terminal to form a second sub-path, so as to form the first data path through the first sub-path and the second sub-path.
In some embodiments, the converter receives the first signal generated by the detection device by changing input potentials of the second terminal and the third terminal.
In some embodiments, the electronic device further includes a first switch unit and a second switch unit, the first switch unit is respectively connected to the power supply terminal of the electronic device, the second terminal of the electronic device, and the second switch unit, the second switch unit is further respectively connected to the third terminal and the ground terminal of the electronic device, and the enable terminal of the converter is connected between the power supply terminal of the electronic device and the first switch unit;
the first switch unit and the second switch unit receive the first signal and change the input potential of the enabling end of the converter so as to send the first signal to the converter.
A detection system comprises electronic equipment and a detection device, wherein the electronic equipment comprises a basic input and output system, an embedded controller, a first controller, a converter and a first interface, the basic input and output system is connected with the converter through the embedded controller, and the converter is respectively connected with the first controller and the first interface; the detection device comprises a detector, a power supply module and a second interface, the second interface is respectively connected with the input end of the power supply module and the detector, and the output end of the power supply module is connected between the second interface and the detector;
under the condition that the first interface is connected with the second interface, the electronic equipment supplies power to the power supply module through the first interface, the power supply module sends a first signal to the converter through the second interface, and the converter is communicated with the embedded controller and the first interface so as to be communicated with the embedded controller and the detector to form a first data path, so that the basic input and output system sends detection data to the detector based on the first data path;
under the condition that the first interface is connected with a third interface of another electronic device, the converter receives a second signal sent by the other electronic device and forms a second data path by connecting the first controller and the first interface, so that data are transmitted between the electronic device and the other electronic device based on the second data path.
In some embodiments, the first interface includes a first terminal, a second terminal, and a third terminal, the second interface includes a sixth terminal for electrically connecting with the first terminal, a seventh terminal for communicatively connecting with the second terminal, and an eighth terminal for communicatively connecting with the third terminal, the sixth terminal is connected with the input terminal of the power module, the detectors are respectively connected with the seventh terminal and the eighth terminal, and the output terminal of the power module is respectively connected between the seventh terminal and the detectors, and between the eighth terminal and the detectors.
In some embodiments, the embedded controller includes a fourth terminal and a fifth terminal, and in the case that the converter receives the first signal, the converter communicates the second terminal and the fourth terminal, communicates the embedded controller with the detector through the fourth terminal to form a first sub-path, and communicates the third terminal and the fifth terminal, communicates the embedded controller with the detector through the fifth terminal to form a second sub-path, so as to form the first data path through the first sub-path and the second sub-path.
In some embodiments, the power module is powered on and generates the first signal by changing input potentials of the second terminal and the third terminal through the seventh terminal and the eighth terminal.
In some embodiments, the electronic device further includes a first switch unit and a second switch unit, the first switch unit is respectively connected to the power supply terminal of the electronic device, the second terminal of the electronic device, and the second switch unit, the second switch unit is further respectively connected to the third terminal and the ground terminal of the electronic device, and the enable terminal of the converter is connected between the power supply terminal of the electronic device and the first switch unit;
the first switch unit and the second switch unit receive the first signal and change the input potential of the enabling end of the converter so as to send the first signal to the converter.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
according to the electronic device provided by the embodiment of the invention, the first interface of the electronic device is respectively connected with the embedded controller and the first controller through the converter, and the converter can switch modes based on the type of the device plugged on the first interface, so that the embedded controller is communicated with the first interface to form a first data path when the detection device is plugged in, or the first controller is communicated with the first interface to form a second data path when another electronic device is plugged in. When the electronic equipment is connected with the detection device through the first interface, the electronic equipment can supply power for the detection device through the first interface, and the basic input and output system can send detection data to the detection device through the first interface, so that the detection device is connected with the electronic equipment only through the first interface, the detection device is conveniently connected with or disconnected from the electronic equipment, and further a user can conveniently perform fault detection; when the electronic equipment is connected with another electronic equipment through the first interface, the electronic equipment can transmit data with the other electronic equipment by using the first controller, and the normal use function of the first interface is ensured.
Drawings
Fig. 1 is a block diagram of a structure of an electronic device and a detection apparatus according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of an electronic device of an embodiment of the invention;
fig. 3 is a schematic diagram of a detection system according to an embodiment of the present invention.
Description of reference numerals:
100-an electronic device; 110-basic input output system; 120-south bridge chip; 130-an embedded controller; 140-a converter; 150 — a first interface; 151-first end; 152-a second end; 153-third end; 160-a first controller; 170-a first switching unit; 180-a second switching unit; 190-a main board;
200-a detection device; 210-a second interface; 211-sixth end; 212-seventh end; 213-eighth end; 220-a power supply module; 230-detector.
Detailed Description
In order to make the technical solutions of the embodiments of the present invention better understood, the present invention will be described in detail below with reference to the accompanying drawings and the detailed description.
Referring to fig. 1 and fig. 2, an embodiment of the present invention provides an electronic device, where the electronic device can be cooperatively connected with a detection apparatus 200, the detection apparatus 200 can perform fault detection on the electronic device, the electronic device includes a basic input output system 110, an embedded controller 130, a first controller 160, a converter 140, and a first interface 150, the basic input output system 110 is connected with the converter 140 through the embedded controller 130, and the converter 140 is further connected with the first controller 160 and the first interface 150, respectively.
When the first interface 150 is connected to the second interface 210 of the detection apparatus 200, the electronic device supplies power to the detection apparatus 200 through the first interface 150, and the converter 140 receives the first signal sent by the detection apparatus 200 and communicates the embedded controller 130 and the first interface 150 to form a first data path based on the first signal, at this time, the bios 110 can send detection data to the detection apparatus 200 based on the first data path, so that the detection apparatus 200 can perform fault detection on the electronic device based on the obtained detection data.
In the case where the first interface 150 is connected to a third interface of another electronic device, the converter 140 receives a second signal transmitted by the another electronic device and forms a second data path by connecting the first controller 160 and the first interface 150, so that data is transmitted between the electronic device and the another electronic device based on the second data path.
In the electronic device with the above structure, the first interface 150 is connected to the embedded controller 130 and the first controller 160 through the converter 140, and the converter 140 can switch modes to communicate the embedded controller 130 with the first interface 150 to form a first data path or communicate the first controller 160 with the first interface 150 to form a second data path. When the electronic device is connected to the detection apparatus 200 through the first interface 150, the electronic device can supply power to the detection apparatus 200 through the first interface 150, and the bios 110 can send detection data to the detection apparatus 200 through the first interface 150, so that the detection apparatus 200 is connected to the electronic device only through the first interface 150, which is convenient for the detection apparatus 200 to be connected or disconnected with the electronic device, and further facilitates a user to perform fault detection; when the electronic device is connected to another electronic device through the first interface 150, the electronic device can transmit data with the other electronic device by using the first controller 160, thereby ensuring the normal use function of the first interface 150.
It should be noted that the electronic device may be, for example, a notebook computer or a desktop computer, and certainly, the electronic device is not limited to the notebook computer and the desktop computer, and may also be other electronic devices having the above structure. The detection apparatus 200 may be an apparatus that can be used to perform fault diagnosis on an electronic device, such as a fault diagnosis card for the motherboard 190. The another electronic device may be a device capable of connecting with the electronic device through the first interface 150 and performing data transmission, such as a smart phone, a tablet computer, a multimedia player, a memory, or other electronic devices.
The structure and principle of the electronic device according to the embodiments of the present invention will be described in detail with reference to the accompanying drawings and detailed description.
In some embodiments, the first interface 150 may include a first terminal 151, a second terminal 152, and a third terminal 153, and in the case that the first interface 150 is connected to the second interface 210 of the detection apparatus 200, the electronic device supplies power to the detection apparatus 200 through the first terminal 151, and the converter 140 is communicatively connected to the detection apparatus 200 through the second terminal 152 and the third terminal 153. In a preferred embodiment, the first interface 150 can be, for example, a USB Type-C interface, which integrates data transmission and power supply functions and has better versatility. Further, the first terminal 151 may be a VBUS pin in a USB Type-C interface, the second terminal 152 may be an SBU1 pin in the USB Type-C interface, and the third terminal 153 may be an SBU2 pin in the USB Type-C interface. When the converter 140 communicates the embedded controller 130 and the first interface 150 to form a first data path, the embedded controller 130 communicates with the SBU1 pin and the SBU2 pin at least through the converter 140, so that the detection data can be transmitted to the detection apparatus 200. When the converter 140 communicates the first controller 160 and the first interface 150 to form a second data path, the first controller 160 communicates with the SBU1 pin and the SBU2 pin at least through the converter 140, so as to be able to interact with another electronic device through the first interface 150. SBU1 pin and SBU2 pin are auxiliary pin in the USB Type-C interface, can have different usage under the use scene of difference, and electronic equipment passes through two pins of SBU1 pin and SBU2 pin and transmits detection data to detection device 200, can avoid influencing the normal use function of USB Type-C interface. Of course, the first interface 150 is not limited to the USB Type-C interface, and may also be, for example, a USB Type-a interface, a USB Type-B interface, or other interfaces having both data transmission and power supply functions.
In some embodiments, the embedded controller 130 is connected to the converter 140 via the fourth and fifth terminals, and when the converter 140 receives the first signal, the converter 140 connects the second terminal 152 and the fourth terminal to form a first sub-path, and connects the third terminal 153 and the fifth terminal to form a second sub-path, so as to form a first data path via the first sub-path and the second sub-path. Taking the electronic device as a notebook computer as an example, the notebook computer may include a motherboard 190, where the basic input output system 110 (BIOS), the embedded Controller 130 (EC), the first Controller 160, the converter 140, and the first Interface 150 may all be disposed on the motherboard 190, where the basic input output system 110 may be connected to the embedded Controller 130 through a south bridge chip 120, the basic input output system 110 may be connected to the south bridge chip 120 (a Platform Controller Hub, abbreviated as PCH) through a Serial Peripheral Interface (SPI), and data transmission may be performed between the two based on an SPI communication protocol; south bridge chip 120 may be connected to embedded controller 130 through an Enhanced-serial peripheral interface (Enhanced-SPI, abbreviated as eSPI), and data transmission may be performed between the two through an eSPI communication protocol; the embedded controller 130 and the first interface 150 may perform data transmission based on an I2C (Inter-Integrated Circuit) bus protocol, wherein the first sub-path may be used for transmitting a serial data signal, and the second sub-path may be used for transmitting a serial clock signal.
In some embodiments, the converter 140 receives a first signal generated by the detection device 200 by changing the input potentials of the second terminal 152 and the third terminal 153. For example, when the detection apparatus 200 is plugged into the first interface 150 of the electronic device through the second interface 210, the electronic device supplies power to the detection apparatus 200 through the first interface 150, and after the detection apparatus 200 is powered on, the input potentials of the second terminal 152 and the third terminal 153 can be pulled up from the low potential to the high potential, so as to generate the first signal. Specifically, the low potential may be, for example, 0V, and the high potential may be, for example, 3V. Of course, the aforementioned generation of the first signal by changing the input potentials of the second terminal 152 and the third terminal 153 is not limited to pulling up the input potentials of the second terminal 152 and the third terminal 153, and may be, for example, reducing the input potentials of the second terminal 152 and the third terminal 153.
In some embodiments, the electronic device further includes a first switching unit 170 and a second switching unit 180, the first switching unit 170 is connected to the power supply terminal of the electronic device, the second terminal 152 and the second switching unit 180, respectively, the second switching unit 180 is further connected to the third terminal 153 and the ground terminal of the electronic device, respectively, and the enable terminal of the converter 140 is connected between the power supply terminal of the electronic device and the first switching unit 170; the first and second switching units 170 and 180 receive the first signal, and transmit the first signal to the converter 140 by changing an input potential of an enable terminal of the converter 140. The first switch unit 170 and the second switch unit 180 may be a bipolar transistor, a darlington transistor, a thyristor, a field effect transistor, an insulated gate bipolar thyristor, or other switch units. Taking the first switch unit 170 and the second switch unit 180 both using field effect transistors as an example, a drain of a first field effect transistor as the first switch unit 170 may be connected to a power supply terminal of the main board 190 through a resistor, a source of the first field effect transistor may be connected to a drain of a second field effect transistor as the second switch unit 180, a gate of the first field effect transistor is connected to the second terminal 152, a gate of the second field effect transistor is connected to the third terminal 153, a source of the second field effect transistor may be connected to a ground terminal of the main board 190, and an enable terminal of the converter 140 is connected between the resistor and the first field effect transistor, so that when the second terminal 152 and the third terminal 153 are pulled up to a high potential from a low potential, the first field effect transistor and the second field effect transistor are both turned on, a path is formed between the power supply terminal of the main board 190 and the ground terminal of the main board 190 through the resistor, the first field effect transistor, and the second field effect transistor, and the enable terminal of the converter 140 is converted from a high potential to a low potential, so that the converter 140 receives the first signal. When the first switch unit 170 and the second switch unit 180 skillfully use the I2C bus protocol for data transmission, the high potential characteristic still needs to be maintained when the two buses are idle, so as to detect whether the device plugged on the first interface 150 is the detection apparatus 200 or another electronic device. If the detection apparatus 200 is plugged into the first interface 150, since it uses the I2C protocol for data transmission, the input potentials of the second terminal 152 and the third terminal 153 are inevitably raised to a high potential, at this time, it can be determined that the detection apparatus 200 is plugged into the first interface 150, and the potential of the enable terminal of the converter 140 is converted from the high potential to a low potential, so that the converter 140 receives the first signal and switches the data transmission mode, the structure is simple, it is not necessary to set a separate interaction path except for the first sub-path and the second sub-path, and the number of pins occupying the first interface 150 is small.
Referring to fig. 1 and fig. 3, an embodiment of the present invention further provides a detection system, which includes an electronic device 100 and a detection apparatus 200, where the electronic device 100 includes a basic input/output system 110, an embedded controller 130, a first controller 160, a converter 140, and a first interface 150, the basic input/output system 110 is connected to the converter 140 through the embedded controller 130, and the converter 140 is connected to the first controller 160 and the first interface 150, respectively; the detection apparatus 200 includes a detector 230, a power module 220, and a second interface 210, wherein the second interface 210 is respectively connected to an input terminal of the power module 220 and the detector 230, and an output terminal of the power module 220 is connected between the second interface 210 and the detector 230. Specifically, the detector 230 may be, for example, a detection chip or a logic circuit, and the power module 220 may be, for example, a power circuit or a power chip.
When the first interface 150 is connected to the second interface 210, the electronic device 100 supplies power to the power module 220 through the first interface 150, the power module 220 sends a first signal to the converter 140 through the second interface 210, the converter 140 communicates the embedded controller 130 and the first interface 150 based on the first signal to communicate the embedded controller 130 and the detector 230 to form a first data path, so that the bios 110 sends detection data to the detector 230 based on the first data path, and the detection apparatus 200 can detect a fault of the electronic device 100 based on the acquired detection data.
In the case that the first interface 150 is connected to the third interface of another electronic device 100, the converter 140 receives the second signal transmitted by the other electronic device 100 and forms a second data path by connecting the first controller 160 and the first interface 150, so that data is transmitted between the electronic device 100 and the other electronic device 100 based on the second data path.
With the detection system having the above structure, the first interface 150 of the electronic device 100 is connected to the embedded controller 130 and the first controller 160 through the converter 140, and the converter 140 can switch modes based on the type of the device plugged into the first interface 150, so as to enable the embedded controller 130 to communicate with the first interface 150 to form a first data path when the detection apparatus 200 is plugged in, or enable the first controller 160 to communicate with the first interface 150 to form a second data path when another electronic device 100 is plugged in. When the electronic device 100 is connected to the detection apparatus 200 through the first interface 150, the electronic device 100 can supply power to the power module 220 of the detection apparatus 200 through the first interface 150, and further enable the bios 110 to send detection data to the detection apparatus 200 through the first interface 150, so that the detection apparatus 200 only needs to be connected to the electronic device 100 through the first interface 150, which is convenient for the detection apparatus 200 to be connected or disconnected to the electronic device 100, and further facilitates a user to perform fault detection; when the electronic device 100 is connected to another electronic device 100 through the first interface 150, the electronic device 100 can transmit data with another electronic device 100 by using the first controller 160, thereby ensuring the normal use function of the first interface 150.
It should be noted that the electronic device 100 may be, for example, a notebook computer or a desktop computer, and of course, the electronic device 100 is not limited to the notebook computer and the desktop computer, and may also be other electronic devices 100 having the above-mentioned structure. The detection apparatus 200 may be an apparatus that can be used to perform failure diagnosis on the electronic device 100, such as a failure diagnosis card for the motherboard 190. The other electronic device 100 may be a device capable of connecting with the electronic device 100 through the first interface 150 and performing data transmission, such as a smart phone, a tablet computer, a multimedia player, a memory, or other electronic devices 100.
The structure and principle of the electronic device 100 according to the embodiment of the present invention will be described in detail below with reference to the accompanying drawings and the detailed description.
In some embodiments, the first interface 150 includes a first end 151, a second end 152, and a third end 153, the second interface 210 includes a sixth end 211, a seventh end 212, and an eighth end 213, when the second interface 210 is connected to the first interface 150, the sixth end 211 is electrically connected to the first end 151, the seventh end 212 is communicatively connected to the second end 152, the eighth end 213 is communicatively connected to the third end 153, the sixth end 211 is connected to an input end of the power module 220, the detector 230 is respectively connected to the seventh end 212 and the eighth end 213, and an output end of the power module 220 is respectively connected between the seventh end 212 and the detector 230, and between the eighth end 213 and the detector 230.
In a preferred embodiment, the first interface 150 can be, for example, a USB Type-C interface, and the corresponding second interface 210 is also a USB Type-C interface, which integrates data transmission and power supply functions and has better versatility. Further, the first terminal 151 may be a VBUS pin in a USB Type-C interface as the first interface 150, the second terminal 152 may be an SBU1 pin in the USB Type-C interface, and the third terminal 153 may be an SBU2 pin in the USB Type-C interface. Correspondingly, the sixth terminal 211 is a VBUS pin of the USB Type-C interface as the second interface 210, the seventh terminal 212 can be an SBU1 pin of the USB Type-C interface, the eighth terminal 213 can be an SBU2 pin of the USB Type-C interface, and the output terminal of the power module 220 is connected between the SBU1 pin and the detector 230 and between the SBU2 pin and the detector 230 through resistors, respectively.
When the converter 140 communicates the embedded controller 130 and the first interface 150 to form a first data path, the embedded controller 130 communicates with at least the SBU1 pin and the SBU2 pin through the converter 140, so that the detection data can be transmitted to the detector 230. When the converter 140 communicates the first controller 160 and the first interface 150 to form a second data path, the first controller 160 communicates with the SBU1 pin and the SBU2 pin at least through the converter 140, so that it can interact with another electronic device 100 through the first interface 150. SBU1 pin and SBU2 pin are auxiliary pins in the USB Type-C interface, and can have different uses under different use scenes, and the electronic device 100 transmits detection data to the detector 230 through the SBU1 pin and the SBU2 pin, and can avoid influencing the normal use function of the USB Type-C interface. Of course, the first interface 150 and the second interface 210 are not limited to USB Type-C interfaces, but may also be USB Type-a, USB Type-B or other interfaces having both data transmission and power supply functions.
In some embodiments, embedded controller 130 includes a fourth terminal and a fifth terminal, and in the case that converter 140 receives the first signal, converter 140 communicates second terminal 152 and the fourth terminal, such that embedded controller 130 communicates with detector 230 through the fourth terminal to form a first sub-path, and communicates third terminal 153 and the fifth terminal, such that embedded controller 130 communicates with detector 230 through the fifth terminal to form a second sub-path, such that a first data path is formed through the first sub-path and the second sub-path. Taking the electronic device 100 as a notebook computer as an example, the notebook computer may include a motherboard 190, where the basic input output system 110 (BIOS), the embedded Controller 130 (EC), the first Controller 160, the converter 140, and the first Interface 150 may all be disposed on the motherboard 190, where the basic input output system 110 may be connected to the embedded Controller 130 through a south bridge chip 120, the basic input output system 110 may be connected to the south bridge chip 120 (a Platform Controller Hub, abbreviated as PCH) through a Serial Peripheral Interface (SPI), and data transmission may be performed between the two based on an SPI communication protocol; south bridge chip 120 may be connected to embedded controller 130 through an Enhanced-serial peripheral interface (Enhanced-SPI, abbreviated as eSPI), and data transmission may be performed between the two through an eSPI communication protocol; the embedded controller 130 and the detector 230 may transmit data based on an I2C (Inter-Integrated Circuit) bus protocol, wherein the first sub-path may be used for transmitting a serial data signal and the second sub-path may be used for transmitting a serial clock signal.
In some embodiments, the power module 220 is powered on and generates the first signal by changing the input potentials of the second terminal 152 and the third terminal 153 through the seventh terminal 212 and the eighth terminal 213. Specifically, the power module 220 may be, for example, a power circuit or a power chip. For example, when the detection apparatus 200 is plugged into the first interface 150 of the electronic device 100 through the second interface 210, the electronic device 100 supplies power to the power module 220 of the detection apparatus 200 through the first end 151 and the sixth end 211, and after the power module 220 is powered on, the input potentials of the seventh end 212 and the eighth end 213 can be pulled up to a high potential, and further the input potentials of the second end 152 and the third end 153 are pulled up to a high potential from a low potential, so as to generate the first signal. The low potential may be, for example, 0V, and the high potential may be, for example, 3V. Of course, the aforementioned generation of the first signal by changing the input potentials of the second terminal 152 and the third terminal 153 is not limited to the pulling up of the input potentials of the second terminal 152 and the third terminal 153, and may be, for example, the lowering of the input potentials of the second terminal 152 and the third terminal 153.
In some embodiments, the electronic device 100 further includes a first switching unit 170 and a second switching unit 180, the first switching unit 170 is connected to the power supply terminal of the electronic device 100, the second terminal 152 and the second switching unit 180, respectively, the second switching unit 180 is further connected to the third terminal 153 and the ground terminal of the electronic device 100, respectively, and the enable terminal of the converter 140 is connected between the power supply terminal of the electronic device and the first switching unit 170; the first and second switching units 170 and 180 receive the first signal, and transmit the first signal to the converter 140 by changing an input potential of an enable terminal of the converter 140. The first switch unit 170 and the second switch unit 180 may be a bipolar transistor, a darlington transistor, a thyristor, a field effect transistor, an insulated gate bipolar thyristor, or other switch units. Taking the first switch unit 170 and the second switch unit 180 both using field effect transistors as an example, a drain of a first field effect transistor as the first switch unit 170 may be connected to a power supply terminal of the main board 190 through a resistor, a source of the first field effect transistor may be connected to a drain of a second field effect transistor as the second switch unit 180, a gate of the first field effect transistor is connected to the second terminal 152, a gate of the second field effect transistor is connected to the third terminal 153, a source of the second field effect transistor may be connected to a ground terminal of the main board 190, and an enable terminal of the converter 140 is connected between the resistor and the first field effect transistor, so that when the second terminal 152 and the third terminal 153 are pulled up to a high potential from a low potential, the first field effect transistor and the second field effect transistor are both turned on, a path is formed between the power supply terminal of the main board 190 through the resistor, the first field effect transistor and the second field effect transistor to the ground terminal of the main board 190, and an enable terminal of the converter 140 is converted from a high potential to a low potential, so that the converter 140 receives the first signal. When the first switch unit 170 and the second switch unit 180 skillfully utilize the I2C bus protocol for data transmission, the high potential characteristic still needs to be maintained when the two buses are idle, so as to detect whether the device plugged in the first interface 150 is the detection apparatus 200 or another electronic device 100. If the detection apparatus 200 is plugged in the first interface 150, since it uses the I2C protocol for data transmission, the input potentials of the second terminal 152 and the third terminal 153 are inevitably raised to a high potential, at this time, it can be determined that the detection apparatus 200 is plugged in the first interface 150, and the potential of the enable terminal of the converter 140 is converted from the high potential to a low potential, so that the converter 140 receives the first signal and switches the data transmission mode.
The above embodiments are only exemplary embodiments of the present invention, and are not intended to limit the present invention, and the scope of the present invention is defined by the claims. Various modifications and equivalents may be made by those skilled in the art within the spirit and scope of the present invention, and such modifications and equivalents should also be considered as falling within the scope of the present invention.

Claims (8)

1. An electronic device capable of being detected by a detection device is characterized by comprising a basic input and output system, an embedded controller, a first controller, a converter and a first interface, wherein the basic input and output system is connected with the converter through the embedded controller; the first interface is a USB Type-C interface, the converter is connected with a VBUS pin, an SBU1 pin and an SBU2 pin of the first interface, the converter is connected with an SBU1 pin and an SBU2 pin of the first controller, and the converter is connected with an I2C _ DATA pin and an I2C _ CLK pin of the embedded controller;
the electronic equipment further comprises a first switch unit and a second switch unit, the first switch unit is respectively connected with the power supply end of the electronic equipment, the SBU1 pin of the first interface and the second switch unit, the second switch unit is also respectively connected with the SBU2 pin of the first interface and the grounding end of the electronic equipment, and the enabling end of the converter is connected between the power supply end of the electronic equipment and the first switch unit;
under the condition that the first interface is connected with a second interface of the detection device, the electronic equipment supplies power to the detection device through a VBUS pin of the first interface, the input potentials of an SBU1 pin and an SBU2 pin of the first interface are pulled to high potentials, the potential of an enabling end of the converter is converted from the high potential to the low potential, so that the converter receives a first signal sent by the detection device and forms a first DATA path through an I2C _ DATA pin and an I2C _ CLK pin of the embedded controller and the SBU1 pin and the SBU2 pin of the first interface, and the basic input and output system sends detection DATA to the detection device based on the first DATA path;
under the condition that the first interface is connected with a third interface of another electronic device, the input potentials of the SBU1 pin and the SBU2 pin of the first interface are at a low potential, and the potential of the enabling end of the converter is at a high potential, so that the converter receives a second signal sent by another electronic device and is communicated with the SBU1 pin and the SBU2 pin of the first controller and the SBU1 pin and the SBU2 pin of the first interface to form a second data path, and data are transmitted between the electronic device and the another electronic device based on the second data path.
2. The electronic device of claim 1, wherein the first interface comprises a first terminal, a second terminal, and a third terminal, and when the first interface is connected to the second interface of the detection apparatus, the electronic device supplies power to the detection apparatus through the first terminal, and the converter is communicatively connected to the detection apparatus through the second terminal and the third terminal.
3. The electronic device of claim 2, wherein the embedded controller is connected to the converter through its fourth and fifth terminals, and when the converter receives the first signal, the converter connects the second terminal and the fourth terminal to form a first sub-path, and connects the third terminal and the fifth terminal to form a second sub-path, so as to form the first data path through the first sub-path and the second sub-path.
4. The electronic device of claim 2, wherein the converter receives the first signal generated by the detecting means by changing input potentials of the second terminal and the third terminal.
5. A detection system is characterized by comprising electronic equipment and a detection device, wherein the electronic equipment comprises a basic input and output system, an embedded controller, a first controller, a converter and a first interface, the basic input and output system is connected with the converter through the embedded controller, and the converter is respectively connected with the first controller and the first interface; the first interface is a USB Type-C interface, the converter is connected with a VBUS pin, an SBU1 pin and an SBU2 pin of the first interface, the converter is connected with an SBU1 pin and an SBU2 pin of the first controller, and the converter is connected with an I2C _ DATA pin and an I2C _ CLK pin of the embedded controller; the detection device comprises a detector, a power supply module and a second interface, the second interface is respectively connected with the input end of the power supply module and the detector, and the output end of the power supply module is connected between the second interface and the detector;
the electronic equipment further comprises a first switch unit and a second switch unit, the first switch unit is respectively connected with the power supply end of the electronic equipment, the SBU1 pin of the first interface and the second switch unit, the second switch unit is also respectively connected with the SBU2 pin of the first interface and the grounding end of the electronic equipment, and the enabling end of the converter is connected between the power supply end of the electronic equipment and the first switch unit;
under the condition that the first interface is connected with the second interface, the electronic equipment supplies power to the power supply module through a VBUS pin of the first interface, the power supply module pulls input potentials of an SBU1 pin and an SBU2 pin of the first interface to a high potential through the second interface, the potential of an enabling end of the converter is converted from the high potential to a low potential, and therefore a first signal is sent to the converter, the converter is communicated with an I2C _ DATA pin and an I2C _ CLK pin of the embedded controller and the SBU1 pin and the SBU2 pin of the first interface to be communicated with the embedded controller and the detector to form a first DATA path, and the basic input and output system sends detection DATA to the detector based on the first DATA path;
under the condition that the first interface is connected with a third interface of another electronic device, the input potentials of the SBU1 pin and the SBU2 pin of the first interface are at a low potential, and the potential of the enabling end of the converter is at a high potential, so that the converter receives a second signal sent by another electronic device and is communicated with the SBU1 pin and the SBU2 pin of the first controller and the SBU1 pin and the SBU2 pin of the first interface to form a second data path, and data are transmitted between the electronic device and the another electronic device based on the second data path.
6. The detection system according to claim 5, wherein the first interface comprises a first terminal, a second terminal and a third terminal, the second interface comprises a sixth terminal for electrically connecting with the first terminal, a seventh terminal for communicatively connecting with the second terminal and an eighth terminal for communicatively connecting with the third terminal, the sixth terminal is connected with the input terminal of the power module, the detectors are respectively connected with the seventh terminal and the eighth terminal, and the output terminal of the power module is respectively connected between the seventh terminal and the detectors and between the eighth terminal and the detectors.
7. The detection system according to claim 6, wherein the embedded controller includes a fourth terminal and a fifth terminal, and when the converter receives the first signal, the converter communicates the second terminal and the fourth terminal, such that the embedded controller communicates with the detector through the fourth terminal to form a first sub-path, and communicates the third terminal and the fifth terminal, such that the embedded controller communicates with the detector through the fifth terminal to form a second sub-path, such that the first data path is formed through the first sub-path and the second sub-path.
8. The detection system of claim 6, wherein the power module powers up and generates the first signal by changing input potentials of the second terminal and the third terminal through the seventh terminal and the eighth terminal.
CN202010429737.0A 2020-05-20 2020-05-20 Electronic equipment capable of being detected by detection device and detection system Active CN111611182B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010429737.0A CN111611182B (en) 2020-05-20 2020-05-20 Electronic equipment capable of being detected by detection device and detection system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010429737.0A CN111611182B (en) 2020-05-20 2020-05-20 Electronic equipment capable of being detected by detection device and detection system

Publications (2)

Publication Number Publication Date
CN111611182A CN111611182A (en) 2020-09-01
CN111611182B true CN111611182B (en) 2022-12-27

Family

ID=72201525

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010429737.0A Active CN111611182B (en) 2020-05-20 2020-05-20 Electronic equipment capable of being detected by detection device and detection system

Country Status (1)

Country Link
CN (1) CN111611182B (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104077203A (en) * 2014-07-16 2014-10-01 合肥联宝信息技术有限公司 Method and device for diagnosing computer hardware through USB interface
CN204044803U (en) * 2014-08-06 2014-12-24 浪潮电子信息产业股份有限公司 A kind of server master board trouble-shooter of USB interface
CN104375916A (en) * 2014-10-17 2015-02-25 合肥联宝信息技术有限公司 Method and device for directly achieving computer hardware diagnosis through USB interface
CN106326043A (en) * 2015-06-23 2017-01-11 联想(北京)有限公司 USB based diagnosis device and method

Also Published As

Publication number Publication date
CN111611182A (en) 2020-09-01

Similar Documents

Publication Publication Date Title
US10409757B2 (en) Hub
US10042801B2 (en) System for detecting universal serial bus (USB) device and method thereof
KR100905795B1 (en) Mobile device of supporting uart and usb communication using same connector and operating method there-of
US7921233B2 (en) Signal converter for an all-in-one USB connector that includes USB 2.0, USB 3.0 and eSATA
CN106445858B (en) Information processing method, information processing module and electronic equipment
CN108228509B (en) USB interface switching device and electronic equipment
CN116340230A (en) Hard disk expansion device and method
US7722406B2 (en) Output adapting device of plug-in power system
US8897705B2 (en) Data transmitting system and data transmitting method
CN111611182B (en) Electronic equipment capable of being detected by detection device and detection system
GB2439608A (en) Hot-pluggable video display card and computer system
US20200117248A1 (en) External electrical connector and computer system
US20120124253A1 (en) Switch circuit and method for switching input/output port and electronic device using the same
CN101175171A (en) TV capture unit and information processing apparatus
CN111984569A (en) Interface switching circuit and electronic device using same
CN213365379U (en) Server mainboard and one-way server
CN114691570B (en) Electronic equipment and signal switching method
CN106909198B (en) External device, electronic device and electronic system
US6530048B1 (en) I2C test single chip
CN209858632U (en) Current detection circuit
TWM617385U (en) Computer system combination and electronic device
CN209170528U (en) A kind of signal processing apparatus
CN114610663B (en) Device and server for supporting multiple boards
CN220290208U (en) Computer equipment and adapter card
CN220933447U (en) Multifunctional expansion board based on COM-Express

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant