Accurately select method and this mobile terminal of text in mobile terminalTechnical field
The present invention relates to communication technical field, relate in particular to method and this mobile terminal of accurately selecting text in a kind of mobile terminal.
Background technology
the fast development of mobile communication, make various mobile terminals more and more to intelligentized future development, present common touch screen type smart mobile phone for example, its function is more and more, operate also more and more easier, not only has conversation, the function such as send short messages, also have and send and receive e-mail, browsing page, the audio plays video file, the functions such as photograph, now, various mobile communication terminals are not only to be used for satisfying merely connecting each other of people already, it becomes an integrated information processing platform from simple conversation instrument, more become personal entertainment terminal very important in people's daily life.
Yet, on the touch screen type mobile terminals such as smart mobile phone or panel computer, the application software that shows text is very many, therefore, often need select text and carry out corresponding operating, for example, the segment word in described text is chosen out, or copy to search in browser or copy to and record in notes or directly send etc. with note or Email, be very easy to user's operation.This shows, select the mode of text in various application software, affected greatly the experience of user to mobile terminal.
Take common in the market smart mobile phone as example, the function of not selecting text that has, the selection word entirely that has, this has all brought great inconvenience to use.in another kind of selecting way of literal, long by triggering out the text selecting state by pointing, then select cursor with two words, comprise selected word, drag again cursor and come the additions and deletions word, the defective of this way is: on less mobile phone screen, cursor choose and mobile all very difficult, often cause and select word inaccurate, the place drags repeatedly at single word, and in the place of word than comparatively dense, individual finger point touches may cover two or three word simultaneously, to accurately allow this time cursor choose wherein some words, it is difficult, therefore, the user often repeats in the selection of several words back and forth, make repeated attempts, expend a large amount of time and mental and physical efforts, reducing the user experiences.
Therefore, be necessary to provide a kind of method and the device that can accurately select text, strengthen the convenience of user's operation, experience to promote the user.
Summary of the invention
The object of the present invention is to provide a kind of accurately select text in mobile terminal method, thereby can carefully choose accurately the appointment word, efficient and the accuracy of choosing text have effectively been promoted, strengthened the convenience of user's operation, made the user have more comfortable experience easily.
Another object of the present invention is to provide a kind of mobile terminal with accurate selection text function, thereby can carefully choose accurately the appointment word, efficient and the accuracy of choosing text have effectively been promoted, strengthened the convenience of user's operation, made the user have more comfortable experience easily.
For achieving the above object, technical scheme of the present invention is: a kind of accurately select text in mobile terminal method is provided, and it comprises the steps:
(1) obtain the interior application software with text of application interface that the user selects, the control focus is in the text box of described application software;
(2) receive the touch signal to described text box from the user, and judgement touches duration and whether surpasses default duration, if enter the text selecting state, and show and be used for front cursor and the rear cursor that text is selected;
(3) judge whether described front cursor or described rear cursor are dragged, if mobile described front cursor or described rear cursor are to select text;
(4) judge whether described front cursor or described rear cursor are touched always; If, carry out step (5), otherwise, finish to select;
(5) described rear cursor word for word moves afterwards by default speed or described front cursor word for word moves forward by default speed and increases selected text;
(6) judge whether the text of having selected is required word, if, finish to select, otherwise, step (3) returned to.
Preferably, described step (5) is specially:
If described front cursor is touched always, described rear cursor word for word moves afterwards by default speed increases selected text;
If described rear cursor is touched always, described front cursor word for word moves forward by default speed increases selected increase word.
Particularly, described step (1) also comprises before: the speed that described front cursor or described rear cursor movement are set; Wherein, described front cursor refers to be in word reference position that cursor before for two cursors that text is selected, and described rear cursor refers to be in two cursors word final position that cursor afterwards.
Preferably, described front cursor or described rear cursor move with the speed of per second one word.
Preferably, described application software is browser, e-book, notepad or note.
Compared with prior art, owing to accurately selecting the method for text in mobile terminal of the present invention, after entering the text selecting state, first drag described front cursor or a large amount of texts of described rear cursor selection, then, more word for word select text by long by front cursor or rear cursor, can carefully choose accurately the appointment word, thereby effectively promoted efficient and the accuracy of choosing text, strengthened the convenience of user's operation, made the user have more comfortable experience easily.
Accordingly, the present invention also discloses a kind of mobile terminal with accurate selection text function, and it comprises acquisition module, induction module, judge module and control module; Wherein, described acquisition module is for the application software with text in the application interface of the mobile terminal that obtains user's selection; Described induction module be used for to receive the touch signal to the text box of described application software from the user; Described judge module be used for judgement from user's the touch duration to the text box of described application software whether surpass default duration, and judgement before cursor or rear cursor whether touched always and exported judged result; Described control module is used for controlling described front cursor or rear cursor movement according to described judged result.
Preferably, described mobile terminal with accurate selection text function also comprises module is set, and is used for the translational speed of default described front cursor or described rear cursor.
Preferably, described mobile terminal with accurate selection text function also comprises memory module, is used for the default described front cursor of storage or the translational speed of described rear cursor.
Preferably, described front cursor or described rear cursor move with the speed of per second one word.
Preferably, described application software is browser, e-book, notepad or note.
Compared with prior art, the mobile terminal that has accurate selection text function due to the present invention, after entering the text selecting state, first drag described front cursor or a large amount of texts of described rear cursor selection, then, more word for word select text by long by front cursor or rear cursor, can carefully choose accurately the appointment word, thereby effectively promoted efficient and the accuracy of choosing text, strengthened the convenience of user's operation, made the user have more comfortable experience easily.
Description of drawings
Fig. 1 accurately selects the process flow diagram of the method for text in mobile terminal of the present invention.
Fig. 2 is the structured flowchart that the present invention has the mobile terminal of accurate selection text function.
Embodiment
With reference now to accompanying drawing, describe embodiments of the invention, in accompanying drawing, similar element numbers represents similar element.Accurately select method and this mobile terminal of text in mobile terminal provided by the present invention, on the basis that drags a large amount of texts of forward and backward cursor selection, word for word select text by long by front cursor or rear cursor again, can carefully choose accurately the appointment word, thereby efficient and the accuracy of choosing text have effectively been promoted, strengthened the convenience of user's operation, made the user have more comfortable experience easily.
As shown in Figure 1, Fig. 1 has showed the process flow diagram of accurately selecting the method for text in mobile terminal of the present invention.Concrete, accurately select the method for text to comprise the steps: in described mobile terminal
Step S01: obtain the interior application software with text of application interface that the user selects, the control focus is in the text box of described application software;
Step S02: receive the touch signal to described text box from the user, and judgement touches duration and whether surpasses default duration, if, carry out step S03, otherwise, repeating step S02;
Step S03: enter the text selecting state, and show front cursor and the rear cursor that is used for the text selection; Particularly, after pressing the text box of application software with the head of a household and surpassing default duration, enter the text selecting state, thereby show front cursor and the rear cursor of selecting for text; Wherein, described front cursor refers to be in word reference position that cursor before for two cursors that text is selected, and described rear cursor refers to be in two cursors word final position that cursor afterwards;
Step S04: judge whether described front cursor or described rear cursor are dragged, if mobile described front cursor or described rear cursor are to select text;
Step S05: judge whether selected text is required word, if, finish to select, otherwise, carry out step S06;
Step S06: judge whether described front cursor or described rear cursor are touched always; If, carry out step S07 or step S08, otherwise, finish to select;
Step S07: if described front cursor is touched always, described rear cursor word for word moves afterwards by default speed increases selected text;
Step S08: if described rear cursor is touched always, described front cursor word for word moves forward by default speed increases selected text;
Step S09: whether the text that judgement has been selected is required word, if, finish to select, otherwise, step S04 returned to.
Further, also comprise before described step S01: the speed that described front cursor or described rear cursor movement are set; In the present invention's one optimal way, described front cursor or described rear cursor are set move with the speed of per second one word; Certainly, the speed of described front cursor or described rear cursor movement can be finely tuned not as limit, and the speed of described front cursor or described rear cursor movement can be made in each word back reaction time of stopping as minimum requirements take the user.
More specifically, also further comprise after finish selecting: the options menu of operational correspondence, to selected text copy, highlighted, add the operation such as bookmark to; Wherein, corresponding options menu appears at the top of described front cursor after finishing selection.
It should be noted that described application software is browser, e-book, notepad or note etc., but be not limited in this, can also be other application software with text.
Owing to accurately selecting the method for text in mobile terminal of the present invention, after entering the text selecting state, first drag described front cursor or a large amount of texts of described rear cursor selection, then, word for word select text by long by front cursor or rear cursor again, can carefully choose accurately the appointment word, thereby effectively promote efficient and the accuracy of choosing text, strengthened the convenience of user's operation, made the user have more comfortable experience easily.
As shown in Figure 2, Fig. 2 has showed that the present invention has the structured flowchart of themobile terminal 100 of accurate selection text function.Concrete, describedmobile terminal 100 comprisesacquisition module 101,induction module 102, judgemodule 103 andcontrol module 104; Wherein, describedacquisition module 101 is for the application software with text in the application interface of the mobile terminal that obtains user's selection; Describedinduction module 102 is used for receiving the touch signal to the text box of described application software from the user; Describedjudge module 103 be used for judgement from user's the touch duration to the text box of described application software whether surpass default duration, and be used for before judgement cursor or rear cursor whether dragged or judge before cursor or afterwards cursor whether touched always and exported judged result; Describedcontrol module 104 is used for controlling described front cursor or rear cursor movement according to described judged result.
Preferably, describedmobile terminal 100 with accurate selection text function also comprisesmemory module 105 andmodule 106 is set, and the describedmodule 106 that arranges is used for default user to the translational speed of touch duration, described front cursor or the described rear cursor of the text box of using software; Describedmemory module 105 is used for the default user of storage to the translational speed of touch duration, described front cursor or the described rear cursor of the text box of application software.
Preferably, described application software is browser, e-book, notepad or note, but is not limited in this, can also be other application software with text.
Themobile terminal 100 that has accurate selection text function due to the present invention, after entering the text selecting state, first drag described front cursor or a large amount of texts of described rear cursor selection, then, word for word select text by long by front cursor or rear cursor again, can carefully choose accurately the appointment word, thereby effectively promote efficient and the accuracy of choosing text, strengthened the convenience of user's operation, made the user have more comfortable experience easily.
Above disclosed is only the preferred embodiments of the present invention, certainly can not limit with this interest field of the present invention, and the equivalent variations of therefore doing according to the present patent application the scope of the claims still belongs to the scope that the present invention is contained.