CN102902467B - Text cursor positioning method of terminal equipment and terminal equipment - Google Patents

Text cursor positioning method of terminal equipment and terminal equipment Download PDF

Info

Publication number
CN102902467B
CN102902467B CN201210337877.0A CN201210337877A CN102902467B CN 102902467 B CN102902467 B CN 102902467B CN 201210337877 A CN201210337877 A CN 201210337877A CN 102902467 B CN102902467 B CN 102902467B
Authority
CN
China
Prior art keywords
capstan
cursor
text
terminal device
rotation
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.)
Expired - Fee Related
Application number
CN201210337877.0A
Other languages
Chinese (zh)
Other versions
CN102902467A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201210337877.0A priority Critical patent/CN102902467B/en
Publication of CN102902467A publication Critical patent/CN102902467A/en
Application granted granted Critical
Publication of CN102902467B publication Critical patent/CN102902467B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Position Input By Displaying (AREA)

Abstract

The invention discloses a text cursor positioning method of terminal equipment and the terminal equipment. The terminal equipment comprises a rotary module, a gesture capturing module and a central processing unit, wherein the rotary module is displayed on a display screen of the mobile terminal through a rotary disc manner. The text cursor positioning method comprises the following steps of: step 1, entering a text editor to click a text; when a cursor appears and the text enters an editable state, enabling a rotary disc to appear below the cursor at the clicking part; step 2, rotating the rotary disc by a user and capturing the change of a gesture of the user by the gesture capturing module; and transmitting a rotary angle and a movable distance to the central processing unit; and step 3, calculating and determining the movement distance of the cursor through the rotary angle and the movement distance; and positioning the cursor. When the cursor is moved, the movement of the cursor is assisted by the rotary disc. The left and right movement of the cursor is controlled through rotating the rotary disc in a clockwise and anticlockwise manner, so that on one hand, the position of the cursor cannot be shielded; and on the other hand, the cursor can be greatly moved in a limited screen range through repeated rotation operation.

Description

