CN111459302A - Empty mouse cursor positioning method and system - Google Patents
Empty mouse cursor positioning method and system Download PDFInfo
- Publication number
- CN111459302A CN111459302A CN202010250458.8A CN202010250458A CN111459302A CN 111459302 A CN111459302 A CN 111459302A CN 202010250458 A CN202010250458 A CN 202010250458A CN 111459302 A CN111459302 A CN 111459302A
- Authority
- CN
- China
- Prior art keywords
- light pattern
- sensor
- coordinates
- cursor
- determining
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 32
- 239000013307 optical fiber Substances 0.000 claims description 21
- 238000010586 diagram Methods 0.000 description 13
- 238000009826 distribution Methods 0.000 description 5
- 230000010287 polarization Effects 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 4
- 238000006243 chemical reaction Methods 0.000 description 3
- 238000006073 displacement reaction Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 239000004744 fabric Substances 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 230000003238 somatosensory effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/033—Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
- G06F3/0346—Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of the device orientation or free movement in a 3D space, e.g. 3D mice, 6-DOF [six degrees of freedom] pointers using gyroscopes, accelerometers or tilt-sensors
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 application discloses a method for positioning a mouse cursor, which comprises the steps of acquiring an electric signal output by a sensor, wherein the electric signal is generated when the sensor detects a light pattern emitted by the mouse; determining the coordinates of the contact point of the light pattern and the sensor according to the electric signal; and determining the coordinates of the position point in the light pattern, which has a corresponding relation with the cursor, according to the coordinates of the contact point and the shape of the light pattern. This application need not to use the gyroscope to measure inclination and fixes a position the cursor, and the light pattern is fixed, so the position point can not take place to drift in the light pattern, and the cursor position just can not take place to remove on the screen yet, and the precision of cursor improves, promotes user's experience and feels. In addition, this application still provides an empty mouse cursor positioning system who has above-mentioned advantage.
Description
Technical Field
The application relates to the technical field of electronics, in particular to a method and a system for positioning an empty mouse cursor.
Background
With the development of science and technology, smart televisions with full-open platforms and operating systems become the development trend of televisions. At present, one mode of controlling the smart television is to use a mouse for controlling, and the control mode can be divided into a conventional mouse and an air mouse. An air mouse, called an air mouse for short, can enable a user to be free to walk without being limited to use the mouse on a certain plane.
The current empty mouse principle is to measure the inclination angle of the empty mouse remote controller by a gyroscope, map the inclination angle in the horizontal direction to horizontal displacement, and map the inclination angle in the vertical direction to vertical displacement, so as to realize the positioning of a cursor. However, due to the cost, the gyroscope has large static drift and dynamic noise, so that a cursor on a screen is easy to drift and has low precision, and the gyroscope is sensitive to micro vibration.
Therefore, how to solve the above technical problems should be a great concern to those skilled in the art.
Disclosure of Invention
The application aims to provide a method and a system for positioning a mouse cursor so as to improve the positioning precision of the mouse remote controller cursor.
In order to solve the technical problem, the application provides a method for positioning an empty mouse cursor, which comprises the following steps:
acquiring an electrical signal output by a sensor, wherein the electrical signal is generated when the sensor detects a light pattern emitted by a bare rat;
determining coordinates of a contact point of the light pattern with the sensor according to the electrical signal;
and determining the coordinates of the position point in the light pattern, which has a corresponding relation with the cursor, according to the coordinates of the contact point and the shape of the light pattern.
Optionally, when the sensor is a linear sensor including a plurality of photosensors, the determining, according to the electrical signal, coordinates of a contact point of the light pattern with the sensor includes:
converting the electrical signal to a digital signal;
and determining the position of a photoelectric sensor outputting the electric signal according to the digital signal to obtain the coordinates of the contact point.
Optionally, when the sensor is a linear sensor including an optical fiber and photosensors at both ends of the optical fiber, the determining, according to the electrical signal, coordinates of a contact point of the light pattern with the sensor includes:
acquiring the signal intensity of the electric signals, wherein the electric signals are output by photoelectric sensors positioned at two ends of the optical fiber;
and determining the ratio of the signal strengths, and determining the coordinates of the contact point according to the ratio.
Optionally, when the light pattern is formed by a plurality of straight lines intersecting at one point, the determining, according to the coordinates of the contact point and the shape of the light pattern, the coordinates of a position point in the light pattern, which has a corresponding relationship with the cursor, includes:
determining an equation of each straight line in the light pattern according to the coordinates of the contact point;
and determining the coordinates of the intersection points in the light pattern according to the equation.
Optionally, when the light pattern is a circle, the determining, according to the coordinates of the contact point and the shape of the light pattern, the coordinates of a position point in the light pattern, which has a corresponding relationship with the cursor, includes:
and determining the coordinates of the circle center of the circular light pattern according to the coordinates of the contact point.
The application also provides a method for positioning the mouse cursor, which comprises the following steps:
receiving a transmitting instruction;
transmitting a light pattern to a sensor, causing the sensor to output an electrical signal processor, so that the processor determines contact point coordinates of the light pattern with the sensor according to the electrical signal, and determines coordinates of a position point having a corresponding relationship with a cursor in the light pattern according to the contact point coordinates and a shape of the light pattern.
Optionally, when the light pattern is formed by a plurality of straight lines or a plurality of curved lines intersecting at a point, the emitting the light pattern to the sensor includes:
and emitting each linear ray in the light pattern to the sensor in a time-sharing mode.
Optionally, when the light pattern is formed by a plurality of straight lines or a plurality of curved lines intersecting at a point, the emitting the light pattern to the sensor includes:
modulating attributes of straight rays or curved rays in the light pattern to obtain a modulated light pattern, wherein the attributes of any two straight rays or any two curved rays in the modulated light pattern are different;
emitting the modulated light pattern intersecting at a point to the sensor.
The application also provides a null mouse cursor positioning system, which comprises a sensor, a screen, a processor and a null mouse.
Optionally, the method further includes:
a gyroscope.
Optionally, the method further includes:
and (3) a filter.
The method for positioning the mouse cursor comprises the steps of obtaining an electric signal output by a sensor, wherein the electric signal is generated when the sensor detects a light pattern emitted by the mouse; determining coordinates of a contact point of the light pattern with the sensor according to the electrical signal; and determining the coordinates of the position point in the light pattern, which has a corresponding relation with the cursor, according to the coordinates of the contact point and the shape of the light pattern.
Therefore, in the method for positioning the cursor of the empty mouse, the empty mouse emits the light pattern to the sensor, the sensor outputs the electric signal, the coordinates of the contact point of the light pattern and the sensor are obtained according to the electric signal, the position information of the light pattern sensed by the sensor is obtained, the coordinates of the position point corresponding to the cursor are obtained according to the coordinates of the contact point and the shape of the light pattern, the position of the cursor is determined, the cursor is positioned without measuring the inclination angle by using a gyroscope, the light pattern is fixed, the position point corresponding to the cursor cannot drift, namely the cursor cannot move on the screen, the precision of the cursor is improved, and the experience of a user is improved. In addition, this application still provides an empty mouse cursor positioning system who has above-mentioned advantage.
Drawings
For a clearer explanation of the embodiments or technical solutions of the prior art of the present application, the drawings needed for the description of the embodiments or prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a flowchart of a method for positioning a mouse cursor according to an embodiment of the present disclosure;
fig. 2 is a schematic diagram of a distribution structure of a sensor, a screen, and a light pattern provided in an embodiment of the present application;
fig. 3 is a schematic structural diagram of a sensor provided in an embodiment of the present application;
FIG. 4 is a schematic structural diagram of another sensor provided in an embodiment of the present application;
FIG. 5 is a schematic diagram of another distribution structure of a sensor, a screen, and a light pattern provided in the embodiments of the present application;
FIG. 6 is a schematic structural diagram of another sensor provided in an embodiment of the present application;
FIG. 7 is a schematic structural diagram of another sensor provided in an embodiment of the present application;
FIG. 8 is a schematic diagram of another distribution structure of a sensor, a screen, and a light pattern provided in an embodiment of the present application;
FIG. 9 is a schematic diagram of another distribution structure of a sensor, a screen, and a light pattern provided in an embodiment of the present application;
fig. 10 is a flowchart of another empty mouse cursor positioning method provided in the embodiment of the present application;
fig. 11 is a schematic structural diagram of an empty mouse cursor positioning system provided in an embodiment of the present application.
Detailed Description
In order that those skilled in the art will better understand the disclosure, the following detailed description will be given with reference to the accompanying drawings. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, but the present invention may be practiced in other ways than those specifically described and will be readily apparent to those of ordinary skill in the art without departing from the spirit of the present invention, and therefore the present invention is not limited to the specific embodiments disclosed below.
As described in the background section, in the prior art, when the screen is controlled by using the mouse remote controller, the tilt angle of the mouse remote controller is measured by the gyroscope to position the cursor, but due to the structure of the gyroscope, the cursor is not positioned accurately enough.
In view of this, the present application provides a method for positioning a mouse cursor, please refer to fig. 1, where fig. 1 is a flowchart of the method for positioning a mouse cursor provided in the embodiment of the present application, and the method includes:
and S101, acquiring an electric signal output by a sensor, wherein the electric signal is generated when the sensor detects a light pattern emitted by the empty mouse.
The light pattern is composed of infrared light, and the light pattern is not particularly limited in this embodiment, as the case may be. For example, the light pattern may be formed of straight lines, curved lines, or the like. Similarly, the number of the intersections in this embodiment is not specifically limited, and may be 1 or multiple. When the sensor senses infrared light, the infrared light optical signal is converted into an electric signal to be output.
It can be understood that the intersection point in the light pattern is the cursor in the screen corresponding to the mouse.
And S102, determining the coordinates of the contact point of the light pattern and the sensor according to the electric signal.
Step S102 is further explained below according to the type of sensor. Setting the sensor around the boundary of the screen, please refer to fig. 2, setting the coordinate at the upper left corner of the screen 2 as the origin coordinate (0,0), setting the screen 2 horizontally to the right as the X-axis direction, and setting the screen 2 vertically to the downward as the Y-axis direction, so as to determine the coordinates of the two sensors 1 vertical to the Y-axis on the Y-axis, and determine the coordinates of the two sensors 1 vertical to the X-axis on the X-axis.
When the sensor is a linear sensor including a plurality of photosensors, the determining coordinates of a contact point of the light pattern with the sensor from the digital signal includes:
converting the electrical signal to a digital signal;
and determining the position of a photoelectric sensor outputting the electric signal according to the digital signal to obtain the coordinates of the contact point.
When the sensor 1 is a linear sensor 1 including a plurality of photosensors 3, the structure of the sensor 1 is schematically shown in fig. 3. The position of the photoelectric sensor 3 outputting the electric signal is determined, the position corresponding to the X axis or the Y axis can be obtained, and the contact point coordinate can be obtained by combining the position of the sensor 1 where the photoelectric sensor 3 is located. Further, the sensor 1 may further include a filter disposed above each of the photosensors 3, i.e., the filter covers the entire upper surface of the sensor 1.
When the sensor is a linear sensor including an optical fiber and photosensors at both ends of the optical fiber, the determining coordinates of a contact point of the light pattern with the sensor from the digital signal includes:
acquiring the signal intensity of the electric signals, wherein the electric signals are output by photoelectric sensors positioned at two ends of the optical fiber;
and determining the ratio of the signal strengths, and determining the coordinates of the contact point according to the ratio.
When the sensor 1 is a linear sensor 1 composed of an optical fiber 4 and photosensors 3 located at two ends of the optical fiber 4, the structural schematic diagram of the sensor 1 is shown in fig. 4. When infrared light irradiates the linear sensor 1, the infrared light is transmitted to two ends of the optical fiber 4 on the optical fiber 4, attenuation is generated in the transmission process, the attenuation ratio is in direct proportion to the length of the optical fiber 4 passing through, and the length of the optical fiber 4 is known, so that the ratio of the distance of the infrared light transmitted to the optical fiber 4 can be determined according to the ratio of the output signal intensities of the photoelectric sensors 3 at the two ends, the position point of the linear sensor 1 irradiated by the infrared light is further determined, and the position of the coordinate system where the sensor 1 is located is combined, and the coordinate of the contact point can be obtained.
It should be noted that, for the sensor 1 in fig. 4, when more than two infrared rays are incident on one sensor 1 of this type of structure, such as A, B two infrared rays falling on the sensor 1 on the left side of the screen 2 in fig. 5, the infrared rays or the sensor 1 need to be adjusted adaptively when the intersection point of the two infrared ray distributions with the sensor 1 on the left side of the screen 2 is determined A, B. The adjustment of infrared light is divided into the following two cases: firstly, adjusting infrared light, wherein A, B two infrared lights need to be sent to the sensor 1 on the left side of the screen 2 in a time-sharing manner, and respective intersection points of A, B two infrared lights and the sensor 1 on the left side of the screen 2 can be distinguished; secondly, the intensity modulation frequencies of the two infrared light beams are adjusted to A, B to be different, the photoelectric sensors 3 at the two ends of the optical fiber 4 acquire electric signals and then filter out signals of A, B two infrared light beams, and the respective intersection points of the two infrared light beams A, B and the sensor 1 on the left side of the screen 2 can be distinguished according to the respective signal intensities. When the sensor 1 is adjusted, a filter 5 is additionally arranged between the optical fiber 4 and the photoelectric sensor 3, the structural schematic diagram is shown in fig. 6, firstly, the sensor 1 with the quantity equivalent to the incident infrared ray is required to be arranged on one side of the screen where the sensor 1 positioned on the left side of the screen 2 is positioned, and for fig. 5, i.e. two sensors 1 as shown in fig. 6 need to be arranged at the position of the sensor 1 located at the left side of the screen 2, the pass band wavelengths of the filters 5 of the sensors 1 respectively correspond to the wavelengths of the A, B two infrared rays, it is possible to distinguish the respective crossing positions where a plurality of light rays of different wavelengths simultaneously cross the sensor 1, alternatively, the polarization directions of the filters 5 of the sensor 1 correspond to the polarization directions of A, B infrared rays respectively, the respective crossing positions of a plurality of light rays with different polarization directions when crossing the sensor 1 at the same time can be distinguished; secondly, the sensor 1 with the structure shown in fig. 6 is replaced by the sensor 1 shown in fig. 7, the number of the optical fibers 4 is one, the number of the photoelectric sensors 3 and the optical filters 5 at each end of the optical fibers 4 is multiple, the passband wavelength or the polarization direction of each optical filter 5 respectively corresponds to the infrared light, A, B two infrared lights are transmitted in the same optical fiber 4, and are separately detected after being filtered by different optical filters 5.
And S103, determining the coordinates of the position points in the light pattern, which have the corresponding relation with the cursor, according to the contact point coordinates and the shape of the light pattern.
In the present embodiment, the position point of the light pattern corresponding to the cursor is not specifically limited, and will be specifically described below according to the shape of the light pattern. Further, in this embodiment, the corresponding relationship between the cursor and the position point in the light pattern is not specifically limited, for example, the position point in the light pattern may represent the cursor, or a point which is a fixed distance away from the position point in a specific direction of the position point in the light pattern is the cursor.
According to the method for positioning the cursor of the air mouse, the light pattern is emitted to the sensor through the air mouse, the sensor senses and outputs the electric signal, the coordinate of the contact point of the light pattern and the sensor is obtained according to the electric signal, the position information of the light pattern sensed by the sensor is obtained, the coordinate of the position point corresponding to the cursor is obtained according to the coordinate of the contact point and the shape of the light pattern, the position of the cursor is determined, the cursor is positioned without measuring the inclination angle through a gyroscope, the light pattern is fixed, the position point corresponding to the cursor cannot drift, the cursor cannot move on the screen, the precision of the cursor is improved, and the experience of a user is improved.
The determination of the coordinates of the position point in the light pattern having a corresponding relationship with the cursor according to the coordinates of the contact point and the shape of the light pattern is further described below. When the light pattern is formed by a plurality of straight lines intersecting at one point, determining the coordinates of a position point in the light pattern, which has a corresponding relationship with the cursor, according to the coordinates of the contact point and the shape of the light pattern includes:
determining an equation of each straight line in the light pattern according to the coordinates of the contact point;
and determining the coordinates of the intersection points in the light pattern according to the equation.
The coordinates of the two contact points can determine the equation of the straight line light, and the coordinates of the intersection point can be obtained by solving the equation set, so that the coordinates of the cursor on the screen can be obtained.
It will be appreciated that the light pattern may also be a curve, such as a parabola, and that the equations and hence the coordinates of the intersection points may be determined from the coordinates of the contact points.
Further, referring to fig. 8, the light pattern is composed of six straight lines that are uniformly distributed and intersect at a point, a, b, c, d are respectively the intersection points of the straight lines and the sensor, o is the intersection point of the light pattern, the included angle α between adjacent straight lines is 30 °, the distance between the intersection point o and the sensor is oe (the distance between the dotted lines in the figure), and then:
arctan(ae/oe)-arctan(be/oe)=α (1)
arctan(be/oe)+arctan(ce/oe)=α (2)
arctan(de/oe)-arctan(ce/oe)=α (3)
through the three equations, three distance values of oe, be and ce can be obtained, and therefore the o point coordinate is obtained.
When the light pattern is a circle, the determining the coordinates of the position point in the light pattern, which has a corresponding relationship with the cursor, according to the coordinates of the contact point and the shape of the light pattern includes:
and determining the coordinates of the circle center of the circular light pattern according to the coordinates of the contact point.
Referring to fig. 9, f, g, h, i, m, n are contact points of the circular light pattern and the sensor, and coordinates of the contact points are obtained by the above-mentioned method from the specific kind of the sensor. Let the radius of the circular light pattern be r, then three variables of r and the coordinates (x, y) of the center of circle q are unknown. The distances from the circle center q to f, g, h, i, m and n are all r, and 6 equations can be listed, so that the coordinate of the circle center q can be solved.
Referring to fig. 10, fig. 10 is a flowchart of another empty mouse cursor positioning method provided in the embodiment of the present application, where the method includes:
step S201: a transmit instruction is received.
Step S202: transmitting a light pattern to a sensor, causing the sensor to output an electrical signal to a processor, so that the processor determines contact point coordinates of the light pattern and the sensor according to the electrical signal, and determines coordinates of a position point having a corresponding relationship with a cursor in the light pattern according to the contact point coordinates and a shape of the light pattern.
The light pattern is composed of infrared light, the wavelength of the infrared light is larger than 780nm, the infrared light cannot be seen by human eyes so as not to interfere with a screen picture, and the narrower the wavelength range is, the more beneficial the influence of ambient light is reduced.
On the basis of the above embodiments, in one embodiment of the present application, when the light pattern is formed by a plurality of straight lines of light or a plurality of curved lines of light intersecting at a point, the emitting light pattern to the sensor includes:
and emitting each linear ray in the light pattern to the sensor in a time-sharing mode.
It should be noted that, when each straight line ray in the light pattern is sent in a time-sharing manner, the property of each straight line ray may be the same, and the structural diagram of the sensor is shown in fig. 3 or fig. 4.
On the basis of the above embodiments, in one embodiment of the present application, when the light pattern is formed by a plurality of straight lines of light or a plurality of curved lines of light intersecting at a point, the emitting light pattern to the sensor includes:
modulating attributes of straight rays or curved rays in the light pattern to obtain a modulated light pattern, wherein the attributes of any two straight rays or any two curved rays in the modulated light pattern are different;
emitting the modulated light pattern with intersections at a point to the sensor.
The linear light attributes include, but are not limited to, any one or any combination of wavelength, modulation frequency, and polarization direction, and the structural diagram of the sensor is shown in fig. 6 or fig. 7. It is of course also possible to modulate the frequency and/or intensity of the line of light so that the sensor filters the light pattern from the ambient light.
The application also provides a mouse-in-air cursor positioning system, please refer to fig. 11, which includes a sensor 1, a screen 2, a processor 6, and a mouse-in-air 7.
Wherein, the empty mouse 7 is used for receiving the emission instruction and emitting the light pattern to the sensor 1; the sensor 1 is used for sensing light patterns and outputting an electric signal processor 6; the processor 6 acquires an electrical signal and determines the coordinates of the contact point of the light pattern with the sensor 1 according to the electrical signal; and determining the coordinates of the position point in the light pattern, which has a corresponding relation with the cursor, according to the coordinates of the contact point and the shape of the light pattern.
It should be noted that the type of the processor 6 in this embodiment is not particularly limited, and may be a CPU (Central Processing Unit) or a DSP (digital signal processor) having an analog-to-digital conversion function, or may be an external analog-to-digital conversion Unit when the processor does not have an analog-to-digital conversion function.
The sensor 1 is arranged at the boundary of the screen 2, or on the screen 2, and the screen 2 in this application includes but is not limited to a display screen, a projection cloth, and an electronic whiteboard. The mouse 7 can be a remote controller of the mouse 7 of a television, and can also be a remote controller of some devices such as a somatosensory device.
In the present embodiment, the type of the sensor 1 is not particularly limited, and the sensor 1 may be a linear sensor 1 or a planar sensor 1, for example. Further, the number of the sensors 1 is not particularly limited in this embodiment, and may be determined according to the shape of the light pattern. The screen 2 is generally quadrangular, and preferably the number of sensors 1 is four.
Optionally, the air mouse cursor positioning system further includes: and (3) a filter.
Preferably, the air mouse cursor positioning system further comprises: and if the cursor exceeds the boundary of the screen 2, the gyroscope is combined to detect the movement of the cursor after the cursor exceeds the boundary of the screen 2, so that the acceleration dragging function is realized after the cursor exceeds the screen 2.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
The method and the system for positioning the mouse cursor provided by the application are described in detail above. The principles and embodiments of the present application are explained herein using specific examples, which are provided only to help understand the method and the core idea of the present application. It should be noted that, for those skilled in the art, it is possible to make several improvements and modifications to the present application without departing from the principle of the present application, and such improvements and modifications also fall within the scope of the claims of the present application.
Claims (11)
1. A method for positioning a mouse cursor is characterized by comprising the following steps:
acquiring an electrical signal output by a sensor, wherein the electrical signal is generated when the sensor detects a light pattern emitted by a bare rat;
determining coordinates of a contact point of the light pattern with the sensor according to the electrical signal;
and determining the coordinates of the position point in the light pattern, which has a corresponding relation with the cursor, according to the coordinates of the contact point and the shape of the light pattern.
2. The method of claim 1, wherein when the sensor is a linear sensor comprising a plurality of photosensors, the determining the coordinates of the contact point of the light pattern with the sensor based on the electrical signal comprises:
converting the electrical signal to a digital signal;
and determining the position of a photoelectric sensor outputting the electric signal according to the digital signal to obtain the coordinates of the contact point.
3. The method of claim 1, wherein when the sensor is a linear sensor comprising an optical fiber and photosensors at opposite ends of the optical fiber, the determining coordinates of the contact point of the light pattern with the sensor based on the electrical signal comprises:
acquiring the signal intensity of the electric signals, wherein the electric signals are output by photoelectric sensors positioned at two ends of the optical fiber;
and determining the ratio of the signal strengths, and determining the coordinates of the contact point according to the ratio.
4. The method according to any one of claims 1 to 3, wherein when the light pattern is formed by a plurality of straight lines intersecting at a point, the determining coordinates of a position point in the light pattern having a correspondence relationship with the cursor based on the coordinates of the contact point and the shape of the light pattern comprises:
determining an equation of each straight line in the light pattern according to the coordinates of the contact point;
and determining the coordinates of the intersection points in the light pattern according to the equation.
5. The empty mouse cursor positioning method according to any one of claims 1 to 3, wherein when the light pattern is a circle, the determining coordinates of a position point in the light pattern having a corresponding relationship with the cursor based on the coordinates of the contact point and the shape of the light pattern comprises:
and determining the coordinates of the circle center of the circular light pattern according to the coordinates of the contact point.
6. A method for positioning a mouse cursor is characterized by comprising the following steps:
receiving a transmitting instruction;
transmitting a light pattern to a sensor, causing the sensor to output an electrical signal to a processor, so that the processor determines contact point coordinates of the light pattern and the sensor according to the electrical signal, and determines coordinates of a position point having a corresponding relationship with a cursor in the light pattern according to the contact point coordinates and a shape of the light pattern.
7. The method of claim 6, wherein when the light pattern is formed of a plurality of straight lines or a plurality of curved lines intersecting at a point, the emitting the light pattern to the sensor comprises:
and emitting each straight line ray or each curve ray in the light pattern to the sensor in a time-sharing manner.
8. The method of claim 6, wherein when the light pattern is formed of a plurality of straight lines or a plurality of curved lines intersecting at a point, the emitting the light pattern to the sensor comprises:
modulating attributes of straight rays or curved rays in the light pattern to obtain a modulated light pattern, wherein the attributes of any two straight rays or any two curved rays in the modulated light pattern are different;
emitting the modulated light pattern intersecting at a point to the sensor.
9. A mouse-in-air cursor positioning system is characterized by comprising a sensor, a screen, a processor and a mouse-in-air cursor.
10. The empty mouse cursor positioning system of claim 9, further comprising:
a gyroscope.
11. The empty mouse cursor positioning system of claim 10, further comprising:
and (3) a filter.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010250458.8A CN111459302A (en) | 2020-04-01 | 2020-04-01 | Empty mouse cursor positioning method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010250458.8A CN111459302A (en) | 2020-04-01 | 2020-04-01 | Empty mouse cursor positioning method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111459302A true CN111459302A (en) | 2020-07-28 |
Family
ID=71679512
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010250458.8A Pending CN111459302A (en) | 2020-04-01 | 2020-04-01 | Empty mouse cursor positioning method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111459302A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112286379A (en) * | 2020-11-19 | 2021-01-29 | 安徽鸿程光电有限公司 | Cursor positioning method, device, equipment and computer readable storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2007038193A2 (en) * | 2005-09-23 | 2007-04-05 | Bunch Jesse C | Pointing and identification device |
US20080278445A1 (en) * | 2007-05-08 | 2008-11-13 | Thinkoptics, Inc. | Free-space multi-dimensional absolute pointer with improved performance |
CN102405458A (en) * | 2009-04-16 | 2012-04-04 | 伊斯奇里因特菲斯技术股份有限公司 | Display surface for a data processing device and control device combined therewith |
CN102405459A (en) * | 2009-04-21 | 2012-04-04 | 伊斯奇里因特菲斯技术股份有限公司 | Method and device for controlling a data processing system |
-
2020
- 2020-04-01 CN CN202010250458.8A patent/CN111459302A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2007038193A2 (en) * | 2005-09-23 | 2007-04-05 | Bunch Jesse C | Pointing and identification device |
US20090267895A1 (en) * | 2005-09-23 | 2009-10-29 | Bunch Jesse C | Pointing and identification device |
US20080278445A1 (en) * | 2007-05-08 | 2008-11-13 | Thinkoptics, Inc. | Free-space multi-dimensional absolute pointer with improved performance |
CN102405458A (en) * | 2009-04-16 | 2012-04-04 | 伊斯奇里因特菲斯技术股份有限公司 | Display surface for a data processing device and control device combined therewith |
CN102405459A (en) * | 2009-04-21 | 2012-04-04 | 伊斯奇里因特菲斯技术股份有限公司 | Method and device for controlling a data processing system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112286379A (en) * | 2020-11-19 | 2021-01-29 | 安徽鸿程光电有限公司 | Cursor positioning method, device, equipment and computer readable storage medium |
CN112286379B (en) * | 2020-11-19 | 2023-12-26 | 安徽鸿程光电有限公司 | Cursor positioning method, device, equipment and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5963194A (en) | Apparatus for inclination detection and input apparatus using this apparatus | |
JP6046929B2 (en) | Optical measuring device | |
CN102597936A (en) | Touch surface with a compensated signal profile | |
US20090085869A1 (en) | Remote control pointing technology | |
JPH0231415B2 (en) | ||
US20120113057A1 (en) | Coordinate input apparatus, control method therefor and program | |
CN111459302A (en) | Empty mouse cursor positioning method and system | |
US20070002020A1 (en) | Optical mouse | |
CN102096520A (en) | Optical touch device | |
KR100886381B1 (en) | Remotecontroller transceiver | |
CN105094464A (en) | Infrared touch control device | |
EP2430473B1 (en) | Optical sensor | |
JP4161007B2 (en) | Position detection device | |
JPS62263161A (en) | Movement measuring method and equipment | |
KR101043923B1 (en) | Grid signal receiver and wireless pointig system having its | |
WO2018214691A1 (en) | Optical touch sensing for displays and other applications | |
JPH02144714A (en) | Optical touch panel apparatus | |
EP1218769A1 (en) | Optical angle sensor for use in a position and/or attitude determination system | |
JP4129168B2 (en) | Position detection apparatus, position detection method, and position detection program | |
JP5429897B2 (en) | Light spot position detector | |
CN102096521A (en) | Optical touch device and optical touch display device | |
JP2005182205A (en) | Coordinate inputting device | |
KR101268535B1 (en) | Hybrid optical touch screen apparatus | |
KR100467612B1 (en) | Apparatus and method for determining the location of mouse laser pointer | |
JP2000221100A (en) | Leakage liquid sensor |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20200728 |