Human-computer interaction method
By introducing a non-HID protocol pointing device on the computer device and using the serial communication protocol to connect with the electronic device, the problem of inconvenient single pointer operation in the existing technology is solved, multi-pointer operation is realized simultaneously, and the amount of activity of the mouse hand is reduced. Provides new operation methods.
Patent Information
- Application Number
- CN202411051797.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-01
- Publication Date
- 2024-10-15
AI Technical Summary
Existing computer equipment can only allow one HID mouse device to control one pointer, which results in the need to frequently move the pointer during complex multi-window operations, and some key functions cannot be designed as shortcut keys, requiring multiple fingers to trigger and frequently looking at the keyboard. Very inconvenient.
By adding a non-HID protocol pointing device to the electronic device, using the serial communication protocol to connect to the electronic device, multiple pointers are established and human hand movements are captured, thereby reducing the long-distance movement of the master mouse and realizing the simultaneous operation of multiple pointers.
It realizes the simultaneous control of multiple pointers on a computer device, reduces the amount of activity of the master mouse control hand, and provides a new operation method, which is especially suitable for multi-window and multi-cursor operation scenarios.
Smart Images

Figure CN118778831A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of human-computer interaction, and in particular to a human-computer interaction method. Background Art
[0002] Existing computers and other electronic devices only allow one HID mouse device to control a certain pointer, and multiple pointers cannot be input at the same time without interfering with each other. When performing complex multi-window operations, it is necessary to move the pointer back and forth over a long distance, which is very inconvenient. In some programs, some key functions cannot be designed with shortcuts and quickly triggered by the keyboard, or the shortcuts are cumbersome and require multiple fingers or even two hands to trigger. It also requires individuals to remember and move their eyes from the computer screen to the keyboard, which is very inconvenient. To this end, the present application proposes a human-computer interaction method. Summary of the invention
[0003] In view of the above problems, the present invention proposes a human-computer interaction method, which adds a pointer to the designated operation area of the electronic device, connects the electronic device to trigger through an additional pointer device, and does not conflict with the original HID device, which can reduce the number of long-distance movement operations of the main control mouse. The specific technical solution is as follows: A human-computer interaction method, comprising an electronic device, a mouse of a HID protocol and a pointer device of a non-HID protocol, comprising the following steps: S1. Establishing a non-HID protocol serial communication protocol so that a non-HID protocol pointer device can communicate with an electronic device via a serial port; S2, the non-HID protocol pointer device uses serial port communication to transmit the non-HID protocol data corresponding to its non-HID protocol serial port communication protocol to the host computer program of the electronic device; S3, establishing a pointer for a non-HID protocol pointer device on a display of the electronic device and selecting its active window; S4. Capture the movements of the human hand through a pointer device of the non-HID protocol, transmit the instructions of the non-HID protocol to the electronic device, and execute the movement and click operations of the corresponding pointer.
[0004] Furthermore, there are multiple non-HID protocol pointer devices.
[0005] Furthermore, in S3, after receiving the data from the designated serial port, the host computer program determines the style type data of the window designated by the user, and then creates a designated window and a pointer on the desktop.
[0006] Optionally, the non-HID protocol pointer device is composed of a HID protocol pointer device and format conversion hardware, and the format conversion hardware is used to convert data read through the HID protocol into non-HID protocol data.
[0007] Optionally, a non-HID protocol pointer device directly outputs non-HID protocol data.
[0008] The beneficial effects of the present invention are: 1. You can add additional pointers to the specified window or area of the computer, which can reduce the number of times the main mouse moves back and forth from the main operation area to the shortcut bar. At the same time, it can provide a new operation method for some scenes that require multiple cursor operations.
[0009] 2. Control additional pointers through non-HID protocol pointer devices without affecting the use of the original HID protocol mouse. You can control multiple pointers on the computer device at the same time, operate in multiple areas at the same time, and reduce the activity of the hand operating the mouse. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0011] Figure 1 It is a flow chart of the human-computer interaction method of the present invention. DETAILED DESCRIPTION
[0012] In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", and the like are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, features defined as "first", "second", and the like may explicitly or implicitly include one or more of the features. In the description of the present invention, unless otherwise specified, "multiple" means two or more.
[0013] The present invention provides the following specific embodiments: like Figure 1 As shown, the present invention provides a human-computer interaction method, including an electronic device, a mouse of the HID protocol and a pointer device of the non-HID protocol, comprising the following steps: S1. Establish a non-HID protocol serial port communication protocol so that a non-HID protocol pointer device can perform serial port communication with an electronic device.
[0014] S2. The non-HID protocol pointer device uses serial port communication to transmit the non-HID protocol data corresponding to its non-HID protocol communication protocol to the host computer program of the electronic device. The non-HID protocol data format is [xxxx, xxxx, x]. The first part of the data represented by four decimal digits is the position data of the X-axis, and the second part of the data represented by four decimal digits is the position data of the Y-axis. The last decimal digit of the data is 0 and 1 to represent the key status. For example, [1000, 2314, 1] represents x=1000, y=2314, and the key is not pressed.
[0015] S3. On the display of the electronic device, a pointer is established for a non-HID protocol pointer device and its active window is selected. Specifically, there are three ways to select a window: first, after the host computer program receives the data from the specified serial port and determines the style type data of the user-specified window, it creates a specified window and pointer on the desktop; second, the data of the specified serial port is linked to the window of a program and a pointer is generated in the program window; third, the data of the specified serial port generates a pointer on the desktop and is used as a mouse pointer.
[0016] S4. Capture the movements of human hands through a non-HID protocol pointer device, transmit the non-HID protocol data to the electronic device, and after the host computer program running on the electronic device processes the received data, execute the corresponding pointer movement and click operations. Specifically, during a serial port communication, a computer first sends a command requesting a version number. If the non-HID protocol pointer device returns the correct version number, the computer program sends a start command. After receiving the non-HID protocol pointer device, it starts reading data and sends it to the computer. After the computer processes the received data, it converts it into data received by the pointer, and the created pointer completes the movement of the position and the sending of the press and release events.
[0017] Furthermore, there are multiple non-HID protocol pointer devices that perform serial port communication with the electronic device, and a window can be defined and a pointer can be generated for each non-HID protocol pointer device.
[0018] Optionally, the non-HID protocol pointer device is composed of the HID protocol pointer device and format conversion hardware, and the format conversion hardware is used to convert data read through the HID protocol into format data of the non-HID protocol serial communication protocol.
[0019] Optionally, a non-HID protocol pointer device directly outputs non-HID protocol data.
[0020] Take a computer connected to a HID protocol mouse and two non-HID protocol pointer devices as an example, one of the non-HID protocol pointer devices directly outputs non-HID protocol data, and the other non-HID protocol pointer device is composed of a HID protocol mouse and format conversion hardware, and the format conversion hardware converts its HID protocol data into non-HID protocol data and then outputs it; the two non-HID protocol pointer devices communicate with the computer through the non-HID protocol serial communication protocol respectively, and the two non-HID protocol pointer devices are framed on the computer display screen. The respective active areas are selected and corresponding pointers are generated in the active areas, that is, a main pointer corresponding to a HID protocol mouse and two sub-pointers corresponding to non-HID protocol pointer devices are displayed on a computer screen, and the two sub-pointers are active or clicked in their corresponding active areas respectively, and the main pointer can be moved or clicked in full screen. In addition, the sub-pointer can also remove the window limitation and replace the main pointer to perform work outside its designated active area.
[0021] You can add a pointer device to a specified window or area on the computer, which can reduce the number of times the main mouse moves back and forth between the main operation area and the shortcut bar. At the same time, it can provide a new operation method for some scenarios that require multiple cursor operations (such as programs operated by touch screens or programs running on computers simulating mobile phone systems).
[0022] By controlling an additional pointer through a non-HID protocol pointer device without affecting the use of the original HID protocol mouse, multiple pointers can be controlled on a computer device at the same time, operations can be performed in multiple areas at the same time, and the activity of the hand operating the mouse can be reduced.
[0023] The above shows and describes the basic principles, main features and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited to the above embodiments, and the above embodiments and descriptions are only for explaining the principles of the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, and these changes and improvements all fall within the scope of the present invention to be protected.
Claims
1. A human-computer interaction method, comprising an electronic device, a mouse of the HID protocol and a pointer device of the non-HID protocol, characterized in that: The following steps are included: S1. Establishing a non-HID protocol serial communication protocol so that a non-HID protocol pointer device can communicate with an electronic device via a serial port; S2, the non-HID protocol pointer device uses serial port communication to transmit the non-HID protocol data corresponding to its non-HID protocol serial port communication protocol to the host computer program of the electronic device; S3, establishing a pointer for a non-HID protocol pointer device on a display of the electronic device and selecting its active window; S4. Capture the movements of the human hand through a pointer device of the non-HID protocol, transmit the instructions of the non-HID protocol to the electronic device, and execute the movement and click operations of the corresponding pointer.
2. A human-computer interaction method according to claim 1, characterized in that: There are multiple non-HID protocol pointer devices.
3. A human-computer interaction method according to claim 1, characterized in that: The non-HID protocol pointer device is composed of the HID protocol pointer device and format conversion hardware. The format conversion hardware is used to convert data read through the HID protocol into non-HID protocol data.
4. A human-computer interaction method according to claim 1, characterized in that: The non-HID protocol pointer device directly outputs non-HID protocol data.
5. A human-computer interaction method according to claim 1, characterized in that: In S3, after receiving the data from the designated serial port, the host computer program determines the style type data of the window designated by the user, and then creates a designated window and pointer on the desktop.
