CN106354358A - Cursor position determining method and mobile terminal - Google Patents

Cursor position determining method and mobile terminal Download PDF

Info

Publication number
CN106354358A
CN106354358A CN201610690977.XA CN201610690977A CN106354358A CN 106354358 A CN106354358 A CN 106354358A CN 201610690977 A CN201610690977 A CN 201610690977A CN 106354358 A CN106354358 A CN 106354358A
Authority
CN
China
Prior art keywords
cursor
cursor position
gesture
initial
click
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610690977.XA
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201610690977.XA priority Critical patent/CN106354358A/en
Publication of CN106354358A publication Critical patent/CN106354358A/en
Pending 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/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04812Interaction techniques based on cursor appearance or behaviour, e.g. being affected by the presence of displayed objects
    • 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/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting

Abstract

The invention provides a cursor position determining method and a mobile terminal. The method includes the steps that in a text operable region, when a first click operation gesture is detected, the happening position of the gesture is determined and is set as the initial click position; according to the initial click position, the cursor position is determined, and the cursor at the moment is set an initial cursor; the position of a click gesture happening within the preset distance range of the initial cursor is used as a heuristic click position; whether the position of the click operation gesture happening subsequently belongs to the heuristic click position or not is judged, if yes, the cursor position is determined according to the heuristic rule, and otherwise the cursor determined by the gesture is used as the initial cursor. By means of the technical scheme, the problems that in the prior art, cursor positioning is low in accuracy and prone to causing misoperation are solved easily and effectively, and the efficiency of text operation is improved.

Description

