CN103186255B - Based on gyroscope to light target moving processing method and system, user terminal - Google Patents

Based on gyroscope to light target moving processing method and system, user terminal Download PDF

Info

Publication number
CN103186255B
CN103186255B CN201110443233.5A CN201110443233A CN103186255B CN 103186255 B CN103186255 B CN 103186255B CN 201110443233 A CN201110443233 A CN 201110443233A CN 103186255 B CN103186255 B CN 103186255B
Authority
CN
China
Prior art keywords
angular velocity
user terminal
gyroscope
rotation
angle
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201110443233.5A
Other languages
Chinese (zh)
Other versions
CN103186255A (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.)
China Telecom Corp Ltd
Original Assignee
China Telecom Corp 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 China Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN201110443233.5A priority Critical patent/CN103186255B/en
Publication of CN103186255A publication Critical patent/CN103186255A/en
Application granted granted Critical
Publication of CN103186255B publication Critical patent/CN103186255B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the invention discloses one based on gyroscope to light target moving processing method and system, user terminal, wherein, system includes: when the operating system unit in user terminal is in user terminal rotation under editing mode, obtain, from gyroscope, the angular velocity that user terminal rotates;In the operating system unit sampling time based on described angular velocity Yu described gyroscope, obtain the angle that user terminal rotates;Reaching pre-conditioned in response to described angular velocity with described angle, the cursor on editing interface is moved a unit along the direction of rotation that described angular velocity is corresponding by described operating system unit.The embodiment of the present invention can realize the accurate of cursor on touch screen and move.

Description

