Air mouse sensitivity adjusting method and device and computer readable storage medium

Through infrared occlusion detection and preset time window technology, the sensitivity of the air mouse is adjusted in real time, solving the problem of low operation smoothness of the existing air mouse, realizing dynamic adaptation of sensitivity and improving operation stability.

CN119065515APending Publication Date: 2024-12-03MAXEYE SMART TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411330908.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-24
Publication Date
2024-12-03

AI Technical Summary

Technical Problem

The existing aerial mouse sets a fixed sensitivity value during the static initialization phase, resulting in low smoothness when the user performs slow and fine operations, quick swipe browsing and sudden pauses.

Method used

The position of the mouse in the air is detected by infrared occlusion, the position coordinate information is determined, the end position is determined based on the preset time window and position coordinate information, the movement distance is calculated, and the sensitivity is adjusted according to the mapping relationship, so that it changes in real time with the user's movement distance and speed.

Benefits of technology

It improves the smoothness of air mouse operation and the accuracy of sensitivity adjustment, and overcomes the problems of traditional air mouse lacking dynamic adaptability and low operation stability in sensitivity adjustment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119065515A_ABST
    Figure CN119065515A_ABST
Patent Text Reader

Abstract

The invention discloses an air mouse sensitivity adjusting method and device and a computer readable storage medium, and relates to the technical field of signal processing.The method comprises the steps that the position of an air mouse is detected through infrared blocking, and position coordinate information of the air mouse is determined; determining an end position of the air mouse based on a preset time window and the position coordinate information; calculating the moving distance of the air mouse according to the end position and the position reference value; determining a target sensitivity corresponding to the moving distance according to a mapping relation, and adjusting the sensitivity of the air mouse to the target sensitivity. The technical defects that a traditional air mouse lacks dynamic adaptability in sensitivity adjustment and is low in operation stability are overcome, and the technical effect of improving the operation smoothness of the air mouse is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of signal processing technology, and in particular to an air mouse sensitivity adjustment method, device and computer-readable storage medium. Background Art

[0002] An air mouse is a wireless mouse whose components are all mounted on a hand-worn device such as a glove. The user can wear it on his hand like a glove and perform various mouse operations by waving it in the air.

[0003] When designing and implementing the current air mouse, a fixed sensitivity value is set in the static initialization stage. When the user performs slow and precise operations, fast sliding browsing, or sudden pause adjustments, the sensitivity of the air mouse remains unchanged, resulting in low fluency in air mouse operation.

[0004] The above contents are only used to assist in understanding the technical solution of the present application and do not constitute an admission that the above contents are prior art. Summary of the invention

[0005] The main purpose of this application is to provide an air mouse sensitivity adjustment method, device and computer-readable storage medium, aiming to solve the technical problem of how to improve the fluency of air mouse operation.

[0006] To achieve the above object, the present application proposes a method for adjusting the sensitivity of an air mouse, the method comprising: Detecting the position of the air mouse by infrared interception to determine the position coordinate information of the air mouse; Determining the end position of the air mouse based on a preset time window and position coordinate information; Calculating the moving distance of the air mouse according to the end position and the position reference value; The target sensitivity corresponding to the moving distance is determined according to the mapping relationship, and the sensitivity of the air mouse is adjusted to the target sensitivity.

[0007] In one embodiment, the position of the air mouse is detected by infrared interception to determine the position coordinate information of the air mouse; Determining the end position of the air mouse based on a preset time window and position coordinate information; Calculating the moving distance of the air mouse according to the end position and the position reference value; The target sensitivity corresponding to the moving distance is determined according to the mapping relationship, and the sensitivity of the air mouse is adjusted to the target sensitivity.

[0008] In one embodiment, the step of detecting the position of the air mouse by infrared interception and determining the position coordinate information of the air mouse comprises: Through the infrared transmitter at a fixed position on the screen, infrared rays are emitted to cover the screen area; Detecting the infrared blocking signal of the air mouse by the infrared receiver corresponding to the infrared transmitter; parsing and processing the blocking signal to identify blocking signal characteristics; Based on the blockage signal characteristics, the specific coordinates of the blockage point on the screen are calculated to determine the position coordinate information.

