CN102385444B - Control method and system for cursor movement - Google Patents
Control method and system for cursor movement Download PDFInfo
- Publication number
- CN102385444B CN102385444B CN201010274818.4A CN201010274818A CN102385444B CN 102385444 B CN102385444 B CN 102385444B CN 201010274818 A CN201010274818 A CN 201010274818A CN 102385444 B CN102385444 B CN 102385444B
- Authority
- CN
- China
- Prior art keywords
- character
- cursor
- last
- editing interface
- push button
- 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
Links
Images
Landscapes
- Input From Keyboards Or The Like (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention provides a control method and system for cursor movement; the control method comprises the following steps of: obtaining the direction property of a first character of an editing interface; judging the direction property of a front character where a cursor is located; detecting a keying signal for controlling a cursor; and controlling the movement of the cursor of the editing interface according to the direction property of the first character, the direction property of the front character where the cursor is located, and the keying signal for controlling the cursor. The control method and the control system can flexibly control the movement direction of the cursor, are in line with the reading habits of users and are convenient for the users to use.
Description
Technical field
The present invention relates to a kind of control method and control system of cursor movement.
Background technology
In mobile terminal, the internationalization of software is trend and the challenge of software development, the internationalization of software just needs to process the problem of reading in the two-way order of editing interface, the information editing interface of most mobile phone is all the rule of following BIDI (bi-directional language, i.e. two-way character set language) in the time of need to processing two-way character set.This BIDI language mainly comprises Hebrew, Arabic and Urdu etc., this language can allow two-way text, comprise left-hand character (LTR) and dextrad character (RTL), left-hand character (LTR) is the character from left to right showing, dextrad character (RTL) is the character showing from right to left.
When user is when reading two-way text, by operation cursor movement, to realize, the movement rule of cursor is as follows:
1) when cursor is seated in while moving cursor by LeftArrow in left-hand character (LTR), cursor is toward moving left; When pressing right key and moving cursor, cursor is toward moving right.
2) when cursor is seated in while moving cursor by LeftArrow in dextrad character (RTL), cursor is toward moving right; When pressing right key and moving cursor, cursor is toward moving left, but according to this kind of mobile cursor of rule, more single for the mobile control ratio of cursor, do not meet user's reading habit and is not easy to user's use.
Summary of the invention
The present invention is that the mobile control ratio for cursor existing in solution prior art is more single, do not meet user's reading habit and be not easy to the problem that user uses, a kind of movement that can control flexibly cursor is provided, meets user's reading habit and control method and the control system of user-friendly cursor movement.
The control method that the invention provides a kind of cursor movement, said method comprising the steps of:
Obtain the direction attribute of editing interface the first character;
Judge the direction attribute of the last character at cursor place;
Detect the push button signalling of controlling cursor;
According to the push button signalling of the direction attribute of the last character at the direction attribute of the first character, cursor place and described control cursor, be controlled at the movement of described editing interface cursor.
The present invention also provides a kind of control system of cursor movement, it is characterized in that, described control system comprises acquisition module, judge module, detection module and control module;
Acquisition module, for obtaining the direction attribute of editing interface the first character;
Judge module, for judging the direction attribute of last character at cursor place;
Detection module, for detection of the push button signalling of controlling cursor;
Control module, for according to the direction attribute of described acquisition module character, controls the push button signalling of cursor in the direction attribute of character and described detection module in described judge module, be controlled at the movement of described editing interface cursor.
From the scheme of control cursor movement of the present invention, can find out, by according to the direction attribute of the first character, the direction attribute of the last character at cursor place and the push button signalling of described control cursor, be controlled at the movement of described editing interface cursor, due to the directivity of character entire arrangement in the direction attribute decision editing interface of the first character, therefore according to the direction attribute of the first character, in conjunction with the direction attribute of the last character at cursor place and the push button signalling of described control cursor, can control more neatly the moving direction of cursor, and meet user's reading habit and be convenient to user's use.
Accompanying drawing explanation
Fig. 1 is the structured flowchart of a kind of embodiment of control system of the present invention.
Embodiment
In order to make technical matters solved by the invention, technical scheme and beneficial effect clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
The control method that the invention provides the cursor movement of a kind of embodiment, said method comprising the steps of:
Obtain the direction attribute of editing interface the first character;
Judge the direction attribute of the last character at cursor place;
Detect the push button signalling of controlling cursor;
According to the push button signalling of the direction attribute of the last character at the direction attribute of the first character, cursor place and described control cursor, be controlled at the movement of described editing interface cursor.
By according to the push button signalling of the direction attribute of the last character at the direction attribute of the first character, cursor place and described control cursor, be controlled at the movement of described editing interface cursor, due to the directivity of character entire arrangement in the direction attribute decision editing interface of the first character, therefore according to the direction attribute of the first character, in conjunction with the direction attribute of the last character at cursor place and the push button signalling of described control cursor, can control more neatly the moving direction of cursor, and meet user's reading habit and be convenient to user's use.
Further, the direction attribute of described character comprises left-hand character and dextrad character, and described push button signalling comprises left button signal and right push button signalling,
According to the direction attribute of the last character at the direction attribute of the first character, cursor place and described push button signalling, be controlled at the movement of described editing interface cursor, be specially:
When described the first character is left-hand character, the last character at cursor place is left-hand character, and while receiving left button signal, controls cursor toward moving left;
When described the first character is left-hand character, the last character at cursor place is left-hand character, and while receiving right push button signalling, controls cursor toward moving right;
When described the first character is left-hand character, the last character at cursor place is dextrad character, and while receiving left button signal, controls cursor toward moving right;
When described the first character is left-hand character, the last character at cursor place is dextrad character, and while receiving right push button signalling, controls cursor toward moving left.
When the first character of editing interface is that initial character is while being left-hand character, in editing interface, the direction of character entire arrangement is for from left to right showing, suppose that lowercase represents left-hand character, capitalization represents dextrad character, "/" represents cursor position, " _ " represents space, it at the first character, is the editing interface of left-hand character, order input following character: abcdABCDef, on editing interface, character shows below: abcdDCBAef/, then because the last character f at cursor place is left-hand character, if while receiving left button signal once, control cursor toward moving left once, specifically show below: abcdDCBAe/f, if while receiving right push button signalling once, control cursor toward moving right once, specifically show below: abcdDCBAef_/, if on editing interface, character shows below certainly: during abcdDCBAe/f, receive right push button signalling once, should control so cursor moves right once, specifically show below: abcdDCBAef/.
If be the editing interface of left-hand character at the first character, order input following character: abcdABCD, on editing interface, character specifically shows below so: abcd/DCBA, then because the last character D at cursor place is dextrad character, if while receiving left button signal once, control cursor toward moving right once, specifically show below: abcdD/CBA, if while receiving right push button signalling once, control cursor toward moving left once, specifically show below: abcd/_DCBA, if on editing interface, character shows below certainly: during abcdD/CBA, receive right push button signalling once, should control so cursor is moved to the left once, specifically show below: abcd/DCBA.
Further, for more convenient user's the custom of using and meet user, when described the first character is left-hand character, the last character at cursor place is left-hand character, and while receiving right push button signalling, controls cursor toward moving right, further,
When the last character at described cursor place last character that is described editing interface, and while receiving right push button signalling, control described cursor and keep original position;
Or
When the last character at described smooth place last character that is described editing interface, and while receiving right push button signalling, control the front of described cursor movement to the first character of editing interface.
For example, it at the first character, is the editing interface of left-hand character, order input following character: abcdABCDef, on editing interface, character specifically shows below so: abcdDCBAef/, because character f is positioned at last character of described editing interface, and character f is left-hand character, when receiving right push button signalling, character f has not needed the word of reading below, therefore can control described cursor and keep original position, can certainly control the front of described cursor movement to the first character of editing interface, be convenient to user's reading again, on editing interface, character specifically shows below :/abcdDCBAef.
Further, when described the first character is left-hand character, the last character at cursor place is dextrad character, and while receiving right push button signalling, controls cursor toward moving left, further,
When the last character at described cursor place last character that is described editing interface, and while receiving right push button signalling, control described cursor and keep original position;
Or
When the last character at described smooth place last character that is described editing interface, and while receiving right push button signalling, control the front of described cursor movement to the first character of editing interface.
For example, it at the first character, is the editing interface of left-hand character, order input following character: abcdABCD, on editing interface, character specifically shows below so: abcd/DCBA, because character D is positioned at last character of described editing interface, and character D is dextrad character, when receiving right push button signalling, character D has not needed the character of reading below, character d on the above cursor left side of editing interface read, therefore can control described cursor and keep original position, can certainly control the front of described cursor movement to the first character of editing interface, be convenient to user's reading again, on editing interface, character specifically shows below :/abcdDCBA.
Further, for more convenient user's the custom of using and meet user, the direction attribute of described character comprises left-hand character and dextrad character, and described push button signalling comprises left button signal and right push button signalling,
Describedly according to the direction attribute of the last character at the direction attribute of the first character, cursor place and described push button signalling, be controlled at the movement of described editing interface cursor, be specially:
When described the first character is dextrad character, the last character at cursor place is left-hand character, and while receiving left button signal, controls cursor toward moving right;
When described the first character is dextrad character, the last character at cursor place is left-hand character, and while receiving right push button signalling, controls cursor toward moving left;
When described the first character is dextrad character, the last character at cursor place is dextrad character, and while receiving left button signal, controls cursor toward moving left;
When described the first character is dextrad character, the last character at cursor place is dextrad character, and while receiving right push button signalling, controls cursor toward moving right.
When the first character of editing interface is that initial character is while being dextrad character, in editing interface, the direction of character entire arrangement is for showing from right to left, suppose that lowercase represents left-hand character, capitalization represents dextrad character, "/" represents the position of cursor, it at the first character, is the editing interface of dextrad character, order input following character: ABCDabcd, on editing interface, character shows below: abcd/DCBA, then because the last character d at cursor place is left-hand character, if while receiving left button signal once, control cursor toward moving right once, on editing interface, character shows below: abcd_/DCBA, if while receiving right push button signalling once, control cursor toward moving left once, on editing interface, character shows below: abc/dDCBA, if on editing interface, character shows below certainly: during abc/dDCBA, receive left button signal once, should control so cursor toward moving right once, specifically show below: abcd/DCBA.
If be the editing interface of dextrad character at the first character, order input following character: ABCDabcdEF, on editing interface, character specifically shows below so :/FEabcdDCBA, then because the last character F at cursor place is dextrad character, if while receiving left button signal once, control cursor toward moving left once, specifically show below :/_ FEabcdDCBA, if while receiving right push button signalling once, control cursor toward moving right once, specifically show below: F/EabcdDCBA; If on editing interface, character shows below certainly: during F/EabcdDCBA, receive left button signal once, should control so cursor toward moving left once, specifically show below :/FEabcdDCBA.
Further, when described the first character is dextrad character, the last character at cursor place is left-hand character, and while receiving left button signal, controls cursor toward moving right, further:
When the last character at described cursor place last character that is described editing interface, and while receiving left button signal, control described cursor and keep original position;
Or
When the last character at described cursor place last character that is described editing interface, and while receiving left button signal, control the front of described cursor movement to the first character of editing interface.
For example, it at the first character, is the editing interface of dextrad character, order input following character: ABCDabcd, on editing interface, character shows below: abcd/DCBA, because character d is positioned at last character of described editing interface, and character d is left-hand character, when receiving left button signal, character d has not needed the character of reading below, character D on the above cursor the right of editing interface read, therefore can control described cursor and keep original position, can certainly control the front of described cursor movement to the first character of editing interface, be convenient to user's reading again, on editing interface, character specifically shows below: abcdDCBA/.
Further, when described the first character is dextrad character, the last character at cursor place is dextrad character, and while receiving left button signal, controls cursor toward moving left, further:
When the last character at described cursor place last character that is described editing interface, and while receiving left button signal, control described cursor and keep original position;
Or
When the last character at described cursor place last character that is described editing interface, and while receiving left button signal, control the front of described cursor movement to the first character of editing interface.
For example, it at the first character, is the editing interface of dextrad character, order input following character: ABCDabcdEF, on editing interface, character specifically shows below so :/FEabcdDCBA, because character F is positioned at last character of described editing interface, and character F is dextrad character, when receiving left button signal, character F has not needed the character of reading below, therefore can control described cursor and keep original position, can certainly control the front of described cursor movement to the first character of editing interface, be convenient to user's reading again, on editing interface, character specifically shows below: FEabcdDCBA/.
In concrete enforcement, by controlling the left direction key of mobile terminal or notebook computer and right button output left button signal and right push button signalling, by left direction key once, export left button signal one time, be those skilled in the art's common practise.In addition the last character at described cursor place by editing interface according to character editing order determine, such as order input following character: ABCDabcdEF, on editing interface, character specifically shows below so :/FEabcdDCBA, when pressing, after twice right key, receive two right push button signallings, cursor moves right twice, according to the input sequence of character, cursor moves right after twice, now the last character of cursor is character d, because character d is left-hand character, therefore show below: FEabcd/DCBA.
In the present embodiment, described left-hand character can comprise the characters such as English character, punctuation mark and special symbol, and special symbol is such as space etc., and described dextrad character comprises Arabic character etc.
In order to realize the concrete control for cursor movement, the present invention also provides the control system of the cursor movement of a kind of embodiment, and described control system comprises acquisition module 1, judge module 2, detection module 3 and control module 4;
Acquisition module 1, for obtaining the direction attribute of editing interface the first character;
Judge module 2, for judging the direction attribute of last character at cursor place;
Detection module 3, for detection of the push button signalling of controlling cursor;
Control module 4, for according to the direction attribute of described acquisition module 1 character, controls the push button signalling of cursor in the direction attribute of character and described detection module 3 in described judge module 2, be controlled at the movement of described editing interface cursor.
By according to the push button signalling of the direction attribute of the last character at the direction attribute of the first character, cursor place and described control cursor, be controlled at the movement of described editing interface cursor, due to the directivity of character entire arrangement in the direction attribute decision editing interface of the first character, therefore according to the direction attribute of the first character, in conjunction with the direction attribute of the last character at cursor place and the push button signalling of described control cursor, can control more neatly the moving direction of cursor, and meet user's reading habit and be convenient to user's use.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any modifications of doing within the spirit and principles in the present invention, be equal to and replace and improvement etc., within all should being included in protection scope of the present invention.
Claims (7)
1. a control method for cursor movement, is characterized in that, said method comprising the steps of:
Obtain the direction attribute of editing interface the first character;
Judge the direction attribute of the last character at cursor place;
Detect the push button signalling of controlling cursor;
According to the push button signalling of the direction attribute of the last character at the direction attribute of the first character, cursor place and described control cursor, be controlled at the movement of described editing interface cursor;
The direction attribute of described character comprises left-hand character and dextrad character, and described push button signalling comprises left button signal and right push button signalling,
According to the direction attribute of the last character at the direction attribute of the first character, cursor place and described push button signalling, be controlled at the movement of described editing interface cursor, be specially:
When described the first character is left-hand character, the last character at cursor place is left-hand character, and while receiving left button signal, controls cursor toward moving left;
When described the first character is left-hand character, the last character at cursor place is left-hand character, and while receiving right push button signalling, controls cursor toward moving right;
When described the first character is left-hand character, the last character at cursor place is dextrad character, and while receiving left button signal, controls cursor toward moving right;
When described the first character is left-hand character, the last character at cursor place is dextrad character, and while receiving right push button signalling, controls cursor toward moving left.
2. control method as claimed in claim 1, is characterized in that, when described the first character is left-hand character, the last character at cursor place is left-hand character, and while receiving right push button signalling, controls cursor toward moving right, further,
When the last character at described cursor place last character that is described editing interface, and while receiving right push button signalling, control described cursor and keep original position;
Or
When the last character at described cursor place last character that is described editing interface, and while receiving right push button signalling, control the front of described cursor movement to the first character of editing interface.
3. control method as claimed in claim 1, is characterized in that, when described the first character is left-hand character, the last character at cursor place is dextrad character, and while receiving right push button signalling, controls cursor toward moving left, further,
When the last character at described cursor place last character that is described editing interface, and while receiving right push button signalling, control described cursor and keep original position;
Or
When the last character at described cursor place last character that is described editing interface, and while receiving right push button signalling, control the front of described cursor movement to the first character of editing interface.
4. control method as claimed in claim 1, is characterized in that, the direction attribute of described character comprises left-hand character and dextrad character, and described push button signalling comprises left button signal and right push button signalling,
Describedly according to the direction attribute of the last character at the direction attribute of the first character, cursor place and described push button signalling, be controlled at the movement of described editing interface cursor, be specially:
When described the first character is dextrad character, the last character at cursor place is left-hand character, and while receiving left button signal, controls cursor toward moving right;
When described the first character is dextrad character, the last character at cursor place is left-hand character, and while receiving right push button signalling, controls cursor toward moving left;
When described the first character is dextrad character, the last character at cursor place is dextrad character, and while receiving left button signal, controls cursor toward moving left;
When described the first character is dextrad character, the last character at cursor place is dextrad character, and while receiving right push button signalling, controls cursor toward moving right.
5. control method as claimed in claim 4, is characterized in that, when described the first character is dextrad character, the last character at cursor place is left-hand character, and while receiving left button signal, controls cursor toward moving right, further:
When the last character at described cursor place last character that is described editing interface, and while receiving left button signal, control described cursor and keep original position;
Or
When the last character at described cursor place last character that is described editing interface, and while receiving left button signal, control the front of described cursor movement to the first character of editing interface.
6. control method as claimed in claim 4, is characterized in that, when described the first character is dextrad character, the last character at cursor place is dextrad character, and while receiving left button signal, controls cursor toward moving left, further:
When the last character at described cursor place last character that is described editing interface, and while receiving left button signal, control described cursor and keep original position;
Or
When the last character at described cursor place last character that is described editing interface, and while receiving left button signal, control the front of described cursor movement to the first character of editing interface.
7. a control system for cursor movement, is characterized in that, described control system comprises acquisition module, judge module, detection module and control module;
Acquisition module, for obtaining the direction attribute of editing interface the first character;
Judge module, for judging the direction attribute of last character at cursor place;
Detection module, for detection of the push button signalling of controlling cursor;
Control module, for according to the direction attribute of described acquisition module character, controls the push button signalling of cursor in the direction attribute of character and described detection module in described judge module, be controlled at the movement of described editing interface cursor; The direction attribute of wherein said character comprises left-hand character and dextrad character, and described push button signalling comprises left button signal and right push button signalling,
According to the direction attribute of the last character at the direction attribute of the first character, cursor place and described push button signalling, be controlled at the movement of described editing interface cursor, be specially:
When described the first character is left-hand character, the last character at cursor place is left-hand character, and while receiving left button signal, controls cursor toward moving left;
When described the first character is left-hand character, the last character at cursor place is left-hand character, and while receiving right push button signalling, controls cursor toward moving right;
When described the first character is left-hand character, the last character at cursor place is dextrad character, and while receiving left button signal, controls cursor toward moving right;
When described the first character is left-hand character, the last character at cursor place is dextrad character, and while receiving right push button signalling, controls cursor toward moving left.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010274818.4A CN102385444B (en) | 2010-08-31 | 2010-08-31 | Control method and system for cursor movement |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010274818.4A CN102385444B (en) | 2010-08-31 | 2010-08-31 | Control method and system for cursor movement |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102385444A CN102385444A (en) | 2012-03-21 |
CN102385444B true CN102385444B (en) | 2014-04-30 |
Family
ID=45824915
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201010274818.4A Expired - Fee Related CN102385444B (en) | 2010-08-31 | 2010-08-31 | Control method and system for cursor movement |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102385444B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110308836B (en) * | 2019-06-24 | 2021-01-05 | 北京字节跳动网络技术有限公司 | Data processing method, device, terminal and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005092734A (en) * | 2003-09-19 | 2005-04-07 | Matsushita Electric Ind Co Ltd | Processor for displaying multiple languages, and system for displaying multiple languages |
CN1869889A (en) * | 2005-05-27 | 2006-11-29 | 华为技术有限公司 | Method of positive and negative sequence permutation language mixing input in electronic equipment |
CN101149660A (en) * | 2006-09-21 | 2008-03-26 | 乐金电子(中国)研究开发中心有限公司 | Dummy keyboard suitable for bi-directional writing language and its implementing method |
CN101625845A (en) * | 2008-07-07 | 2010-01-13 | 阿尔派株式会社 | Display method and display device |
-
2010
- 2010-08-31 CN CN201010274818.4A patent/CN102385444B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005092734A (en) * | 2003-09-19 | 2005-04-07 | Matsushita Electric Ind Co Ltd | Processor for displaying multiple languages, and system for displaying multiple languages |
CN1869889A (en) * | 2005-05-27 | 2006-11-29 | 华为技术有限公司 | Method of positive and negative sequence permutation language mixing input in electronic equipment |
CN101149660A (en) * | 2006-09-21 | 2008-03-26 | 乐金电子(中国)研究开发中心有限公司 | Dummy keyboard suitable for bi-directional writing language and its implementing method |
CN101625845A (en) * | 2008-07-07 | 2010-01-13 | 阿尔派株式会社 | Display method and display device |
Also Published As
Publication number | Publication date |
---|---|
CN102385444A (en) | 2012-03-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101673068B1 (en) | Text select and enter | |
JP5409896B2 (en) | Information display device and document data editing method | |
KR102281224B1 (en) | Text editing methods, devices and electronic devices | |
US9176663B2 (en) | Electronic device, gesture processing method and gesture processing program | |
CN104516522A (en) | Input method and device of nine-rectangle-grid keyboard | |
JP4749468B2 (en) | Handwritten character recognition in electronic devices | |
US20130120271A1 (en) | Data input method and apparatus for mobile terminal having touchscreen | |
CN102830928A (en) | Method and device for acquiring text inquiry result and mobile equipment | |
CN101842243A (en) | Dynamic virtual input device configuration | |
KR20150082384A (en) | Keyboard with gesture-redundant keys removed | |
CN102750106B (en) | Full frame handwriting recognition input method and system | |
CN101546303A (en) | Method for switching input methods and file processing equipment using same | |
CN104216648A (en) | Information input method and device | |
KR100706313B1 (en) | Character Input Method for Massage in Mobile Phone | |
CN102736831A (en) | Input method and device applied to mobile terminal comprising virtual keyboard | |
CN105739781A (en) | Method and system for quickly and accurately positioning character cursor through pressure touch technology | |
US20210081057A1 (en) | Multi-Mode Keyboard | |
US11112879B2 (en) | Multi-mode keyboard | |
CN102999639B (en) | A kind of lookup method based on speech recognition character index and system | |
CN102385444B (en) | Control method and system for cursor movement | |
US20140006937A1 (en) | Character function user interface | |
CN102177486A (en) | Communication device with multilevel virtual keyboard | |
WO2022143523A1 (en) | Vocabulary display method and apparatus, and electronic device | |
KR20140139702A (en) | Method and apparatus for correcting text | |
CN104461341B (en) | Input unit, image forming apparatus and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20140430 Termination date: 20210831 |
|
CF01 | Termination of patent right due to non-payment of annual fee |