CN106155529A - Method for controlling mobile terminal and mobile terminal - Google Patents

Method for controlling mobile terminal and mobile terminal Download PDF

Info

Publication number
CN106155529A
CN106155529A CN201510167127.7A CN201510167127A CN106155529A CN 106155529 A CN106155529 A CN 106155529A CN 201510167127 A CN201510167127 A CN 201510167127A CN 106155529 A CN106155529 A CN 106155529A
Authority
CN
China
Prior art keywords
mobile terminal
displacement data
mouse
mouse pointer
data
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.)
Withdrawn
Application number
CN201510167127.7A
Other languages
Chinese (zh)
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201510167127.7A priority Critical patent/CN106155529A/en
Priority to PCT/CN2016/074371 priority patent/WO2016161851A1/en
Publication of CN106155529A publication Critical patent/CN106155529A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor

Abstract

The invention discloses a kind of method for controlling mobile terminal, described method for controlling mobile terminal comprises the following steps: obtain the displacement data of mobile terminal;According to the mapping relations of preset displacement data Yu the location parameter of mouse pointer, obtain the location parameter of mouse pointer;Described location parameter according to the mouse pointer got moves mouse pointer.The invention also discloses a kind of mobile terminal.The present invention can improve the operation accuracy of mobile terminal.

Description