[0009] In one embodiment, the step of calculating the moving distance of the air mouse according to the end position and the position reference value comprises: Obtain a movement difference by subtracting the coordinates of the end position from the coordinates of the position reference value; If the movement difference is within a preset distance range, determining that the movement difference is set as the movement distance; If the movement difference is less than the minimum value of the preset distance range, the minimum value is set as the movement distance; If the movement difference is greater than a maximum value of a preset distance range, the maximum value is set as the movement distance.

[0010] In one embodiment, the step of determining the target sensitivity corresponding to the moving distance according to the mapping relationship and adjusting the sensitivity of the air mouse to the target sensitivity includes: Determine the distance interval in which the moving distance is located, and obtain the sensitivity associated with the distance interval as the target sensitivity, wherein the relationship is negatively correlated; or Determine, according to the moving distance and a preset sensitivity mapping table, the sensitivity corresponding to the distance interval in which the moving distance is located as the target sensitivity; or Obtaining a function reflecting the relationship between the moving distance and the sensitivity, taking the moving distance as input, and outputting the corresponding sensitivity as the target sensitivity; The sensitivity of the air mouse is adjusted to the target sensitivity.

[0011] In one embodiment, before the step of determining the sensitivity corresponding to the distance interval in which the moving distance is located as the target sensitivity according to the moving distance and a preset sensitivity mapping table, the method includes: Based on the preset time window, the corresponding sensitivity is obtained by adjusting the moving distance of the air mouse, and the corresponding sensitivity mapping table is determined; The sensitivity mapping table is verified according to at least one set of test data, and the sensitivities in the sensitivity mapping table are adjusted based on the verification result to conform to the sensitivities in the test data.

[0012] In one embodiment, the step of obtaining the corresponding sensitivity by adjusting the moving distance of the air mouse based on the preset time window and determining the corresponding sensitivity mapping table includes: Based on the preset time window, adjusting the moving distance of the air mouse; Obtaining a cursor displacement of a cursor corresponding to the air mouse within the preset time window; The sensitivity of the air mouse is adjusted so that the cursor displacement of the cursor corresponding to the air mouse is the same under different moving distances of the air mouse, and the sensitivity mapping table is determined according to the moving distance and the sensitivity.

[0013] In one embodiment, the step of adjusting the sensitivity of the air mouse to the target sensitivity includes: Sending the target sensitivity to a control unit of the air mouse based on a communication protocol; The sensor sensitivity of the air mouse is adjusted by the control unit to adjust the sensitivity to the target sensitivity.

[0014] In addition, to achieve the above-mentioned purpose, the present application also proposes an air mouse sensitivity adjustment device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, and the computer program is configured to implement the steps of the air mouse sensitivity adjustment method described above.

[0015] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by the processor, the steps of the air mouse sensitivity adjustment method described above are implemented.

[0016] The present application provides a method for adjusting the sensitivity of an air mouse. The present application first detects the position of the air mouse in space in real time through infrared blocking technology. The non-contact detection method avoids the limitation that the traditional mouse needs to contact the plane, thereby improving the flexibility of the air mouse operation. The unstable position changes are filtered out through a preset time window, so as to more accurately determine the end position of the air mouse and improve the accuracy of the air mouse sensitivity adjustment. By comparing the end position with the preset position reference value, the actual moving distance of the air mouse is calculated, and the target sensitivity corresponding to the current moving distance is quickly determined based on the mapping relationship. The mapping relationship makes the sensitivity adjustment faster and more accurate. The sensitivity of the air mouse is adjusted according to the target sensitivity, so that the sensitivity of the air mouse can change in real time with the speed corresponding to the user's moving distance, thereby improving the smoothness of the air mouse operation.

