CN103034343B - The control method and device of a kind of sensitive mouse - Google Patents

The control method and device of a kind of sensitive mouse Download PDF

Info

Publication number
CN103034343B
CN103034343B CN201110299532.6A CN201110299532A CN103034343B CN 103034343 B CN103034343 B CN 103034343B CN 201110299532 A CN201110299532 A CN 201110299532A CN 103034343 B CN103034343 B CN 103034343B
Authority
CN
China
Prior art keywords
mouse
acquisition unit
axis
right key
key acquisition
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201110299532.6A
Other languages
Chinese (zh)
Other versions
CN103034343A (en
Inventor
张海锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to CN201110299532.6A priority Critical patent/CN103034343B/en
Publication of CN103034343A publication Critical patent/CN103034343A/en
Application granted granted Critical
Publication of CN103034343B publication Critical patent/CN103034343B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Position Input By Displaying (AREA)

Abstract

The embodiment of the invention discloses the control methods and device of a kind of sensitive mouse, belong to field of mouse.The described method includes:It obtains left button collecting unit, the motion change information that right button collecting unit and mouse collecting unit detect, and the motion change information is sent to control device;It receives left button collecting unit, the motion change information that right button collecting unit and mouse collecting unit detect, and according to the mapping relations between the motion change information and default mouse action, exports corresponding mouse behavior.The motion change information that the embodiment of the present invention is obtained by the sensor being worn in each collecting unit of user on hand according to the hand motion of user with the mapping relations between default mouse action, generates corresponding mouse behavior.The control method of conventional desktop mice is broken away from, has both improved the scope of application, while in turn avoids injuring caused by human body using conventional mouse for a long time.

Description

Control method and device for sensing mouse
Technical Field
The invention relates to the field of mice, in particular to a control method and a control device for a perception mouse.
Background
With the development of computers, a mouse has been widely used as an input device in computers using an operating system of a graphical interface, and has been a substitute tool for human-computer interaction in the current computer operation.
The mouse which is most widely used at present is an optical mouse, and the core components of the optical mouse are a light-emitting diode, a micro camera, an optical engine and a control chip. When the mouse works, the light emitting diode emits light to illuminate the surface of the bottom of the mouse, and meanwhile, the miniature camera continuously shoots images at a certain time interval. Different images generated by the mouse in the moving process are transmitted to the optical engine for digital processing, and finally, a positioning chip in the optical engine analyzes a generated image digital matrix. Because two adjacent images always have the same characteristics, the moving direction and distance of the mouse can be judged by comparing the position change information of the characteristic points, and the analysis result is finally converted into coordinate offset to realize the positioning of the cursor.
In the process of implementing the invention, the inventor finds that the prior art has at least the following problems:
the existing mouse is based on desktop control, and the mouse is moved based on a plane. The mouse is characterized in that the wrist of the mouse is required to be dorsiflexed at a certain angle due to a certain height, the wrist is in a forced position, when the mouse is used in a fixed posture for a long time, the wrist is in contact with the desktop and overstocked, and the nerve and blood vessels passing through the wrist are damaged due to repeated extrusion and friction for a long time, so that the human body can be damaged to a certain extent.
Disclosure of Invention
In order to overcome the defect that a human body is hurt by using a traditional mouse for a long time, the embodiment of the invention provides a control method and a control device for sensing the mouse. The technical scheme is as follows:
the embodiment of the invention provides a control method for a perception mouse, which comprises the following steps:
acquiring motion change information detected by a left key acquisition unit, a right key acquisition unit and a mouse body acquisition unit, and sending the motion change information to a control device;
and receiving the motion change information detected by the left key acquisition unit, the right key acquisition unit and the mouse body acquisition unit, and outputting corresponding mouse behaviors according to the mapping relation between the motion change information and preset mouse actions.
The embodiment of the invention also provides a control device for sensing the mouse, which comprises:
the information acquisition device is used for acquiring motion change information detected by the left key acquisition unit, the right key acquisition unit and the mouse body acquisition unit and sending the motion change information to the control device;
and the control device is used for receiving the motion change information detected by the left key acquisition unit, the right key acquisition unit and the mouse body acquisition unit and outputting corresponding mouse behaviors according to the mapping relation between the motion change information and preset mouse actions.
The technical scheme provided by the embodiment of the invention has the following beneficial effects: and generating corresponding mouse behaviors through a mapping relation between motion change information obtained by sensors in all the acquisition units worn on the hands of the user according to the hand motions of the user and preset mouse motions. The method gets rid of the control method of the traditional desktop mouse, not only improves the application range, but also avoids the harm to the human body caused by using the traditional mouse for a long time.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flowchart of a control method for sensing a mouse according to embodiment 1 of the present invention;
fig. 2 is a schematic structural diagram of an information acquisition device in the control method for sensing a mouse according to embodiment 1 of the present invention;
fig. 3 is a schematic diagram of spatial coordinates of left and right key collection units in the control method for sensing a mouse provided in embodiment 1 of the present invention;
fig. 4 is a schematic diagram of spatial coordinates of a mouse body acquisition unit in the control method for sensing a mouse provided in embodiment 1 of the present invention;
fig. 5 is a schematic diagram of actions and spatial coordinates of a method for implementing a mouse wake-up or break function in a control method for sensing a mouse according to embodiment 1 of the present invention;
fig. 6 is a schematic diagram of actions and spatial coordinates of a method for implementing a mouse dragging function according to a control method for sensing a mouse provided in embodiment 1 of the present invention;
fig. 7 is a schematic structural diagram of a control device for sensing a mouse according to embodiment 2 of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
Example 1
The invention provides a control method for sensing a mouse, the flow of which is shown in figure 1, and the method comprises the following steps:
step 101: and acquiring the motion change information detected by the left key acquisition unit, the right key acquisition unit and the mouse body acquisition unit, and sending the motion change information to the control device.
Each information acquisition unit in the information acquisition device acquires the detected motion change information at preset time intervals according to the action of the hand of the wearer through the built-in sensor. In the embodiment of the invention, sensors are arranged in all information acquisition units of the mouse to detect the motion change information obtained due to physical motion. Preferably, the sensor for obtaining the motion change information may be at least one of an acceleration sensor and a gyroscope. The information acquisition device is shown in fig. 2.
Wherein, when the user wore with the right hand, left key collection unit can wear in left hand forefinger position, and right key collection unit can wear in left hand middle finger position, if the user wore with the left hand, left key collection unit can wear in right hand forefinger position, and right key collection unit can wear in right hand middle finger position, can also change two keys about through setting up, do not restrict this, and left key and right key collection unit's space coordinate is as shown in FIG. 3. The mouse body detection unit can be worn on the wrist and/or palm, and the spatial coordinates of the mouse body acquisition unit are shown in fig. 4. The left key acquisition unit and the right key acquisition unit are respectively connected with the mouse body acquisition unit through signal transmission lines and are used for transmitting signals and supplying power. Various motion parameters acquired by the three acquisition units can be sent to the control device in a wired or wireless mode; if the wireless transmission is adopted, the mouse body acquisition unit also needs to comprise an information transmission subunit for transmitting the acquired various motion parameters to the control device, and a power supply subunit for supplying power to each acquisition unit worn on the hand. The information sending subunit can adopt transmission modes such as Bluetooth or WIFI to transmit in a wireless mode.
Step 102: and receiving the motion change information detected by the left key acquisition unit, the right key acquisition unit and the mouse body acquisition unit, and outputting corresponding mouse behaviors according to the mapping relation between the motion change information and preset mouse actions.
The control device receives the motion change information detected by the left key acquisition unit, the right key acquisition unit and the mouse body acquisition unit, and outputs corresponding mouse behaviors according to the mapping relation between the motion change information and preset mouse actions.
When the mouse is started, the current initial state of the mouse is acquired and used as a basis for comparison after movement, and the initial position is considered to be a relative static state. Specifically, a g-sized gravitational acceleration always exists on the earth, and in the case that the mouse is stationary, acceleration vectors of the acceleration sensor in three directions of the X axis, the Y axis and the Z axis should be equal to one g. Suppose that at a certain time, the acceleration in the X-axis direction is X0Acceleration in the Y-axis direction of Y0Acceleration in the Z-axis direction is Z0. If x0 2+y0 2+z0 2=g2When the vector sum of the three directional accelerations is equal to the magnitude of the earth gravity acceleration, the acceleration sensor can be technically judged to be in a static state. At this time, the acceleration in each direction obtained by the sensor in the mouse body acquiring unit 2013 is used to determine whether the mouse is in a relatively stationary state. In practical application, a human hand cannot be kept absolutely still in a suspended state and can shake to a certain extent, so that the mouse worn on the human hand is difficult to be completely still. Determining whether the mouse is stationary or moving, technically presetting a threshold value, such as g, for the acceleration sensor2(1-5%)≤x0 2+y0 2+z0 2≤g2(1+ 5%), when this condition is reached, the mouse is in a relatively stationary state. Acceleration x in three directions in a relatively static state0、y0、z0The posture of the mouse, namely the posture of wearing the mouse, is accurately described. For example, when z is0X is-g0And y0When both are 0 (technically, taking a close value), the hand is in a posture with the palm facing downward, as shown in fig. 2; when z is0X is g0And y0When all are 0 (technically, close to the value), the hands areIn a palm-up position.
In a three-axis coordinate system in the sensor of each acquisition unit, the X axis is parallel to and perpendicular to the plane formed by the fingers and palms wearing the left and right key acquisition units, the Y axis is parallel to and parallel to the plane formed by the fingers and palms wearing the left and right key acquisition units, and the Z axis is perpendicular to the plane formed by the fingers and palms wearing the left and right key acquisition units.
It should be noted that in the embodiment of the present invention, there are two effective displacement control methods:
1) the displacement of the three acquisition units under the relative static condition is effective displacement
When the angular rates sensed by the gyroscopes in the mouse body acquisition units are the same as the angular rates sensed by the gyroscopes in the left and right key acquisition units (certain errors are allowed in the technology), the three acquisition units are considered to be relatively static; when the acceleration sensed by the acceleration sensor in the mouse body acquisition unit is the same as the acceleration sensed by the acceleration sensor in the left and right key acquisition units (a certain error is technically allowed), the three acquisition units are considered to be relatively static. And the single-double click and rolling behaviors of the mouse are not triggered in the displacement state of the mouse.
2) The displacement of the mouse body acquisition unit in any case is effective displacement
In this case, when the mouse body acquisition unit is in a static state (a certain error is technically allowed), the behaviors of single-double click, rolling and the like of the mouse are effective behaviors.
Any behavior requiring displacement to determine the mouse action can be used as a condition for acquiring displacement by the two constraint modes.
According to the embodiment of the invention, the corresponding mouse behavior is generated through the mapping relation between the motion change information obtained by the sensors in the acquisition units worn on the hands of the user according to the hand motions of the user and the preset mouse motions. The various behaviors of the mouse include: the mouse comprises the following steps of mouse awakening and disconnecting operation, mouse single-click double-click and dragging operation, mouse wheel operation, mouse displacement operation, mouse handwriting operation and the like. Next, a mapping relationship between various behaviors of the mouse and motion change information corresponding to the hand motion of the user is further described.
(1) Mouse wake-up and disconnect operations
In practical applications, when the mouse is worn on a hand, the hand is often switched between the mouse and the keyboard, and in order to enable a user to perform corresponding actions according to motion change information acquired by each sensor when the user uses the keyboard, the mouse needs to be awakened and disconnected through a certain posture.
1) When the left button and the right button of the mouse are collected by the collecting unit to realize the awakening and disconnection operations of the mouse:
when the acquisition units of the left and right mouse buttons are gyroscopes:
the mouse can be used for performing a plurality of motions and postures of mouse function switch operation. Such as:
when the gyroscopes in the acquisition units of the left key and the right key take the Z axis as the axis, the angular rate omega which is greater than the preset angular rate is reached in the preset time periodzRotation thetazAnd when the mouse is in use, the mouse function is awakened or disconnected.
When the acquisition units of the left mouse button and the right mouse button are acceleration sensors:
in a static state, when acceleration sensors in the acquisition units of the left key and the right key are in a certain preset posture within a preset time period, the mouse function is awakened or disconnected, as shown in fig. 5. Technically, in order to meet practical application, thresholds are preset for relevant data, such as: the minimum time period for the two acceleration sensors to jointly maintain the postures can be preset to be 0.6 second; the gesture is that when the positive direction of the Z axis of the two acceleration sensors is the same as the direction of the gravity of the earth, the mouse function is awakened or disconnected, and the same amount of error is allowed.
2) When the mouse body acquisition unit realizes the awakening and disconnection operations of the mouse:
in a static state, when an acceleration sensor of a mouse body acquisition unit is in a certain preset posture in a preset time period, the mouse function is awakened or disconnected. Technically, in order to meet practical application, thresholds are preset for relevant data, such as: the minimum time period for maintaining the posture can be preset to be 0.6 second; the attitude is the positive direction of the Z axis of the acceleration sensor is the same as the direction of the gravity of the earth (namely the attitude with the palm horizontally upward), and the same amount is allowed to have errors.
A certain time interval is set for the awakening and disconnection operations of the mouse, and meanwhile, in order to prevent the hand from being in a state of switching on and off the mouse function all the time when the hand is at rest, the current state of the mouse is locked after the mouse is continuously switched on and off for one cycle, and the mouse is unlocked until the mouse is not in the switched posture.
There are many ways to wake up and turn off the mouse, and as long as the mouse is the same as the preset action, that is, the obtained motion change information is the same as the preset action mapping relation, the realization of the corresponding function can be completed.
(2) Single and double click and drag operation of mouse
The manner of implementing single click, double click and drag operations may be:
when the data output by the acquisition unit representing the left button or the right button of the mouse reaches a certain preset range, the related functions of the left button or the right button of the mouse are completed.
1) When the acquisition units of the left button and the right button of the mouse are gyroscopes, the acquisition units of the mouse body are gyroscopes and/or acceleration sensors:
in the embodiment of the invention, the angular rate of the gyroscope taking the X axis as the axis is used as the basis for judging the click, double click and drag of the left mouse button or the right mouse button, and the spatial coordinate of the sensor of the left button acquisition unit or the right button acquisition unitAs shown in fig. 3. Based on this approach, several data ranges can be preset, such as: the angular speed value of the positive direction taking the X axis as the axis reaches omegaxJudging that the mouse button is pressed when the speed is more than or equal to 800 ℃/s; the value of negative direction angular velocity taking the X axis as the axis reaches omegaxAnd when the speed is less than or equal to 400 degrees/second, the pressed mouse button is judged to be released and used as a threshold value when the left and right keys are judged to be clicked or released.
When the pickup unit is a gyroscope, the X-axis is a positive direction, and the X-axis is an upper direction ω in fig. 3xThe direction of the arrow shown is a positive direction of rotation and the negative direction is the opposite direction, and the positive and negative directions mentioned later, which are about the X axis, are both rotated in this manner.
① when the positive direction angular rate value of the gyroscope with the X axis as the axis reaches omega in the acquisition unit for acquiring the left button of the mousex② obtaining displacement information of acceleration sensor in acquisition unit of mouse body and moving mouse pointer according to the displacement information, moving mouse button to complete dragging function according to displacement information when pressed, that is, moving mouse after pressing left mouse button, ③ obtaining negative direction angular velocity value of gyroscope in acquisition unit of left mouse button and using X axis as axis to reach omegaxThe combination of the above ①③ two successive steps completes the click operation of a left mouse button, the double click is to complete two continuous click operations, and the two click operations can be used as the double click effect within a preset time interval, otherwise, the double click effect is the double click effect, the above ①② process is to complete the process of pressing down the left mouse button and dragging, namely, to complete the process of selecting a certain range of contents by one mouse, for example, under the condition of dragging all icons included in the post-selection middle range, at this moment, the ③ step is performed again to complete the process of releasing the dragging function.
2) When the acquisition units representing the left key and the right key of the mouse are acceleration sensors, the acquisition units of the mouse body are gyroscopes and/or acceleration sensors:
in the embodiment of the invention, the acceleration of the Z axis of the acceleration sensor is used as a basis for judging the click, double click and drag of the left mouse button or the right mouse button, and the spatial coordinates of the sensor of the left button acquisition unit or the right button acquisition unit are shown in fig. 3. Based on this approach, several data ranges can be preset, such as: the positive direction value of the Z-axis acceleration reaches azNot less than 0.5 m/s2Judging that a mouse button is pressed; the negative direction value of the Z-axis acceleration reaches azNot less than 0.2 m/s2And the time is judged to be the release of the pressed mouse button and is used as a threshold value for judging the left and right button clicking or left and right button releasing.
① when the positive Z-axis acceleration value of acceleration sensor in the acquisition unit for acquiring the left mouse button reaches azNot less than 0.5 m/s2When the acceleration value of the acceleration sensor in the acquisition unit further acquires the mouse left key, the function of pressing the left key is completed, ② displacement information of the acceleration sensor in the acquisition unit of the mouse body in the corresponding direction is acquired at the moment, the mouse pointer is moved according to the displacement information, the mouse button is moved under the pressed state according to the displacement information to complete the dragging function, namely, the mouse is moved after the mouse left key is pressed, ③ when the negative direction of the Z-axis acceleration value of the acceleration sensor in the acquisition unit further acquiring the mouse left key reaches azNot less than 0.2 m/s2The ①② process is the process of pressing down the left key by the mouse, dragging and then releasing the left key, namely the process of selecting a certain range of contents by the mouse, for example, the condition of dragging all icons included in the range of post-selection, and then the ③ step is carried out to complete the process of releasing the dragging function. The right key is similar to the left key and will not be described herein.
Furthermore, the mouse clicking, double clicking and dragging actions can be distinguished by increasing the range of the preset data, and the dragging actions are further limited.
The method specifically comprises the following steps:
1) when the acquisition units of the left button and the right button of the mouse are gyroscopes, the acquisition units of the mouse body are gyroscopes and/or acceleration sensors:
in the embodiment of the invention, the angular rate of the gyroscope with the X axis as the axis is used as the basis for judging the click, double click and drag of the left mouse button or the right mouse button, and the spatial coordinates of the sensor of the left button acquisition unit or the right button acquisition unit are shown in fig. 3. Based on this approach, several data ranges can be preset, such as: the angular rate value of the positive direction taking the X axis as the axis reaches 800 to omegaxIf the temperature is less than 1500 ℃/s, the process of clicking the left key once is judged to be completed; the angular speed value of the positive direction taking the X axis as the axis reaches omegaxJudging that the mouse button is pressed when the temperature is more than or equal to 1500 ℃/s; the value of negative direction angular velocity taking the X axis as the axis reaches omegaxAnd when the speed is less than or equal to 400 degrees/second, the pressed mouse button is judged to be released and used as a threshold value when the left and right keys are judged to be clicked or released.
When the value of the angular rate of the gyroscope in the positive direction with the X axis as the axis in the acquisition unit for acquiring the left key of the mouse reaches 800-omegaxAnd when the frequency is less than 1500 degrees/second, completing the process of clicking the left button once, namely comprising the process of pressing and releasing the left button of the mouse. Under the condition, a process of clicking a mouse button is completed, double clicking is to complete two continuous clicking operations, and the double clicking operation can be used as the double clicking effect within a preset time interval, otherwise, the double clicking effect is realized.
When the angular speed value reaches omega in the positive direction with the X axis as the axisxWhen the speed is more than or equal to 1500 DEG/s, the function of pressing the left mouse button is judged to be completed, the pressed left button is not released at the moment, and the displacement information in the direction corresponding to the acceleration sensor in the mouse body acquisition unit is acquired at the momentAnd moving a mouse pointer according to the displacement information, and moving a mouse button to finish a dragging function according to the displacement information in a pressed state, namely moving the mouse after pressing a left mouse button. When the value of the angular rate of the gyroscope in the negative direction taking the X axis as the axis in the acquisition unit for further acquiring the left key of the mouse reaches omegaxWhen the temperature is less than or equal to 400 ℃ per second, the function of releasing the left construction is completed. This process is a process of completing the mouse pressing the left button, dragging and then releasing the left button, i.e. a process of selecting a certain range of contents by one mouse is completed, for example, the case of dragging all icons included in the middle range of the post-selection.
The right key is similar to the left key and will not be described herein.
2) When the acquisition units representing the left key and the right key of the mouse are acceleration sensors, the acquisition units of the mouse body are gyroscopes and/or acceleration sensors:
in the embodiment of the invention, the acceleration of the Z axis of the acceleration sensor is used as a basis for judging the click, double click and drag of the left mouse button or the right mouse button, and the spatial coordinates of the sensor of the left button acquisition unit or the right button acquisition unit are shown in fig. 3. Based on this approach, several data ranges can be preset, such as: the positive direction value of the Z-axis acceleration reaches 0.5 m/s2≤az< 1 m/s2Completing the process of clicking the left key once; the positive direction value of the Z-axis acceleration reaches azNot less than 1 m/s2Judging that a mouse button is pressed; the negative direction value of the Z-axis acceleration reaches azNot less than 0.2 m/s2And the time is judged to be the release of the pressed mouse button and is used as a threshold value for judging the left and right button clicking or left and right button releasing.
When the positive Z-axis acceleration value of the acceleration sensor in the acquisition unit for acquiring the left mouse button reaches 0.5 m/s2≤az< 1 m/s2In this range, the process of clicking the left button once is completed, namely the process of pressing and releasing the left button of the mouse is included. Under the condition, a process of clicking a mouse button is completed, double clicking is to complete two continuous clicking operations, and two clicking operationsIn a preset time interval, the effect of double click can be realized, otherwise, the effect of double click is realized.
When the positive direction value of the Z-axis acceleration reaches azNot less than 1 m/s2And the mouse button moves to finish the dragging function according to the displacement information in the pressed state, namely the mouse moves after the left mouse button is pressed. When the Z-axis acceleration negative direction value of the acceleration sensor of the acquisition unit of the left mouse button is further acquired to reach azNot less than 0.2 m/s2And when the current time is within the range, the function of releasing the left building is completed. This process is a process of completing the mouse pressing the left button, dragging and then releasing the left button, i.e. a process of selecting a certain range of contents by one mouse is completed, for example, the case of dragging all icons included in the middle range of the post-selection. The right key is similar to the left key and will not be described herein.
Furthermore, the judgment of actions can be added, namely the obtained data is further judged, the actions of mouse clicking, double clicking and dragging are distinguished, and the dragging action is further limited.
When the acquisition units of the left button and the right button of the mouse are acceleration sensors, the acquisition units of the mouse body are gyroscopes and/or acceleration sensors:
in the embodiment of the invention, the acceleration of the Z axis of the acceleration sensor is used as a basis for judging the click, double click and drag of the left mouse button or the right mouse button, and the spatial coordinates of the sensor of the left button acquisition unit or the right button acquisition unit are shown in fig. 3. Based on this approach, several data ranges can be preset, such as: the positive direction value of the Z-axis acceleration reaches azNot less than 0.5 m/s2Judging that a mouse button is pressed; the negative direction value of the Z-axis acceleration reaches azNot less than 0.2 m/s2When the mouse button is pressed, the mouse button is released as a left-right button orThreshold value when the left and right keys are released.
When the positive direction value of the acceleration sensor Z axis in the acquisition unit for acquiring the left mouse button reaches azNot less than 0.5 m/s2In this range, the process of clicking the left button once is completed, namely the process of pressing and releasing the left button of the mouse is included. The double click is to complete two continuous click operations, and the double click operation can be used as the double click effect only within a preset time interval, otherwise, the double click effect is used.
In a static state, when the positive direction of the Z axis of the acceleration sensor of the right button or the left button is opposite to the positive direction of the Z axis of the mouse body acquisition unit (a certain error is allowed in the technology), the movement of the hand taking the positive direction of the Z axis of the acceleration sensor of the right button and the positive direction of the Z axis of the mouse body acquisition unit as an example is shown in fig. 6, and when the interruption time is less than t in the posture, the actions are as follows: t 0.3 seconds. At the moment, if the positive direction value of the Z-axis acceleration of the acceleration sensor representing the collection of the left key or the right key of the mouse reaches azNot less than 0.5 m/s2When the range is within the range, the function of pressing the left key or the right key is completed; at the moment, displacement information of the acceleration sensor in the mouse body acquisition unit in the corresponding direction is acquired, the mouse pointer is moved according to the displacement information, and the mouse button is moved to finish a dragging function according to the displacement information in a pressed state, namely, the mouse is moved after the left mouse button is pressed; when the Z-axis acceleration negative direction value of the acceleration sensor for collecting the left key or the right key of the mouse is further obtained to reach azNot less than 0.2 m/s2If the range is yes, the function of releasing the left button or the right button is completed, that is, the process of selecting a certain range of contents by one mouse is completed, for example, the condition of dragging all icons included in the middle-selected range is completed.
Under the condition, when the acquisition units of the left key and the right key of the mouse are required to be in postures meeting the requirements respectively, the operation of pressing the keys and dragging is carried out, and the dragging function can be realized, otherwise, the dragging function can not be realized if the acquisition units are displaced. The right key is similar to the left key and will not be described herein.
(3) Scrolling operation of a mouse
When the data acquired from the acquisition units of the left button and the right button of the mouse reach a certain preset range, the related functions of the mouse wheel are completed.
1) When the acquisition units of the left mouse button and the right mouse button are gyroscopes:
based on this approach, several data ranges can be preset, such as: when the angular speed value reaches omega in the positive direction with the X axis as the axisxNot less than a degree/second, and the angle reaches theta in the positive direction with the X axis as the axisxWhen the angle is more than or equal to b degrees, the angle is used as the basis for judging the downward rolling of the mouse wheel, and when the value of the angular speed in the negative direction with the X axis as the axis reaches omegaxNot less than a degree/second, and the negative direction angle taking the X axis as the axis reaches thetaxAnd when the mouse is more than or equal to b degrees, the mouse is used as a basis for judging that the mouse roller rolls upwards, and the time error s is less than or equal to 0.05 second. At this time, the spatial coordinates of the gyro of the left key collection unit or the right key collection unit are as shown in fig. 3.
Angular rate values of gyroscopes in acquisition units of left and right mouse buttons can reach omega at the same time (preset error in technology, such as s is less than or equal to 0.05 second) at positive angular rate with X axis as axisxThe angle is not less than a degree/second and reaches theta in the positive direction with the X axis as the axisxAnd b degrees or more, taking the gyroscope with the minimum rotation angle as a standard at the moment, obtaining a downward rolling value of the roller function by taking the gyroscope with the minimum rotation angle as the standard at the moment until the angular speed value is received again and is smaller than the value in the range, determining the rolling value by the rotation angle b, and presetting a mapping relation between b and the rolling distance of the mouse. Wherein, can carry out the stepping to the value of b, if: the scroll distance of the mouse wheel is controlled by 20 (scroll distance × 1), 40 (scroll distance × 2), and 80 (scroll distance × 3).
The angular rate values of the gyroscopes in the acquisition units of the left key and the right key of the mouse can reach omega at the same time (the error is preset technically, for example, s is less than or equal to 0.05 second) by taking the X axis as the negative direction angular rate of the axisxThe angle of rotation is equal to or more than a degree/second and reaches theta in the negative direction taking the X axis as the axisxNot less than b degree, at the moment, the angle of rotation is the mostAnd taking the small gyroscope as a standard until the angular rate value is received again and is larger than the value in the range, taking the gyroscope with the minimum rotation angular rate as the standard to obtain the upward rolling value of the roller function, wherein the rolling value is determined by the rotation angle b, and a mapping relation between the rotation angle b and the rolling distance of the mouse is preset. Wherein, can carry out the stepping to the value of b, if: the scroll distance of the mouse wheel is controlled by 20 (scroll distance × 1), 40 (scroll distance × 2), and 80 (scroll distance × 3).
Because the hand does not roll towards a certain direction like a real mouse roller, the roller can not return to the initial state in the roller operation process, and the operation is reversed to the roller action, so that the misoperation of continuous page turning caused by reverse rolling or continuous quick rolling due to reverse movement of the hand returning to the initial state is avoided, when the rolling function is used, the first rolling direction is taken as the execution direction, and the rolling in the opposite direction is forbidden within a certain time interval (such as 0.3 second).
Further, the value of the acceleration a may be graded, for example, when a is 400 (scroll distance × 1) or 900 (scroll speed × 2), the final scroll distance is the scroll distance of a multiplied by the scroll distance of b, and the higher the obtained value is, the larger the scroll distance is.
2) When the acquisition units of the left mouse button and the right mouse button are acceleration sensors:
based on this method, technically we can preset several data ranges first, such as: when the positive direction speed value of the X axis reaches a value which is more than or equal to b meters per second, the moving displacement is used as the basis for judging that the mouse roller rolls downwards when the positive direction speed value of the X axis reaches c which is more than or equal to d meters, when the negative direction speed value of the X axis reaches a value which is more than or equal to b meters, the moving displacement is used as the basis for judging that the mouse roller rolls upwards when the negative direction speed value of the X axis reaches c which is more than or equal to d meters, and the time error. At this time, the spatial coordinates of the acceleration sensor of the left key collection unit or the right key collection unit are as shown in fig. 3. In this case, the acceleration sensor acquires the acceleration and then the velocity value in the corresponding direction can be obtained by integral computation.
The speed values of acceleration sensors in the acquisition units of the left key and the right key of the mouse are simultaneously (technically preset error, such as s is less than or equal to 0.05 second) the positive direction speed value of the X axis reaches the range of a being more than or equal to b m/s, the moved displacement reaches c being more than or equal to d m in the positive direction of the X axis, the acceleration sensor with the minimum moving displacement is taken as a standard at the moment, until the speed value is received again and is less than the value in the range, the acceleration sensor with the minimum moving speed is taken as a standard at the moment, the downward rolling value of the roller function is obtained, the rolling value is determined by the displacement d, and a mapping relation between the d and the rolling distance of the mouse is. Wherein, stepping is carried out to the value of d, if: and d is 0.01 (scroll distance × 1), 0.03 (scroll distance × 2), and 0.05 (scroll distance × 3) to control the scroll distance of the mouse wheel.
The method comprises the steps that speed values of acceleration sensors in acquisition units of a left key and a right key of a mouse are simultaneously (technically preset errors are less than or equal to 0.05 second), the speed value of an X-axis negative direction reaches a range of a being more than or equal to b m/s, the moved displacement reaches c being more than or equal to d m in the X-axis negative direction, an acceleration sensor with the minimum moving displacement is taken as a standard at the moment, until the speed value is received again and is more than the value of the range, the acceleration sensor with the minimum moving velocity is taken as the standard at the moment, an upward rolling value of a roller wheel function is obtained, the rolling value is determined by displacement d, and a mapping relation between d and the rolling distance of the mouse is preset. Wherein, stepping is carried out to the value of d, if: and d is 0.01 (scroll distance × 1), 0.03 (scroll distance × 2), and 0.05 (scroll distance × 3) to control the scroll distance of the mouse wheel.
Because the hand does not roll towards a certain direction like a real mouse roller, the roller can not return to the initial state in the roller operation process, and the operation is reversed with the roller action, so that the misoperation of continuous page turning caused by reverse rolling and continuous quick rolling due to reverse rolling and continuous quick rolling caused by reverse movement of the hand returning to the initial state is avoided, when the rolling function is used, the first rolling direction is used as the execution direction, and the rolling in the opposite direction is forbidden within a certain time interval (such as 0.3 second).
Further, the value of the speed value b may be subjected to a grading operation, for example: when b is 0.2 (scroll distance × 1) and b is 0.3 (scroll distance × 2), the final distance value is the scroll distance of b multiplied by the scroll distance of d, and the higher the obtained value is, the larger the scroll distance is.
In the scrolling scheme, different scrolling distances can be controlled by only changing different angles or different scrolling can be controlled by only changing different angular rates or speeds, and the final target motion can be completed by mapping signals with preset motions according to the spirit of the scheme.
(4) Displacement operation of mouse
In order to realize that the mouse can quickly and correctly enter a cursor control state under any posture. The mouse firstly records the static attitude before entering the motion state, and then calculates the effective control signals in the X, Y and Z directions in the space coordinate by taking the attitude as the reference. For example, the acceleration output from the acceleration sensor in the stationary state is x0、y0、z0And x0 2+y0 2+z0 2=g2Then the mouse enters a motion state to move in the space, and the acceleration output by the acceleration sensor is x1、y1、z1And x1 2+y1 2+z1 2≠g2The effective control signal of the mouse in the X, Y and Z directions, i.e. the acceleration data without the gravity acceleration component, is X2=x1-x0、y2=y1-y0、z2=z1-z0By pairing x2、y2And z2The displacement of the mouse in three directions can be obtained by performing two times of integration.
The method for calculating the mouse displacement signal comprises the following steps: taking the X-axis of the acceleration sensor as an example, suppose a mouseThe initial state of the cursor is stationary, and the mouse moves a distance along the positive direction of the X axis and then is stationary. In the whole process, after the gravity acceleration is removed, the mouse undergoes a process of first accelerating and then decelerating in the positive direction of the X axis. That is, the effective control signal X in the X-axis direction2Time-varying processes. When the sensor measures acceleration at a frequency of once every 10 milliseconds, x at each time point is obtained by calculation2The exact value of the acceleration signal. Velocity is equal to acceleration times time, and the velocity of the mouse at a certain point in time can be found by integrating the acceleration. The displacement is equal to the velocity multiplied by the time, and the displacement data of the mouse in all directions can be obtained by integrating the velocity. And processing the related data output by the sensor to obtain an effective control signal, and performing twice integration to obtain the displacement of the mouse in the X direction. In practical applications, the sampling frequency of the sensor can be increased, so that the accuracy of the integral calculation can be improved. When the sensor confirms to enter the static state again, the speed is cleared.
Further, in the case that the acquisition unit is a three-axis system, the three-axis system is a spatial coordinate system (which may be a terminal device requiring three-dimensional spatial control), and the three-axis system controls the three-axis coordinate system for the displacement information of the three directions.
When the terminal is a plane coordinate, the control method comprises the following steps:
presetting a longitudinal axis of a plane coordinate of a Y-axis control terminal, and determining an X-axis control longitudinal axis and a Z-axis control transverse axis after an X-axis of a mouse body acquisition unit stays for a preset time (if the time is more than 2 seconds) in the gravity direction (technically allowing a certain error); when the Z axis of the mouse body acquisition unit stays for a preset time (for example, more than 2 seconds) in the gravity direction (technically allowable certain error), the Z axis control longitudinal axis is determined, and the X axis control transverse axis is determined. In this case, the longitudinal axis of the terminal coordinate is controlled by two axes of the mouse body acquisition unit, and the calculation method is that the sum of the two axis displacements controls the longitudinal axis of the terminal coordinate together. The switching process of the plane coordinate and the space coordinate is self-adaptive. The X axis is parallel to a plane formed by the fingers and the palms wearing the left and right key acquisition units and is vertical to the direction of the fingers, the Y axis is parallel to a plane formed by the fingers and the palms wearing the left and right key acquisition units and is parallel to the direction of the fingers, and the Z axis is vertical to a plane formed by the fingers and the palms wearing the left and right key acquisition units.
(5) Hand-writing operation of mouse
When the mouse body acquisition unit is in a static state, when the positive direction of the X axis of the acceleration sensor of the mouse body acquisition unit is acquired to be the same as the direction of the gravity acceleration (the same amount of allowable error), the handwriting function is started or disconnected. After the handwriting function is started, the writing is finished through displacement information obtained by data calculation and acquired by an acceleration sensor in a mouse body acquisition unit or a left mouse button acquisition unit or a right mouse button acquisition unit. There are many ways to turn on and off the handwriting function, and as long as the obtained motion change information is the same as the preset motion, that is, the obtained motion change information is the same as the preset motion mapping relationship, the realization of the corresponding function can be completed.
A certain time interval is set for the opening and the disconnection of the handwriting of the mouse, and meanwhile, in order to prevent the hand from being in a state of switching the mouse function all the time when the hand is at rest, the current state of the mouse is locked after a period of continuous switching of the mouse is preset until the mouse is unlocked after the hand is not in the posture of the switch.
According to the embodiment of the invention, the corresponding mouse behavior is generated through the mapping relation between the motion change information obtained by the sensors in the acquisition units worn on the hands of the user according to the hand motions of the user and the preset mouse motions. The method gets rid of the control method of the traditional desktop mouse, not only improves the application range, but also avoids the harm to the human body caused by using the traditional mouse for a long time.
It should be noted that the preset data range can be set by a user.
Example 2
Embodiment 2 of the present invention provides a control device for sensing a mouse, where a flow of the control device is shown in fig. 7, and the control device includes:
and the information acquisition device 201 is used for acquiring the motion change information detected by the left key acquisition unit, the right key acquisition unit and the mouse body acquisition unit and sending the motion change information to the control device.
Wherein, the information acquisition device 201 is specifically configured to:
the motion change information detected by the left key acquisition unit, the right key acquisition unit and the mouse body acquisition unit is acquired every preset time interval, and sensors in the left key acquisition unit, the right key acquisition unit and the mouse body acquisition unit are gyroscopes and/or acceleration sensors.
The information acquisition apparatus 201 includes:
a left key acquisition unit 2011, a right key acquisition unit 2012 and a mouse body acquisition unit 2013.
If the information acquisition device 201 transmits the acquired motion change information in a wireless transmission manner, an information sending subunit 20131 and a power supply subunit 20132 are also required to be arranged in the mouse body acquisition unit 2013.
And the control device 202 is configured to receive the motion change information detected by the left key acquisition unit, the right key acquisition unit and the mouse body acquisition unit, and output corresponding mouse behaviors according to a mapping relationship between the motion change information and a preset mouse action.
Wherein, when left key acquisition unit, right key acquisition unit are the gyroscope, and the acquisition unit of the mouse body is gyroscope and/or acceleration sensor, controlling means 202 includes:
the first click unit 20201 is configured to perform a mouse button pressing operation when the left key acquisition unit and the right key acquisition unit are gyroscopes and the acquisition unit of the mouse body is a gyroscope and/or an acceleration sensor, and perform a button releasing operation when the left key acquisition unit or the right key acquisition unit acquires that an angular rate with the X axis as the axis reaches a first click threshold, so as to complete a first click function;
the first double-click unit 20202 is configured to complete the first single-click function twice within a preset time interval and complete the first double-click function once when the left key acquisition unit and the right key acquisition unit are gyroscopes and the mouse body acquisition unit is a gyroscope and/or an acceleration sensor;
the first dragging unit 20203 is configured to, when the left key acquisition unit and the right key acquisition unit are gyroscopes and the acquisition unit of the mouse body is a gyroscope and/or an acceleration sensor, perform a mouse button pressing operation when the left key acquisition unit or the right key acquisition unit acquires that an angular rate with the X axis as the axis reaches a first click threshold, acquire displacement information of the acceleration sensor in the mouse body acquisition unit in a corresponding direction at this time, move a mouse pointer according to the displacement information, and perform a button releasing operation when the left key acquisition unit or the right key acquisition unit acquires that the angular rate with the X axis as the axis reaches the first release threshold, thereby completing a first dragging function.
Wherein, when left key acquisition unit, right key acquisition unit are the gyroscope, and the acquisition unit of the mouse body is gyroscope and/or acceleration sensor, controlling means 202 includes:
the second click unit 20204 is configured to perform mouse button pressing and releasing operations to complete a second click function once when the left key acquisition unit and the right key acquisition unit are gyroscopes and the acquisition unit of the mouse body is a gyroscope and/or an acceleration sensor and the angular rate obtained by the left key acquisition unit or the right key acquisition unit with the X axis as the axis reaches a second click threshold, where a range of the second click threshold is a subset of the first click threshold;
the second double-click unit 20205 is used for completing the second single-click function twice within a preset time interval and completing a second double-click function once when the left key acquisition unit and the right key acquisition unit are gyroscopes and the mouse body acquisition unit is a gyroscope and/or an acceleration sensor;
the second dragging unit 20206, when the left key collecting unit and the right key collecting unit are gyroscopes and the mouse body collecting unit is a gyroscope and/or an acceleration sensor, when the left key acquisition unit or the right key acquisition unit acquires that the angular rate taking the X axis as the axis reaches a third click threshold value, the operation of pressing down the mouse button is carried out, the displacement information of the acceleration sensor in the mouse body acquisition unit in the corresponding direction is obtained at the moment, the movement of the mouse pointer is carried out according to the displacement information, when the left key acquisition unit or the right key acquisition unit acquires that the angular rate taking the X axis as the axis reaches a first release threshold value, the operation of releasing the key is carried out to complete a first dragging function, and after being combined, the range of the second clicking threshold and the range of the third clicking threshold are the same as the range of the first clicking threshold, and the third clicking threshold is larger than the second clicking threshold.
Wherein, when left key acquisition unit, right key acquisition unit are the gyroscope, and the acquisition unit of the mouse body is gyroscope and/or acceleration sensor, controlling means 202 includes:
the first scrolling unit 20207 is configured to, when the left key acquisition unit and the right key acquisition unit are gyroscopes and the mouse body acquisition unit is a gyroscope and/or an acceleration sensor, complete a first mouse scrolling function when the left key acquisition unit and the right key acquisition unit acquire that an angular rate taking the X axis as the axis reaches a preset scrolling angle rate threshold and/or a rotation angle reaches a preset scrolling angle.
Wherein, when left key acquisition unit and right key acquisition unit are acceleration sensor, the acquisition unit of mouse body is during gyroscope and/or acceleration sensor, controlling means 202 includes:
the third clicking unit 20208 is configured to perform a mouse button pressing operation when the left key acquisition unit and the right key acquisition unit are acceleration sensors and the acquisition unit of the mouse body is a gyroscope and/or an acceleration sensor and the Z-axis acceleration acquired by the left key acquisition unit or the right key acquisition unit reaches a third clicking threshold, and perform a button releasing operation when the Z-axis acceleration acquired by the left key acquisition unit or the right key acquisition unit reaches a second releasing threshold to complete a third clicking function;
the third double-click unit 20209 is configured to complete the third single-click function twice within a preset time interval and complete the third double-click function once when the left key acquisition unit and the right key acquisition unit are acceleration sensors and the mouse body acquisition unit is a gyroscope and/or an acceleration sensor;
the third dragging unit 20210 is configured to, when the left key acquisition unit and the right key acquisition unit are acceleration sensors, and the acquisition unit of the mouse body is a gyroscope and/or an acceleration sensor, perform a mouse button pressing operation when the Z-axis acceleration acquired by the left key acquisition unit or the right key acquisition unit reaches a third click threshold, acquire displacement information of the acceleration sensor in the mouse body acquisition unit in a corresponding direction, move the mouse pointer according to the displacement information, and perform a button releasing operation when the Z-axis acceleration acquired by the left key acquisition unit or the right key acquisition unit reaches a second release threshold, thereby completing a third dragging function.
Wherein, when left key acquisition unit and right key acquisition unit are acceleration sensor, the acquisition unit of mouse body is during gyroscope and/or acceleration sensor, controlling means 202 includes:
the fourth clicking unit 20211 is configured to perform mouse button pressing and releasing operations when the left key acquisition unit and the right key acquisition unit are acceleration sensors and the acquisition unit of the mouse body is a gyroscope and/or an acceleration sensor and the Z-axis acceleration acquired by the left key acquisition unit or the right key acquisition unit reaches a fourth clicking threshold, so as to complete a fourth clicking function for one time, where a range of the fourth clicking threshold is a subset of the third clicking threshold;
the fourth double-click unit 20212 is configured to complete the fourth click function twice within a preset time interval and complete the fourth double-click function once when the left key acquisition unit and the right key acquisition unit are acceleration sensors and the acquisition unit of the mouse body is a gyroscope and/or an acceleration sensor;
a fourth dragging unit 20213, configured to, when the left key collection unit and the right key collection unit are acceleration sensors, and the collection unit of the mouse body is a gyroscope and/or an acceleration sensor, when the Z-axis acceleration acquired by the left key acquisition unit or the right key acquisition unit reaches a fifth click threshold value, the operation of pressing down the mouse button is carried out, the displacement information of the acceleration sensor in the mouse body acquisition unit in the corresponding direction is obtained at the moment, the movement of the mouse pointer is carried out according to the displacement information, when the Z-axis acceleration acquired by the left key acquisition unit or the right key acquisition unit reaches a second release threshold, the operation of releasing the key is carried out to complete a fourth dragging function, and after being merged, the range of the fourth clicking threshold and the range of the fifth clicking threshold are the same as the range of the third clicking threshold, and the fifth clicking threshold is larger than the fourth clicking threshold.
Wherein, when left key acquisition unit and right key acquisition unit are acceleration sensor, the acquisition unit of mouse body is during gyroscope and/or acceleration sensor, controlling means 202 includes:
the fifth clicking unit 20214 is configured to perform mouse button pressing and releasing operations when the left key acquisition unit and the right key acquisition unit are acceleration sensors and the acquisition unit of the mouse body is a gyroscope and/or an acceleration sensor and the Z-axis acceleration acquired by the left key acquisition unit or the right key acquisition unit reaches a third clicking threshold, so as to complete a first fifth clicking function;
the fifth double-click unit 20215 is configured to complete the fifth single-click function twice within a preset time interval and complete the fifth double-click function once when the left key acquisition unit and the right key acquisition unit are acceleration sensors and the mouse body acquisition unit is a gyroscope and/or an acceleration sensor;
the fifth dragging unit 20216 is configured to perform a mouse button pressing operation when the left key collection unit and the right key collection unit are acceleration sensors and the collection unit of the mouse body is a gyroscope and/or an acceleration sensor, and when the left key collection unit or the right key collection unit is in a stationary state and the positive direction of the Z axis of the left key collection unit or the right key collection unit is opposite to the positive direction of the Z axis of the mouse body collection unit, and the acceleration of the Z axis of the right key collection unit or the left key collection unit reaches a third click threshold value, obtain displacement information in a direction corresponding to the acceleration sensor in the mouse body collection unit and move the mouse pointer according to the displacement information, and perform a button releasing operation when the acceleration of the Z axis obtained by the left key collection unit or the right key collection unit reaches a second release threshold value, thereby completing a fifth dragging function.
Wherein, when left key acquisition unit and right key acquisition unit are acceleration sensor, the acquisition unit of mouse body is during gyroscope and/or acceleration sensor, controlling means 202 includes:
and the second scrolling unit 20220 is configured to, when the left key acquisition unit and the right key acquisition unit are acceleration sensors and the acquisition unit of the mouse body is a gyroscope and/or an acceleration sensor, complete a second scrolling function of the mouse when the Z-axis speed acquired by the left key acquisition unit and the Z-axis speed acquired by the right key acquisition unit reach a preset scrolling speed threshold and the displacement reaches a scrolling displacement.
Wherein, when the sensor among left button acquisition unit, right button acquisition unit and the mouse body acquisition unit is acceleration sensor and/or gyroscope, controlling means 202 includes:
the first mouse awakening disconnection unit 20221 is used for awakening or disconnecting the mouse function when the left key acquisition unit and the right key acquisition unit rotate an awakening angle at a preset awakening angle rate within a preset time period by taking the Z axis as an axis;
the first mouse awakening disconnection unit 20222 is used for awakening or disconnecting the mouse function when the positive direction of the Z axis of the left key acquisition unit and the positive direction of the Z axis of the right key acquisition unit are the same as the direction of the gravity acceleration within a preset time period;
the second mouse awakening and disconnecting unit 20223 is used for awakening or disconnecting the mouse function when the positive direction of the Z axis of the mouse body acquisition unit is the same as the direction of the gravity acceleration within a preset time period;
the displacement unit 20224 is configured to obtain displacement information in a corresponding direction through twice integration of the acceleration in the three-axis direction in the space coordinate acquired by the mouse body acquisition unit;
and the handwriting function unit 20225 is used for starting or disconnecting the handwriting function when the positive direction of the X axis of the acceleration sensor acquired by the mouse body acquisition unit is the same as the direction of the gravity acceleration.
In the space coordinate, the X axis is parallel to a plane formed by the fingers and the palms wearing the left and right key acquisition units and is vertical to the direction of the fingers, the Y axis is parallel to a plane formed by the fingers and the palms wearing the left and right key acquisition units and is parallel to the direction of the fingers, and the Z axis is vertical to a plane formed by the fingers and the palms wearing the left and right key acquisition units.
When the terminal of mouse output is the plane coordinate, perception mouse device still includes:
the coordinate adjusting module 203 is used for presetting a longitudinal axis of a plane coordinate of the Y-axis control terminal when the terminal output by the mouse is the plane coordinate, and determining an X-axis control longitudinal axis and a Z-axis control transverse axis after an X-axis of the mouse body acquisition unit stays for a preset time in the gravity direction; after the Z axis of the mouse body acquisition unit stays for a preset time in the gravity direction, determining a Z axis control longitudinal axis and an X axis control transverse axis, controlling the longitudinal axis of the terminal coordinate by two axes of the mouse body acquisition unit, and controlling the longitudinal axis of the terminal coordinate together according to the sum of the displacements of the two axes; the X axis is parallel to a plane formed by fingers and palms wearing the left and right key acquisition units and is perpendicular to the direction of the fingers, the Y axis is parallel to a plane formed by the fingers and palms wearing the left and right key acquisition units and is parallel to the direction of the fingers, and the Z axis is perpendicular to a plane formed by the fingers and palms wearing the left and right key acquisition units.
According to the embodiment of the invention, the corresponding mouse behavior is generated through the mapping relation between the motion change information obtained by the sensors in the acquisition units worn on the hands of the user according to the hand motions of the user and the preset mouse motions. The method gets rid of the control method of the traditional desktop mouse, not only improves the application range, but also avoids the harm to the human body caused by using the traditional mouse for a long time.
The concept and principle of the method of the first embodiment are the same as those of the apparatus of the second embodiment, and therefore the description of the same parts as those in the first embodiment is omitted in the second embodiment.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (10)