A kind of determination method of cursor position and mobile terminal
Technical field
The present invention relates to communication technical field, the determination method of more particularly, to a kind of cursor position and carry this light mark A kind of mobile terminal of the determination method put.
Background technology
At present, the touch screen terminal equipment such as smart mobile phone, panel computer is respectively provided with the input to word, editor and deletes work( Can, meet the demand of people's word processing, information transmission.User carries out to document inserting on mobile terminals, Bian Jihe During deletion action, need to determine cursor position with finger manipulation screen, to position the position of text operation.But, due to touching Touch the limitation of screen and finger manipulation itself, user is often difficult to cursor is accurately positioned on the position of needs, thus to use The text input at family brings loaded down with trivial details and puzzlement.
Content of the invention
In order to overcome above-mentioned technical problem it is necessary to for the cumbersome problem of above-mentioned cursor positioning, provide a kind of light The determination method of cursor position and mobile terminal.
For achieving the above object, the present invention adopts the following technical scheme that:
A kind of determination method of cursor position, comprising:
In text operable area, when the first clicking operation gesture is detected, determine the position that this gesture occurs, if this position is Initial click location;
According to described initial click location, determine light target position, if light now is designated as original cursor;
The position being in the click gesture occurring in the range of described original cursor predeterminable range, as exploration click location;
Judge whether the position of the clicking operation gesture subsequently occurring belongs to described exploration click location, if it is, according to examination Visit rule and determine light target position, otherwise using cursor determined by this gesture as described original cursor.
It should be noted that the text that described text operable area refers to this region can enter edlin, deletion, insert The operation such as enter;First clicking operation gesture is the click gesture not occurred in the range of described original cursor predeterminable range;Described Light target position is generally from the position clicked between the nearest two neighboring character of hand gesture location.
Preferably, described predeterminable range is in same a line of described original cursor place text, and its value is from described initial Cursor position starts turn left number and (or) n-th character turning right several.
It should be noted that described predeterminable range comprises this n-th character.Described character includes Chinese character, English words Symbol, various symbols character etc..Obviously, being in the possible cursor position in the range of described original cursor predeterminable range has (2n-1) Individual.
Preferably, the value of described n is 2, and that is, described predeterminable range scope is the left and right closest with described original cursor Each 2 characters.
When the value of n is 2, then being in the possible cursor position in the range of described original cursor predeterminable range has 3, wherein One is described original cursor.
Preferably, described heuristic rule includes from souning out possible light mark from the near to the remote away from described initial cursor position Put, if apart from identical, the possible cursor position in the left side both can have been chosen first as light target position, and can select first again Take the possible cursor position in the right as light target position.
Preferably, when executing described heuristic rule, if the possible cursor position of described initial cursor position both sides is all tried Spy is over, then using described initial cursor position as cursor position determined by described exploration click location for the last time.
Preferably, the distance in the possible cursor position in left and right two and described initial cursor position is the same from situation Under, if described for the first time sound out the left side that click location is in described initial cursor position, in described heuristic rule, always Choose that possible cursor position of the left side as light target position, otherwise choose that possible cursor position of the right as light Target position.
According to a further aspect in the invention, provide a kind of mobile terminal, comprise the determination method of above-mentioned cursor position.
By above scheme as can be seen that the present invention provide a kind of determination method of cursor position and mobile terminal, if Cursor position determined by clicking on for the first time is incorrect, can continue to enter near this cursor position by subsequent clicking operation The exploratory lookup of row, until finding final cursor position.Thus it is accurate simply and effectively to solve cursor positioning in correlation technique Really rate is low, easily produces the problem of maloperation, improves the efficiency of text maninulation.
Brief description
Fig. 1 is a kind of flow chart of the determination method of cursor position of the embodiment of the present invention;
Fig. 2 is the schematic diagram that in the present invention, n is described original cursor predeterminable range scope when 2.
Specific embodiment
Understandable for enabling the above objects, features and advantages of the present invention to become apparent from, below in conjunction with the accompanying drawings and specifically real The present invention is further detailed explanation to apply mode.
With reference to Fig. 1, the flow chart showing a kind of determination method of cursor position of the embodiment of the present invention, comprising:
Step 101, in text operable area, when the first clicking operation gesture is detected, determine this gesture occur position, if This position is initial click location;
Step 102, according to described initial click location, determine light target position, if light now is designated as original cursor;
Step 103, be in the range of described original cursor predeterminable range occur clicks gesture position, as sound out click Position;
Whether the position of the clicking operation gesture that step 104, judgement subsequently occur belongs to described exploration click location, if it is, Then determine light target position according to heuristic rule, otherwise using cursor determined by this gesture as described original cursor.
As a preferred version, described predeterminable range is in same a line of described original cursor place text, and its value is Start turn left number and (or) n-th character turning right several from described initial cursor position.
When being embodied as, the value of described n is 2, and that is, described predeterminable range scope is closest with described original cursor Each 2 characters in left and right.Fig. 2 is the schematic diagram that in the present invention, n is described original cursor predeterminable range scope when 2.As shown in Fig. 2 Four words of " the good sample of women's volleyball " in the range of rectangle frame are described original cursor predeterminable range scope.
If described original cursor is in the head of line of text, only take two characters that this row starts most as described first Beginning cursor predeterminable range scope;If described original cursor is in the afterbody of line of text, only take rearmost two words of this row Symbol is as described original cursor predeterminable range scope.
As a preferred version, described heuristic rule is included from sound out from the near to the remote away from described initial cursor position can The cursor position of energy, if apart from identical, the possible cursor position in the left side both can have been chosen first as light target position, and The possible cursor position in the right can be chosen first as light target position.
When being embodied as, when executing described heuristic rule, if the possible cursor position of described initial cursor position both sides All sound out and be over, then using described initial cursor position as cursor position determined by described exploration click location for the last time.
The circulation knot of one heuristic rule execution, if all of described possible cursor position has all been soundd out one time, is described Shu Liao.Next round exploration subsequently will be carried out, if the position of that is, subsequent click gesture is in described original cursor predeterminable range In the range of, then soundd out from the possible cursor position of described initial cursor position both sides first.
As a preferred version, in distance all phases of the possible cursor position in left and right two and described initial cursor position In the case of same, if described for the first time sound out the left side that click location is in described initial cursor position, described exploration is advised In then, always choose that possible cursor position of the left side as light target position, otherwise choose that possible cursor of the right Position is as light target position.
During concrete execution, described distance is determined with the number of character.In order to execute convenience, quantity is identical but type is different Character representation identical distance.The distance that such as " Beijing sh " and " Beijing and Shanghai " represent is all 4.
Or it is illustrated, after described original cursor determines, and when the position of this original cursor is not to use taking Fig. 2 as a example During the cursor position that family demand determines, user will continue to click on this cursor position nearby to find correct cursor position.Such as, When clicking on for the first time the position of gesture and occurring on " female " or " row " word, then using " the possible cursor position 1 " of in figure as light Target position is simultaneously shown in cursor on this position, when second is clicked on the position generation of gesture in " the good sample of women's volleyball " this four words An arbitrary character on when, then " the possible cursor position 2 " of in figure is shown in this as light target position and cursor On position;In turn, if the position clicking on gesture for the first time occurs on " sample " or " good " word, in figure is " possible Cursor position 2 " be shown on this position as light target position and cursor, when second position clicking on gesture occurs to exist When on arbitrary character of " the good sample of women's volleyball " this four words, then using " the possible cursor position 1 " of in figure as light target position Put and cursor is shown on this position.
If certain position clicking on gesture generation is not belonging to described exploration click location, current gesture of clicking on is occurred Cursor determined by position, as new described original cursor, and carry out new cursor position and determine souning out.
According to a further aspect in the invention, provide a kind of mobile terminal, comprise the determination method of above-mentioned cursor position.
The technical scheme of above example only in order to the present invention to be described, is not intended to limit.Although with reference to aforementioned each enforcement The technical scheme of example has been described in detail to the present invention, it will be understood by those within the art that: it is still permissible The technical scheme of foregoing embodiments is modified, or equivalent is carried out to wherein some technical characteristics;And these are repaiied Change or replace, do not make the essence of appropriate technical solution depart from the spirit and scope of concrete technical scheme of the present invention.

Claims (7)

1. a kind of determination method of cursor position is it is characterised in that include:
In text operable area, when the first clicking operation gesture is detected, determine the position that this gesture occurs, if this position is Initial click location;
According to described initial click location, determine light target position, if light now is designated as original cursor;
The position being in the click gesture occurring in the range of described original cursor predeterminable range, as exploration click location;
Judge whether the position of the clicking operation gesture subsequently occurring belongs to described exploration click location, if it is, according to examination Visit rule and determine light target position, otherwise using cursor determined by this gesture as described original cursor.
2. a kind of determination method of cursor position according to claim 1 is it is characterised in that described predeterminable range is in institute State same a line of original cursor place text, its value is to start to turn left number and (or) turn right several the from described initial cursor position N character.
3. a kind of determination method of the cursor position according to claim 1 and 2 is it is characterised in that the value of described n is 2, that is, Each 2 characters in left and right that described predeterminable range scope is closest with described original cursor.
4. a kind of cursor position according to claim 1 determination method it is characterised in that described heuristic rule include from Sound out possible cursor position away from described initial cursor position from the near to the remote, if apart from identical, both can choose first The possible cursor position in the left side, as light target position, can choose the possible cursor position in the right as light target position again first Put.
5. a kind of determination method of cursor position according to claim 1 is it is characterised in that execute described heuristic rule When, if the possible cursor position of described initial cursor position both sides is all soundd out being over, using described initial cursor position as Cursor position determined by described exploration click location for the last time.
6. a kind of determination method of cursor position according to claim 1 is it is characterised in that in the possible light in left and right two In the case of the distance of cursor position and described initial cursor position is the same from, if described exploration click location is in institute for the first time State the left side of initial cursor position, then, in described heuristic rule, always choose that possible cursor position of the left side as cursor Position, otherwise choose the right that possible cursor position as light target position.
7. a kind of mobile terminal according to any one of claim 1-6 is it is characterised in that this mobile terminal comprises above-mentioned light The determination method of cursor position.
CN201610690977.XA 2016-08-20 2016-08-20 Cursor position determining method and mobile terminal Pending CN106354358A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610690977.XA CN106354358A (en) 2016-08-20 2016-08-20 Cursor position determining method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610690977.XA CN106354358A (en) 2016-08-20 2016-08-20 Cursor position determining method and mobile terminal

Publications (1)

Publication Number Publication Date
CN106354358A true CN106354358A (en) 2017-01-25

Family

ID=57843690

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610690977.XA Pending CN106354358A (en) 2016-08-20 2016-08-20 Cursor position determining method and mobile terminal

Country Status (1)

Country Link
CN (1) CN106354358A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2067094A1 (en) * 2006-09-06 2009-06-10 Apple Inc. Methods for determining a cursor position from a finger contact with a touch screen display
CN102023789A (en) * 2009-09-22 2011-04-20 宏达国际电子股份有限公司 Data selection method and system thereof
CN103034411A (en) * 2011-10-09 2013-04-10 中国移动通信集团公司 Text selection method and device for touch screen

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2067094A1 (en) * 2006-09-06 2009-06-10 Apple Inc. Methods for determining a cursor position from a finger contact with a touch screen display
CN102023789A (en) * 2009-09-22 2011-04-20 宏达国际电子股份有限公司 Data selection method and system thereof
CN103034411A (en) * 2011-10-09 2013-04-10 中国移动通信集团公司 Text selection method and device for touch screen

Similar Documents

Publication Publication Date Title
US11301126B2 (en) Icon control method and terminal
US9519401B2 (en) Providing context menu based on predicted commands
CN102937864B (en) A kind of method and apparatus for determining selected text on touch terminal
US20170193992A1 (en) Voice control method and apparatus
CN107066188B (en) A kind of method and terminal sending screenshot picture
CN105843547B (en) A kind of page sliding method and device
CN102750003B (en) The method and apparatus of text input
CN105700727B (en) With the exchange method and information processing system of hyaline layer application layer below
CN103324674A (en) Method and device for selecting webpage content
CN106201293B (en) Text selection method and device and text processing method and device
CN105739781A (en) Method and system for quickly and accurately positioning character cursor through pressure touch technology
CN105446597B (en) The methods of exhibiting of the function introduction information of application program shows device and terminal
CN104898932A (en) Information handling method and electronic device
US10254959B2 (en) Method of inputting a character into a text string using a sliding touch gesture, and electronic device therefor
CN108700999A (en) A kind of method for displaying user interface and terminal
CN104750661B (en) A kind of method and apparatus that selected words and phrases are carried out to text
CN113253883A (en) Application interface display method and device and electronic equipment
CN105183310A (en) Information editing method and terminal
CN106951168A (en) A kind of literal processing method and mobile terminal
CN110347327B (en) Item editing method and touch terminal
EP3309669A1 (en) Input sequence processing method, apparatus, device, and non-volatile computer storage medium
WO2022247787A1 (en) Application classification method and apparatus, and electronic device
US9880706B2 (en) Gesture for selecting multiple items in a list
CN106897012A (en) User instruction is recognized and processing method, device
CN106354358A (en) Cursor position determining method and mobile terminal

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170125