[0017] In summary, the present application detects the position of the air mouse through infrared interception, determines the position coordinate information of the air mouse; determines the end position of the air mouse based on the preset time window and the position coordinate information; calculates the moving distance of the air mouse according to the end position and the position reference value; determines the target sensitivity corresponding to the moving distance according to the mapping relationship, and adjusts the sensitivity of the air mouse to the target sensitivity. The technical defects of the traditional air mouse in lacking dynamic adaptability and low operational stability in sensitivity adjustment are overcome, and the technical effect of improving the fluency of air mouse operation is achieved. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0019] In order to more clearly illustrate the embodiments of the present application 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, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0020] Figure 1 A schematic diagram of a flow chart provided for the first embodiment of the method for adjusting the sensitivity of an air mouse of the present application; Figure 2 A flowchart of the second embodiment of the air mouse sensitivity adjustment method of the present application is provided; Figure 3 A flowchart of the third embodiment of the method for adjusting the sensitivity of an air mouse provided in the present application; Figure 4 A flowchart diagram of a fourth embodiment of the air mouse sensitivity adjustment method of the present application is provided; Figure 5Schematic diagram of the device structure of the hardware operating environment involved in the air mouse sensitivity adjustment method in the embodiment of the present application.

[0021] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0022] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.

[0023] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.

[0024] The main solutions of the embodiments of this application are: At present, when designing and implementing traditional air mice, a fixed sensitivity value is set in the static initialization stage. When the user performs slow and delicate operations, fast sliding browsing, and sudden pause adjustments, the sensitivity of the air mouse remains unchanged, resulting in low fluency in air mouse operation.

[0025] The present application uses infrared blocking technology to detect the position of the air mouse in space in real time. The non-contact detection method avoids the limitation of the traditional mouse needing to touch the plane, improves the flexibility of the air mouse operation, and filters out unstable position changes through a preset time window, so as to more accurately determine the end position of the air mouse and improve the accuracy of the air mouse sensitivity adjustment. By comparing the end position with the preset position reference value, the actual moving distance of the air mouse is calculated, and the target sensitivity corresponding to the current moving distance is quickly determined based on the mapping relationship. The mapping relationship makes the sensitivity adjustment faster and more accurate. The sensitivity of the air mouse is adjusted according to the target sensitivity, and the sensitivity of the air mouse can change in real time with the speed corresponding to the user's moving distance, thereby improving the smoothness of the air mouse operation.

[0026] It should be noted that the execution subject of this embodiment can be an air mouse sensitivity adjustment device, or a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or a control device of an air mouse sensitivity adjustment device capable of realizing the above functions, etc., and this embodiment does not specifically limit this. The following takes the air mouse sensitivity adjustment device as an example of the execution subject to illustrate this embodiment and the following embodiments.

[0027] Embodiment 1 Based on this, the present application proposes a method for adjusting the sensitivity of an air mouse according to the first embodiment. Figure 1 , the air mouse sensitivity adjustment method includes: Step S100, detecting the position of the air mouse by infrared interception, and determining the position coordinate information of the air mouse.

[0028] Infrared interception technology is used to capture the position of the air mouse in space in real time and accurately, and then determine its position coordinate information, understand the current state and movement trajectory of the air mouse, and provide necessary data support for subsequent operations such as moving distance calculation and sensitivity adjustment.

[0029] In this embodiment, infrared ray blocking detection is a non-contact detection technology that determines the existence and position of an object by determining whether the light path between the infrared transmitter and the receiver is blocked by an object. When the air mouse moves, it blocks or changes the propagation path of the infrared ray, which is detected by the receiver and the position of the mouse is determined accordingly. The position coordinate information is a set of values ​​that describe the specific position of the air mouse and is used to indicate the precise position of the mouse relative to the center point of the screen.

[0030] Optionally, step S100 includes: Step S110, emitting infrared rays to cover the screen area through an infrared transmitter at a fixed position on the screen.

[0031] Through infrared coverage, it is ensured that no matter where the air mouse moves in front of the screen, it can be detected by infrared, thereby achieving accurate tracking of the air mouse position.

[0032] In this embodiment, the infrared transmitter is a device capable of emitting infrared light, which is installed at a fixed position on the screen and is used to emit infrared light to cover the screen area for non-contact measurement. Infrared light is electromagnetic radiation with a wavelength between visible light and microwaves, which cannot be seen directly by the human eye. It is detected by an infrared sensor and is used as a medium to detect the position of the air mouse.

[0033] Exemplarily, an infrared emitter is installed at the edge of the screen. The infrared emitter continuously emits infrared rays, and the emitted infrared rays are intertwined to form a comprehensive coverage of the screen area.