A kind of text cursor localization method of terminal device and terminal device thereof
Technical field
The present invention relates to a kind of electric terminal equipment, particularly relate to a kind of text cursor localization method and terminal device thereof of terminal device.
Background technology
Cursor (cursor) is also referred to as vernier.Oracle uses two kinds of cursors: explicit cursor and implicit expression cursor.No matter statement returns how many records, and PL/SQL is statement cursor of the SQL order implicit expression such as each UPDATE, DELETE and the INSERT used.(process of SQL statement will be managed, must implicit expression to it definition a cursor.) user states and use many records that display highlighting treatment S ELECT statement returns.A kind of structure of definition cursor of display, it enables user for specific statement specified memory region, to use later.
When the inquiry of PL/SQL cursor returns multirow data, these record groups are called as active set.This active set is stored in the named cursor of the display definition that you create by Oracle.Oracle cursor is a kind of mechanism for processing multirow data easily, does not have cursor, Oracle developer must individually, explicitly fetches and manages each record of cursor query selection.
Another function thing of cursor, it comprises the pointer that is followed the tracks of the record of current accessed, and this enables your program single treatment many records.
When in a text box or certain program during input characters, always having a cursor to show will the position of input characters.
Present most cursor is all a little vertical line, flashing of rule. under DOS, some cursor is then short little horizontal line, flashing of same rule. used windows cursor is an image, and can be also can be static dynamically, appearance be also different in varied situations.
And in prior art, the cursor of the Text Entry on general touch control device, moves after all needing directly to tap cursor with finger when location, in the process of movement, point first-class contactant can obstruct the view, and is not easy to the position determining cursor.
Summary of the invention
The object of the invention is to overcome the deficiencies in the prior art, a kind of text cursor localization method and terminal device thereof of terminal device are provided, when the position of mobile cursor, capstan fill-in light target is utilized to move, by controlling moving left and right of cursor along reverse rotation capstan, the position at cursor place can not be blocked; And the operation rotating repeatability can move cursor significantly in limited screen ranges.
In order to achieve the above object, the technical solution used in the present invention is, a kind of text cursor localization method of terminal device, described terminal device comprises rotary module, gesture capture module, CPU (central processing unit), described rotary module is shown by capstan mode on terminal device display screen, comprises the following steps:
Step 1. enter text editor click text, cursor occur, text enter can editing mode time, capstan appears at below click place cursor;
Step 2. user rotates capstan, and gesture capture module catches the change of user's gesture, sends the anglec of rotation and displacement to CPU (central processing unit);
Step 3. CPU (central processing unit) calculates by the anglec of rotation and displacement the distance determining cursor movement, and positions cursor.
Further, when the capstan of text editor occurs, capstan angle is initialized as zero, and capstan is shown in the screen the superiors, and user directly passes through gesture operation.
Further, when capstan occurs,
A. acquiescence comes across immediately below cursor, and capstan center point coordinate aligns with in cursor center point coordinate horizontal direction;
B., when editable text is positioned at screen lower edge, when text lower position is not enough to display capstan, capstan appears at above text cursor;
C. capstan occur and mobile time, when near screen left or edge, right, capstan can be refused cursor horizontal level aligns, can touch-control capstan edge when guaranteeing to operate capstan;
D., after capstan rotates, catch the position before and after cursor, its coordinate is recorded and analyzes, shift differences before and after contrast cursor, the motion of the same displacement in same direction made by capstan, and when cursor position enters a new line, the motion made on vertical coordinate also followed by capstan.
Further, user rotates capstan and comprises turn clockwise capstan and counterclockwise capstan two kinds of modes, length carries out drag-and-drop operation by capstan edge to capstan, capstan rotates with capstan central point, the anglec of rotation is the line of contact point and capstan central point when pointing first contacts capstan edge and points the angle angle of unclamping time point and capstan central point line, when rotating capstan, the anglec of rotation of capstan changes, but the coordinate of capstan on screen does not change.
Further, gesture capture module catches the change of user's gesture by System Monitor, and the change of user's gesture comprises turning clockwise moves and is rotated counterclockwise movement.
Further, determine that the distance of cursor movement comprises by the anglec of rotation and displacement calculating:
Capstan angle is whenever turning clockwise 45 degree, and text cursor moves right one, and anglec of rotation numerical value is at degree with between 45 degree, text cursor position does not change, cursor arrives the end of editable text, and continue the capstan that turns clockwise, cursor position is accompany movement no longer;
Capstan angle is whenever reverse hour hands rotation 45 degree, and text cursor is moved to the left one, and anglec of rotation numerical value is at degree with between 45 degree, text cursor position does not change, cursor arrives the front end of editable text, and continue reverse hour hands and rotate capstan, cursor position is accompany movement no longer.
Further, the text cursor localization method of described terminal device also comprises after each spinning movement terminates, when loosing one's grip after namely terminating to rotate, the angle zero of capstan, simultaneously the position of capstan move to and change after cursor position below.
Further, the text cursor localization method of described terminal device also comprises the disappearance of capstan, operates arbitrarily the region beyond editable text, and capstan disappears, and cursor still exists.
Further, a kind of terminal device of text cursor localization method of described terminal device, comprising:
Rotary module, described rotary module is shown by capstan mode on terminal device display screen, and user realizes cursor to capstan rotation and moves, and is located cursor by the capstan anglec of rotation and distance;
Gesture capture module, gathers the selected angle of rotary module and distance by catching user's gesture, and sends CPU (central processing unit) to;
CPU (central processing unit), by user's gesture change judge the capstan anglec of rotation with apart from and further localization process is carried out to cursor.
Further, mobile phone, palm PC, E-book reader, MP3, MP4 reader of described terminal device to be display screen be touch screen.
Compared with prior art, the invention has the beneficial effects as follows: when the position of mobile cursor, utilize capstan fill-in light target to move.By controlling moving left and right of cursor along reverse rotation capstan, the position at cursor place can not be blocked on the one hand; The operation rotating repeatability on the other hand can move cursor significantly in limited screen ranges; The hommization more of Edit Text process, does not stop the sight line of user during input text, do not bring operational puzzlement because of the restriction of screen touch-control scope and sensitivity to user yet.Cursor location, also can accurately control the intercharacter location of minimal width more accurately.
Accompanying drawing explanation
Fig. 1 is method flow diagram of the present invention;
Fig. 2 is specific embodiments of the invention schematic diagram.
Embodiment
Be described in detail, to be interpretated more in-depth technical characteristic of the present invention and advantage with reference to accompanying drawing below in conjunction with embodiment.
Theory diagram of the present invention as shown in Figure 1, a kind of text cursor localization method of terminal device, described terminal device comprises rotary module, gesture capture module, CPU (central processing unit), and described rotary module is shown by capstan mode on terminal device display screen, comprises the following steps:
Step 1. enter text editor click text, cursor occur, text enter can editing mode time, capstan appears at below click place cursor;
Step 2. user rotates capstan, and gesture capture module catches the change of user's gesture, sends the anglec of rotation and displacement to CPU (central processing unit);
Step 3. CPU (central processing unit) calculates by the anglec of rotation and displacement the distance determining cursor movement, and positions cursor.
Further, when the capstan of text editor occurs, capstan angle is initialized as zero, and capstan is shown in the screen the superiors, and user directly passes through gesture operation.
Further, when a. capstan occurs, acquiescence comes across immediately below cursor, and capstan center point coordinate aligns with in cursor center point coordinate horizontal direction;
B., when editable text is positioned at screen lower edge, when text lower position is not enough to display capstan, capstan appears at above text cursor;
C. capstan occur and mobile time, when near screen left or edge, right, capstan can be refused cursor horizontal level aligns, and guarantees that capstan edge and screen back gauge have 1cm distance with vacating space, can touch-control capstan edge when guaranteeing to operate capstan;
D., after capstan rotates, catch the position before and after cursor, its coordinate is recorded and analyzes, shift differences before and after contrast cursor, the motion of the same displacement in same direction made by capstan, and when cursor position enters a new line, the motion made on vertical coordinate also followed by capstan.
Further, user rotates capstan and comprises turn clockwise capstan and counterclockwise capstan two kinds of modes, length carries out drag-and-drop operation by capstan edge to capstan, capstan rotates with capstan central point, the anglec of rotation is the line of contact point and capstan central point when pointing first contacts capstan edge and points the angle angle of unclamping time point and capstan central point line, when rotating capstan, the anglec of rotation of capstan changes, but the coordinate of capstan on screen does not change.
Further, gesture capture module catches the change of user's gesture by System Monitor, and the change of user's gesture comprises turning clockwise moves and is rotated counterclockwise movement.
Further, determine that the distance of cursor movement comprises by the anglec of rotation and displacement calculating:
Capstan angle is whenever turning clockwise 45 degree, and text cursor moves right one, and anglec of rotation numerical value is at degree with between 45 degree, text cursor position does not change, cursor arrives the end of editable text, and continue the capstan that turns clockwise, cursor position is accompany movement no longer;
Capstan angle is whenever reverse hour hands rotation 45 degree, and text cursor is moved to the left one, and anglec of rotation numerical value is at degree with between 45 degree, text cursor position does not change, cursor arrives the front end of editable text, and continue reverse hour hands and rotate capstan, cursor position is accompany movement no longer.
Further, the text cursor localization method of described terminal device also comprises after each spinning movement terminates, when loosing one's grip after namely terminating to rotate, the angle zero of capstan, simultaneously the position of capstan move to and change after cursor position below.
Further, the text cursor localization method of described terminal device also comprises the disappearance of capstan, region beyond editable text is operated arbitrarily, as used dummy keyboard input characters, click the physical button on mobile device, click or length think any virtual push button etc. by text, and capstan disappears, and cursor still exists.
Further, a kind of terminal device of text cursor localization method of described terminal device, comprising:
Rotary module, described rotary module is shown by capstan mode on terminal device display screen, and user realizes cursor to capstan rotation and moves, and is located cursor by the capstan anglec of rotation and distance;
Gesture capture module, gathers the selected angle of rotary module and distance by catching user's gesture, and sends CPU (central processing unit) to;
CPU (central processing unit), by user's gesture change judge the capstan anglec of rotation with apart from and further localization process is carried out to cursor.
Further, mobile phone, palm PC, E-book reader, MP3, MP4 reader of described terminal device to be display screen be touch screen.
Specific embodiments of the invention process flow diagram as shown in Figure 2, such as,
Occur in text box that editable text can edit printed words, and cursor is positioned at after the i of editable, when clicking text, there is text cursor in the place of clicking, and occur suspension capstan simultaneously;
Pin capstan edge, clockwise direction is selected, and cursor moves right, otherwise is moved to the left, and initially often rotates 45 degree of movement one least unit, follow-up then hopping;
When rotation is to target location, after loosing one's grip, capstan recovers former angle, and moves to current cursor same level position, and such as now cursor stops after moving to b and positions.
Above content is in conjunction with concrete optimal way further description made for the present invention, should not assert that specific embodiment of the invention is confined to above explanation.For those skilled in the art, without departing from the inventive concept of the premise, some simple deduction or replace can also be made, within the protection domain that the claim that all should be considered as being submitted to by the present invention is determined.