Based on gyroscope to light target moving processing method and system, user terminal
Technical field
The present invention relates to communication technology, especially a kind of based on gyroscope to light target moving processing method and system, use Family terminal.
Background technology
Along with the development of mobile communication technology, increasing mobile terminal all have employed touch screen, and abandons tradition Physical button.As it is shown in figure 1, be a display interface schematic diagram of touch screen on mobile terminal.But, touch screen moves The when of cursor, it will usually there is the problem that cursor positioning is inaccurate, thus the cursor when editing word can be caused to move inaccurate Phenomenon.Current each terminal producer it is also proposed certain methods to solve this problem.
Such as, in prior art, some mobile terminals arrange magnifier to help user to position cursor.As in figure 2 it is shown, For arranging a display interface schematic diagram of magnifier touch screen on prior art mobile terminal.In Fig. 2, by cursor from word After move to word and " defend " in the middle of two words, the word at cursor place can be carried out local by light target moving process and put Greatly, thus help client to position.
But, generally, for use touch screen mobile terminal, the particularly mobile terminal of touch screen of entry level, Owing to screen size is less, by the cursor position moving to need quickly and accurately editing word when, relatively more tired Difficult.
Summary of the invention
The embodiment of the present invention is to be solved be technical problem is that: provide one, based on gyroscope, light target is moved process side Method and system, user terminal, to realize the accurate movement of cursor on touch screen.
The one that the embodiment of the present invention provides based on gyroscope to light target moving processing method, including:
When operating system unit in user terminal is in user terminal rotation under editing mode, obtain user from gyroscope The angular velocity of terminal rotating;
In the operating system unit sampling time based on described angular velocity Yu described gyroscope, obtain the angle that user terminal rotates Degree;
Reaching pre-conditioned in response to described angular velocity with described angle, described operating system unit is by editing interface Cursor moves a unit along the direction of rotation that described angular velocity is corresponding.
The one that the embodiment of the present invention provides to light target mobile process system, is arranged at user terminal based on gyroscope In, described mobile process system includes gyroscope and operating system unit;
Operating system unit, when user terminal under being in editing mode rotates, obtains user terminal from gyroscope The angular velocity rotated;In the sampling time based on described angular velocity Yu described gyroscope, obtain the angle that user terminal rotates;Response Reach pre-conditioned in described angular velocity with described angle, by the cursor on editing interface along rotation side corresponding to described angular velocity To a mobile unit;
Described gyroscope, for the described sampling time as cycle, periodically obtains the angular velocity that user terminal rotates.
The embodiment of the present invention provide a kind of user terminal, including the above embodiment of the present invention provide based on gyroscope pair Light target mobile process system.
Based on the above embodiment of the present invention provide based on gyroscope to light target moving processing method and system, user eventually End, when user terminal rotates, if the operating system unit in user terminal is in editing mode, then utilizes gyroscope to obtain and uses The angular velocity of family terminal rotating, in the operating system unit sampling time based on this angular velocity Yu gyroscope, obtains user terminal rotation The angle turned, and when the angular velocity that user terminal rotates reaches pre-conditioned with angle, operating system unit is by editing interface On cursor move a unit along the direction of rotation that described angular velocity is corresponding.The embodiment of the present invention is based on gyroscope and operation system System unit calculates angular velocity and the angle that user terminal rotates, and controls cursor based on this angular velocity and angle and move a list Position, it is achieved thereby that to touching the accurate control that on-screen cursor moves, it is achieved that light target accurately moves, and, user only needs Rotatable user terminal can realize light target and move, it is not necessary to cursor is moved in user's manual operation, simplifies the operation of user.
Below by drawings and Examples, technical scheme is described in further detail.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing In having technology to describe, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, also may be used To obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is a display interface schematic diagram of touch screen on mobile terminal.
Fig. 2 is the display interface schematic diagram arranging magnifier touch screen on prior art mobile terminal.
Fig. 3 is the present invention based on the gyroscope flow chart to light one embodiment of target moving processing method.
Fig. 4 is that in the embodiment of the present invention, a gyroscope relation radially, between angular velocity and Coriolis force direction is shown It is intended to.
Fig. 5 is a schematic diagram of single axis gyroscope in the embodiment of the present invention.
Fig. 6 is a relation signal in the embodiment of the present invention between gyroscope Coriolis force, angular velocity, the direction of motion Figure.
Fig. 7 is the present invention based on the gyroscope flow chart to light target another embodiment of moving processing method.
Fig. 8 is an application schematic diagram of right-hand rule in the present invention.
Fig. 9 is the present invention based on the gyroscope flow chart to light target another embodiment of moving processing method.
Figure 10 is a user terminal direction of rotation schematic diagram to the left in the embodiment of the present invention.
Figure 11 is a user terminal direction of rotation space coordinates schematic diagram to the left in the embodiment of the present invention.
Figure 12 is a user terminal direction of rotation schematic diagram to the right in the embodiment of the present invention.
Figure 13 is a user terminal direction of rotation space coordinates schematic diagram to the right in the embodiment of the present invention.
Figure 14 is a user terminal direction of rotation schematic diagram upwards in the embodiment of the present invention.
Figure 15 is a user terminal direction of rotation space coordinates schematic diagram upwards in the embodiment of the present invention.
Figure 16 is the schematic diagram that in the embodiment of the present invention, user terminal direction of rotation is downward.
Figure 17 is the space coordinates schematic diagram that in the embodiment of the present invention, user terminal direction of rotation is downward.
Figure 18 is the present invention based on the gyroscope structural representation to light one embodiment of target mobile process system.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Describe, it is clear that described embodiment is only a part of embodiment of the present invention rather than whole embodiments wholely.Based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under not making creative work premise Embodiment, broadly falls into the scope of protection of the invention.
Fig. 3 is the present invention based on the gyroscope flow chart to light one embodiment of target moving processing method.Such as Fig. 1 institute Showing, light target moving processing method is included by this embodiment based on gyroscope:
101, when the operating system unit in user terminal is in user terminal rotation under editing mode, obtain from gyroscope The angular velocity that this user terminal rotates.
102, the angular velocity that operating system unit obtains based on gyroscope and the sampling time of gyroscope, obtain this user eventually The angle that end rotates.
After acquiring, by gyroscope, the angular velocity that user terminal rotates, by this angular velocity integration within the sampling time, The angle that user terminal rotates can be obtained, the direction of angular velocity can obtain the direction that user terminal rotates.
103, the angular velocity rotated in response to this user terminal and angle reach pre-conditioned, such as: angle more than or etc. In 0.087 radian, angular velocity is more than or equal to 0.87 radian per second, and operating system unit is fast along angle by the cursor on editing interface The direction of rotation that degree is corresponding moves a unit.
The above embodiment of the present invention provide based on gyroscope in light target moving processing method, rotate at user terminal Time, if the operating system unit in user terminal is in editing mode, then utilize gyroscope to obtain the angle speed that user terminal rotates Degree, in the operating system unit sampling time based on this angular velocity Yu gyroscope, obtains the angle that user terminal rotates, and user When the angular velocity of terminal rotating and angle reach pre-conditioned, operating system unit is fast along described angle by the cursor on editing interface The direction of rotation that degree is corresponding moves a unit.The embodiment of the present invention calculates user terminal based on gyroscope with operating system unit The angular velocity rotated and angle, and control cursor based on this angular velocity and angle and move a unit, it is achieved thereby that to touching Touch the accurate control that on-screen cursor moves, it is achieved that light target accurately moves, and, it is real that user only needs rotatable user terminal to get final product Now light target moves, it is not necessary to cursor is moved in user's manual operation, simplifies the operation of user.
Unrestricted to a concrete example of light target moving processing method based on gyroscope according to the present invention, gyroscope Specifically can periodically obtain, with the sampling time as cycle, the angular velocity that user terminal rotates.Gyro in various embodiments of the present invention Instrument can be based on microelectromechanical systems (Micro Electro Mechanical systems, hereinafter referred to as: MEMS) skill Art manufacture MEMS gyroscope (gyroscope), its utilize micro mechanical technology process in silicon chip substrate one rotating Structure.The tangential force that MEMS gyroscope utilizes Coriolis force rotating object suffered when there being radial motion carrys out work.
Fig. 4 is a gyroscope relation schematic diagram radially and between Coriolis force direction in the embodiment of the present invention.As Shown in Fig. 4, set up dynamic coordinate system in space.The acceleration of curvilinear motion typically can be along following two Directional Decomposition: along rail (referred to as: radially), Coriolis acceleration is tangentially for the tangential direction (referred to as: tangential) of mark and vertical tangent lines direction.Footpath Coriolis force direction all it is perpendicular to acceleration and centripetal acceleration, but in opposite direction.Radial direction is by the center of curvature (that is: the center of circle) is outwardly directed.Calculate acceleration by below equation and can obtain three, respectively from radially accelerated, Ke Liao Profit acceleration and centripetal acceleration:
r → = r r 0 →
v 0 → = ω 0 → × r 0 →
d r → d t = v r r 0 → + r d r 0 → d t = v r r 0 → - r r 0 → × ω →
d 2 r → dt 2 = α r r 0 → - 2 v r r 0 → × ω → - ωr 2 r 0 →
α C o r i o l i s = - 2 v r r 0 → × ω →
Wherein, r sweep;vrFor linear velocity, namely radial velocity;ω is angular velocity;αcoriolisFor Coriolis force. αrFor radial acceleration.For radial direction unit vector,For linear velocity unit vector,For angular velocity unit vector.
If object does not has radial motion on disk, Coriolis force would not produce.Fig. 5 is in the embodiment of the present invention One schematic diagram of single axis gyroscope.Fig. 6 be gyroscope Coriolis force in the embodiment of the present invention, angular velocity, the direction of motion it Between a relation schematic diagram.Therefore, in the design of MEMS gyroscope, inside it, there is individual object to be driven, the most back and forth Do radial motion or concussion, such as driving shown in the direction of motion in concussion direction or Fig. 6 in Fig. 5.Section correspondingly Li Aolili the most laterally (as the sensing in Fig. 5 is shaken shown in direction, is becoming 90 degree with driving force;And as in Fig. 6 Shown in Coriolis force direction) change back and forth, and there is a possibility that object is laterally making small concussion, phase place just with driving force (the driving concussion direction in Fig. 5 or the direction of motion in Fig. 6) becomes 90 degree.
MEMS gyroscope is usually provided with the removable capacitor board of radial direction and horizontal both direction.Wherein, electricity radially Hold plate and add concussion voltage along driving concussion direction, force object to make radial motion and (Fig. 5 drives vibrations direction, is somewhat like accelerating Self-testing mode in degree meter), horizontal capacitor board measures the capacitance variations brought due to horizontal Coriolis (in Fig. 5 Sensing concussion direction, as accelerometer measures acceleration).Computing formula according to Coriolis force Understand Coriolis force and be proportional to the angular velocity that object rotates, i.e. user terminal rotation in the embodiment of the present invention The angular velocity turned, understands F=kx according to physics principle, wherein, k be coefficient of elasticity, x be displacement.Public by the calculating of electric capacity Formula, it is known thatWherein, ε is dielectric constant, and c is capacitance, and A is the cross-sectional area of capacitor board, and x is between capacitor board Distance.
Thus, the change c of capacitance the displacement x that can obtain capacitor board, displacement x can obtain suffered by object Power F, this power is Coriolis force αcoriolis.Capacitor board radially along the concussion voltage driving concussion direction to apply it is known that Object makees movement velocity vr of radial motion it is known that by Coriolis force, based on formula The angular velocity omega of object of which movement can be obtained.Therefore, the change of the capacitance that MEMS gyroscope is obtained by horizontal capacitor board measurement Change c and can obtain angular velocity size ω of object of which movement.In the embodiment of the present invention, MEMS gyroscope specifically can be with the sampling time For cycle, angular velocity size ω that periodically acquisition user terminal rotates.
Fig. 7 is the present invention based on the gyroscope flow chart to light target another embodiment of moving processing method.Such as Fig. 7 institute Showing, light target moving processing method is included by this embodiment based on gyroscope:
201, MEMS gyroscope, with the sampling time as cycle, periodically obtains the angular velocity that user terminal rotates.
Exemplarily, MEMS gyroscope uses three-axis gyroscope, if respectively along three directions of length of user terminal Formed space coordinates O-XYZ, MEMS gyroscope with the sampling time as cycle, X, Y, Z in taken at regular intervals space coordinates O-XYZ Three axial angular velocity signals, and the simulation angular velocity signal that this is collected be converted to numeral angular velocity signal export to use Operating system unit in the terminal of family.
202, the operating system unit operating system unit in user terminal identifies whether to be under editing mode.In response to It is under editing mode, performs the operation of 203.Otherwise, if being not under editing mode, the subsequent flows of the present embodiment is not performed Journey.
203, operating system unit, with the sampling time as cycle, obtains, from gyroscope, the angular velocity that user terminal rotates.
204, the angular velocity that operating system unit obtains based on gyroscope and the sampling time of gyroscope, obtain this user eventually The angle that end rotates.
After acquiring, by gyroscope, the angular velocity that user terminal rotates, by this angular velocity integration within the sampling time, The angle that user terminal rotates can be obtained.Wherein the sampling time of gyroscope can preset according to practical situations, such as, 0.1 second, 0.5 second etc., follow-up can be updated according to the actual requirements.
205, whether operating system unit identification angular velocity reaches pre-conditioned with angle.Reach with angle in response to angular velocity To pre-conditioned, perform the operation of 206.Otherwise, the follow-up flow process of the present embodiment is not performed.
206, operating system unit direction based on angular velocity, utilize right-hand rule to obtain the direction of rotation of user terminal.
As shown in Figure 8, for an application schematic diagram of right-hand rule in the present invention.Thumb points to angular velocity direction, other Four refer to around be exactly object direction of rotation, namely the direction of rotation of user terminal in the embodiment of the present invention.
207, the cursor on editing interface is moved a unit along the direction of rotation that angular velocity is corresponding by operating system unit.
Fig. 9 is the present invention based on the gyroscope flow chart to light target another embodiment of moving processing method.Such as Fig. 9 institute Showing, light target moving processing method is included by this embodiment based on gyroscope:
301, MEMS gyroscope, with the sampling time as cycle, periodically obtains the angular velocity that user terminal rotates.
Exemplarily, MEMS gyroscope uses three-axis gyroscope, if respectively along three directions of length of user terminal Formed space coordinates O-XYZ, MEMS gyroscope with the sampling time as cycle, X, Y, Z in taken at regular intervals space coordinates O-XYZ Three axial angular velocity signals, and the simulation angular velocity signal that this is collected be converted to numeral angular velocity signal export to use Operating system unit in the terminal of family.
302, the operating system unit operating system unit in user terminal identifies whether to be under editing mode.In response to It is under editing mode, performs the operation of 303.Otherwise, if being not under editing mode, the subsequent flows of the present embodiment is not performed Journey.
303, operating system unit, with the sampling time as cycle, obtains, from gyroscope, the angular velocity that user terminal rotates.
304, the angular velocity that operating system unit obtains based on gyroscope and the sampling time of gyroscope, obtain this user eventually The angle that end rotates, and direction based on angular velocity, utilize right-hand rule to obtain the direction of rotation of user terminal.
After acquiring, by gyroscope, the angular velocity that user terminal rotates, by this angular velocity integration within the sampling time, The angle that user terminal rotates can be obtained.Wherein the sampling time of gyroscope can preset according to practical situations, such as, 0.1 second.
As shown in Figure 8, for an application schematic diagram of right-hand rule in the present invention.Thumb points to angular velocity direction, other Four refer to around be exactly object direction of rotation, namely the direction of rotation of user terminal in the embodiment of the present invention.
305, whether operating system unit identification angular velocity reaches pre-conditioned with angle.Reach with angle in response to angular velocity To pre-conditioned, perform the operation of 306.Otherwise, the follow-up flow process of the present embodiment is not performed.
306, the cursor on editing interface is moved a unit along the direction of rotation that angular velocity is corresponding by operating system unit.
In the various embodiments described above of the present invention, the cursor on editing interface is moved one along the direction of rotation that angular velocity is corresponding Unit specifically may is that user terminal direction of rotation to the left time, the cursor on editing interface is moved to the left a character; User terminal direction of rotation to the right time, move right a character by the cursor on editing interface;Rotation at user terminal Turn direction upwards time, the cursor on editing interface is moved up a line;When the direction of rotation of user terminal is downward, will editor Cursor on interface moves down a line.
Figure 10 is a user terminal direction of rotation schematic diagram to the left in the embodiment of the present invention.Figure 11 is that the present invention implements A user terminal direction of rotation space coordinates schematic diagram to the left in example.When needs by cursor to moving to left when, user with User terminal is rotated a certain angle by certain speed to the left.As user by user terminal to anticlockwise when, at Figure 11 In shown space coordinates, user terminal is to rotate counterclockwise with Y-axis for rotary shaft, and user terminal can obtain use by gyroscope The angular velocity that family terminal rotates along Y-axis, rotates hour angle velocity attitude counterclockwise consistent with Y direction, utilizes right-hand rule along Y-axis Judging the direction of rotation of user terminal, angular velocity was integrated obtaining the angle that user terminal rotates within the sampling time Degree.Angular velocity that operating system unit in user terminal rotates based on user terminal, angle, three parameters of direction of rotation, sense Should arrive the change of angular velocity and angle reach pre-conditioned after, cursor mobile process Left Arrow can be called, user rotates User terminal once moves a character, rotates and moves two characters for twice.
Figure 12 is a user terminal direction of rotation schematic diagram to the right in the embodiment of the present invention.Figure 13 is that the present invention implements A user terminal direction of rotation space coordinates schematic diagram to the right in example.When cursor is moved right by needs when, user with User terminal is rotated a certain angle to the right by certain speed.When user is by time dextrorotary for user terminal, at Figure 13 In shown space coordinates, user terminal is to turn clockwise with Y-axis for rotary shaft, and user terminal can obtain use by gyroscope The angular velocity that family terminal rotates along Y-axis, contrary with Y direction along the Y-axis hour angle velocity attitude that turns clockwise, utilize right-hand rule Judging the direction of rotation of user terminal, angular velocity was integrated obtaining the angle that user terminal rotates within the sampling time Degree.Angular velocity that operating system unit in user terminal rotates based on user terminal, angle, three parameters of direction of rotation, sense Should arrive the change of angular velocity and angle reach pre-conditioned after, Right Arrow, user's rotatable user terminal once moves one Character, rotates and moves two characters for twice.
Figure 14 is a user terminal direction of rotation schematic diagram upwards in the embodiment of the present invention.Figure 15 is that the present invention implements A user terminal direction of rotation space coordinates schematic diagram upwards in example.When cursor is upwards moved by needs when, user with User terminal is rotated up certain angle by certain speed.When user terminal is rotated up by user when, at Figure 15 In shown space coordinates, user terminal is to turn clockwise with X-axis for rotary shaft, and user terminal can obtain use by gyroscope The angular velocity that family terminal rotates along X-axis, rotates hour angle velocity attitude counterclockwise contrary with X-direction, utilizes right-hand rule along X-axis Judging the direction of rotation of user terminal, angular velocity was integrated obtaining the angle that user terminal rotates within the sampling time Degree.Angular velocity that operating system unit in user terminal rotates based on user terminal, angle, three parameters of direction of rotation, sense Should arrive the change of angular velocity and angle reach pre-conditioned after, move up cursor, user's rotatable user terminal once moves a line, Column position is constant, rotates and moves two row for twice.
Figure 16 is the schematic diagram that in the embodiment of the present invention, user terminal direction of rotation is downward.Figure 17 is that the present invention implements The space coordinates schematic diagram that in example, user terminal direction of rotation is downward.When needs by cursor to moving down when, user with User terminal is rotated down certain angle by certain speed.When user terminal is rotated down by user when, at Figure 17 In shown space coordinates, user terminal is to rotate counterclockwise with X-axis for rotary shaft, and user terminal can obtain use by gyroscope The angular velocity that family terminal rotates along X-axis, rotates hour angle velocity attitude counterclockwise consistent with X-direction, utilizes right-hand rule along X-axis Judging the direction of rotation of user terminal, angular velocity was integrated obtaining the angle that user terminal rotates within the sampling time Degree.Angular velocity that operating system unit in user terminal rotates based on user terminal, angle, three parameters of direction of rotation, sense Should arrive the change of angular velocity and angle reach pre-conditioned after, move down cursor, user's rotatable user terminal once moves a line, Column position is constant, rotates and moves two row for twice.
Along with the fast sale of iPhone 4, increasing user terminal the most built-in MEMS three-axis gyroscope, can come with perception Change from the angle of X, Y, Z axis six direction, the action rotated, deflect can be done well measurement, in the embodiment of the present invention Utilizing the gyroscope that user terminal is built-in, Accurate Analysis judges the spinning movement of user to user terminal, then according to user Action, user terminal is done corresponding cursor and moves operation.When user terminal " perception " reaches to its rotational angle with angular velocity During to condition set in advance, cursor corresponding to number of times is moved in the direction just rotated according to user terminal.
Figure 18 is the present invention based on the gyroscope structural representation to light one embodiment of target mobile process system.This is real Execute example based on gyroscope, light target mobile process system to be arranged in user terminal, can be used for realizing the present invention above-mentioned respectively based on The gyroscope flow process to light target moving processing method embodiment.As shown in figure 18, it includes gyroscope and operating system unit.
Wherein, operating system unit, it is used for when this operating system unit is in user terminal rotation under editing mode, from Gyroscope obtains the angular velocity that user terminal rotates;In the sampling time based on angular velocity Yu gyroscope, obtain user terminal and rotate Angle;Reach pre-conditioned in response to angular velocity and angle, by the cursor on editing interface along rotation side corresponding to angular velocity To a mobile unit.
Gyroscope, for the sampling time as cycle, periodically obtains the angular velocity that user terminal rotates.
The above embodiment of the present invention provide based on gyroscope in light target mobile process system, rotate at user terminal Time, if the operating system unit in user terminal is in editing mode, then utilize gyroscope to obtain the angle speed that user terminal rotates Degree, in the operating system unit sampling time based on this angular velocity Yu gyroscope, obtains the angle that user terminal rotates, and user When the angular velocity of terminal rotating and angle reach pre-conditioned, operating system unit is fast along described angle by the cursor on editing interface The direction of rotation that degree is corresponding moves a unit.The embodiment of the present invention calculates user terminal based on gyroscope with operating system unit The angular velocity rotated and angle, and control cursor based on this angular velocity and angle and move a unit, it is achieved thereby that to touching Touch the accurate control that on-screen cursor moves, it is achieved that light target accurately moves, and, it is real that user only needs rotatable user terminal to get final product Now light target moves, it is not necessary to cursor is moved in user's manual operation, simplifies the operation of user.
Unrestricted to an example of light target mobile process system based on gyroscope according to the present invention, and in the present invention State moving processing method embodiment corresponding, operating system unit, it is also possible to be used for identifying whether to be under editing mode;Response In being under editing mode, with the sampling time as cycle, obtain, from gyroscope, the angular velocity that user terminal rotates.
Unrestricted, with the present invention to another example of light target mobile process system based on gyroscope according to the present invention Above-mentioned moving processing method embodiment is corresponding, operating system unit, it is also possible to for obtaining the angle that user terminal rotates Time, direction based on angular velocity, utilize right-hand rule to obtain the direction of rotation of user terminal;Identify whether angular velocity reaches with angle To pre-conditioned;Reach pre-conditioned in response to angular velocity and angle, start to perform the cursor on editing interface along rotation side Operation to a mobile unit.Or, operating system unit, it is also possible to for obtain user terminal rotate angle it After, identify whether angular velocity reaches pre-conditioned with angle;Reach pre-conditioned in response to angular velocity and angle, based on angular velocity Direction, utilize right-hand rule to obtain the direction of rotation of user terminal, and perform the cursor on editing interface along angular velocity pair The direction of rotation answered moves the operation of a unit.
Unrestricted, with the present invention to another example of light target mobile process system based on gyroscope according to the present invention Above-mentioned moving processing method embodiment is corresponding, operating system unit by the cursor on editing interface along rotation corresponding to angular velocity When a unit is moved in direction, specifically user terminal direction of rotation to the left time, by the cursor on editing interface to moving to left A dynamic character;User terminal direction of rotation to the right time, move right a character by the cursor on editing interface;With The direction of rotation of family terminal upwards time, the cursor on editing interface is moved up a line;User terminal direction of rotation to Time lower, the cursor on editing interface is moved down a line.
Exemplarily, the gyroscope in the mobile process of the various embodiments described above of the present invention can be three single axis gyroscopes, The angular velocity direction that these three single axis gyroscope obtains is respectively along the space formed with three directions of length of user terminal Three directions of coordinate system, the effect superposition spatially of three single axis gyroscopes, a three-axis gyroscope can be formed.Or Person, the gyroscope in the mobile process of the various embodiments described above of the present invention can also be a three-axis gyroscope, this three-axis gyroscope Three the angular velocity directions obtained, respectively along three of the space coordinates formed with three directions of length of user terminal Direction.
The embodiment of the present invention additionally provides a kind of user terminal, and it can include the base that the various embodiments described above of the present invention provide In gyroscope to light target mobile process system.User terminal in various embodiments of the present invention, can be mobile terminal, it is also possible to Being other terminal, such as, individual's palm PC, MP5, electricity paper book etc. arbitrarily have the terminal of software for editing function,
The above embodiment of the present invention provide user terminal when rotated, if the operating system unit in user terminal is in Editing mode, then utilize gyroscope to obtain the angular velocity that user terminal rotates, and operating system unit is based on this angular velocity and gyro In the sampling time of instrument, obtain the angle that user terminal rotates, and the angular velocity rotated at user terminal reaches to preset bar with angle During part, the cursor on editing interface is moved a unit along the direction of rotation that described angular velocity is corresponding by operating system unit.This Inventive embodiments calculates, based on gyroscope and operating system unit, angular velocity and the angle that user terminal rotates, and based on this angle speed Degree and angle control cursor and move a unit, it is achieved thereby that to touching the accurate control that on-screen cursor moves, it is achieved that Light target accurately moves, and, user only needs rotatable user terminal can realize light target to move, it is not necessary to user's manual operation moves Dynamic cursor, simplifies the operation of user.
In this specification, each embodiment all uses the mode gone forward one by one to describe, and what each embodiment stressed is and it The difference of its embodiment, same or analogous part cross-reference between each embodiment.For device embodiment For, due to itself and embodiment of the method basic simlarity, so describe is fairly simple, relevant part sees the portion of embodiment of the method Defend oneself bright.
One of ordinary skill in the art will appreciate that: all or part of step realizing said method embodiment can be passed through The hardware that programmed instruction is relevant completes, and aforesaid program can be stored in a computer read/write memory medium, this program Upon execution, perform to include the step of said method embodiment;And aforesaid storage medium includes: ROM, RAM, magnetic disc or light The various medium that can store program code such as dish.
The embodiment of the present invention calculates, based on gyroscope and operating system unit, angular velocity and the angle that user terminal rotates, and Control cursor based on this angular velocity and angle and move a unit, it is achieved thereby that to touching the accurate control that on-screen cursor moves System, it is achieved that light target accurately moves, and, user only needs rotatable user terminal can realize light target to move, it is not necessary to user Cursor is moved in manual operation, simplifies the operation of user.
Description of the invention is given for example with for the sake of describing, and is not exhaustively or by the present invention It is limited to disclosed form.Many modifications and variations are obvious for the ordinary skill in the art.Select and retouch Stating embodiment is in order to the principle of the present invention and actual application are more preferably described, and enables those of ordinary skill in the art to manage Solve the present invention thus design the various embodiments with various amendments being suitable to special-purpose.

