Interface, function line and server
By designing switching circuits and detection circuits on the server to identify and switch functional lines, the problem of the interface occupying space is solved, and interface function reuse and diversified expansion of server functions are realized.
Patent Information
- Application Number
- PCT/CN2023/131567
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-10
- Filing Date
- 2023-11-14
- Publication Date
- 2024-09-19
AI Technical Summary
The interface on the server occupies a large amount of installation space, which limits the possibility of setting up other devices and adding functions on the server.
An interface is designed, including a switching circuit, a detection circuit, a video interface circuit and a serial port circuit. The detection circuit identifies the type of functional lines and switches the corresponding functional circuit connections to achieve functional reuse, reduce the number of interfaces and save space.
It realizes the function reuse of interfaces, saves the number of interfaces on the server, provides more installation space, and supports the diversified expansion of server functions.
Smart Images

Figure CN2023131567_19092024_PF_FP_ABST
Abstract
Description
Interfaces, functional lines and servers
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims priority to the Chinese patent application filed with the China Patent Office on March 10, 2023, with application number 202310227065.9 and application name “Interface, functional line and server”, all contents of which are incorporated by reference into this application. Technical Field
[0003] The present application belongs to the field of servers, and specifically relates to an interface, a functional line and a server. Background Art
[0004] With the development of technology, servers are becoming increasingly widely used. Typically, interfaces are provided on the server housing, and by inserting functional cables into these interfaces, corresponding functions can be realized. In related art, servers have numerous interfaces, each corresponding to different functions. For example, a server may have a video interface and a serial port. However, these interfaces occupy a significant amount of mounting space on the server housing, hindering the installation of other components and increasing server functionality.
[0005] Summary of the Invention
[0006] The purpose of the embodiments of the present application is to provide an interface, a functional line and a server, which can solve the problem that the interface on the server occupies a large installation space on the server shell, thereby being unfavorable for setting other devices on the server and increasing the functions of the server.
[0007] In a first aspect, an embodiment of the present application provides an interface, which is applied to a server, and the interface includes: a first plug pin, a second plug pin, a third plug pin, a switching circuit, a detection circuit, a video interface circuit, and a serial port circuit;
[0008] The switching circuit is respectively connected to the first plug pin and the second plug pin, the video interface circuit and the serial port circuit are both electrically connected to the switching circuit, the detection circuit is electrically connected to the third plug pin, and the detection circuit is respectively electrically connected to the switching circuit and the video interface circuit, the first plug pin, the second plug pin, and the third plug pin are all used to connect to the functional line, and the detection circuit is used to determine the type of the functional line when the interface is connected to the functional line;
[0009] The detection circuit includes: a first voltage-dividing resistor, a voltage comparison module, and a first control switch, wherein a first end of the first voltage-dividing resistor is connected to the third plug pin, a second end of the first voltage-dividing resistor is electrically connected to the voltage comparison module and the first control switch respectively, the first control switch is electrically connected to the video interface circuit, and the voltage comparison module is electrically connected to the switching circuit;
[0010] When the function line is connected to the interface, the voltage comparison module outputs a signal to the switching circuit to determine whether the function line is a video line or a serial port line, so that the switching circuit is connected to the video interface circuit, or the switching circuit is connected to the serial port circuit.
[0011] Optionally, when the function line is connected to the interface and the voltage comparison module outputs the first signal to the switching circuit, the function line is a video line, and the switching circuit is connected to the video interface circuit;
[0012] When the function line is connected to the interface and the voltage comparison module outputs the second signal to the switching circuit, the function line is a serial port line, and the switching circuit is connected to the serial port circuit.
[0013] Optionally, the voltage comparison module includes a first voltage comparator and a second voltage comparator, the second end of the first voltage-dividing resistor is connected to the first voltage comparator and the second voltage comparator respectively, the first voltage comparator and the second voltage comparator are both electrically connected to the switching circuit, the voltage threshold of the first voltage comparator is a first voltage value, the voltage threshold of the second voltage comparator is a second voltage value, and the first voltage value is less than the second voltage value;
[0014] When the voltage input to the first voltage comparator and the voltage input to the second voltage comparator are both less than the first voltage value, the first voltage comparator and the second voltage comparator both output a first signal to output the first signal to the switching circuit, and the switching circuit is connected to the video interface circuit;
[0015] When the voltage input to the first voltage comparator and the voltage input to the second voltage comparator are both greater than the second voltage value, the first voltage comparator and the second voltage comparator both output a second signal to output the first signal to the switching circuit, and the switching circuit is connected to the video interface circuit;
[0016] When the voltage input to the first voltage comparator is greater than the first voltage value and the voltage input to the second voltage comparator is less than the second voltage value, the first voltage comparator outputs a second signal and the second voltage comparator outputs a first signal to output a second signal to the switching circuit, and the switching circuit is connected to the serial port circuit.
[0017] Optionally, the positive input terminal of the first voltage comparator and the negative input terminal of the second voltage comparator are both connected to the second end of the first voltage divider resistor, and the output terminal of the first voltage comparator and the output terminal of the second voltage comparator are both electrically connected to the switching circuit.
[0018] Optionally, the first voltage value is 0.1V and the second voltage value is 0.2V.
[0019] Optionally, the detection circuit further includes a second voltage-dividing resistor and a third voltage-dividing resistor;
[0020] The second voltage-dividing resistor and the third voltage-dividing resistor are connected in series, the second end of the first voltage-dividing resistor is connected between the second voltage-dividing resistor and the third voltage-dividing resistor, the third voltage-dividing resistor is grounded, and the second voltage-dividing resistor is used to connect to the first voltage component.
[0021] Optionally, the first end of the second voltage-dividing resistor is used to connect to the first voltage component, the second end of the second voltage-dividing resistor is connected to the first end of the third voltage-dividing resistor, and the second end of the third voltage-dividing resistor is grounded;
[0022] The second end of the first voltage-dividing resistor is connected between the second end of the second voltage-dividing resistor and the first end of the third voltage-dividing resistor, and is respectively connected to the second end of the second voltage-dividing resistor and the first end of the third voltage-dividing resistor.
[0023] Optionally, the detection circuit further includes a fourth voltage-dividing resistor, a first end of the fourth voltage-dividing resistor is used to connect to the second voltage component, and a second end of the fourth voltage-dividing resistor is electrically connected to the first control switch.
[0024] Optionally, the first control switch includes a field effect transistor;
[0025] The field effect tube includes a source, a gate and a drain. The source is connected to the gate, and the gate is grounded. The drain is electrically connected to the second end of the fourth voltage-dividing resistor and the video interface circuit respectively.
[0026] Optionally, the detection circuit also includes a fifth voltage divider resistor, the first end of the fifth voltage divider resistor is used to connect to the third voltage component, the output end of the first voltage comparator and the output end of the second voltage comparator are both connected to the second end of the fifth voltage divider resistor, and the second end of the fifth voltage divider resistor is electrically connected to the switching circuit.
[0027] Optionally, the detection circuit also includes a filtering circuit, the first end of the filtering circuit is connected to the second end of the fifth voltage-dividing resistor, the second end of the filtering circuit is electrically connected to the switching circuit, and the filtering circuit is used to filter out noise in the signal transmitted to the switching circuit.
[0028] Optionally, the filter circuit includes a filter resistor and a filter capacitor;
[0029] The filter resistor is connected to the second end of the fifth voltage-dividing resistor, the filter resistor is respectively connected to the filter capacitor and the switching circuit, and the filter capacitor is grounded.
[0030] Optionally, the first end of the filter resistor is connected to the second end of the fifth voltage-dividing resistor, the second end of the filter resistor is connected to the switching circuit and the first end of the filter capacitor respectively, and the second end of the filter capacitor is grounded.
[0031] Optionally, the switching circuit includes a second control switch and a third control switch;
[0032] The second control switch and the third control switch are connected to the first plug pin and the second plug pin respectively, and the second control switch is connected to the video interface circuit and the serial port circuit, and the third control switch is connected to the video interface circuit and the serial port circuit;
[0033] When the functional line is a video line, the second control switch and the third control switch are both connected to the video interface circuit;
[0034] When the functional line is a serial port line, the second control switch and the third control switch are both connected to the serial port circuit.
[0035] Optionally, the second control switch includes a first input terminal, a second output terminal, and a third output terminal, and the third control switch includes a second input terminal, a fourth output terminal, and a fifth output terminal;
[0036] The first input end is connected to the first plug pin, the second input end is connected to the second plug pin, the second output end and the fourth output end are both connected to the video interface circuit, and the third output end and the fifth output end are both connected to the serial port circuit;
[0037] When the functional line is a video line, the first input terminal is connected to the second output terminal, and the second input terminal is connected to the fourth output terminal, so that the second control switch and the third control switch are both connected to the video interface circuit;
[0038] When the function line is a serial port line, the first input end is connected to the third output end, and the second input end is connected to the fifth output end, so that the second control switch and the third control switch are both connected to the serial port circuit.
[0039] Optionally, the second control switch and the third control switch both include any one of an analog switch and a single-pole double-throw relay.
[0040] Optionally, the switching circuit further includes a controller, which is electrically connected to the second control switch and the third control switch respectively, and is used to control the second control switch and the third control switch to switch.
[0041] In a second aspect, an embodiment of the present application provides a functional cable for plugging into the interface of any one of the first aspects above;
[0042] The function line includes a plug interface, the plug interface is provided with a wiring pin and a ground pin, the ground pin is connected to an identification resistor, the identification resistor is used to enable the detection circuit to identify the function line, and when the detection circuit identifies the function line, determine that the function line is a serial port line;
[0043] When the plug connector is plugged into the interface, the connection pin contacts the first plug pin, and the ground pin contacts the third plug pin.
[0044] Optionally, the resistance of the identification resistor is 24 kilo-ohms.
[0045] In a third aspect, an embodiment of the present application provides a server, comprising a housing and an interface according to any one of the first aspects above;
[0046] The interface is arranged on the housing.
[0047] Optionally, the detection circuit includes a second voltage-dividing resistor and a third voltage-dividing resistor;
[0048] The server includes a first voltage component, and a second voltage-dividing resistor is connected to the first voltage component;
[0049] The detection circuit further includes a fourth voltage-dividing resistor, the server has a second voltage component, and the fourth voltage-dividing resistor is connected to the second voltage component;
[0050] The detection circuit further includes a fifth voltage-dividing resistor. The server includes a third voltage component, and the fifth voltage-dividing resistor is connected to the third voltage component.
[0051] In an embodiment of the present application, since the switching circuit is connected to the first plug pin, the video interface circuit and the serial port circuit are both electrically connected to the switching circuit, and the detection circuit is electrically connected to the third plug pin, and the detection circuit is electrically connected to the switching circuit and the video interface circuit, respectively, after the functional line is plugged into the interface, the first plug pin and the third plug pin can contact the functional line, so that the detection circuit can determine the type of the functional line. After determining the type of the functional line, the switching circuit can be connected to different functional circuits, so that different functional circuits can realize corresponding functions through the functional line. The detection circuit includes a first voltage divider resistor, a voltage comparison module, and a first control switch. The first end of the first voltage-dividing resistor is connected to the third plug pin, and the second end of the first voltage-dividing resistor is electrically connected to the voltage comparison module and the first control switch, respectively. The first control switch is electrically connected to the video interface circuit. When the signals output by the voltage comparison module are different, it can be determined that the interface is connected to different functional lines and the type of the functional line is determined. When the functional line is determined to be a video line, the switching circuit is connected to the video interface circuit, and the switching circuit is also connected to the first plug pin, so that the video interface circuit can implement the video function through the video line; when the functional line is determined to be a serial port line, the switching circuit is connected to the serial port circuit, and the switching circuit is also connected to the first plug pin, so that the serial port circuit can implement the serial port function through the serial port line. That is, in the embodiment of the present application, by providing the switching circuit, the detection circuit, the video interface circuit, and the serial port circuit in the interface, different functions can be implemented in the interface after different functional lines are inserted into the interface, which is equivalent to achieving the effect of functional multiplexing of one interface. Therefore, after the interface is applied to the server, the number of interfaces can be saved, thereby providing the server with more installation space and more devices can be installed on the server, which is conducive to diversifying the server functions. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] FIG1 is a schematic diagram of an interface provided in an embodiment of the present application;
[0053] FIG2 is a schematic diagram of a detection circuit provided in an embodiment of the present application;
[0054] FIG3 is a schematic diagram showing a functional line provided in an embodiment of the present application.
[0055] Figure markings: 11: first plug pin; 12: second plug pin; 20: third plug pin; 30: switching circuit; 40: detection circuit; 50: video interface circuit; 60: serial port circuit; 31: second control switch; 32: third control switch; 41: first voltage-dividing resistor; 42: voltage comparison module; 43: first control switch; 44: second voltage-dividing resistor; 45: third voltage-dividing resistor; 46: fourth voltage-dividing resistor; 47: fifth voltage-dividing resistor; 48: filtering circuit; 311: first input terminal; 312: second output terminal; 313: third output terminal; 321: second input terminal; 322: fourth output terminal; 323: fifth output terminal; 421: first voltage comparator; 422: second voltage comparator; 481: filter resistor; 482: filter capacitor; 100: plug interface; 101: wiring pin; 102: ground pin; 103: identification resistor. DETAILED DESCRIPTION
[0056] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0057] It should be understood that references throughout this specification to "one embodiment" or "an embodiment" mean that a particular feature, structure, or characteristic associated with the embodiment is included in at least one embodiment of the present application. Therefore, the appearances of "in one embodiment" or "in an embodiment" throughout this specification do not necessarily refer to the same embodiment. Furthermore, these particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
[0058] Referring to Figure 1, a schematic diagram of an interface provided in an embodiment of the present application is shown; referring to Figure 2, a schematic diagram of a detection circuit provided in an embodiment of the present application is shown. The interface is applied to a server, and as shown in Figures 1 and 2, the interface includes: a first plug pin 11, a second plug pin 12, a third plug pin 20, a switching circuit 30, a detection circuit 40, a video interface circuit 50, and a serial port circuit 60.
[0059] The switching circuit 30 is connected to the first plug pin 11 and the second plug pin 12, respectively. The video interface circuit 50 and the serial port circuit 60 are both electrically connected to the switching circuit 30. The detection circuit 40 is electrically connected to the third plug pin 20, and the detection circuit 40 is electrically connected to the switching circuit 30 and the video interface circuit 50, respectively. The first plug pin 11, the second plug pin 12, and the third plug pin 20 are all used to connect to a functional line. The detection circuit 40 is used to determine the type of functional line when the interface is connected to the functional line. The detection circuit 40 includes a first voltage divider resistor 41, a voltage comparison module 42, and a first control switch 43. The first end of the first voltage divider resistor 41 is connected to the third plug pin 20, and the second end of the first voltage divider resistor 41 is electrically connected to the voltage comparison module 42 and the first control switch 43, respectively. The first control switch 43 is electrically connected to the video interface circuit 50, and the voltage comparison module 42 is electrically connected to the switching circuit 30. When the functional line is connected to the interface, the voltage comparison module 42 outputs a signal to the switching circuit 30 to determine whether the functional line is a video line or a serial port line, so that the switching circuit 30 is connected to the video interface circuit 50 or the switching circuit 30 is connected to the serial port circuit 60.
[0060] In the embodiment of the present application, since the switching circuit 30 is respectively connected to the first plug pin 11 and the second plug pin 12, the video interface circuit 50 and the serial port circuit 60 are both electrically connected to the switching circuit 30, and the detection circuit 40 is electrically connected to the third plug pin 20, and the detection circuit 40 is respectively electrically connected to the switching circuit 30 and the video interface circuit 50, after the functional line is plugged into the interface, the first plug pin 11 and the third plug pin 20 can contact the functional line, so that the detection circuit 40 can determine the type of the functional line. After determining the type of the functional line, the switching circuit 30 can be connected to different functional circuits, so that different functional circuits can realize corresponding functions through the functional line. The detection circuit 40 includes a first voltage divider resistor 41, a voltage comparison module 42, and a first control switch 43. The first end of the first voltage-dividing resistor 41 is connected to the third plug pin 20, and the second end of the first voltage-dividing resistor 41 is electrically connected to the voltage comparison module 42 and the first control switch 43 respectively. The first control switch 43 is electrically connected to the video interface circuit 50. Therefore, when the signals output by the voltage comparison module 42 are different, it can be determined that the interface is connected to different functional lines, and the type of the functional line can be determined. When the functional line is determined to be a video line, the switching circuit 30 is connected to the video interface circuit 50, and the switching circuit 30 is also connected to the first plug pin 11 and the second plug pin 12, so that the video interface circuit 50 can realize the video function through the video line; when the functional line is determined to be a serial port line, the switching circuit 30 is connected to the serial port circuit 60, and the switching circuit 30 is also connected to the first plug pin 11 and the second plug pin 12, so that the serial port circuit 60 can realize the serial port function through the serial port line. That is, in the embodiment of the present application, by setting the switching circuit 30, the detection circuit 40, the video interface circuit 50 and the serial port circuit 60 in the interface, after different functional lines are inserted into the interface, the interface can realize different functions, which is equivalent to making an interface realize the effect of functional reuse. Therefore, after the interface is applied to the server, the number of interfaces can be saved, so that the server has more installation space, and more devices can be set on the server, which is conducive to diversifying the server functions.
[0061] In addition, in the embodiment of the present application, when the functional line is connected to the interface and the voltage comparison module 42 outputs a first signal to the switching circuit 30, the functional line is a video line, and the switching circuit 30 is connected to the video interface circuit 50. When the functional line is connected to the interface and the voltage comparison module 42 outputs a second signal to the switching circuit 30, the functional line is a serial port line, and the switching circuit 30 is connected to the serial port circuit 60. That is, when the functional line is connected to the interface and the voltage comparison module 42 outputs the first signal to the switching circuit 30, it is determined that the functional line is a video line, and the switching circuit 30 is connected to the video interface circuit 50. The switching circuit 30 is also connected to the first plug pin 11, so that the video interface circuit 50 can implement a video function through the video line. When the functional line is connected to the interface and the voltage comparison module 42 outputs a second signal to the switching circuit 30, it is determined that the functional line is a serial port line, and the switching circuit 30 is connected to the serial port circuit 60. The switching circuit 30 is also connected to the first plug pin 11, so that the serial port circuit 60 can implement a serial port function through the serial port line.
[0062] In the embodiment of the present application, the video interface circuit 50 and the serial port circuit 60 are the same as those in the prior art and are not described in detail herein.
[0063] In addition, in the embodiment of the present application, since the first end of the first voltage-dividing resistor 41 is connected to the third plug pin 20, the second end of the first voltage-dividing resistor 41 is electrically connected to the voltage comparison module 42 and the first control switch 43, respectively, and the first control switch 43 is electrically connected to the video interface circuit 50, after the functional line is plugged into the interface, a voltage is applied to the third plug pin 20, and this voltage is divided by the first voltage-dividing resistor 41. The divided voltage is then transmitted to the voltage comparison module 42 and the first control switch 43. If the divided voltage does not meet the set conditions of the voltage comparison module 42, the voltage comparison module 42 will output a different voltage level, and the switching circuit 30 will also connect to a different functional circuit. Specifically, after the functional line is plugged into the interface, if the functional line is a video line, the voltage comparison module 42 outputs a first signal, and the switching circuit 30 connects to the video interface circuit 50; if the functional line is a serial port line, the voltage comparison module 42 outputs a second signal, and the switching circuit 30 connects to the serial port circuit 60.
[0064] It should be noted that the video line corresponds to the video interface circuit 50, and the serial port line corresponds to the serial port circuit 60. In addition, the video line can be any one of a VGA (Video Graphics Array) line, an HDMI (High Definition Multimedia Interface) line, and a DVI (Digital Visual Interface) line.
[0065] In addition, in some embodiments, the voltage comparison module 42 may include a first voltage comparator 421 and a second voltage comparator 422, the second end of the first voltage divider resistor 41 is connected to the first voltage comparator 421 and the second voltage comparator 422, respectively, the first voltage comparator 421 and the second voltage comparator 422 are both electrically connected to the switching circuit 30, the voltage threshold of the first voltage comparator 421 is a first voltage value, the voltage threshold of the second voltage comparator 422 is a second voltage value, and the first voltage value is less than the second voltage value. When the voltage input to the first voltage comparator 421 and the voltage input to the second voltage comparator 422 are both less than the first voltage value, the first voltage comparator 421 and the second voltage comparator 422 both output a first signal to output the first signal to the switching circuit 30, and the switching circuit 30 is connected to the video interface circuit 50; when the voltage input to the first voltage comparator 421 and the voltage input to the second voltage comparator 422 are both greater than the second voltage value, the first voltage comparator 421 and the second voltage comparator 422 both output a second signal to output the first signal to the switching circuit 30, and the switching circuit 30 is connected to the video interface circuit 50; when the voltage input to the first voltage comparator 421 is greater than the first voltage value and the voltage input to the second voltage comparator 422 is less than the second voltage value, the first voltage comparator 421 outputs a second signal and the second voltage comparator 422 outputs a first signal to output the second signal to the switching circuit 30, and the switching circuit 30 is connected to the serial port circuit 60.
[0066] Since the second end of the first voltage-dividing resistor 41 is respectively connected to the first voltage comparator and the second voltage comparator 422, the first voltage comparator 421 and the second voltage comparator are both electrically connected to the switching circuit 30, and the voltage threshold of the first voltage comparator 421 is the first voltage value, and the voltage threshold of the second voltage comparator 422 is the second voltage value, and the first voltage value is less than the second voltage value, when the voltage input to the first voltage comparator 421 and the voltage input to the second voltage comparator 422 are different, the level output by the first voltage comparator 421 and the level output by the second voltage comparator 422 are also different, so that the switching circuit 30 is connected to different functional circuits. Specifically, when the voltage input to the first voltage comparator 421 and the voltage input to the second voltage comparator 422 are both lower than the first voltage value, the first voltage comparator 421 and the second voltage comparator 422 both output a first signal to output the first signal to the switching circuit 30, so that the switching circuit 30 receives the first signal and the switching circuit 30 is connected to the video interface circuit 50; when the voltage input to the first voltage comparator 421 and the voltage input to the second voltage comparator 422 are both higher than the second voltage value, the first voltage comparator 421 and the second voltage comparator 422 both output a second signal, but output the first signal to the switching circuit 30, the switching circuit 30 receives the first signal, and the switching circuit 30 is connected to the video interface circuit 50; when the voltage input to the first voltage comparator 421 is higher than the first voltage value and the voltage input to the second voltage comparator 422 is lower than the second voltage value, the first voltage comparator 421 outputs a second signal, the second voltage comparator 422 outputs a first signal, and outputs a second signal to the switching circuit 30, the switching circuit 30 receives the second signal, and the switching circuit 30 is connected to the serial port circuit 60.
[0067] It should be noted that in the embodiment of the present application, the second voltage value is less than the turn-on voltage of the first control switch 43, so that after the serial port line is connected, the voltage after voltage division is avoided to cause the first control switch 43 to be turned on, resulting in the problem of the video interface circuit 50 being connected to the first plug pin 11.
[0068] In addition, in the embodiment of the present application, the first signal may be a low-level signal, and the second signal may be a high-level signal.
[0069] In addition, in an embodiment of the present application, the positive input terminal of the first voltage comparator 421 and the negative input terminal of the second voltage comparator 422 can both be connected to the second end of the first voltage divider resistor 41, and the output terminal of the first voltage comparator 421 and the output terminal of the second voltage comparator 422 can both be electrically connected to the switching circuit 30.
[0070] When the positive input terminal of the first voltage comparator 421 and the negative input terminal of the second voltage comparator 422 are both connected to the second terminal of the first voltage divider resistor 41, the voltage divided by the first voltage divider resistor 41 can be transmitted to the first voltage comparator 421 and the second voltage comparator 422, causing the first voltage comparator 421 and the second voltage comparator 422 to output different voltage levels. The output terminals of the first voltage comparator 421 and the second voltage comparator 422 are both electrically connected to the switching circuit 30, so that the switching circuit 30 receives signals of different voltage levels, thereby performing different switching operations, connecting the switching circuit 30 to different functional circuits, and further connecting the first plug pin 11 to different functional circuits, so that the different functional circuits perform corresponding functions.
[0071] In addition, in the embodiment of the present application, the first voltage value is 0.1V and the second voltage value is 0.2V.
[0072] When the first voltage value is 0.1V and the second voltage value is 0.2V, the voltage range of 0.1V-0.2V is relatively small. Therefore, when the detection circuit 40 determines the type of the functional line, it determines that the functional line is a serial port line only when the voltage on the voltage comparison module 42 is within the voltage range of 0.1V-0.2V. This allows the detection circuit 40 to determine the functional line with higher accuracy. That is, by setting the first voltage value to 0.1V and the second voltage value to 0.2V, the detection accuracy of the detection circuit 40 can be improved.
[0073] Of course, in the embodiment of the present application, the first voltage value can also be other values, and the second voltage value can also be other values, as long as the second voltage value is less than the on-state voltage of the first control switch 43. For example, the on-state voltage of the first control switch 43 is 1V, the first voltage value is 0.3V, and the second voltage value is 0.9V. For another example, the on-state voltage of the first control switch 43 is 1V, the first voltage value is 0.4V, and the second voltage value is 0.8V. This embodiment of the present application is not limited to this.
[0074] In addition, in some embodiments, the detection circuit 40 may further include a second voltage-dividing resistor 44 and a third voltage-dividing resistor 45. The second voltage-dividing resistor 44 and the third voltage-dividing resistor 45 are connected in series, the second end of the first voltage-dividing resistor 41 is connected between the second voltage-dividing resistor 44 and the third voltage-dividing resistor 45, the third voltage-dividing resistor 45 is grounded, and the second voltage-dividing resistor 44 is used to connect to the first voltage element.
[0075] When the second voltage-dividing resistor 44 and the third voltage-dividing resistor 45 are connected in series, the second end of the first voltage-dividing resistor 41 is connected between the second voltage-dividing resistor 44 and the third voltage-dividing resistor 45, the third voltage-dividing resistor 45 is grounded, and the second voltage-dividing resistor 44 is used to connect to the first voltage component, then when the second voltage-dividing resistor 44 is connected to the first voltage component, the first voltage component can provide a voltage to the second voltage-dividing resistor 44. After the second voltage-dividing resistor 44 divides the voltage, the voltage after the voltage division is transmitted to the voltage comparison module 42, which can make the voltage comparison module 42 have a certain voltage, but the voltage after the voltage division will not cause the voltage comparison module 42 to perform a corresponding action. However, the second voltage-dividing resistor 44 is set. After the second voltage-dividing resistor 44 divides the voltage of the first voltage component, it can also pull up the voltage at the input end of the voltage comparison module 42, thereby preventing the voltage comparison module 42 from identifying the serial port line from 0V. That is, by providing the second voltage-dividing resistor 44 and the third voltage-dividing resistor 45 , the voltage at the input end of the voltage comparison module 42 can be increased, thereby preventing the voltage comparison module 42 from identifying the serial port line from 0V.
[0076] If the second voltage-dividing resistor 44 and the third voltage-dividing resistor 45 are not set, after the functional line is inserted into the interface, the voltage will start to increase from 0V. When the voltage increases to the range from the first voltage value to the second voltage value, the switching circuit 30 will switch. When the voltage does not increase to the range from the first voltage value to the second voltage value, or exceeds the second voltage value, the switching circuit 30 will also switch. However, the functional circuits connected to the switching circuit 30 in different switches are different, which will cause the detection circuit 40 to make misjudgments, and will also cause problems in the connection between the video cable and the serial port circuit 60 when the video cable is connected.
[0077] It should be noted that the first voltage component is shown as VDD1 in FIG. 2 .
[0078] In addition, in some embodiments, the first end of the second voltage-dividing resistor 44 is connected to the first voltage element, the second end of the second voltage-dividing resistor 44 is connected to the first end of the third voltage-dividing resistor 45, and the second end of the third voltage-dividing resistor 45 is grounded; the second end of the first voltage-dividing resistor 41 is connected between the second end of the second voltage-dividing resistor 44 and the first end of the third voltage-dividing resistor 45, and is respectively connected to the second end of the second voltage-dividing resistor 44 and the first end of the third voltage-dividing resistor 45. This configuration facilitates connection of components in the detection circuit 40.
[0079] In addition, in the embodiment of the present application, when the detection circuit 40 includes a first voltage-dividing resistor 41, a second voltage-dividing resistor 44, and a third voltage-dividing resistor 45, and the functional line is an HDMI line and the serial line is a serial line, the turn-on voltage of the first control switch 43 is 1V, the first voltage value is 0.1V, and the second voltage value is 0.2V. When the functional line inserted into the interface is an HDMI line, the voltage on the first plug pin 11 is 5V. The voltage after voltage division by the first voltage-dividing resistor 41, the second voltage-dividing resistor 44, and the third voltage-dividing resistor 45 is greater than the turn-on voltage of the first control switch 43, i.e., greater than 1V, thereby turning on the first control switch 43. Moreover, the voltage after voltage division is not within the range of the first voltage value to the second voltage value, i.e., not within the range of 0.1-0.2V, and the voltage after voltage division is greater than the second voltage value, i.e., greater than 0.2V. As a result, the video interface circuit 50 is connected to the first plug pin 11 via the first control switch 43, thereby realizing the corresponding function of the video interface circuit 50. When the HDMI cable is not inserted, due to the presence of the second voltage-dividing resistor 44 and the third voltage-dividing resistor 45, and the second voltage-dividing resistor 44 is connected to the first voltage element, the voltage on the voltage comparison module 42 is not within the range from the first voltage value to the second voltage value, that is, the voltage after voltage division is not within 0.1-0.2V, and the voltage after voltage division is less than the turn-on voltage of the first control switch 43, that is, less than 1V. Therefore, when the HDMI cable is inserted or unplugged, the switching circuit 30 will not be caused to operate, thereby avoiding the problem of the switching circuit 30 being connected to the serial port circuit 60 when the HDMI cable is inserted or unplugged. When the functional line inserted into the interface is a serial port line, the serial port line plug interface 100 is connected to the identification resistor 103, so that after the first voltage element is divided by the first voltage dividing resistor 41, the second voltage dividing resistor 44, the third voltage dividing resistor 45 and the identification resistor 103, the voltage after division falls between 0.1V and 0.2V, thereby causing the switching circuit 30 to switch and connect with the serial port circuit 60, and the voltage after division will not turn on the first control switch 43, avoiding the problem of the video interface circuit 50 being connected to the serial port line.
[0080] In addition, in the above example, when the voltage of the first voltage element is 3.3V and the first control switch 43 uses a 2N7002 field effect transistor, the resistance of the first voltage divider resistor 41 is 100 kilo-ohms, the resistance of the second voltage divider resistor 44 is 500 kilo-ohms, and the resistance of the third voltage divider resistor 45 is 200 kilo-ohms. At this time, if no functional line is inserted into the interface, the voltage divider is 3.3*200 / (500+200)=0.94. At this time, the first control switch 43 is not turned on, and the voltage comparison module 42 also outputs the first signal. If a VGA cable is inserted, the detection output is 5V. Assuming the voltage at the voltage divider point is x, then: (5-x) / 100-(3.3-x) / 500=x / 200, it can be obtained that x=3.33V. At this time, the first control switch 43 is turned on, and the voltage comparison module 42 also outputs the first signal. When a serial port cable is inserted, the ground pin 102 in the serial port cable connector 100 is connected to the identification resistor 103, and the resistance of the identification resistor 103 is 24 kilo-ohms. Assuming the voltage at the voltage divider point is x, the following equation is satisfied: (3.3-x) / 500=x / (100+24)+x / 200, where x=0.12 V. At this time, the first control switch 43 is not turned on, the voltage comparison module 42 outputs the second signal, and the serial port circuit 60 is connected to the serial port cable.
[0081] In addition, in some embodiments, the detection circuit 40 may further include a fourth voltage-dividing resistor 46 , a first end of the fourth voltage-dividing resistor 46 is used to connect to the second voltage element, and a second end of the fourth voltage-dividing resistor 46 is electrically connected to the first control switch 43 .
[0082] When the first end of the fourth voltage-dividing resistor 46 is connected to the second voltage element, the second voltage element can provide a voltage to the fourth voltage-dividing resistor 46, which then divides the voltage, resulting in a high voltage. Without the fourth voltage-dividing resistor 46, after the voltage comparison module 42 outputs the first signal, the voltage level transmitted to the video interface circuit 50 is the first signal, which may cause the video interface circuit 50 to not operate normally. In other words, by providing the fourth voltage-dividing resistor 46, the fourth voltage-dividing resistor 46 can act as a pull-up for the second signal, thereby raising the voltage level transmitted to the video interface circuit 50 and facilitating the operation of the video interface circuit 50.
[0083] It should be noted that the second voltage component is shown as VDD2 in FIG. 2 .
[0084] In addition, in the embodiment of the present application, the first control switch 43 may include a field effect transistor. The field effect transistor includes a source, a gate, and a drain. The source is connected to the gate, which is grounded, and the drain is electrically connected to the second end of the fourth voltage divider resistor 46 and the video interface circuit 50. When the voltage transmitted to the field effect transistor is greater than the turn-on voltage, the source and the drain are turned on, thereby connecting the video interface circuit 50 to the first plug pin 11, so that the video interface circuit 50 can perform the corresponding function.
[0085] Of course, in the embodiment of the present application, the first control switch 43 can also be other types of switches. For example, the first control switch 43 is an insulated gate bipolar transistor (IGBT). The embodiment of the present application does not limit the specific type of the first control switch 43.
[0086] In addition, in some embodiments, the detection circuit 40 may further include a fifth voltage-dividing resistor 47, the first end of the fifth voltage-dividing resistor 47 is used to connect to the third voltage component, the output end of the first voltage comparator 421 and the output end of the second voltage comparator 422 are both connected to the second end of the fifth voltage-dividing resistor 47, and the second end of the fifth voltage-dividing resistor 47 is electrically connected to the switching circuit 30.
[0087] When the first end of the fifth voltage-dividing resistor 47 is connected to the third voltage component, the output end of the first voltage comparator 421 and the output end of the second voltage comparator 422 are both connected to the second end of the fifth voltage-dividing resistor 47, and the second end of the fifth voltage-dividing resistor 47 is electrically connected to the switching circuit 30, the third voltage component can provide a voltage to the fifth voltage-dividing resistor 47, and the fifth voltage-dividing resistor 47 will divide the voltage, and the voltage after the voltage division is high, thereby facilitating the operation of the switching circuit 30. If the fifth voltage-dividing resistor 47 is not provided, after the voltage comparison module 42 outputs the second signal, the level transmitted to the switching circuit 30 is the second signal, but it may still not reach the level value required for the operation of the switching circuit 30, which may cause the switching circuit 30 to fail to operate normally. That is, by providing the fifth voltage-dividing resistor 47, the fifth voltage-dividing resistor 47 can play the role of pulling the second signal, so that the level transmitted to the switching circuit 30 is pulled high, thereby facilitating the operation of the switching circuit 30.
[0088] It should be noted that the third voltage component is shown as VDD3 in FIG. 2 .
[0089] In addition, in some embodiments, the detection circuit 40 may further include a filter circuit 48, the first end of the filter circuit 48 is connected to the second end of the fifth voltage-dividing resistor 47, and the second end of the filter circuit 48 is electrically connected to the switching circuit 30, and the filter circuit 48 is used to filter out noise in the signal transmitted to the switching circuit 30.
[0090] When the first end of the filter circuit 48 is connected to the second end of the fifth voltage-dividing resistor 47, and the second end of the filter circuit 48 is electrically connected to the switching circuit 30, at this time, after the voltage signal is transmitted to the filter circuit 48, since the voltage or current is essentially an electromagnetic wave, the electromagnetic wave contains noise or the waveform has burrs. Therefore, when the voltage signal passes through the filter circuit 48, the filter circuit 48 can filter out the noise or eliminate the burrs in the waveform, so that the signal transmitted to the switching circuit 30 contains less noise or burrs, which is beneficial for the switching circuit 30 to perform different actions according to the transmitted signal.
[0091] In addition, in some embodiments, the filter circuit 48 may include a filter resistor 481 and a filter capacitor 482. The filter resistor 481 is connected to the second end of the fifth voltage-dividing resistor 47, and the filter resistor 481 is connected to the filter capacitor 482 and the switching circuit 30. The filter capacitor 482 is grounded.
[0092] When the filter resistor 481 is connected to the second end of the fifth voltage-dividing resistor 47, the filter resistor 481 is respectively connected to the filter capacitor 482 and the switching circuit 30, and the filter capacitor 482 is grounded. At this time, the filter resistor 481 and the filter capacitor 482 are equivalent to forming an RC filter circuit 48. The RC filter circuit 48 has good filtering performance, so that the signal transmitted to the switching circuit 30 has less noise or glitches, which is beneficial for the switching circuit 30 to perform different actions according to the transmitted signal.
[0093] It should be noted that in the embodiment of the present application, the number of filter resistors 481 and the number of filter capacitors 482 can be set according to actual needs. For example, the number of filter resistors 481 is 1 and the number of filter capacitors 482 is 1. For another example, the number of filter resistors 481 is 2 and the number of filter capacitors 482 is 2. The embodiment of the present application does not limit the number of filter resistors 481 and the number of filter capacitors 482.
[0094] In addition, in an embodiment of the present application, the first end of the filter resistor 481 is connected to the second end of the fifth voltage-dividing resistor 47, the second end of the filter resistor 481 is respectively connected to the switching circuit 30 and the first end of the filter capacitor 482, and the second end of the filter capacitor 482 is grounded, thereby facilitating the connection of the filter resistor 481 and the filter capacitor 482.
[0095] In addition, in some embodiments, the switching circuit 30 may include a second control switch 31 and a third control switch 32. The second control switch 31 and the third control switch 32 are connected to the first plug pin 11 and the second plug pin 12, respectively. The second control switch 31 is connected to the video interface circuit 50 and the serial port circuit 60, and the third control switch 32 is connected to the video interface circuit 50 and the serial port circuit 60. When the functional line is a video line, the second control switch 31 and the third control switch 32 are both connected to the video interface circuit 50. When the functional line is a serial port line, the second control switch 31 and the third control switch 32 are both connected to the serial port circuit 60.
[0096] When the second control switch 31 and the third control switch 32 are connected to the first plug pin 11 and the second plug pin 12, respectively, and the second control switch 31 is connected to the video interface circuit 50 and the serial port circuit 60, and the third control switch 32 is connected to the video interface circuit 50 and the serial port circuit 60, then when different functional lines are connected, the second control switch 31 and the third control switch 32 will each be connected to different functional circuits. Specifically, when the functional line is the video line, the second control switch 31 and the third control switch 32 are both connected to the video interface circuit 50, thereby connecting the video interface circuit 50 to the first plug pin 11, allowing the video interface circuit 50 to perform the corresponding function. When the functional line is the serial port line, the second control switch 31 and the third control switch 32 are both connected to the serial port circuit 60, thereby connecting the serial port circuit 60 to the first plug pin 11, allowing the serial port circuit 60 to perform the corresponding function. In other words, by providing the second control switch 31 and the third control switch 32, the switching circuit 30 can be easily switched accordingly.
[0097] In addition, in some embodiments, the second control switch 31 may include a first input terminal 311, a second output terminal 312, and a third output terminal 313. The third control switch 32 may include a second input terminal 321, a fourth output terminal 322, and a fifth output terminal 323. The first input terminal 311 is connected to the first plug pin 11, the second input terminal 321 is connected to the second plug pin 12, the second output terminal 312 and the fourth output terminal 322 are both connected to the video interface circuit 50, and the third output terminal 313 and the fifth output terminal 323 are both connected to the serial port circuit 60. When the functional line is a video line, the first input terminal 311 is connected to the second output terminal 312, and the second input terminal 321 is connected to the fourth output terminal 322, so that the second control switch 31 and the third control switch 32 are both connected to the video interface circuit 50. When the functional line is a serial port line, the first input terminal 311 is connected to the third output terminal 313, and the second input terminal 321 is connected to the fifth output terminal 323, so that the second control switch 31 and the third control switch 32 are both connected to the serial port circuit 60. This configuration facilitates the connection of the second control switch 31 and the third control switch 32.
[0098] In addition, in the embodiment of the present application, the second control switch 31 and the third control switch 32 can both include any one of an analog switch and a single-pole double-throw relay. In this case, the second control switch 31 and the third control switch 32 can be easily obtained, and the analog switch and the single-pole double-throw relay are relatively low in cost, which can also reduce the cost of the interface, thereby facilitating the widespread promotion of the interface.
[0099] In addition, in some embodiments, the switching circuit 30 may further include a controller, which is electrically connected to the second control switch 31 and the third control switch 32 , and is configured to control the switching of the second control switch 31 and the third control switch 32 .
[0100] When the switching circuit 30 includes a controller, and the controller is electrically connected to the second control switch 31 and the third control switch 32, the controller can control the second control switch 31 and the third control switch 32, so that the second control switch 31 and the third control switch 32 are both connected to the video interface circuit 50, or the second control switch 31 and the third control switch 32 are both connected to the serial port circuit 60. In other words, by providing a controller, the second control switch 31 and the third control switch 32 can be easily controlled.
[0101] It should be noted that the controller can be connected to the voltage comparison module 42. When the voltage comparison module 42 outputs a first signal, the controller controls the second control switch 31 and the third control switch 32 to be connected to the video interface circuit 50. When the voltage comparison module 42 outputs a second signal, the controller controls the second control switch 31 and the third control switch 32 to be connected to the serial port circuit 60.
[0102] In addition, in the embodiment of the present application, the controller may be a control chip.
[0103] It should be noted that, in the embodiment of the present application, when the interface is a video interface, the first plug pin 11 and the second plug pin 12 can be two pins corresponding to the address code respectively.
[0104] In the embodiment of the present application, since the switching circuit 30 is respectively connected to the first plug pin 11 and the second plug pin 12, the video interface circuit 50 and the serial port circuit 60 are both electrically connected to the switching circuit 30, and the detection circuit 40 is electrically connected to the third plug pin 20, and the detection circuit 40 is respectively electrically connected to the switching circuit 30 and the video interface circuit 50, after the functional line is plugged into the interface, the first plug pin 11 and the third plug pin 20 can contact the functional line, so that the detection circuit 40 can determine the type of the functional line. After determining the type of the functional line, the switching circuit 30 can be connected to different functional circuits, so that different functional circuits can realize corresponding functions through the functional line. The detection circuit 40 includes a first voltage divider resistor 41, a voltage comparison module 42, and a first control switch 43. The first end of the first voltage-dividing resistor 41 is connected to the third plug pin 20, and the second end of the first voltage-dividing resistor 41 is electrically connected to the voltage comparison module 42 and the first control switch 43 respectively. The first control switch 43 is electrically connected to the video interface circuit 50. Therefore, when the signals output by the voltage comparison module 42 are different, it can be determined that the interface is connected to different functional lines, and the type of the functional line can be determined. When the functional line is determined to be a video line, the switching circuit 30 is connected to the video interface circuit 50, and the switching circuit 30 is also connected to the first plug pin 11 and the second plug pin 12, so that the video interface circuit 50 can realize the video function through the video line; when the functional line is determined to be a serial port line, the switching circuit 30 is connected to the serial port circuit 60, and the switching circuit 30 is also connected to the first plug pin 11 and the second plug pin 12, so that the serial port circuit 60 can realize the serial port function through the serial port line. That is, in the embodiment of the present application, by setting the switching circuit 30, the detection circuit 40, the video interface circuit 50 and the serial port circuit 60 in the interface, after different functional lines are inserted into the interface, the interface can realize different functions, which is equivalent to making an interface realize the effect of functional reuse. Therefore, after the interface is applied to the server, the number of interfaces can be saved, so that the server has more installation space, and more devices can be set on the server, which is conducive to diversifying the server functions.
[0105] The present embodiment provides a functional line for plugging into the interface of any of the above embodiments. As shown in Figure 3, the functional line includes an insert port 100, which is provided with a connection pin 101 and a ground pin 102. The ground pin 102 is connected to an identification resistor 103. The identification resistor 103 is used to enable the detection circuit 40 to identify the functional line. When the detection circuit 40 identifies the functional line, it determines that the functional line is a serial port line. When the insert port 100 is plugged into the interface, the connection pin 101 contacts the first plug pin 11, and the ground pin 102 contacts the third plug pin 20.
[0106] When the plug interface 100 is provided with a connection pin 101 and a ground pin 102, and the ground pin 102 is connected to the identification resistor 103, after the functional line is inserted into the interface, the connection pin 101 contacts the first plug pin 11, and the ground pin 102 contacts the third plug pin 20. As a result, the identification resistor 103 and the first and second voltage-dividing resistors 41 and 44 in the interface and the third voltage-dividing circuit divide the voltage so that the voltage after the voltage division is within the range of the first and second voltage values, so that the detection circuit 40 can identify the functional line as a serial port line. In other words, by providing the identification resistor 103, it is easier for the detection circuit 40 to determine that the functional line is a serial port line.
[0107] In addition, in the embodiment of the present application, the resistance of the identification resistor 103 can be 24 kilo-ohms. Of course, the resistance of the identification resistor 103 can also be other resistance values, as long as the voltage after the voltage division by the identification resistor 103 is within the range of the first voltage value to the second voltage value. For example, the resistance of the identification resistor 103 is 50 kilo-ohms. By adjusting the first voltage-dividing resistor 41, the second voltage-dividing resistor 44, and the third voltage-dividing resistor 45, the voltage after the voltage division by the identification resistor 103, the first voltage-dividing resistor 41, the second voltage-dividing resistor 44, and the third voltage-dividing resistor 45 is within the range of the first voltage value to the second voltage value. The specific resistance value of the identification resistor 103 is not limited in the embodiment of the present application.
[0108] It should be noted that, in the embodiment of the present application, there may be two connection pins 101, namely an RXD pin and a TXD pin.
[0109] An embodiment of the present application provides a server, which includes a housing and an interface according to any one of the above embodiments. The interface is provided on the housing.
[0110] In the embodiment of the present application, since the switching circuit 30 is respectively connected to the first plug pin 11 and the second plug pin 12, the video interface circuit 50 and the serial port circuit 60 are both electrically connected to the switching circuit 30, and the detection circuit 40 is electrically connected to the third plug pin 20, and the detection circuit 40 is respectively electrically connected to the switching circuit 30 and the video interface circuit 50, after the functional line is plugged into the interface, the first plug pin 11 and the third plug pin 20 can contact the functional line, so that the detection circuit 40 can determine the type of the functional line. After determining the type of the functional line, the switching circuit 30 can be connected to different functional circuits, so that different functional circuits can realize corresponding functions through the functional line. The detection circuit 40 includes a first voltage divider resistor 41, a voltage comparison module 42, and a first control switch 43. The first end of the first voltage-dividing resistor 41 is connected to the third plug pin 20, and the second end of the first voltage-dividing resistor 41 is electrically connected to the voltage comparison module 42 and the first control switch 43 respectively. The first control switch 43 is electrically connected to the video interface circuit 50. Therefore, when the signals output by the voltage comparison module 42 are different, it can be determined that the interface is connected to different functional lines, and the type of the functional line can be determined. When the functional line is determined to be a video line, the switching circuit 30 is connected to the video interface circuit 50, and the switching circuit 30 is also connected to the first plug pin 11 and the second plug pin 12, so that the video interface circuit 50 can realize the video function through the video line; when the functional line is determined to be a serial port line, the switching circuit 30 is connected to the serial port circuit 60, and the switching circuit 30 is also connected to the first plug pin 11 and the second plug pin 12, so that the serial port circuit 60 can realize the serial port function through the serial port line. That is, in the embodiment of the present application, by setting the switching circuit 30, the detection circuit 40, the video interface circuit 50 and the serial port circuit 60 in the interface, after different functional lines are inserted into the interface, the interface can realize different functions, which is equivalent to making an interface realize the effect of functional reuse. Therefore, after the interface is applied to the server, the number of interfaces can be saved, so that the server has more installation space, and more devices can be set on the server, which is conducive to diversifying the server functions.
[0111] In addition, in some embodiments, the detection circuit 40 may include a second voltage-dividing resistor 44 and a third voltage-dividing resistor 45. The server has a first voltage component, and the second voltage-dividing resistor 44 is connected to the first voltage component. The detection circuit 40 may also include a fourth voltage-dividing resistor 46. The server has a second voltage component, and the fourth voltage-dividing resistor 46 is connected to the second voltage component. The detection circuit 40 may also include a fifth voltage-dividing resistor 47. The server has a third voltage component, and the fifth voltage-dividing resistor 47 is connected to the third voltage component.
[0112] The first voltage component can continuously provide voltage to the second voltage-dividing resistor 44 , the second voltage component can continuously provide voltage to the fourth voltage-dividing resistor 46 , and the third voltage component can continuously provide voltage to the fifth voltage-dividing resistor 47 .
[0113] It should be noted that the various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same and similar parts between the various embodiments can be referenced to each other.
[0114] Although alternative embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they become aware of the basic inventive concept. Therefore, the appended claims are intended to be interpreted as including alternative embodiments and all changes and modifications that fall within the scope of the present invention.
[0115] Finally, it should be noted that, in this document, relational terms such as first and second, etc., are used only to distinguish one entity from another, and do not necessarily require or imply any actual relationship or order between these entities. Moreover, the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that an article or terminal device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such article or terminal device. In the absence of further limitations, an element defined by the phrase "comprising a..." does not exclude the presence of additional identical elements in the article or terminal device comprising the element.
[0116] The above is a detailed introduction to the technical solution provided by the present application. Specific examples are used herein to illustrate the principles and implementation methods of the present application. At the same time, for those skilled in the art, according to the principles and implementation methods of the present application, there may be changes in the specific implementation methods and application scope. In summary, the contents of this specification should not be understood as limiting the present application.
Claims
1. An interface, applied to a server, characterized in that: The interface includes: a first plug pin, a second plug pin, a third plug pin, a switching circuit, a detection circuit, a video interface circuit, and a serial port circuit; The switching circuit is connected to the first plug pin and the second plug pin respectively, the video interface circuit and the serial port circuit are both electrically connected to the switching circuit, the detection circuit is electrically connected to the third plug pin, and the detection circuit is electrically connected to the switching circuit and the video interface circuit respectively, the first plug pin, the second plug pin and the third plug pin are all used to connect a function line, and the detection circuit is used to determine the type of the function line when the interface is connected to the function line; The detection circuit comprises: a first voltage-dividing resistor, a voltage comparison module, and a first control switch, wherein the first end of the first voltage-dividing resistor is connected to the third plug pin, the second end of the first voltage-dividing resistor is electrically connected to the voltage comparison module and the first control switch respectively, the first control switch is electrically connected to the video interface circuit, and the voltage comparison module is electrically connected to the switching circuit; When the functional line is connected to the interface, the voltage comparison module outputs a signal to the switching circuit to determine whether the functional line is a video line or a serial port line, so that the switching circuit is connected to the video interface circuit, or the switching circuit is connected to the serial port circuit.
2. The interface according to claim 1, characterized in that: When the function line is connected to the interface and the voltage comparison module outputs a first signal to the switching circuit, the function line is a video line, and the switching circuit is connected to the video interface circuit; When the function line is connected to the interface and the voltage comparison module outputs a second signal to the switching circuit, the function line is a serial port line, and the switching circuit is connected to the serial port circuit.
3. The interface according to claim 1, characterized in that: The voltage comparison module includes a first voltage comparator and a second voltage comparator, the second end of the first voltage-dividing resistor is connected to the first voltage comparator and the second voltage comparator respectively, the first voltage comparator and the second voltage comparator are both electrically connected to the switching circuit, the voltage threshold of the first voltage comparator is a first voltage value, the voltage threshold of the second voltage comparator is a second voltage value, and the first voltage value is less than the second voltage value; When the voltage input by the first voltage comparator and the voltage input by the second voltage comparator are both less than the first voltage value, the first voltage comparator and the second voltage comparator both output a first signal to output the first signal to the switching circuit, and the switching circuit is connected to the video interface circuit; When the voltage input to the first voltage comparator and the voltage input to the second voltage comparator are both greater than the second voltage value, the first voltage comparator and the second voltage comparator both output a second signal to output a first signal to the switching circuit, and the switching circuit is connected to the video interface circuit; When the voltage input to the first voltage comparator is greater than the first voltage value and the voltage input to the second voltage comparator is less than the second voltage value, the first voltage comparator outputs a second signal and the second voltage comparator outputs a first signal to output a second signal to the switching circuit, and the switching circuit is connected to the serial port circuit.
4. The interface according to claim 3, characterized in that: The positive input terminal of the first voltage comparator and the negative input terminal of the second voltage comparator are both connected to the second end of the first voltage-dividing resistor, and the output terminal of the first voltage comparator and the output terminal of the second voltage comparator are both electrically connected to the switching circuit.
5. The interface according to claim 3, characterized in that: The first voltage value is 0.1V, and the second voltage value is 0.2V.
6. The interface according to claim 1, characterized in that: The detection circuit also includes a second voltage-dividing resistor and a third voltage-dividing resistor; The second voltage-dividing resistor and the third voltage-dividing resistor are connected in series, the second end of the first voltage-dividing resistor is connected between the second voltage-dividing resistor and the third voltage-dividing resistor, the third voltage-dividing resistor is grounded, and the second voltage-dividing resistor is used to connect the first voltage component.
7. The interface according to claim 6, characterized in that: The first end of the second voltage-dividing resistor is used to connect to the first voltage component, the second end of the second voltage-dividing resistor is connected to the first end of the third voltage-dividing resistor, and the second end of the third voltage-dividing resistor is grounded; The second end of the first voltage-dividing resistor is connected between the second end of the second voltage-dividing resistor and the first end of the third voltage-dividing resistor, and is respectively connected to the second end of the second voltage-dividing resistor and the first end of the third voltage-dividing resistor.
8. The interface according to claim 1, characterized in that: The detection circuit further includes a fourth voltage-dividing resistor, a first end of the fourth voltage-dividing resistor is used to connect to the second voltage component, and a second end of the fourth voltage-dividing resistor is electrically connected to the first control switch.
9. The interface according to claim 8, characterized in that: The first control switch includes a field effect transistor; The field effect tube comprises a source, a gate and a drain, the source is connected to the gate, and the gate is grounded, and the drain is electrically connected to the second end of the fourth voltage-dividing resistor and the video interface circuit respectively.
10. The interface according to claim 3, characterized in that: The detection circuit also includes a fifth voltage-dividing resistor, a first end of the fifth voltage-dividing resistor is used to connect to a third voltage component, an output end of the first voltage comparator and an output end of the second voltage comparator are both connected to a second end of the fifth voltage-dividing resistor, and a second end of the fifth voltage-dividing resistor is electrically connected to the switching circuit.
11. The interface according to claim 10, characterized in that: The detection circuit also includes a filter circuit, a first end of the filter circuit is connected to the second end of the fifth voltage-dividing resistor, a second end of the filter circuit is electrically connected to the switching circuit, and the filter circuit is used to filter out noise in the signal transmitted to the switching circuit.
12. The interface according to claim 11, characterized in that: The filter circuit includes a filter resistor and a filter capacitor; The filter resistor is connected to the second end of the fifth voltage-dividing resistor, the filter resistor is respectively connected to the filter capacitor and the switching circuit, and the filter capacitor is grounded.
13. The interface according to claim 12, characterized in that: The first end of the filter resistor is connected to the second end of the fifth voltage-dividing resistor, the second end of the filter resistor is respectively connected to the switching circuit and the first end of the filter capacitor, and the second end of the filter capacitor is grounded.
14. The interface according to claim 2, characterized in that: The switching circuit includes a second control switch and a third control switch; The second control switch and the third control switch are connected to the first plug pin and the second plug pin respectively, and the second control switch is connected to the video interface circuit and the serial port circuit, and the third control switch is connected to the video interface circuit and the serial port circuit; When the functional line is a video line, the second control switch and the third control switch are both connected to the video interface circuit; When the functional line is a serial port line, the second control switch and the third control switch are both connected to the serial port line. The circuit is connected.
15. The interface according to claim 14, characterized in that: The second control switch includes a first input terminal, a second output terminal and a third output terminal, and the third control switch includes a second input terminal, a fourth output terminal and a fifth output terminal; The first input end is connected to the first plug pin, the second input end is connected to the second plug pin, the second output end and the fourth output end are both connected to the video interface circuit, and the third output end and the fifth output end are both connected to the serial port circuit; When the functional line is a video line, the first input terminal is connected to the second output terminal, and the second input terminal is connected to the fourth output terminal, so that the second control switch and the third control switch are both connected to the video interface circuit; When the function line is a serial port line, the first input end is connected to the third output end, and the second input end is connected to the fifth output end, so that the second control switch and the third control switch are both connected to the serial port circuit.
16. The interface according to claim 14, characterized in that: The second control switch and the third control switch both include any one of an analog switch and a single-pole double-throw relay.
17. The interface according to claim 14, characterized in that: The switching circuit further includes a controller, which is electrically connected to the second control switch and the third control switch respectively, and is used to control the second control switch and the third control switch to switch.
18. A functional line, characterized in that: Used to be plugged into the interface of any one of claims 1-17; The function line includes a plug interface, the plug interface is provided with a wiring pin and a ground pin, the ground pin is connected to an identification resistor, the identification resistor is used to enable the detection circuit to identify the function line, and when the detection circuit identifies the function line, determine that the function line is a serial port line; When the plug connector is plugged into the interface, the connection pin contacts the first plug pin, and the ground pin contacts the third plug pin.
19. The functional line according to claim 18, characterized in that The resistance of the identification resistor is 24 kilo-ohms.
20. A server, characterized in that: The server comprises a housing and an interface as claimed in any one of claims 1 to 17; The interface is arranged on the housing.
21. The server according to claim 20, characterized in that The detection circuit includes a second voltage-dividing resistor and a third voltage-dividing resistor; The server has a first voltage component, and the second voltage-dividing resistor is connected to the first voltage component; The detection circuit further includes a fourth voltage-dividing resistor, the server has a second voltage component, and the fourth voltage-dividing resistor is connected to the second voltage component; The detection circuit further includes a fifth voltage-dividing resistor. The server includes a third voltage component. The fifth voltage-dividing resistor is connected to the third voltage component.
Citation Information
Patent Citations
Interface multiplexing apparatus in terminal, and adaptor panel
CN104023294A
Communication device
CN104618836A
Data line and charging equipment
CN111817386A
Charging interface device and mobile terminal
CN112165136A
Interface, function line and server
CN115954702A
