KVM (Keyboard Video Mouse) switcher capable of automatically controlling power-on, switching method and electronic equipment

The status detection module and the power supply control module automatically control the power supply of the downstream USB interface, solving the energy waste and compatibility problems in the KVM switch, and realizing precise power supply management and stable device connection.

CN120723085APending Publication Date: 2025-09-30SHANDONG CHAOYUE DATA CONTROL ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510840715.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-23
Publication Date
2025-09-30

AI Technical Summary

Technical Problem

The downstream USB ports of existing KVM switches are still powered when the host is in standby or shut down, resulting in energy waste and compatibility issues.

Method used

The state detection module and the power supply control module are used to automatically control the power supply state of the downstream USB interface by detecting the voltage of the host USB interface. The power supply is only supplied when the host is turned on and is turned off in other states.

Benefits of technology

It reduces energy loss, avoids compatibility issues such as USB interface device non-recognition due to timing problems, and improves the compatibility and stability of the KVM switch.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120723085A_ABST
    Figure CN120723085A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of computer peripherals, and discloses a KVM switcher capable of automatically controlling power-on, a switching method and electronic equipment.The KVM switcher comprises a state detection module and a power supply control module which are in communication connection, the state detection module comprises a voltage detection circuit, and the voltage detection circuit is electrically connected with a host USB interface and used for detecting the output voltage of the host USB interface; the detected voltage signal is converted into a level signal for judging the state of the host; the state detection module sends a level signal used for judging the state of a host to the power supply control module, and the power supply control module is used for controlling the power supply state of a downlink interface according to the level signal. In the invention, the downlink USB interface is not always in a power supply state, so that the energy loss is effectively reduced. Moreover, whether the downlink USB power supply is enabled or not is determined only according to the host state, so that the compatibility problem that the equipment is not identified due to the time sequence problem is avoided, and the compatibility of the multi-computer switcher is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of computer peripherals, for example, to a KVM switch with automatic power-on control, a switching method, and an electronic device. Background Art

[0002] A KVM switch (multi-computer switch) is a computer management device. KVM stands for Keyboard, Video, and Mouse. Its core value lies in efficiently and conveniently controlling multiple physical computers or servers using a single keyboard, mouse, and monitor. It is widely used on personal desktops, in office environments, and in data center management.

[0003] In current KVM switch applications, the downstream USB port is typically always powered when the KVM device is powered on, and this power status is independent of the host's operating status. This situation results in significant energy waste, especially when the upstream device is in standby or off, while the device connected to the downstream USB port remains powered, wasting energy. Furthermore, when the upstream device is in standby or off, the downstream USB device remains powered. Waking the host at this time can lead to compatibility issues such as USB port device recognition issues due to power sequencing, impacting normal device operation. Therefore, a KVM switch with automatic power-on control is urgently needed to address these issues.

[0004] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of this application, and therefore may include information that does not constitute prior art known to ordinary technicians in this field. Summary of the Invention

[0005] In order to provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is given below. The summary is not an extensive review, nor is it intended to identify key / critical elements or delineate the scope of protection of these embodiments, but rather serves as a prelude to the detailed description that follows.

[0006] The embodiments of the present disclosure provide a KVM switch, a switching method, and an electronic device with automatic power-on control, so as to solve the technical problems of energy waste and compatibility caused by unreasonable power supply control of a downstream USB interface.

[0007] In some embodiments, a KVM switch with automatic power-on control includes: a communication connection status detection module and a power supply control module, wherein:

[0008] The status detection module includes a voltage detection circuit, which is electrically connected to the host USB interface and is used to detect the output voltage of the host USB interface and convert the detected voltage signal into a level signal for determining the host status;

[0009] The status detection module sends a level signal for determining the host status to the power supply control module, and the power supply control module is used to control the power supply status of the downstream USB interface according to the level signal.

[0010] In some embodiments, the voltage detection circuit is a MOS transistor application circuit configured as follows:

[0011] When the output voltage of the host USB interface is zero, the MOS tube is not turned on and the signal output terminal outputs a high level;

[0012] When the output voltage of the host USB interface is not zero, the MOS tube is turned on and the signal output end outputs a low level.

