Mouse and keyboard signal transmission method

By introducing keyboard and mouse signal conversion devices and image acquisition devices into the RS485 transmission line, one-way transmission is achieved, solving the problem of RS485 lines being easily infected by viruses and improving the security of the intranet.

CN121597153APending Publication Date: 2026-03-03周兴昌
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511156136.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2024-08-19
Filing Date
2025-08-18
Publication Date
2026-03-03

AI Technical Summary

Technical Problem

In existing technologies, RS485 transmission lines are easily infected by malicious code through the USB interface, leading to internal network security threats and making it impossible to effectively isolate them.

Method used

By employing keyboard and mouse signal conversion devices and image acquisition devices, mouse and keyboard signals are converted into images or values ​​through a one-way transmission path, processed in the computer, and then sent to the KVM extender to achieve one-way transmission and isolate virus transmission.

Benefits of technology

It effectively prevented viruses from entering the internal network from the outside, improved the security of the internal network, and prevented incalculable losses.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure FT_1
    Figure FT_1
Patent Text Reader

Abstract

The invention relates to a mouse and keyboard signal transmission method which is characterized in that a KVM extender receiving end sends content input by a keyboard to an intermediate device, the intermediate device puts the content input by the keyboard in an image, and then the image is sent to an image acquisition device through a display card of the intermediate device; and the image acquisition device identifies the content in the image and then sends the content in the image to the KVM extender sending end. The KVM extender has the advantages that the situation that a person maliciously changes the KVM extender receiving end into equipment with the similar appearance is prevented, and malicious codes are sent through the 485 line between the KVM extender receiving end and the KVM extender sending end.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to a method for transmitting mouse and keyboard signals, belonging to the field of computer science. Background Technology

[0002] Many important organizations now have two computer networks: an intranet for internal office use and an extranet connected to the internet. These two systems have brought great convenience to people's lives. Many organizations also build a local area network (LAN). They set up a server in a computer room, install virtual machines on the server, and then send the video from the virtual machines to a standard extender transmitter. The extender transmitter converts the video into a differential signal and sends it to an extender receiver. The receiver then processes the signal and sends it to the user's monitor.

[0003] The key feature is that the server sends video signals to the extender receiver in a one-way manner, and there is no data packet transmission between the extender receiver and the extender sender during this process. Technical issues

[0004] There is also a pair of RS485 transmission lines between the receiver and transmitter of the extender. The transmission between these lines is for mouse and keyboard signals. Since the RS485 transmission line is a bidirectional transmission line, if someone inside wants to maliciously input malicious code, they can replace the original KVM receiver with a KVM receiver with a USB port, or the original KVM receiver itself has a USB port. If a user uses a USB flash drive containing a virus, the virus may be transmitted into the internal network through the RS485 line, causing incalculable losses. Technical solutions

[0005] The purpose of this invention is to address the aforementioned problems by providing a novel mouse and keyboard signal transmission method. The KVM extender receiver sends the keyboard input to a keyboard and mouse signal conversion device, or the first computer / terminal sends the keyboard input to the keyboard and mouse signal conversion device. The keyboard and mouse signal conversion device sends the content or an image containing the content to the image acquisition device through the image acquisition port of the image acquisition device; the image acquisition device sends the content or image to the second computer; or, after the image acquisition device identifies the content in the image, it sends the content to the KVM extender transmitter, and the KVM extender transmitter sends the content to the second computer.

[0006] The KVM extender receiver sends the first mouse signal to the keyboard / mouse signal conversion device, or the computer / terminal sends the first mouse signal to the keyboard / mouse signal conversion device; the keyboard / mouse signal conversion device generates a set of values ​​based on the first mouse signal; the mouse signal conversion device sends the set of values ​​to the image acquisition device through the image acquisition port of the image acquisition device, and the image acquisition device generates a second mouse signal based on the set of values; the image acquisition device sends the second mouse signal to the KVM extender transmitter, or the image acquisition device sends the second mouse signal to the second computer.

[0007] The KVM extender receiver sends the first mouse signal to the keyboard and mouse signal conversion device, or the computer / terminal sends the first mouse signal to the keyboard and mouse signal conversion device; the keyboard and mouse signal conversion device converts the first mouse signal into an analog signal, the computer (server) is equipped with an analog-to-digital signal converter, and the keyboard and mouse signal relay device sends the analog signal to the computer through the analog-to-digital signal converter.

[0008] A method for transmitting virtual terminals was also invented, in which a first computer sends the desktop of the virtual terminal to a terminal / second computer via a one-way network card. Beneficial effects

[0009] There is no network connection between the mouse and the server, effectively preventing the spread of viruses. Attached Figure Description

[0010] Appendix Figure 1 This is a structural diagram of the present invention.

[0011] 1 is the computer, 2 is the KVM extender transmitter, 3 is the mouse signal converter, 4 is the keyboard and mouse signal converter, 5 is the KVM extender receiver, 6 is the monitor, 7 is the mouse, and 8 is the keyboard. Detailed Implementation

[0012] Image acquisition devices can have text recognition capabilities; Keyboard and mouse signal conversion device: Receives signals output from the mouse and keyboard, converts the signals, and sends them out. Specific functions will be described in detail in the embodiments.

[0013] The input / output devices of the virtual terminal are: receiving the desktop of the virtual terminal from the computer or network, and then sending the desktop of the virtual terminal out unidirectionally through the video output port; receiving mouse and keyboard signals from the mouse and keyboard signal receiving port, and then sending the mouse and keyboard signals to the computer.

[0014] One embodiment of this article: Hardware Design: The KVM extender transmitter is designed as a card that plugs directly into the computer. This card has one port, which uses a twisted-pair cable to output video signals and receive keyboard and mouse signals. Software design: Create a virtual terminal X on the computer; The desktop of virtual terminal X is used as a video source, and the computer's processor continuously sends the desktop of virtual terminal X to the KVM extender transmitter. KVM extender transmitter A encodes the received signal and sends it out. After receiving the signal, the KVM extender receiver B decodes the video signal and then sends the signal to the monitor, where the image is displayed. After seeing the image displayed on the screen, the user operates the mouse and keyboard to perform certain operations; The KVM extender receiver sends the keyboard input to a keyboard and mouse signal conversion device. This device then sends the input, or an image containing the input, to the image acquisition device via its image acquisition port. The image acquisition device then sends the input or image to a computer. Alternatively, the image acquisition device may identify the content in an image and send it to the KVM extender transmitter, which then sends the content to a second computer. The KVM extender receiver sends the mouse signal to the keyboard / mouse signal conversion device, which generates a set of values ​​based on the mouse signal. The mouse signal conversion device then sends these values ​​to the image acquisition device via its image acquisition port. The image acquisition device generates a mouse signal based on these values. The image acquisition device then sends the mouse signal to the KVM extender transmitter, or alternatively, it sends the mouse signal to the computer. The keyboard and mouse signal conversion device converts the first mouse signal into an analog signal. The keyboard and mouse signal conversion device sends the analog signal to the KVM extender transmitter through the analog signal transmission line, or the keyboard and mouse signal conversion device sends the analog signal to the computer through the analog signal transmission line.

[0015] The KVM extender transmitter receives the signal sent from the mouse and keyboard signal output port of the KVM extender receiver B from its unidirectional input port, processes it, and sends it to the virtual terminal X, limiting the mouse and keyboard input signals to only act on the virtual terminal X. Virtual terminal X receives mouse and keyboard signals and performs corresponding operations. If any changes occur on the screen due to these operations, they are immediately displayed on the desktop of terminal X.

[0016] Another embodiment of this article: Create a virtual terminal X on the computer (server); The desktop of virtual terminal X is used as a video source, and the computer's processor continuously sends the desktop of virtual terminal X to local or remote computers / terminals through a one-way network card. After the computer / terminal receives the desktop, it sends a signal to the monitor, and the monitor displays the image. After seeing the image displayed on the screen, the user operates the mouse and keyboard to perform certain operations; The user's computer / terminal sends the keyboard input to the keyboard and mouse signal relay device; The keyboard and mouse signal relay device sends content or an image containing content to the image acquisition device through the image acquisition port of the image acquisition device; the image acquisition device sends the content or image to the computer, or the image acquisition device identifies the content in the image and then sends the content to the computer.