Method for controlling mobile terminal and mobile terminal
Technical field
The present invention relates to intelligent terminal's technical field, particularly relate to a kind of method for controlling mobile terminal and movement Terminal.
Background technology
Along with developing rapidly of internet technique and mobile communication network technology, mobile phone, panel computer, The mobile terminals such as intelligent watch have become as popular requisite carry-on articles.It is well known that it is mobile Terminal is in order to meet certain portability, and its screen size is typically small.Mobile terminal is running browser When application or the application of some other high definition, in order to show more content, the webpage chain of its display Connect or button is smaller.When button during user needs webpage clicking, often it is difficult to accurately Click the button that mobile terminal shows.Although prior art can scale regional area, but amplifies net May result in page layout during page abnormal, can not find the situation such as particular location in this region.Prior art The operation accuracy of middle mobile terminal is relatively low.
Summary of the invention
Present invention is primarily targeted at a kind of method for controlling mobile terminal of offer and mobile terminal, it is intended to carry The operation accuracy of high mobile terminal.
For achieving the above object, the present invention provides a kind of method for controlling mobile terminal, described mobile terminal control Method processed comprises the following steps:
Obtain the displacement data of mobile terminal;
According to the mapping relations of preset displacement data Yu the location parameter of mouse pointer, obtain mouse pointer Location parameter;
Described location parameter according to the mouse pointer got moves mouse pointer.
Preferably, the step of the displacement data of described acquisition mobile terminal includes:
When detecting the control instruction triggering mobile terminal mouse mode of user's input, obtain mobile whole The displacement data of end.
Preferably, the step of the displacement data of described acquisition mobile terminal includes:
The displacement data that angular-rate sensor gathers is obtained at interval of the first preset time, and at interval of second Preset time obtains the displacement data that direction sensor gathers;Described second preset time is described first pre- Put the integral multiple of time;
The displacement number that described angular-rate sensor is gathered by the displacement data gathered based on described direction sensor According to being modified, and using revised displacement data as the displacement data of described mobile terminal.
Preferably, described method for controlling mobile terminal also includes:
When detecting the point touching operation that user's default screen area based on mobile terminal triggers, base In the mapping relations of default screen area with click operation, perform to trigger the operation of described point touching The click operation that screen area is corresponding.
Preferably, described method for controlling mobile terminal also includes:
Obtain the acceleration information that acceleration transducer gathers;
Mapping relations based on predetermined acceleration data with click operation, perform the acceleration number of degrees gathered According to corresponding click operation.
Additionally, for achieving the above object, the present invention also provides for a kind of mobile terminal, described mobile terminal bag Include:
Sensor data acquisition module, for obtaining the displacement data of mobile terminal;
Mouse position computing module, for reflecting of the location parameter according to preset displacement data and mouse pointer Penetrate relation, obtain the location parameter of mouse pointer;
Mouse control module, institute's rheme of the mouse pointer for getting according to mouse position computing module Put parameter and move mouse pointer.
Preferably, the triggering that described sensor data acquisition module is additionally operable to detecting user's input is moved During the control instruction of terminal mouse pattern, obtain the displacement data of mobile terminal.
Preferably, described sensor data acquisition module includes:
Data acquisition unit, for obtaining, at interval of the first preset time, the displacement that angular-rate sensor gathers Data, and obtain, at interval of the second preset time, the displacement data that direction sensor gathers;Described second pre- The time of putting is the integral multiple of described first preset time;
Data correction unit, for the displacement data that gathers based on described direction sensor to described angular velocity The displacement data of sensor acquisition is modified, and using revised displacement data as described mobile terminal Displacement data.
Preferably, described mouse control module is additionally operable to preset screen based on mobile terminal detecting user When the point touching of area triggering operates, mapping relations based on default screen area with click operation, Perform the click operation that the screen area of triggering described point touching operation is corresponding.
Preferably, described mouse control module is additionally operable to obtain the acceleration information that acceleration transducer gathers; And based on predetermined acceleration data and the mapping relations of click operation, perform the acceleration number of degrees gathered According to corresponding click operation.
The present invention is by obtaining the displacement data of mobile terminal;According to preset displacement data and mouse pointer The mapping relations of location parameter, obtain the location parameter of mouse pointer;According to the mouse pointer got Described location parameter moves mouse pointer.Compared to prior art, the operation accuracy of mobile terminal is relatively low Problem, mobile terminal is invented mouse by the present invention, moves and realizes mouse by controlling mobile terminal and refer to The accurate of pin is moved, on the basis of maintaining mobile terminal portability, it is possible to be effectively improved mobile terminal Operation accuracy.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of method for controlling mobile terminal first embodiment of the present invention;
Fig. 2 is the coordinate system exemplary plot in method for controlling mobile terminal of the present invention;
Fig. 3 is the mobile terminal UI exemplary plot in method for controlling mobile terminal of the present invention;
Fig. 4 is the functional module structure schematic diagram of mobile terminal first embodiment of the present invention.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, do referring to the drawings further Explanation.
Detailed description of the invention
Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not used to limit Determine the present invention.
The present invention provides a kind of method for controlling mobile terminal, with reference to Fig. 1, in mobile terminal controlling party of the present invention In the first embodiment of method, this method for controlling mobile terminal includes:
Step S10, obtains the displacement data of mobile terminal;
In prior art, in order to solve the inaccurate problem of the operation of mobile terminal, by bluetooth or OTG Entity mouse is set up communication connection with mobile terminal, it is achieved precise manipulation.It is well known that it is mobile whole End is famous with portability, but extra entity mouse will have a strong impact on its portability, the most easy-to-use Property.In view of this, the method for controlling mobile terminal that the present embodiment provides is mainly used in mobile phone, flat board electricity The mobile terminals such as brain, PDA (Personal Digital Assistant, personal digital assistant), intelligent watch, Such as, mobile phone analog information mouse pointer on its screen, when user moves horizontally mobile phone or vertically moves During mobile phone, it is possible to as the identically controlled mouse pointer of application entity mouse moves, it is achieved mouse pointer accurate Location.
Specifically, the displacement data of the preset sensor acquisition in acquisition mobile terminal, and by described preset The displacement data of sensor acquisition is as the displacement data of described mobile terminal.Described preset sensor is permissible It is angular-rate sensor, it is also possible to be direction sensor, based on the degree of accuracy that angular-rate sensor is higher, The present embodiment preferably employs angular-rate sensor as described preset sensor.With reference to Fig. 2, in Fig. 2 institute In the coordinate system shown, need to obtain its displacement in X-axis and Z-direction that angular-rate sensor gathers Data.
Step S20, according to the mapping relations of preset displacement data Yu the location parameter of mouse pointer, obtains Mus The location parameter of mark pointer;
Based on the coordinate system shown in Fig. 2, the location parameter of above-mentioned mouse pointer includes its seat in X-axis Scale value MxWith the coordinate figure M in Y-axisy.Here to calculate the mouse pointer coordinate figure M in X-axisxFor Example illustrates:
Specifically, using 10ms as a unit of time, with time express time unit count,
When time=0, get angular-rate sensor value X in X-axis0,
Mx=X0
When time=1, get angular-rate sensor value X in X-axis1,
Mx=Mx+(X1-X0)·0.01;
When time=2, get angular-rate sensor value X in X-axis2,
Mx=Mx+(X2-X1)·0.01;
……
When time=n, get angular-rate sensor value X in X-axisn,
Mx=Mx+(Xn-Xn-1)·0.01。
In like manner, mouse pointer seat in Y-axis can be calculated according to angular-rate sensor value on Z axis Scale value My, here is omitted.
It will be appreciated by persons skilled in the art that and obtain the most preset sensing at interval of above-mentioned unit of time The displacement data that device gathers, and the location parameter of mouse pointer is calculated according to the described displacement data obtained. By selecting different unit of time, the degree of accuracy that mouse pointer moves can be adjusted.In the present embodiment, User can be referred to realize mouse by arranging above-mentioned unit of time by the specific interface that mobile terminal provides Pin moves the adjustment of degree of accuracy.
Step S30, moves mouse pointer according to the described location parameter of the mouse pointer got.
Those skilled in the art's it is understood that based on the above-mentioned mouse pointer got in Fig. 2 institute Show X-axis coordinate figure M in coordinate systemxWith Y-axis coordinate figure My, mouse pointer is moved to (Mx, My) Corresponding position, i.e. the position of user's anticipated movement mouse pointer.In the present embodiment, whenever mouse pointer Location parameter when having renewal, move mouse pointer according to the described location parameter of the mouse pointer updated, To realize the precise manipulation of mobile terminal.The most often perform step S10, perform step S20 by step The displacement data of the preset sensor acquisition that S10 obtains is converted to the location parameter of mouse pointer, and performs Step S30 moves mouse pointer according to the described location parameter of mouse pointer.
The method for controlling mobile terminal that the embodiment of the present invention proposes, by obtaining the displacement data of mobile terminal; According to the mapping relations of preset displacement data Yu the location parameter of mouse pointer, obtain the position of mouse pointer Parameter;Described location parameter according to the mouse pointer got moves mouse pointer.Compared to existing skill Art, the problem that the operation accuracy of mobile terminal is relatively low, mobile terminal is invented mouse by the present invention, logical Cross control mobile terminal and move the accurate movement realizing mouse pointer, at the base maintaining mobile terminal portability On plinth, it is possible to be effectively improved the operation accuracy of mobile terminal.
Additionally, based on above-described embodiment, it will be appreciated by persons skilled in the art that and the present invention is moved After the mobile terminal of terminal control method application sets up communication connection with other intelligent terminal, user trigger The mouse mode of mobile terminal, it is possible to other intelligent terminal's mouses as described in application entity mouse is identically controlled The movement of pointer, and then other intelligent terminal described are accurately controlled.
Further, based on first embodiment, the second enforcement of method for controlling mobile terminal of the present invention is proposed Example, in the present embodiment, above-mentioned steps S10 includes:
When detecting the control instruction triggering mobile terminal mouse mode of user's input, obtain mobile whole The displacement data of end.
It should be noted that the difference of the present embodiment and first embodiment is, in the present embodiment, by with Family chooses whether mobile terminal is invented mouse.Specifically, with reference to Fig. 3, when user keeps touching Fig. 3 During shown movable button, will trigger the mouse mode of mobile terminal, angular-rate sensor is started working.
It will be appreciated by persons skilled in the art that the mouse that can trigger mobile terminal in several ways Pattern, it can be by mobile terminal factory pre-set, it is possible to needed to be configured according to self by user.Additionally, The present embodiment triggers the mouse mode of mobile terminal by certain user operation, and mouse can either be avoided to refer to Pin positional fault, has saved the power consumption of mobile terminal the most to a certain extent.
Further, in order to improve the operation accuracy of mobile terminal further, based on first embodiment, 3rd embodiment of method for controlling mobile terminal of the present invention, in the present embodiment, above-mentioned steps S10 are proposed Including:
The displacement data that angular-rate sensor gathers is obtained at interval of the first preset time, and at interval of second Preset time obtains the displacement data that direction sensor gathers;Described second preset time is described first pre- Put the integral multiple of time;
The displacement number that described angular-rate sensor is gathered by the displacement data gathered based on described direction sensor According to being modified, and using revised displacement data as the displacement data of described mobile terminal.
Although it should be noted that the degree of accuracy of angular-rate sensor is higher, but significantly moving user During mobile terminal, if only relying on the position ginseng of the displacement data calculating mouse pointer that angular-rate sensor gathers Number, the problem that mouse pointer sideslip may be there is.In view of this, in the present embodiment, at interval of first Preset time obtains the displacement data that angular-rate sensor gathers, and at interval of the second preset time acquisition side To the displacement data of sensor acquisition;Described second preset time is the integral multiple of described first preset time; The displacement data that described angular-rate sensor is gathered by the displacement data gathered based on described direction sensor enters Row is revised, and using revised displacement data as the displacement data of described mobile terminal.Specifically, with Calculate the mouse pointer coordinate figure M in X-axis shown in Fig. 2xAs a example by illustrate:
Using 10ms as a unit of time, with time express time unit count,
When time=0, get direction sensor value x in X-axis0, and get angular velocity sensing Device value X in X-axis0,
Mx=x0
When time=1, get angular-rate sensor value X in X-axis1,
Mx=Mx+(X1-X0)·0.01;
When time=2, get angular-rate sensor value X in X-axis2,
Mx=Mx+(X2-X1)·0.01;
……
When time=n (n < 10), get angular-rate sensor value X in X-axisn,
Mx=Mx+(Xn-Xn-1)·0.01;
When time=10, get direction sensor value x in X-axis10, and get angular velocity biography Sensor value X in X-axis10,
Mx=x10
When time=11, get angular-rate sensor value X in X-axis11,
Mx=Mx+(X11-X10)·0.01;
……
When time=10 n, get direction sensor value x in X-axis10n, and get angular velocity Sensor value X in X-axis10n,
Mx=x10n
In like manner, the value on Z axis shown in Fig. 2 can calculate according to angular-rate sensor and direction sensor Mouse pointer coordinate figure M in Y-axisy, here is omitted.
It will be appreciated by persons skilled in the art that by above-mentioned first preset time of adjustment and second preset The multiple proportion of time, it is possible to realize mouse pointer is moved the adjustment of degree of accuracy.
Embodiment of the present invention displacement data based on angular-rate sensor collection realizes the accurate shifting of mouse pointer Move and control, and displacement data based on direction sensor collection carries out position correction to mouse pointer, it is possible to Improve the operation accuracy of mobile terminal further.
Further, based on first, second or the 3rd embodiment, mobile terminal controlling party of the present invention is proposed 4th embodiment of method, in the present embodiment, described method for controlling mobile terminal also includes:
When detecting the point touching operation that user's default screen area based on mobile terminal triggers, base In the mapping relations of default screen area with click operation, perform to trigger the operation of described point touching The click operation that screen area is corresponding.
It is well known that mouse is in addition to the most mobile control being capable of mouse pointer, another weight The function wanted is exactly clicking operation.With reference to Fig. 3, in the present embodiment, press when user clicks on the left side shown in Fig. 3 During button, it is achieved the function that left mouse button is clicked on;When user double-clicks the left button shown in Fig. 3, it is achieved Mus The function of mark left double click;When user clicks on the right button shown in Fig. 3, it is achieved click by mouse right button Function.It should be noted that aforementioned left and right and movable button can be by user according to reality in the position of screen Border needs to be configured.
Further, based on first, second or the 3rd embodiment, mobile terminal controlling party of the present invention is proposed 5th embodiment of method, in the present embodiment, described method for controlling mobile terminal also includes:
Obtain the acceleration information that acceleration transducer gathers;
Mapping relations based on predetermined acceleration data with click operation, perform the acceleration number of degrees gathered According to corresponding click operation.
In the present embodiment, need to obtain the acceleration number of degrees that acceleration transducer gathers on Z axis shown in Fig. 2 According to.Illustrate as a example by realizing left mouse button click function:
Obtain its maximum Z in 1 second that acceleration transducer gathersamaxWith minima Zamin, when Zamin>-4.9,Zamax<-14.7 and | (Zamin+Zamax)/2-(-9.81) | < when 0.5, perform left mouse button clicking operation. It will be appreciated by persons skilled in the art that by arranging above-mentioned acceleration information and click operation Mapping relations, when user rocks mobile terminal, by triggering, the real-time acceleration information of mobile terminal is corresponding Click operation.The embodiment of the present invention by provide multiple click operation triggering mode for Family selects, it is possible to be effectively improved Consumer's Experience.
The present invention also provides for a kind of mobile terminal, with reference to Fig. 4, in the first embodiment of mobile terminal of the present invention In, described mobile terminal includes:
Sensor data acquisition module 10, for obtaining the displacement data of mobile terminal;
In prior art, in order to solve the inaccurate problem of the operation of mobile terminal, by bluetooth or OTG Entity mouse is set up communication connection with mobile terminal, it is achieved precise manipulation.It is well known that it is mobile whole End is famous with portability, but extra entity mouse will have a strong impact on its portability, the most easy-to-use Property.In view of this, a kind of mobile terminal that the present embodiment provides, such as, mobile phone is simulated on its screen Display mouse pointer, when user moves horizontally mobile phone or vertically moves mobile phone, it is possible to as application entity Mus Mark identically controlled mouse pointer to move, it is achieved being accurately positioned of mouse pointer.
Specifically, described sensor data acquisition module 10 is for obtaining the preset sensor in mobile terminal The displacement data gathered, and using the displacement data of described preset sensor acquisition as described mobile terminal Displacement data.Described preset sensor can be angular-rate sensor, it is also possible to be direction sensor, base In the degree of accuracy that angular-rate sensor is higher, the present embodiment preferably employs angular-rate sensor as described Preset sensor.With reference to Fig. 2, in the coordinate system shown in Fig. 2, sensor data acquisition module 10 needs Its displacement data in X-axis and Z-direction that angular-rate sensor to be obtained gathers.
Mouse position computing module 20, for the location parameter according to preset displacement data and mouse pointer Mapping relations, obtain the location parameter of mouse pointer;
Based on the coordinate system shown in Fig. 2, the location parameter of above-mentioned mouse pointer includes its seat in X-axis Scale value MxWith the coordinate figure M in Y-axisy.Here calculate mouse pointer with mouse position computing module 20 to exist The coordinate figure M of X-axisxAs a example by illustrate:
Specifically, using 10ms as a unit of time, with time express time unit count,
When time=0, get angular-rate sensor value X in X-axis0,
Mx=X0
When time=1, get angular-rate sensor value X in X-axis1,
Mx=Mx+(X1-X0)·0.01;
When time=2, get angular-rate sensor value X in X-axis2,
Mx=Mx+(X2-X1)·0.01;
……
When time=n, get angular-rate sensor value X in X-axisn,
Mx=Mx+(Xn-Xn-1)·0.01。
In like manner, mouse position computing module 20 can calculate Mus according to angular-rate sensor value on Z axis Mark pointer coordinate figure M in Y-axisy, here is omitted.
It will be appreciated by persons skilled in the art that sensor data acquisition module 10 is at interval of the above-mentioned time Unit obtains the displacement data of the most preset sensor acquisition, and mouse position computing module 20 is according to acquisition Described displacement data calculates the location parameter of mouse pointer.By selecting different unit of time, can adjust The degree of accuracy that whole mouse pointer moves.In the present embodiment, user can by mobile terminal provide specific Interface moves the adjustment of degree of accuracy by arranging above-mentioned unit of time to realize mouse pointer.
Mouse control module 30, the institute of the mouse pointer for getting according to mouse position computing module 20 State location parameter and move mouse pointer.
Those skilled in the art's it is understood that mouse control module 30 is based on above-mentioned mouse position meter Calculate mouse pointer X-axis coordinate figure M in coordinate system shown in Fig. 2 that module 20 getsxWith Y-axis coordinate Value My, mouse pointer is moved to (Mx, My) corresponding position, i.e. user's anticipated movement mouse pointer Position.In the present embodiment, when the location parameter of mouse pointer has renewal, mouse control module 30 Mouse pointer is moved, to realize the accurate behaviour of mobile terminal according to the described location parameter of the mouse pointer updated Make.I.e. sensor data acquisition module 10 often gets the displacement data of the most above-mentioned preset sensor acquisition, The position of the preset sensor acquisition that sensor data acquisition module 10 is obtained by mouse position computing module 20 Move data and be converted to the location parameter of mouse pointer, and mouse control module 30 is according to the institute of mouse pointer State location parameter and move mouse pointer.
The mobile terminal that the embodiment of the present invention proposes, by obtaining the displacement data of mobile terminal;According in advance If displacement data and the mapping relations of the location parameter of mouse pointer, obtain the location parameter of mouse pointer; Described location parameter according to the mouse pointer got moves mouse pointer.Compared to prior art, move Moving the problem that the operation accuracy of terminal is relatively low, mobile terminal is invented mouse by the present invention, by controlling Mobile terminal moves and realizes the accurate mobile of mouse pointer, on the basis of maintaining mobile terminal portability, The operation accuracy of mobile terminal can be effectively improved.
Additionally, based on above-described embodiment, it will be appreciated by persons skilled in the art that and the present invention is provided Mobile terminal and other intelligent terminal set up communication connection after, user trigger the mouse mould of mobile terminal Formula, it is possible to the movement of other intelligent terminal's mouse pointers as described in application entity mouse is identically controlled, and then Other intelligent terminal described are accurately controlled.
Further, based on first embodiment, the second embodiment of mobile terminal of the present invention is proposed, at this In embodiment, the triggering that described sensor data acquisition module 10 is additionally operable to detecting user's input is moved During the control instruction of terminal mouse pattern, obtain the displacement data of mobile terminal.
It should be noted that the difference of the present embodiment and first embodiment is, in the present embodiment, by with Family chooses whether mobile terminal is invented mouse.Specifically, with reference to Fig. 3, when user keeps touching Fig. 3 During shown movable button, will trigger the mouse mode of mobile terminal, angular-rate sensor is started working.
It will be appreciated by persons skilled in the art that the mouse that can trigger mobile terminal in several ways Pattern, it can be by mobile terminal factory pre-set, it is possible to needed to be configured according to self by user.Additionally, The present embodiment triggers the mouse mode of mobile terminal by certain user operation, and mouse can either be avoided to refer to Pin positional fault, has saved the power consumption of mobile terminal the most to a certain extent.
Further, in order to improve the operation accuracy of mobile terminal further, based on first embodiment, 3rd embodiment of mobile terminal of the present invention, in the present embodiment, described sensor data acquisition mould are proposed Block 10 includes:
Data acquisition unit, for obtaining, at interval of the first preset time, the displacement that angular-rate sensor gathers Data, and obtain, at interval of the second preset time, the displacement data that direction sensor gathers;Described second pre- The time of putting is the integral multiple of described first preset time;
Data correction unit, for the displacement data that gathers based on described direction sensor to described angular velocity The displacement data of sensor acquisition is modified, and using revised displacement data as described mobile terminal Displacement data.
Although it should be noted that the degree of accuracy of angular-rate sensor is higher, but significantly moving user During mobile terminal, if only relying on the position ginseng of the displacement data calculating mouse pointer that angular-rate sensor gathers Number, the problem that mouse pointer sideslip may be there is.In view of this, in the present embodiment, data acquisition list Unit obtains, at interval of the first preset time, the displacement data that angular-rate sensor gathers, and pre-at interval of second Time of putting obtains the displacement data that direction sensor gathers;Described second preset time is described first preset The integral multiple of time;The displacement data that data correction unit gathers based on described direction sensor is to described angle The displacement data of velocity sensor collection is modified, and using revised displacement data as described movement The displacement data of terminal.Specifically, mouse pointer is calculated shown in Fig. 2 with mouse position computing module 20 The coordinate figure M of X-axisxAs a example by illustrate:
Using 10ms as a unit of time, with time express time unit count,
When time=0, get direction sensor value x in X-axis0, and get angular velocity sensing Device value X in X-axis0,
Mx=x0
When time=1, get angular-rate sensor value X in X-axis1,
Mx=Mx+(X1-X0)·0.01;
When time=2, get angular-rate sensor value X in X-axis2,
Mx=Mx+(X2-X1)·0.01;
……
When time=n (n < 10), get angular-rate sensor value X in X-axisn,
Mx=Mx+(Xn-Xn-1)·0.01;
When time=10, get direction sensor value x in X-axis10, and get angular velocity biography Sensor value X in X-axis10,
Mx=x10
When time=11, get angular-rate sensor value X in X-axis11,
Mx=Mx+(X11-X10)·0.01;
……
When time=10 n, get direction sensor value x in X-axis10n, and get angular velocity Sensor value X in X-axis10n,
Mx=x10n
In like manner, mouse position computing module 20 can be according to angular-rate sensor and direction sensor in Fig. 2 institute Show that the value on Z axis calculates mouse pointer coordinate figure M in Y-axisy, here is omitted.
It will be appreciated by persons skilled in the art that by above-mentioned first preset time of adjustment and second preset The multiple proportion of time, it is possible to realize mouse pointer is moved the adjustment of degree of accuracy.
Embodiment of the present invention displacement data based on angular-rate sensor collection realizes the accurate shifting of mouse pointer Move and control, and displacement data based on direction sensor collection carries out position correction to mouse pointer, it is possible to Improve the operation accuracy of mobile terminal further.
Further, based on first, second or the 3rd embodiment, the 4th of mobile terminal of the present invention the is proposed Embodiment, in the present embodiment, described mouse control module 30 is additionally operable to detecting user based on movement When terminal presets the point touching operation that screen area triggers, grasp with click based on default screen area The mapping relations made, perform the click operation that the screen area of triggering described point touching operation is corresponding.
It is well known that mouse is in addition to the most mobile control being capable of mouse pointer, another weight The function wanted is exactly clicking operation.With reference to Fig. 3, in the present embodiment, press when user clicks on the left side shown in Fig. 3 During button, it is achieved the function that left mouse button is clicked on;When user double-clicks the left button shown in Fig. 3, it is achieved Mus The function of mark left double click;When user clicks on the right button shown in Fig. 3, it is achieved click by mouse right button Function.It should be noted that aforementioned left and right and movable button can be by user according to reality in the position of screen Border needs to be configured.
Further, based on first, second or the 3rd embodiment, the 5th of mobile terminal of the present invention the is proposed Embodiment, in the present embodiment, described mouse control module 30 is additionally operable to obtain acceleration transducer collection Acceleration information;And based on predetermined acceleration data and the mapping relations of click operation, perform The click that the acceleration information of collection is corresponding operates.
In the present embodiment, mouse control module 30 needs to obtain acceleration transducer on Z axis shown in Fig. 2 The acceleration information gathered.Illustrate as a example by realizing left mouse button click function:
Mouse control module 30 obtains its maximum Z in 1 second that acceleration transducer gathersamaxWith Minima Zamin, work as Zamin>-4.9,Zamax<-14.7 and | (Zamin+Zamax)/2-(-9.81) | < when 0.5, mouse Control module 30 performs left mouse button clicking operation.It will be appreciated by persons skilled in the art that by setting Put the mapping relations of above-mentioned acceleration information and click operation, when user rocks mobile terminal, will Trigger the click operation that the real-time acceleration information of mobile terminal is corresponding.The embodiment of the present invention is by carrying Triggering mode for multiple click operation selects for user, it is possible to be effectively improved Consumer's Experience.
These are only the preferred embodiments of the present invention, not thereby limit the scope of the claims of the present invention, every Utilize equivalent structure or equivalence flow process conversion that description of the invention and accompanying drawing content made, or directly or Connect and be used in other relevant technical fields, be the most in like manner included in the scope of patent protection of the present invention.