Claims (12)

1. one kind based on gyroscope to light target moving processing method, it is characterised in that including:
When operating system unit in user terminal is in user terminal rotation under editing mode, obtain user terminal from gyroscope The angular velocity rotated;
In the operating system unit sampling time based on described angular velocity Yu described gyroscope, obtain the angle that user terminal rotates;
Reaching pre-conditioned in response to described angular velocity with described angle, described operating system unit is by the cursor on editing interface A unit is moved, wherein along the direction of rotation that described angular velocity is corresponding:
Direction of rotation to the left time, the cursor on editing interface is moved to the left a character;
Direction of rotation to the right time, move right a character by the cursor on editing interface;
Direction of rotation upwards time, the cursor on editing interface is moved up a line;
When direction of rotation is downward, the cursor on editing interface is moved down a line.
Method the most according to claim 1, it is characterised in that also include:
Gyroscope, with the described sampling time as cycle, periodically obtains the angular velocity that user terminal rotates.
Method the most according to claim 2, it is characterised in that also include:
Operating system unit identifies whether to be under editing mode;
In response to being under editing mode, described operating system unit, with the described sampling time as cycle, obtains from gyroscope and uses The angular velocity of family terminal rotating.
Method the most according to claim 3, it is characterised in that also include:
When operating system unit obtains the angle that user terminal rotates, it is additionally based upon the direction of described angular velocity, utilizes right-hand rule Obtain the direction of rotation of described user terminal;
Described in operating system unit identification, whether angular velocity and described angle reach pre-conditioned;
Reach pre-conditioned in response to described angular velocity with described angle, perform described operating system unit by editing interface Cursor moves the operation of a unit along described direction of rotation.
Method the most according to claim 3, it is characterised in that after obtaining the angle that user terminal rotates, also include:
Described in operating system unit identification, whether angular velocity and described angle reach pre-conditioned;
Reach pre-conditioned in response to described angular velocity with described angle, operating system unit direction based on described angular velocity, Utilize right-hand rule to obtain the direction of rotation of described user terminal, and perform described that cursor on editing interface is fast along described angle The direction of rotation that degree is corresponding moves the operation of a unit.
6. based on gyroscope to a light target mobile process system, it is arranged in user terminal, it is characterised in that described movement Processing system includes gyroscope and operating system unit;
Operating system unit, when user terminal under being in editing mode rotates, obtains user terminal from gyroscope and rotates Angular velocity;In the sampling time based on described angular velocity Yu described gyroscope, obtain the angle that user terminal rotates;In response to institute State angular velocity and reach pre-conditioned with described angle, the cursor on editing interface is moved along the direction of rotation that described angular velocity is corresponding A dynamic unit, wherein, direction of rotation to the left time, the cursor on editing interface is moved to the left a character;In rotation side To the right time, move right a character by the cursor on editing interface;Direction of rotation upwards time, by the light on editing interface Mark moves up a line;When direction of rotation is downward, the cursor on editing interface is moved down a line;
Described gyroscope, for the described sampling time as cycle, periodically obtains the angular velocity that user terminal rotates.
System the most according to claim 6, it is characterised in that described operating system unit, is additionally operable to identify whether to be in Under editing mode;In response to being under editing mode, with the described sampling time as cycle, obtain user terminal from gyroscope and rotate Angular velocity.
System the most according to claim 7, it is characterised in that described operating system unit, is additionally operable to obtaining user eventually During the angle that end rotates, direction based on described angular velocity, utilize right-hand rule to obtain the direction of rotation of described user terminal;Know Whether the most described angular velocity and described angle reach pre-conditioned;Reach to preset bar in response to described angular velocity and described angle Part, starts to perform the described operation that cursor on editing interface moves a unit along described direction of rotation.
System the most according to claim 7, it is characterised in that described operating system unit, is additionally operable to obtaining user eventually After the angle that end rotates, identify whether described angular velocity and described angle reach pre-conditioned;In response to described angular velocity with Described angle reaches pre-conditioned, direction based on described angular velocity, utilizes right-hand rule to obtain the rotation of described user terminal Direction, and perform the described behaviour that cursor on editing interface is moved a unit along the direction of rotation that described angular velocity is corresponding Make.
System the most according to claim 6, it is characterised in that described gyroscope is three single axis gyroscopes, three single shafts The angular velocity direction that gyroscope obtains is respectively along the space coordinates formed with three directions of length of described user terminal Three directions.
11. systems according to claim 6, it is characterised in that described gyroscope is a three-axis gyroscope, this three axles top Three angular velocity directions that spiral shell instrument obtains, respectively along the space coordinates formed with three directions of length of described user terminal Three directions of system.
12. 1 kinds of user terminals, it is characterised in that include described in claim 6 to 11 any one based on gyroscope to light Target mobile process system.
CN201110443233.5A 2011-12-27 2011-12-27 Based on gyroscope to light target moving processing method and system, user terminal Active CN103186255B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110443233.5A CN103186255B (en) 2011-12-27 2011-12-27 Based on gyroscope to light target moving processing method and system, user terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110443233.5A CN103186255B (en) 2011-12-27 2011-12-27 Based on gyroscope to light target moving processing method and system, user terminal