Claims (6)

1. the text cursor localization method of a terminal device, it is characterized in that, described terminal device comprises rotary module, gesture capture module, CPU (central processing unit), and described rotary module is shown by capstan mode on terminal device display screen, comprises the following steps:
Step 1. enter text editor click text, cursor occur, text enter can editing mode time, capstan appears at below click place cursor;
Step 2. user rotates capstan, and gesture capture module catches the change of user's gesture, sends the anglec of rotation and displacement to CPU (central processing unit);
Step 3. CPU (central processing unit) calculates by the anglec of rotation and displacement the distance determining cursor movement, and positions cursor;
When the capstan of text editor occurs, capstan angle is initialized as zero, and capstan is shown in the screen the superiors, and user directly passes through gesture operation;
When described capstan occurs,
A. acquiescence comes across immediately below cursor, and capstan center point coordinate aligns with in cursor center point coordinate horizontal direction;
B., when editable text is positioned at screen lower edge, when text lower position is not enough to display capstan, capstan appears at above text cursor;
C. capstan occur and mobile time, when near screen left or edge, right, capstan can be refused cursor horizontal level aligns, can touch-control capstan edge when guaranteeing to operate capstan;
D., after capstan starts rotation, catch the position before and after cursor, its coordinate is recorded and analyzes, shift differences before and after contrast cursor, the motion of the same displacement in same direction made by capstan, and when cursor position enters a new line, the motion made on vertical coordinate also followed by capstan.
2. the text cursor localization method of terminal device according to claim 1, it is characterized in that: user rotates capstan and comprises turn clockwise capstan and counterclockwise capstan two kinds of modes, length carries out drag-and-drop operation by capstan edge to capstan, capstan rotates with capstan central point, the anglec of rotation is the line of contact point and capstan central point when pointing first contacts capstan edge and points the angle angle of unclamping time point and capstan central point line, when rotating capstan, the anglec of rotation of capstan changes, but the coordinate of capstan on screen does not change.
3. the text cursor localization method of terminal device according to claim 2, is characterized in that: gesture capture module catches the change of user's gesture by System Monitor, and the change of user's gesture comprises turning clockwise moves and is rotated counterclockwise movement.
4. the text cursor localization method of terminal device according to claim 3, is characterized in that, is calculated determine that the distance of cursor movement comprises by the anglec of rotation and displacement:
Capstan angle is whenever turning clockwise 45 degree, and text cursor moves right one, and anglec of rotation numerical value is at degree with between 45 degree, text cursor position does not change, cursor arrives the end of editable text, and continue the capstan that turns clockwise, cursor position is accompany movement no longer;
Capstan angle is whenever reverse hour hands rotation 45 degree, and text cursor is moved to the left one, and anglec of rotation numerical value is at degree with between 45 degree, text cursor position does not change, cursor arrives the front end of editable text, and continue reverse hour hands and rotate capstan, cursor position is accompany movement no longer.
5. the text cursor localization method of terminal device according to claim 1, it is characterized in that: the text cursor localization method of described terminal device also comprises after each spinning movement terminates, when loosing one's grip after namely terminating rotation, the angle zero of capstan, the position of capstan moves to below the position of the rear cursor of change simultaneously.
6. the text cursor localization method of terminal device according to claim 1, it is characterized in that: the text cursor localization method of described terminal device also comprises the disappearance of capstan, operate arbitrarily the region beyond editable text, capstan disappears, and cursor still exists.
CN201210337877.0A 2012-09-13 2012-09-13 Text cursor positioning method of terminal equipment and terminal equipment Expired - Fee Related CN102902467B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210337877.0A CN102902467B (en) 2012-09-13 2012-09-13 Text cursor positioning method of terminal equipment and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210337877.0A CN102902467B (en) 2012-09-13 2012-09-13 Text cursor positioning method of terminal equipment and terminal equipment