Claims (10)

1. a method for controlling mobile terminal, it is characterised in that described method for controlling mobile terminal include with Lower step:
Obtain the displacement data of mobile terminal;
According to the mapping relations of preset displacement data Yu the location parameter of mouse pointer, obtain mouse pointer Location parameter;
Described location parameter according to the mouse pointer got moves mouse pointer.
2. method for controlling mobile terminal as claimed in claim 1, it is characterised in that described acquisition is moved The step of the displacement data of terminal includes:
When detecting the control instruction triggering mobile terminal mouse mode of user's input, obtain mobile whole The displacement data of end.
3. method for controlling mobile terminal as claimed in claim 1, it is characterised in that described acquisition is moved The step of the displacement data of terminal includes:
The displacement data that angular-rate sensor gathers is obtained at interval of the first preset time, and at interval of second Preset time obtains the displacement data that direction sensor gathers;Described second preset time is described first pre- Put the integral multiple of time;
The displacement number that described angular-rate sensor is gathered by the displacement data gathered based on described direction sensor According to being modified, and using revised displacement data as the displacement data of described mobile terminal.
4. the method for controlling mobile terminal as described in any one of claim 1-3, it is characterised in that described Method for controlling mobile terminal also includes:
When detecting the point touching operation that user's default screen area based on mobile terminal triggers, base In the mapping relations of default screen area with click operation, perform to trigger the operation of described point touching The click operation that screen area is corresponding.
5. the method for controlling mobile terminal as described in any one of claim 1-3, it is characterised in that described Method for controlling mobile terminal also includes:
Obtain the acceleration information that acceleration transducer gathers;
Mapping relations based on predetermined acceleration data with click operation, perform the acceleration number of degrees gathered According to corresponding click operation.
6. a mobile terminal, it is characterised in that described mobile terminal includes:
Sensor data acquisition module, for obtaining the displacement data of mobile terminal;
Mouse position computing module, for reflecting of the location parameter according to preset displacement data and mouse pointer Penetrate relation, obtain the location parameter of mouse pointer;
Mouse control module, institute's rheme of the mouse pointer for getting according to mouse position computing module Put parameter and move mouse pointer.
7. mobile terminal as claimed in claim 6, it is characterised in that described sensor data acquisition mould Block is additionally operable to, when detecting the control instruction triggering mobile terminal mouse mode of user's input, obtain and move The displacement data of dynamic terminal.
8. mobile terminal as claimed in claim 6, it is characterised in that described sensor data acquisition mould Block includes:
Data acquisition unit, for obtaining, at interval of the first preset time, the displacement that angular-rate sensor gathers Data, and obtain, at interval of the second preset time, the displacement data that direction sensor gathers;Described second pre- The time of putting is the integral multiple of described first preset time;
Data correction unit, for the displacement data that gathers based on described direction sensor to described angular velocity The displacement data of sensor acquisition is modified, and using revised displacement data as described mobile terminal Displacement data.
9. the mobile terminal as described in any one of claim 6-8, it is characterised in that described mouse control Module be additionally operable to detect user based on mobile terminal preset screen area trigger point touching operation Time, mapping relations based on default screen area with click operation, perform to trigger described point touching The click that the screen area of operation is corresponding operates.
10. the mobile terminal as described in any one of claim 6-8, it is characterised in that described mouse control Module is additionally operable to obtain the acceleration information that acceleration transducer gathers;And based on predetermined acceleration data With the mapping relations of click operation, perform the click operation that the acceleration information of collection is corresponding.
CN201510167127.7A 2015-04-10 2015-04-10 Method for controlling mobile terminal and mobile terminal Withdrawn CN106155529A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510167127.7A CN106155529A (en) 2015-04-10 2015-04-10 Method for controlling mobile terminal and mobile terminal
PCT/CN2016/074371 WO2016161851A1 (en) 2015-04-10 2016-02-23 Mobile terminal control method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510167127.7A CN106155529A (en) 2015-04-10 2015-04-10 Method for controlling mobile terminal and mobile terminal