[0017] The user's computer / terminal sends mouse signals to a keyboard / mouse signal relay device; the keyboard / mouse signal relay device generates a set of values ​​based on the mouse signals; the mouse signal relay device sends the set of values ​​to the image acquisition device through the image acquisition port of the image acquisition device, the image acquisition device generates mouse signals based on the set of values; the image acquisition device sends the mouse signals to the computer. Alternatively, The computer / terminal sends mouse signals to the keyboard / mouse signal relay device; the keyboard / mouse signal relay device converts the mouse signals into analog signals. The computer (server) is equipped with an analog-to-digital signal converter, and the keyboard / mouse signal relay device sends the analog signals to the computer through the analog-to-digital signal converter.

[0018] The KVM extender transmitter receives the signal sent from the mouse and keyboard signal output port of the KVM extender receiver B from its unidirectional input port, processes it, and sends it to the virtual terminal X, limiting the mouse and keyboard input signals to only act on the virtual terminal X. Virtual terminal X receives mouse and keyboard signals and performs corresponding operations. If any changes occur on the screen due to these operations, they are immediately displayed on the desktop of terminal X.

[0019] It should be noted that the above description is only a preferred embodiment of the present invention. It should be pointed out that for those skilled in the art, several improvements and modifications can be made without departing from the principle of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.

[0020] Industrial applicability: Safe Internet access in the office Equipment installation: 1. Place a KVM extender receiver with a switching device under the user's desk; 2. In the computer room, establish two network systems. The first network system is the internal office network system, which is completely isolated from the Internet; the second network system is the network system that accesses the Internet and is connected to the Internet. 3. According to Figure 1 Establish an internal network; connect the monitor, mouse, and keyboard to the KVM extender receiver; this way, no matter how much damage is done by regular personnel inside the network, it will be impossible to bring viruses into the internal network.

Claims

1. A method for transmitting mouse and keyboard signals, characterized in that: The KVM extender receiver sends the keyboard input to the keyboard and mouse signal conversion device, or the first computer / terminal sends the keyboard input to the keyboard and mouse signal conversion device. The keyboard and mouse signal conversion device sends the content or an image containing the content to the image acquisition device through the image acquisition port of the image acquisition device; The image acquisition device sends the content or the image to the second computer, or, after the image acquisition device identifies the content in the image, it sends the content to the KVM extender transmitter, and the KVM extender transmitter sends the content to the second computer.

2. A method employing claim 1, characterized in that, include: The KVM extender receiver sends the first mouse signal to the keyboard and mouse signal conversion device, or the computer / terminal sends the first mouse signal to the keyboard and mouse signal conversion device; the keyboard and mouse signal conversion device generates a set of values ​​based on the first mouse signal; the mouse signal conversion device sends the set of values ​​to the image acquisition device through the image acquisition port of the image acquisition device, and the image acquisition device generates a second mouse signal based on the set of values. The image acquisition device sends the second mouse signal to the KVM extender transmitter, or the image acquisition device sends the second mouse signal to the second computer.

3. A method employing claim 1, characterized in that, include: The KVM extender receiver sends the first mouse signal to the keyboard and mouse signal conversion device, or the computer / terminal sends the first mouse signal to the keyboard and mouse signal conversion device; the keyboard and mouse signal conversion device converts the first mouse signal into an analog signal, and the keyboard and mouse signal conversion device sends the analog signal to the KVM extender transmitter through an analog signal transmission line, or the keyboard and mouse signal relay device sends the analog signal to the computer through an analog signal to digital signal conversion device.

4. A transmission method for a virtual terminal, characterized in that: The first computer sends the desktop of the virtual terminal to the terminal / second computer via a one-way network card.