[0013] In some embodiments, the power supply control module includes: a USB path switching unit and a power supply enabling control unit, wherein:

[0014] The USB path switching unit is used to switch the USB path corresponding to the upstream host;

[0015] The power supply enable control unit is used to control the power supply enable of the downstream USB interface according to the host status.

[0016] In some embodiments, the host status includes not in place, in place and powered off, in place and standby, and in place and powered on.

[0017] In some embodiments, the power supply control module is configured to:

[0018] When the KVM switch is powered on for the first time, the power supply of the downstream USB interface is initialized to the off state;

[0019] When the level signal used to determine the host status indicates that the current host is in place and powered on, the downstream USB interface is enabled to supply power.

[0020] In some embodiments, the power supply control module is further configured to:

[0021] During host switching, if the level signal used to determine the host status indicates that the target host is not in place, in place and powered off, or in place and in standby, the power supply of the downstream USB interface is kept off;

[0022] When the level signal used to determine the host status indicates that the target host is in place and powered on, the downstream USB interface is enabled to supply power.

[0023] In some embodiments, the control chip of the power supply control module is a domestically produced single-chip microcomputer.

[0024] In some embodiments, a KVM switching method with automatic power-on control is applied to any of the above-mentioned KVM switches with automatic power-on control, the method comprising:

[0025] Detect the output voltage of the host USB interface;

[0026] Convert the detected voltage signal into a level signal for judging the host status;

[0027] controlling the power supply state of the downstream USB interface according to the host state represented by the level signal used to determine the host state;

[0028] When the host is switched, the host status before and after the switch is tracked and detected, and the power supply status of the downstream USB interface is controlled accordingly.

[0029] In some embodiments, before detecting the output voltage of the host USB interface, the method further includes:

[0030] When the KVM switch is powered on for the first time, the power supply of the downstream USB interface is initialized to the off state;

[0031] When the level signal used to determine the host status indicates that the current host is in place and powered on, the downstream USB interface is enabled to supply power.

[0032] In some embodiments, an electronic device includes any of the above-mentioned KVM switches with automatic power-on control.

[0033] The KVM switch, switching method, and electronic device with automatic power-on control provided by the embodiments of the present disclosure can achieve the following technical effects:

[0034] The voltage detection circuit in the status detection module is electrically connected to the host USB interface, and can obtain the output voltage of the host USB interface, and convert it into a level signal based on the obtained output voltage. The level signal can feedback the current host status. The status detection module sends the level signal to the power supply control module, and the power supply control module can control the power supply status of the downstream USB interface based on the level signal. Based on this, the downstream USB interface is no longer always in a power supply state, but decides whether to supply power based on the host status, which effectively reduces energy loss. Moreover, in this application, the power supply of the downstream USB interface is controlled only when it is determined that the downstream USB interface needs to be in a powered state based on the host status, thereby avoiding compatibility issues such as USB interface device non-recognition due to timing problems, and improving the compatibility of the KVM switch.

[0035] The above general description and the following description are exemplary and explanatory only and are not intended to limit the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] One or more embodiments are exemplarily described by corresponding drawings. These exemplary descriptions and drawings do not limit the embodiments. Elements with the same reference numerals in the drawings are shown as similar elements. The drawings do not constitute a scale limitation. In addition,

[0037] Figure 1 This is a schematic diagram of host status detection provided by an embodiment of the present disclosure;

[0038] Figure 2 is a circuit diagram of a voltage detection circuit provided by an embodiment of the present disclosure;

[0039] Figure 3 This is a block diagram of an implementation of switching between a USB 2.0 signal and a debug serial port signal provided by an embodiment of the present disclosure;

[0040] Figure 4 This is a first power-on flow chart provided by an embodiment of the present disclosure;

[0041] Figure 5 This is a host switching flow chart provided by an embodiment of the present disclosure;

[0042] Figure 6 This is a flow chart of a KVM switching method for automatically controlling power-on provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0043] In order to be able to understand the features and technical content of the embodiments of the present disclosure in more detail, the implementation of the embodiments of the present disclosure is described in detail below in conjunction with the accompanying drawings. The accompanying drawings are for reference only and are not used to limit the embodiments of the present disclosure. In the following technical description, for the sake of convenience of explanation, a full understanding of the disclosed embodiments is provided through multiple details. However, one or more embodiments can still be implemented without these details. In other cases, to simplify the drawings, well-known structures and devices can be simplified for display.