[0034] Step S120, detecting the infrared blocking signal of the air mouse through the infrared receiver corresponding to the infrared transmitter.

[0035] In this embodiment, the infrared receiver is a device that can receive infrared light and convert it into an electrical signal, and is used in conjunction with the infrared transmitter to detect the interception of infrared light by the air mouse. When the air mouse intercepts the infrared light, the parameters such as the signal strength, phase or frequency received by the infrared receiver will change, and this change is the interception signal.

[0036] Exemplarily, an infrared receiver corresponding to the infrared transmitter is installed at the edge of the screen. When the air mouse enters the infrared coverage area and blocks part of the light, the infrared receiver will receive a changed signal, that is, a blocking signal.

[0037] Step S130: analyzing and processing the blocking signal to identify the blocking signal characteristics.

[0038] Exemplarily, the received blocking signal is pre-processed using signal processing techniques such as filtering, amplification, and digitization to eliminate noise and interference, and the characteristic parameters of the blocking signal are analyzed through an algorithm.

[0039] Step S140, based on the blockage signal characteristics, calculate the specific coordinates of the blockage point on the screen to determine the position coordinate information.

[0040] As an optional implementation, the positional relationship of the occlusion point relative to the infrared transmitter and the receiver is calculated, and the positional relationship of the occlusion point is converted into specific coordinates on the screen using the principles of geometry and triangulation.

[0041] Exemplarily, a coordinate system is established at the center point of the screen, and the principle of triangulation is used to calculate the position vector of the blockade point relative to the receiver based on the time difference when each receiver receives the blockade signal and the known distance between the receivers. By solving the set of equations for these vectors, the specific coordinates of the blockade point in the coordinate system can be obtained.

[0042] Step S200, determining the end position of the air mouse based on a preset time window and position coordinate information.

[0043] In this embodiment, the preset time window is calculated according to the refresh rate of the screen and is set as the screen refresh cycle so that data is collected once at the end of each screen refresh cycle.

[0044] Step S300, calculating the moving distance of the air mouse according to the end position and the position reference value.

[0045] In this embodiment, the end position refers to the position coordinates of the air mouse after the movement is completed.

[0046] Optionally, step S300 includes: Step S310, obtaining a movement difference by subtracting the coordinates of the end position from the coordinates of the position reference value.

[0047] Step S320: If the movement difference is within a preset distance range, determine that the movement difference is set as the movement distance.

[0048] Step S330: If the movement difference is smaller than a minimum value of a preset distance range, the minimum value is set as the movement distance.

[0049] Step S340: If the movement difference is greater than the maximum value of the preset distance range, the maximum value is set as the movement distance.

[0050] As an optional implementation, the coordinates of the end position and the coordinates of the position reference value are obtained, the difference is calculated in each direction respectively, the movement difference is obtained, the calculated movement difference is compared with the preset distance range, and if the movement difference is within the range, the difference is directly set as the movement distance.

[0051] For example, assuming that the preset distance range is [-127, 127], the position reference value is (0, 0), and the end position is (170, -180), the movement difference is calculated: Δx = 170, Δy = -180. For Δx (170), it is greater than the maximum value of the preset range of 127, so the movement distance on the X axis is set to 127. For Δy (-180), it is less than the minimum value of the preset range of -127, so the movement distance on the Y axis is set to -127 (i.e., the minimum value of the preset range). According to the X-axis movement distance and the Y-axis movement distance, the total movement distance is calculated by the Euclidean distance formula.

[0052] Step S400, determining the target sensitivity corresponding to the moving distance according to the mapping relationship, and adjusting the sensitivity of the air mouse to the target sensitivity.

[0053] The calculated moving distance is converted into the corresponding sensitivity setting through the mapping relationship, and the sensitivity of the air mouse is adjusted in real time, making the air mouse respond more smoothly.

[0054] In this embodiment, the mapping relationship refers to the corresponding relationship between the moving distance and the sensitivity, that is, a corresponding sensitivity value is determined according to the moving distance. The target sensitivity refers to the sensitivity value of the air mouse calculated according to the mapping relationship and the current moving distance. The sensitivity generally refers to the response speed or degree of the device to the input change.