Publications (2)

Publication Number Publication Date
CN103186255A CN103186255A (en) 2013-07-03
CN103186255B true CN103186255B (en) 2016-08-10

Family

ID=48677454

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110443233.5A Active CN103186255B (en) 2011-12-27 2011-12-27 Based on gyroscope to light target moving processing method and system, user terminal

Country Status (1)

Country Link
CN (1) CN103186255B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103365434B (en) * 2013-08-02 2016-08-17 崔一郎 Mobile terminal method of sight
CN104618587A (en) * 2015-01-19 2015-05-13 诚迈科技(南京)股份有限公司 Method for operating large screen moving device through gyro
CN105681573A (en) * 2016-02-22 2016-06-15 努比亚技术有限公司 Mobile terminal and control method thereof
CN105929983A (en) * 2016-04-22 2016-09-07 北京奇艺世纪科技有限公司 Operation method and device of mobile equipment
CN112306257A (en) * 2020-11-06 2021-02-02 维沃移动通信有限公司 Character deleting method and device and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1760822A (en) * 2004-10-15 2006-04-19 日本电气株式会社 Portable terminal and display control method thereof
CN101398721A (en) * 2007-09-26 2009-04-01 昆盈企业股份有限公司 Control method for moving speed of cursor of air mouse
CN102289306A (en) * 2011-08-30 2011-12-21 江苏惠通集团有限责任公司 Attitude sensing equipment and positioning method thereof as well as method and device for controlling mouse pointer

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1049290A (en) * 1996-08-05 1998-02-20 Sony Corp Device and method for processing information
US6690354B2 (en) * 2000-11-19 2004-02-10 Canesta, Inc. Method for enhancing performance in a system utilizing an array of sensors that sense at least two-dimensions

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1760822A (en) * 2004-10-15 2006-04-19 日本电气株式会社 Portable terminal and display control method thereof
CN101398721A (en) * 2007-09-26 2009-04-01 昆盈企业股份有限公司 Control method for moving speed of cursor of air mouse
CN102289306A (en) * 2011-08-30 2011-12-21 江苏惠通集团有限责任公司 Attitude sensing equipment and positioning method thereof as well as method and device for controlling mouse pointer