[0044] The terms "first," "second," and the like in the embodiments of the present disclosure are used to distinguish similar objects and are not necessarily used to describe a particular order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate to facilitate the description of the embodiments of the present disclosure herein. Furthermore, the terms "including," "having," and any variations thereof are intended to cover non-exclusive inclusions.

[0045] Unless otherwise stated, the term "plurality" means two or more.

[0046] In the embodiment of the present disclosure, the character " / " indicates that the preceding and following objects are in an "or" relationship. For example, A / B means: A or B.

[0047] The term "and / or" describes an association between objects, indicating that three relationships can exist. For example, A and / or B means: A or B, or A and B.

[0048] The term "correspondence" may refer to an association relationship or a binding relationship. The correspondence between A and B means that there is an association relationship or a binding relationship between A and B.

[0049] A KVM switch (Keyboard, Video, Mouse Switch) is a hardware device that allows users to centrally control multiple computers or servers using a single keyboard, monitor, and mouse. One end of the KVM switch connects to the host computer, and the other connects to the user control devices (keyboard, monitor, and mouse) via a USB port. By physically switching the signal path, users can quickly switch between connected computers with the press of a button or the use of shortcut keys.

[0050] In current KVM switch applications, regardless of the status of the upstream host, the devices connected to the downstream USB interface remain powered, wasting energy. Furthermore, regardless of the status of the upstream host, the downstream USB interface continues to supply power, keeping the USB device in a "semi-activated" state. The USB controller must be reinitialized upon awakening the host. If the USB device continues to be powered and fails to fully reset (e.g., retaining cached data or maintaining an error state), it will send a non-standard initialization signal to the host. This can cause the keyboard indicator to illuminate after awakening, but input may be incapable, or the mouse cursor to freeze, depending on the power supply timing. This requires re-plugging the USB cable to force a reset.

[0051] In order to solve the above problems, the embodiment of the present disclosure provides a KVM switch with automatic power-on control. The KVM switch with automatic power-on control provided by the embodiment of the present disclosure is described in detail below with reference to the accompanying drawings.

[0052] Figure 1 This is a schematic diagram of host status detection provided by an embodiment of the present disclosure. Figure 1 The KVM switch includes a communication status detection module and a power supply control module. The status detection module includes a voltage detection circuit electrically connected to the host USB interface and capable of detecting the output voltage of the host USB interface. In one implementation, the 5V USB interface power supply voltage provided by the host can be used as the basis for determining the host status. The voltage detection circuit obtains the 5V power supply from the host via an external connection.

[0053] In some embodiments, the status detection module converts the acquired voltage signal into a level signal for determining the host status. For example, when the USB interface power supply voltage provided by the host is 5V, the module outputs a low-level signal, and when the USB interface power supply voltage provided by the host is 0V, the module outputs a high-level signal.

[0054] In some embodiments, the host status includes host not in place, host in place and powered off, host in place and standby, and host in place and powered on. The following is the USB interface power supply voltage provided by the host in different host states:

[0055] When the host is not in place (not connected to the KVM switch), the USB interface power supply voltage provided by the host is 0V; when the host is in place and turned off, the USB interface power supply voltage provided by the host is 0V; when the host is in place and on standby, the USB interface power supply voltage provided by the host is 0V; when the host is in place and turned on, the USB interface power supply voltage provided by the host is 5V.

[0056] Therefore, only when the host is in place and powered on, the USB interface power supply voltage provided by the host is 5V, and in all other states (host not in place, host in place and powered off, host in place and in standby) it is 0V. Accordingly, only when the host is in place and powered on, the state detection module can obtain a low-level signal to indicate that the host is in place and powered on. When the host is not in place, the host is in place and powered off, or the host is in place and in standby, the state detection module can obtain a high-level signal to indicate that the host is not in place, the host is in place and powered off, or the host is in place and in standby.

[0057] In some embodiments, the status detection module sends a level signal used to determine the host status to the power supply control module, and the power supply control module is used to control the power supply status of the downstream USB interface based on the level signal. Specifically, when the power supply control module receives a low-level signal, it can determine that the host is in place and turned on, and accordingly control the power supply of the downstream USB interface. When the power supply control module receives a high-level signal, it can determine that the host is not in place, the host is in place and turned off, or the host is in place and on standby. In other words, the user does not need to control the host through the downstream device, and can accordingly control the power supply of the downstream USB interface to be turned off.

[0058] In some embodiments, the control chip of the power supply control module is a domestically produced single-chip microcomputer. For example, the Huada Semiconductor HC32 series, such as the HC32F460, is based on the Arm Cortex-M4 core and has strong computing power. It can efficiently handle GPIO control, multi-channel signal detection and switching logic, and adapt to the needs of host status detection and path switching instruction processing in KVM switches. For another example, the GigaDevice GD32F4 series is based on the Cortex-M4 core, with a main frequency of up to 240MHz (some models), a Flash memory of up to 3072KB, and a RAM of more than 512KB.

[0059] Based on the above, the downstream USB interface of the KVM switch is no longer always powered. Instead, it determines whether to power it based on the host status, which effectively reduces energy loss. Furthermore, in this application, the downstream USB interface is only powered when the host status determines that the downstream USB interface needs to be powered. This avoids compatibility issues such as USB interface device misrecognition caused by timing issues, thereby improving the compatibility of the KVM switch.

[0060] In some embodiments, the voltage detection circuit is configured such that: when the output voltage of the host USB interface is zero, the MOS transistor is turned off and the signal output terminal outputs a high level; when the output voltage of the host USB interface is not zero, the MOS transistor is turned on and the signal output terminal outputs a low level.

[0061] Figure 2 This is a circuit diagram of a voltage detection circuit provided by an embodiment of the present disclosure. Figure 2 This section introduces the detection logic of the voltage detection circuit. The voltage detection circuit includes:

[0062] 3P3V: The power supply for the circuit, providing 3.3V DC voltage to power the voltage detection circuit. R3 (100KR_0402): A pull-up resistor with a resistance of 100kΩ and a 0402 package. One end of R3 is connected to 3P3V, and the other end is connected to the USB_DET_N signal line. This pulls the USB_DET_N signal to a high level when no other driver is active, thus clarifying the signal status. USB_DET_N: The detection signal output terminal, used to output a detection signal indicating the USB connection status. The level change of the signal reflects whether the USB is connected, thus indicating the host status. MOS1 (N_60V_0.3A_SOT23_2N7002K): N-channel MOS transistor, type 2N7002K, with a withstand voltage of 60V and a maximum current of 0.3A. Packaged in a SOT23, MOS1 functions as a switch. Its gate (G) is controlled by the 5V_USB_IN circuitry. Its source (S) is grounded, and its drain (D) is connected to the USB_DET_N signal line. MOS1 switches on and off to change the USB_DET_N signal level. 5V_USB_IN: The 5V supply voltage provided by the host to the USB interface. When a USB connection is made, this port receives a 5V input, triggering the voltage detection circuit. R1 (10KR_0402): R1 is a 10kΩ resistor in a 0402 package. Connected in series between 5V_USB_IN and the MOS1 gate, it acts as a current limiter, preventing excessive current from flowing into the MOS1 gate and potentially damaging the device. R2 (100KR_0402): R2 is a 100kΩ resistor in 0402 package, connected between the gate of MOS1 and ground. It is a gate pull-down resistor. When there is no input to 5V_USB_IN, the gate is pulled down to the ground potential to ensure that the MOS tube is reliably cut off, so that USB_DET_N is pulled up by R3 to maintain a high level.

[0063] The operating logic of the voltage detection circuit is as follows: When the host is powered on, the host USB interface outputs a 5V supply voltage. This voltage, called 5V_USB_IN, is applied to the gate of MOS1 after current limiting by R1. This turns the MOS on, pulling the USB_DET_N signal low. When the host is not powered on, powered off, or in standby mode, the host USB interface outputs a 0V supply voltage, leaving 5V_USB_IN neutral. The gate of MOS1 is grounded via R2, turning the MOS off, and pulling the USB_DET_N signal high. The power control module detects changes in the USB_DET_N voltage level to determine the host status.

[0064] In some embodiments, the power control module includes a USB path switching unit and a power enable control unit. Upon receiving a user-sent switching instruction, the USB path switching unit switches the USB path corresponding to the upstream host. The power enable control unit is configured to enable power to the downstream USB interface based on the host status.

[0065] Figure 3 This is a block diagram of the implementation of switching between a USB2.0 signal and a debug serial port signal provided by an embodiment of the present disclosure. Figure 3 The host side includes Host A and Host B. Host A and Host B can output USB data signals (USB_A, USB2.0) and USB interface voltage signals (5VUSB_A, 5VUSB_B), which serve as the USB signal and power input source for the KVM switch. It should be noted that the data signal and voltage signal can be transmitted via a single cable.

[0066] In some embodiments, the voltage detection circuit receives the 5VUSB_A and 5VUSB_B voltage signals from the host. Depending on whether the 5VUSB_A and 5VUSB_B voltage signals are 5V or 0V, the voltage detection circuit outputs a voltage level signal, which is then transmitted to the microcontroller via a general-purpose input / output (GPIO) pin. A MCU from the Huada Semiconductor HC32 series can be selected. This series of MCUs has abundant GPIO resources and can flexibly connect modules such as the voltage detection circuit, switch buttons, and power enable control unit.

[0067] In the KVM switch, the microcontroller interacts with other modules through the GPIO interface, for example, receiving the level signal of the voltage detection circuit; receiving the user's switch button input and responding to the user's manual switching requirements; controlling the USB path switching unit through SEL (Server Enable Link), controlling the power enable control unit through EN, and driving the switching indication feedback status.

[0068] The USB path switching unit receives USB_A and USB_B data signals from hosts A and B, and selects one of the host's USB data paths based on the SEL control signal from the microcontroller. This is output as a USB_COM signal, which is then connected to a USB hub. The USB hub then expands the switched single USB_COM signal into multiple channels, USB_COM_1 through USB_COM_n, which are then distributed to downstream external interfaces, achieving one-to-many USB data distribution.

[0069] The power enable control unit determines the power supply status of the downstream USB interface based on the EN enable signal from the microcontroller, specifically whether to provide 5VUSB_1 to 5VUSB_n power to the downstream external interface. The downstream external interface provides USB COM 1 to USB COMn data interfaces and 5VUSB 1 to 5VUSB n power interfaces, adapting to various USB devices (such as USB flash drives and mobile phones).

[0070] Alternatively, the user can manually trigger a switch button to send a switch signal, which is then transmitted to the MCU, which then switches the host via the USB path switching unit. The MCU can also drive an LED indicator to display the current USB path switching status.

[0071] Figure 4 This is a first power-on flow chart provided by the embodiment of the present disclosure. Figure 4 When the KVM switch is first powered on, the downstream USB interface power supply is initially disabled. This means that, assuming the USB path corresponds to host A by default, the downstream USB interface power supply is initially disabled. After initialization, the current host status is detected. If the voltage detection circuit outputs a low level based on the current host status, the downstream USB interface power supply is enabled. If the voltage detection circuit outputs a high level based on the current host status, the downstream USB interface power supply is disabled.

[0072] Figure 5 This is a host switching flow chart provided by an embodiment of the present disclosure. Figure 5 When the user presses the switch button, the KVM switch performs the host switching operation and switches the current host to the target host. When performing host switching, the status of the target host is first detected. If the voltage detection circuit outputs a low level according to the current host status, that is, the level signal indicates that the target host is in place and turned on, then the downstream USB interface is enabled for power supply. If the voltage detection circuit outputs a high level according to the current host status, that is, the level signal indicates that the target host is not in place, in place and turned off, or in place and on standby, then the power supply of the downstream USB interface is kept off. Afterwards, the voltage detection circuit can track and detect the voltage signal of the target host, and when its corresponding level signal is low, the downstream USB interface is enabled for power supply.