Publications (2)

Publication Number Publication Date
CN102902467A CN102902467A (en) 2013-01-30
CN102902467B true CN102902467B (en) 2015-03-18

Family

ID=47574721

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210337877.0A Expired - Fee Related CN102902467B (en) 2012-09-13 2012-09-13 Text cursor positioning method of terminal equipment and terminal equipment

Country Status (1)

Country Link
CN (1) CN102902467B (en)

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103135901B (en) * 2013-02-04 2016-01-20 广东欧珀移动通信有限公司 Method and this mobile terminal of text is accurately selected in mobile terminal
CN103294361B (en) * 2013-06-26 2016-08-03 珠海金山办公软件有限公司 A kind of method, system and device quickly selecting word on touch-screen equipment
CN104423672B (en) * 2013-09-06 2019-01-15 联想(北京)有限公司 Electronic equipment and its input method
CN104461095A (en) * 2013-09-17 2015-03-25 宏碁股份有限公司 Adjustable pointing-component direction prompting method and system
CN104516620A (en) * 2013-09-27 2015-04-15 联想(北京)有限公司 Positioning method and electronic device
CN103533448B (en) * 2013-10-31 2017-12-08 乐视致新电子科技(天津)有限公司 The cursor control method and cursor control device of intelligent television
CN103955277A (en) * 2014-05-13 2014-07-30 广州三星通信技术研究有限公司 Method and device for controlling cursor on electronic equipment
US20150346998A1 (en) * 2014-05-30 2015-12-03 Qualcomm Incorporated Rapid text cursor placement using finger orientation
CN105373326B (en) * 2014-09-01 2020-11-24 深圳富泰宏精密工业有限公司 Data processing system and method
CN104199594B (en) * 2014-09-28 2018-02-23 厦门幻世网络科技有限公司 A kind of target location localization method and its device based on touch-screen
CN104850322A (en) * 2015-05-05 2015-08-19 成都上生活网络科技有限公司 User interaction interface system and implementation method
CN105404444B (en) * 2015-11-26 2019-07-05 广州华多网络科技有限公司 Cursor-moving method and device
CN105681573A (en) * 2016-02-22 2016-06-15 努比亚技术有限公司 Mobile terminal and control method thereof
CN107957829B (en) * 2016-10-14 2021-01-22 腾讯科技(深圳)有限公司 Method and device for adjusting editing position of input cursor and terminal equipment
CN106569723A (en) * 2016-10-28 2017-04-19 努比亚技术有限公司 Device and method for controlling cursor movement
CN113791710A (en) * 2017-09-05 2021-12-14 华为终端有限公司 Method for controlling cursor movement, content selection method, method for controlling page scrolling and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101377716A (en) * 2007-08-31 2009-03-04 捷讯研究有限公司 Handheld electric device and associated method providing advanced text editing function in a text disambiguation environment
CN101432677A (en) * 2005-03-04 2009-05-13 苹果公司 Electronic device having display and surrounding touch sensitive bezel for user interface and control
CN102460368A (en) * 2009-04-23 2012-05-16 吴谊镇 Multidirectional expansion cursor and method for forming multidirectional expansion cursor

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
NO20020895L (en) * 2001-06-27 2002-12-30 Ziad Badarneh Interactive system connected to electronic equipment
JP2010257075A (en) * 2009-04-22 2010-11-11 Tokai Rika Co Ltd Character correction method using rotary three-dimensional input device
US9292161B2 (en) * 2010-03-24 2016-03-22 Microsoft Technology Licensing, Llc Pointer tool with touch-enabled precise placement

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101432677A (en) * 2005-03-04 2009-05-13 苹果公司 Electronic device having display and surrounding touch sensitive bezel for user interface and control
CN101377716A (en) * 2007-08-31 2009-03-04 捷讯研究有限公司 Handheld electric device and associated method providing advanced text editing function in a text disambiguation environment
CN102460368A (en) * 2009-04-23 2012-05-16 吴谊镇 Multidirectional expansion cursor and method for forming multidirectional expansion cursor

