CN104657078A - Terminal - Google Patents

Terminal Download PDF

Info

Publication number
CN104657078A
CN104657078A CN201510068176.5A CN201510068176A CN104657078A CN 104657078 A CN104657078 A CN 104657078A CN 201510068176 A CN201510068176 A CN 201510068176A CN 104657078 A CN104657078 A CN 104657078A
Authority
CN
China
Prior art keywords
text
cursor
terminal
unit
slide
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
CN201510068176.5A
Other languages
Chinese (zh)
Other versions
CN104657078B (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.)
Shenzhen Microphone Holdings Co Ltd
Original Assignee
Shenzhen Jinli Communication Equipment Co 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 Shenzhen Jinli Communication Equipment Co Ltd filed Critical Shenzhen Jinli Communication Equipment Co Ltd
Priority to CN201510068176.5A priority Critical patent/CN104657078B/en
Publication of CN104657078A publication Critical patent/CN104657078A/en
Application granted granted Critical
Publication of CN104657078B publication Critical patent/CN104657078B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention provides a terminal which comprises a locking unit for locking an initial cursor position of a cursor in a text input area on a display interface before sliding operation is carried out when the sliding operation of the user on a touch screen is detected, a text dragging unit for dragging a text in the text input area according to the sliding operation, a target insertion position determining unit for determining an insertion position of the cursor in the dragged text to be a target insertion position, and an insertion and release unit for inserting the cursor into the target insertion position and releasing the locking of the cursor. According to the terminal provided by the embodiment of the invention, the cursor operation positioning efficiency can be improved, and the operation is convenient.

Description

A kind of terminal
Technical field
The present invention relates to technical field of touch control, particularly relate to a kind of terminal.
Background technology
When user uses terminal editor word, the inputting interface of terminal can present a text box, in text box, have the word inputted and the cursor being used to indicate current character input position.Along with the input operation of user, the direction that cursor can increase along with word is moved.If when user finds that the word edited is wrong, need to move the cursor to wrong place and revise.
Mobile light calibration method is generally, and directly click target location with prompt shift position, when special hour of the word in text box, user was easy to false touch to adjacent locations, needs repeatedly to click just can click target location.Prior art provides a kind of scheme of mobile cursor, and when detecting that user touches more than 1 second continuously on the word inputted, automatic spring magnifier, amplified by the word of user touch place, assisting users moves the cursor to target location.Although prior art improves the degree of accuracy of mobile cursor operations, but each mobile cursor of user all at least will wait 1 second each time, a large amount of amendment text maninulations can waste the time of user, drag the efficiency that the ways such as cursor can affect mobile cursor operations after continuous touch more than 1 second, there is unhandy drawback equally.
Summary of the invention
The embodiment of the present invention provides a kind of terminal, can improve the efficiency of positioning cursor operation, simple operation.
Concrete, embodiments provide a kind of terminal, it can comprise:
Lock cell, during for user's slide on the touchscreen being detected, the cursor in input text area is locked described slide occur before the cursor initial position at described cursor place on display interface;
Text tug unit, for dragging the text in described input text area according to described slide;
Target insertion position determining unit, for determining that the insertion position in the described text of described cursor after dragging is target insertion position;
Insert and lifting unit, for described cursor is inserted described target insertion position; And the locking removed described cursor.
The terminal that the embodiment of the present invention provides is by detecting user's slide on the touchscreen, dragging the text of input text area according to the data of slide generation, finally confirm the target insertion position of cursor, and insert cursor in the target insertion position determined.The scheme of the embodiment of the present invention can improve the efficiency of positioning cursor operation, simple operation.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme of the embodiment of the present invention, be briefly described to the accompanying drawing used required in embodiment below, apparently, accompanying drawing in the following describes is some embodiments of the embodiment of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is an embodiment schematic flow sheet of the method for a kind of positioning cursor of the present invention;
A kind of structural representation of terminal of Fig. 2 a for providing in first embodiment of the invention;
A kind of structural representation of terminal of Fig. 2 b for providing in second embodiment of the invention;
A kind of structural representation of terminal of Fig. 2 c for providing in third embodiment of the invention;
A kind of structural representation of terminal of Fig. 2 d for providing in fourth embodiment of the invention;
A kind of structural representation of terminal of Fig. 2 e for providing in fifth embodiment of the invention;
A kind of structural representation of terminal of Fig. 2 f for providing in sixth embodiment of the invention;
A kind of structural representation of terminal of Fig. 2 g for providing in seventh embodiment of the invention;
Fig. 3 is an embodiment schematic flow sheet of a kind of terminal of the present invention;
A kind of structural representation of terminal of Fig. 4 for providing in another embodiment of the present invention;
Fig. 5 the first interface schematic diagram for providing in the embodiment of the present invention;
The second interface schematic diagram of Fig. 6 for providing in the embodiment of the present invention;
Fig. 7 the third interface schematic diagram for providing in the embodiment of the present invention;
The four kind interface schematic diagram of Fig. 8 for providing in the embodiment of the present invention;
The five kind interface schematic diagram of Fig. 9 for providing in the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the present invention provides a kind of method of positioning cursor, its subject of implementation is a kind of terminal with touch-screen, be specifically as follows the portable mobile terminals such as mobile phone, pad, portable computer, also can for undertaken by external touch screen displays work desktop computer, with the terminal with touch screen Presentation Function such as the Set Top Box of touch screen displays collaborative work or set-top box integrated machine.Concrete, the method for the embodiment of the present invention can comprise: when terminal detects user's slide on the touchscreen, the cursor in input text area is locked described slide occur before the cursor initial position at described cursor place on display interface; Drag the text in described input text area according to described slide, and determine that the insertion position in the described text of described cursor after dragging is target insertion position; Described cursor inserted described target insertion position and remove the locking to described cursor.The scheme of the embodiment of the present invention can improve the efficiency of positioning cursor operation.
Below in conjunction with the drawings and the specific embodiments, the technical scheme of the embodiment of the present invention is described in detail.
As shown in Figure 1, an embodiment of the method for a kind of positioning cursor provided by the invention can comprise the following steps:
Step S110, when terminal detects user's slide on the touchscreen, the cursor initial position at cursor place on display interface before the cursor locking slide in input text area is occurred;
Step S111, terminal drags the text in input text area according to slide, and determines that the insertion position in the text of cursor after dragging is target insertion position;
Step S112, cursor is inserted target insertion position and removes the locking to cursor by terminal.
The embodiment of the present invention supports that user drags text in input text area, thus reaches the object of cursor position in change input text area.Input text area as shown in Figure 5, wherein some words are have input, when the text finding to have inputted is wrong or need to add more word in the text inputted, need mobile cursor to target location, such as, target insertion position required for user can be between ", " and "available".
Particularly, when user is operated on the touchscreen by contact medium (as finger, pointer etc.), terminal immediately can obtain and touch corresponding to medium contact point on the touchscreen in the starting point coordinate of display interface, when touching medium and having carried out slip on the touchscreen, terminal can according to the touch situation got by touch-screen, detect user the slide that will make on the touchscreen, and record sliding trace that produce in slide process, that form corresponding to each contact point coordinate of display interface.
Further alternatively, it is support that user carrys out reorientation cursor indirectly by the word in mobile input text area that the cursor that the embodiment of the present invention provides moves scheme, to detect that the time of slide is as trigger point, trigger cursor reorientation operation, the terminal of the embodiment of the present invention can be given for the setting regions detecting slide, as shown in Figure 5, region in touch-screen corresponding to input text area on display interface can be set to setting regions by terminal, and in setting regions, detect the slide whether existed for carrying out reorientation cursor operations.Terminal also can be set to setting regions in the region of touch-screen corresponding to whole display interface, and regulation is when display interface showing input text area, is considered as by the slide got the cursor reorientation operation in input text area from touch-screen.
Further alternatively, when terminal detects user's slide on the touchscreen, before being occurred by cursor locking slide in input text area, the concrete enforcement of the cursor initial position operation at cursor place on display interface can comprise: terminal carries out the track produced in operating process on the touchscreen by touch-screen recording user, and when getting the initial point position of track, determine cursor initial position; Whether according to track, terminal judges that user carries out operating on the touchscreen is slide; If judge, user carries out operation is on the touchscreen slide, then cursor is locked in cursor initial position.Such as, in the lump with reference to Fig. 5, when terminal detects slide, can determine that cursor initial position is between " bag " and " Kazakhstan " according to the initial point position of record, and cursor is locked in cursor initial position.
Further alternatively, terminal drags in the dragging process of the text in input text area according to slide, can make display interface to amplify the text in preset range corresponding to display highlighting.The effect of amplifying display can with reference to follow-up Fig. 6 to Fig. 9 provided.
Further alternatively, terminal can comprise according to the concrete enforcement of the text maninulation in slide dragging input text area: terminal preserves the track produced by the slide of terminal record; Terminal drags the text in input text area according to track.If the track that slide produces is track from left to right, then text moves right corresponding distance by terminal, if the track that slide produces is track from right to left, then text is moved to the left corresponding distance by terminal, if the track that slide produces is track from bottom to top, then text moves up corresponding distance by terminal, if the track that slide produces is track from top to bottom, then text is moved down corresponding distance by terminal, further, if slide produce track terminating point be oblique line directions position relative to starting point, then text by final be that oblique line directions moves according to terminating point relative to starting point.
Further alternatively, terminal can comprise according to the concrete enforcement of the text maninulation in track dragging input text area: terminal, according to the terminating point position of track and initial point position, determines sliding vector; Terminal drags text according to sliding vector.That is, the size and Orientation of sliding vector will determine the final shift position of text.
Further alternatively, terminal according to sliding vector move text maninulation specifically implement time, can directly using the distance foundation of the mould of sliding vector as text movement, such as, predeterminable engineer's scale, and the proportionate relationship setting up sliding vector mould and final text displacement, as, can Set scale to close be 1:1, then terminal moves text maninulation according to sliding vector and specifically implements to comprise: terminal determines based on sliding vector the drawing direction and the Vector Mode that drag text; Text is dragged the distance isometric with Vector Mode along drawing direction by terminal.Such as, can in the lump with reference to Fig. 6, when target insertion position is between " going back " and " having ", by slide, terminal can determine that the direction of sliding vector is for the right, and the mould of sliding vector is 3 characters, text moved right the distance of three characters by terminal, and indirectly again positions a cursor between " going back " and " having " by the mode of mobile text.
Further alternatively, cursor is inserted target insertion position and removes after the locking of cursor by terminal, and also need text to be moved back into text and dragged the position at front place, wherein, cursor remains on target insertion position and follows text and moves.Please with reference to Fig. 7, after cursor is reorientated by terminal room ground connection, text can be retracted together with cursor, on interface shown in Fig. 7, cursor is followed text and is moved, and is positioned at all the time between " going back " and " having ".
Further alternatively, terminal according to sliding vector move text maninulation specifically implement time, also can only with reference to the direction of sliding vector, and along the direction of sliding vector, text is moved the distance of regulation character, such as, the concrete enforcement that terminal moves text maninulation according to sliding vector can comprise: terminal determines based on sliding vector the drawing direction dragging text; When the drawing direction determined is for time left, text is moved to the left the distance of a character by terminal; Or when the drawing direction determined is for time to the right, text moves right the distance of a character by terminal; Or when the drawing direction determined is for time upwards, text moves up the distance of a row by terminal, or when the drawing direction determined is downward, text is moved down the distance of a row by terminal.Such as, based on the interface shown in Fig. 7, when the drawing direction detected is downward, the position of cursor corresponding to lastrow is directly set to target insertion position by terminal, and text is moved down the distance of a row, and the effect after mobile can refer to Fig. 8, in addition, after mobile end, contact medium leave setting range, cursor and text are retracted by terminal, and final display effect as shown in Figure 9.
Further alternatively, terminal determines that based on sliding vector the concrete enforcement of the drawing direction operation dragging text can comprise: terminal determines the angle [alpha] of sliding vector; If < α≤2k π+π/4,2k π-π/4, then terminal determination drawing direction is to the right; If < α≤2k π+3 π/4,2k π+π/4, then terminal determination drawing direction is upwards; If < α≤2k π+5 π/4,2k π+3 π/4, then terminal determination drawing direction is left; If < α≤2k π+7 π/4,2k π+5 π/4, then terminal determination drawing direction is downwards (wherein, k is integer, and π is circular constant).
The embodiment of the present invention, by detecting user's slide on the touchscreen, dragging the text of input text area according to the data of slide generation, is finally confirmed the target insertion position of cursor, and is inserted cursor in the target insertion position determined; In the process of movement, display is amplified in the region at cursor place, facilitates user to check.The scheme of the embodiment of the present invention improves the efficiency of positioning cursor operation.
The embodiment of the present invention also provides a kind of terminal, it can comprise: cursor lock cell, during for user's slide on the touchscreen being detected, the cursor in input text area is locked described slide occur before the cursor initial position at described cursor place on display interface; Text tug unit, for dragging the text in described input text area according to described slide; Target insertion position determining unit, for determining that the insertion position in the described text of described cursor after dragging is target insertion position; Insert and lifting unit, for described cursor is inserted described target insertion position; And the locking removed described cursor.The terminal of the embodiment of the present invention can improve the efficiency of positioning cursor operation.
Below in conjunction with the drawings and the specific embodiments, the technical scheme of device in the embodiment of the present invention is described in detail.
Fig. 2 a is the structure composition schematic diagram of the terminal of the embodiment of the present invention.The device of this embodiment can be used for performing the way shown in Fig. 1, concrete, the device of this embodiment comprises: cursor lock cell 21, text tug unit 22, target insertion position determining unit 23 and insertion and lifting unit 24, can also comprise and amplify display unit 25 and retract unit 26, the cursor lock cell 21 of the present embodiment may further include again record cell 211, initial position determining unit 212, judging unit 213 and lock cell 214, the text tug unit 22 of the present embodiment may further include again storage unit 221 and the first tug unit 222, first tug unit 222 of the present embodiment may further include again sliding vector determining unit 2221 and the second tug unit 2222, second tug unit 2222 of the present embodiment may further include again drawing direction and Vector Mode determining unit 22221 and the 3rd tug unit 22222, wherein:
Cursor lock cell 21, during for user's slide on the touchscreen being detected, the cursor initial position at cursor place on display interface before the cursor locking slide in input text area is occurred;
Text tug unit 22, for dragging the text in input text area according to slide;
Target insertion position determining unit 23, for determining that the insertion position in the text of cursor after dragging is target insertion position;
Insert and lifting unit 24, for cursor is inserted target insertion position; And the locking removed cursor.
The embodiment of the present invention supports that user drags text in input text area, thus reaches the object of cursor position in change input text area.Input text area as shown in Figure 5, wherein some words are have input, when the text finding to have inputted is wrong or need to add more word in the text inputted, need mobile cursor to target location, such as, target insertion position required for user can be between ", " and "available".
Particularly, when user is operated on the touchscreen by contact medium (as finger, pointer etc.), terminal immediately can obtain and touch corresponding to medium contact point on the touchscreen in the starting point coordinate of display interface, when touching medium and having carried out slip on the touchscreen, terminal can according to the touch situation got by touch-screen, detect user the slide that will make on the touchscreen, and record sliding trace that produce in slide process, that form corresponding to each contact point coordinate of display interface.
Further alternatively, it is support that user carrys out reorientation cursor indirectly by the word in mobile input text area that the cursor that the embodiment of the present invention provides moves scheme, to detect that the time of slide is as trigger point, trigger cursor reorientation operation, the terminal of the embodiment of the present invention can be given for the setting regions detecting slide, as shown in Figure 5, region in touch-screen corresponding to input text area on display interface can be set to setting regions by terminal, and in setting regions, detect the slide whether existed for carrying out reorientation cursor operations.Terminal also can be set to setting regions in the region of touch-screen corresponding to whole display interface, and regulation is when display interface showing input text area, is considered as by the slide got the cursor reorientation operation in input text area from touch-screen.
Further alternatively, please with reference to Fig. 2 b, the cursor lock cell 21 of the embodiment of the present invention can further include:
Record cell 211, for the track carrying out on the touchscreen producing in operating process by touch-screen recording user;
Initial position determining unit 212, for when getting the initial point position of track, determines cursor initial position;
Whether judging unit 213 is slide for judging that according to track user carries out operating on the touchscreen;
Lock cell 214, when judging user for judging unit 213 to carry out operation be on the touchscreen slide, is locked in cursor initial position by cursor.
Further alternatively, please with reference to Fig. 2 c, the terminal of the embodiment of the present invention drags in the dragging process of the text in input text area according to slide, makes display interface to amplify the text in preset range corresponding to display highlighting by amplification display unit 25 wherein.
Amplify display unit 25, drag in the dragging process of the text in input text area according to slide for text tug unit, display interface amplifies the text in preset range corresponding to display highlighting.
Further alternatively, please with reference to Fig. 2 d, the text tug unit 22 of the embodiment of the present invention can further include:
Storage unit 221, for preserving the track produced by the slide of terminal record;
First tug unit 222, for dragging the text in input text area according to track.
In the embodiment of the present invention, if the track that slide produces is track from left to right, then text moves right corresponding distance by terminal, if the track that slide produces is track from right to left, then text is moved to the left corresponding distance by terminal, if the track that slide produces is track from bottom to top, then text moves up corresponding distance by terminal, if the track that slide produces is track from top to bottom, then text is moved down corresponding distance by terminal, further, if slide produce track terminating point be oblique line directions position relative to starting point, then text by final be that oblique line directions moves according to terminating point relative to starting point.
Further alternatively, please with reference to Fig. 2 e, the first tug unit 222 of the embodiment of the present invention can further include:
Sliding vector determining unit 2221, for according to the terminating point position of track and initial point position, determines sliding vector;
Second tug unit 2222, for dragging text according to sliding vector.That is, the size and Orientation of sliding vector will determine the final shift position of text.
Further alternatively, further alternatively, terminal according to sliding vector move text maninulation specifically implement time, can directly using the distance foundation of the mould of sliding vector as text movement, such as, predeterminable engineer's scale, and set up the proportionate relationship of sliding vector mould and final text displacement, e.g., when Set scale pass is 1:1, please with reference to Fig. 2 f, the second tug unit 2222 of the embodiment of the present invention can further include:
Drawing direction and Vector Mode determining unit 22221, for determining the drawing direction and the Vector Mode that drag text based on sliding vector;
3rd tug unit 22222, for dragging the distance isometric with Vector Mode by text along drawing direction.
Further alternatively, terminal according to sliding vector move text maninulation specifically implement time, also can only with reference to the direction of sliding vector, and along the direction of sliding vector, text is moved the distance of regulation character, such as,
Second tug unit 2222, also for determining the drawing direction dragging text based on sliding vector;
Second tug unit 2222, also for the drawing direction determined for time left, text is moved to the left the distance of a character;
Or,
Second tug unit 2222, also for the drawing direction determined for time to the right, the distance of a character that text is moved right;
Or,
Second tug unit 2222, also for the drawing direction determined for time upwards, the distance of a row that text is moved up.
Or,
Second tug unit 2222, when the drawing direction also for determining is downward, moves down the distance of a row by text.
Further alternatively, the second tug unit 2222, also for determining the angle [alpha] of sliding vector; Time also for < α≤2k π+π/4,2k π-π/4, determine that drawing direction is to the right; Time also for < α≤2k π+3 π/4,2k π+π/4, determine that drawing direction is upwards; Time also for < α≤2k π+5 π/4,2k π+3 π/4, determine that drawing direction is left; Time also for < α≤2k π+7 π/4,2k π+5 π/4, determine that drawing direction is (wherein, k is integer, and π is circular constant) downwards.
Further alternatively, cursor is inserted target insertion position and removes after the locking of cursor by terminal, and also need text to be moved back into text and dragged the position at front place, wherein, cursor remains on target insertion position and follows text and moves.Please with reference to Fig. 2 g, the terminal of the embodiment of the present invention can further include retracts unit 26, and dragged the position at front place for text being moved back into text, wherein, cursor remains on target insertion position and follows text and moves.
The terminal that the embodiment of the present invention provides, for a kind of with the terminal of touch-screen, be specifically as follows the portable mobile terminals such as mobile phone, pad, portable computer, also can for undertaken by external touch screen displays work desktop computer, with the terminal with touch screen Presentation Function such as the Set Top Box of touch screen displays collaborative work or set-top box integrated machine.The embodiment of the present invention is not restricted this.
The terminal that the embodiment of the present invention provides is by detecting user's slide on the touchscreen, dragging the text of input text area according to the data of slide generation, finally confirm the target insertion position of cursor, and insert cursor in the target insertion position determined; In the process of movement, display is amplified in the region at cursor place, facilitates user to check.The terminal that the embodiment of the present invention provides improves the efficiency of positioning cursor operation, and simple operation, saves user time, and the experience bringing user is good.
Further, please with reference to Fig. 3, Fig. 3 is the concrete implementing procedure that terminal that the embodiment of the present invention provides positions cursor, the executive agent of this implementing procedure can be arbitrary in Fig. 2 a, Fig. 2 b, Fig. 2 c, Fig. 2 d, Fig. 2 e, Fig. 2 f, Fig. 2 g described in, concrete, the flow process of this embodiment can comprise:
Step S310, the input state of importation word;
Step S311, the need of revising certain word inputted;
Step S312, drags input characters, regulates input cursor to assigned address;
Step S313, amendment word.
The embodiment of the present invention, by detecting user's slide on the touchscreen, dragging the text of input text area according to the data of slide generation, is finally confirmed the target insertion position of cursor, and is inserted cursor in the target insertion position determined.The scheme of the embodiment of the present invention can improve the efficiency of positioning cursor operation, and simple operation, can save user time, and the experience bringing user is good.
Fig. 4 is the structural representation of a kind of terminal provided in another embodiment of the present invention.As shown in Figure 4, this terminal comprises: at least one input equipment 41; At least one output device 42; At least one processor 43, such as CPU; With storer 44, above-mentioned input equipment 41, output device 42, processor 43 are connected by bus 45 with storer 44.
Wherein, above-mentioned input equipment 41 specifically can be the contact panel of terminal, comprises touch-screen and touch screen, the operational order on sense terminals contact panel.
Above-mentioned output device 42 specifically can be the display screen of terminal, for exporting, showing view data (comprising the first view data and the second view data).
Above-mentioned storer 44 can be high-speed RAM storer, also can be non-labile storer (non-volatile memory), such as magnetic disk memory.Above-mentioned storer 44 is for storing batch processing code, and above-mentioned input equipment 41, output device 42 and processor 43, for calling the program code stored in storer 44, perform and operate as follows:
Above-mentioned processor 43, for detecting user's operation on the touchscreen by input equipment 41, time also for user's slide on the touchscreen being detected, the cursor initial position at cursor place on display interface before the cursor locking slide in input text area is occurred;
Above-mentioned processor 43, also for dragging the text in input text area according to slide, and determines that the insertion position in the text of cursor after dragging is target insertion position;
Above-mentioned processor 43, also for cursor being inserted target insertion position and removing the locking to cursor.
In an alternative embodiment, processor 43 calls the program code stored in storer 44 when user's slide on the touchscreen being detected, the cursor initial position at cursor place on display interface before being occurred by cursor locking slide in input text area, is specifically as follows:
Carried out the track produced in operating process by touch-screen recording user on the touchscreen, and when getting the initial point position of track, determine cursor initial position;
Whether judge that user carries out operating on the touchscreen according to track is slide;
If judge, user carries out operation is on the touchscreen slide, then cursor is locked in cursor initial position.
Further alternative, processor 43 calls the program code stored in storer 44 and drags in the dragging process of the text in input text area according to slide, and display interface amplifies the text in preset range corresponding to display highlighting.
Further alternative, processor 43 calls the program code of storage in storer 44 according to the text in slide dragging input text area, is specifically as follows:
Preserve the track produced by the slide of terminal record;
The text in input text area is dragged according to track.
Further alternative, processor 43 calls the program code of storage in storer 44 according to the text in track dragging input text area, is specifically as follows:
According to terminating point position and the initial point position of track, determine sliding vector;
Text is dragged according to sliding vector.
Further alternative, processor 43 calls the program code stored in storer 44 and moves text according to sliding vector, is specifically as follows:
The drawing direction and the Vector Mode that drag text is determined based on sliding vector;
Text is dragged the distance isometric with Vector Mode along drawing direction.
Further alternative, processor 43 calls the program code stored in storer 44 and moves text according to sliding vector, is specifically as follows:
Terminal determines based on sliding vector the drawing direction dragging text;
When the drawing direction determined is for time left, text is moved to the left the distance of a character;
Or, when the drawing direction determined is for time to the right, the distance of a character that text is moved right;
Or, when the drawing direction determined is for time upwards, the distance of a row that text is moved up;
Or, when the drawing direction determined is downward, text is moved down the distance of a row.
Further alternative, processor 43 calls the program code stored in storer 44 determines to drag text drawing direction based on sliding vector, is specifically as follows:
Determine the angle [alpha] of sliding vector;
If < α≤2k π+π/4,2k π-π/4, then determine that drawing direction is to the right;
If < α≤2k π+3 π/4,2k π+π/4, then determine that drawing direction is upwards;
If < α≤2k π+5 π/4,2k π+3 π/4, then determine that drawing direction is left;
If < α≤2k π+7 π/4,2k π+5 π/4, then determine that drawing direction is downward.
Further alternative, processor 43 calls the program code stored in storer 44 and cursor is inserted target insertion position and after removing locking to cursor, also for performing following scheme:
Text is moved back into text and is dragged the position at front place, wherein, cursor remains on target insertion position and follows text and moves.
Concrete, the terminal introduced in the present embodiment can in order to implement the part or all of flow process in the text message display packing embodiment of composition graphs 1 of the present invention or Fig. 3 introduction.
Step in embodiment of the present invention method can be carried out order according to actual needs and be adjusted, merges and delete.
Module in embodiment of the present invention device or unit can carry out merging, divide and deleting according to actual needs.
Module or unit in the embodiment of the present invention, universal integrated circuit can be passed through, such as CPU (CentralProcessing Unit, central processing unit), or realized by ASIC (Application Specific IntegratedCircuit, special IC).
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
Step in embodiment of the present invention method can be carried out order according to actual needs and be adjusted, merges and delete.
Module in embodiment of the present invention device or unit can carry out merging, divide and deleting according to actual needs.
Above disclosedly be only present pre-ferred embodiments, certainly the interest field of the present invention can not be limited with this, one of ordinary skill in the art will appreciate that all or part of flow process realizing above-described embodiment, and according to the equivalent variations that the claims in the present invention are done, still belong to the scope that invention is contained.

Claims (10)

1. a terminal, is characterized in that, comprising:
Cursor lock cell, during for user's slide on the touchscreen being detected, the cursor in input text area is locked described slide occur before the cursor initial position at described cursor place on display interface;
Text tug unit, for dragging the text in described input text area according to described slide;
Target insertion position determining unit, for determining that the insertion position in the described text of described cursor after dragging is target insertion position;
Insert and lifting unit, for described cursor is inserted described target insertion position; And the locking removed described cursor.
2. terminal as claimed in claim 1, it is characterized in that, described slide is that described lock cell detects in the setting regions of touch-screen.
3. terminal as claimed in claim 1, it is characterized in that, described cursor lock cell comprises:
Record cell, for the track produced in the enterprising line operate process of described touch-screen by user described in described touch-screen record;
Initial position determining unit, for when getting the initial point position of described track, determines described cursor initial position;
Judging unit, for judging according to described track whether described user is slide at the enterprising line operate of described touch-screen;
For described judging unit, lock cell, judges that described user is when the enterprising line operate of described touch-screen is slide, is locked in described cursor initial position by described cursor.
4. terminal as claimed in claim 1, is characterized in that, also comprise:
Amplify display unit, drag in the dragging process of the text in described input text area for described text tug unit according to described slide, described display interface amplifies the text in preset range corresponding to the described cursor of display.
5. terminal as claimed in claim 3, it is characterized in that, described text tug unit comprises:
Storage unit, for preserving the described track that described slide produces;
First tug unit, for dragging the described text in described input text area according to described track.
6. terminal as claimed in claim 5, it is characterized in that, described tug unit comprises:
Sliding vector determining unit, for according to the terminating point position of described track and described initial point position, determines sliding vector;
Second tug unit, for dragging described text according to described sliding vector.
7. terminal as claimed in claim 6, it is characterized in that, described second tug unit comprises:
Drawing direction and Vector Mode determining unit, for determining based on described sliding vector the drawing direction and the Vector Mode that drag described text;
3rd tug unit, for dragging the distance isometric with described Vector Mode by described text along described drawing direction.
8. terminal as claimed in claim 6, is characterized in that,
Described second tug unit, also for determining based on described sliding vector the drawing direction dragging described text;
Described second tug unit, also for the described drawing direction determined for time left, described text is moved to the left the distance of a character;
Or,
Described second tug unit, also for the described drawing direction determined for time to the right, the distance of a character that described text is moved right;
Or,
Described second tug unit, also for the described drawing direction determined for time upwards, the distance of a row that described text is moved up;
Or,
Described second tug unit, when the described drawing direction also for determining is downward, moves down the distance of a row by described text.
9. terminal as claimed in claim 8, is characterized in that,
Described second tug unit, also for determining the angle [alpha] of described sliding vector;
Time also for < α≤2k π+π/4,2k π-π/4, determine that described drawing direction is for the right;
Time also for < α≤2k π+3 π/4,2k π+π/4, determine that described drawing direction is upwards;
Time also for < α≤2k π+5 π/4,2k π+3 π/4, determine that described drawing direction is for left;
Time also for < α≤2k π+7 π/4,2k π+5 π/4, determine that described drawing direction is downward.
10. terminal as claimed in claim 1, is characterized in that, also comprise:
Retract unit, dragged the position at front place for described text being moved back into described text, wherein, described cursor remains on described target insertion position and follows described text and moves.
CN201510068176.5A 2015-02-09 2015-02-09 A kind of terminal Active CN104657078B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510068176.5A CN104657078B (en) 2015-02-09 2015-02-09 A kind of terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510068176.5A CN104657078B (en) 2015-02-09 2015-02-09 A kind of terminal

Publications (2)

Publication Number Publication Date
CN104657078A true CN104657078A (en) 2015-05-27
CN104657078B CN104657078B (en) 2019-04-23

Family

ID=53248276

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510068176.5A Active CN104657078B (en) 2015-02-09 2015-02-09 A kind of terminal

Country Status (1)

Country Link
CN (1) CN104657078B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104657077A (en) * 2015-02-09 2015-05-27 深圳市金立通信设备有限公司 Cursor positioning method
CN105589640A (en) * 2015-12-14 2016-05-18 魅族科技(中国)有限公司 Input control method and mobile terminal
CN107957829A (en) * 2016-10-14 2018-04-24 腾讯科技(深圳)有限公司 A kind of input light target editor location regulation method, device and terminal device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1845056A (en) * 2006-04-29 2006-10-11 怡利电子工业股份有限公司 Input method capable of displaying big keyboard on small screen
CN1912808A (en) * 2006-06-29 2007-02-14 臧忠卫 Planar selection log-in literal method
CN102654821A (en) * 2011-03-04 2012-09-05 腾讯科技(深圳)有限公司 Method and device for locating text cursor
CN102799358A (en) * 2012-06-20 2012-11-28 中兴通讯股份有限公司 Method and device for determining display position of cursor
US20130215018A1 (en) * 2012-02-20 2013-08-22 Sony Mobile Communications Ab Touch position locating method, text selecting method, device, and electronic equipment
CN103279219A (en) * 2013-05-15 2013-09-04 北京小米科技有限责任公司 Method and system for moving cursor of touch screen device
US20140306897A1 (en) * 2013-04-10 2014-10-16 Barnesandnoble.Com Llc Virtual keyboard swipe gestures for cursor movement

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1845056A (en) * 2006-04-29 2006-10-11 怡利电子工业股份有限公司 Input method capable of displaying big keyboard on small screen
CN1912808A (en) * 2006-06-29 2007-02-14 臧忠卫 Planar selection log-in literal method
CN102654821A (en) * 2011-03-04 2012-09-05 腾讯科技(深圳)有限公司 Method and device for locating text cursor
US20130215018A1 (en) * 2012-02-20 2013-08-22 Sony Mobile Communications Ab Touch position locating method, text selecting method, device, and electronic equipment
CN102799358A (en) * 2012-06-20 2012-11-28 中兴通讯股份有限公司 Method and device for determining display position of cursor
US20140306897A1 (en) * 2013-04-10 2014-10-16 Barnesandnoble.Com Llc Virtual keyboard swipe gestures for cursor movement
CN103279219A (en) * 2013-05-15 2013-09-04 北京小米科技有限责任公司 Method and system for moving cursor of touch screen device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104657077A (en) * 2015-02-09 2015-05-27 深圳市金立通信设备有限公司 Cursor positioning method
CN105589640A (en) * 2015-12-14 2016-05-18 魅族科技(中国)有限公司 Input control method and mobile terminal
CN105589640B (en) * 2015-12-14 2019-04-23 珠海市魅族科技有限公司 A kind of input control method and mobile terminal
CN107957829A (en) * 2016-10-14 2018-04-24 腾讯科技(深圳)有限公司 A kind of input light target editor location regulation method, device and terminal device
CN107957829B (en) * 2016-10-14 2021-01-22 腾讯科技(深圳)有限公司 Method and device for adjusting editing position of input cursor and terminal equipment

Also Published As

Publication number Publication date
CN104657078B (en) 2019-04-23

Similar Documents

Publication Publication Date Title
CN104657077A (en) Cursor positioning method
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
RU2679348C2 (en) Apparatus and method for displaying chart in electronic device
US20120096345A1 (en) Resizing of gesture-created markings for different display sizes
KR20110139688A (en) Dual module portable devices
CN104808930A (en) Operating element control method
US20140189482A1 (en) Method for manipulating tables on an interactive input system and interactive input system executing the method
CN103838456A (en) Method and system for controlling display positions of desktop icons
CN103492981A (en) Touch screen selection
CN104205033A (en) Method of controlling touch-based input
CN103699259A (en) Cursor positioning method, cursor positioning system and touch equipment
CN104536643A (en) Icon dragging method and terminal
CN104407798A (en) Virtual key control method and device as well as terminal
CN104820548A (en) Screenshot method and device
CN104657078A (en) Terminal
CN102750035B (en) The determination method and apparatus of display position of cursor
CN104750412A (en) Method for controlling display interfaces
CN110427139B (en) Text processing method and device, computer storage medium and electronic equipment
CN111124237A (en) Control method and device of touch electronic board and storage medium
CN105824548A (en) Methods and devices for merging and splitting spreadsheet cells
CN105912170A (en) Mobile terminal and touch control method thereof
CN104317492A (en) Wallpaper setting method
CN104777978A (en) Terminal
CN105302466A (en) Text operation method and terminal
CN104820550A (en) Terminal

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
TR01 Transfer of patent right

Effective date of registration: 20210126

Address after: 518057 Desai Science and Technology Building, 9789 Shennan Avenue, Yuehai Street, Nanshan District, Shenzhen City, Guangdong Province, 17th Floor (15th Floor of Natural Floor) 1702-1703

Patentee after: Shenzhen Microphone Holdings Co.,Ltd.

Address before: 518040 21 floor, east block, Times Technology Building, 7028 Shennan Road, Futian District, Shenzhen, Guangdong.

Patentee before: DONGGUAN GOLDEX COMMUNICATION TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right