Interface circuit, interface switching method, display device and data transmission system
By designing an interface circuit including main control circuit and switch circuit, the problem of single function of HDMI interface is solved, and the bidirectional function of HDMI interface is realized, and data can be received and output at the same time.
Patent Information
- Application Number
- CN202211249410.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-12
- Publication Date
- 2025-02-28
- Estimated Expiration
- 2042-10-12
AI Technical Summary
The HDMI interface has a single function and cannot be used as an input and output interface at the same time.
An interface circuit is designed, including a main control circuit, a switching circuit and an HDMI interface. The main control circuit outputs a specific level signal and controls the on-state of the switching circuit, so that the HDMI interface can realize input and output switching.
It realizes the two-way function of the HDMI interface, which can both receive and output data, enriching the functionality of the interface.
Smart Images

Figure HDA0003887341090000011 
Figure HDA0003887341090000012 
Figure HDA0003887341090000013
Abstract
Description
Technical Field
[0001] The present application relates to the field of electronic technology, and in particular to an interface circuit, an interface switching method, a display device and a data transmission system. Background Art
[0002] A high definition multimedia interface (HDMI) is usually provided in a display device, and the display device can send or receive audio and video via the HDMI.
[0003] HDMI in the related art can usually only be used as an input interface so that a display device can receive audio and video sent by other devices through the input interface; or can only be used as an output interface so that a display device can send audio and video to other devices through the output interface. It can be seen that the function of HDMI is relatively single. Summary of the invention
[0004] The present application provides an interface circuit, an interface switching method, a display device and a data transmission system, which can solve the problem that the HDMI function in the related art is relatively single. The technical solution is as follows:
[0005] In one aspect, an interface circuit is provided, the interface circuit comprising: a main control circuit, a first switch circuit, a second switch circuit and a high-definition multimedia interface HDMI, the HDMI comprising: a hot plug detection pin;
[0006] The configuration end of the main control circuit is connected to the first end of the first switch circuit and the first end of the second switch circuit respectively, the control end of the main control circuit is connected to the second end of the second switch circuit, and the second end of the first switch circuit and the third end of the second switch circuit are both connected to the hot plug detection pin;
[0007] The main control circuit is used to: if data is received through the HDMI, output a first level signal through the configuration end, and control the first end and the third end of the second switch circuit to be turned on; and if data is output through the HDMI, control the first end and the third end of the second switch circuit to be turned off;
[0008] The first switch circuit is configured to: output a third level signal through its first end if a second level signal is received through its second end, and output the fourth level signal through its first end if a fourth level signal is received through its second end;
[0009] The first level signal, the second level signal and the third level signal are all high level signals relative to the fourth level signal.
[0010] On the other hand, an interface switching method is provided, which is applied to a main control circuit in an interface circuit, wherein the interface circuit further comprises: a first switch circuit, a second switch circuit and a high-definition multimedia interface HDMI, wherein the HDMI comprises: a hot plug detection pin, wherein a configuration end of the main control circuit is respectively connected to a first end of the first switch circuit and a first end of the second switch circuit, a control end of the main control circuit is connected to a second end of the second switch circuit, a second end of the first switch circuit and a third end of the second switch circuit are both connected to the hot plug detection pin, and the first switch circuit is used to: if a second level signal is received through its second end, then output a third level signal through its first end, and if a fourth level signal is received through its second end, then output the fourth level signal through its first end; the method comprises:
[0011] If data is received via the HDMI, a first level signal is outputted via the configuration terminal, and the first terminal and the third terminal of the second switch circuit are controlled to be turned on;
[0012] If data is output through the HDMI, controlling the first end and the third end of the second switch circuit to be disconnected;
[0013] The first level signal, the second level signal and the third level signal are all high level signals relative to the fourth level signal.
[0014] On the other hand, an interface switching device is provided, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the interface switching method described in the above aspects is implemented.
[0015] On the other hand, a computer-readable storage medium is provided, in which a computer program is stored. The computer program is loaded and executed by a processor to implement the interface switching method as described in the above aspects.
[0016] On the other hand, a computer program product comprising instructions is provided, and when the computer program product is executed on the computer, the computer is enabled to execute the interface switching method described in the above aspects.
[0017] On the other hand, a display device is provided, comprising: a display panel, and the interface circuit as described in the above aspect.
[0018] On the other hand, a data transmission system is provided, the system comprising an external device and the display device as described in the above aspects.
[0019] The beneficial effects of the technical solution provided by this application include at least:
[0020] The present application provides an interface circuit, an interface switching method, a display device, and a data transmission system. The main control circuit in the interface circuit can output a first level signal through a configuration end, and control the first end of the second switch circuit to be turned on with the third end, so that HDMI can receive data as an input interface. The first switch circuit in the interface circuit can output a third level signal through its first end after receiving a second level signal through its second end, so that HDMI can output data as an output interface. It can be seen that the HDMI in the interface circuit provided in the embodiment of the present application can both receive data and output data, and the functions of HDMI are relatively rich. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0022] Figure 1 is a structural schematic diagram of an interface circuit provided in an embodiment of the present application;
[0023] Figure 2 is a schematic diagram of the structure of another interface circuit provided in an embodiment of the present application;
[0024] Figure 3 is a structural diagram of another interface circuit provided in an embodiment of the present application;
[0025] Figure 4 is a structural diagram of another interface circuit provided in an embodiment of the present application;
[0026] Figure 5 This is a schematic diagram of a connection between an interface device and a control device provided in an embodiment of the present application;
[0027] Figure 6 is a schematic diagram of a control device determining role setting information provided by an embodiment of the present application;
[0028] Figure 7 It is a schematic diagram of an interface device determining a role of HDMI provided by an embodiment of the present application;
[0029] Figure 8 is a flow chart of an interface switching method provided in an embodiment of the present application;
[0030] Fig. 9 is a structural block diagram of a display device provided in an embodiment of the present application;
[0031] Fig.10 It is a structural diagram of a data transmission system provided in an embodiment of the present application. DETAILED DESCRIPTION
[0032] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.
[0033] The present application embodiment provides an interface circuit. Figure 1 The interface circuit includes: a main control circuit 01, a first switch circuit 02, a second switch circuit 03 and an HDMI 04. The HDMI 04 includes: a hot plug detect (HPD) pin, and the HDMI 04 is used to connect to an external device.
[0034] from Figure 1 It can be seen that the configuration (SET) terminal of the main control circuit 01 is respectively connected to the first terminal of the first switch circuit 02 and the first terminal of the second switch circuit 03. The control (EN1) terminal of the main control circuit 01 is connected to the second terminal of the second switch circuit 03. The second terminal of the first switch circuit 02 and the third terminal of the second switch circuit 03 are both connected to the hot plug detection pin of HDMI 04.
[0035] It is understandable that if the main control circuit 01 needs to receive data through HDMI 04, that is, HDMI04 needs to be used as the data input interface, the main control circuit 01 needs to output a high-level signal to the external device through the hot plug detection pin of HDMI 04 after detecting that HDMI 04 is connected to the external device, so that the external device can send data to HDMI 04 after receiving the high-level signal.
[0036] If the main control circuit 01 needs to output data through HDMI 04, that is, needs HDMI 04 as an output interface, the main control circuit 01 needs to detect the level of the signal received by the hot plug detection pin to determine whether data can be sent to the external device connected to HDMI 04.
[0037] Wherein, the data may include: audio data and / or video data. If the main control circuit 01 in the interface circuit receives data through HDMI 04, the interface device to which the interface circuit belongs can be used as a data terminal for receiving data. Correspondingly, the external device connected to the HDMI 04 can be used as a data source for outputting data. If the main control circuit 01 in the interface circuit outputs data through HDMI 04, the interface device to which the interface circuit belongs can be used as a data source for outputting data. Correspondingly, the external device connected to the HDMI 04 can be used as a data terminal for receiving data. Optionally, the interface device can be one of the following devices: a display device, a server, and a TV box. For example, the interface device can be a display device.
[0038] In the embodiment of the present application, if the main control circuit 01 needs to receive data through HDMI 04, it can output a first level signal through the configuration end, and control the first end and the third end of the second switch circuit 03 to be turned on. In this way, the first level signal output by the configuration end can be transmitted to the hot plug detection pin of HDMI 04 through the second switch circuit 03. If the main control circuit 01 needs to output data through HDMI 04, it can control the first end and the third end of the second switch circuit 03 to be disconnected, so as to avoid the third level signal output by the first switch circuit 02 being transmitted to the hot plug detection pin through the second switch circuit 03, causing signal interference.
[0039] The first switch circuit 02 can be used to: if a second level signal is received through its second end, then output a third level signal through its first end; and if a fourth level signal is received through its second end, then output a fourth level signal through its first end. The first level signal, the second level signal and the third level signal are all high level signals relative to the fourth level signal.
[0040] Based on the above analysis, it can be known that when the main control circuit 01 needs to receive data through HDMI 04, that is, HDMI 04 is needed as an input interface, the main control circuit 01 can output a first level signal (that is, a high level signal) to the hot plug detection pin of HDMI 04 through the second switching circuit 03, so that the external device connected to HDMI 04 can receive the first level signal and then send data to HDMI 04.
[0041] When the main control circuit 01 needs to output data through HDMI 04, that is, HDMI 04 is needed as an output interface, since the first switch circuit 02 can output a third level signal (also a high level signal) to the main control circuit 01 after receiving the second level signal (that is, a high level signal) from the hot plug detection pin, and can output a low level signal when the hot plug detection pin outputs a low level signal, it can ensure that the main control circuit 01 can detect the high and low levels of the level signal received from the hot plug detection pin, and output data through HDMI 04 after determining that the hot plug detection pin receives a high level signal.
[0042] In summary, the embodiment of the present application provides an interface circuit, in which the main control circuit in the interface circuit can output a first level signal through the configuration end, and control the first end of the second switch circuit to be turned on with the third end, so that HDMI can receive data as an input interface. The first switch circuit in the interface circuit can output a third level signal through its first end after receiving a second level signal through its second end, so that HDMI can output data as an output interface. It can be seen that the HDMI in the interface circuit provided in the embodiment of the present application can both receive data and output data, and the functions of HDMI are relatively rich.
[0043] Optionally, the level values of the first level signal and the second level signal may be the same or different.
[0044] Figure 2 is a schematic diagram of the structure of another interface circuit provided in an embodiment of the present application. Figure 2 It can be seen that the interface circuit may further include: a third switch circuit 05. The control end of the main control circuit 01 may also be connected to the first end of the third switch circuit 05. The second end of the third switch circuit 05 may be connected to the second end of the first switch circuit 02, and the third end of the third switch circuit 05 may be connected to the hot plug pin 041 of the HDMI 04.
[0045] The main control circuit 01 can also be used to: if data is received through HDMI 04, then control the second end of the third switch circuit 05 to be disconnected from the third end; and if data is output through HDMI 04, then control the second end of the third switch circuit 05 to be connected. In this way, when HDMI 04 is used as an input interface, it can be avoided that the high-level signal output by the configuration end of the main control circuit 01 triggers the first end of the first switch circuit 02 to output a high-level signal, thereby affecting the judgment of the main control circuit 01, that is, it can be avoided to cause interference to the main control circuit 01.
[0046] In the embodiment of the present application, the second switch circuit 03 can be used to: if the first switch signal is received through the second end, control the first end and the third end to be turned on, and if the second switch signal is received through the second end, control the first end and the third end to be turned off. The third switch circuit 05 can be used to: if the first switch signal is received through the first end, control the second end and the third end to be turned off, and if the second switch signal is received through the first end, control the second end and the third end to be turned on.
[0047] Based on this, the main control circuit 01 can be used for: if data is received via HDMI, then a first switch signal is output through the control end to connect the first end of the second switch circuit 03 with the third end, and disconnect the second end of the third switch circuit 05 with the third end; and if data is output via HDMI, then a second switch signal is output through the control end to disconnect the first end of the second switch circuit 03 with the third end, and connect the second end of the third switch circuit 05 with the third end.
[0048] Optionally, the first switch signal may be a low level signal relative to the second switch signal.
[0049] Figure 3 is a schematic diagram of the structure of another interface circuit provided in an embodiment of the present application. Figure 3 It can be seen that the HDMI 04 may also include: a power pin (ie Figure 3 The interface circuit may further include: a fourth switch circuit 06.
[0050] from Figure 3 It can be seen that the control end of the main control circuit 01 can also be connected to the first end of the fourth switch circuit 06, the second end of the fourth switch circuit 06 can be connected to the first power supply end VDD1, and the third end of the fourth switch circuit is connected to the power pin of HDMI 04. Among them, the first power supply end VDD1 can be the power supply end of the interface device.
[0051] In the embodiment of the present application, if the interface device is used as a data terminal, that is, the main control circuit 01 needs to receive data through HDMI 04, the data source end can power the display device through HDMI 04. If the interface device is used as a data source end, that is, the main control circuit 01 needs to output data through HDMI 04, the interface device needs to power the data terminal through HDMI 04.
[0052] Based on this, the main control circuit 01 can also be used to: if data is received through HDMI 04, control the second end and the third end of the fourth switch circuit 06 to be disconnected; and if data is output through HDMI 04, control the second end and the third end of the fourth switch circuit to be turned on, so that the first power supply terminal VDD1 outputs a power signal to the power pin 042.
[0053] In an embodiment of the present application, the fourth switch circuit 06 can be used to: if a first switch signal is received through its first end, control its second end and the third end to be disconnected, and if a second switch signal is received through its first end, control its second end and the third end to be connected.
[0054] Based on this, the main control circuit 01 can also be used for: if data is received through HDMI 04, then a first switching signal is output to the first end of the fourth switch circuit 06 through the control end to disconnect the second end of the fourth switch circuit 06 from the third end; and if data is output through HDMI 04, then a second switching signal is output to the first end of the fourth switch circuit 06 through the control end to disconnect the second end of the fourth switch circuit 06 from the third end.
[0055] Figure 4 Schematic diagram of another interface circuit provided in an embodiment of the present application. Figure 4 It can be seen that the third terminal of the first switch circuit 02 can be connected to the second power supply terminal VDD2. The first switch circuit 02 is used to: if a second level signal is received through its second terminal, control its first terminal and the third terminal to be connected; and if a fourth level signal is received through its second terminal, control its first terminal and the third terminal to be disconnected. The second power supply terminal is used to provide a third level signal.
[0056] Please continue to see Figure 4 The main control circuit 01 may be a main control chip, for example, a microcontroller unit (MCU). The first switch circuit 02, the second switch circuit 03 and the third switch circuit 05 may all be logic gate chips, and the fourth switch circuit 06 may be a voltage conversion chip. Figure 4 It can be seen that the first switch circuit 02 may further include a ground (GND) terminal, which is grounded. The second switch circuit 03 may further include: a first power-on terminal (i.e. Figure 4 The first power-on terminal is connected to the second power supply terminal VDD2, and the ground terminal is grounded. The third switch circuit 05 may also include: a second power-on terminal and a ground terminal. The second power-on terminal is connected to the second power supply terminal VDD2, and the ground terminal is grounded. The fourth switch circuit 06 may also include: a ground terminal, which is grounded.
[0057] It can be understood that after the second end and the third end of the fourth switch circuit 06 are connected, the level signal output by the third end may be the level signal input by the second end.
[0058] Optional, such as Figure 4As shown, the interface circuit may further include: a first capacitor C1 to a fourth capacitor C4, and a first resistor R1 to a fourth resistor R4. Among them, the first end of the first capacitor C1 is connected to the power pin of HDMI 04, and the second end of the first capacitor C1 is grounded. The first end of the second capacitor C2 is connected to the first power supply terminal VDD1, and the second end of the second capacitor C2 is grounded. The first end of the third capacitor C3 is connected to the first power-on terminal of the second open circuit 03, and the second end of the third capacitor C3 is grounded. The first end of the fourth capacitor C4 is connected to the third end of the first switch circuit 02, and the second end of the fourth capacitor C4 is grounded. The first end of the fifth capacitor C5 is connected to the second power-on terminal of the third switch circuit 05, and the second end of the fifth capacitor C5 is grounded.
[0059] A first end of the first resistor R1 is connected to the configuration end of the main control circuit 01, and a second end of the first resistor R1 is connected to a first end of the first switch circuit 02. A first end of the second resistor R2 is connected to a hot plug detection pin of HDMI 04, and a second end of the second resistor R2 is connected to a ground end of the second switch circuit 03. A first end of the third resistor R3 is connected to a hot plug detection pin of HDMI 04, and a second end of the third resistor R3 is connected to a third end of the second switch circuit 03. A first end of the fourth resistor R4 is connected to the configuration end of the main control circuit 01, and a second end of the fourth resistor R4 is grounded.
[0060] from Figure 4 It can also be seen that HDMI 04 can also include: multiple ground pins, serial data (serialdata, SDA) pins, serial clock (serial clock, SCL) pins, reserved pins, optional consumer electronics control (consumer electronics control, CEC) pins, clock (clock, CLK) positive (positive, P) signal pins, clock shielding (shielded, S) pins, clock negative (negative, N) signal pins, zero groups of data transmission pins, one group of data transmission pins and two groups of data transmission pins.
[0061] Among them, each group of data transmission pins from the zero group of data transmission pins to the second group of data transmission pins includes: a data (data, D) positive signal transmission pin (also called a D+ pin), a data negative signal transmission pin (also called a D- pin) and a data shielding pin.
[0062] And, if Figure 4As shown, the SDA pin, the SCL pin, the clock positive signal pin, the clock negative signal pin, the data positive signal transmission pin and the data negative signal transmission pin in the zero group of data transmission pins, the data positive signal transmission pin and the data negative signal transmission pin in the first group of data transmission pins, and the data positive signal transmission pin and the data negative signal transmission pin in the second group of data transmission pins are all connected to the main control circuit 01. Each ground pin, the clock shielding pin, and each data shielding pin are grounded.
[0063] In the embodiment of the present application, when the interface device to which the interface circuit belongs is used as the data source end, if the configuration end of the main control circuit 01 receives a high-level signal output from the first switch circuit 02, and the data includes video data, the interface device can read the external display device identification data (extended display identification data, EDID) of the data terminal (i.e., the external device), and the EDID at least includes the resolution of the data terminal. Afterwards, the interface device can send video data adapted to the resolution of the data terminal to the data terminal.
[0064] Understandably, see Figure 5 , the interface device 110 can establish a communication connection with the control device 120. The control device 120 can send role setting information for HDMI 04 to the interface device 110, and the main control circuit 01 in the interface device can determine the role of HDMI 04 based on the role setting information, and then control whether the configuration terminal outputs the first level signal based on the role of HDMI 04, and control the conduction state of the second switch circuit 03. Among them, the role of HDMI 04 can be one of the following roles: input interface and output interface.
[0065] Optionally, the control device may be a mobile terminal or a remote control device. The mobile terminal may be a mobile phone, a tablet computer or a wearable device. The remote control device may be a remote controller. The communication connection may be a Bluetooth connection or an infrared connection.
[0066] For example, assuming that the control device is a mobile terminal (such as a mobile phone), see Figure 6 After the mobile terminal establishes a communication connection with the interface device, the character setting interface can be displayed. Figure 6 It can be seen that the role setting interface may include: data source option a and data terminal option b.
[0067] Please continue to see Figure 6, the user selects data source option a, then the mobile terminal can determine that the interface device needs to be the data source end in response to the user's selection operation for the data source option a, and then can send role setting information for indicating that the HDMI of the interface device is used as the output interface to the interface device. Correspondingly, after receiving the role setting information, the interface device can determine the role of its HDMI.
[0068] It is understandable that, in the case where the interface device is a display device, the interface device can display multiple candidate roles of HDMI 04. The multiple candidate roles include: an input interface and an output interface. Afterwards, the interface device can determine the target role as the role of HDMI 04 in response to a selection operation for the target role among the multiple candidate roles.
[0069] For example, see Figure 7 The interface device may display its menu bar, which includes: HDMI role setting option c. In response to the touch operation on the HDMI role setting option c, the interface device may display a data source terminal option c1 corresponding to the output interface and a data terminal option c2 corresponding to the input interface.
[0070] If the user selects the data terminal option c2, the interface device may determine HDMI as the input interface in response to the user's selection operation on the data terminal option c2, that is, the interface device functions as a data terminal.
[0071] In summary, the embodiment of the present application provides an interface circuit, in which the main control circuit in the interface circuit can output a first level signal through the configuration end, and control the first end of the second switch circuit to be turned on with the third end, so that HDMI can receive data as an input interface. The first switch circuit in the interface circuit can output a third level signal through its first end after receiving a second level signal through its second end, so that HDMI can output data as an output interface. It can be seen that the HDMI in the interface circuit provided in the embodiment of the present application can both receive data and output data, and the functions of HDMI are relatively rich.
[0072] Figure 8 is a flow chart of an interface switching method provided in an embodiment of the present application, which can be applied to the main control circuit in the interface circuit provided in the above embodiment. Figure 8 , the method comprising:
[0073] Step 101: If data is received via HDMI, a first level signal is output via the configuration terminal, and the first terminal and the third terminal of the second switch circuit are controlled to be turned on.
[0074] If the main control circuit needs to receive data through HDMI, that is, needs HDMI as an input interface, the main control circuit needs to output a high-level signal to the external device through the HDMI hot plug detection pin after detecting that the HDMI is connected to the external device, so that the external device can send data to the display device after receiving the high-level signal.
[0075] Therefore, if the main control circuit needs to receive data via HDMI, it can output a first level signal through the configuration end, and control the first end and the third end of the second switch circuit to be turned on, so that the first level signal (i.e., a high level signal) is transmitted to the hot plug detection pin of the HDMI through the second switch circuit, and then transmitted to the external device.
[0076] Step 102: If data is output via HDMI, the first end and the third end of the second switch circuit are controlled to be disconnected.
[0077] If the main control circuit outputs data through HDMI, that is, HDMI is required as the output interface, the main control circuit needs to detect the level of the signal received by the hot plug detection pin to determine whether data can be sent to the external device connected to HDMI.
[0078] Since the first switch circuit can output a third level signal (also a high level signal) through its first end when receiving a second level signal (i.e., a high level signal) through its second end, and output a fourth level signal to its first end after receiving a fourth level signal (i.e., a low level signal) through its second end, it can ensure that the main control circuit can detect the high and low levels of the level signal received from the hot plug detection pin, and output data through HDMI 04 after determining that the hot plug detection pin has received a high level signal.
[0079] Furthermore, if the first end and the third end of the second switch circuit are connected at this time, the third level signal output by the first switch circuit will be output to the hot plug detection pin through the second switch circuit, thereby causing signal interference. Therefore, the main control circuit can control the first end and the third end of the second switch circuit to be disconnected to avoid signal interference.
[0080] In summary, the embodiment of the present application provides an interface switching method. If the main control circuit receives data through HDMI, it can output a first level signal through the configuration end, and control the first end and the third end of the second switch circuit to be turned on, so that HDMI can receive data as an input interface. The first switch circuit can output a third level signal through its first end after receiving the second level signal through its second end, so that HDMI can output data as an output interface. It can be seen that the method provided by the embodiment of the present application enables HDMI to both receive data and output data, thereby enriching the functions of HDMI.
[0081] An embodiment of the present application provides an interface switching device, which may include a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the interface switching method provided in the above embodiment is implemented, for example Figure 8 The method shown.
[0082] The embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored. The computer program is loaded by a processor and executes the interface switching method provided in the above embodiment, for example Figure 8 The method shown.
[0083] The present application also provides a computer program product including instructions. When the computer program product is run on a computer, the computer executes the interface switching method provided by the above method embodiment. For example, Figure 8 The method shown.
[0084] The present application embodiment adopts a display device, see Fig. 9 The display device 110 may include: a display panel 1101 and an interface circuit 1102. The interface circuit 1102 may be the interface circuit provided in the above embodiment, for example Figures 1 to 4 Any of the interface circuits shown.
[0085] Optionally, the display device may be a medical display. The display device may include one or more interface circuits. For example, if the display device is used as a data terminal or a data source, it may include at least one interface circuit. If the display device is used as both a data source and a data terminal, it may include multiple interface circuits.
[0086] Since the HDMI in the interface circuit can be used as an input interface to receive data and as an output interface to output data, the display device can switch between the data source end and the data terminal through an interface circuit, without setting an interface for receiving data and an interface for outputting data for the display device, thereby reducing the manufacturing cost of the display device.
[0087] Furthermore, for a display device whose size is smaller than the size threshold, i.e., a small-sized display device, the small-sized display device can be connected to more data sources (or data terminals) when used as a data terminal (or data source terminal). The size threshold may be 10 inches.
[0088] The present application also provides a data transmission system. Fig.10The system includes: a display device 110 and an external device 130. The display device 110 is connected to the external device 130. The display device 110 may include the interface circuit provided in the above embodiment, for example Figure 4 The interface circuit is shown.
[0089] Optionally, the external device 130 may be one of the following devices: a TV box, a display device, and a server.
[0090] It can be understood that if the external device 130 is a display device (for the sake of distinction, the display device is referred to as the first display device), and the display device including the interface circuit provided in the embodiment of the present application (for the sake of distinction, the display device provided in the embodiment of the present application is referred to as the second display device) is used as a data terminal, then the content displayed by the second display device can be the same as the content displayed by the first display device.
[0091] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.
[0092] It should be understood that the "and / or" mentioned in this article indicates that there may be three relationships. For example, A and / or B may indicate that A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the objects associated with each other are in an "or" relationship. In addition, the term "at least one" in this application means one or more, and the term "plurality" in this application means two or more.
[0093] In the present application, the terms "first", "second", etc. are used to distinguish between identical or similar items with substantially identical roles and functions. It should be understood that there is no logical or temporal dependency between "first", "second", and "nth", nor is there a limitation on the number and execution order. For example, without departing from the scope of the various examples described, a first switch circuit may be referred to as a second switch circuit, and similarly, a second switch circuit may be referred to as a first switch circuit.
[0094] The above description is only an exemplary embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.
Claims
1. An interface circuit, characterized in that: The interface circuit includes: a main control circuit, a first switch circuit, a second switch circuit and a high-definition multimedia interface HDMI, and the HDMI includes: a hot plug detection pin; The configuration end of the main control circuit is connected to the first end of the first switch circuit and the first end of the second switch circuit respectively, the control end of the main control circuit is connected to the second end of the second switch circuit, and the second end of the first switch circuit and the third end of the second switch circuit are both connected to the hot plug detection pin; The main control circuit is used to: if data is received through the HDMI, output a first level signal through the configuration end, and control the first end and the third end of the second switch circuit to be turned on; and if data is output through the HDMI, control the first end and the third end of the second switch circuit to be turned off; The first switch circuit is configured to: output a third level signal through its first end if a second level signal is received through its second end, and output the fourth level signal through its first end if a fourth level signal is received through its second end; The first level signal, the second level signal and the third level signal are all high level signals relative to the fourth level signal.
2. The interface circuit according to claim 1, characterized in that: The interface circuit further includes: a third switch circuit; The control end of the main control circuit is also connected to the first end of the third switch circuit, the second end of the third switch circuit is connected to the second end of the first switch circuit, and the third end of the third switch circuit is connected to the hot-swap pin; The main control circuit is also used for: controlling the second end and the third end of the third switch circuit to be disconnected if data is received through the HDMI; and controlling the second end and the third end of the third switch circuit to be connected if data is output through the HDMI.
3. The interface circuit according to claim 2, characterized in that: The main control circuit is used to: output a first switch signal through the control terminal if data is received through the HDMI, and output a second switch signal through the control terminal if data is output through the HDMI; The second switch circuit is used to: if the first switch signal is received through the second end, control the first end and the third end to be turned on, and if the second switch signal is received through the second end, control the first end and the third end to be turned off; The third switch circuit is used to control the second end and the third end to be disconnected if the first switch signal is received through the first end thereof, and to control the second end and the third end to be connected if the second switch signal is received through the first end thereof.
4. The interface circuit according to claim 3, characterized in that: The first switch signal is a low level signal relative to the second switch signal.
5. The interface circuit according to any one of claims 1 to 4, characterized in that: The HDMI further comprises: a power pin, and the interface circuit further comprises: a fourth switch circuit; The control end of the main control circuit is also connected to the first end of the fourth switch circuit, the second end of the fourth switch circuit is connected to the first power supply end, and the third end of the fourth switch circuit is connected to the power supply pin; The main control circuit is also used for: if data is received through the HDMI, then controlling the second end and the third end of the fourth switch circuit to be disconnected; and if data is output through the HDMI, then controlling the second end and the third end of the fourth switch circuit to be connected, so that the first power supply end outputs a power signal to the power pin.
6. The interface circuit according to claim 5, characterized in that: The main control circuit is used to: if data is received through the HDMI, output a first switch signal to the first end of the fourth switch circuit through the control end; and if data is output through the HDMI, output a second switch signal to the first end of the fourth switch circuit through the control end; The fourth switch circuit is used to control the second end and the third end to be disconnected if the first switch signal is received through the first end thereof, and to control the second end and the third end to be connected if the second switch signal is received through the first end thereof.
7. The interface circuit according to any one of claims 1 to 4, characterized in that: The third terminal of the first switch circuit is connected to the second power supply terminal; The first switch circuit is used to: if the second level signal is received through the second end, the controller connects the first end and the third end; if the fourth level signal is received through the second end, the controller disconnects the first end and the third end; Wherein, the second power supply end is used to provide the third level signal.
8. An interface switching method, characterized in that: A main control circuit applied to an interface circuit, the interface circuit further comprising: a first switch circuit, a second switch circuit and a high-definition multimedia interface HDMI, the HDMI comprising: a hot plug detection pin, a configuration end of the main control circuit connected to the first end of the first switch circuit and the first end of the second switch circuit respectively, a control end of the main control circuit connected to the second end of the second switch circuit, a second end of the first switch circuit and a third end of the second switch circuit both connected to the hot plug detection pin, the first switch circuit being used to: if a second level signal is received through its second end, then output a third level signal through its first end, and if a fourth level signal is received through its second end, then output the fourth level signal through its first end; the method comprising: If data is received via the HDMI, a first level signal is outputted via the configuration terminal, and the first terminal and the third terminal of the second switch circuit are controlled to be turned on; If data is output through the HDMI, controlling the first end and the third end of the second switch circuit to be disconnected; The first level signal, the second level signal and the third level signal are all high level signals relative to the fourth level signal.
9. A display device, characterized in that: The display device comprises: a display panel, and an interface circuit as claimed in any one of claims 1 to 7.
10. A data transmission system, characterized in that: The system comprises an external device and the display device as claimed in claim 9.
Citation Information
Patent Citations
System for automatic identification HDMI external connection environment
CN204539302U
Automatic identification HDMI external connection processing device based on HDMI detection power supply
CN213305559U