Publications (1)

Publication Number Publication Date
CN106155529A true CN106155529A (en) 2016-11-23

Family

ID=57073030

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510167127.7A Withdrawn CN106155529A (en) 2015-04-10 2015-04-10 Method for controlling mobile terminal and mobile terminal

Country Status (2)

Country Link
CN (1) CN106155529A (en)
WO (1) WO2016161851A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107203726A (en) * 2017-05-17 2017-09-26 东南大学 A kind of intelligent terminal secured inputting method of preventing side-channel attack
CN110262747A (en) * 2019-06-21 2019-09-20 Oppo广东移动通信有限公司 Method, apparatus, terminal and the storage medium of controlling terminal

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111124156B (en) * 2018-11-01 2023-07-18 中兴通讯股份有限公司 Interaction control method of mobile terminal and mobile terminal
CN114675754A (en) * 2022-01-27 2022-06-28 浪潮(山东)计算机科技有限公司 Mouse control method, device, equipment and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1856140A (en) * 2005-04-18 2006-11-01 华为技术有限公司 Mobile telephone terminal as computer mouse and its working method
KR20110037555A (en) * 2009-10-07 2011-04-13 엘지전자 주식회사 Mobile terminal and method of controling mobile terminal
CN201945963U (en) * 2010-12-28 2011-08-24 中兴通讯股份有限公司 Mobile terminal
CN102945088A (en) * 2012-10-19 2013-02-27 北京小米科技有限责任公司 Method, device and mobile equipment for realizing terminal-simulated mouse to operate equipment
CN103186254A (en) * 2013-02-28 2013-07-03 深圳瑞高信息技术有限公司 Method and device for simulating mouse operation by rocker and electronic equipment
CN103200327A (en) * 2013-04-08 2013-07-10 上海斐讯数据通信技术有限公司 Method for achieving mouse function on mobile phone
CN103200304A (en) * 2012-10-09 2013-07-10 深圳市金立通信设备有限公司 System and method for controlling mobile terminal intelligent cursor
CN103259914A (en) * 2012-02-20 2013-08-21 宇龙计算机通信科技(深圳)有限公司 Implement method of mobile terminal with wireless mouse function and mobile terminal
CN103677317A (en) * 2013-12-11 2014-03-26 Tcl光电科技(惠州)有限公司 Mobile terminal and method for achieving cursor control
CN103984412A (en) * 2014-04-29 2014-08-13 上海斐讯数据通信技术有限公司 Lecture mode-based function realization method, lecture mode-based function realization system and mobile terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103399657B (en) * 2013-07-31 2016-09-28 小米科技有限责任公司 The control method of mouse pointer, device and terminal unit

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1856140A (en) * 2005-04-18 2006-11-01 华为技术有限公司 Mobile telephone terminal as computer mouse and its working method
KR20110037555A (en) * 2009-10-07 2011-04-13 엘지전자 주식회사 Mobile terminal and method of controling mobile terminal
CN201945963U (en) * 2010-12-28 2011-08-24 中兴通讯股份有限公司 Mobile terminal
CN103259914A (en) * 2012-02-20 2013-08-21 宇龙计算机通信科技(深圳)有限公司 Implement method of mobile terminal with wireless mouse function and mobile terminal
CN103200304A (en) * 2012-10-09 2013-07-10 深圳市金立通信设备有限公司 System and method for controlling mobile terminal intelligent cursor
CN102945088A (en) * 2012-10-19 2013-02-27 北京小米科技有限责任公司 Method, device and mobile equipment for realizing terminal-simulated mouse to operate equipment
CN103186254A (en) * 2013-02-28 2013-07-03 深圳瑞高信息技术有限公司 Method and device for simulating mouse operation by rocker and electronic equipment
CN103200327A (en) * 2013-04-08 2013-07-10 上海斐讯数据通信技术有限公司 Method for achieving mouse function on mobile phone
CN103677317A (en) * 2013-12-11 2014-03-26 Tcl光电科技(惠州)有限公司 Mobile terminal and method for achieving cursor control
CN103984412A (en) * 2014-04-29 2014-08-13 上海斐讯数据通信技术有限公司 Lecture mode-based function realization method, lecture mode-based function realization system and mobile terminal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107203726A (en) * 2017-05-17 2017-09-26 东南大学 A kind of intelligent terminal secured inputting method of preventing side-channel attack
CN110262747A (en) * 2019-06-21 2019-09-20 Oppo广东移动通信有限公司 Method, apparatus, terminal and the storage medium of controlling terminal
CN110262747B (en) * 2019-06-21 2021-05-07 Oppo广东移动通信有限公司 Method and device for controlling terminal, terminal and storage medium

Also Published As

Publication number Publication date
WO2016161851A1 (en) 2016-10-13

Similar Documents

Publication Publication Date Title
CN103440076B (en) The three-dimensional multi-point type touch screen of based thin film pressure transducer and three axis accelerometer
US8514187B2 (en) Methods and apparatus for distinguishing between touch system manipulators
US9477312B2 (en) Distance based modelling and manipulation methods for augmented reality systems using ultrasonic gloves
EP2390772A1 (en) User interface with three dimensional user input
CN103616972B (en) Touch screen control method and terminal device
CN105094440B (en) A kind of touch screen anti-fluttering method, system and mobile terminal based on mobile terminal
CN106155529A (en) Method for controlling mobile terminal and mobile terminal
CN102667398A (en) Flexible capacitive sensor array
US20160085296A1 (en) Wearable input device
CN105260032A (en) Method and device for c information display output control
CN103902129B (en) Capacitance plate multiple point touching pressure detection method
CN105204764B (en) Handheld terminal with suspension screen, display device and remote control method
CN105739776B (en) A kind of calibration method of pressure value, device and mobile terminal
EP2725469B1 (en) Information-processing device, program, information-processing method, and information-processing system
CN104123015A (en) System for simulating laser pen through mobile phone and achieving method of system
CN103156646A (en) Method and device of dual-screen ultraphonic medical treatment measurement
CN104461316B (en) A kind of roller blind method and electronic equipment
CN105380604A (en) Exercise calorie consumption obtaining method and system and electronic equipment
CN104780264B (en) The interaction control method of sensor-based handheld device
CN106354400B (en) A kind of method and device identifying touch operation
CN106095158A (en) The system that the computational methods of light target displacement vector, device and control cursor move
CN109725746A (en) Mouse sensitivity adjustment method and mouse
CN108153451B (en) Calibration method and system based on touch screen
CN103869959B (en) Electronic apparatus control method and electronic installation
CN103365433A (en) Space mouse data processing method and mouse pointer control method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication

Application publication date: 20161123

WW01 Invention patent application withdrawn after publication