[0055] Optionally, step S400 includes: Step S410, determining the distance interval in which the moving distance is located, and obtaining the sensitivity associated with the distance interval as the target sensitivity, wherein the relationship is negatively correlated.

[0056] In this embodiment, the distance interval refers to dividing the moving distance range into multiple continuous or discontinuous segments, each segment represents a specific distance interval. Negative correlation refers to the opposite trend of change between two variables, that is, when one variable increases, the other variable decreases; vice versa.

[0057] As an optional implementation, multiple distance intervals are defined, and each interval is assigned a sensitivity value negatively correlated therewith, the calculated moving distance is compared with the defined distance interval to determine the interval to which it belongs, and the sensitivity associated with the interval is obtained as the target sensitivity.

[0058] For example, the distance interval [0, 10] is defined to correspond to a sensitivity of 100, [10, 50] to a sensitivity of 80, [50, 100] to a sensitivity of 60, and so on. If the calculated moving distance is 25, it is determined to belong to the interval [10, 50], so the target sensitivity is 80.

[0059] Step S420: Determine the sensitivity corresponding to the distance interval in which the moving distance is located according to the moving distance and a preset sensitivity mapping table, as the target sensitivity.

[0060] In this embodiment, the sensitivity mapping table is a predefined table, which lists the mapping relationship between different moving distances and corresponding sensitivities.

[0061] As an optional implementation, a mapping table including multiple moving distances and their corresponding sensitivities is constructed, the calculated moving distance is compared with the defined distance interval to determine the interval to which it belongs, and the sensitivity associated with the interval is obtained as the target sensitivity.

[0062] Exemplarily, the mapping table includes an entry “25->75”. If the calculated moving distance is 25, the target sensitivity is directly searched and determined to be 75.

[0063] Step S430, obtaining a function reflecting the relationship between the moving distance and the sensitivity, taking the moving distance as input, and outputting the corresponding sensitivity as the target sensitivity.

[0064] As an optional implementation, based on historical experimental data, a function that can accurately describe the relationship between the moving distance and the sensitivity is determined, the obtained moving distance is used as the input of the function, and the corresponding sensitivity value is calculated and output as the target sensitivity.

[0065] Exemplarily, the functional relationship is “sensitivity=100-0.5*moving distance”. If the detected moving distance is 40, the calculated target sensitivity is 80.

[0066] Step S440, adjusting the sensitivity of the air mouse to the target sensitivity.

[0067] Exemplarily, the sensitivity of the air mouse is compared with the sensitivity of the target, a sensitivity difference is calculated, and the sensitivity of the air mouse is adjusted according to the sensitivity difference.

[0068] For example, if in a drawing process, the user needs to use an air mouse to precisely control the movement of the brush. First, a preset time window of 1 second is set to observe the user's operation behavior. Within 1 second, the total distance moved by the user through the air mouse is recorded. If the user moves a longer distance within 1 second, the sensitivity of the mouse is automatically increased according to the sensitivity mapping table, so that the brush moves faster on the canvas. On the contrary, if the user moves a shorter distance, the sensitivity is reduced to more finely control the movement of the brush and improve the efficiency and accuracy of drawing.

[0069] The present embodiment provides a method for adjusting the sensitivity of an air mouse. The present embodiment first detects the position of the air mouse in space in real time through infrared blocking technology. The non-contact detection method avoids the limitation that the traditional mouse needs to contact the plane, thereby improving the flexibility of the air mouse operation. The unstable position changes are filtered out through a preset time window, so as to more accurately determine the end position of the air mouse and improve the accuracy of the air mouse sensitivity adjustment. By comparing the end position with the preset position reference value, the actual moving distance of the air mouse is calculated, and the target sensitivity corresponding to the current moving distance is quickly determined based on the mapping relationship. The mapping relationship makes the sensitivity adjustment faster and more accurate. The sensitivity of the air mouse is adjusted according to the target sensitivity, so that the sensitivity of the air mouse can change in real time with the speed corresponding to the user's moving distance, thereby improving the smoothness of the air mouse operation.

[0070] Based on the first embodiment, the second embodiment of the present application proposes a method for adjusting the sensitivity of an air mouse, referring to Figure 2 , before step S300, including: Step S500, determining the position of the air mouse through infrared interception detection, and judging the state of the air mouse according to the change of the position of the air mouse.

