[go: up one dir, main page]

CN113721777A - Control method and device of mouse pointer, electronic equipment and storage medium - Google Patents

Control method and device of mouse pointer, electronic equipment and storage medium Download PDF

Info

Publication number
CN113721777A
CN113721777A CN202111048938.7A CN202111048938A CN113721777A CN 113721777 A CN113721777 A CN 113721777A CN 202111048938 A CN202111048938 A CN 202111048938A CN 113721777 A CN113721777 A CN 113721777A
Authority
CN
China
Prior art keywords
page turning
turning pen
moving range
moving
mouse pointer
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.)
Granted
Application number
CN202111048938.7A
Other languages
Chinese (zh)
Other versions
CN113721777B (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.)
Deli Group Co Ltd
Original Assignee
Deli Group Co Ltd
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 Deli Group Co Ltd filed Critical Deli Group Co Ltd
Priority to CN202111048938.7A priority Critical patent/CN113721777B/en
Publication of CN113721777A publication Critical patent/CN113721777A/en
Application granted granted Critical
Publication of CN113721777B publication Critical patent/CN113721777B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0354Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of 2D relative movements between the device, or an operating part thereof, and a plane or surface, e.g. 2D mice, trackballs, pens or pucks
    • G06F3/03543Mice or pucks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0354Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of 2D relative movements between the device, or an operating part thereof, and a plane or surface, e.g. 2D mice, trackballs, pens or pucks
    • G06F3/03545Pens or stylus

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Position Input By Displaying (AREA)

Abstract

The embodiment of the invention discloses a method and a device for controlling a mouse pointer, electronic equipment and a storage medium. Wherein, the method comprises the following steps: determining the relative direction of a target when a page turning pen faces a boundary point of a preset moving range on a screen; judging whether the page turning pen is positioned outside the moving range or not according to the relative direction of the target and the current relative direction of the page turning pen in the moving process; if so, controlling the mouse pointer to be positioned at the boundary of the moving range, and determining a virtual moving route of the mouse pointer outside the moving range according to the actual moving route of the page turning pen outside the moving range; and judging whether the virtual moving route returns to the moving range, if so, controlling the mouse pointer to move in the moving range according to the actual moving route of the page turning pen in the moving range. Through presetting the moving range, when the page turning pen moves outside the moving range, the mouse pointer in the screen also moves, and the control precision of the mouse pointer is improved.

Description

Control method and device of mouse pointer, electronic equipment and storage medium
Technical Field
The present invention relates to computer technologies, and in particular, to a method and an apparatus for controlling a mouse pointer, an electronic device, and a storage medium.
Background
When documents such as courseware and the like are projected, the mouse pointer can be subjected to space control through the digital page turning pen, the gyroscope is arranged in the digital page turning pen, the spatial state of the page turning pen can be detected through the gyroscope, the position of the page turning pen is calculated, and the position of the mouse pointer is correspondingly controlled.
In the prior art, after the pointing direction of the digital page turning pen exceeds the edge of the screen, the mouse pointer is clamped at the edge of the screen, and the position corresponding relation between the digital page turning pen and the mouse pointer is damaged. When the digital page turning pen returns to the edge of the screen from the outside of the screen, the mouse pointer moves from the edge of the screen, and when the digital page turning pen returns to the edge of the screen, the mouse pointer is already positioned in the middle of the screen or at the bottom of the screen. The difference between the pen head direction of the digital page turning pen and the position of the mouse pointer is large, and the accurate control of the mouse pointer cannot be realized.
Disclosure of Invention
The embodiment of the invention provides a method and a device for controlling a mouse pointer, electronic equipment and a storage medium, which are used for improving the control precision of the mouse pointer.
In a first aspect, an embodiment of the present invention provides a method for controlling a mouse pointer, where the method includes:
determining the relative direction of a target when a page turning pen faces a boundary point of a preset moving range on a screen;
judging whether the page turning pen is positioned outside a moving range or not according to the relative position of the target and the current relative position of the page turning pen in the moving process;
if so, controlling a mouse pointer to be located at the boundary of the moving range, and determining a virtual moving route of the mouse pointer outside the moving range according to the actual moving route of the page turning pen outside the moving range;
and judging whether the virtual moving route returns to the moving range, if so, controlling the mouse pointer to move in the moving range according to the actual moving route of the page turning pen in the moving range.
In a second aspect, an embodiment of the present invention further provides a device for controlling a mouse pointer, where the device includes:
the target direction determining module is used for determining the relative direction of a target when the page turning pen faces to a boundary point of a preset moving range on a screen;
the moving range judging module is used for judging whether the page turning pen is positioned outside the moving range according to the relative direction of the target and the current relative direction of the page turning pen in the moving process;
the virtual route determining module is used for controlling a mouse pointer to be located at the boundary of a moving range if the virtual route determining module is used, and determining the virtual moving route of the mouse pointer outside the moving range according to the actual moving route of the page turning pen outside the moving range;
and the mouse pointer moving module is used for judging whether the virtual moving route returns to the moving range, and if so, controlling the mouse pointer to move in the moving range according to the actual moving route of the page turning pen in the moving range.
In a third aspect, an embodiment of the present invention further provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the method for controlling a mouse pointer according to any embodiment of the present invention when executing the computer program.
In a fourth aspect, the present invention further provides a storage medium containing computer-executable instructions, which when executed by a computer processor, are used for executing the method for controlling a mouse pointer according to any embodiment of the present invention.
According to the embodiment of the invention, the relative direction of the target when the page turning pen faces the boundary point is determined, the range of the relative direction of the page turning pen in the preset moving range is determined, and whether the page turning pen exceeds the preset moving range can be judged according to the current relative direction and the relative direction of the target. If so, enabling the mouse pointer to be located at the position of the boundary, and continuously calculating the virtual moving route of the mouse pointer outside the moving range, namely considering that the mouse pointer moves along with the page turning pen outside the moving range. After the page turning pen returns to the moving range, the mouse pointer can continuously move in the moving range along with the page turning pen. The problem of in the prior art, after the page turning pen surpassed the moving range, the mouse pointer was disconnected with the page turning pen's problem is solved, realize the real-time control to the mouse pointer, avoid the page turning pen after returning to the moving range, the condition that the mouse pointer can't correspond to the directional position of page turning pen takes place, improves the control accuracy of mouse pointer.
Drawings
FIG. 1 is a flowchart illustrating a method for controlling a mouse pointer according to a first embodiment of the present invention;
FIG. 2 is a schematic diagram of a page turning pen pointing in a three-dimensional space according to a first embodiment of the present invention;
FIG. 3 is a flowchart illustrating a method for controlling a mouse pointer according to a second embodiment of the present invention;
FIG. 4 is a block diagram of a control device for a mouse pointer according to a third embodiment of the present invention;
fig. 5 is a schematic structural diagram of a control device of a mouse pointer in a fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart illustrating a method for controlling a mouse pointer according to an embodiment of the present invention, where the method is applicable to a case where a page turning pen is used to control the mouse pointer, and the method can be executed by a control device of the mouse pointer. As shown in fig. 1, the method specifically includes the following steps:
and step 110, determining the relative position of the target when the page turning pen faces to the boundary point of the preset moving range on the screen.
The page turning pen is a digital page turning pen and can control a mouse pointer on a screen to move in an air-isolated mode, and the control of the mouse pointer by the page turning pen can be determined by the pen point state of the page turning pen. Before the page turning pen is used, the page turning pen is powered on and is bound with a computer. A user holds the page turning pen in a hand mode, and a pen point of the page turning pen faces to a preset boundary point on a screen. The range of the screen may be preset as a movement range in which the mouse pointer is movable, and the boundary points may be four vertices of the screen. And respectively pointing the page turning pen to four vertexes of the screen, and determining the relative position between the page turning pen and the screen when the page turning pen faces to the boundary point as the target relative position. The relative orientation may refer to an angle between the page turning pen and the boundary point, for example, a horizontal direction may be taken as an X axis, a direction perpendicular to the screen may be taken as a Y axis, and a vertical direction may be taken as a Z axis, so that a three-dimensional angle between the page turning pen and the screen when pointing to the boundary point may be obtained as the target relative orientation. After the page turning pen is bound with a computer, the single chip microcomputer can collect output voltage signals of a gyroscope arranged in the page turning pen, the space state of the page turning pen is calculated, and the initial point of a mouse pointer is output. An initial point may also be set in advance, for example, a midpoint of the screen as the initial point. And rotating the page turning pen from the initial pointing point to the boundary pointing point by taking the initial page turning pen facing the initial point as an initial angle, wherein the obtained three-dimensional rotation angle is the three-dimensional angle between the page turning pen and the screen when the page turning pen points to the boundary point, and is the target relative direction.
In this embodiment, optionally, determining the relative position of the target when the page turning pen faces the boundary point of the preset movement range on the screen includes: responding to a range determination instruction sent by a page turning pen towards a boundary point of a preset moving range on a screen, and determining a target output voltage signal when the page turning pen faces the boundary point; and determining the relative position of the target when the page turning pen faces the boundary point according to the target output voltage signal.
Specifically, the user holds the page turning pen to face the pen point to the screen. The pen point of the page turning pen is opposite to the boundary point of the preset movement range on the screen, the preset movement range can be the range of the screen, and the boundary point can be the top points of four corners of the screen. After the pen point is aligned with one boundary point, a user sends a range determining instruction through the page turning pen, and after the range determining instruction is sent to all four boundary points, the moving range of the mouse pointer which can move is determined, namely the page turning pen can only control the mouse pointer to move in a quadrangle formed by the four boundary points.
And after responding to the range determination instruction, acquiring an output voltage signal of a gyroscope in the page turning pen as a target output voltage signal. The target output voltage signal is a voltage signal output when the page turning pen faces the boundary point. The page turning pen can calculate the relative orientation between the page turning pen and the screen according to the output voltage signal, namely the target relative orientation when the page turning pen faces the boundary point is obtained, wherein the target relative orientation is the three-dimensional rotation angle when the pen point of the page turning pen points to the boundary point, and for example, the angle between the page turning pen and the screen plane, the angle between the page turning pen and the horizontal ground and the angle between the page turning pen and the vertical plane can be obtained. The method has the advantages that the target output signal when the page turning pen points to the boundary point is determined, so that the relative position of the target is determined, and the moving range of the mouse pointer is determined according to the relative position of the target. That is, the movement range of the mouse pointer on the screen may be determined before the flipper pen is used formally, and whether the flipper pen points out of the movement range may be determined in real time. And recording a target output voltage signal and a target relative direction of the gyroscope, storing the target output voltage signal and the target relative direction as boundary information of a screen, and improving the determination precision of the moving range and further improving the control precision of a mouse pointer.
And step 120, judging whether the page turning pen is positioned outside the moving range according to the relative direction of the target and the current relative direction of the page turning pen in the moving process.
The pen point of the page turning pen faces the screen and rotates around X, Y and the Z axis, and the mouse pointer is controlled to move correspondingly on the screen. In the moving process of the page turning pen, the current relative direction between the page turning pen and the screen can be obtained in real time. According to the current relative position and the target relative position, whether the page turning pen controls the mouse pointer to reach the boundary of the moving range can be determined, namely whether the page turning pen points to a position outside the screen moving range can be determined. For example, whether the current relative orientation is consistent with the target relative orientation may be determined, and if so, it may be determined that the page turning pen is facing the boundary point of the moving range. And if the current relative range is consistent with the relative direction of the page turning pen towards the boundary line of the moving range, the page turning pen can be judged to face the boundary line of the moving range.
In this embodiment, optionally, determining whether the page turning pen is located outside the moving range according to the relative position of the target and the current relative position of the page turning pen in the moving process includes: acquiring a current output voltage signal of the page turning pen in the moving process, and determining a current relative position according to the current output voltage signal; and comparing the relative orientation of the target with the current relative orientation, and determining whether the orientation of the page turning pen is out of the moving range according to the comparison result.
Specifically, the data that the page turning pen can directly output is not the current relative orientation, but the current output voltage of the gyroscope, and the current relative orientation can be calculated according to the current output voltage. The current relative orientation may be the current rotation angle between the page turning pen and the X axis, the Y axis and the Z axis, or may be represented by the projection of the vector in the direction pointed by the page turning pen on the XZ plane, the YZ plane and the XY plane. The relative orientation of the target may also be represented by the projection of the angle or vector of the flipper pen to the three axes onto the three planes. Comparing the target relative orientation with the current relative orientation, wherein the target relative orientation is a condition for determining whether the page turning pen points out of the moving range, and according to the comparison result, determining whether the current relative orientation meets the condition for pointing out of the moving range, if so, determining that the pen point of the page turning pen points out of the moving range; if not, the direction of the page turning pen is still determined to be within the moving range. The mouse pointer control method has the advantages that the current relative position of the page turning pen can be determined in real time, whether the direction of the page turning pen exceeds the moving range or not is judged in time, the mouse pointer can be controlled continuously under the condition that the direction of the page turning pen exceeds the moving range, disconnection between the page turning pen and the mouse is avoided, and control precision of the mouse pointer is improved.
In this embodiment, optionally, comparing the relative position of the target with the current relative position, and determining whether the orientation of the page turning pen is outside the moving range according to the comparison result, includes: determining a current three-dimensional rotation angle of the page turning pen in the current relative direction and a target three-dimensional rotation angle of the page turning pen in the target relative direction; comparing the current three-dimensional rotation angle with the target three-dimensional rotation angle, and judging whether the current three-dimensional rotation angle is larger than the target three-dimensional rotation angle; if yes, determining that the orientation of the page turning pen is out of the moving range.
Specifically, the relative orientation may be a rotation angle of the page turning pen around the X-axis, the Y-axis, and the Z-axis as a three-dimensional rotation angle. The three-dimensional rotation angle of the pen point of the page turning pen can be changed continuously in the moving process. And determining a three-dimensional rotation angle of the target relative to the direction, and determining the three-dimensional rotation angle range when the page turning pen points to any point on the boundary line according to the three-dimensional rotation angle of the target. For example, the page turning pen points to the upper boundary of the screen, and the mouse pointer is controlled to move on the upper boundary line, so that the three-dimensional rotation angle between the page turning pen and any point on the upper boundary line is located between the target three-dimensional rotation angles of two vertexes of the upper boundary of the screen. That is, the relative position of the page turning pen when pointing to the boundary line can be determined according to the relative positions of the target at the four points. In the moving process of the page turning pen, if the current relative position calculated by the page turning pen is consistent with the target relative position, namely the current three-dimensional rotation angle of the page turning pen in the current relative position is consistent with the target three-dimensional rotation angle of the page turning pen in the target relative position, the situation that the page turning pen controls the mouse pointer to reach the boundary point of the moving range can be determined. And if the current relative position is consistent with the relative position when the current relative position points to the boundary line, namely the current three-dimensional rotation angle is consistent with the three-dimensional rotation angle when the current three-dimensional rotation angle points to the boundary line, determining that the current relative position of the page turning pen meets the condition of pointing to the boundary line, and determining that the page turning pen points to the boundary line. And if the current three-dimensional rotation angle is larger than the target three-dimensional rotation angle or the range of the three-dimensional rotation angle when the current three-dimensional rotation exceeds any point on the pointing boundary line, determining that the pointing direction of the page turning pen is positioned outside the moving range. The mouse pointer positioning method has the advantages that whether the page turning pen points out of the moving range can be timely and accurately judged, the virtual moving route of the mouse pointer out of the moving range can be conveniently determined, the page turning pen is prevented from being disconnected with the mouse, and the control precision of the mouse pointer is improved.
And step 130, if so, controlling the mouse pointer to be positioned at the boundary of the moving range, and determining the virtual moving route of the mouse pointer outside the moving range according to the actual moving route of the page turning pen outside the moving range.
And if the page turning pen is determined to face the moving range, namely the outside of the screen, the mouse pointer is controlled to be positioned at the boundary of the moving range. The direction of the page turning pen moves outside the moving range, and the actual moving route of the page turning pen can be calculated through sensors such as a gyroscope, an accelerometer and the like arranged in the page turning pen. The page turning pen may have a 6-axis sensor built in, and the 6-axis sensor may include a 3-axis gyroscope and a 3-axis accelerometer. According to the actual moving route of the page turning pen, the virtual moving route of the mouse pointer can be determined. The virtual moving route of the mouse pointer can be consistent with the actual moving route of the page turning pen, or the virtual moving route of the mouse pointer can be consistent with the route projected by the actual moving route on the screen plane, but the mouse pointer does not actually move. The virtual movement route is an assumed movement route of the mouse pointer along with the movement of the page flipper outside the movement range.
In this embodiment, optionally, determining a virtual moving route of the mouse pointer outside the moving range according to the actual moving route of the page turning pen outside the moving range includes: determining the rotation angle change rate of the page turning pen around X, Y and the Z axis and the acceleration value of the page turning pen in the X, Y and Z axis directions according to the actual moving route of the page turning pen outside the moving range; and determining a virtual moving route of the mouse pointer outside the moving range according to the rotation angle change rate and the acceleration value.
Specifically, the gyroscope arranged in the translation pen can determine the rotation angle change rate of the page turning pen around X, Y and the Z axis in the moving process of the translation pen, and the accelerometer arranged in the page turning pen can determine the acceleration values of the page turning pen in the X, Y and Z axis directions in the moving process of the translation pen. The speed value of the page turning pen can be obtained by integrating the acceleration value for the first time, and the displacement value of the page turning pen can be obtained by integrating the acceleration value for the second time. And determining the rotation direction and the movement displacement of the page turning pen device according to the rotation angle change rate and the displacement value, so as to obtain the change of the page turning pen device in the space state, and determining the virtual movement route of the mouse pointer outside the movement range according to the connection between the page turning pen and the mouse pointer. FIG. 2 is a schematic diagram of the direction of the page turning pen in a three-dimensional space according to the embodiment of the present invention. In fig. 2, the horizontal direction is taken as the X axis, the direction perpendicular to the screen is taken as the Y axis, and the vertical direction is taken as the Z axis. R is a vector pointed by the pen point of the page turning pen, Rxz is a projection of an inertia force vector R on an XZ plane, and Ryz is a projection of the inertia force vector R on a YZ plane. Axz is the angle formed by Rxz and Z axis, and Ayz is the angle formed by Ryz and Z axis.
The rate of change of the angle of rotation of the flipper about X, Y and the Z axis can be determined according to the following formula:
Figure BDA0003252128730000091
wherein, RateAxz is the rotation angle change rate of the gyroscope in the page turning pen around the Y axis, RateAyz is the rotation angle change rate of the gyroscope around the X axis, and RateAxy is the rotation angle change rate of the gyroscope around the Z axis. AdcGyroXZ, AdcGyroYZ and AdcGyroXY are all the collected data of an ADC (Analog to Digital Converter), and AdcGyroXZ represents the rotation angle of the projection of the vector R in the XZ plane, AdcGyroYZ represents the rotation angle of the projection of the vector R in the YZ plane, and AdcGyroXY represents the rotation angle of the projection of the vector R in the XY plane. Vref is the reference voltage of the ADC, and the value is determined by the model of the ADC, which may be 3.3V, for example. α is a preset parameter and may be 1023 or 1024. VzeroRate is a static voltage and refers to the output value of the gyroscope without any rotational influence. Sensitivity is the Sensitivity of the gyroscope. After the gyroscope has an initial position, the rotation change rate around X, Y and the Z axis is determined, and the rotation change rate is integrated to form a three-dimensional rotation angle, so that the gyroscope can sense the angle change of the page turning pen device in three directions in space.
The acceleration values of the flipper pen in the X, Y and Z directions can be determined according to the following formula:
Figure BDA0003252128730000101
wherein Rx is the acceleration value of the page turning pen in the X-axis direction, Ry is the acceleration value in the Y-axis direction, and Rz is the acceleration value in the Z-axis direction. AdcRx is the sample value of the ADC on the X-axis, AdcRy is the sample value of the ADC on the Y-axis, and AdcRz is the sample value of the ADC on the Z-axis. VzeroG is the sampling voltage value of the ADC when the acceleration is 0, and Sensitivity' is the Sensitivity of the accelerometer, and can be obtained through query. After the accelerations in 3 directions are obtained, the velocity value can be obtained through the first integration, and the displacement value can be obtained through the second integration.
According to the rotation angles and the displacement values of the page turning pen in three directions, the moving route of the mouse pointer can be controlled, and the virtual moving route of the mouse pointer can be obtained because the mouse pointer cannot actually move outside the moving range. Through the built-in 6 sensors, the rotation direction and the movement displacement of the page turning pen can be sensed, the change of the page turning pen in a space state can be sensed, the determination precision of a virtual movement route is improved, the page turning pen is guaranteed to be always connected with a mouse, the situation that the mouse pointer cannot be accurately controlled after the page turning pen returns to the movement range is avoided, and the control precision of the mouse pointer is improved.
And 140, judging whether the virtual moving route returns to the moving range, if so, controlling the mouse pointer to move in the moving range according to the actual moving route of the page turning pen in the moving range.
During the moving process of the page turning pen, whether the direction of the page turning pen returns to the moving range or not is judged in real time, namely whether the virtual moving route of the mouse pointer returns to the moving range or not is judged. If so, determining the actual moving route of the page turning pen in the moving range, and controlling the mouse pointer to move in the moving range according to the actual moving route.
In this embodiment, optionally, controlling the mouse pointer to move within the movement range according to the actual movement route of the page turning pen within the movement range includes: determining the current moving route of the mouse pointer in the moving range according to the actual moving route of the page turning pen in the moving range; and controlling the mouse pointer to move in the moving range according to the current moving route.
Specifically, whether the page turning pen points out of the moving range or in the moving range, the moving route of the mouse pointer is determined according to the actual moving route of the page turning pen. The rate of change of the angle of rotation of the flipper about X, Y and the Z axis, and the acceleration of the flipper in the X, Y and Z directions can be determined by a 6-axis sensor built into the flipper. And determining the rotation angle change of the page turning pen in three directions in space according to the rotation angle change rate. And determining the displacement of the page turning pen on three planes according to the acceleration value. According to the change and the displacement of the rotation angle, the current moving route of the mouse pointer on the screen can be determined, and the mouse pointer is controlled to move according to the current moving route. The mouse pointer calculation method has the advantages that no matter whether the page turning pen exceeds the moving range or not, the calculation method of the moving route of the mouse pointer is unchanged, the page turning pen is always kept in contact with the mouse pointer, and the mouse pointer can quickly correspond to the pointing position of the page turning pen after the page turning pen returns to the moving range. For example, when the page flipping pen moves to the upper boundary of the screen outside the upper boundary of the screen, the virtual mouse pointer moves downward along the virtual movement route without moving from the actual upper boundary of the screen to the lower boundary, improving the control accuracy of the mouse pointer.
According to the technical scheme of the embodiment, the range of the relative position of the page turning pen in the preset moving range is determined by determining the relative position of the target when the page turning pen faces the boundary point, and whether the page turning pen exceeds the preset moving range can be judged according to the current relative position and the relative position of the target. If so, enabling the mouse pointer to be located at the position of the boundary, and continuously calculating the virtual moving route of the mouse pointer outside the moving range, namely considering that the mouse pointer moves along with the page turning pen outside the moving range. After the page turning pen returns to the moving range, the mouse pointer can continuously move in the moving range along with the page turning pen. The problem of in the prior art, after the page turning pen surpassed the moving range, the mouse pointer was disconnected with the page turning pen's problem is solved, realize the real-time control to the mouse pointer, avoid the page turning pen after returning to the moving range, the condition that the mouse pointer can't correspond to the directional position of page turning pen takes place, improves the control accuracy of mouse pointer.
Example two
Fig. 3 is a flowchart illustrating a method for controlling a mouse pointer according to a second embodiment of the present invention, which is further optimized based on the second embodiment. As shown in fig. 3, the method specifically includes the following steps:
and 310, determining the relative direction of the target when the page turning pen faces to the boundary point of the preset moving range on the screen.
And step 320, judging whether the page turning pen is positioned outside the moving range according to the relative direction of the target and the current relative direction of the page turning pen in the moving process.
And 330, if the page turning pen is not positioned outside the moving range, controlling the mouse pointer to move in the moving range according to the actual moving route of the page turning pen in the moving range.
If the pen point of the page turning pen is always in the moving range, the mouse pointer can be controlled to move along with the movement of the page turning pen, namely the mouse pointer can be controlled to move in the moving range according to the actual moving route of the page turning pen in the moving range. The rate of change of the angle of rotation of the flipper about X, Y and the Z axis, and the acceleration of the flipper in the X, Y and Z directions can be determined by a 6-axis sensor built into the flipper. And determining the three-dimensional total rotation angle according to the rotation angle change rate of the page turning pen around X, Y and the Z axis, namely, a 3-axis gyroscope in the page turning pen can sense the rotation angle change of the page turning pen in three directions in space. According to the acceleration values of the page turning pen in the X, Y and Z-axis directions, the displacement value of the page turning pen can be obtained. And determining the moving route of the mouse pointer on the screen according to the change of the rotation angle and the displacement value, and realizing the real-time control of the mouse pointer.
In this embodiment, whether the page turning pen exceeds the moving range is detected in real time, and only when the page turning pen does not exceed the moving range, the mouse pointer moves along with the page turning pen. The actual movement path of the mouse pointer on the screen may be calculated in the same manner as the virtual movement path. When the page turning pen exceeds the moving range, the mouse pointer is supposed to perform virtual movement outside the moving range, and actually the mouse pointer is always located at the boundary of the moving range, and when the page turning pen returns to the boundary of the moving range again and moves into the moving range, the mouse pointer on the screen can perform actual movement according to the page turning pen. In addition, in the embodiment, the hardware of the page turning pen is not different from that of the existing page turning pen, so that the cost is effectively saved, and the pointing experience of the digital page turning pen is improved.
According to the embodiment of the invention, the relative direction of the target when the page turning pen faces the boundary point is determined, the range of the relative direction of the page turning pen in the preset moving range is determined, and whether the page turning pen exceeds the preset moving range can be judged according to the current relative direction and the relative direction of the target. If not, the mouse pointer can move in the moving range along with the page turning pen continuously. The mouse pointer detection method has the advantages that real-time detection of the screen boundary is achieved, the mouse pointer is controlled in real time, the mouse can be controlled to move only when the page turning pen is in the moving range, the mouse pointer corresponds to the page turning pen in the moving range, and control accuracy of the mouse pointer is improved.
EXAMPLE III
Fig. 4 is a block diagram of a control device for a mouse pointer according to a third embodiment of the present invention, which is capable of executing a control method for a mouse pointer according to any embodiment of the present invention, and has functional modules and beneficial effects corresponding to the execution method. As shown in fig. 4, the apparatus specifically includes:
the target direction determining module 401 is configured to determine a relative direction of a target when the page turning pen faces a boundary point of a preset moving range on a screen;
a moving range determining module 402, configured to determine whether the page turning pen is located outside a moving range according to the target relative position and a current relative position of the page turning pen in the moving process;
a virtual route determining module 403, configured to control a mouse pointer to be located at a boundary of a moving range if the virtual route is determined, and determine a virtual moving route of the mouse pointer outside the moving range according to an actual moving route of the page turning pen outside the moving range;
and a mouse pointer moving module 404, configured to determine whether the virtual moving route returns to the moving range, and if so, control the mouse pointer to move within the moving range according to the actual moving route of the page turning pen within the moving range.
Optionally, the target location determining module 401 includes:
the target output voltage determining unit is used for responding to a range determining instruction sent by the page turning pen towards a boundary point of a preset moving range on the screen and determining a target output voltage signal when the page turning pen faces the boundary point;
and the target relative orientation determining unit is used for determining the target relative orientation when the page turning pen faces the boundary point according to the target output voltage signal.
Optionally, the moving range determining module 402 includes:
the current relative orientation determining unit is used for acquiring a current output voltage signal of the page turning pen in the moving process and determining a current relative orientation according to the current output voltage signal;
and the relative orientation comparing unit is used for comparing the target relative orientation with the current relative orientation and determining whether the orientation of the page turning pen is out of the moving range according to a comparison result.
Optionally, the relative orientation comparing unit is specifically configured to:
determining a current three-dimensional rotation angle of the page turning pen in the current relative direction and a target three-dimensional rotation angle of the page turning pen in the target relative direction;
comparing the current three-dimensional rotation angle with a target three-dimensional rotation angle, and judging whether the current three-dimensional rotation angle is larger than the target three-dimensional rotation angle;
and if so, determining that the orientation of the page turning pen is out of the moving range.
Optionally, the apparatus further comprises:
and the mouse pointer control module is used for controlling the mouse pointer to move in the moving range according to the actual moving route of the page turning pen in the moving range if the page turning pen is not positioned outside the moving range after judging whether the page turning pen is positioned outside the moving range.
Optionally, the virtual route determining module 403 is specifically configured to:
determining a rotation angle change rate of the page turning pen around X, Y and a Z axis and an acceleration value of the page turning pen in X, Y and Z axis directions according to an actual moving path of the page turning pen outside a moving range;
and determining a virtual moving route of the mouse pointer outside the moving range according to the rotation angle change rate and the acceleration value.
Optionally, the mouse pointer moving module 404 is specifically configured to:
determining the current moving route of the mouse pointer in the moving range according to the actual moving route of the page turning pen in the moving range;
and controlling the mouse pointer to move in a moving range according to the current moving route.
According to the embodiment of the invention, the relative direction of the target when the page turning pen faces the boundary point is determined, the range of the relative direction of the page turning pen in the preset moving range is determined, and whether the page turning pen exceeds the preset moving range can be judged according to the current relative direction and the relative direction of the target. If so, enabling the mouse pointer to be located at the position of the boundary, and continuously calculating the virtual moving route of the mouse pointer outside the moving range, namely considering that the mouse pointer moves along with the page turning pen outside the moving range. After the page turning pen returns to the moving range, the mouse pointer can continuously move in the moving range along with the page turning pen. The problem of in the prior art, after the page turning pen surpassed the moving range, the mouse pointer was disconnected with the page turning pen's problem is solved, realize the real-time control to the mouse pointer, avoid the page turning pen after returning to the moving range, the condition that the mouse pointer can't correspond to the directional position of page turning pen takes place, improves the control accuracy of mouse pointer.
Example four
Fig. 5 is a schematic structural diagram of a control device for a mouse pointer according to a fourth embodiment of the present invention. The control device for the mouse pointer is an electronic device and fig. 5 shows a block diagram of an exemplary electronic device 500 suitable for implementing an embodiment of the invention. The electronic device 500 shown in fig. 5 is only an example and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 5, the electronic device 500 is embodied in the form of a general purpose computing device. The components of the electronic device 500 may include, but are not limited to: one or more processors or processing units 501, a system memory 502, and a bus 503 that couples the various system components (including the system memory 502 and the processing unit 501).
Bus 503 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Electronic device 500 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by electronic device 500 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 502 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)504 and/or cache memory 505. The electronic device 500 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 506 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 5, commonly referred to as a "hard drive"). Although not shown in FIG. 5, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to the bus 503 by one or more data media interfaces. Memory 502 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 508 having a set (at least one) of program modules 507 may be stored, for instance, in memory 502, such program modules 507 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 507 generally perform the functions and/or methodologies of embodiments of the invention as described herein.
The electronic device 500 may also communicate with one or more external devices 509 (e.g., keyboard, pointing device, display 510, etc.), with one or more devices that enable a user to interact with the electronic device 500, and/or with any devices (e.g., network card, modem, etc.) that enable the electronic device 500 to communicate with one or more other computing devices. Such communication may occur via input/output (I/O) interfaces 511. Also, the electronic device 500 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the Internet) via the network adapter 512. As shown in FIG. 5, the network adapter 512 communicates with the other modules of the electronic device 500 over the bus 503. It should be appreciated that although not shown in FIG. 5, other hardware and/or software modules may be used in conjunction with the electronic device 500, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processing unit 501 executes various functional applications and data processing by running a program stored in the system memory 502, for example, implementing a method for controlling a mouse pointer provided by an embodiment of the present invention, including:
determining the relative direction of a target when a page turning pen faces a boundary point of a preset moving range on a screen;
judging whether the page turning pen is positioned outside a moving range or not according to the relative position of the target and the current relative position of the page turning pen in the moving process;
if so, controlling a mouse pointer to be located at the boundary of the moving range, and determining a virtual moving route of the mouse pointer outside the moving range according to the actual moving route of the page turning pen outside the moving range;
and judging whether the virtual moving route returns to the moving range, if so, controlling the mouse pointer to move in the moving range according to the actual moving route of the page turning pen in the moving range.
EXAMPLE five
The fifth embodiment of the present invention further provides a storage medium containing computer-executable instructions, where a computer program is stored on the storage medium, and when the computer program is executed by a processor, the method for controlling a mouse pointer provided in the fifth embodiment of the present invention is implemented, where the method includes:
determining the relative direction of a target when a page turning pen faces a boundary point of a preset moving range on a screen;
judging whether the page turning pen is positioned outside a moving range or not according to the relative position of the target and the current relative position of the page turning pen in the moving process;
if so, controlling a mouse pointer to be located at the boundary of the moving range, and determining a virtual moving route of the mouse pointer outside the moving range according to the actual moving route of the page turning pen outside the moving range;
and judging whether the virtual moving route returns to the moving range, if so, controlling the mouse pointer to move in the moving range according to the actual moving route of the page turning pen in the moving range.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may 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 the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A method for controlling a mouse pointer, comprising:
determining the relative direction of a target when a page turning pen faces a boundary point of a preset moving range on a screen;
judging whether the page turning pen is positioned outside a moving range or not according to the relative position of the target and the current relative position of the page turning pen in the moving process;
if so, controlling a mouse pointer to be located at the boundary of the moving range, and determining a virtual moving route of the mouse pointer outside the moving range according to the actual moving route of the page turning pen outside the moving range;
and judging whether the virtual moving route returns to the moving range, if so, controlling the mouse pointer to move in the moving range according to the actual moving route of the page turning pen in the moving range.
2. The method of claim 1, wherein determining the relative orientation of the target when the flipper pen is oriented towards a boundary point of a preset range of movement on the screen comprises:
responding to a range determination instruction sent by a page turning pen towards a boundary point of a preset moving range on a screen, and determining a target output voltage signal when the page turning pen faces the boundary point;
and determining the relative position of the target when the page turning pen faces the boundary point according to the target output voltage signal.
3. The method of claim 1, wherein determining whether the flipper pen is outside of the range of motion based on the relative orientation of the target and a current relative orientation of the flipper pen during the movement comprises:
acquiring a current output voltage signal of a page turning pen in a moving process, and determining a current relative position according to the current output voltage signal;
and comparing the relative orientation of the target with the current relative orientation, and determining whether the orientation of the page turning pen is out of the moving range according to the comparison result.
4. The method of claim 3, wherein comparing the target relative orientation to the current relative orientation and determining whether the orientation of the flipper pen is outside of a range of motion based on the comparison comprises:
determining a current three-dimensional rotation angle of the page turning pen in the current relative direction and a target three-dimensional rotation angle of the page turning pen in the target relative direction;
comparing the current three-dimensional rotation angle with a target three-dimensional rotation angle, and judging whether the current three-dimensional rotation angle is larger than the target three-dimensional rotation angle;
and if so, determining that the orientation of the page turning pen is out of the moving range.
5. The method of claim 1, further comprising, after determining whether the flipper pen is outside of a range of motion:
and if the page turning pen is not positioned outside the moving range, controlling the mouse pointer to move in the moving range according to the actual moving route of the page turning pen in the moving range.
6. The method according to claim 1, wherein determining the virtual movement route of the mouse pointer outside the movement range according to the actual movement route of the page turning pen outside the movement range comprises:
determining a rotation angle change rate of the page turning pen around X, Y and a Z axis and an acceleration value of the page turning pen in X, Y and Z axis directions according to an actual moving path of the page turning pen outside a moving range;
and determining a virtual moving route of the mouse pointer outside the moving range according to the rotation angle change rate and the acceleration value.
7. The method of claim 1, wherein controlling the mouse pointer to move within the movement range according to the actual movement route of the page turning pen within the movement range comprises:
determining the current moving route of the mouse pointer in the moving range according to the actual moving route of the page turning pen in the moving range;
and controlling the mouse pointer to move in a moving range according to the current moving route.
8. A control device for a mouse pointer, comprising:
the target direction determining module is used for determining the relative direction of a target when the page turning pen faces to a boundary point of a preset moving range on a screen;
the moving range judging module is used for judging whether the page turning pen is positioned outside the moving range according to the relative direction of the target and the current relative direction of the page turning pen in the moving process;
the virtual route determining module is used for controlling a mouse pointer to be located at the boundary of a moving range if the virtual route determining module is used, and determining the virtual moving route of the mouse pointer outside the moving range according to the actual moving route of the page turning pen outside the moving range;
and the mouse pointer moving module is used for judging whether the virtual moving route returns to the moving range, and if so, controlling the mouse pointer to move in the moving range according to the actual moving route of the page turning pen in the moving range.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method of controlling a mouse pointer according to any one of claims 1-7 when executing the program.
10. A storage medium containing computer-executable instructions for performing the method of controlling a mouse pointer according to any one of claims 1-7 when executed by a computer processor.
CN202111048938.7A 2021-09-08 2021-09-08 Control method and device of mouse pointer, electronic equipment and storage medium Active CN113721777B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111048938.7A CN113721777B (en) 2021-09-08 2021-09-08 Control method and device of mouse pointer, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111048938.7A CN113721777B (en) 2021-09-08 2021-09-08 Control method and device of mouse pointer, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113721777A true CN113721777A (en) 2021-11-30
CN113721777B CN113721777B (en) 2024-01-30

