Cursor position calibration method and device, medium, air mouse equipment and program product

By detecting preset gestures in the empty mouse mode for cursor position calibration and determining projection coordinates and offset vectors, the problems of low cursor calibration efficiency and poor user experience in the prior art are solved, and efficient and coherent cursor calibration is achieved.

CN120295490APending Publication Date: 2025-07-11YUANFENG TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510461297.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-14
Publication Date
2025-07-11

AI Technical Summary

Technical Problem

Existing empty mouse devices have problems with low efficiency and poor user operation experience during the cursor position calibration process, especially when sensor drift and error accumulation cause the cursor to be unable to respond accurately to user operations.

Method used

By detecting a preset calibration gesture in the empty mouse mode, the projection coordinates and cursor offset vector of the empty mouse pointing line are determined, and the cursor position is automatically calibrated, avoiding exiting the empty mouse mode and maintaining operation consistency.

Benefits of technology

提高了光标位置校准的效率和用户操作体验,简化了校准流程,使用户可以以任意姿势握持空鼠设备进行校准,保持操作连贯性。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120295490A_ABST
    Figure CN120295490A_ABST
Patent Text Reader

Abstract

The invention discloses a cursor position calibration method and device, a medium, air mouse equipment and a program product, and the method comprises the steps: in an air mouse mode, in response to the detection that a current gesture corresponding to the air mouse equipment is matched with a preset calibration gesture, determining a projection coordinate of an air mouse pointing line on a display screen; determining a cursor offset vector corresponding to the air mouse equipment based on the projection coordinate and a preset calibration coordinate; and carrying out position calibration on a cursor corresponding to the air mouse equipment based on the cursor offset vector. By executing the technical scheme of the invention, the user can complete the calibration of the cursor position only through the gesture action without exiting the air mouse mode, so that the operation continuity is kept, and the operation experience of the user is improved. The calibration process of the cursor position is simplified, and the calibration efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of air mice, and particularly to a cursor position calibration method, device, medium, air mouse device and program product. Background Art

[0002] With the development of human-computer interaction technology, air mouse devices are widely used in remotely controlling display devices, such as televisions, projectors, and smart large screens. The air mouse device detects gesture actions through motion sensors such as acceleration sensors and gyroscopes to control the movement of the cursor on the display screen. In actual use, the cursor position is prone to deviation due to sensor drift, error accumulation, or screen edge limitations, resulting in the cursor being unable to accurately respond to user operations. Therefore, it is necessary to calibrate the cursor position.

[0003] In related technologies, a position calibration button is set on the air mouse device. The user presses the button to enter the cursor calibration mode. In the cursor calibration mode, the user faces the display screen and keeps the air mouse pointing line continuously pointing to the repositioned target position during cursor position calibration, and controls the cursor to slowly move near the target position to achieve calibration of the cursor position. However, exiting the air mouse mode and entering the cursor calibration mode will break the continuity of user operations, and the calibration speed is slow. There are problems of low calibration efficiency and poor user operation experience. Summary of the Invention

[0004] The present application provides a cursor position calibration method, device, medium, air mouse device and program product, which can achieve the purpose of improving the calibration efficiency of the cursor position and improving the user operation experience.

[0005] According to the first aspect of the present application, a cursor position calibration method is provided. The method includes:

[0006] In the air mouse mode, in response to detecting that the current gesture corresponding to the air mouse device matches a preset calibration gesture, determining the projection coordinates of the air mouse pointing line on the display screen;

[0007] Based on the projection coordinates and the preset calibration coordinates, determining the cursor offset vector corresponding to the air mouse device;

[0008] Based on the cursor offset vector, performing position calibration on the cursor corresponding to the air mouse device.

[0009] According to the second aspect of the present application, a cursor position calibration device is provided. The device includes:

[0010] A projection coordinate determination module, configured to determine the projection coordinates of the air mouse pointing line on the display screen in the air mouse mode in response to detecting that the current gesture corresponding to the air mouse device matches a preset calibration gesture;

[0011] An offset vector determination module, configured to determine a cursor offset vector corresponding to the air mouse device based on the projection coordinates and preset calibration coordinates;

[0012] A cursor position calibration module, configured to perform position calibration on the cursor corresponding to the air mouse device based on the cursor offset vector.

[0013] According to a third aspect of the present invention, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, it implements the cursor position calibration method as described in the embodiment of the present application.

[0014] According to a fourth aspect of the present invention, an embodiment of the present application provides an air mouse device, including an acceleration sensor, a gyroscope, a memory, a processor, a communication module, and a computer program stored on the memory and executable on the processor. It is characterized in that the acceleration sensor and the gyroscope are respectively configured to collect acceleration data and angular velocity data of the air mouse device; the communication module is configured to communicate with a display screen;

[0015] When the processor executes the computer program, it implements the cursor position calibration method as described in the embodiment of the present application.

[0016] According to a fifth aspect of the present application, an embodiment of the present application provides a computer program product, including a computer program, and when the computer program is executed by a processor, it implements the cursor position calibration method as described in the embodiment of the present application.

[0017] In the technical solution of the embodiment of the present application, in the air mouse mode, in response to detecting that the current gesture corresponding to the air mouse device matches a preset calibration gesture, the projection coordinates of the air mouse pointing line on the display screen are determined; based on the projection coordinates and the preset calibration coordinates, the cursor offset vector corresponding to the air mouse device is determined; based on the cursor offset vector, position calibration is performed on the cursor corresponding to the air mouse device. By presetting the calibration gesture as a condition for triggering cursor position calibration, the user can complete cursor position calibration without exiting the air mouse mode only by gesture actions, maintaining operation continuity and improving the user's operation experience. The calibration process of the cursor position is simplified, and the calibration efficiency is improved. By triggering cursor position calibration through gestures, the user does not have to face the display screen and keep the air mouse pointing line continuously pointing to the repositioning target position during cursor position calibration. The user can hold the air mouse device in any posture, improving the user's operation experience.

[0018] It should be understood that the content described in this part is not intended to identify the key or important features of the embodiments of the present application, nor is it used to limit the scope of the present application. Other features of the present application will become easily understood through the following description. Brief Description of the Drawings

[0019] To more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings.

[0020] Figure 1 is a flowchart of the cursor position calibration method provided in Embodiment 1;

[0021] Figure 2 is a flowchart of the cursor position calibration method provided in Embodiment 2;

[0022] Figure 3 is a schematic diagram of a cursor position calibration method provided in an embodiment of the present application;

[0023] Figure 4 is a schematic structural diagram of the cursor position calibration device provided in Embodiment 3 of the present application. Detailed Description of the Embodiments

[0024] To enable those skilled in the art to better understand the solutions of the present application, the following will clearly and completely describe the technical solutions in the embodiments of the present application in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only some embodiments of the present application, rather than all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.

[0025] It should be noted that the terms "first", "second", "target", and "candidate" in the specification and claims of the present application and the above drawings are used to distinguish similar objects, and do not necessarily need to describe a specific order or sequence. It should be understood that such used data can be interchanged under appropriate circumstances so that the embodiments of the present application described here can be implemented in an order other than those illustrated or described here. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units does not necessarily have to be limited to those clearly listed steps or units, but may include other steps or units not clearly listed or inherent to these processes, methods, products, or devices.

[0026] Embodiment 1

[0027] Figure 1It is a flowchart of the cursor position calibration method provided in Embodiment 1. This embodiment is applicable to the situation where the cursor position corresponding to the air mouse device is offset and the cursor needs to be positionally calibrated. This method can be executed by a cursor position calibration device, which is implemented in the form of hardware and / or software and can be integrated into the air mouse device running this system.

[0028] As Figure 1 shown, the method includes:

