WO2012174783A1 - 一种移动终端及其实现光标移动的方法 - Google Patents

一种移动终端及其实现光标移动的方法 Download PDF

Info

Publication number
WO2012174783A1
WO2012174783A1 PCT/CN2011/078432 CN2011078432W WO2012174783A1 WO 2012174783 A1 WO2012174783 A1 WO 2012174783A1 CN 2011078432 W CN2011078432 W CN 2011078432W WO 2012174783 A1 WO2012174783 A1 WO 2012174783A1
Authority
WO
WIPO (PCT)
Prior art keywords
mobile terminal
cursor
tilt rate
timer
tilt
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.)
Ceased
Application number
PCT/CN2011/078432
Other languages
English (en)
French (fr)
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 JP2014515035A priority Critical patent/JP6087349B2/ja
Priority to EP11868161.8A priority patent/EP2722730B1/en
Priority to US14/126,027 priority patent/US20140118260A1/en
Priority to AU2011371364A priority patent/AU2011371364A1/en
Publication of WO2012174783A1 publication Critical patent/WO2012174783A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0346Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of the device orientation or free movement in a three-dimensional [3D] space, e.g. 3D mice, 6-DOF [six degrees of freedom] pointers using gyroscopes, accelerometers or tilt-sensors

Definitions

  • the present invention relates to the field of mobile communications technologies, and in particular, to a mobile terminal and a method for implementing cursor movement. Background technique
  • the present invention provides a mobile terminal and a method for implementing cursor movement thereof, which are used to solve the problem that the cursor is not positioned properly and affects the user experience in the prior art.
  • the obtaining the acceleration of the mobile terminal in setting the three-dimensional coordinate system comprises:
  • the calculating the current left/right tilt rate K1 and the front/rear tilting slope K2 of the mobile terminal includes:
  • the left/right tilt rate K1 is obtained by a x /a y
  • the front/back tilt rate K2 is obtained by a y /a z .
  • the tilting rate K1 and the tilt rate ⁇ 2 specifically include:
  • Step 42 When the timer T1 or the timer ⁇ 2 times out, determine the tilt rate I K1
  • Step 43 When I Kl I or I ⁇ 2 I exceeds the threshold, move the cursor left/right or front/back, and continue the cursor movement judgment based on the current I Kl I or I ⁇ 2 I value, and return to step 41.
  • the invention also provides a mobile terminal, comprising:
  • An information acquiring unit configured to acquire an acceleration a x of the mobile terminal in setting a three-dimensional coordinate system
  • a slope calculating unit configured to calculate a current left/right tilt rate K1 and a front/rear tilt rate ⁇ 2 of the mobile terminal based on the acceleration information acquired by the information acquiring unit;
  • a cursor moving unit for moving the cursor left/right or front/back based on the tilt rate K1 and the tilt rate ⁇ 2.
  • the information acquiring unit acquires the accelerations a x , a y , a z of the mobile terminal on the set three-dimensional coordinate system according to the GVector information acquired in real time by subscribing to the GVector event;
  • the acceleration a x , a y , a z using the a x /a y to obtain the left / right tilt rate K1, using a aj to the front / back tilt rate K2;
  • the cursor moving unit specifically includes:
  • timing subunit configured to start a preset left/right movement timeout timer T1 and a front/rear movement timeout timer T2;
  • a determining subunit configured to determine, when the timer T1 or the timer T2 times out, whether the tilting slope I Kl I or the tilting rate I K2 I exceeds a set threshold
  • the cursor movement sub-unit is configured to move the cursor left/right or front/rear movement when the I Kl I or I K2 I exceeds the threshold, and continue the cursor movement judgment based on the current I Kl I or I K2 I value, triggering the timing Subunit.
  • Kl I , T2 A2 / I K2 I, before the cursor movement subunit triggers the timing subunit, the timing time is recalculated based on the current I Kl I or I K2 I value T1 or T2.
  • the mobile terminal of the present invention further includes:
  • the detecting unit is configured to determine whether the gravity sensing cursor movement function is turned on, and trigger the information acquiring unit when the gravity sensing cursor moving function is turned on.
  • the user only needs to tilt the mobile terminal in all directions, and the cursor can be moved at will.
  • FIG. 1 is a flowchart of a method for implementing a cursor movement of a mobile terminal provided by the present invention
  • FIG. 2 is a flowchart of a method for implementing a cursor movement of a mobile terminal according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of a three-dimensional coordinate system of a mobile terminal defined in an embodiment of the present invention
  • FIG. 4 is a structural diagram of a mobile terminal provided by the present invention. detailed description
  • the present invention provides a mobile terminal and a method thereof for implementing cursor movement.
  • the invention utilizes the gravity sensor of the mobile terminal to automatically move the cursor according to the direction and extent of the tilt of the mobile terminal, thereby replacing the touch or the button, thereby greatly improving the convenience.
  • a method for implementing cursor movement of a mobile terminal includes:
  • Step S101 Acquire an acceleration a x , a y , a z of the mobile terminal in setting a three-dimensional coordinate system;
  • Step S102 calculating a current left/right tilt rate K1 and a front/rear tilt rate K2 of the mobile terminal;
  • Step S103 The tilt rate K1 and the tilt rate K2, left/right or front/rear movement cursor.
  • the left/right or the front/back movement cursor based on the tilt rate K1 and the tilt rate K2 specifically includes:
  • timing time Tl Al / I Kl I
  • T2 A2 /
  • the method before performing step S101, the method further includes:
  • an embodiment of the present invention provides a method for a cursor to move a mobile terminal, including:
  • Step S201 Subscribing to a GVector event by using a Register() function.
  • the GVector event can be received when the acceleration state of the mobile terminal changes.
  • Step S202 Obtain acceleration information a x , a y , a z in the three directions of the set three-dimensional coordinates ⁇ , ⁇ , ⁇ by the GetVector() function.
  • the origin of the established three-dimensional coordinate system ⁇ , ⁇ , ⁇ is preferably the position of the center of gravity of the mobile terminal.
  • the direction of the lateral side of the 4 bar mobile terminal is taken as the X axis, and the leftward direction is the forward direction; the direction of the vertical side is taken as the ⁇ axis, and the downward direction is positive.
  • the direction perpendicular to the plane of the mobile terminal is taken as the ⁇ axis, and the direction pointing to the user is positive, and the obtained three on-axis accelerations can be defined as a x , a y , a z , respectively .
  • the obtained acceleration information a x , a y , a z may be a positive value or a negative value according to the moving direction of the mobile terminal according to the moving direction of the mobile terminal, and the specific symbol is according to the direction in which the mobile terminal is tilted. And set.
  • Step S204 Start a preset left/right movement timeout timer T1 and a front/back movement timeout timer T2.
  • the value is used to adjust the moving speed of the cursor; the timeout periods T1 and T2 are inversely proportional to the absolute value of the tilt rate K.
  • Step S205 When the timer T1 times out, determine whether the tilt rate IK1I is greater than its preset threshold L1; if yes, move left or right (K1 is positive or negative) a cursor;
  • IK2I is greater than its preset threshold L2, and if so, it is moved up or down (K2 is negative or positive).
  • Step S206 After the cursor moves by one grid, the timeout period is recalculated according to the current IK1I value or the IK2I value, and the timer T1 or T2 is restarted, and the process returns to step S204.
  • the moving speed of the editing cursor is automatically adjusted according to the IKnl value.
  • IKnl is less than its threshold, the cursor is not moved.
  • IKnl is greater than its threshold, the larger the IKnl is, the smaller the timeout period Tn is, and the faster the cursor moves.
  • 1, 2.
  • the user can also adjust the target moving speed by setting the values of A1 and ⁇ 2, or adjust the moving threshold by setting the values of L1 and L2, so as to meet the habits and needs of different users.
  • the embodiment of the present invention implements the movement of the cursor of the mobile terminal in the same manner as the first embodiment.
  • the gravity is sensed before the cursor is moved by using the gravity sensor.
  • the acceleration information of the mobile terminal is calculated according to the subscribed GVector event, thereby realizing the cursor movement.
  • the cursor in order to prevent the user from inadvertently moving or rotating the mobile terminal during the input process, the cursor may be randomly moved to affect the normal use, and an open key may be set on the edge of the soft keyboard or the mobile terminal, when the open key is pressed.
  • the gravity-sensitive cursor movement function is turned on to move the cursor by gravity sensing. This not only ensures the convenience of operation, but also does not cause side effects due to the random movement of the cursor.
  • the present invention further provides a mobile terminal, including:
  • An information acquiring unit configured to acquire accelerations a x , aa of the mobile terminal in setting a three-dimensional coordinate system
  • a slope calculating unit configured to calculate a current left/right tilt rate K1 and a front/rear tilt rate K2 of the mobile terminal based on the acceleration information acquired by the information acquiring unit;
  • a cursor moving unit for moving the cursor left/right or front/back based on the tilt rate K1 and the tilt rate K2.
  • the information obtaining unit obtains the accelerations a x , a y , a z of the mobile terminal in setting the three-dimensional coordinate system according to the GVector information acquired in real time by subscribing to the GVector event;
  • the inclination calculating unit obtains the left/right tilt rate K1 from a x /a y based on the accelerations a x , a y , a z , and uses aa to the front/rear tilt rate K2.
  • the cursor moving unit specifically includes:
  • a timing subunit configured to start a preset left/right movement timeout timer T1 and a front/rear movement timeout timer ⁇ 2; a determining subunit, configured to determine, when the timer T1 or the timer T2 times out, whether the tilt rate I Kl I or the tilt rate I ⁇ 2 I exceeds a set threshold;
  • the cursor movement subunit is configured to move the cursor left/right or front/rear when the I Kl I or I ⁇ 2 I exceeds the threshold, and continue the cursor movement judgment based on the current I Kl I or I ⁇ 2 I value, triggering the trigger Timing subunit.
  • Kl I; T2 ⁇ 2 / I ⁇ 2 I ; where Al and A2 are constants;
  • timing time T1 A1/
  • Kl I , T2 A2 / I K2 I
  • the timing time is recalculated based on the current I Kl I or I K2 I value T1 or T2.
  • the mobile terminal of the present invention further includes:
  • the detecting unit is configured to determine whether the gravity sensing cursor movement function is turned on, and trigger the information acquiring unit when the gravity sensing cursor moving function is turned on.
  • the user can simply move the cursor by pressing the mobile key during the editing process and tilting the mobile terminal in all directions.
  • the invention utilizes gravity sensing in a mobile terminal to realize movement of a cursor, reduces the trouble of moving a cursor by repeated touches or buttons, and solves the problem that the cursor is inaccurate through the touch screen.
  • the problem of cumbersome operation of the button positioning cursor is that the user only needs to tilt the mobile terminal in all directions, and the cursor can be moved at will, which improves the efficiency of cursor positioning and enhances the user experience.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Position Input By Displaying (AREA)
  • Telephone Function (AREA)

Abstract

本发明公开了一种移动终端及其实现光标移动的方法,所述方法包括:获取移动终端在设定三维坐标系上的加速度ax、ay,az;计算移动终端当前左/右倾斜率K1和前/后倾斜率K2;基于所述倾斜率K1和倾斜率K2,左/右或前/后移动光标。所述移动终端包括:信息获取单元、倾斜度计算单元和光标移动单元。通过本发明所述方法,只需用户在各个方向上倾斜移动终端,即可随意移动光标,倾斜越厉害,光标移动越迅速,这样减少了反复触摸或按键的麻烦,体现了高效性和便捷性,提高了用户体验。

Description

一种移动终端及其实现光标移动的方法 技术领域
本发明涉及移动通信技术领域, 尤其涉及一种移动终端及其实现光标 移动的方法。 背景技术
在当今的移动终端消费市场, 移动终端的功能越来越丰富化和标准化。 能否真正提升移动终端的用户体验水平越来越成为一款移动终端是否畅销 的关键。 目前的绝大多数移动终端上, 在输入过程中移动文字光标的方法 是通过方向按键或者通过触摸直接点击来完成。 这两种方法看似直观, 却 有一些缺点和局限性。 首先是现在触摸屏移动终端越来越普遍, 大部分触 摸屏移动终端取消了硬键盘支持。 其次是中高端的移动终端越来越倾向使 用电容屏。 电容屏虽然更灵敏, 但是有一个很大的缺点, 就是点击不精确, 通过触摸准确定位光标很困难。 第三是全屏手写输入法使用越来越普遍, 很多移动终端在全屏手写下没有触屏切换光标位置的功能。 这些缺点影响 了移动终端的用户体验。 发明内容
本发明提供一种移动终端及其实现光标移动的方法, 用以解决现有技 术中光标定位不准, 影响用户体验的问题。
为了解决上述问题, 本发明提供一种移动终端实现光标移动的方法, 包括:
获取移动终端在设定三维坐标系上的加速度 ax、 ay, az;
计算移动终端当前左 /右倾斜率 K1和前 /后倾斜率 K2; 基于所述倾斜率 K1和倾斜率 K2, 左 /右或前 /后移动光标。
其中, "左 /右、 前 /后" 中 " 是 "或" 的含义。
本发明所述方法中, 所述获取移动终端在设定三维坐标系上的加速度 包括:
订阅加速度感应矢量 GVector事件, 根据实时获取的 G Vector信息, 获 取移动终端在设定的三维坐标轴上的加速度
本发明所述方法中, 所述计算移动终端当前左 /右倾斜率 K1和前 /后倾 斜率 K2包括:
根据所述加速度 ax、 ay, az, 利用 ax/ay得到左 /右倾斜率 K1 , 利用 ay/az 得到前 /后倾斜率 K2。
本发明所述方法中, 所述基于倾斜率 K1和倾斜率 Κ2, 左 /右或前 /后移 动光标具体包括:
步驟 41、 启动预设的左 /右移动超时定时器 T1和前 /后移动超时定时器
Τ2;
步驟 42、 在所述定时器 T1或定时器 Τ2超时时, 判断所述倾斜率 I K1
I 或倾斜率 I Κ2 I是否超过设定的阈值;
步驟 43、 当 I Kl I 或 I Κ2 I超过阈值时, 左 /右或前 /后移动光标一格, 并基于当前 I Kl I 或 I Κ2 I值继续光标移动判断, 返回步驟 41。
其中, 所述定时器 T1和定时器 Τ2的定时时间为预先设定的定值; 或 者, 所述定时器 T1和 Τ2的定时时间为: Tl = Al/ I Kl I ; Τ2 = Α2/ | Κ2 I ; 其中, Al、 Α2为常数;
当定时时间 Tl = Al/ I Kl I 、 Τ2 = Α2/ | Κ2 | 时, 所述步驟 43中, 返 回步驟 41 前, 还基于当前的 I Kl I 或 I Κ2 I值重新计算定时时间 T1 或 Τ2。
本发明所述方法中, 所述获取移动终端在设定三维坐标系上的加速度 前还包括:
判断重力感应光标移动功能是否开启, 当所述重力感应光标移动功能 开启时,触发获取移动终端在设定三维坐标系上的加速度 ax、 ay, &2的操作。
本发明还提供一种移动终端, 包括:
信息获取单元, 用于获取移动终端在设定三维坐标系上的加速度 ax
By , az ,
倾斜度计算单元, 用于基于所述信息获取单元获取的加速度信息, 计 算移动终端当前左 /右倾斜率 K1和前 /后倾斜率 Κ2;
光标移动单元, 用于基于所述倾斜率 K1和倾斜率 Κ2, 左 /右或前 /后移 动光标。
其中, 所述信息获取单元, 通过订阅 GVector事件, 根据实时获取的 GVector信息, 获取移动终端在设定三维坐标系上的加速度 ax、 ay, az; 所述倾斜度计算单元, 根据所述加速度 ax、 ay, az, 利用 ax/ay得到左 / 右倾斜率 K1 , 利用 a aj 到前 /后倾斜率 K2;
所述光标移动单元具体包括:
定时子单元, 用于启动预设的左 /右移动超时定时器 T1和前 /后移动超 时定时器 T2;
判断子单元, 用于在所述定时器 T1或定时器 T2超时时, 判断所述倾 斜率 I Kl I 或倾斜率 I K2 I是否超过设定的阈值;
光标移动子单元, 用于当 I Kl I 或 I K2 I 超过阈值时, 左 /右或前 /后 移动光标一格, 基于当前 I Kl I 或 I K2 I值继续光标移动判断, 触发所述 定时子单元。
其中, 所述定时子单元中, 定时器 T1和定时器 T2的定时时间为预先 设定的定值; 或者, 定时器 T1和 T2的定时时间为: T1 = A1/ | Kl I ; T2 = Α2/ I Κ2 I ; 其中, Al、 A2为常数; 当定时时间 T1 = A1/ | Kl I 、 T2 = A2/ I K2 I 时, 所述光标移动子单 元触发所述定时子单元前, 还基于当前的 I Kl I 或 I K2 I值重新计算定时 时间 T1或 T2。
进一步地, 本发明所述移动终端还包括:
检测单元, 用于判断重力感应光标移动功能是否开启, 当所述重力感 应光标移动功能开启时, 触发所述信息获取单元。
与现有技术相比, 本发明有益效果如下:
通过本发明所述方法和装置, 用户只需要在各个方向上倾斜移动终端, 即可随意移动光标, 倾斜越厉害, 光标移动越迅速。 这样减少了反复触摸 或按键的麻烦, 体现了高效性和便捷性, 提高了用户体验。 附图说明
图 1为本发明提供的移动终端实现光标移动方法的流程图;
图 2为本发明实施例提供的移动终端实现光标移动方法的流程图; 图 3为本发明实施例中定义的移动终端三维坐标系示意图;
图 4为本发明提供的一种移动终端的结构图。 具体实施方式
下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进 行清楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没 有做出创造性劳动前提下所获得的所有其他实施例, 都属于本发明保护的 范围。
为了解决现有技术中存在的问题, 本发明提供一种移动终端及其实现 光标移动的方法。 本发明利用移动终端的重力感应器, 根据移动终端倾斜 的方向和程度来自动移动光标, 从而代替了触摸或者按键, 大大提高了便 捷性。
其中, 重力感应器又叫加速度感应器, 是一种将介质加速度信号转换 成电信号的装置。 介质在加速度的作用下产生形变, 形成微小的电压, 通 过测量这种电压, 就能获得介质在三维空间的各个方向上的加速度, 从而 获得移动终端的运动状态或者水平倾斜程度。
如图 1 所示, 为本发明提供的一种移动终端实现光标移动的方法, 包 括:
步驟 S101、 获取移动终端在设定三维坐标系上的加速度 ax、 ay, az; 步驟 S102、 计算移动终端当前左 /右倾斜率 K1和前 /后倾斜率 K2; 步驟 S103、 基于所述倾斜率 K1和倾斜率 K2, 左 /右或前 /后移动光标。 该步驟 103中, 所述基于倾斜率 K1和倾斜率 K2, 左 /右或前 /后移动光 标具体包括:
( 1 )启动预设的左 /右移动超时定时器 T1和前 /后移动超时定时器 T2;
( 2 )在所述定时器 T1或定时器 T2超时时, 判断所述倾斜率 I Kl I 或倾斜率 I K2 I是否超过设定的阈值;
( 3 ) 当 I Kl I 或 I K2 I超过阈值时, 左 /右或前 /后移动光标一格, 并 基于当前 I Kl I 或 I K2 I值继续光标移动判断, 返回步驟( 1 )。
其中, 所述定时器 T1和定时器 T2的定时时间为预先设定的定值; 或 者, 所述定时器 T1和 T2的定时时间为: Tl = Al/ I Kl I ; T2 = A2/ | K2 I ; 其中, Al、 A2为常数;
当定时时间 Tl = Al/ I Kl I 、 T2 = A2/ | K2 | 时, 所述步驟( 3 ) 中, 在返回步驟( 1 )前, 还基于当前的 I Kl I 或 I K2 I值重新计算定时时间 T1或 T2。
优选地, 在执行步驟 S101前, 还包括:
判断重力感应光标移动功能是否开启, 当所述重力感应光标移动功能 开启时, 触发步驟 S101中获取移动终端在设定三维坐标系上的加速度 ax、 ay, az的操作。 下面根据图 2〜图 3给出本发明两个较佳的实施例,并结合对实施例的 描述, 进一步给出本发明的技术细节。
实施例一
如图 2所示, 本发明实施例提供一种移动终端实现光标移动的方法, 包括:
步驟 S201、 通过 Register()函数订阅 GVector事件。
当订阅 GVector事件后, 在移动终端加速度状态发生变化时可以收到 GVector事件。
步驟 S202、 通过 GetVector()函数, 获取到移动终端在设定的三维坐标 Χ,Υ,Ζ三个方向上的加速度信息 ax, ay, az。 其中, 建立的三维坐标系 Χ,Υ,Ζ 的原点, 优选为移动终端的重心位置。
本实施例中, 以竖屏移动终端为例, 如图 3 所示, 4巴移动终端的横边 的方向作为 X轴, 向左为正向; 竖边的方向作为 Υ轴, 向下为正向; 垂直 于移动终端平面的方向作为 Ζ轴, 指向用户方向为正向, 得到的三个轴上 加速度可分别定义为 ax, ay, az。 其中, 得到的加速度信息 ax, ay, az根据 移动终端移动方向的不同, 基于设定的坐标轴正向, 可以为正值, 也可以 为负值, 具体符号根据移动终端倾斜的方向而定。
步驟 S203、 计算移动终端的左 /右倾斜率 K1和前 /后倾斜率 K2, 其中, Kl = ax/ay; K2 = ay/az
该步驟中, 当 K1为 0时,移动终端在 XY平面是没有倾斜的, 当 K1〉0 时, 则表示往左边倾斜, 当 Κ1<0时, 则表示往右边倾斜。 K1的绝对值越 大, 表示倾斜越厉害。 同理, 当 K2为 0时, 移动终端是水平放置的, 当 Κ2<0时, 则表示移 动终端向后倾斜, 当 Κ2〉0时, 则表示移动终端向前倾斜。 Κ2绝对值越大, 表示倾斜越厉害。
步驟 S204、启动预设的左 /右移动超时定时器 T1和前 /后移动超时定时 器 T2。 其中, 对于定时器 T1和 Τ2, 超时时间可定义为定值, 但优选地定 义为: Τ1=Α1/ΙΚ1Ι, Τ2=Α2/ΙΚ2Ι, 其中 Al和 Α2为常数, 用户也可以通过 设置 A1和 A2值来调整光标的移动速度;所述超时时间 T1和 T2与倾斜率 K 的绝对值成反比。 本发明实施例后续步驟均以 T1=A1/IK1I, T2=A2/IK2I 为例描述。
步驟 S205、 当定时器 T1超时时, 判断倾斜率 IK1I是否大于其预设的阈 值 L1; 若是, 则左移或者右移 (K1为正或为负)光标一格;
当定时器 T2超时时, 判断 IK2I是否大于其预设的阈值 L2, 若是, 则上 移或者下移 (K2为负或为正)光标一格。
步驟 S206、光标移动一格后,根据当前的 IK1I值或 IK2I值重新计算超时 时间并重启定时器 T1或 T2, 返回步驟 S204。
利用上述方法不断进行下去,编辑光标的移动速度会根据 IKnl值自动调 整, 当 IKnl小于其阈值时不移动光标, 当 IKnl大于其阈值时, IKnl越大, 超时 时间 Tn越小, 光标移动越快速; 其中, η = 1、 2。
本发明实施例中,用户也可以通过设置 A1和 Α2值来调整标移动速度, 或者通过设置 L1和 L2值来调节移动的门限值, 达到满足不同用户习惯和 需求的目的。
实施例二
本发明实施例实现移动终端光标移动的方式与实施例一基本相同, 不 同的是, 本发明实施例中, 在利用重力感应器进行光标移动前判断重力感 应光标移动功能是否开启, 当开启时, 才根据订阅的 GVector事件, 计算移 动终端的加速度信息, 进而实现光标移动。
本发明实施例, 为了避免用户在输入过程中无意移动或者转动移动终 端可能造成光标的随意移动, 影响正常使用, 可在软键盘或者移动终端边 缘设置一个开关键, 当开关键被按下的时, 重力感应光标移动功能开启, 才能通过重力感应去移动光标。 这样既保证了操作的方便性, 又不会因为 光标随意移动而带来副作用。
综上所述, 通过本发明所述方法, 用户在编辑的过程中只需按下移动 开关键并且在各个方向上倾斜移动终端, 即可随意移动光标, 倾斜越厉害, 光标移动越迅速。 这样减少了反复触摸或按键的麻烦, 体现了高效性和便 捷性, 提高了用户体验。 如图 4所示, 本发明还提供一种移动终端, 包括:
信息获取单元, 用于获取移动终端在设定三维坐标系上的加速度 ax、 a a
倾斜度计算单元, 用于基于所述信息获取单元获取的加速度信息, 计 算移动终端当前左 /右倾斜率 K1和前 /后倾斜率 K2;
光标移动单元, 用于基于所述倾斜率 K1和倾斜率 K2, 左 /右或前 /后移 动光标。
其中,信息获取单元,通过订阅 GVector事件,根据实时获取的 GVector 信息, 获取移动终端在设定三维坐标系上的加速度 ax、 ay, az;
倾斜度计算单元, 根据所述加速度 ax、 ay, az, 利用 ax/ay得到左 /右倾 斜率 K1 , 利用 a a 到前 /后倾斜率 K2。
光标移动单元具体包括:
定时子单元, 用于启动预设的左 /右移动超时定时器 T1和前 /后移动超 时定时器 Τ2; 判断子单元, 用于在所述定时器 T1或定时器 T2超时时, 判断所述倾 斜率 I Kl I 或倾斜率 I Κ2 I是否超过设定的阈值;
光标移动子单元, 用于当 I Kl I 或 I Κ2 I 超过阈值时, 左 /右或前 /后 移动光标一格, 并基于当前 I Kl I 或 I Κ2 I值继续光标移动判断, 触发所 述定时子单元。
其中, 所述定时子单元中, 定时器 T1和定时器 Τ2的定时时间为预先 设定的定值; 或者, 定时器 T1和 Τ2的定时时间为: T1 = A1/ | Kl I ; T2 = Α2/ I Κ2 I ; 其中, Al、 A2为常数;
当定时时间 T1 = A1/ | Kl I 、 T2 = A2/ I K2 I 时, 所述光标移动子单 元触发所述定时子单元前, 还基于当前的 I Kl I 或 I K2 I值重新计算定时 时间 T1或 T2。
优选地, 本发明所述移动终端还包括:
检测单元, 用于判断重力感应光标移动功能是否开启, 当所述重力感 应光标移动功能开启时, 触发所述信息获取单元。
通过本发明所述移动终端, 用户在编辑的过程中只需按下移动开关键 并且在各个方向上倾斜移动终端, 即可随意移动光标, 倾斜越厉害, 光标 移动越迅速。 这样减少了反复触摸或按键的麻烦, 体现了高效性和便捷性, 提高了用户体验。
显然, 本领域的技术人员可以对本发明进行各种改动和变型而不脱离 本发明的精神和范围。 这样, 倘若本发明的这些修改和变型属于本发明权 利要求及其等同技术的范围之内, 则本发明也意图包含这些改动和变型在 内。 工业实用性 本发明利用移动终端中的重力感应来实现光标的移动, 减少了通过反 复触摸或按键来移动光标的麻烦, 解决了通过触摸屏定位光标不准确, 通 过按键定位光标操作繁瑣等问题, 用户只需要在各个方向上倾斜移动终端, 即可随意移动光标, 提高了光标定位的效率, 增强了用户体验。

Claims

权利要求书
1、 一种移动终端实现光标移动的方法, 其特征在于, 包括:
获取移动终端在设定三维坐标系上的加速度 ax、 ay, az;
计算移动终端当前左 /右倾斜率 K1和前 /后倾斜率 K2;
基于所述倾斜率 K1和所述倾斜率 K2, 左 /右或前 /后移动光标。
2、 如权利要求 1所述的方法, 其中, 所述获取移动终端在设定三维坐 标系上的加速度 包括:
订阅加速度感应矢量 GVector事件, 根据实时获取的 G Vector信息, 获 取移动终端在设定的三维坐标轴上的加速度 Χ、 By? ¾o
3、 如权利要求 1所述的方法, 其中, 所述计算移动终端当前左 /右倾斜 率 K1和前 /后倾斜率 K2包括:
根据所述加速度 ax、 ay, az, 利用 ax/ay得到左 /右倾斜率 K1 , 利用 ay/az 得到前 /后倾斜率 K2。
4、如权利要求 1所述的方法,其中,所述基于倾斜率 K1和倾斜率 Κ2, 左 /右或前 /后移动光标具体包括:
Α、 启动预设的左 /右移动超时定时器 T1和前 /后移动超时定时器 Τ2; Β、 在所述定时器 T1或定时器 Τ2超时时, 判断所述倾斜率 I Kl I 或 倾斜率 I Κ2 I是否超过设定的阈值;
C、 当 I Kl I 或 I K2 I超过阈值时, 左 /右或前 /后移动光标一格, 并基 于当前 I Kl I 或 I K2 I值继续光标移动判断, 返回步驟 A。
5、 如权利要求 4所述的方法, 其中,
所述定时器 T1和定时器 T2的定时时间为预先设定的定值; 或者, 所 述定时器 T1和 T2的定时时间为: Tl = Al/ I Kl I ; T2 = A2/ | K2 | ;其中, Al、 A2为常数;
当定时时间 Tl = Al/ I Kl I 、 T2 = A2/ | K2 | 时, 所述步驟 C中, 在 返回步驟 A前, 还基于当前的 I Kl I 或 I K2 I值重新计算定时时间 T1或 T2。
6、 如权利要求 1所述的方法, 其中, 所述获取移动终端在设定三维坐 标系上的加速度 ax、 ay, az前还包括:
判断重力感应光标移动功能是否开启, 当所述重力感应光标移动功能 开启时,触发获取移动终端在设定三维坐标系上的加速度 ax、 ay, &2的操作。
7、 一种移动终端, 其特征在于, 包括:
信息获取单元, 用于获取移动终端在设定三维坐标系上的加速度 ax
By , az ,
倾斜度计算单元, 用于基于所述信息获取单元获取的加速度信息, 计 算移动终端当前左 /右倾斜率 K1和前 /后倾斜率 Κ2;
光标移动单元, 用于基于所述倾斜率 K1和所述倾斜率 Κ2, 左 /右或前 /后移动光标。
8、 如权利要求 7所述的移动终端, 其中,
所述信息获取单元, 通过订阅 GVector事件, 根据实时获取的 G Vector 信息, 获取移动终端在设定三维坐标系上的加速度 ax、 ay, az;
所述倾斜度计算单元, 根据所述加速度 ax、 ay, az, 利用 ax/ay得到左 / 右倾斜率 Kl , 利用 a aj 到前 /后倾斜率 K2;
所述光标移动单元具体包括:
定时子单元, 用于启动预设的左 /右移动超时定时器 T1和前 /后移动超 时定时器 T2;
判断子单元, 用于在所述定时器 T1或定时器 T2超时时, 判断所述倾 斜率 I Kl I 或倾斜率 I K2 I是否超过设定的阈值;
光标移动子单元, 用于当 I Kl I 或 I K2 I 超过阈值时, 左 /右或前 /后 移动光标一格, 并基于当前 I Kl I 或 I K2 I值继续光标移动判断, 触发所 述定时子单元。
9、 如权利要求 8所述的移动终端, 其中, 所述定时子单元中, 定时器 T1和定时器 T2的定时时间为预先设定的定值; 或者, 定时器 T1和 T2的 定时时间为: T1 = A1/ | Kl I ; T2 = A2/ I K2 I ; 其中, Al、 A2为常数; 当定时时间 T1 = A1/ | Kl I 、 T2 = A2/ I K2 I 时, 所述光标移动子单 元触发所述定时子单元前, 还基于当前的 I Kl I 或 I K2 I值重新计算定时 时间 T1或 T2。
10、 如权利要求 7所述的移动终端, 其中, 所述移动终端还包括: 检测单元, 用于判断重力感应光标移动功能是否开启, 当所述重力感 应光标移动功能开启时, 触发所述信息获取单元。
PCT/CN2011/078432 2011-06-20 2011-08-15 一种移动终端及其实现光标移动的方法 Ceased WO2012174783A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2014515035A JP6087349B2 (ja) 2011-06-20 2011-08-15 移動端末及びそのカーソル移動を実現する方法
EP11868161.8A EP2722730B1 (en) 2011-06-20 2011-08-15 Mobile terminal and method for moving cursor thereof
US14/126,027 US20140118260A1 (en) 2011-06-20 2011-08-15 Mobile terminal and method for moving cursor thereof
AU2011371364A AU2011371364A1 (en) 2011-06-20 2011-08-15 Mobile terminal and method for moving cursor thereof

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110165570.2 2011-06-20
CN2011101655702A CN102279647A (zh) 2011-06-20 2011-06-20 一种移动终端及其实现光标移动的方法

Publications (1)

Publication Number Publication Date
WO2012174783A1 true WO2012174783A1 (zh) 2012-12-27

Family

ID=45105133

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/078432 Ceased WO2012174783A1 (zh) 2011-06-20 2011-08-15 一种移动终端及其实现光标移动的方法

Country Status (6)

Country Link
US (1) US20140118260A1 (zh)
EP (1) EP2722730B1 (zh)
JP (1) JP6087349B2 (zh)
CN (1) CN102279647A (zh)
AU (1) AU2011371364A1 (zh)
WO (1) WO2012174783A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9268362B2 (en) 2012-12-04 2016-02-23 Wistron Corp. Method for controlling cursor

Families Citing this family (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101654553B1 (ko) * 2011-12-16 2016-09-07 삼성전자주식회사 휴대 단말기의 터치 입력 방법 및 장치
CN103176708A (zh) * 2011-12-23 2013-06-26 吴振志 一种移动电子产品的电子文档阅读控制方法
CN103218144A (zh) * 2012-01-20 2013-07-24 展讯通信(上海)有限公司 显示屏状态的控制装置及方法、预设目标点的装置及方法
CN103200304A (zh) * 2012-10-09 2013-07-10 深圳市金立通信设备有限公司 一种移动终端智能光标控制系统及方法
CN103002098B (zh) * 2012-11-30 2015-09-02 广东欧珀移动通信有限公司 一种单手输入方法及具有单手输入法的智能手机
CN103870013B (zh) * 2012-12-14 2017-12-26 联想(北京)有限公司 信息处理方法、装置和电子设备
CN103135901B (zh) * 2013-02-04 2016-01-20 广东欧珀移动通信有限公司 移动终端中精确选择文本文字的方法及该移动终端
JP6070833B2 (ja) * 2013-05-08 2017-02-01 富士通株式会社 入力装置及び入力プログラム
CN103558928A (zh) * 2013-10-24 2014-02-05 广东欧珀移动通信有限公司 光标位置的调整方法、装置及移动终端
JP5963806B2 (ja) * 2014-05-30 2016-08-03 京セラドキュメントソリューションズ株式会社 文字入力システム、情報処理装置、文字入力方法
CN105320260B (zh) * 2014-12-16 2019-03-05 维沃移动通信有限公司 移动终端的控制方法及移动终端
CN105786360A (zh) * 2014-12-23 2016-07-20 珠海金山办公软件有限公司 一种用移动终端演示ppt文档的方法和装置
CN104714643B (zh) * 2015-03-04 2018-02-13 惠州Tcl移动通信有限公司 一种利用传感器实现模拟触摸屏的方法、系统及移动终端
CN104850332B (zh) * 2015-03-19 2018-10-09 惠州Tcl移动通信有限公司 智能终端控制方法以及智能终端
CN106033349A (zh) * 2015-03-20 2016-10-19 广州金山移动科技有限公司 一种对象位置调整方法及装置
CN105373317A (zh) * 2015-11-27 2016-03-02 努比亚技术有限公司 一种移动终端及信息处理方法
CN105511607B (zh) * 2015-11-30 2018-10-02 四川长虹电器股份有限公司 立体式的人机交互设备、方法及系统
CN106095253A (zh) * 2016-06-08 2016-11-09 任宇 移动终端
CN106095311A (zh) * 2016-06-08 2016-11-09 任宇 移动终端
CN107155002B (zh) * 2017-04-25 2020-02-18 广州视源电子科技股份有限公司 光标移动方法及系统
CN107678576A (zh) * 2017-08-24 2018-02-09 上海与德科技有限公司 光标的控制方法、终端设备、计算机可读存储介质
CN113282222B (zh) * 2021-04-23 2024-03-29 海南视联通信技术有限公司 一种光标控制方法和装置
KR20230149257A (ko) * 2022-04-19 2023-10-26 애플 인크. 손 결합 구역

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1866168A (zh) * 2005-05-20 2006-11-22 三星电子株式会社 测量参考倾斜的便携式终端及其测量方法
CN101076166A (zh) * 2006-05-17 2007-11-21 三星电子株式会社 具有显示按钮的装置及用于所述装置的显示方法和介质
CN101206536A (zh) * 2006-12-22 2008-06-25 财团法人工业技术研究院 惯性感测六轴向输入装置及其使用方法
CN101551718A (zh) * 2006-12-25 2009-10-07 财团法人工业技术研究院 3d微惯性感测方法与系统

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007026146A (ja) * 2005-07-19 2007-02-01 Sharp Corp 操作装置および操作システム
JP4863761B2 (ja) * 2006-05-09 2012-01-25 任天堂株式会社 ゲーム装置およびゲームプログラム
TWI319539B (en) * 2006-11-29 2010-01-11 Ind Tech Res Inst Pointing device
TWI330802B (en) * 2006-12-13 2010-09-21 Ind Tech Res Inst Inertial sensing method and system
US8587515B2 (en) * 2008-08-05 2013-11-19 Apple Inc. Systems and methods for processing motion sensor generated data
JP2010086192A (ja) * 2008-09-30 2010-04-15 Sony Ericsson Mobile Communications Ab 携帯機器、コンピュータプログラムおよび記録媒体
US8717283B1 (en) * 2008-11-25 2014-05-06 Sprint Communications Company L.P. Utilizing motion of a device to manipulate a display screen feature
CN102362251B (zh) * 2008-12-30 2016-02-10 法国电信公司 用于提供对应用程序的增强控制的用户界面
JP2010204810A (ja) * 2009-03-02 2010-09-16 Panasonic Corp 携帯情報端末
CN101625607A (zh) * 2009-08-17 2010-01-13 何进 一种指戴式鼠标
US9134799B2 (en) * 2010-07-16 2015-09-15 Qualcomm Incorporated Interacting with a projected user interface using orientation sensors

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1866168A (zh) * 2005-05-20 2006-11-22 三星电子株式会社 测量参考倾斜的便携式终端及其测量方法
CN101076166A (zh) * 2006-05-17 2007-11-21 三星电子株式会社 具有显示按钮的装置及用于所述装置的显示方法和介质
CN101206536A (zh) * 2006-12-22 2008-06-25 财团法人工业技术研究院 惯性感测六轴向输入装置及其使用方法
CN101551718A (zh) * 2006-12-25 2009-10-07 财团法人工业技术研究院 3d微惯性感测方法与系统

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9268362B2 (en) 2012-12-04 2016-02-23 Wistron Corp. Method for controlling cursor

Also Published As

Publication number Publication date
US20140118260A1 (en) 2014-05-01
JP6087349B2 (ja) 2017-03-01
AU2011371364A1 (en) 2014-01-16
JP2014519666A (ja) 2014-08-14
EP2722730A1 (en) 2014-04-23
EP2722730B1 (en) 2018-10-10
EP2722730A4 (en) 2015-03-25
CN102279647A (zh) 2011-12-14

Similar Documents

Publication Publication Date Title
JP6087349B2 (ja) 移動端末及びそのカーソル移動を実現する方法
KR101903261B1 (ko) 터치스크린을 구비한 단말기의 오터치 방지 방법 및 장치
TWI629636B (zh) 用於控制一電子器件之方法、電子器件及非暫時性電腦可讀儲存媒體
CN102508560B (zh) 一种基于移动终端的应用程序切换方法和装置
KR102080183B1 (ko) 전자 장치 및 전자 장치에서 잠금 해제 방법
WO2017133498A1 (zh) 智能设备以及智能设备控制方法
CN104035707A (zh) 一种终端及其应用程序的快捷启动方法
TW201250251A (en) Motion-based device operations
CN106775536B (zh) 一种双屏切换方法以及装置
TW201617822A (zh) 連續性
CN104156162A (zh) 播放进度调节方法、装置及终端
US9846529B2 (en) Method for processing information and electronic device
CN103513912B (zh) 一种界面切换方法及装置
CN104793880A (zh) 一种界面操作的方法及终端
CN105808091A (zh) 调整界面操作图标分布范围的装置、方法及触摸屏设备
CN103995660A (zh) 触屏浏览器切换窗口的方法及装置
CN107613203A (zh) 一种图像处理方法及移动终端
WO2017161803A1 (zh) 一种设置的调节方法和终端
WO2015123971A1 (zh) 输入方法和装置
CN108174014A (zh) 一种截屏方法及装置
CN103197886B (zh) 视频切换的方法及终端
WO2013178192A2 (zh) 触摸屏的单点控制方法、装置及移动终端
CN105426091B (zh) 一种控制黑屏手势处理的方法及终端
CN105159582A (zh) 一种视频区域调整方法及终端
WO2013082954A1 (zh) 智能终端上基于陀螺仪的人机交互检测及处理方法

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11868161

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 14126027

Country of ref document: US

ENP Entry into the national phase

Ref document number: 2014515035

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2011371364

Country of ref document: AU

Date of ref document: 20110815

Kind code of ref document: A