1. A control method for sensing a mouse, the method comprising:
the method comprises the steps of obtaining motion change information detected by a left key acquisition unit, a right key acquisition unit and a mouse body acquisition unit, and sending the motion change information to a control device, wherein the left key acquisition unit and the right key acquisition unit are worn on fingers of a user, and the mouse body acquisition unit is worn on the palm of the user;
receiving the motion change information detected by the left key acquisition unit, the right key acquisition unit and the mouse body acquisition unit, and outputting corresponding mouse behaviors according to the mapping relation between the motion change information and preset mouse actions, wherein the mouse behaviors comprise mouse dragging operation and mouse roller operation;
the left key acquisition unit and the right key acquisition unit are gyroscopes, the acquisition unit of the mouse body is a gyroscope and an acceleration sensor, when the angular rate reaches a threshold value, the left key acquisition unit or the right key acquisition unit is used for acquiring displacement information of the corresponding direction of the mouse body acquisition unit and moving a mouse pointer according to the displacement information, and when the angular rate reaches a release threshold value, the left key acquisition unit or the right key acquisition unit is used for releasing the keys to complete a dragging function; the left key acquisition unit and the right key acquisition unit acquire that when the angular rate reaches a preset rolling angular rate threshold and the rotation angle reaches a preset rolling angle, a one-time rolling function of the mouse is completed, the first rolling direction is taken as an execution direction for continuous rolling operation, rolling in the opposite direction is forbidden in a preset time interval, and the rolling behavior of the mouse is effective when the mouse body acquisition unit is in a static state.
2. The method of claim 1, wherein the left key collection unit and the right key collection unit are acceleration sensors, the collection unit of the mouse body is a gyroscope and an acceleration sensor, the left key acquisition unit or the right key acquisition unit is used for acquiring displacement information of the mouse body acquisition unit in the corresponding direction and moving a mouse pointer according to the displacement information when the mouse button pressing operation is performed when the acceleration reaches the click threshold value, when the left key acquisition unit or the right key acquisition unit acquires that the acceleration reaches a release threshold value, the operation of releasing the key is carried out to complete a dragging function, the continuous scrolling operation takes the first scrolling direction as an execution direction, the scrolling in the opposite direction is forbidden to be executed within a preset time interval, and when the mouse body acquisition unit is in a static state, the mouse rolling behavior is effective.
3. The method of claim 1, wherein the left key collection unit and the right key collection unit are acceleration sensors, the mouse body collection unit is a gyroscope and an acceleration sensor, when the positive direction of the Z axis of the left key collection unit or the right key collection unit is opposite to the positive direction of the Z axis of the mouse body collection unit, and when the Z axis acceleration obtained by the right key collection unit or the left key collection unit reaches a click threshold, the mouse key is pressed down, at the moment, displacement information in the direction corresponding to the acceleration sensor in the mouse body collection unit is obtained, the mouse pointer is moved according to the displacement information, when the Z axis acceleration obtained by the left key collection unit or the right key collection unit reaches the release threshold, the key is released, and a dragging function is completed;
the Z axis refers to a direction perpendicular to a plane formed by fingers and palms wearing the left and right key acquisition units.
4. The method according to claim 1, 2 or 3, wherein the mouse actions further include mouse wake-up and break operations, mouse displacement operations, and mouse handwriting operations, and the outputting corresponding mouse actions according to the mapping relationship between the motion change information and preset mouse actions includes:
the left key acquisition unit and the right key acquisition unit take a Z axis as an axis, and when the mouse rotates at a preset awakening angle rate within a preset time period, the mouse function is awakened or disconnected; or
The positive direction of the Z axis of the left key acquisition unit and the positive direction of the Z axis of the right key acquisition unit are the same as the direction of the gravity acceleration within a preset time period, and the mouse function is awakened or disconnected; or,
the positive direction of the Z axis of the mouse body acquisition unit is the same as the direction of the gravity acceleration within a preset time period, and the mouse function is awakened or disconnected;
the positive direction of the X axis of the acceleration sensor acquired by the mouse body acquisition unit is the same as the direction of the gravity acceleration, and the handwriting function is started or disconnected;
the Z axis refers to a direction perpendicular to a plane formed by fingers and palms wearing the left and right key acquisition units.
5. A method according to any one of claims 1-3, wherein the method further comprises:
when a terminal output by the mouse is a plane coordinate, a longitudinal axis of the plane coordinate of the Y-axis control terminal is preset, and when an X-axis of a mouse body acquisition unit stays for a preset time in the gravity direction, the X-axis control longitudinal axis is determined, and a Z-axis control transverse axis is determined; after the Z axis of the mouse body acquisition unit stays for a preset time in the gravity direction, determining a Z axis control longitudinal axis and an X axis control transverse axis, controlling the longitudinal axis of the terminal coordinate by two axes of the mouse body acquisition unit, and controlling the longitudinal axis of the terminal coordinate together according to the sum of the displacements of the two axes; the X axis is parallel to a plane formed by fingers and palms wearing the left and right key acquisition units and is perpendicular to the direction of the fingers, the Y axis is parallel to a plane formed by the fingers and palms wearing the left and right key acquisition units and is parallel to the direction of the fingers, and the Z axis is perpendicular to a plane formed by the fingers and palms wearing the left and right key acquisition units.
6. A mouse aware control apparatus, the apparatus comprising:
the information acquisition device is used for acquiring motion change information detected by the left key acquisition unit, the right key acquisition unit and the mouse body acquisition unit and sending the motion change information to the control device, the left key acquisition unit and the right key acquisition unit are worn on fingers of a user, and the mouse body acquisition unit is worn on the palm of the hand of the user;
the control device is used for receiving the motion change information detected by the left key acquisition unit, the right key acquisition unit and the mouse body acquisition unit and outputting corresponding mouse behaviors according to the mapping relation between the motion change information and preset mouse actions, wherein the mouse behaviors comprise mouse dragging operation and mouse roller operation;
the mouse body dragging system comprises a left key acquisition unit, a right key acquisition unit, a mouse body, a left key button, a right key button, a mouse pointer, a left key button, a right key button and an acceleration sensor, wherein when the left key acquisition unit and the right key button acquisition unit are gyroscopes, the mouse button clicking operation is carried out when the left key acquisition; the left key acquisition unit and the right key acquisition unit acquire that when the angular rate reaches a preset rolling angular rate threshold and the rotation angle reaches a preset rolling angle, a one-time rolling function of the mouse is completed, the first rolling direction is taken as an execution direction for continuous rolling operation, rolling in the opposite direction is forbidden in a preset time interval, and the rolling behavior of the mouse is effective when the mouse body acquisition unit is in a static state.
7. The device of claim 6, wherein the left key collection unit and the right key collection unit are acceleration sensors, when the collection unit of the mouse body is a gyroscope and the acceleration sensor, the left key collection unit or the right key collection unit performs a mouse button pressing operation when the collected acceleration reaches a click threshold value, at this time, displacement information of the mouse body collection unit in a corresponding direction is obtained, and a mouse pointer is moved according to the displacement information, and when the collected acceleration reaches a release threshold value, the left key collection unit or the right key collection unit performs a button releasing operation to complete a dragging function; the continuous scrolling operation takes the first scrolling direction as an execution direction, the scrolling in the opposite direction is forbidden to be executed within a preset time interval, and the mouse scrolling behavior is effective when the mouse body acquisition unit is in a static state.
8. The device of claim 6, wherein the left key collection unit and the right key collection unit are acceleration sensors, the mouse body collection unit is a gyroscope and an acceleration sensor, when the positive direction of the Z axis of the left key collection unit or the right key collection unit is opposite to the positive direction of the Z axis of the mouse body collection unit, and when the Z axis acceleration obtained by the right key collection unit or the left key collection unit reaches a click threshold, the mouse key is pressed down, at the moment, the displacement information of the acceleration sensor in the mouse body collection unit in the corresponding direction is obtained, the mouse pointer is moved according to the displacement information, when the Z axis acceleration obtained by the left key collection unit or the right key collection unit reaches the release threshold, the key is released, and a dragging function is completed;
the Z axis refers to a direction perpendicular to a plane formed by fingers and palms wearing the left and right key acquisition units.
9. The apparatus according to claim 6, 7 or 8, wherein the mouse behavior further comprises a wake-up and disconnect operation of the mouse, a displacement operation of the mouse, a handwriting operation of the mouse, and the control apparatus comprises:
the first mouse awakening disconnection unit is used for awakening or disconnecting the mouse function when the left key acquisition unit and the right key acquisition unit rotate an awakening angle at a preset awakening angle rate within a preset time period by taking a Z axis as an axis; or
The second mouse awakening disconnection unit is used for awakening or disconnecting the mouse function when the positive direction of the Z axis of the left key acquisition unit and the positive direction of the Z axis of the right key acquisition unit are the same as the direction of the gravity acceleration within a preset time period; or
The third mouse awakening and disconnecting unit is used for awakening or disconnecting the mouse function when the positive direction of the Z axis of the mouse body acquisition unit is the same as the direction of the gravity acceleration within a preset time period;
the handwriting function unit is used for starting or disconnecting the handwriting function when the positive direction of the X axis of the acceleration sensor acquired by the mouse body acquisition unit is the same as the direction of the gravity acceleration;
the Z axis is a direction vertical to a plane formed by fingers and palms wearing the left and right key acquisition units;
the X axis is parallel to a plane formed by fingers and palms wearing the left and right key acquisition units and is perpendicular to the direction of the fingers.
10. The apparatus of any one of claims 6-8, wherein the control device further comprises:
the coordinate adjusting module is used for presetting a longitudinal axis of a plane coordinate of the Y-axis control terminal when the terminal output by the mouse is the plane coordinate, and determining an X-axis control longitudinal axis and a Z-axis control transverse axis after an X-axis of the mouse body acquisition unit stays for a preset time in the gravity direction; after the Z axis of the mouse body acquisition unit stays for a preset time in the gravity direction, determining a Z axis control longitudinal axis and an X axis control transverse axis, controlling the longitudinal axis of the terminal coordinate by two axes of the mouse body acquisition unit, and controlling the longitudinal axis of the terminal coordinate together according to the sum of the displacements of the two axes; the X axis is parallel to a plane formed by fingers and palms wearing the left and right key acquisition units and is perpendicular to the direction of the fingers, the Y axis is parallel to a plane formed by the fingers and palms wearing the left and right key acquisition units and is parallel to the direction of the fingers, and the Z axis is perpendicular to a plane formed by the fingers and palms wearing the left and right key acquisition units.
CN201110299532.6A 2011-10-08 2011-10-08 The control method and device of a kind of sensitive mouse Active CN103034343B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110299532.6A CN103034343B (en) 2011-10-08 2011-10-08 The control method and device of a kind of sensitive mouse

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110299532.6A CN103034343B (en) 2011-10-08 2011-10-08 The control method and device of a kind of sensitive mouse