[0029] S110. In the air mouse mode, in response to detecting that the current gesture corresponding to the air mouse device matches a preset calibration gesture, determine the projection coordinates of the air mouse pointing line on the display screen;

[0030] S120. Based on the projection coordinates and the preset calibration coordinates, determine the cursor offset vector corresponding to the air mouse device;

[0031] S130. Based on the cursor offset vector, perform position calibration on the cursor corresponding to the air mouse device.

[0032] Among them, the air mouse device is also known as an air mouse, air mouse, or flying mouse (Air mouse). It is a mouse that can be used in the air and can be used to remotely control the cursor movement of a display device. The air mouse mode refers to a functional mode in which the cursor of a display device is controlled by operating an air mouse device.

[0033] The current gesture corresponding to the air mouse device can be determined based on the acceleration data and angular velocity data of the air mouse device. Among them, the acceleration data and angular velocity data can be respectively collected by an acceleration sensor and a gyroscope configured in the air mouse device.

[0034] The calibration gesture is preset and used to trigger the position calibration of the cursor corresponding to the air mouse device. Embodiment of the present application supports users to set the calibration coordinates according to their own operation habits. Optionally, by limiting the angle change range and angle change speed between the normal line of the display screen and the air mouse pointing line, the setting of the standard gesture is realized.

[0035] In the air mouse mode, the gesture actions corresponding to the air mouse device are recognized. If it is detected that the current gesture corresponding to the air mouse device matches the preset calibration gesture, trigger the position calibration of the cursor corresponding to the air mouse device. Specifically, determine the projection coordinates of the air mouse pointing line on the display screen, determine the cursor offset vector corresponding to the air mouse device based on the projection coordinates and the preset calibration coordinates; based on the cursor offset vector, perform position calibration on the cursor corresponding to the air mouse device.

[0036] Among them, the air mouse pointing line refers to the cursor line that follows the movement of the air mouse device on the display screen when the air mouse device moves in the air in the air mouse mode. The projection coordinate refers to the intersection coordinate of the air mouse pointing line and the plane where the display screen is located. The projection coordinate is used to determine the current position of the cursor corresponding to the air mouse device on the display screen.

[0037] Among them, the calibration coordinate is pre-determined and corresponds to a certain position on the display screen. The calibration coordinate is the target position for repositioning the cursor corresponding to the air mouse device. That is to say, after the position calibration of the cursor corresponding to the air mouse device is completed, the cursor corresponding to the air mouse device will appear at the screen position represented by the calibration coordinate. The embodiments of the present application support the user to set the calibration coordinate according to their own operation habits. That is to say, the calibration coordinate can correspond to any position on the display screen and is not limited here. In an optional embodiment, the preset calibration coordinate is set as the center coordinate of the display screen. Such a setting is more in line with the conventional operation habits.

[0038] Optionally, calculate the difference between the projection coordinate and the calibration coordinate, and use the calculated difference as the cursor offset vector corresponding to the air mouse device. Among them, the cursor offset vector is used to quantify the relative angle and relative distance between the current position of the cursor corresponding to the air mouse device on the display screen and the target position of repositioning.

[0039] Taking the calibration coordinate set as the center coordinate of the display screen as an example, the determination process of the cursor offset vector is described as follows: First, determine the resolution of the display screen, and determine the calibration coordinate based on the resolution of the display screen. For example, if the resolution of the display screen is W×H, then the calibration coordinate can be determined as Use (X, Y) to represent the projection coordinate. Then, use Calculate the difference between the projection coordinate and the calibration coordinate. Then, the cursor offset vector can be expressed as (dx, dy).

[0040] Based on the cursor offset vector, the relative angle and relative distance between the current position of the cursor corresponding to the air mouse device on the display screen and the target position of repositioning can be determined. When the relative angle and relative distance are determined, the moving distance and moving direction of the cursor corresponding to the air mouse device can be further determined, and based on the moving distance and moving direction, the cursor corresponding to the air mouse device is repositioned from the current position to the screen position corresponding to the calibration coordinate.

[0041] In the technical solution of the embodiment of the present application, in the air mouse mode, in response to detecting that the current gesture corresponding to the air mouse device matches the preset calibration gesture, the projection coordinates of the air mouse pointing line on the display screen are determined; based on the projection coordinates and the preset calibration coordinates, the cursor offset vector corresponding to the air mouse device is determined; based on the cursor offset vector, the position of the cursor corresponding to the air mouse device is calibrated. By presetting the calibration gesture as the condition for triggering the position calibration of the cursor, the user can complete the calibration of the cursor position without exiting the air mouse mode only by gesture actions, maintaining the operation coherence and improving the user experience. The calibration process of the cursor position is simplified and the calibration efficiency is improved. By triggering the position calibration of the cursor by gesture, the user does not have to face the display screen to keep the air mouse pointing line continuously pointing to the repositioning target position during the cursor position calibration, and the user can hold the air mouse device in any posture, improving the user experience.

[0042] In an optional embodiment, the calibrating the position of the cursor corresponding to the air mouse device based on the cursor offset vector includes: determining a moving distance and a moving direction for the cursor corresponding to the air mouse device based on the cursor offset vector; controlling the cursor corresponding to the air mouse device to move to the screen position corresponding to the calibration coordinates based on the moving distance and the moving direction, and controlling the display screen to display the cursor moving process.

[0043] The cursor offset vector is used to quantify the relative angle and relative distance between the current position of the cursor corresponding to the air mouse device on the display screen and the repositioning target position.

[0044] Based on the relative distance and relative angle, a moving distance and a moving direction can be determined for the cursor corresponding to the air mouse device. Based on the moving distance and the moving direction, the cursor corresponding to the air mouse device is controlled to move to the screen position corresponding to the calibration coordinates.

[0045] The air mouse device controls the display screen to display the cursor moving process through its own configured communication module, such as a Bluetooth module. Optionally, the display device to which the display screen belongs is provided with a communication interface and is deployed with a standard display screen coordinate mapping algorithm. Optionally, the cursor moving process is displayed on the display screen in the form of an animation as the calibration feedback provided to the user to notify the user that the position of the cursor has been calibrated.

[0046] In the above technical solution, based on the cursor offset vector, the position of the cursor corresponding to the air mouse device is calibrated, and the cursor is repositioned to the screen position corresponding to the calibration coordinates, which provides convenience for the user operation and facilitates the user to more accurately control the cursor movement. In the above technical solution, the cursor moving process is displayed on the display screen, which is convenient for the user to intuitively understand the cursor calibration process and is beneficial to improving the user experience.

[0047] In an optional embodiment, after calibrating the cursor corresponding to the air mouse device based on the cursor offset vector, the method further includes: in response to detecting a gesture change corresponding to the air mouse device, determining a coordinate change of the air mouse pointing line on the display screen; based on the cursor offset vector and the coordinate change, controlling the cursor corresponding to the air mouse device to move starting from the calibrated coordinates in response to the coordinate change.

[0048] It can be known that the air mouse device detects gesture actions through motion sensors such as an acceleration sensor and a gyroscope to control the movement of the cursor on the display screen. After calibrating the cursor corresponding to the air mouse device, if a gesture change corresponding to the air mouse device is detected, it indicates that the user attempts to control the cursor on the display device by operating the air mouse device. The gesture change corresponding to the air mouse device will bring about a coordinate change of the air mouse pointing line on the display screen. Among them, the coordinate change of the air mouse pointing line on the display screen means that the projected coordinates of the air mouse pointing line on the display screen change. The cursor offset vector quantifies the relative angle and relative distance between the current position and the repositioned target position of the cursor corresponding to the air mouse device on the display screen. Keeping the relative angle and relative distance between the projected coordinates and the calibrated coordinates unchanged, the cursor corresponding to the air mouse device is controlled to move starting from the standard coordinates according to the coordinate change to respond to the user's operation on the air mouse device.

