Check patentability & draft patents in minutes with Patsnap Eureka AI!

Keyboard and mouse equipment sharing method

A keyboard and mouse technology, which is applied in the field of keyboard and mouse equipment sharing, can solve the problems that the keyboard and mouse event code values ​​are not common and cannot be used, and achieve the effects of saving hardware costs, simple and convenient management, and reducing hardware design costs

Pending Publication Date: 2022-02-15
XIAN MICROELECTRONICS TECH INST
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] Since the RDP protocol and VNC protocol are only applicable to the desktop operating system, the Tao system is an embedded operating system without a graphical desktop, and the keyboard and mouse event code values ​​​​under the Tao system are not universal, so that the Tao system cannot use the above two protocols.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Keyboard and mouse equipment sharing method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0036] Such as figure 1 Shown, a kind of keyboard and mouse equipment sharing method of the present invention comprises the following process,

[0037] Step 1, start the USB event acquisition thread, and acquire the keyboard and mouse values ​​passed to the operating system in the USB driver provided in the Tao system BSP package; use the acquired key values ​​to form a network of keyboard and mouse events according to the custom USB event network protocol The data frame is placed in the send buffer. The USB event network protocol includes data frame header, keyboard and mouse event flag, key code value, relative coordinates of mouse movement, and data frame checksum.

[0038] Step 2, according to the IP and port number of the opposite end in the configuration file, initialize the sending network socket in the Tao system.

[0039] Step 3, start the network sending thread, and send the data frame in the sending buffer to the winning Kylin operating system through the network ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a keyboard and mouse equipment sharing method, which comprises the following steps of: 1, acquiring keyboard and mouse data in a channel system; 2, enabling the keyboard and mouse data to form a network data frame, and sending the network data frame to a bid-winning kylin operating system; 3, enabling the bid-winning kylin operating system to analyze the network data frame; 4, judging whether the network data frame is a keyboard event or a mouse event by the bid-winning kylin operating system, and calling a corresponding data processing function for processing according to the event type; and 5, responding to the processed keyboard and mouse event by the bid-winning kylin operating system, and performing sharing. According to the method, through a self-defined network protocol and a special algorithm, the problems of data transmission and data universality between the bid-winning kylin operating systems in a keyboard and mouse data field under a channel system are solved, and a keyboard and mouse equipment sharing function between an embedded system and a desktop system is realized; and sharing of input equipment under a domestic operating system is realized in a software mode.

Description

technical field [0001] The invention belongs to the technical field of computer control, in particular to a keyboard and mouse device sharing method. Background technique [0002] Existing methods for sharing keyboard and mouse devices can be divided into two categories, one is switching through hardware, such as a KVM switch; the other is through software, such as sharing keyboard and mouse devices through the RDP protocol or VNC protocol based on the network. [0003] A KVM switch is also called a multi-computer controller. One KVM switch can control multiple computers or servers. The control port of the KVM switch is mainly used to connect the USB port of the keyboard and mouse and the VGA port of the monitor. In the case of hardware connection, if the number of hosts to be shared is large, the hardware design complexity, design cost and switching logic complexity will increase, and the reliability will decrease at that time. [0004] RDP (Remote Display Protocol) protoc...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F3/023G06F3/038H04L67/01H04L69/16H04L69/22
CPCG06F3/023G06F3/038H04L69/26H04L69/162H04L69/22
Inventor 高魏轩桂阳杜吉成秦海郭廓
Owner XIAN MICROELECTRONICS TECH INST
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More