Also Published As

Publication number Publication date
CN102902467A (en) 2013-01-30

Similar Documents

Publication Publication Date Title
CN102902467B (en) Text cursor positioning method of terminal equipment and terminal equipment
CN103530050B (en) Display packing and information processor
US10318149B2 (en) Method and apparatus for performing touch operation in a mobile device
US10203871B2 (en) Method for touch input and device therefore
CN104145236B (en) Method and apparatus for the content in mobile terminal
US9063647B2 (en) Multi-touch uses, gestures, and implementation
CN104102441B (en) A kind of menu item execution method and device
CN107748641B (en) Numerical value adjustment control method and device, electronic equipment and storage medium
US20150077345A1 (en) Simultaneous Hover and Touch Interface
US9262012B2 (en) Hover angle
CN104571852A (en) Icon moving method and device
US20150363003A1 (en) Scalable input from tracked object
US20150160819A1 (en) Crane Gesture
WO2014192060A1 (en) Programmable display device and screen operation processing program therefor
US20130293477A1 (en) Electronic apparatus and method for operating the same
KR101891306B1 (en) Method and Apparatus for Realizaing Human-Machine Interaction
CN103037253B (en) Remote control system and method for remotely controlling
CN103135852A (en) Touch screen device and data input method
US20160034101A1 (en) Operation method of a touch screen and touch screen device
CN104407744A (en) Rear-mounted touch control device for intelligent equipment
US20110134148A1 (en) Systems And Methods Of Processing Touchpad Input
CN106020471A (en) Operation method of mobile terminal and mobile terminal
US20170031463A1 (en) Single-hand, full-screen interaction on a mobile device
CN104423657B (en) The method and electronic equipment of information processing
CN104750364A (en) Character and signal inputting method and device on intelligent electronic device

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
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CP01 Change in the name or title of a patent holder
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150318

CF01 Termination of patent right due to non-payment of annual fee