[0049] In the above technical solution, after calibrating the cursor corresponding to the air mouse device, the cursor corresponding to the air mouse device is controlled to move starting from the calibrated coordinates based on the cursor offset vector and the gesture change corresponding to the air mouse device, ensuring the response speed and response accuracy of the air mouse device to the user's operation.

[0050] Embodiment 2

[0051] Figure 2 is a flowchart of the cursor position calibration method provided according to Embodiment 2. This embodiment is further optimized based on the above embodiment.

[0052] As Figure 2 shown, the method includes:

[0053] S210. Based on the acceleration data and angular velocity data of the air mouse device, determining the angle change range and angle change speed between the normal line of the display screen and the air mouse pointing line.

[0054] Among them, the acceleration data can be collected through an acceleration sensor and a gyroscope configured in the air mouse device itself. The acceleration data and angular velocity data are used to determine the angle change range and angle change speed between the normal line of the display screen and the air mouse pointing line.

[0055] Among them, the angle change range and the angle change speed are used to determine the current gesture corresponding to the air mouse device.

[0056] S220. Based on the angle change range and the angle change speed, determine the current gesture corresponding to the air mouse device.

[0057] Recognizing the current gesture can determine whether the user wants to perform position calibration on the cursor corresponding to the air mouse device.

[0058] S230. Match the current gesture corresponding to the air mouse device with a preset calibration gesture.

[0059] The calibration gesture is preset and used to trigger position calibration of the cursor corresponding to the air mouse device. Embodiments of the present application support users to set calibration coordinates according to their own operation habits. Optionally, by limiting the angle change range and the angle change speed between the normal line of the display screen and the air mouse pointing line, the setting of the standard gesture is realized.

[0060] Optionally, respectively match the angle change range and the angle change speed corresponding to the current gesture with the angle change range and the angle change speed corresponding to the calibration gesture.

[0061] S240. In the air mouse mode, in response to detecting that the current gesture corresponding to the air mouse device matches the preset calibration gesture, determine the projection coordinates of the air mouse pointing line on the display screen.

[0062] Optionally, if the angle change range and the angle change speed corresponding to the standard gesture match the angle change range and the angle change speed corresponding to the current gesture, it is determined that the current gesture corresponding to the air mouse device matches the preset calibration gesture, indicating that the user wants to perform position calibration on the cursor corresponding to the air mouse device, and then trigger position calibration of the cursor corresponding to the air mouse device.

[0063] S250. Based on the projection coordinates and the preset calibration coordinates, determine the cursor offset vector corresponding to the air mouse device.

[0064] S260. Based on the cursor offset vector, perform position calibration on the cursor corresponding to the air mouse device.

[0065] The technical solution of this application provides a practical gesture recognition solution and a gesture matching solution, providing technical support for calibrating the position of the cursor corresponding to the air mouse device based on gesture triggering. In the technical solution of this application, the acceleration data and angular velocity data used to recognize the current gesture can be obtained through the existing acceleration sensor and gyroscope of the air mouse device. That is to say, the technical solution of this application can achieve gesture recognition, gesture matching, and subsequent cursor position calibration through software algorithms without additional hardware costs, effectively controlling the cost of the cursor position calibration method.

[0066] In an optional embodiment, the matching of the current gesture corresponding to the air mouse device with a preset calibration gesture includes: parsing the preset calibration gesture to determine the angle change threshold and change speed threshold corresponding to the calibration gesture; if the angle change range is greater than or equal to the angle change threshold and the angle change speed is greater than or equal to the change speed threshold, it is determined that the current gesture corresponding to the air mouse device matches the preset calibration gesture.

[0067] Optionally, by limiting the angle change range and angle change speed between the normal line of the display screen and the air mouse pointing line, the setting of the standard gesture is realized. Parsing the preset calibration gesture can determine the angle change threshold and change speed threshold corresponding to the calibration gesture. Generally speaking, the calibration gesture should be distinguishable from the cursor control gesture.

[0068] Among them, the angle change threshold is used to determine whether the current gesture matches the calibration gesture from the dimension of the angle change range. The angle change threshold supports the user to set according to their own operation habits, and the specific value of the angle change threshold is not limited here. Optionally, the angle change threshold corresponding to the calibration gesture is set to be greater than 90 degrees. If the included angle between the normal line of the display screen and the air mouse pointing line changes from an acute angle to an obtuse angle and the change range is greater than 90 degrees, it can be determined that the angle change range corresponding to the current gesture is greater than or equal to the angle change threshold.

[0069] Among them, the change speed threshold is used to determine whether the current gesture matches the calibration gesture from the dimension of the angle change speed. The change speed threshold supports the user to set according to their own operation habits, and the specific value of the change speed threshold is not limited here. Optionally, the change speed threshold is greater than the upper limit of the change speed corresponding to the cursor control gesture. The upper limit of the change speed corresponding to the cursor control gesture can be obtained through statistical analysis of the angle change speed corresponding to the cursor control gesture.

[0070] When the angle change range is greater than or equal to the angle change threshold and the angle change speed is greater than or equal to the change speed threshold, it indicates that the current gesture corresponding to the air mouse device matches the preset calibration gesture. At this time, the position calibration of the cursor corresponding to the air mouse device can be started.

[0071] In the above technical solution, by defining the angle change range and the angle change speed between the normal line of the display screen and the air mouse pointing line, the setting of the standard gesture is realized. Matching the current gesture and the preset gesture from two dimensions of the angle change range and the angle change speed is beneficial to improving the recognition rate of the gesture and provides a strong guarantee for the success rate of the cursor position calibration.

[0072] Figure 3 It is a schematic diagram of a cursor position calibration method provided according to an embodiment of the present application. Refer to Figure 3 , in the case where the user wants to perform position calibration on the cursor whose position has shifted, the user holds the air mouse device and waves it according to the preset calibration gesture. For example, it can be like Figure 3 such that the air mouse pointing line forms a certain circular motion, triggering the position calibration of the cursor. Control the cursor corresponding to the air mouse device to move from the current position to the repositioned target position according to the moving direction and moving distance corresponding to the cursor offset vector. The cursor movement process is displayed on the display screen in the form of an animation as calibration feedback provided to the user to notify the user that the position of the cursor has been calibrated.

[0073] Embodiment III

[0074] Figure 4 It is a schematic structural diagram of a cursor position calibration device provided in Embodiment III of the present application. This embodiment is applicable to the situation where the position of the cursor corresponding to the air mouse device has shifted and the cursor is calibrated. The device can be implemented by software and / or hardware and can be integrated into an air mouse device such as a smart terminal.

[0075] As Figure 4 shown, the device may include:

[0076] A projection coordinate determination module 410, configured to determine the projection coordinates of the air mouse pointing line on the display screen in response to detecting that the current gesture corresponding to the air mouse device matches the preset calibration gesture in the air mouse mode;

[0077] An offset vector determination module 420, configured to determine the cursor offset vector corresponding to the air mouse device based on the projection coordinates and the preset calibration coordinates;

[0078] A cursor position calibration module 430, configured to perform position calibration on the cursor corresponding to the air mouse device based on the cursor offset vector.

[0079] In the technical solution of the embodiment of the present application, in the air mouse mode, in response to detecting that the current gesture corresponding to the air mouse device matches the preset calibration gesture, the projection coordinates of the air mouse pointing line on the display screen are determined; based on the projection coordinates and the preset calibration coordinates, the cursor offset vector corresponding to the air mouse device is determined; based on the cursor offset vector, the position of the cursor corresponding to the air mouse device is calibrated. By presetting the calibration gesture as the condition for triggering the position calibration of the cursor, the user can complete the calibration of the cursor position without exiting the air mouse mode only by gesture actions, maintaining the operation coherence and improving the user experience. The calibration process of the cursor position is simplified and the calibration efficiency is improved. By triggering the position calibration of the cursor through gestures, the user does not have to face the display screen and keep the air mouse pointing line continuously pointing to the repositioning target position during the cursor position calibration. The user can hold the air mouse device in any posture, improving the user experience.

