Mouse Movement Speed Measurement via USB Signal Simulation
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Intercepting mouse behavior using operating system hooks causes severe interference and distortion, reducing efficiency in systems like test automation tools and online ticket purchase robots.
Innovation Solution
A system and method that simulates a mouse USB signal using special hardware and image processing to calculate the association between screen resolution and mouse movement speed, allowing accurate cursor movement without relying on the operating system platform.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If operating system hook technology is used to intercept mouse behavior, then mouse behavior can be captured, but severe interference and distortion occur reducing system efficiency
Solution Approach 1:
The patent extracts the mouse behavior interception function from the operating system layer to a dedicated measurement module that operates independently. This separation allows accurate mouse behavior capture without the OS hook causing system-wide interference and distortion, thus maintaining both measurement precision and system productivity.
Solution Approach 2:
The patent introduces a dedicated measurement module as an intermediary between the mouse hardware and the software system. This intermediary captures mouse behavior data accurately without the negative effects of OS hooks, eliminating the contradiction between measurement accuracy and system efficiency.
2Loss of information
If operating system hook technology is used to intercept mouse behavior, then mouse position can be learned, but distortion in representing mouse behavior occurs
Solution Approach 1:
The patent extracts the mouse behavior measurement function from the operating system to an independent measurement module. This extraction prevents the OS hook from causing distortion in mouse behavior representation while maintaining complete and accurate capture of mouse position and movement data.
3Measurement precision
If hardware simulation and image processing are used to measure mouse movement, then accurate association between screen resolution and mouse speed is achieved, but device complexity increases
Solution Approach 1:
The patent replaces traditional mechanical/os-dependent mouse measurement methods with a combination of hardware simulation and image processing. This substitution achieves accurate measurement of the association between screen resolution and mouse movement speed, overcoming the limitations of OS-based approaches.
Solution Approach 2:
The patent uses image processing to capture and analyze the visual representation of mouse cursor movement on screen. By copying and analyzing the visual output, the system accurately measures mouse movement speed and its relationship with screen resolution without being constrained by operating system limitations.
Data Source
AI summary
The present disclosure relates to a method for measuring an association between a screen resolution and a mouse movement speed. Steps in the method may include reading of a mouse speed table by a recording, playback, and verification module; converting a screenshot into a screenshot image file of a cursor and sending the screenshot image file to the recording, playback, and verification module, reading a destination position; calculating a minimum number of sets of a movement amount and a number of movements; and moving the cursor on the screen to the destination position according to the minimum number of sets of a movement amount and a number of movements.