[0071] In this embodiment, the position change is the movement of the air mouse in space, which is captured and quantified by infrared interception detection. The state refers to the current motion state of the air mouse, including moving, stationary, accelerated movement, decelerated movement, etc.

[0072] Step S600: If the position of the air mouse does not change within a preset time window, the air mouse is in a stationary state.

[0073] Step S700, determining the coordinate value of the air mouse in the static state as the position reference value.

[0074] By clearly knowing the position of the air mouse when it is stationary, subsequent operations can be identified more accurately.

[0075] Exemplarily, the occlusion signal is detected by an infrared transmitter and an infrared receiver to determine the position information of the air mouse, and its current state is judged according to the change in the position of the air mouse. If the position changes significantly at several consecutive time points and the speed remains relatively stable, it can be judged that the air mouse is in a moving state; if the position hardly changes for a period of time, it can be judged to be a stationary state; if the speed increases significantly in a short period of time, it is an accelerating state; if the speed decreases, it is a decelerating state.

[0076] The present embodiment provides a method for adjusting the sensitivity of an air mouse. The present embodiment firstly uses infrared interception detection technology to capture the precise position of the air mouse in three-dimensional space in real time, and determines whether the mouse is in a stationary state based on the change of the position within a preset time window, and records the coordinate value of the mouse in the stationary state as a position reference value, thereby ensuring the accuracy and continuity of subsequent operations.

[0077] Based on the first embodiment, the third embodiment of the present application proposes a method for adjusting the sensitivity of an air mouse, referring to Figure 3 , before step S420, including: Step S440: Based on the preset time window, the corresponding sensitivity is obtained by adjusting the moving distance of the air mouse, and the corresponding sensitivity mapping table is determined.

[0078] Optionally, step S440 includes: Step S441: adjusting the moving distance of the air mouse based on the preset time window.

[0079] By controlling the moving distances of the air mouse of different lengths within the preset time window, a data basis is provided for sensitivity adjustment, ensuring that when evaluating and adjusting the sensitivity, various moving distances that the user may encounter can be covered, thereby generating a comprehensive and accurate sensitivity mapping table.

[0080] Exemplarily, the air mouse is controlled to move different distances at fixed intervals within a preset time window.

[0081] Step S442, obtaining the cursor displacement of the cursor corresponding to the air mouse within the preset time window.

[0082] Exemplarily, within a preset time window, the position of the cursor corresponding to the air mouse on the screen is continuously monitored and recorded, and the displacement of the cursor within the preset time window is calculated based on the initial position and final position of the cursor.

[0083] Step S443, adjusting the sensitivity of the air mouse so that the cursor displacement of the cursor corresponding to the air mouse is the same under different moving distances of the air mouse, and determining the sensitivity mapping table according to the moving distance and the sensitivity.

[0084] Exemplarily, an initial sensitivity value is set, and for each different moving distance, the sensitivity is adjusted until within a preset time window, no matter how far the air mouse moves, the cursor displacement on the screen remains consistent. For each moving distance, the corresponding sensitivity value is recorded, and a sensitivity mapping table is constructed using the recorded moving distances and corresponding sensitivity values.

[0085] Step S444: verify the sensitivity mapping table according to at least one set of test data, and adjust the sensitivity in the sensitivity mapping table based on the verification result to match the sensitivity in the test data.

[0086] Exemplarily, a preset test scenario is used to collect the movement distance of the air mouse and the corresponding cursor displacement data, and the test data is compared with the sensitivity mapping table to check whether the sensitivity value predicted by the mapping table is consistent with the actual test data. If there is a difference, the sensitivity value in the sensitivity mapping table is adjusted according to the test data until the predicted result of the mapping table is close to the actual value.

[0087] This embodiment provides an air mouse sensitivity adjustment method, which first adjusts the moving distance of the air mouse within a preset time window, and accurately measures the displacement of the corresponding cursor on the screen, determines the sensitivity value required under different moving distances, and thus constructs a sensitivity mapping table. The standardization of cursor movement is ensured, and the sensitivity in the mapping table is fine-tuned through at least one set of test data verification and feedback loop to ensure that it meets the needs of actual use scenarios, thereby improving the accuracy of air mouse operation.

[0088] Based on the first embodiment, the fourth embodiment of the present application proposes a method for adjusting the sensitivity of an air mouse, referring to Figure 4 , step S430 includes: Step S431, sending the target sensitivity to the control unit of the air mouse based on the communication protocol.

[0089] In this embodiment, the communication protocol refers to a set of rules for transmitting the target sensitivity data from the transmitter to the air mouse control unit. The control unit is the core component inside the air mouse, responsible for receiving external sensitivity adjustment commands, processing sensor data, and converting the processing results into corresponding cursor movement instructions.

[0090] Step S432: adjusting the sensor sensitivity of the air mouse by the control unit to adjust the sensitivity to the target sensitivity.

[0091] Exemplarily, according to the target sensitivity, the algorithm for processing sensor data is modified to change the mapping relationship between the air mouse movement and the cursor movement, and the sensitivity parameters of the built-in sensor of the air mouse are adjusted to adjust the sensitivity of the sensor to the target sensitivity.

[0092] The present embodiment provides a method for adjusting the sensitivity of an air mouse. The present embodiment first detects hand movement through a sensor built into the air mouse, which is then converted into cursor movement on the screen, and the target sensitivity is sent to the control unit of the air mouse. The sensor sensitivity of the air mouse is adjusted accordingly, thereby ensuring the smoothness of the air mouse operation.

[0093] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the air mouse sensitivity adjustment method of the present application. More simple transformations based on this technical concept are all within the protection scope of the present application.

[0094] The present application provides an air mouse sensitivity adjustment device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the air mouse sensitivity adjustment method in the above-mentioned embodiment one.

[0095] Reference below Figure 5 , which shows a schematic diagram of the structure of an air mouse sensitivity adjustment device suitable for implementing the embodiment of the present application. The air mouse sensitivity adjustment device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), etc., and fixed terminals such as desktop computers, etc. Figure 5 The air mouse sensitivity adjustment device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0096] like Figure 5As shown, the air mouse sensitivity adjustment device may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the air mouse sensitivity adjustment device are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the air mouse sensitivity adjustment device to communicate with other devices wirelessly or by wire to exchange data. Although the air mouse sensitivity adjustment device with various systems is shown in the figure, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have alternatively.

[0097] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.

[0098] The air mouse sensitivity adjustment device provided by the present application adopts the air mouse sensitivity adjustment method in the above embodiment, which can solve the technical problem of how to improve the fluency of air mouse operation. Compared with the prior art, the beneficial effects of the air mouse sensitivity adjustment device provided by the present application are the same as the beneficial effects of the air mouse sensitivity adjustment method provided by the above embodiment, and other technical features in the air mouse sensitivity adjustment device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.

[0099] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.

[0100] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0101] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the air mouse sensitivity adjustment method in the above-mentioned embodiment.

[0102] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM: Random Access Memory), a read-only memory (ROM: Read Only Memory), an erasable programmable read-only memory (EPROM: Erasable Programmable Read Only Memory or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM: CD-Read Only Memory), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency: Radio Frequency), etc., or any suitable combination of the above.

[0103] The computer-readable storage medium may be included in the air mouse sensitivity adjustment device; or may exist independently without being assembled into the air mouse sensitivity adjustment device.

[0104] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by the air mouse sensitivity adjustment device, the air mouse sensitivity adjustment device can write computer program codes for performing the operations of the present application in one or more programming languages ​​or a combination thereof. The programming languages ​​include object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" language or similar programming languages. The program code can be executed completely on the user's computer, partially on the user's computer, as an independent software package, partially on the user's computer and partially on a remote computer, or completely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (for example, using an Internet service provider to connect through the Internet).

[0105] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0106] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.

[0107] The readable storage medium provided in the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned air mouse sensitivity adjustment method, and can solve the technical problem of how to improve the fluency of air mouse operation. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in the present application are the same as the beneficial effects of the air mouse sensitivity adjustment method provided in the above-mentioned embodiment, and will not be elaborated here.

[0108] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.

Claims