Also Published As

Publication number Publication date
CN103186255A (en) 2013-07-03

Similar Documents

Publication Publication Date Title
CN102289306B (en) Attitude sensing equipment and positioning method thereof as well as method and device for controlling mouse pointer
CN103186255B (en) Based on gyroscope to light target moving processing method and system, user terminal
CN103776451B (en) A kind of high-precision three-dimensional attitude inertial measurement system based on MEMS and measuring method
US7683883B2 (en) 3D mouse and game controller based on spherical coordinates system and system for use
CN105806367B (en) Gyro free inertia system error calibrating method
CN101178615A (en) Gesture, movement induction system and portable electronic apparatus using same
CN106153073B (en) A kind of nonlinear initial alignment method of full posture Strapdown Inertial Navigation System
Zhilenkov et al. Based on MEMS sensors man-machine interface for mechatronic objects control
CN103940442A (en) Location method and device adopting accelerating convergence algorithm
CN104154915A (en) Audio operating method based on intelligent wearable device and intelligent wearable device
CN103874904A (en) Offset estimation device, offset estimation method, offset estimation program and information processing device
CN109030867A (en) The method and apparatus for calculating angular speed using acceleration transducer and geomagnetic sensor
CN107532907A (en) Posture detection equipment
US8797262B2 (en) Method of sensing motion in three-dimensional space
CN103868648A (en) Barycenter measuring method for three-axis air floatation simulation experiment platform
Jamil et al. Vibration data acquisition and visualization system using MEMS accelerometer
TW201118662A (en) Trace-generating systems and methods thereof
Pryss et al. Enabling tracks in location-based smart mobile augmented reality applications
CN105303201A (en) Method and system for performing handwriting identification based on action sensing
CN102306054A (en) Attitude sensing equipment and positioning method and device thereof and method and device for controlling mouse pointer
CN103884868B (en) A kind of six-dimension acceleration acquisition method
CN104197931A (en) Three-dimensional display device of miniature navigation attitude system based on FPGA (Field Programmable Gate Array)
CN109690449A (en) Location determination techniques for virtual reality system
CN105716612A (en) Method for designing strapdown inertial navigation system simulator
CN107167127A (en) A kind of attitude of carrier acquisition methods, device and equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant