CN104020948A - Method and device for determining position of cursor on touch screen - Google Patents

Method and device for determining position of cursor on touch screen Download PDF

Info

Publication number
CN104020948A
CN104020948A CN201310064601.4A CN201310064601A CN104020948A CN 104020948 A CN104020948 A CN 104020948A CN 201310064601 A CN201310064601 A CN 201310064601A CN 104020948 A CN104020948 A CN 104020948A
Authority
CN
China
Prior art keywords
cursor
viewing area
operating body
insertion position
input operation
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.)
Granted
Application number
CN201310064601.4A
Other languages
Chinese (zh)
Other versions
CN104020948B (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201710916442.4A priority Critical patent/CN107656693A/en
Priority to CN201310064601.4A priority patent/CN104020948B/en
Publication of CN104020948A publication Critical patent/CN104020948A/en
Application granted granted Critical
Publication of CN104020948B publication Critical patent/CN104020948B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/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

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)
  • Input From Keyboards Or The Like (AREA)

Abstract

The invention discloses a method and a device for determining the position of the cursor on the touch screen. Among multiple responding characters displayed on the touch screen by the method and the device, the object editing location of an operation body can be determined according to specific operation input by the operation body on a soft keyboard area, and the object editing location is determined to be an inserting location for inserting a cursor, so the operation body can process editing on the editing location. According to the method and the device, the position for typing a cursor needs not to be triggered and selected in a small area, displaying characters, on a touch screen, and the cursor is controlled to move by specific operation only on a soft keyboard area and is located in the inserting position, so the cursor can be determined in an object editting location accurately and quickly, the efficiency of inputting words by a user is improved greatly.

Description

A kind of method and device of determining cursor position in touch-screen
Technical field
The present invention relates to technical field of data recognition, in particular, relate to a kind of method and device of determining cursor position in touch-screen.
Background technology
Along with the more and more intelligentized development of modern electronic product, touch-screen, as a kind of attractive in appearance and display device that intelligent degree is high, is applied in more and more users' life.
User, use in the process of touch-screen editor word, user usually need to delete certain words or insert some words in the word paragraph having editted, and carry out these operations, first need cursor to key in insertion position, then can carry out the corresponding operation of inserting or deleting words at the place, insertion position of cursor.Due in carrying out copy editor's process, the soft keyboard region on touch-screen has taken part touch-screen display interface, and therefore, on touch-screen, the area of display text part is very little, and it is also very little that user edits the word demonstrating; And, due to touch-screen just there is error more or less in this in the process of identification user touch point, while so just making user key in cursor in word paragraph, usually can not disposablely accurately cursor be keyed in to place, insertion position, user uses inconvenience very.
In order to facilitate user to key in accurately cursor at place, insertion position, in prior art, there is a kind of method, be that user is while wanting certain position editor's word content in word paragraph, first by finger or the surrounding of stylus in target editor position, draw a scope roughly, now, word content in the scope that system can draw user amplifies, then options button light inlet target insertion position in the word content of user after amplification.Although this method can promote the accuracy of cursor being keyed in to insertion position greatly, but in the process of implementing, user need to constantly be switched finger or stylus back and forth between soft key panel and word viewing area, thereby the running time is long, affect input efficiency.
Summary of the invention
In view of this, the invention provides a kind of method and device of determining cursor position in touch-screen, to realize when user carries out copy editor, fast and accurately cursor is keyed in to place, insertion position.
For achieving the above object, the invention provides following technical scheme:
In touch-screen, determine a method for cursor position, be applied in electronic equipment, described electronic equipment comprises display unit; Described method comprises:
The first viewing area at described display unit shows soft keyboard;
Receive operating body in the first input operation of described the first viewing area, and according to described the first input operation, determine the response character of described soft keyboard;
The second viewing area at described display unit shows described response character;
Receive described operating body in the second input operation of described the first viewing area; Described the second input operation is different from described the first input operation;
According to described the second input operation, in a plurality of response characters of described the second viewing area, determine insertion position, and cursor is determined in described insertion position; Described insertion position for being presented at described insertion position by corresponding response character when receiving described the first input operation.
Optionally, the described operating body of described reception, in the first input operation of described the first viewing area, comprising:
Receive the touch operation signal that operating body triggers in described the first viewing area, or receive operating body at the noncontact induced signal of described the first viewing area.
Optionally, the described operating body of described reception, in the second input operation of described the first viewing area, comprising:
Receive the slip touch signal that described operating body triggers in described the first viewing area.
Optionally, describedly according to the second input operation, cursor is determined in insertion position, being comprised:
According to described slip touch signal, trigger cursor movement instruction;
Determine the slip final character that described slip touch signal is corresponding, and by cursor movement to the slip final character of current cursor position minimum distance after.
Optionally, describedly according to the second input operation, cursor is determined in insertion position, being comprised:
According to described slip touch signal and default rule, in a plurality of response characters that control cursor shows on described the second viewing area, move;
At cursor movement during to insertion position, receive the slip that operating body triggers in described the first viewing area and stop touch signal, and stop touch signal according to described slip, described cursor is stopped to described insertion position.
Optionally, in a plurality of response characters that described control cursor shows on described the second viewing area, move, comprising:
According to described slip touch signal, parse the sliding distance of described operating body on described soft keyboard;
According to described sliding distance and default sliding distance and the corresponding relation of cursor movement distance, determine cursor movement target range;
In a plurality of response characters that show according to described cursor movement target range control cursor, move to insertion position on described the second viewing area.
Optionally, described according to described slip touch signal and default rule, control cursor and move in the word of described touch screen display, comprising:
According to the corresponding relation of slide in described default rule touch signal and moving direction of cursor, determine the target moving direction of cursor;
In the response character that control cursor shows on described the second viewing area, to described target moving direction, move.
Optionally, described default rule comprises:
The slip touch signal of the upward direction that operating body is triggered is defined as cursor and moves up; The touch signal of the downward direction that operating body is triggered is defined as cursor and moves down; The slip touch signal of the direction left that operating body is triggered is defined as cursor and is moved to the left; The slip touch signal to right that operating body is triggered is defined as cursor and moves right.
Optionally, the described operating body of described reception, in the second input operation of described the first viewing area, comprising:
Receive length that described operating body triggers in described the first viewing area by signal.
Optionally, describedly according to the second input operation, determine insertion position, comprising:
Determine that described length is by target response character corresponding to signal;
According to described target response character, control in a plurality of response characters that cursor shows in described the second viewing area, corresponding to ordinal shift before or after the response character of described target response character;
At cursor movement during to insertion position, receive length that operating body triggers in described the first viewing area by stop signal, and according to described length by stop signal, described cursor is stopped to described insertion position.
Optionally, before receiving second input operation of described operating body in the first viewing area, also comprise:
Receive the cursor message from keyboard that operating body triggers in described the second viewing area, the distance of the trigger point of described cursor message from keyboard and described target Editorial Services is less than default distance.
In touch-screen, determine a device for cursor position, be applied in electronic equipment, described electronic equipment comprises display unit, and described device comprises:
The first display module, shows soft keyboard for the first viewing area at described display unit;
The first operation receiver module, for receiving operating body in the first input operation of described the first viewing area, and determines the response character of described soft keyboard according to described the first input operation;
The second display module, shows described response character for the second viewing area at described display unit;
The second operation receiver module, for receiving described operating body in the second input operation of described the first viewing area; Described the second input operation is different from described the first input operation;
Position determination module for according to described the second input operation, is determined insertion position in a plurality of response characters of described the second viewing area; Described insertion position for being presented at described insertion position by corresponding response character when receiving described the first input operation.
Optionally, described the first operation receiver module comprises that the first reception submodule and/or second receives submodule;
Described first receives the touch operation signal that submodule triggers in described the first viewing area for receiving operating body;
Described second receives submodule for receiving operating body at the noncontact induced signal of described the first viewing area.
Optionally, described second operation receiver module comprise:
Slip signals receiver module, the slip touch signal triggering in described the first viewing area for receiving described operating body.
Optionally, described position determination module comprises:
The first cursor control module, for according to described slip touch signal and default rule, moves in a plurality of response characters that control cursor shows on described the second viewing area;
Primary importance is determined submodule, be used at cursor movement to insertion position, and described slip signals receiver module receives operating body when the slip of described the first viewing area triggering stops touch signal, according to described slip, stops touch signal, and described cursor is stopped to described insertion position.
Optionally, described second operation receiver module comprise:
The long signal receiving module of press, for receive described operating body in the length of described the first viewing area triggering by signal.
Optionally, described position determination module comprises:
Character determination module, presses for definite described length the target response character that signal is corresponding;
The second cursor control module, for according to described target response character, controls in a plurality of response characters that cursor shows in described the second viewing area, corresponding to the response character front sequence of described target response character, moves;
The second place is determined submodule, be used at cursor movement to insertion position, and when described length receives by signal receiving module length that operating body triggers in described the first viewing area by stop signal, according to described length, by stop signal, described cursor is stopped to described insertion position.
Known via above-mentioned technical scheme, compared with prior art, the embodiment of the invention discloses a kind of method and device of determining cursor position in touch-screen, described method and apparatus is in touching a plurality of response characters of screen display, can at the specific operation of soft keyboard region input, determine according to operating body the target Editorial Services of described operating body, and described target Editorial Services is defined as to insertion position inserts cursor, so that described operating body can carry out editing and processing in described insertion position.Described method and device need to be on touch-screen triggering selection cursor should be keyed in the zonule of display text position, only need to be in soft key panel, by specific operation, control the movement of cursor, and position a cursor over insertion position, thereby can cursor be determined in target Editorial Services quickly and accurately, improve greatly the efficiency of user's input characters.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only embodiments of the invention, for those of ordinary skills, do not paying under the prerequisite of creative work, other accompanying drawing can also be provided according to the accompanying drawing providing.
Fig. 1 is the disclosed method flow diagram of determining cursor position in touch-screen of the embodiment of the present invention;
To be that the embodiment of the present invention is disclosed determine the process flow diagram in insertion position by cursor to Fig. 2;
To be that the embodiment of the present invention is disclosed determine the operation chart in insertion position by cursor to Fig. 3;
Fig. 4 is that disclosed another of the embodiment of the present invention determined the process flow diagram in insertion position by cursor;
Fig. 5 is that disclosed another of the embodiment of the present invention determined the process flow diagram in insertion position by cursor;
Fig. 6 is that disclosed another of the embodiment of the present invention determined the operation chart in insertion position by cursor;
Fig. 7 is that disclosed another of the embodiment of the present invention determined the method flow diagram of cursor position in touch-screen;
Fig. 8 is the disclosed apparatus structure schematic diagram of determining optical position in touch-screen of the embodiment of the present invention;
Fig. 9 is the disclosed position determination module structural representation of the embodiment of the present invention;
Figure 10 is disclosed another position determination module structural representation of the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
Fig. 1 is the disclosed method flow diagram of determining cursor position in touch-screen of the embodiment of the present invention, the embodiment of the present invention is disclosed determines that in touch-screen the method for cursor position is applied in electronic equipment, described electronic equipment comprises display unit, shown in Figure 1, describedly in touch-screen, determine that the method for cursor position can comprise:
Step 101: the first viewing area at described display unit shows soft keyboard.
Described soft keyboard comprises the character keys such as letter and punctuation mark.User can trigger by the character keys on described soft keyboard the different response character of editor's input.
Step 102: receive operating body in the first input operation of described the first viewing area, and determine the response character of described soft keyboard according to described the first input operation.
Wherein, receive described operating body in the first input operation of described the first viewing area, can comprise: receive the touch operation signal that operating body triggers in described the first viewing area, or receive operating body at the noncontact induced signal of described the first viewing area.
In the present embodiment, described the first input operation can be understood as the operation of Edit Text.Because described the first input operation is to carry out on the soft keyboard on the first viewing area of described display unit, therefore, can according to the signal that triggers or control by operating body receiving on described soft keyboard determine described operating body want input character.Wherein, described operating body is carried out described the first input operation can trigger the mode of inputting corresponding character by the character keys directly touching on soft keyboard, also can be by the contactless mode of closely responding to control inputs character.
Step 103: the second viewing area at described display unit shows described response character.
Described the second viewing area is different from described the first viewing area.Trigger for the operating body that receives according to described the first viewing area or the signal of control inputs described the second viewing area, shows the character information corresponding to described triggering or control inputs signal.
Step 102 and step 103 have guaranteed to have response character to show in the second viewing area of described display unit, and for searching in a plurality of response characters that show in described the second viewing area in subsequent step and definite insertion position provides precondition.
Step 104: receive described operating body in the second input operation of described the first viewing area.
Wherein, described the second input operation is different from described the first input operation.Described the second input operation in the embodiment of the present invention can be understood as the operation of determining insertion position.This second input operation also can comprise different embodiments.
In one example, described the second input operation can be slip touch signal, and the described operating body of described reception, can be for receiving described operating body at the slip touch signal of described the first viewing area triggering in the second input operation of described the first viewing area.In another example, described the second input operation can be the long signal of press, and the described operating body of described reception is in the second input operation of described the first viewing area, can for receive described operating body in the length of described the first viewing area triggering by signal.
Concrete, how according to described slip touch signal and the long signal of pressing, to carry out corresponding operation, can be referring to the detailed introduction of step 105 below.
Step 105: according to described the second input operation, determine insertion position in a plurality of response characters of described the second viewing area, and cursor is determined in described insertion position.
Wherein, described insertion position for being presented at described insertion position by corresponding response character when receiving described the first input operation.
In a schematic example, described the second input operation is slip touch signal, it is described that according to the second input operation, cursor is determined can be referring to Fig. 2 and Fig. 3 in the concrete steps of insertion position, to be that the embodiment of the present invention is disclosed determine the process flow diagram in insertion position by cursor to Fig. 2, to be that inventive embodiments is disclosed determine the operation chart in insertion position by cursor to Fig. 3, as shown in Figures 2 and 3, can comprise:
Step 201: according to described slip touch signal and default rule, move in a plurality of response characters that control cursor shows on described the second viewing area.
In an embodiment, step 201 specifically can be divided into two steps again, comprising: according to the corresponding relation of slide in described default rule touch signal and moving direction of cursor, determine the target moving direction of cursor; In the response character that control cursor shows on described the second viewing area, to described target moving direction, move.Wherein, described default rule can comprise: the slip touch signal of the upward direction that operating body is triggered is defined as cursor and moves up; The touch signal of the downward direction that operating body is triggered is defined as cursor and moves down; The slip touch signal of the direction left that operating body is triggered is defined as cursor and is moved to the left; The slip touch signal to right that operating body is triggered is defined as cursor and moves right.Certainly, this preset rules also can be moved to the left for the slip touch signal of the direction left of operating body triggering and upward direction is defined as to cursor; The slip touch signal to right and downward direction that operating body is triggered is defined as cursor and moves right.Concrete mode can be set according to user's hobby and custom.
In another embodiment, step 201 specifically can be divided into three steps, comprising: according to described slip touch signal, parse the sliding distance of described operating body on described soft keyboard; According to described sliding distance and default sliding distance and the corresponding relation of cursor movement distance, determine cursor movement target range; In a plurality of response characters that show according to described cursor movement target range control cursor, move to insertion position on described the second viewing area.
Step 202: at cursor movement during to insertion position, receive the slip that operating body triggers in described the first viewing area and stop touch signal, and stop touch signal according to described slip, described cursor is stopped to described insertion position.
When described operating body slides touch operation in described the first viewing area, in described the second viewing area, cursor can be according to default rule, along with moving in a plurality of response characters of operating body at the slip touch signal of described the first viewing area and in described the second viewing area, comprise upwards, movement downwards, left and to the right; Described operating body can be checked by vision, when cursor movement is wanted to carry out Editorial Services to it, stop at the slip touch operation of described the first viewing area, thereby control described cursor is stopped to described insertion position, and then can, by carrying out the first input operation in described the first viewing area, in described insertion position, carry out corresponding editor's action.
When described the second input operation is slip touch signal, according to the second input operation, cursor being determined can be referring to Fig. 4 in the flow process of another example of insertion position, Fig. 4 is that disclosed another of the embodiment of the present invention determined the process flow diagram in insertion position by cursor, as shown in Figure 4, can comprise:
Step 401: trigger cursor movement instruction according to described slip touch signal.
When described soft keyboard receives the slip touch signal of described operating body triggering, according to default configuration, system can learn that described operating body wants mobile cursor, now system can trigger cursor movement instruction, products for further, the signal of the insertion position after can instructs cursor moving, but in step 401 process, described operating body is not responded to any action.
Step 402: determine the slip final character that described slip touch signal is corresponding, and by cursor movement to the slip final character of current cursor position minimum distance after.Wherein, described slip final character is described operating body in the moment that stops slip touch signal, and operating body touches, corresponding character on described soft keyboard.This slip final character is for to system indication, described operating body be want that cursor is inserted to this slip final character after.In the character string showing in the second viewing area, may comprise a plurality of described slip final characters, therefore, after can the front present position of chosen distance cursor movement nearest slip final character as the insertion position of cursor.Concrete, according to slip final character, selecting definition and the configuration of cursor insertion position, can need to design according to user.
In other embodiment, cursor is determined to the embodiment in insertion position can also be the combination of above-mentioned two kinds of embodiments.When described soft keyboard receives the slip touch signal of described operating body triggering, system can respond described slip touch signal, according to described touch slip signals and default rule, control in real time in a plurality of response characters of cursor in the second viewing area and move, and slide while stopping touch signal receiving, determine slip final character; If the current location after cursor movement, after described slip final character, is directly determined cursor after described slip final character; If the current location after cursor movement, not after described slip final character, is determined cursor after the slip final character nearest apart from cursor current location.For example: the content that the second viewing area shows is " abcdabcdabcd| ", wherein, last " | " is cursor, now operating body triggers slip touch signal left on soft keyboard, system is according to the corresponding relation of sliding distance and cursor movement distance, determine that cursor should move to after first " c " character, is designated as insertion position undetermined by this position herein; Yet what slip touch signal contacted while stopping on soft keyboard is " b " character, the final character that slides, so, final cursor will move to after nearest " b " character in the described insertion position undetermined of distance, after first " b " character; Cursor movement is behind insertion position, and the displaying contents of the second viewing area is " ab|cdabcdabcd ".
In another schematic example, described the second input operation is the long signal of pressing, describedly according to the second input operation, determine that the concrete steps of insertion position can be referring to Fig. 5 and Fig. 6, Fig. 5 is that disclosed another of the embodiment of the present invention determined the process flow diagram of insertion position, Fig. 6 is that disclosed another of inventive embodiments determined the operation chart of insertion position, as shown in Figure 5 and Figure 6, can comprise:
Step 501: determine that described length is by target response character corresponding to signal.
The target response character that described length triggers by signal can be wanted the existing response character before or after the insertion position of Editorial Services for described operating body; If the text showing in described the second viewing area is Chinese text, described target response character can be the first letter of the phonetic of the Chinese character before or after described insertion position.
In electronic equipment, can pre-define longly by the time threshold of operation, for example, can be defined in user and described display unit duration of contact or sensitive time while surpassing 0.5 second, judges current operation as long by operation, corresponding signal is that length is pressed signal.
Step 502: according to described target response character, control in a plurality of response characters that cursor shows in described the second viewing area, corresponding to ordinal shift before or after the response character of described target response character.
May be a lot of owing to being presented at the response character of described the second viewing area, and in these response characters, can comprise a plurality of identical response characters, therefore, at described operating body, trigger or control inputs is long while pressing signal, in step 501, determined with after the described length target response character corresponding by signal, because system does not know described insertion position is before or after which target response character, therefore can travel through all response characters of described the second viewing area, and cursor is controlled and to be stopped at regular time before or after each target response character, so which target response character described operating body is determined before or after, it is insertion position.
Step 503: at cursor movement during to insertion position, receive length that operating body triggers in described the first viewing area by stop signal, and according to described length by stop signal, described cursor is stopped to described insertion position.
Because cursor is ordinal shift before or after all target response characters, when cursor movement is during to insertion position, described operating body can be controlled and stop described length by signal, and corresponding control module just can be controlled cursor is stopped to current location, and described current location is described insertion position.
Fig. 7 is that disclosed another of the embodiment of the present invention determined the method flow diagram of cursor position in touch-screen; Shown in Figure 7, described method can comprise:
Step 701: the first viewing area at described display unit shows soft keyboard.
Step 702: receive operating body in the first input operation of described the first viewing area, and determine the response character of described soft keyboard according to described the first input operation.
Step 703: the second viewing area at described display unit shows described response character.
Step 704: receive the cursor message from keyboard that operating body triggers in described the second viewing area.
Wherein, the distance of the trigger point of described cursor message from keyboard and described target Editorial Services is less than default distance.The object of step 704 is the in the situation that in described the second viewing area, response character being many, before user carries out described the second input operation, first in described the second viewing area, cursor is keyed in to a general position, this position can be very near apart from described insertion position, like this, and when follow-up described operating body is carried out described the second input operation, because current location and the described insertion position of cursor are very near, can greatly shorten the time of the second input operation.
Step 705: receive described operating body in the second input operation of described the first viewing area.
Wherein, described the second input operation is different from described the first input operation.
Step 706: according to described the second input operation, determine insertion position in a plurality of response characters of described the second viewing area, and cursor is determined in described insertion position.
Wherein, described insertion position for being presented at described insertion position by corresponding response character when receiving described the first input operation.
In the embodiment of method shown in Fig. 7, step identical in the embodiment of method shown in Fig. 1 is not described in detail, its particular content can embodiment of the method shown in Figure 1 in description introduction to corresponding steps, at this, it is no longer repeated.
In the present embodiment, the described method of determining cursor position in touch-screen is in touching a plurality of response characters of screen display, can at the specific operation of soft keyboard region input, determine according to operating body the target Editorial Services of described operating body, and described target Editorial Services is defined as to insertion position inserts cursor, so that described operating body can carry out editing and processing in described insertion position.Described method need to be on touch-screen triggering selection cursor should be keyed in the zonule of display text position, only need to be in soft key panel, by specific operation, control the movement of cursor, and position a cursor over insertion position, thereby can cursor be determined in target Editorial Services quickly and accurately, improve greatly the efficiency of user's input characters.
In the disclosed embodiment of the invention described above, describe method in detail, for method of the present invention, can adopt the device of various ways to realize, therefore the invention also discloses a kind of device, provide specific embodiment below and be elaborated.
Fig. 8 is the disclosed apparatus structure schematic diagram of determining optical position in touch-screen of the embodiment of the present invention, this application of installation is in electronic equipment, described electronic equipment comprises display unit, shown in Figure 8, describedly in touch-screen, determines that the device 80 of cursor position can comprise:
The first display module 801, shows soft keyboard for the first viewing area at described display unit.
Described soft keyboard comprises the character keys such as letter and punctuation mark.User can trigger by the character keys on described soft keyboard the different response character of editor's input.
The first operation receiver module 802, for receiving operating body in the first input operation of described the first viewing area, and determines the response character of described soft keyboard according to described the first input operation.
Wherein, described the first operation receiver module comprises that the first reception submodule and/or second receives submodule; Described first receives the touch operation signal that submodule triggers in described the first viewing area for receiving operating body; Described second receives submodule for receiving operating body at the noncontact induced signal of described the first viewing area.
The second display module 803, shows described response character for the second viewing area at described display unit.
The second operation receiver module 804, for receiving described operating body in the second input operation of described the first viewing area.
Described the second input operation is different from described the first input operation.
In a schematic example, what described the second operation receiver module 804 can be independent comprises slip signals receiver module, the slip touch signal that described slip signals receiver module triggers in described the first viewing area for receiving described operating body.
In another example, comprising that described the second operation receiver module 804 can be independent is long by signal receiving module, institute tell long by signal receiving module for the length that receives described operating body and trigger in described the first viewing area by signal.
Certainly, described the second operation receiver module 804 also can comprise slip signals receiver module and long by signal receiving module simultaneously, and described the second operation receiver module can receive two kinds of second different input operations of described operating body triggering or control inputs.
Position determination module 805 for according to described the second input operation, is determined insertion position, and described cursor is determined in described insertion position in a plurality of response characters of described the second viewing area.
Described insertion position for being presented at described insertion position by corresponding response character when receiving described the first input operation.
When described the second operation receiver module 804 comprises slip signals receiver module, the concrete structure of described position determination module 805 can be referring to Fig. 9, and Fig. 9 is the disclosed position determination module structural representation of the embodiment of the present invention, as shown in Figure 9, can comprise:
The first cursor control module 901, for according to described slip touch signal and default rule, moves in a plurality of response characters that control cursor shows on described the second viewing area.
Wherein, described default rule can comprise: the slip touch signal of the upward direction that operating body is triggered is defined as cursor and moves up; The touch signal of the downward direction that operating body is triggered is defined as cursor and moves down; The slip touch signal of the direction left that operating body is triggered is defined as cursor and is moved to the left; The slip touch signal to right that operating body is triggered is defined as cursor and moves right.Certainly, this preset rules also can be moved to the left for the slip touch signal of the direction left of operating body triggering and upward direction is defined as to cursor; The slip touch signal to right and downward direction that operating body is triggered is defined as cursor and moves right.Concrete mode can be set according to user's hobby and custom.
Primary importance is determined submodule 902, be used at cursor movement to insertion position, and described slip signals receiver module receives operating body and stops touch signal in the slip of described the first viewing area triggering, and stops touch signal according to described slip, and described cursor is stopped to described insertion position.
When described operating body slides touch operation in described the first viewing area, in described the second viewing area, cursor can be according to default rule, along with moving in a plurality of response characters of operating body at the slip touch signal of described the first viewing area and in described the second viewing area, comprise upwards, movement downwards, left and to the right; Described operating body can be checked by vision, when cursor movement is wanted to carry out Editorial Services to it, stop at the slip touch operation of described the first viewing area, thereby control described cursor is stopped to described insertion position, and then can, by carrying out the first input operation in described the first viewing area, in described insertion position, carry out corresponding editor's action.
When described the second operation receiver module 804 comprises length by signal receiving module, the concrete structure of described position determination module 805 can be referring to Figure 10, Figure 10 is disclosed another position determination module structural representation of the embodiment of the present invention, as shown in figure 10, can comprise:
Character determination module 1001, presses for definite described length the target response character that signal is corresponding.
The target response character that described length triggers by signal can be wanted the existing response character before or after the insertion position of Editorial Services for described operating body; If the text showing in described the second viewing area is Chinese text, described target response character can be the first letter of the phonetic of the Chinese character before or after described insertion position.
The second cursor control module 1002, for according to described target response character, controls in a plurality of response characters that cursor shows in described the second viewing area, corresponding to the response character front sequence of described target response character, moves.
May be a lot of owing to being presented at the response character of described the second viewing area, and in these response characters, can comprise a plurality of identical response characters, therefore, at described operating body, trigger or control inputs is long while pressing signal, determining with after the described length target response character corresponding by signal, because system does not know described insertion position is before or after which target response character, therefore can travel through all response characters of described the second viewing area, and cursor is controlled and to be stopped at regular time before or after each target response character, so which target response character described operating body is determined before or after, it is insertion position.
The second place is determined submodule 1003, be used at cursor movement to insertion position, and when described length receives by signal receiving module length that operating body triggers in described the first viewing area by stop signal, according to described length, by stop signal, described cursor is stopped to described insertion position.
In the present embodiment, described device is in touching a plurality of response characters of screen display, can at the specific operation of soft keyboard region input, determine according to operating body the target Editorial Services of described operating body, and described target Editorial Services is defined as to insertion position inserts cursor, so that described operating body can carry out editing and processing in described insertion position.Described device need to be on touch-screen triggering selection cursor should be keyed in the zonule of display text position, only need to be in soft key panel, by specific operation, control the movement of cursor, and position a cursor over insertion position, thereby can cursor be determined in target Editorial Services quickly and accurately, improve greatly the efficiency of user's input characters.
In this instructions, each embodiment adopts the mode of going forward one by one to describe, and each embodiment stresses is the difference with other embodiment, between each embodiment identical similar part mutually referring to.For the disclosed device of embodiment, because it corresponds to the method disclosed in Example, so description is fairly simple, relevant part partly illustrates referring to method.
Also it should be noted that, in this article, relational terms such as the first and second grades is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply and between these entities or operation, have the relation of any this reality or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thereby the process, method, article or the equipment that make to comprise a series of key elements not only comprise those key elements, but also comprise other key elements of clearly not listing, or be also included as the intrinsic key element of this process, method, article or equipment.The in the situation that of more restrictions not, the key element being limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment that comprises described key element and also have other identical element.
The software module that the method for describing in conjunction with embodiment disclosed herein or the step of algorithm can directly use hardware, processor to carry out, or the combination of the two is implemented.Software module can be placed in the storage medium of any other form known in random access memory (RAM), internal memory, ROM (read-only memory) (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field.
Above-mentioned explanation to the disclosed embodiments, makes professional and technical personnel in the field can realize or use the present invention.To the multiple modification of these embodiment, will be apparent for those skilled in the art, General Principle as defined herein can, in the situation that not departing from the spirit or scope of the present invention, realize in other embodiments.Therefore, the present invention will can not be restricted to these embodiment shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.

Claims (17)

1. in touch-screen, determine a method for cursor position, be applied to, in electronic equipment, it is characterized in that, described electronic equipment comprises display unit: described method comprises:
The first viewing area at described display unit shows soft keyboard;
Receive operating body in the first input operation of described the first viewing area, and according to described the first input operation, determine the response character of described soft keyboard;
The second viewing area at described display unit shows described response character;
Receive described operating body in the second input operation of described the first viewing area; Described the second input operation is different from described the first input operation;
According to described the second input operation, in a plurality of response characters of described the second viewing area, determine insertion position, and cursor is determined in described insertion position; Described insertion position for being presented at described insertion position by corresponding response character when receiving described the first input operation.
2. method according to claim 1, is characterized in that, the described operating body of described reception, in the first input operation of described the first viewing area, comprising:
Receive the touch operation signal that operating body triggers in described the first viewing area, or receive operating body at the noncontact induced signal of described the first viewing area.
3. method according to claim 1, is characterized in that, the described operating body of described reception, in the second input operation of described the first viewing area, comprising:
Receive the slip touch signal that described operating body triggers in described the first viewing area.
4. method according to claim 3, is characterized in that, describedly according to the second input operation, cursor is determined in insertion position, comprising:
According to described slip touch signal, trigger cursor movement instruction;
Determine the slip final character that described slip touch signal is corresponding, and by cursor movement to the slip final character of current cursor position minimum distance after.
5. method according to claim 3, is characterized in that, describedly according to the second input operation, cursor is determined in insertion position, comprising:
According to described slip touch signal and default rule, in a plurality of response characters that control cursor shows on described the second viewing area, move;
At cursor movement during to insertion position, receive the slip that operating body triggers in described the first viewing area and stop touch signal, and stop touch signal according to described slip, described cursor is stopped to described insertion position.
6. method according to claim 5, is characterized in that, in a plurality of response characters that described control cursor shows on described the second viewing area, moves, and comprising:
According to described slip touch signal, parse the sliding distance of described operating body on described soft keyboard;
According to described sliding distance and default sliding distance and the corresponding relation of cursor movement distance, determine cursor movement target range;
In a plurality of response characters that show according to described cursor movement target range control cursor, move to insertion position on described the second viewing area.
7. method according to claim 5, is characterized in that, described according to described slip touch signal and default rule, controls cursor and moves in the word of described touch screen display, comprising:
According to the corresponding relation of slide in described default rule touch signal and moving direction of cursor, determine the target moving direction of cursor;
In the response character that control cursor shows on described the second viewing area, to described target moving direction, move.
8. method according to claim 5, is characterized in that, described default rule comprises:
The slip touch signal of the upward direction that operating body is triggered is defined as cursor and moves up; The touch signal of the downward direction that operating body is triggered is defined as cursor and moves down; The slip touch signal of the direction left that operating body is triggered is defined as cursor and is moved to the left; The slip touch signal to right that operating body is triggered is defined as cursor and moves right.
9. method according to claim 1, is characterized in that, the described operating body of described reception, in the second input operation of described the first viewing area, comprising:
Receive length that described operating body triggers in described the first viewing area by signal.
10. method according to claim 9, is characterized in that, describedly according to the second input operation, determines insertion position, comprising:
Determine that described length is by target response character corresponding to signal;
According to described target response character, control in a plurality of response characters that cursor shows in described the second viewing area, corresponding to ordinal shift before or after the response character of described target response character;
At cursor movement during to insertion position, receive length that operating body triggers in described the first viewing area by stop signal, and according to described length by stop signal, described cursor is stopped to described insertion position.
11. methods according to claim 1, is characterized in that, before receiving second input operation of described operating body in the first viewing area, also comprise:
Receive the cursor message from keyboard that operating body triggers in described the second viewing area, the distance of the trigger point of described cursor message from keyboard and described target Editorial Services is less than default distance.
12. 1 kinds of devices of determining cursor position in touch-screen, are applied to, in electronic equipment, it is characterized in that, described electronic equipment comprises display unit, and described device comprises:
The first display module, shows soft keyboard for the first viewing area at described display unit;
The first operation receiver module, for receiving operating body in the first input operation of described the first viewing area, and determines the response character of described soft keyboard according to described the first input operation;
The second display module, shows described response character for the second viewing area at described display unit;
The second operation receiver module, for receiving described operating body in the second input operation of described the first viewing area; Described the second input operation is different from described the first input operation;
Position determination module for according to described the second input operation, is determined insertion position in a plurality of response characters of described the second viewing area; Described insertion position for being presented at described insertion position by corresponding response character when receiving described the first input operation.
13. devices according to claim 12, is characterized in that, described the first operation receiver module comprises that the first reception submodule and/or second receives submodule;
Described first receives the touch operation signal that submodule triggers in described the first viewing area for receiving operating body;
Described second receives submodule for receiving operating body at the noncontact induced signal of described the first viewing area.
14. devices according to claim 12, is characterized in that, described the second operation receiver module comprises:
Slip signals receiver module, the slip touch signal triggering in described the first viewing area for receiving described operating body.
15. devices according to claim 14, is characterized in that, described position determination module comprises:
The first cursor control module, for according to described slip touch signal and default rule, moves in a plurality of response characters that control cursor shows on described the second viewing area;
Primary importance is determined submodule, be used at cursor movement to insertion position, and described slip signals receiver module receives operating body when the slip of described the first viewing area triggering stops touch signal, according to described slip, stops touch signal, and described cursor is stopped to described insertion position.
16. devices according to claim 12, is characterized in that, described the second operation receiver module comprises:
The long signal receiving module of press, for receive described operating body in the length of described the first viewing area triggering by signal.
17. devices according to claim 16, is characterized in that, described position determination module comprises:
Character determination module, presses for definite described length the target response character that signal is corresponding;
The second cursor control module, for according to described target response character, controls in a plurality of response characters that cursor shows in described the second viewing area, corresponding to the response character front sequence of described target response character, moves;
The second place is determined submodule, be used at cursor movement to insertion position, and when described length receives by signal receiving module length that operating body triggers in described the first viewing area by stop signal, according to described length, by stop signal, described cursor is stopped to described insertion position.
CN201310064601.4A 2013-02-28 2013-02-28 A kind of method and device that cursor position is determined in touch-screen Active CN104020948B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710916442.4A CN107656693A (en) 2013-02-28 2013-02-28 A kind of method and device that cursor position is determined in touch-screen
CN201310064601.4A CN104020948B (en) 2013-02-28 2013-02-28 A kind of method and device that cursor position is determined in touch-screen

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310064601.4A CN104020948B (en) 2013-02-28 2013-02-28 A kind of method and device that cursor position is determined in touch-screen

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN201710916442.4A Division CN107656693A (en) 2013-02-28 2013-02-28 A kind of method and device that cursor position is determined in touch-screen

Publications (2)

Publication Number Publication Date
CN104020948A true CN104020948A (en) 2014-09-03
CN104020948B CN104020948B (en) 2017-09-22

Family

ID=51437731

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201310064601.4A Active CN104020948B (en) 2013-02-28 2013-02-28 A kind of method and device that cursor position is determined in touch-screen
CN201710916442.4A Pending CN107656693A (en) 2013-02-28 2013-02-28 A kind of method and device that cursor position is determined in touch-screen

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN201710916442.4A Pending CN107656693A (en) 2013-02-28 2013-02-28 A kind of method and device that cursor position is determined in touch-screen

Country Status (1)

Country Link
CN (2) CN104020948B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104536665A (en) * 2014-12-29 2015-04-22 小米科技有限责任公司 Cursor moving method and device
CN104571863A (en) * 2014-12-30 2015-04-29 北京奇虎科技有限公司 Cursor operation method and device for input method
CN105468234A (en) * 2015-11-18 2016-04-06 中科创达软件股份有限公司 Information processing method and mobile terminal
CN106484229A (en) * 2016-09-28 2017-03-08 珠海市魅族科技有限公司 Cursor-moving method and electronic equipment
CN106557175A (en) * 2015-09-25 2017-04-05 华为技术有限公司 Character input method and electronic equipment
CN106980461A (en) * 2017-02-23 2017-07-25 北京小牛互联科技有限公司 The method and apparatus for quickly positioning input text point in the word TIP of keyboard
CN109857294A (en) * 2018-12-28 2019-06-07 维沃移动通信有限公司 A kind of cursor control method and terminal device
CN110231880A (en) * 2018-03-05 2019-09-13 京瓷办公信息系统株式会社 The control method of display input device and display input device

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110096212B (en) * 2019-04-30 2021-01-26 广东美的厨房电器制造有限公司 Control method of household appliance and household appliance
CN110456922B (en) * 2019-08-16 2021-07-20 清华大学 Input method, input device, input system and electronic equipment
CN112445403A (en) * 2020-11-30 2021-03-05 北京搜狗科技发展有限公司 Text processing method and device and text processing device
CN113905192B (en) * 2021-08-27 2023-05-30 北京达佳互联信息技术有限公司 Subtitle editing method and device, electronic equipment and storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101097491A (en) * 2006-06-30 2008-01-02 佛山市顺德区顺达电脑厂有限公司 Push-button type display screen cursor positioning and instruction point choosing module of computer device
CN101211224A (en) * 2006-12-30 2008-07-02 英华达(上海)电子有限公司 Hand held electronic appliance cursor movement and multifunctional operation method and apparatus
CN101241397B (en) * 2007-02-07 2012-03-07 罗伯特·博世有限公司 Keyboard possessing mouse function and its input method
CN101315581A (en) * 2007-05-30 2008-12-03 周志农 Long press key implementing method of general keyboard and its application method in input
US9442648B2 (en) * 2008-10-07 2016-09-13 Blackberry Limited Portable electronic device and method of controlling same
CN101907927A (en) * 2010-08-04 2010-12-08 杨开艳 Cursor positioning control method of computer keyboard
CN102799377A (en) * 2012-07-12 2012-11-28 广州市渡明信息技术有限公司 Cursor control method and system for mobile terminal equipment with touch sensitive screen

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104536665A (en) * 2014-12-29 2015-04-22 小米科技有限责任公司 Cursor moving method and device
CN104571863A (en) * 2014-12-30 2015-04-29 北京奇虎科技有限公司 Cursor operation method and device for input method
CN106557175A (en) * 2015-09-25 2017-04-05 华为技术有限公司 Character input method and electronic equipment
CN106557175B (en) * 2015-09-25 2019-02-05 华为技术有限公司 Character input method and electronic equipment
CN105468234A (en) * 2015-11-18 2016-04-06 中科创达软件股份有限公司 Information processing method and mobile terminal
CN106484229A (en) * 2016-09-28 2017-03-08 珠海市魅族科技有限公司 Cursor-moving method and electronic equipment
CN106980461A (en) * 2017-02-23 2017-07-25 北京小牛互联科技有限公司 The method and apparatus for quickly positioning input text point in the word TIP of keyboard
CN110231880A (en) * 2018-03-05 2019-09-13 京瓷办公信息系统株式会社 The control method of display input device and display input device
CN109857294A (en) * 2018-12-28 2019-06-07 维沃移动通信有限公司 A kind of cursor control method and terminal device

Also Published As

Publication number Publication date
CN107656693A (en) 2018-02-02
CN104020948B (en) 2017-09-22

Similar Documents

Publication Publication Date Title
CN104020948A (en) Method and device for determining position of cursor on touch screen
US11487426B2 (en) Apparatus and method for cursor control and text selection and editing based on gesture-based touch inputs received in a virtual keyboard display area
CN104756060B (en) Cursor control based on gesture
US9665276B2 (en) Character deletion during keyboard gesture
KR20230169450A (en) Handwriting entry on an electronic device
US10203871B2 (en) Method for touch input and device therefore
US8643605B2 (en) Gesture based document editor
US20160239137A1 (en) Method for interacting with a dynamic tactile interface
CN106415446B (en) Accessibility detection of content attributes through haptic interaction
CN101430632A (en) Touch screen input method and apparatus, and communication terminal
CN106126052A (en) Text selection method and device
CN103631514A (en) Method for operation of pen function and electronic device supporting the same
CN104541239A (en) Text select and enter
US9507516B2 (en) Method for presenting different keypad configurations for data input and a portable device utilizing same
CN103019588A (en) Touch positioning method, device and terminal
CN103809903B (en) Method and apparatus for controlling virtual screen
KR102072049B1 (en) Terminal and method for editing text using thereof
US20200301552A1 (en) Method and apparatus for moving input field
KR20150021722A (en) Method, apparatus and recovering medium for screen display by executing scroll
CN106814964A (en) Method for searching content at mobile terminal and content searching device
KR20140014510A (en) Editing method of text generatied by a speech recognition and terminal thereof
CN105808514A (en) Information processing method and electronic device
CN102426483B (en) Multi-channel accurate target positioning method for touch equipment
US20230236673A1 (en) Non-standard keyboard input system
JP2010039572A (en) Character decoration system and character decoration program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant