CN112241292A - Method for automatically identifying main RX (receiver/transmitter) by KVM (keyboard video mouse) screen crossing - Google Patents

Method for automatically identifying main RX (receiver/transmitter) by KVM (keyboard video mouse) screen crossing Download PDF

Info

Publication number
CN112241292A
CN112241292A CN202010970437.3A CN202010970437A CN112241292A CN 112241292 A CN112241292 A CN 112241292A CN 202010970437 A CN202010970437 A CN 202010970437A CN 112241292 A CN112241292 A CN 112241292A
Authority
CN
China
Prior art keywords
mouse
kvm
keyboard
screen
main
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010970437.3A
Other languages
Chinese (zh)
Other versions
CN112241292B (en
Inventor
朱正辉
张常华
赵定金
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Baolun Electronics Co ltd
Original Assignee
Guangzhou Baolun Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Baolun Electronics Co Ltd filed Critical Guangzhou Baolun Electronics Co Ltd
Priority to CN202010970437.3A priority Critical patent/CN112241292B/en
Publication of CN112241292A publication Critical patent/CN112241292A/en
Application granted granted Critical
Publication of CN112241292B publication Critical patent/CN112241292B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4411Configuring for operating with peripheral devices; Loading of device drivers
    • G06F9/4413Plug-and-play [PnP]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4418Suspend and resume; Hibernate and awake

Abstract

The invention relates to a method for automatically identifying a main RX (receiver/transmitter) by crossing a screen of a KVM (keyboard video mouse), wherein the KVM comprises a KVM host, at least two RX devices and a TX device, wherein the RX devices and the TX device are both connected with the KVM host, the RX devices are connected with the corresponding TX device to detect whether a keyboard and mouse device is operated, if yes, the RX device directly connected with the keyboard and mouse device sends a configuration instruction to the KVM host, the RX device directly connected with the keyboard and mouse device which is operated is marked as a sleep RX device, the KVM establishes an HID (human interface device) channel between the sleep RX device and the corresponding TX device according to the received configuration instruction and enables the HID channel to be set as the main RX device, and the HID channel refers to a data transmission channel between the RX device and the corresponding TX device which has a connection relationship. The RX device connected with the operating keyboard and mouse equipment is automatically identified and set as the main RX device, manual configuration is not needed, and user experience is improved.

Description

Method for automatically identifying main RX (receiver/transmitter) by KVM (keyboard video mouse) screen crossing
Technical Field
The invention relates to the technical field of KVM product identification, in particular to a method for automatically identifying a main RX by a KVM cross-screen mode.
Background
In the existing KVM switch product, a cross-screen combination can be configured through a KVM host, so that a set of keyboard and mouse equipment is implemented to control multiple video sources, but such a configuration has some disadvantages, including that host client software needs to be operated to actively configure a certain RX device in the cross-screen combination as a main RX device, and once a certain RX device is set as the main RX device, other RX devices cannot be changed to be the main RX device in the using process, and if the certain RX device needs to be modified, the active configuration in the KVM host is generally required. And if only the keyboard mouse connected with the main RX device is effective in a cross-screen combination, the use of a plurality of keyboard mice in the cross-screen combination cannot be supported.
For example, assuming that the KVM cross-screen combination includes RX1, RX2 and RX3, and assuming that RX1 is set as the main RX, only the keyboard and mouse device connected to RX1 operates effectively during use, that is, only responds to operation from RX1, and other RX cannot be used even if the keyboard and mouse is plugged in. If the other RX keymice need to be validated, then manual action in the KVM host is required to reconfigure. Such operation setup is cumbersome, very inconvenient, and gives a very low user experience, and therefore, a method capable of automatically identifying the main RX device in the KVM cross screen is required.
Disclosure of Invention
In view of the defects of the prior art, the present invention provides a method for automatically identifying a main RX device by a KVM cross-screen, which can solve the problem of automatic identification of the main RX device in the KVM cross-screen.
The technical scheme for realizing the purpose of the invention is as follows: a method for automatically identifying a main RX by a KVM (keyboard video mouse) cross-screen comprises a KVM host, at least two RX devices and a TX device, wherein the RX devices and the TX device are connected with the KVM host, each RX device and one TX device which is uniquely corresponding to each RX device are in communication connection through the KVM host,
detecting whether the keyboard and mouse equipment is operated, if so, sending a configuration instruction to a KVM host by an RX device directly connected with the keyboard and mouse equipment, recording the RX device directly connected with the operated keyboard and mouse equipment as a sleep RX device, and establishing an HID channel between the sleep RX device and a corresponding TX device and enabling the HID channel by the KVM according to the received configuration instruction so as to set the sleep RX device as a main RX device, wherein the HID channel is a data transmission channel between the RX device and the corresponding TX device with a connection relation;
detecting a moving signal of a mouse in a cross screen, if the mouse moves from a current screen to another screen, setting an RX device where the screen to which the mouse moves as the current RX device, establishing an KMR channel between a previous RX device and the current RX device, an HID channel enabling the current RX device to be located, and an HID channel disabling the previous RX device to be located and a KMR channel, wherein a KMR channel refers to a data transmission channel between two RX devices through a KVM host, and forming cross screen configuration information;
after the main RX device does not receive the operation of the corresponding keyboard and mouse equipment, if any RX device in all RX devices in the cross-screen combination receives the operation of the corresponding keyboard and mouse equipment again, if the operated keyboard and mouse equipment is the current main RX device, the cross-screen configuration information is not updated, otherwise, the RX device where the operated keyboard and mouse equipment is located sends a configuration instruction to the KVM host, and the KVM sets the RX device where the operated keyboard and mouse is located as the main RX device according to the received configuration instruction.
Further, a movement signal of the mouse in the cross screen is detected, and if the mouse moves to a display picture boundary and moves from a current screen to another screen, the RX device where the screen to which the mouse moves is set as the current RX device.
Further, after the main RX device does not receive the operation of the corresponding keyboard and mouse device for a preset time period, it is detected whether the RX device receives the operation of the corresponding keyboard and mouse device again.
Further, the RX device is used to connect with an external keyboard, mouse and display device.
Further, the RX apparatus is connected to an external keyboard, mouse, and display device through a USB, HDMI, or DVI interface.
Further, the TX device is used to connect with an external video source device.
Further, before detecting whether the keyboard and mouse equipment is operated, whether a designated main RX device and/or a current RX device exist or not is detected, if yes, a corresponding main RX device and a corresponding current RX device are established according to designated information, and a corresponding HID channel is enabled.
The invention has the beneficial effects that: the RX device connected with the operating keyboard and mouse equipment is automatically identified and set as the main RX device, manual configuration is not needed, and user experience is improved.
Drawings
FIG. 1 is a schematic flow diagram of the present invention;
FIG. 2 is a schematic diagram of a KVM cross screen combination.
Detailed description of the preferred embodiments
The invention will be further described with reference to the accompanying drawings and specific embodiments:
as shown in fig. 1 and 2, a method for KVM cross-screen auto-identification of a main RX includes a KVM host, at least two RX devices and a TX device, both of which are connected to the KVM host. The RX device is used for connecting with an external keyboard, a mouse and a display device, wherein the RX device can be connected with the display device through a video interface such as an HDMI/DVI interface and the like, and is connected with the keyboard and mouse device through a USB interface, so that the RX device can receive video data from the KVM host and send the video data to the display device for displaying, and receive operation data from the keyboard and mouse device and forward the operation data to the KVM host. The TX device is used to connect with an external video source device, which is typically a PC or server. Similarly, the TX device can also be connected to the video source device through a video interface such as HDMI/DVI, so that the TX device can collect the video data of the video source device and forward the video data to the KVM host, and receive the keyboard and mouse data forwarded by the KVM host and forward the keyboard and mouse data to the signal source. The KVM host is used to implement data exchange between the RX device and the TX device. The hosts in FIG. 1 are all KVM hosts.
The method comprises the steps that each RX device and one uniquely corresponding TX device establish communication connection through a KVM host, keyboard and mouse data transmitted between the RX device and the corresponding TX device with the connection relation are marked as HID data, and a corresponding data transmission channel is marked as an HID channel. The keyboard and mouse data transmitted between the RX device and the RX device through the KVM host are denoted as KMR data, and the corresponding data transmission channel is denoted as KMR channel. Communication between the RX device and the TX device and communication between the RX device and the RX device are defaulted to a disabled state, that is, in a default state, data transmission cannot be performed between the RX device and the TX device, and data transmission cannot be performed between the RX device and the RX device.
Meanwhile, the RX device capable of responding to the current keyboard and mouse operation is denoted as a main RX device, that is, the RX device directly connected with the keyboard and mouse is the main RX device, and the keyboard and mouse operation can be responded, but other keyboard and mouse operations cannot be responded. As shown in fig. 2, operation is performed on a keyboard and mouse directly connected to RX1 and the operation can be responded to, while the remaining keyboard and mouse operations cannot be responded to, and thus RX1 is the main RX device. And the RX device where the mouse displays on the screen of the corresponding display equipment is recorded as the current RX device. Similarly, as shown in fig. 2, assuming that the mouse is displayed on the screen of display device No. 2, the RX device (i.e., RX2) where display device No. 2 is located is the current RX device, i.e., RX2 is the current RX device. In fig. 2, each RX is connected to a corresponding TX, e.g., RX1 is connected to TX1, RX2 is connected to TX2, and the like. RXN in the figure indicates the nth keyboard and mouse device, and "keyboard and mouse" refers to keyboard and mouse device.
Detecting whether the keyboard and mouse equipment is operated, if so, sending a configuration command to a KVM host by an RX device directly connected with the keyboard and mouse equipment, and after receiving the configuration command, the KVM host establishes an HID channel between the RX device and a corresponding TX device and enables the HID channel, namely, the RX device can carry out data communication with the corresponding TX device, so that the operation of the keyboard and mouse equipment connected with the RX device can be responded, and the current main RX device is established.
Preferably, before detecting whether the keyboard and mouse device is operated, detecting whether a designated main RX device and/or a current RX device exists, if so, establishing a corresponding main RX device and a corresponding current RX device according to the designation information, and enabling a corresponding HID channel. If not, detecting whether the keyboard and mouse equipment is operated or not.
After the main RX device is established, a movement signal of the mouse in the cross screen is detected, and if the mouse moves to a display picture boundary (i.e. tries to cross the picture boundary) and moves from a current screen to another screen, the RX device where the screen to which the mouse moves is positioned serves as the current RX device. The KVM host establishes KMR channel between the previous RX device and the current RX device, establishes the HID channel where the current RX device is located, disables the HID channel where the previous RX device is located and KMR channel, and forms cross-screen configuration information. For example, when the mouse is moved from the screen where RX1 is located to the screen where RX2 is located, RX1 is the last RX device, and RX2 is the current RX device. And the HID channel and the KMR channel of RX1 are disabled (i.e., closed), the KMR channel between RX1 and RX2 and the HID channel of RX2 are enabled are established, and the updated cross-screen configuration information is sent to each RX device.
After the keyboard and mouse equipment where the main RX device is located stops operating for a preset period of time, if the keyboard and mouse where any RX device in all RX devices in the cross-screen combination is located operates again, if the operated keyboard and mouse is exactly located in the current main RX device, the cross-screen configuration information does not need to be changed, otherwise, the operated keyboard and mouse is not located in the current main RX device, the RX device where the operated keyboard and mouse is located sends a configuration instruction to the KVM host, and the KVM sets the RX device where the operated keyboard and mouse is located as the main RX device according to the received configuration instruction. For example, assume that the current master RX device is RX1, the current RX device is RX2, and the occurrence keymouse operation is RX 3. The RX3 sends a configuration command to the KVM host, and after receiving the configuration command, the KVM host sets the RX3 as the master RX device, even if the KMR channel between the RX3 and the RX2 and the HID channel where the RX2 is located are enabled, and the KMR channel between the RX1 and the RX2 is disabled.
Through the operation, in one cross-screen combination, a plurality of sets of keyboard and mouse devices connected with the RX devices can be automatically switched and used in the cross-screen combination, namely, the RX devices connected with the operated keyboard and mouse devices are automatically identified and set as main RX devices, and manual configuration is not needed.
The embodiments disclosed in this description are only an exemplification of the single-sided characteristics of the invention, and the scope of protection of the invention is not limited to these embodiments, and any other functionally equivalent embodiments fall within the scope of protection of the invention. Various other changes and modifications to the above-described embodiments and concepts will become apparent to those skilled in the art from the above description, and all such changes and modifications are intended to be included within the scope of the present invention as defined in the appended claims.

Claims (7)

1. A method for KVM cross-screen automatic identification of main RX is characterized in that the KVM comprises a KVM host, at least two RX devices and TX devices, wherein the RX devices and the TX devices are connected with the KVM host, each RX device and one TX device which is uniquely corresponding establish communication connection through the KVM host,
detecting whether the keyboard and mouse equipment is operated, if so, sending a configuration instruction to a KVM host by an RX device directly connected with the keyboard and mouse equipment, recording the RX device directly connected with the operated keyboard and mouse equipment as a sleep RX device, and establishing an HID channel between the sleep RX device and a corresponding TX device and enabling the HID channel by the KVM according to the received configuration instruction so as to set the sleep RX device as a main RX device, wherein the HID channel is a data transmission channel between the RX device and the corresponding TX device with a connection relation;
detecting a moving signal of a mouse in a cross screen, if the mouse moves from a current screen to another screen, setting an RX device where the screen to which the mouse moves as the current RX device, establishing an KMR channel between a previous RX device and the current RX device, an HID channel enabling the current RX device to be located, and an HID channel disabling the previous RX device to be located and a KMR channel, wherein a KMR channel refers to a data transmission channel between two RX devices through a KVM host, and forming cross screen configuration information;
after the main RX device does not receive the operation of the corresponding keyboard and mouse equipment, if any RX device in all RX devices in the cross-screen combination receives the operation of the corresponding keyboard and mouse equipment again, if the operated keyboard and mouse equipment is the current main RX device, the cross-screen configuration information is not updated, otherwise, the RX device where the operated keyboard and mouse equipment is located sends a configuration instruction to the KVM host, and the KVM sets the RX device where the operated keyboard and mouse is located as the main RX device according to the received configuration instruction.
2. The KVM cross-screen automatic main RX identification method according to claim 1, wherein a mouse movement signal in the cross-screen is detected, and if the mouse moves to a display screen boundary and moves from a current screen to another screen, the RX device where the screen the mouse moves to is set as the current RX device.
3. The method according to claim 1, wherein the main RX device detects whether the RX device receives the operation of the corresponding keyboard and mouse device again after the main RX device does not receive the operation of the corresponding keyboard and mouse device for a preset time period.
4. The KVM cross-screen auto-id main RX method according to claim 1, wherein said RX device is used to connect with external keyboard, mouse and display.
5. The KVM cross-screen automatic main RX identification method according to claim 4, wherein the RX device is connected to external keyboard, mouse and display device through USB, HDMI or DVI interface.
6. The KVM cross-screen auto-id main RX method of claim 1, wherein said TX device is configured to connect to an external video source device.
7. The method for KVM cross-screen automatic main RX identification according to claim 1, further comprising detecting whether there is a designated main RX device and/or a current RX device before said detecting whether the keyboard and mouse device is operated, if yes, establishing a corresponding main RX device and current RX device according to the designated information, and enabling a corresponding HID channel.
CN202010970437.3A 2020-09-15 2020-09-15 Method for automatically identifying main RX device by KVM (keyboard video mouse) screen crossing Active CN112241292B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010970437.3A CN112241292B (en) 2020-09-15 2020-09-15 Method for automatically identifying main RX device by KVM (keyboard video mouse) screen crossing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010970437.3A CN112241292B (en) 2020-09-15 2020-09-15 Method for automatically identifying main RX device by KVM (keyboard video mouse) screen crossing

Publications (2)

Publication Number Publication Date
CN112241292A true CN112241292A (en) 2021-01-19
CN112241292B CN112241292B (en) 2022-04-08

Family

ID=74170941

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010970437.3A Active CN112241292B (en) 2020-09-15 2020-09-15 Method for automatically identifying main RX device by KVM (keyboard video mouse) screen crossing

Country Status (1)

Country Link
CN (1) CN112241292B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040015615A1 (en) * 1999-10-25 2004-01-22 Liu Cheng Kuo Method for performing data transfer of KVM switch
US20050044236A1 (en) * 2003-08-06 2005-02-24 David Stafford Method and apparatus for transmitting keyboard/video/mouse data to and from digital video appliances
US20090199298A1 (en) * 2007-06-26 2009-08-06 Miliefsky Gary S Enterprise security management for network equipment
CN101739137A (en) * 2008-11-05 2010-06-16 北京广利核系统工程有限公司 KVM device for realizing quick switching
US20110022771A1 (en) * 2009-07-23 2011-01-27 Video Products, Inc. System and method for displaying alarm notifications on an on-screen display
CN104199569A (en) * 2014-09-03 2014-12-10 山东超越数控电子有限公司 Keyboard and mouse switching and using method based on USB interfaces in KVM equipment
US20180239719A1 (en) * 2017-02-21 2018-08-23 High Sec Labs Ltd. Method and apparatus for securing kvm matrix
US20190088233A1 (en) * 2017-09-19 2019-03-21 Intel Corporation Gateway assisted out-of-band keyboard, video, or mouse (kvm) for remote management applications
CN209182780U (en) * 2018-10-26 2019-07-30 广州市保伦电子有限公司 A kind of KVM switcher and KVM matrix management system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040015615A1 (en) * 1999-10-25 2004-01-22 Liu Cheng Kuo Method for performing data transfer of KVM switch
US20050044236A1 (en) * 2003-08-06 2005-02-24 David Stafford Method and apparatus for transmitting keyboard/video/mouse data to and from digital video appliances
US20090199298A1 (en) * 2007-06-26 2009-08-06 Miliefsky Gary S Enterprise security management for network equipment
CN101739137A (en) * 2008-11-05 2010-06-16 北京广利核系统工程有限公司 KVM device for realizing quick switching
US20110022771A1 (en) * 2009-07-23 2011-01-27 Video Products, Inc. System and method for displaying alarm notifications on an on-screen display
CN104199569A (en) * 2014-09-03 2014-12-10 山东超越数控电子有限公司 Keyboard and mouse switching and using method based on USB interfaces in KVM equipment
US20180239719A1 (en) * 2017-02-21 2018-08-23 High Sec Labs Ltd. Method and apparatus for securing kvm matrix
US20190088233A1 (en) * 2017-09-19 2019-03-21 Intel Corporation Gateway assisted out-of-band keyboard, video, or mouse (kvm) for remote management applications
CN209182780U (en) * 2018-10-26 2019-07-30 广州市保伦电子有限公司 A kind of KVM switcher and KVM matrix management system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
赵可新 等: "KVM交换机的优化设计研究", 《仪表技术与传感器》 *

Also Published As

Publication number Publication date
CN112241292B (en) 2022-04-08

Similar Documents

Publication Publication Date Title
US7138989B2 (en) Display capable of displaying images in response to signals of a plurality of signal formats
CN102662514B (en) A kind of method and mobile terminal of control touch screen
JP3333062B2 (en) Data processing device and display device
TWI590063B (en) Display device
US8990438B2 (en) Receiver configured to pair to multiple wireless devices
US20120246359A1 (en) Method and System for USB Device Virtualization
US20120146884A1 (en) Control transfer apparatus, control transfer system and method thereof
US20110292282A1 (en) Information processing device, information processing method, and information processing system
JP2001251333A (en) Communication system for wireless input device for computer provided with universal serial bus and its method
CN111638862A (en) Switching system for multi-host multi-network shared display
US9244699B2 (en) Method and system for audio device virtualization
CN103329115A (en) Remote access appliance with communication protocol autosensing feature
CN112099753A (en) KVM seat management monitoring system based on optical fiber communication
CN112241292B (en) Method for automatically identifying main RX device by KVM (keyboard video mouse) screen crossing
CN108959153B (en) All-in-one machine, data continuous transmission method, device, equipment and storage medium
US10775909B2 (en) Cursor control system and control method thereof
US20080183940A1 (en) Computer Switch Having Integrated Direct Connection And Scan Interface Structures
US11797470B2 (en) Electronic device and control method thereof
CN212624021U (en) Switching system for multi-host multi-network shared display
CN107018368A (en) Switch long-range control method and system
CN112714272A (en) Inter-device control method, terminal, and computer-readable storage medium
TWI510925B (en) Remote management device for detecting status of controlled computers
JP3883746B2 (en) Presentation device
JP2012230627A (en) Transmitter, receiver, and transmission method
CN108933906B (en) Management system and management method of high-definition video matrix input/output daughter card

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: No. 56 Nanli East Road, Shiqi Town, Panyu District, Guangzhou City, Guangdong Province, 510000

Patentee after: Guangdong Baolun Electronics Co.,Ltd.

Address before: 510000 Building 1, industrial zone B, Zhongcun street, Panyu District, Guangzhou City, Guangdong Province

Patentee before: GUANGZHOU ITC ELECTRONIC TECHNOLOGY Co.,Ltd.