1. A method for adjusting the sensitivity of an air mouse, characterized in that: The method includes: Detecting the position of the air mouse by infrared interception to determine the position coordinate information of the air mouse; Determining the end position of the air mouse based on a preset time window and position coordinate information; Calculating the moving distance of the air mouse according to the end position and the position reference value; The target sensitivity corresponding to the moving distance is determined according to the mapping relationship, and the sensitivity of the air mouse is adjusted to the target sensitivity.

2. The method according to claim 1, characterized in that Before the step of calculating the moving distance of the air mouse according to the end position and the position reference value, the method includes: Determine the position of the air mouse by infrared interception detection, and judge the state of the air mouse according to the change of the position of the air mouse; If the position of the air mouse does not change within the preset time window, the air mouse is in a stationary state; The coordinate value of the air mouse in the static state is determined as the position reference value.

3. The method according to claim 1, characterized in that The step of detecting the position of the air mouse by infrared interception and determining the position coordinate information of the air mouse comprises: Through the infrared transmitter at a fixed position on the screen, infrared rays are emitted to cover the screen area; Detecting the infrared blocking signal of the air mouse by the infrared receiver corresponding to the infrared transmitter; parsing and processing the blocking signal to identify blocking signal characteristics; Based on the blockage signal characteristics, the specific coordinates of the blockage point on the screen are calculated to determine the position coordinate information.

4. The method according to claim 1, characterized in that The step of calculating the moving distance of the air mouse according to the end position and the position reference value comprises: Obtain a movement difference by subtracting the coordinates of the end position from the coordinates of the position reference value; If the movement difference is within a preset distance range, determining that the movement difference is set as the movement distance; If the movement difference is less than the minimum value of the preset distance range, the minimum value is set as the movement distance; If the movement difference is greater than a maximum value of a preset distance range, the maximum value is set as the movement distance.

5. The method according to claim 1, characterized in that The step of determining the target sensitivity corresponding to the moving distance according to the mapping relationship and adjusting the sensitivity of the air mouse to the target sensitivity includes: Determine the distance interval in which the moving distance is located, and obtain the sensitivity associated with the distance interval as the target sensitivity, wherein the relationship is negatively correlated; or Determine, according to the moving distance and a preset sensitivity mapping table, the sensitivity corresponding to the distance interval in which the moving distance is located as the target sensitivity; or Obtaining a function reflecting the relationship between the moving distance and the sensitivity, taking the moving distance as input, and outputting the corresponding sensitivity as the target sensitivity; The sensitivity of the air mouse is adjusted to the target sensitivity.

6. The method according to claim 5, characterized in that Before the step of determining the sensitivity corresponding to the distance interval in which the moving distance is located as the target sensitivity according to the moving distance and a preset sensitivity mapping table, the method includes: Based on the preset time window, the corresponding sensitivity is obtained by adjusting the moving distance of the air mouse, and the corresponding sensitivity mapping table is determined; The sensitivity mapping table is verified according to at least one set of test data, and the sensitivities in the sensitivity mapping table are adjusted based on the verification result to conform to the sensitivities in the test data.

7. The method according to claim 6, characterized in that The step of obtaining the corresponding sensitivity by adjusting the moving distance of the air mouse based on the preset time window and determining the corresponding sensitivity mapping table comprises: Based on the preset time window, adjusting the moving distance of the air mouse; Obtaining a cursor displacement of a cursor corresponding to the air mouse within the preset time window; The sensitivity of the air mouse is adjusted so that the cursor displacement of the cursor corresponding to the air mouse is the same under different moving distances of the air mouse, and the sensitivity mapping table is determined according to the moving distance and the sensitivity.

8. The method according to claim 5, characterized in that The step of adjusting the sensitivity of the air mouse to the target sensitivity comprises: Sending the target sensitivity to a control unit of the air mouse based on a communication protocol; The sensor sensitivity of the air mouse is adjusted by the control unit to adjust the sensitivity to the target sensitivity.

9. An air mouse sensitivity adjustment device, characterized in that: The device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the air mouse sensitivity adjustment method according to any one of claims 1 to 8.

10. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the air mouse sensitivity adjustment method according to any one of claims 1 to 8 are implemented.