[0080] Optionally, the device further includes: an angle change determination module, configured to determine the angle change range and the angle change speed between the normal line of the display screen and the air mouse pointing line based on the acceleration data and the angular velocity data of the air mouse device before determining the projection coordinates of the air mouse pointing line on the display screen; a current gesture determination module, configured to determine the current gesture corresponding to the air mouse device based on the angle change range and the angle change speed; a gesture matching module, configured to match the current gesture corresponding to the air mouse device with the preset calibration gesture.

[0081] Optionally, the gesture matching module includes: a calibration gesture parsing sub-module, configured to parse the preset calibration gesture to determine the angle change threshold and the change speed threshold corresponding to the calibration gesture; a gesture matching sub-module, configured to determine that the current gesture corresponding to the air mouse device matches the preset calibration gesture if the angle change range is greater than or equal to the angle change threshold and the angle change speed is greater than or equal to the change speed threshold.

[0082] Optionally, the cursor position calibration module 430 includes: a distance and direction determination sub-module, configured to determine the moving distance and the moving direction for the cursor corresponding to the air mouse device based on the cursor offset vector; a cursor movement control sub-module, configured to control the cursor corresponding to the air mouse device to move to the screen position corresponding to the calibration coordinates and control the display screen to display the cursor movement process based on the moving distance and the moving direction.

[0083] Optionally, the device also includes: a coordinate change determination module, which is used to determine the coordinate change of the air mouse pointing line on the display screen in response to detecting a gesture change corresponding to the air mouse device after the position of the cursor corresponding to the air mouse device is calibrated based on the cursor offset vector; and a coordinate change response module, which is used to control the cursor corresponding to the air mouse device to move with the calibration coordinates as the starting point to respond to the coordinate change based on the cursor offset vector and the coordinate change.

[0084] Optionally, the angle change threshold corresponding to the calibration gesture is set to be greater than 90 degrees, and the preset calibration coordinates are set to the center coordinates of the display screen.

[0085] The cursor position calibration device provided in the embodiment of the invention can execute the cursor position calibration method provided in any embodiment of the present application, and has the corresponding performance modules and beneficial effects for executing the cursor position calibration method.

[0086] Embodiment 4

[0087] According to the embodiments of the present application, the present application also provides an air mouse device, a readable storage medium and a computer program product.

[0088] The embodiments of the present application do not limit the appearance of the air mouse device. Optionally, the air mouse device is in the shape of a portable handheld device, with the front end pointing to the screen and the rear end being the user's grip area. The air mouse device includes an acceleration sensor, a gyroscope, a communication module, a memory, a processor, and a computer program stored in the memory and executable on the processor. The acceleration sensor and the gyroscope are used to collect acceleration data and angular velocity data of the air mouse device, respectively; the communication module is used to communicate data with the display device to which the display screen belongs; and when the processor executes the computer program, it implements the cursor position calibration method provided in the above embodiment.

[0089] In some embodiments, the cursor position calibration method can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium. The computer program for implementing the method of the present application can be written in any combination of one or more programming languages. These computer programs can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable cursor position calibration device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented.

[0090] In the context of the present application, a computer-readable storage medium can be a tangible medium that can contain or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer-readable storage medium can include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatuses, or devices, or any suitable combination of the foregoing. Alternatively, the computer-readable storage medium can be a machine-readable signal medium. More specific examples of the machine-readable storage medium would include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0091] An embodiment of the present application also discloses a computer program product, which includes a computer program that, when executed by a processor, implements the cursor position calibration method provided in any embodiment of the present application. This program product and the cursor position calibration methods disclosed in various embodiments of the present application belong to the same inventive concept, and thus will not be elaborated herein.

[0092] It should be understood that various forms of the processes shown above can be used, with steps reordered, added, or deleted. For example, the steps recited in the present application can be executed in parallel, sequentially, or in a different order, as long as the desired results of the technical solution of the present application can be achieved, and no limitation is imposed herein.

[0093] The above specific embodiments do not constitute a limitation on the protection scope of the present application. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present application shall be included within the protection scope of the present application.

Claims

1. A cursor position calibration method, characterized in that, The method includes: In the air mouse mode, in response to detecting that the current gesture corresponding to the air mouse device matches a preset calibration gesture, determining the projection coordinates of the air mouse pointing line on the display screen; Based on the projection coordinates and the preset calibration coordinates, determining the cursor offset vector corresponding to the air mouse device; Based on the cursor offset vector, performing position calibration on the cursor corresponding to the air mouse device.

2. The method according to claim 1, characterized in that, Before determining the projection coordinates of the air mouse pointing line on the display screen, the method further includes: Based on the acceleration data and angular velocity data of the air mouse device, determining the angle change range and the angle change speed between the normal line of the display screen and the air mouse pointing line; Based on the angle change range and the angle change speed, determining the current gesture corresponding to the air mouse device; Matching the current gesture corresponding to the air mouse device with a preset calibration gesture.

3. According to the method described in claim 2, the matching of the current gesture corresponding to the air mouse device with a preset calibration gesture includes: Parsing the preset calibration gesture to determine the angle change threshold and the change speed threshold corresponding to the calibration gesture; If the angle change range is greater than or equal to the angle change threshold and the angle change speed is greater than or equal to the change speed threshold, determining that the current gesture corresponding to the air mouse device matches the preset calibration gesture.

4. The method according to claim 1, characterized in that The performing position calibration on the cursor corresponding to the air mouse device based on the cursor offset vector includes: Based on the cursor offset vector, determining the moving distance and the moving direction for the cursor corresponding to the air mouse device; Based on the moving distance and the moving direction, controlling the cursor corresponding to the air mouse device to move to the screen position corresponding to the calibration coordinates and controlling the display screen to display the cursor movement process.

5. The method according to claim 4, wherein After performing position calibration on the cursor corresponding to the air mouse device based on the cursor offset vector, the method further includes: In response to detecting a gesture change corresponding to the air mouse device, determining the coordinate change of the air mouse pointing line on the display screen; Based on the cursor offset vector and the coordinate change, controlling the cursor corresponding to the air mouse device to move starting from the calibration coordinates to respond to the coordinate change.

6. The method according to claim 1, characterized in that, The angle change threshold corresponding to the calibration gesture is set to be greater than 90 degrees, and the preset calibration coordinates are set to the center coordinates of the display screen.

7. A cursor position calibration device, characterized in that, The device includes: A projection coordinate determination module, configured to, in the air mouse mode, in response to detecting that the current gesture corresponding to the air mouse device matches a preset calibration gesture, determine the projection coordinates of the air mouse pointing line on the display screen; An offset vector determination module, configured to determine the cursor offset vector corresponding to the air mouse device based on the projection coordinates and the preset calibration coordinates; A cursor position calibration module, configured to perform position calibration on the cursor corresponding to the air mouse device based on the cursor offset vector.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by a processor, it implements the cursor position calibration method described in any one of claims 1-6.

9. An air mouse device, comprising an acceleration sensor, a gyroscope, a communication module, a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, The acceleration sensor and the gyroscope are respectively used to collect the acceleration data and angular velocity data of the air mouse device; the communication module is used to perform data communication with the display device to which the display screen belongs; When the processor executes the computer program, it implements the cursor position calibration method according to any one of claims 1-6.

10. A computer program product, comprising a computer program, which implements the cursor position calibration method according to any one of claims 1-6 when executed by a processor.