Publications (2)

Publication Number Publication Date
CN103034343A CN103034343A (en) 2013-04-10
CN103034343B true CN103034343B (en) 2018-05-25

Family

ID=48021302

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110299532.6A Active CN103034343B (en) 2011-10-08 2011-10-08 The control method and device of a kind of sensitive mouse

Country Status (1)

Country Link
CN (1) CN103034343B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016033762A1 (en) * 2014-09-03 2016-03-10 北京行云时空科技有限公司 Somatosensory control system and method
CN105183340B (en) * 2015-08-04 2018-06-26 网易(杭州)网络有限公司 Touch control operation identifies and response method, device and game control method, device
CN105159573B (en) * 2015-08-04 2018-06-26 网易(杭州)网络有限公司 Touch control operation identifies and response method, device and game control method, device
CN105975075A (en) * 2016-05-09 2016-09-28 深圳智华科技发展有限公司 Operation system and method for replacing computer mouse by operating through gesture posture identification
CN106227369A (en) * 2016-08-31 2016-12-14 成都市和平科技有限责任公司 A kind of wireless security mouse system based on micro-acceleration sensor and operation method
CN106802728A (en) * 2017-01-06 2017-06-06 南京理工大学 A kind of hand mouse based on radio communication
CN106896941B (en) * 2017-03-02 2020-11-06 京东方科技集团股份有限公司 Wearable device, control method thereof and display terminal
CN112635017B (en) * 2020-12-25 2022-09-20 歌尔光学科技有限公司 Finger and wrist fatigue reminding method, wearable device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1734407A (en) * 2004-08-11 2006-02-15 幸贺股份有限公司 Displacement signal input apparatus and signal generation mode thereof
CN101387926A (en) * 2007-09-14 2009-03-18 林金鸿 Multi-axis remote control or arm control apparatus and method
CN101825957A (en) * 2009-03-02 2010-09-08 南京芒冠光电科技有限公司 Gesture control mouse

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030006962A1 (en) * 2001-07-06 2003-01-09 Bajramovic Mark B. Computer mouse on a glove
CN102023731B (en) * 2010-12-31 2012-08-29 北京邮电大学 Wireless tiny finger-ring mouse suitable for mobile terminal
CN102063183A (en) * 2011-02-12 2011-05-18 深圳市亿思达显示科技有限公司 Virtual input device of grove type

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1734407A (en) * 2004-08-11 2006-02-15 幸贺股份有限公司 Displacement signal input apparatus and signal generation mode thereof
CN101387926A (en) * 2007-09-14 2009-03-18 林金鸿 Multi-axis remote control or arm control apparatus and method
CN101825957A (en) * 2009-03-02 2010-09-08 南京芒冠光电科技有限公司 Gesture control mouse

Also Published As

Publication number Publication date
CN103034343A (en) 2013-04-10

Similar Documents

Publication Publication Date Title
CN103034343B (en) The control method and device of a kind of sensitive mouse
KR100630806B1 (en) Command input method using motion recognition device
US10042438B2 (en) Systems and methods for text entry
KR101302138B1 (en) Apparatus for user interface based on wearable computing environment and method thereof
US20150220158A1 (en) Methods and Apparatus for Mapping of Arbitrary Human Motion Within an Arbitrary Space Bounded by a User&#39;s Range of Motion
US10775946B2 (en) Universal handheld controller of a computer system
US20150077336A1 (en) Methods and Apparatus for Using the Human Body as an Input Device
JP2010108500A (en) User interface device for wearable computing environmental base, and method therefor
EP3441849A1 (en) Pointing input device for personal computer based on fingers &#39; movements
US11054923B2 (en) Automatic switching between different modes of tracking user motions to control computer applications
CN107272892B (en) Virtual touch system, method and device
US10725550B2 (en) Methods and apparatus for recognition of a plurality of gestures using roll pitch yaw data
KR102297473B1 (en) Apparatus and method for providing touch inputs by using human body
US10303272B2 (en) Touch sensitive electronic system, processing apparatus and method thereof for simulating stylus as joystick
US10338678B2 (en) Methods and apparatus for recognition of start and/or stop portions of a gesture using an auxiliary sensor
CN103294226B (en) A kind of virtual input device and method
WO2021055133A1 (en) Orientation determination based on both images and inertial measurement units
US20150211839A1 (en) Input device with hybrid tracking
CN113721764B (en) Man-machine interaction system based on IMU and control and evaluation method
US20150301610A1 (en) Methods and Apparatus Recognition of Start and/or Stop Portions of a Gesture Using Relative Coordinate System Boundaries
CN105302451A (en) Gesture input device
CN102135794A (en) Metacarpophalangeal interactive change 3D (three-dimensional) wireless mouse
KR101064265B1 (en) Information input device and method from three-dimensional space
TW202405621A (en) System and method for remotely controlling extended reality by virtual mouse
KR20120037739A (en) User interface device and method based on hand gesture recognition

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant