CN111611182A - 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 PDFInfo
- Publication number
- CN111611182A CN111611182A CN202010429737.0A CN202010429737A CN111611182A CN 111611182 A CN111611182 A CN 111611182A CN 202010429737 A CN202010429737 A CN 202010429737A CN 111611182 A CN111611182 A CN 111611182A
- Authority
- CN
- China
- Prior art keywords
- terminal
- interface
- electronic device
- converter
- detection
- 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.)
- Granted
Links
Images
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
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/26—Functional testing
- G06F11/273—Tester hardware, i.e. output processing circuits
-
- 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
- G06F13/4291—Bus 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. Like this, detection device only needs to be connected with electronic equipment through first interface, and it is convenient to connect the dismantlement, has guaranteed the normal use function of first interface moreover.
Description
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 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, 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, 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, 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 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 beneficial effects that:
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 the electronic device and the detecting device according to the 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 terminal; 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 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 other 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 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 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 the 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 switch 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 switch 140, thereby enabling interaction with another electronic device through the first interface 150. SBU1 pin and SBU2 pin are the auxiliary pin in the USB Type-C interface, can have different usage under different use scenes, 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, but may be, for example, USB Type-a, USB Type-B 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 BIOS 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 BIOS 110 may be connected to the embedded Controller 130 through a south bridge chip 120, the BIOS 110 may be connected to the south bridge chip 120(Platform Controller Hub, abbreviated PCH) through a Serial Peripheral Interface (SPI abbreviation), 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 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 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 as examples of using field effect transistors, the drain of the first field effect transistor as the first switch unit 170 can be connected to the power supply terminal of the motherboard 190 through a resistor, the source of the first field effect transistor can be connected to the drain of the second field effect transistor as the second switch unit 180, the gate of the first field effect transistor is connected to the second terminal 152, the gate of the second field effect transistor is connected to the third terminal 153, the source of the second field effect transistor can be connected to the ground terminal of the motherboard 190, the 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, the power supply terminal of the motherboard 190 forms a path to the ground terminal of the motherboard 190 through the resistor, the first field effect transistor and the second field effect transistor, 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 utilize the I2C bus protocol to perform 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. 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.
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.
Under the condition that the first interface 150 is connected with 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 basic input and output system 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 obtained 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 with 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 communicate the embedded controller 130 with the first interface 150 to form a first data path when the detection apparatus 200 is plugged in, or communicate the first controller 160 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 the other 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 of the USB Type-C interface as the first interface 150, the second terminal 152 may be an SBU1 pin of the USB Type-C interface, and the third terminal 153 may be an SBU2 pin of the USB Type-C interface. Correspondingly, the sixth terminal 211 is a VBUS pin in the USB Type-C interface as the second interface 210, the seventh terminal 212 may be an SBU1 pin in the USB Type-C interface, the eighth terminal 213 may be an SBU2 pin in 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 the SBU1 pin and the SBU2 pin at least through the converter 140, thereby being able to send detection data to the detector 230. When the switch 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 switch 140, thereby being able to interact with another electronic device 100 through the first interface 150. SBU1 pin and SBU2 pin are the auxiliary pin in the USB Type-C interface, can have different usage under different use scenes, and electronic device 100 transmits the detection data to detector 230 through two pins of SBU1 pin and SBU2 pin, can avoid influencing the normal use function of 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 BIOS 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 BIOS 110 may be connected to the embedded Controller 130 through a south bridge chip 120, the BIOS 110 may be connected to the south bridge chip 120(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 as examples of using field effect transistors, the drain of the first field effect transistor as the first switch unit 170 can be connected to the power supply terminal of the motherboard 190 through a resistor, the source of the first field effect transistor can be connected to the drain of the second field effect transistor as the second switch unit 180, the gate of the first field effect transistor is connected to the second terminal 152, the gate of the second field effect transistor is connected to the third terminal 153, the source of the second field effect transistor can be connected to the ground terminal of the motherboard 190, the 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, the power supply terminal of the motherboard 190 forms a path to the ground terminal of the motherboard 190 through the resistor, the first field effect transistor and the second field effect transistor, 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 utilize the I2C bus protocol to perform data transmission, the high potential characteristic 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 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 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 (10)
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;
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 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.
2. The electronic device of claim 1, wherein the first interface comprises a first terminal, a second terminal, and a third terminal, and wherein 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 according to claim 2, wherein the converter receives the first signal generated by the detection means by changing input potentials of the second terminal and the third terminal.
5. The electronic device according to claim 4, further comprising a first switch unit and a second switch unit, wherein 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.
6. 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 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, 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, 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 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.
7. The detection system of claim 6, 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 to the first terminal, a seventh terminal for communicatively connecting to the second terminal, and an eighth terminal for communicatively connecting to the third terminal, the sixth terminal is connected to the input terminal of the power module, the detectors are connected to the seventh terminal and the eighth terminal, respectively, and the output terminal of the power module is connected between the seventh terminal and the detectors, and between the eighth terminal and the detectors, respectively.
8. The detection system according to claim 7, 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.
9. The detection system of claim 7, wherein the power module powers up and changes the input potentials of the second terminal and the third terminal through the seventh terminal and the eighth terminal to generate the first signal.
10. The detection system according to claim 9, wherein the electronic device further comprises 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.
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 true CN111611182A (en) | 2020-09-01 |
CN111611182B 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) |
Citations (4)
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 |
-
2020
- 2020-05-20 CN CN202010429737.0A patent/CN111611182B/en active Active
Patent Citations (4)
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 |
---|---|
CN111611182B (en) | 2022-12-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10409757B2 (en) | Hub | |
US10042801B2 (en) | System for detecting universal serial bus (USB) device and method thereof | |
US7921233B2 (en) | Signal converter for an all-in-one USB connector that includes USB 2.0, USB 3.0 and eSATA | |
KR100905795B1 (en) | Handheld terminal that supports VR and USB communication with a single connector and its operation method | |
CN102402477B (en) | Chip with computer system environment information monitoring module and computer system | |
US20120311215A1 (en) | Peripheral component interconnect express expansion system and method | |
CN106445858B (en) | Information processing method, information processing module and electronic equipment | |
US8897705B2 (en) | Data transmitting system and data transmitting method | |
US20070157034A1 (en) | Circuit for protecting motherboard | |
WO2015085710A1 (en) | Electronic device | |
CN111984569A (en) | Interface switching circuit and electronic device using same | |
CN101739320A (en) | Error detection device and method for server | |
CN111611182B (en) | Electronic equipment capable of being detected by detection device and detection system | |
TW201013527A (en) | Mobile communication apparatus and method of controlling the same | |
CN103473208A (en) | Transmission system | |
CN217606353U (en) | Interface circuit and electronic device | |
US6530048B1 (en) | I2C test single chip | |
CN111886585A (en) | Terminal device, debugging card and debugging method | |
CN213365379U (en) | Server mainboard and one-way server | |
CN101840384B (en) | computer device | |
CN209858632U (en) | Current detection circuit | |
TWM617385U (en) | Computer system combination and electronic device | |
CN209170528U (en) | A kind of signal processing apparatus | |
CN218213950U (en) | Mainboard based on godson LS7A2000 controller | |
CN221352072U (en) | Signal switching device and electronic equipment |
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 |