Family

ID=78682552

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111048938.7A Active CN113721777B (en) 2021-09-08 2021-09-08 Control method and device of mouse pointer, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113721777B (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101206537A (en) * 2006-12-22 2008-06-25 财团法人工业技术研究院 Inertial sensing type coordinate input device and method
CN101840277A (en) * 2009-03-17 2010-09-22 索尼公司 Input media, control device, control system and control method
CN102270054A (en) * 2011-08-16 2011-12-07 江苏惠通集团有限责任公司 Positioning method for posture sensing equipment and control method for mouse pointer
CN102375567A (en) * 2010-08-23 2012-03-14 圆展科技股份有限公司 Pen-shaped pointing device, displacement information providing method, and displacement information providing system
CN102750020A (en) * 2012-07-18 2012-10-24 深圳数字电视国家工程实验室股份有限公司 Method for acquiring air mouse displacement, air mouse and air mouse control system
CN103279205A (en) * 2012-01-10 2013-09-04 英属维京群岛速位互动股份有限公司 Pointing device, operating method thereof and relative multimedia interactive system
CN103376919A (en) * 2012-04-13 2013-10-30 十速兴业科技(深圳)有限公司 Correcting-free cursor tracking and aligning method and correcting-free cursor tracking and aligning system
CN103902061A (en) * 2012-12-25 2014-07-02 华为技术有限公司 Air mouse cursor display method, device and system
US20140236529A1 (en) * 2013-02-18 2014-08-21 Motorola Mobility Llc Method and Apparatus for Determining Displacement from Acceleration Data
CN104536244A (en) * 2015-01-06 2015-04-22 京东方科技集团股份有限公司 Projection system and adjusting method for emergent light of laser pen in projection system
CN106933385A (en) * 2017-03-08 2017-07-07 吉林大学 A kind of implementation method of the low-power consumption sky mouse pen based on three-dimensional ultrasonic positioning
CN111078029A (en) * 2019-12-05 2020-04-28 广州视源电子科技股份有限公司 Air mouse information determination method, device, equipment and storage medium
CN112494928A (en) * 2020-12-10 2021-03-16 上海连尚网络科技有限公司 Game scene control method and device

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101206537A (en) * 2006-12-22 2008-06-25 财团法人工业技术研究院 Inertial sensing type coordinate input device and method
CN101840277A (en) * 2009-03-17 2010-09-22 索尼公司 Input media, control device, control system and control method
CN102375567A (en) * 2010-08-23 2012-03-14 圆展科技股份有限公司 Pen-shaped pointing device, displacement information providing method, and displacement information providing system
CN102270054A (en) * 2011-08-16 2011-12-07 江苏惠通集团有限责任公司 Positioning method for posture sensing equipment and control method for mouse pointer
CN103279205A (en) * 2012-01-10 2013-09-04 英属维京群岛速位互动股份有限公司 Pointing device, operating method thereof and relative multimedia interactive system
CN103376919A (en) * 2012-04-13 2013-10-30 十速兴业科技(深圳)有限公司 Correcting-free cursor tracking and aligning method and correcting-free cursor tracking and aligning system
CN102750020A (en) * 2012-07-18 2012-10-24 深圳数字电视国家工程实验室股份有限公司 Method for acquiring air mouse displacement, air mouse and air mouse control system
CN103902061A (en) * 2012-12-25 2014-07-02 华为技术有限公司 Air mouse cursor display method, device and system
US20140236529A1 (en) * 2013-02-18 2014-08-21 Motorola Mobility Llc Method and Apparatus for Determining Displacement from Acceleration Data
CN104536244A (en) * 2015-01-06 2015-04-22 京东方科技集团股份有限公司 Projection system and adjusting method for emergent light of laser pen in projection system
CN106933385A (en) * 2017-03-08 2017-07-07 吉林大学 A kind of implementation method of the low-power consumption sky mouse pen based on three-dimensional ultrasonic positioning
CN111078029A (en) * 2019-12-05 2020-04-28 广州视源电子科技股份有限公司 Air mouse information determination method, device, equipment and storage medium
CN112494928A (en) * 2020-12-10 2021-03-16 上海连尚网络科技有限公司 Game scene control method and device

Also Published As

Publication number Publication date
CN113721777B (en) 2024-01-30

Similar Documents

Publication Publication Date Title
CN110977985B (en) Method and device for positioning
CN110095752B (en) Positioning method, apparatus, device and medium
CN109791604B (en) Automatic magnetometer calibration for mobile devices
CN107560613B (en) Robot indoor track tracking system and method based on nine-axis inertial sensor
WO2022088973A1 (en) Method for displaying vehicle driving state, and electronic device
KR101185589B1 (en) Method and Device for inputing user's commands based on motion sensing
CN109445620B (en) Automatic interactive pen identification method
US11531392B2 (en) Tracking upper arm movements using sensor modules attached to the hand and forearm
CN109544630A (en) Posture information determines method and apparatus, vision point cloud construction method and device
CN112135124A (en) Method, device and system for calibrating and detecting position of holder
US20230316677A1 (en) Methods, devices, apparatuses, and storage media for virtualization of input devices
WO2014125809A1 (en) Attitude calculating apparatus, attitude calculating method, portable apparatus, and program
CN106643717A (en) Method and device for performance detection of nine-axis sensor
US11620846B2 (en) Data processing method for multi-sensor fusion, positioning apparatus and virtual reality device
CN110096134B (en) VR handle ray jitter correction method, device, terminal and medium
CN113721777B (en) Control method and device of mouse pointer, electronic equipment and storage medium
CN109333527A (en) A kind of exchange method, device, electronic equipment and storage medium with robot
JP2001100908A (en) Pen tip locus generation method, pen-type input device, and pen mounting unit
CN108196678A (en) Gesture operation method and the electronic equipment with gesture operation function
KR102595677B1 (en) Method, apparatus and device for determining location information
CN113375667B (en) Navigation method, device, equipment and storage medium
US20250036213A1 (en) Dynamic gravity vector estimation for memory constrained devices
CN112243082B (en) Tracking shooting method and device, electronic equipment and storage medium
CN116048093A (en) Robot control method and equipment based on ROS system
CN115857481A (en) Track adjusting method and device, storage medium and electronic equipment

Legal Events

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