[0073] Taking the host side including host A and host B as an example, if the currently selected USB path is host A and host A is in place and powered on, the downstream USB interface is enabled for power supply and the downstream USB devices are working normally. When the user presses the switch button to switch to host B, if the status of host B is not in place, powered off in place, or in place and on standby, the MCU will turn off the power supply of the downstream USB interface when switching to host B to prevent the downstream USB devices from being powered on when host B is not working properly, causing energy waste or compatibility problems. The status of host B is tracked and detected until host B is detected to be in place and powered on, and then the downstream USB interface is enabled for power supply to ensure that the downstream USB devices are powered when host B is working normally, ensuring the normal use of the devices.

[0074] This application detects the host status in real time through the status detection module, and automatically controls the power supply status of the downstream USB interface through the power supply control module based on the detection results. When the host is not in place, in place and shut down, or in place and standby state, the power supply of the downstream USB interface is turned off in time to achieve accurate power supply management and effectively reduce energy loss. When the host is in place and turned on, the power supply of the downstream USB interface is turned on, avoiding compatibility issues such as USB interface device non-recognition due to timing problems, so that the KVM switch can be stably connected and work with more types of USB devices. At the same time, the power supply control module automatically completes the entire power supply control process without the need for manual operation by the user, achieving a design effect that is not noticeable to the user and ensuring a good user experience. In addition, this design can be applied to multi-host systems, and through accurate status tracking and switching logic, it ensures the stable operation of the KVM switch when switching between different hosts.

[0075] Based on the same inventive concept as the above-mentioned KVM switch with automatic power-on control, the present application also provides a KVM switching method with automatic power-on control in some embodiments. Figure 6 This is a flow chart of a KVM switching method for automatically controlling power-on provided by an embodiment of the present disclosure. Figure 6 , the method comprises the following steps:

[0076] S601: Detect the output voltage of the host USB interface.

[0077] S602: Convert the detected voltage signal into a level signal for determining the host status.

[0078] In some embodiments, the KVM switch is electrically connected to the host USB interface via a voltage detection circuit in a status detection module to obtain the output voltage of the host USB interface. The obtained voltage signal is converted into a level signal for determining the host status. When the host is in place and powered on, the obtained output voltage is 5V, which is converted into a low-level signal to indicate that the host is in place and powered on. When the host is not in place, the host is in place and powered off, or the host is in place and in standby mode, the obtained output voltage is 0V, which is converted into a high-level signal to indicate that the host is not in place, the host is in place and powered off, or the host is in place and in standby mode.

[0079] S603: Control the power supply state of the downstream USB interface according to the host state represented by the level signal for determining the host state.

[0080] When the USB interface power supply voltage provided by the host is 5V, a low-level signal is output to control the power supply of the downstream USB interface accordingly. When the USB interface power supply voltage provided by the host is 0V, a high-level signal is output to control the power supply of the downstream USB interface to be turned off.

[0081] S604: When the host is switched, the host status before and after the switch is tracked and detected, and the power supply status of the downstream USB interface is controlled accordingly.

[0082] In some embodiments, before detecting the output voltage of the host USB interface, the method further includes: initializing the power supply of the downstream USB interface to a disabled state when the KVM switch is first powered on, and enabling the power supply of the downstream USB interface when the level signal for determining the host status indicates that the host is currently in place and powered on.

[0083] Based on the same inventive concept as the above-mentioned KVM switch with automatic power-on control, the present application further discloses an electronic device in some embodiments, which includes the KVM switch with automatic power-on control disclosed in any of the above-mentioned embodiments.

[0084] The technical solution of the embodiments of the present disclosure may be embodied in the form of a software product, which is stored in a storage medium and includes one or more instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in the embodiments of the present disclosure. The aforementioned storage medium may be a non-transitory storage medium, including: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program code, or a transient storage medium.

[0085] The above description and the accompanying drawings fully illustrate the embodiments of the present disclosure so that those skilled in the art can practice them. Other embodiments may include structural, logical, electrical, process and other changes. The embodiments represent only possible variations. Unless explicitly required, separate components and functions are optional, and the order of operations may vary. Parts and features of some embodiments may be included in or replace parts and features of other embodiments. Moreover, the terms used in this application are only used to describe the embodiments and are not used to limit the scope of protection. As used in the description in the text, unless the context clearly indicates otherwise, the singular forms of "a", "an" and "the" are intended to also include plural forms. Similarly, the term "and / or" as used in this application refers to any and all possible combinations of one or more associated listings. In addition, when used in this application, the term "comprise" and its variations "comprises" and / or comprising refer to the presence of stated features, wholes, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or groups thereof. In the absence of further restrictions, an element defined by the statement "comprises a..." does not exclude the presence of other identical elements in the process, method or device that includes the element. In this article, each embodiment may focus on the differences from other embodiments, and the same and similar parts between the various embodiments can be referenced to each other. For the methods, products, etc. disclosed in the embodiments, if they correspond to the method part disclosed in the embodiments, then the relevant parts can be found in the description of the method part.

[0086] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software may depend on the specific application and design constraints of the technical solution. The technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the embodiments of the present disclosure. The technicians will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0087] In the embodiments disclosed herein, the disclosed methods and products (including but not limited to devices, equipment, etc.) can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the units can be merely a logical functional division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms. The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to implement this embodiment. In addition, the functional units in the embodiments of the present disclosure may be integrated into a processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

Claims

1. A KVM switch with automatic power-on control, characterized in that: The KVM switch includes: a communication connection status detection module and a power supply control module, wherein: The status detection module includes a voltage detection circuit, which is electrically connected to the host USB interface and is used to detect the output voltage of the host USB interface and convert the detected voltage signal into a level signal for determining the host status; The state detection module sends a level signal for determining the state of the host to the power supply control module, and the power supply control module is used to control the power supply state of the downstream USB interface according to the level signal.

2. The KVM switch with automatic power-on control according to claim 1, characterized in that: The voltage detection circuit is a MOS tube application circuit, which is configured as follows: When the output voltage of the host USB interface is zero, the MOS tube is not turned on and the signal output terminal outputs a high level; When the output voltage of the host USB interface is not zero, the MOS tube is turned on and the signal output end outputs a low level.

3. The KVM switch with automatic power-on control according to claim 1, characterized in that: The power supply control module includes: a USB path switching unit and a power supply enabling control unit, wherein: The USB path switching unit is used to switch the USB path corresponding to the upstream host; The power supply enabling control unit is used to control the power supply enabling of the downstream USB interface according to the host state.

4. The KVM switch with automatic power-on control according to claim 1, characterized in that: The host status includes not in place, in place and shut down, in place and standby, and in place and powered on.

5. The KVM switch with automatic power-on control according to claim 4, characterized in that: The power supply control module is configured to: When the KVM switch is powered on for the first time, the downstream USB port power supply is initialized to the off state; When the level signal for judging the host status indicates that the current host is in place and powered on, the downstream USB interface is enabled to supply power.

6. The KVM switch with automatic power-on control according to claim 4, characterized in that: The power supply control module is further configured to: When performing host switching, if the level signal for judging the host status indicates that the target host is not in place, in place and shut down, or in place and standby, then the power supply of the downstream USB interface is kept off; When the level signal for determining the host status indicates that the target host is in place and powered on, the downstream USB interface is enabled to supply power.

7. The KVM switch with automatic power-on control according to claim 1, characterized in that: The control chip of the power supply control module is a domestically produced single-chip microcomputer.

8. A KVM switching method for automatically controlling power on, characterized in that: The method applied to the KVM switch with automatic power-on control according to any one of claims 1 to 7 comprises: Detect the output voltage of the host USB interface; Convert the detected voltage signal into a level signal for judging the host status; controlling the power supply state of the downstream USB interface according to the host state represented by the level signal for determining the host state; When the host is switched, the host status before and after the switch is tracked and detected, and the power supply status of the downstream USB interface is controlled accordingly.

9. The KVM switching method for automatically controlling power-on according to claim 8, characterized in that: Before detecting the output voltage of the host USB interface, the method further includes: When the KVM switch is powered on for the first time, the downstream USB port power supply is initialized to the off state; When the level signal for judging the host status indicates that the current host is in place and powered on, the downstream USB interface is enabled to supply power.

10. An electronic device, characterized in that: A KVM switch with automatic power-on control as claimed in any one of claims 1 to 7.