CN108874260A - A kind of text handling method and terminal device - Google Patents
A kind of text handling method and terminal device Download PDFInfo
- Publication number
- CN108874260A CN108874260A CN201810538903.3A CN201810538903A CN108874260A CN 108874260 A CN108874260 A CN 108874260A CN 201810538903 A CN201810538903 A CN 201810538903A CN 108874260 A CN108874260 A CN 108874260A
- Authority
- CN
- China
- Prior art keywords
- touch
- text
- control
- cursor
- input
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04842—Selection of displayed objects or displayed text elements
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction 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/0488—Interaction 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
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)
- Position Input By Displaying (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The present invention provides a kind of text handling method and terminal devices, belong to field of communication technology.Wherein, terminal device can be inputted according to the first touch-control of the user received on the first text, display includes the suspended frame of the second text and text selecting mark in target area, then according to the input of the second touch-control of the user received, control text selecting mark movement, finally, display inputs chosen target text based on second touch-control.In this way, user is not necessarily to move on the screen by dragging text selecting mark manually, to adjust position, the position of adjustment text selecting mark only can be realized by carrying out pressing input on the screen, reduce the contact area with terminal device screen in turn, the pollution to screen is reduced, the display effect of terminal device is improved.
Description
Technical field
The present embodiments relate to field of communication technology more particularly to a kind of text handling methods and terminal device.
Background technique
As terminal device plays increasingly important role in people's lives, the daily using terminal equipment of people
Frequency is also higher and higher, and daily life and work and the relationship of terminal device are also more and more closely.User is in using terminal equipment
During, be often related to include a large amount of content of text various text scenes, for example, checking that short message, browsing are public
Total number article, browsing browsing device net page etc..In text scene, user is frequently necessary to the part in selection interface according to demand
Then text is handled the text chosen, for example, being replicated, being deleted to the text chosen.
In the prior art, user is when selecting text, it usually needs utilizes finger, or the hardware using finger manipulation
Equipment, for example, writing pencil etc., changes the position of text selecting mark by dragging text selecting mark, and then needed for selection
Text.
When need selection content of text it is longer when, it is necessary to frequently dragging text selecting mark terminal device screen
Upper movement, and mobile distance is larger, and then will lead to screen and be contaminated, and spot occurs, since spot can be to the display of screen
Content cause it is certain block, and then the display effect of terminal device can be reduced.
Summary of the invention
The present invention provides a kind of text handling method and terminal device, when selecting text to solve user, frequently drags
Text selecting mark moves on the screen of terminal device, and then pollutes to the screen of terminal device, reduces terminal device
Display effect the problem of.
In order to solve the above-mentioned technical problem, the invention is realized in this way:
In a first aspect, the embodiment of the invention provides a kind of text handling method, this method may include:
Receive first touch-control input of the user on the first text;
In response to first touch-control input, show suspended frame, the suspended frame include target area the second text and
Text selecting mark;
Receive the second touch-control input of user;
It is inputted in response to second touch-control, controls the text selecting mark movement;
It shows and inputs chosen target text based on second touch-control;
Wherein, the target area be include first touch-control input touch area preset range region.
Second aspect, the embodiment of the invention provides a kind of terminal device, which may include:
First receiving module, for receiving first touch-control input of the user on the first text;
First display module shows suspended frame, the suspended frame includes target for inputting in response to first touch-control
Second text and text selecting in region identify;
Second receiving module, the second touch-control for receiving user input;
First control module controls the text selecting mark movement for inputting in response to second touch-control;
Second display module inputs chosen target text based on second touch-control for showing;
Wherein, the target area be include first touch-control input touch area preset range region.
The third aspect the embodiment of the invention provides a kind of terminal device, including processor, memory and is stored in described
It is real when the computer program is executed by the processor on memory and the computer program that can run on the processor
Now the step of text handling method as described in relation to the first aspect.
Fourth aspect, the embodiment of the invention provides a kind of computer readable storage mediums, which is characterized in that the calculating
Computer program is stored on machine readable storage medium storing program for executing, is realized as described in relation to the first aspect when the computer program is executed by processor
Text handling method the step of.
In embodiments of the present invention, terminal device can be defeated according to first touch-control of the user received on the first text
Enter, display includes the suspended frame of the second text and text selecting mark in target area, then according to the user's received
The input of second touch-control, control text selecting mark movement, finally, display inputs chosen target text based on second touch-control
This.In this way, user be not necessarily to by manually dragging text selecting mark move on the screen, to adjust position, only by
Pressing input is carried out on screen can be realized the position of adjustment text selecting mark, and then reduces and connect with terminal device screen
Contacting surface product, reduces the pollution to screen, improves the display effect of terminal device.
Detailed description of the invention
Fig. 1 is one of the flow chart of text handling method provided in an embodiment of the present invention;
Fig. 2-1 is the two of the flow chart of text handling method provided in an embodiment of the present invention;
Fig. 2-2 is a kind of current interface schematic diagram provided in an embodiment of the present invention;
Fig. 2-3 is another current interface schematic diagram provided in an embodiment of the present invention;
Fig. 2-4 is a kind of fingerprint subregion schematic diagram for different inclined directions provided in an embodiment of the present invention;
Fig. 2-5 is a kind of target text schematic diagram provided in an embodiment of the present invention;
Fig. 2-6 is the schematic diagram of preset this memory block of selection of one kind provided in an embodiment of the present invention;
Fig. 3 is a kind of block diagram of terminal device provided in an embodiment of the present invention;
A kind of hardware structural diagram of Fig. 4 terminal device of each embodiment to realize the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
Fig. 1 is one of the flow chart of text handling method provided in an embodiment of the present invention, as shown in Figure 1, this method can be with
Applied to terminal device, this method may include:
Step 101 receives first touch-control input of the user on the first text.
In the embodiment of the present invention, which can be the text shown in current interface, and first touch-control input can
To be pressing operation that user executes on the first text.Certainly, the input of the first touch-control can not also be pressing operation, example
, the clicking operation, etc. of the input of the first touch-control or user, the embodiment of the present invention is not construed as limiting this.
Step 102 is inputted in response to first touch-control, shows suspended frame, the suspended frame includes in target area
Second text and text selecting mark.
In the embodiment of the present invention, target area can be include the first touch-control input touch area preset range area
Domain.Wherein, the touch area of the first touch-control input can indicate that user executes contact of the finger of the first touch-control input with screen
Region, it is preset according to the actual situation that preset range can be developer, exemplary, and it is single which, which is with word,
The region of the 5*5 of position, the embodiment of the present invention are not construed as limiting this.
Specifically, terminal device can be with point centered on touch area that the first touch-control inputs, by the default of central point
Text in range is determined as the second text, and display includes the second text and the suspension that text selecting identifies in current interface
Frame.
Step 103, the second touch-control input for receiving user.
In the embodiment of the present invention, second touch-control input can be defeated for controlling the mobile touch-control of text selecting mark
Enter, specifically, second touch-control input can be the clicking operation of pressing operation, second touch-control input or user,
Etc., the embodiment of the present invention is not construed as limiting this.
Step 104 is inputted in response to second touch-control, controls the text selecting mark movement.
In the embodiment of the present invention, terminal device can be based on the inclined direction variation for the finger that the second touch-control inputs, to determine
Surely control text selecting identifies mobile to which direction, and then realizes the position of adjustment text selecting mark.In this way, user can be with
By changing the inclined direction of the finger of the second touch-control input, the position of adjustment text selecting mark is realized, and then avoid user
The position of text selecting mark is adjusted by dragging text selecting mark manually, reduces the contact surface of user's finger and screen
Product reduces the pollution to screen.
Step 105, display input chosen target text based on second touch-control.
In the embodiment of the present invention, inputting chosen target text based on the second touch-control be can be selected by text selecting mark
In text.It is exemplary, it is assumed that it is " today, weather was very good " that text selecting, which identifies chosen text, then terminal device can be with
Display text " today, weather was very good ".
In conclusion a kind of text handling method provided in an embodiment of the present invention, terminal device can be according to the use received
First touch-control input of the family on the first text, display include the suspension of the second text and text selecting mark in target area
Frame, then according to the input of the second touch-control of the user that receives, control text selecting mark movement, finally, display based on this
Two touch-controls input chosen target text.In this way, user is not necessarily to carry out on the screen by dragging text selecting mark manually
It is mobile, to adjust position, the position of adjustment text selecting mark only can be realized by carrying out pressing input on the screen, in turn
Reduce the contact area with terminal device screen, reduce the pollution to screen, improves the display effect of terminal device.
Fig. 2-1 is the two of the flow chart of text handling method provided in an embodiment of the present invention, as shown in Fig. 2-1, this method
May include:
Step 201 receives first touch-control input of the user on the first text.
Specifically, the implementation of this step can refer to above-mentioned steps 101, the embodiment of the present invention is not construed as limiting this.
Step 202 is inputted in response to first touch-control, shows suspended frame, the suspended frame includes in target area
Second text and text selecting mark.
In the embodiment of the present invention, first touch-control input may include the first area of the first finger of user in the first text
Pressing input in sheet, the first area can be some or all of first-hand finger finger areas;Wherein, in the first finger
During pressing on the first text, the input of the first touch-control can also include that user rotates turning for first finger for first area
Dynamic input.During pressing, the corresponding fingerprint subregion in first area can change, such as can be the fingerprint in Fig. 2-3
Subregion 03, fingerprint subregion 04, fingerprint subregion 05, fingerprint subregion 06 or fingerprint subregion 07.Further, terminal device can be
When receiving the input of the first touch-control, suspended frame is directly displayed.Further, in practical application scene, user may without
Terminal device is accidentally touched between meaning, that is, the first touch-control input that terminal device receives may be to generate since user accidentally touches, in order to
Terminal device is avoided, since the first touch-control input that accidentally touching generates is handled it, to waste system resource, terminal device to user
Can be when the duration for receiving the input of the first touch-control and the input of the first touch-control meet preset duration threshold value, then show suspension
Frame.Wherein, which can be what developer was arranged according to actual needs, exemplary, which can be 0.2
Second (second, s).Fingerprint subregion in the embodiment of the present invention can be some or all of user's finger finger-print region.
Further, Fig. 2-2 is a kind of current interface schematic diagram provided in an embodiment of the present invention, includes current in Fig. 2-2
Interface 00, and the content of text shown in current interface 00, by taking Fig. 2-2 as an example, it is assumed that user's rectangle in current interface
Position a where " as " word indicated by frame executes the input of the first touch-control, then terminal device can be shown in current interface
Suspended frame, and the point centered on a of position, text and text selecting mark in suspended frame in the preset range of display centre point
Know, for example, the character area of the 5*5 in suspended frame around display centre point, and in central point in suspended frame corresponding position
It sets, that is, is exactly, the position where " as " word indicated by a of position, display text selection mark.Fig. 2-3 is implementation of the present invention
Example provide another current interface schematic diagram, as shown in figures 2-3, in Fig. 2-3 include current interface 00, suspended frame 01 and
Text selecting mark 02.
Step 203, the second touch-control input for receiving user.
Specifically, the implementation of this step can refer to above-mentioned steps 103, the embodiment of the present invention is not construed as limiting this.
Step 204 is inputted in response to second touch-control, controls the text selecting mark movement.
In this step, text selection mark may include the first cursor and the second cursor, wherein the first cursor can refer to
Show the initial position of target text, the second cursor can indicate the end position of target text, and further, second touch-control is defeated
Enter may include the first sub- touch-control input and the second sub- touch-control input.
Correspondingly, terminal device can realize control text selecting mark movement by following sub-steps:
Sub-step (1):Obtain the first fingerprint subregion change information of the described first sub- touch-control input.
In this step, the finger areas that the first sub- touch-control input can execute the finger of the first sub- touch-control input for user exists
Pressing input on screen, the finger areas can execute some or all of the finger of the first sub- touch-control input finger for user
Region, further, during the finger that user executes the first sub- touch-control input presses on the screen, the first sub- touch-control is defeated
Enter to rotate the rotation input of the finger of the sub- touch-control of execution first input including user.Further, the first son touching
Control input may include the pressing input of first direction, wherein the specific number of first direction and specific direction, it can basis
Actual demand is set, specifically, it vertically downward, that is, is exactly not tilt, or along N degree angle lapping that first direction, which may include,
Tiltedly.It is exemplary, it may include 4 first directions, this 4 first directions can be respectively:Straight up, straight down, it is horizontal
To the left and horizontally to the right, certainly can also include 45 degree of angles obliquely, along 135 degree of angles obliquely, along 45 degree of angles obliquely, edge
Obliquely, etc., the embodiment of the present invention is not construed as limiting this at 135 degree of angles.
Further, the first fingerprint subregion change information may include the fingerprint point when user executes the input of the first sub- touch-control
Area is changed to the second fingerprint subregion from the first fingerprint subregion, and the first fingerprint subregion change information can be with the moving direction phase of cursor
Association.Wherein, it is that user executes the first son that user, which executes the corresponding fingerprint of finger areas of the finger of the first sub- touch-control input,
Fingerprint subregion when touch-control inputs, the first fingerprint subregion can be user's finger during executing the input of the first sub- touch-control and incline
Before tilted direction changes, the collected fingerprint subregion of terminal device institute, the second fingerprint subregion can be user and execute the
After finger tilt direction changes during one sub- touch-control input, the collected fingerprint subregion of terminal device institute.Specifically
In acquisition, terminal device can be acquired by the photoelectricity fingerprint Identification sensor that is arranged under screen user into fingerprint, obtain
Fingerprint subregion.
In actual application scenarios, when finger is in heeling condition, terminal device can only collect the part of the finger
Fingerprint is exactly that the corresponding inclined direction different from finger, the collected fingerprint of terminal device can be different, and then can obtain
Different fingerprint subregions.Exemplary, Fig. 2-4 is a kind of fingerprint subregion for different inclined directions provided in an embodiment of the present invention
Schematic diagram, specifically, showing the fingerprint subregion 03 when finger tilts straight up in Fig. 2-4, when finger tilts straight down
Fingerprint subregion 06 of fingerprint subregion 05, finger horizontal when being tilted to the left of fingerprint subregion 04, finger horizontal when being tilted to the right with
And fingerprint subregion 07 of finger when not tilting, it can be seen that the inclined direction of finger is different, and the form of fingerprint subregion is different.Cause
This, when user executes the input of the first sub- touch-control, the inclined direction of finger changes, terminal device can get the
One fingerprint subregion change information.
Sub-step (2):According to the first fingerprint subregion change information, it is mobile to control first cursor.
In this step, terminal device can first be based on being associated with pass between preset fingerprint subregion change information and moving direction
System, determines the associated moving direction of the first fingerprint subregion change information, is then based on the moving direction and controls the shifting of the first cursor
It is dynamic.It is exemplary, it is assumed that the first associated moving direction of fingerprint subregion change information is " moving up ", then can be by the first light
Mark moves up.
In this step, incidence relation can be terminal device between the preset fingerprint subregion change information and moving direction
It is pre-established before step 201.Specifically, establishing the side of incidence relation between fingerprint subregion change information and moving direction
Method can be as shown in following sub-steps (3)~sub-step (6):
Sub-step (3):Request is arranged in the moving direction for obtaining user's input.
In this step, moving direction setting request can be user and function be arranged by the moving direction of triggering terminal equipment
It can be sent to terminal device, exemplary, moving direction setting function can be triggered by button, for example, terminal device can be
Show that button is arranged in a moving direction on notification bar, when user wants to set up between fingerprint subregion change information and moving direction
Incidence relation when, can by trigger the moving direction be arranged button to terminal device send moving direction setting request.
Sub-step (4):Show typing prompting message.
In this step, which can serve to indicate that user executes typing pressing input in a first direction.
Sub-step (5):Obtain the typing fingerprint subregion change information of the typing pressing input.
In this step, the variation in finger tilt direction, is obtained when terminal device can execute typing pressing input according to user
It enrolls into the corresponding fingerprint subregion change information of pressing operation.It is exemplary, it is assumed that when user's finger does not tilt, terminal device can be with
The fingerprint subregion 1 got, when user's finger tilts straight up, the available fingerprint subregion 2 arrived of terminal device, user hand
When finger tilts straight down, the available fingerprint subregion 3 arrived of terminal device, when user's finger level is tilted to the left, terminal is set
The standby available fingerprint subregion 4 arrived, when user's finger tilts horizontally to the right, the available fingerprint subregion 5 arrived of terminal device,
So, the typing pressing input executed when becoming tilting straight up from not tilting by finger for user, terminal device can be with
Typing fingerprint subregion change information " fingerprint subregion 2 is become from fingerprint subregion 1 " is got, for user by finger by straight up
The typing pressing input that inclination executes when becoming tilting straight down, it is available to typing fingerprint subregion change information " by referring to
Line subregion 2 becomes fingerprint subregion 3 ", and the typing executed when finger being become horizontal and be tilted to the left from not tilting for user presses
Input, it is available to typing fingerprint subregion change information " becoming fingerprint subregion 4 from fingerprint subregion 1 ", for user by finger
The typing pressing input executed when becoming tilting horizontally to the right from tilting straight up, it is available to change to typing fingerprint subregion
Information " becomes fingerprint subregion 5 from fingerprint subregion 2 ".
Further, terminal device can show the moving direction option pre-defined to user on the screen, for
User's selection, user can be by executing typing pressing input, to choose the moving direction on different moving direction options.
Sub-step (6):It establishes selected by the typing fingerprint subregion change information and the typing fingerprint subregion change information
In moving direction between incidence relation.
It is exemplary, it is assumed that the typing pressing input institute that user executes when becoming tilting finger straight up from not tilting
The moving direction chosen is " moving straight up ", is executed when becoming tilting finger straight up straight down from tilting
It is " moving straight down " that typing pressing, which inputs chosen moving direction, and finger is being become level and be tilted to the left from not tilting
It is " level is moved to the left " that the typing pressing of Shi Zhihang, which inputs chosen moving direction, by finger by tilting change straight up
It is " moving horizontally to the right " that the typing pressing executed when to tilt horizontally to the right, which inputs chosen moving direction color, then can be with
Generate the incidence relation between typing fingerprint subregion change information and moving direction as shown in table 1 below, the typing fingerprint subregion
Incidence relation between change information and moving direction is preset fingerprint subregion change information and moving direction corresponding relationship:
Typing fingerprint subregion change information | Moving direction |
Fingerprint subregion 2 is become from fingerprint subregion 1 | It moves straight up |
Fingerprint subregion 3 is become from fingerprint subregion 2 | It moves straight down |
Fingerprint subregion 4 is become from fingerprint subregion 1 | Level is moved to the left |
Fingerprint subregion 5 is become from fingerprint subregion 2 | It moves horizontally to the right |
… | … |
Table 1
Sub-step (7):Obtain the second fingerprint subregion change information of the described second sub- touch-control input.
In this step, the finger areas that the second sub- touch-control input can execute the finger of the second sub- touch-control input for user exists
Pressing input on screen, the finger areas can execute some or all of the finger of the second sub- touch-control input finger for user
Region, further, during the finger that user executes the second sub- touch-control input presses on the screen, the second sub- touch-control is defeated
Enter to rotate the rotation input of the finger of the sub- touch-control of execution first input including user.Further, the second son touching
Control input may include the pressing input of second direction, wherein the specific number of second direction and specific direction, it can basis
Actual demand is set, and second direction can be identical as the first direction in above-mentioned sub-step (1).It is exemplary, it may include 4
Second direction, this 4 second directions can be respectively:Straight up, straight down, it is horizontal to the left and horizontally to the right, certainly
Can also include 45 degree angles obliquely, along 135 degree of angles obliquely, along 45 degree of angles obliquely, along 135 degree of angles obliquely, etc.,
Inventive embodiments are not construed as limiting this.
Further, the second fingerprint subregion change information may include the fingerprint point when user executes the input of the second sub- touch-control
Area is changed to the second fingerprint subregion from the first fingerprint subregion, and the second fingerprint subregion change information can be with the moving direction phase of cursor
Association.Wherein, it is that user executes the second son that user, which executes the corresponding fingerprint of finger areas of the finger of the second sub- touch-control input,
Fingerprint subregion when touch-control inputs, the first fingerprint subregion can be user's finger during executing the input of the second sub- touch-control and incline
Before tilted direction changes, the collected fingerprint subregion of terminal device institute, the second fingerprint subregion can be user and execute the
After finger tilt direction changes during two sub- touch-control inputs, the collected fingerprint subregion of terminal device institute.Specifically
In acquisition, terminal device can first pass through the photoelectricity fingerprint Identification sensor that is arranged under screen acquire user into fingerprint, obtain
To fingerprint subregion.When being in heeling condition due to the finger of user, terminal device can only collect the partial fingerprints of the finger, i.e.,
It is exactly that the corresponding inclined direction different from finger, the collected fingerprint of terminal device can be different, and then can obtain different fingers
Line subregion.Therefore, when user executes the input of the second sub- touch-control, the inclined direction of finger changes, terminal device
Get the second fingerprint subregion change information.
Sub-step (8):According to the second fingerprint subregion change information, it is mobile to control second cursor.
In this step, terminal device can first based on preset fingerprint subregion change information shown in above-mentioned sub-step with
Incidence relation between moving direction determines the associated moving direction of the second fingerprint subregion change information, is then based on the movement
The second cursor of direction controlling is mobile.It is exemplary, it is assumed that the second associated moving direction of fingerprint subregion change information is " horizontally to the right
It is mobile ", then the second cursor can be moved right.
In the embodiment of the present invention, the inclined direction of finger, i.e., controllable first when user executes pressing input by changing
The movement of cursor or the second cursor, so change text selecting mark position, with text selecting mark position change,
Text selecting identifies chosen text and can also change accordingly, and then simplifies the selection operation of text.
It should be noted that the mobile end position of the first cursor can be unclamped for the finger of the first sub- touch-control input the
The current location of one the first cursor of moment, it is exemplary, it is assumed that it is defeated that user has unclamped the first sub- touch-control of execution for 20 seconds 57 minutes at 13 points
Position where the first cursor of current time is determined as by the finger entered then terminal device can stop mobile first cursor
The mobile end position of first cursor.Further, the mobile end position of the second cursor can be the second sub- touch-control input
The current location for second the second cursor of moment that finger unclamps, it is exemplary, it is assumed that user has unclamped execution in 50 seconds 58 minutes at 13 points
The finger of second sub- touch-control input, then terminal device can stop mobile second cursor, it will be where the second cursor of current time
Position, be determined as the mobile end position of the second cursor.In the embodiment of the present invention, control is can be realized by unclamping finger in user
Terminal device processed stops mobile first cursor or the second cursor, simplifies the control mode of text selecting mark.
Further, in order to guarantee text selecting mark control operation continuity, in the embodiment of the present invention second
Touch-control input can also include that the sub- touch-control of third inputs and the 4th sub- touch-control input, wherein the sub- touch-control input of third can be use
Family executes the pressing input of the finger areas of the finger of the sub- touch-control input of third on the screen, which can hold for user
Some or all of the finger of the sub- touch-control input of row third finger areas further executes the sub- touch-control input of third in user
Finger press on the screen during, third touch-control input can also include that user rotate the execution third sub- touch-control input
Finger rotation input, the finger areas that the 4th sub- touch-control input can execute the finger of the 4th sub- touch-control input for user exist
Pressing input on screen, the finger areas can execute some or all of the finger of the 4th sub- touch-control input finger for user
Region, further, during the finger that user executes the 4th sub- touch-control input presses on the screen, the input of the 4th touch-control
It can also include the rotation input for the finger that user rotates the sub- touch-control of execution the 4th input.In this way, the mobile knot of the first cursor
Beam position can be the current location of the first cursor of third moment of the sub- touch-control input of reception third, exemplary, it is assumed that Yong Hu
The sub- touch-control input of 13 points of 20 seconds 57 minutes execution thirds, applies a power vertically downward for example, passing through on the screen using finger
The sub- touch-control input of third is carried out, then terminal device can stop mobile first cursor, it will be where the first cursor of current time
Position is determined as the mobile end position of the first cursor.Further, the mobile end position of the second cursor can be to receive the
The current location of 4th the second cursor of moment of four sub- touch-controls inputs, it is exemplary, it is assumed that user executes for 50 seconds 58 minutes at 13 points
Four sub- touch-control inputs, then terminal device can stop mobile second cursor, by the position where the second cursor of current time, really
It is set to the mobile end position of the second cursor.In the embodiment of the present invention, user can be by executing the input of third sub- touch-control or the
Four sub- touch-control inputs carry out controlling terminal equipment and stop mobile first cursor or the second cursor, in this way, the finger of user is without leaving
The position of adjustment text selecting mark can be realized in screen, ensure that the continuity of operation.
Step 205, display input chosen target text based on second touch-control;Wherein, the target area is
The region of the preset range of touch area including first touch-control input.
In this step, terminal device can using the text between the first cursor and the second cursor as target text,
Show the target text between the first cursor and the second cursor.Exemplary, Fig. 2-5 is one kind provided in an embodiment of the present invention
Target text schematic diagram includes target text " pipe between first cursor 021 and the second cursor 022 from can be seen that in Fig. 2-5
Reason person's statistics ", wherein the text selecting mark 02 in the first cursor 021 and the second cursor 022 composition Fig. 2-3.
After displaying target text, target text can also be inserted into other texts by terminal device, specifically, terminal
Equipment can be realized by following sub-steps (9)~sub-step (13) and target text is inserted into other texts:
Sub-step (9):Receive third touch-control input of the user on third text.
In this step, which can be the text shown in current interface, and third touch-control input can be use
The pressing operation that family executes on third text.
Sub-step (10):It is inputted in response to the third touch-control, it is corresponding in the pressing area of third touch-control input
Target position display text insertion mark.
In this step, target position can be the position that user executes the input of third touch-control, and text insertion mark can be with
It is used to indicate the insertion position of text.
Sub-step (11):Receive the 4th touch-control input of user.
In this step, the input of the 4th touch-control may include:The second area of the second finger of user pressing on the screen
Pressure input, the second finger are that user executes finger used in the input of the 4th touch-control, which is second finger
Part or all of finger areas.Wherein, during the second area of second finger presses on the screen, touch-control input may be used also
To include the rotation input of user's rotation second finger.During pressing, the corresponding fingerprint subregion of second area can become
Change, such as can be fingerprint subregion 03, fingerprint subregion 04, fingerprint subregion 05, fingerprint subregion 06 or the fingerprint subregion in Fig. 2-3
07.Further, the input of the 4th touch-control can serve to indicate that the moving direction of text insertion mark, specifically, user can be with
The inclined direction of the second finger of the 4th touch-control input is executed, by changing to change the moving direction of text insertion mark.
Sub-step (12):It is inputted in response to the 4th touch-control, controls the text insertion mark movement.
In this step, then the change information that terminal device can first obtain the fingerprint subregion of the 4th touch-control input is based on
Incidence relation between preset fingerprint subregion change information and moving direction determines the change of the fingerprint subregion of the 4th touch-control input
Change the moving direction of information association, it is finally that text insertion mark is mobile to the moving direction.
Sub-step (13):The mobile end position that the target text is inserted into the text insertion mark is shown
Show.
In this step, terminal device can stop terminal device when user unclamps the finger for executing the input of the 4th touch-control
Current time text, is inserted into the position where mark by text insertion mark, is determined as the mobile stop bits of text insertion mark
It sets, alternatively, stopping terminal device text insertion mark when receiving the 5th pressing input, current time text being inserted into and is marked
Position where knowing, is determined as the mobile end position of text insertion mark, and the embodiment of the present invention is not construed as limiting this.In determination
After the mobile end position of text insertion mark, target text can be inserted into the terminal device end position by terminal device,
And it is shown.In compared to the prior art, need first to replicate target text, then glue to target text by Paste
Patch, is just able to achieve the insertion of target text, and in the embodiment of the present invention, user passes through the i.e. controllable text insertion mark of pressing input
Movement and stopping, and stop text insertion mark it is mobile when, insertion target text can be realized, simplify operation step
Suddenly, operating efficiency is improved.
Step 206, display selection prompt information.
In this step, which is used to be confirmed whether to continue target text selection to user.It is exemplary,
Terminal device can show the selection prompt information in the form of popping up dialog box, may include in the selection prompt information
"Yes" option and "No" option, so that user selects.
If step 207, detection user for it is described selection prompt information confirmation operation, by the target text store to
In preset this memory block of selection, and the reception user is returned the step of the first touch-control on the first text inputs.
Exemplary, which can be user and clicks the "Yes" option selected in prompt information, and terminal device is being examined
Measure user click "Yes" option after, can by user through the above steps selected target text store to it is preset
This memory block of selection, exemplary, Fig. 2-6 is the signal of preset this memory block of selection of one kind provided in an embodiment of the present invention
Figure includes as shown in figures 2-6 the selected target text of user " administrator's system in this memory block 08 of preset selection
Meter ".Further, terminal device can be after completing storage operation, return step 201, in order to which user continues to select
It selects.
In actual application scenarios, user may need that multistage target text is selected to handle, in general, user needs elder generation
Selected target text is handled, can just continue to select, otherwise, before subsequently selected target text can cover
The text of selection, operating process is relatively complicated, and in the embodiment of the present invention, by preestablishing this memory block of selection, will use
The selected target text in family is stored to determining next section of target text in the region and then depending on the user's operation, so that
User can continuously select multistage target text, simplify the operating process of multistage text selecting, improve convenience.
In conclusion another kind text handling method provided in an embodiment of the present invention, terminal device meeting basis is received
First touch-control input of the user on the first text, display include the outstanding of the second text in target area and text selecting mark
Floating frame, then inputs according to the second touch-control of the user received, controls text selecting mark movement, finally, display is based on being somebody's turn to do
Second touch-control inputs chosen target text.In this way, user be not necessarily to by manually dragging text selecting mark on the screen into
The position of adjustment text selecting mark only can be realized by carrying out pressing input on the screen to adjust position in row movement, into
And reduce the contact area with terminal device screen, the pollution to screen is reduced, the display effect of terminal device is improved.
Further, terminal device can also show selection prompt information, in order to be confirmed whether to continue target text choosing to user
It selects, and when detecting confirmation operation of the user for the selection prompt information, selected target text is stored to preset
It in this memory block of selection, and returns and receives user the first touch-control input on the first text the step of, so that user can be with
Continuous selection multistage target text, simplifies the operating process of multistage text selecting, improves convenience.
Fig. 3 is a kind of block diagram of terminal device provided in an embodiment of the present invention, as shown in figure 3, the terminal device 30 can be with
Including:
First receiving module 301, for receiving first touch-control input of the user on the first text.
First display module 302 shows that suspended frame, the suspended frame include for inputting in response to first touch-control
The second text and text selecting mark in target area.
Second receiving module 303, the second touch-control for receiving user input.
First control module 304 controls the text selecting mark movement for inputting in response to second touch-control.
Second display module 305 inputs chosen target text based on second touch-control for showing.
Wherein, the target area be include first touch-control input touch area preset range region.
In conclusion terminal device provided in an embodiment of the present invention can be realized terminal device in the embodiment of the method for Fig. 1
The each process realized, to avoid repeating, which is not described herein again.Terminal device can be according to the user received in the first text
On the input of the first touch-control, display includes the second text of target area and the suspended frame of text selecting mark, then according to connecing
The second touch-control of the user received inputs, control text selecting mark movement, finally, display is based on selected by second touch-control input
In target text.In this way, user is not necessarily to move on the screen by dragging text selecting mark manually, to adjust position
It sets, the position of adjustment text selecting mark only can be realized by carrying out pressing input on the screen, and then reduce and terminal
The contact area of device screen reduces the pollution to screen, improves the display effect of terminal device.
Optionally, first touch-control, which inputs, includes:First area the pressing on the first text of the first finger of user
Pressure input, the first area are some or all of first finger finger areas;Wherein, the of first finger
During pressing on the first text, the first touch-control input further includes the rotation that user rotates first finger in one region
Input;
The text selecting mark includes the first cursor and the second cursor;The starting of the first cursor instruction target text
Position, the end position of second cursor instruction target text, the second touch-control input include the first sub- touch-control input and
Second sub- touch-control input.
First control module 304, is used for:
Obtain the first fingerprint subregion change information of the described first sub- touch-control input.
According to the first fingerprint subregion change information, it is mobile to control first cursor.
Obtain the second fingerprint subregion change information of the described second sub- touch-control input.
According to the second fingerprint subregion change information, it is mobile to control second cursor.
Wherein, the described first sub- touch-control input includes that the pressing of first direction inputs, and the second sub- touch-control input includes
The pressing of second direction inputs;The fingerprint subregion change information includes being changed to the second fingerprint subregion from the first fingerprint subregion,
The fingerprint subregion change information is associated with the moving direction of cursor.
Optionally, first control module 304 is also used to execute at least one of following:
The first moment institute that the mobile end position of first cursor unclamps for the finger of the described first sub- touch-control input
State the current location of the first cursor;And the mobile end position of second cursor is the finger pine of the described second sub- touch-control input
The current location of second cursor described in the second moment opened.
Alternatively, in the case where second touch-control input includes the sub- touch-control input of third and the input of the 4th sub- touch-control, institute
The mobile end position for stating the first cursor is the current of the first cursor described in the third moment of the sub- touch-control input of the reception third
Position;The mobile end position of second cursor is to receive the second cursor described in the 4th moment of the described 4th sub- touch-control input
Current location.
Optionally, second display module 305, is used for:
Show the target text between first cursor and second cursor.
Optionally, the terminal device 30 further includes:
Third receiving module, for receiving third touch-control input of the user on third text.
Third display module, for being inputted in response to the third touch-control, in the pressing area of third touch-control input
Corresponding target position display text insertion mark.
4th receiving module, the 4th touch-control for receiving user input.
Second control module controls the text insertion mark movement for inputting in response to the 4th touch-control.
4th display module, for the target text is inserted into the mobile end position of text insertion mark into
Row display.
Wherein, third receiving module can be connect with the second display module 305, and third display module can be received with third
Module connection, the 4th receiving module can be connect with third display module, the second control module with the 4th receiving module, the
Four display modules can be with the second control module, and further, the 4th touch-control input includes:The of the second finger of user
The pressing input of two regions on the screen, the second area are some or all of second finger finger areas;Wherein,
During the second area of the second finger presses on the screen, the touch-control input further includes user's rotation described second
The rotation of finger inputs.
It is set in conclusion terminal device provided in an embodiment of the present invention can be realized terminal in the embodiment of the method for Fig. 2-1
The standby each process realized, to avoid repeating, which is not described herein again.Terminal device can be according to the user received in the first text
On the input of the first touch-control, display includes the suspended frame of the second text and text selecting mark in target area, then basis
The second touch-control of the user received inputs, control text selecting mark movement, finally, display inputs institute based on second touch-control
The target text chosen.In this way, user is not necessarily to move on the screen by dragging text selecting mark manually, to adjust position
It sets, the position of adjustment text selecting mark only can be realized by carrying out pressing input on the screen, and then reduce and terminal
The contact area of device screen reduces the pollution to screen, improves the display effect of terminal device.Further, terminal
Equipment can also be inputted according to the third touch-control input display text insertion mark that user inputs according to the 4th touch-control of user's input
Text insertion mark movement is controlled, and by the mobile end position of target text insertion mark, in this way, user passes through pressing input
The movement and stopping of i.e. controllable text insertion mark, and when stopping text insertion mark is mobile, insertion mesh can be realized
Text is marked, operating procedure is simplified, improves operating efficiency.
A kind of hardware structural diagram of Fig. 4 terminal device of each embodiment to realize the present invention,
The terminal device 400 includes but is not limited to:It is radio frequency unit 401, network module 402, audio output unit 403, defeated
Enter unit 404, sensor 405, display unit 406, user input unit 407, interface unit 408, memory 409, processor
The components such as 410 and power supply 411.It will be understood by those skilled in the art that terminal device structure shown in Fig. 4 is not constituted pair
The restriction of terminal device, terminal device may include perhaps combining certain components or not than illustrating more or fewer components
Same component layout.In embodiments of the present invention, terminal device includes but is not limited to mobile phone, tablet computer, laptop, the palm
Upper computer, car-mounted terminal, wearable device and pedometer etc..
Wherein, processor 410, for receiving first touch-control input of the user on the first text.
Processor 410 shows suspended frame, the suspended frame includes target area for inputting in response to first touch-control
Second text and text selecting in domain identify.
Processor 410, the second touch-control for receiving user input.
Processor 410 controls the text selecting mark movement for inputting in response to second touch-control.
Processor 410 inputs chosen target text based on second touch-control for showing.
Wherein, the target area be include first touch-control input touch area preset range region.
In conclusion terminal device can be inputted according to the first touch-control of the user received on the first text, display
The suspended frame of the second text and text selecting mark including target area, then the second touch-control according to the user received is defeated
Enter, control text selecting mark movement, finally, display inputs chosen target text based on second touch-control.In this way, user
Without by manually dragging text selecting mark moved on the screen, to adjust position, only by carry out on the screen by
The position of adjustment text selecting mark can be realized in pressure input, and then reduces the contact area with terminal device screen, reduces
Pollution to screen, improves the display effect of terminal device.
It should be understood that the embodiment of the present invention in, radio frequency unit 401 can be used for receiving and sending messages or communication process in, signal
Send and receive, specifically, by from base station downlink data receive after, to processor 410 handle;In addition, by uplink
Data are sent to base station.In general, radio frequency unit 401 includes but is not limited to antenna, at least one amplifier, transceiver, coupling
Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 401 can also by wireless communication system and network and other set
Standby communication.
Terminal device provides wireless broadband internet by network module 402 for user and accesses, and such as user is helped to receive
It sends e-mails, browse webpage and access streaming video etc..
Audio output unit 403 can be received by radio frequency unit 401 or network module 402 or in memory 409
The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 403 can also provide and end
The relevant audio output of specific function that end equipment 400 executes is (for example, call signal receives sound, message sink sound etc.
Deng).Audio output unit 403 includes loudspeaker, buzzer and receiver etc..
Input unit 404 is for receiving audio or video signal.Input unit 404 may include graphics processor
(Graphics Processing Unit, GPU) 4041 and microphone 4042, graphics processor 4041 is in video acquisition mode
Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out
Reason.Treated, and picture frame may be displayed on display unit 406.Through graphics processor 4041, treated that picture frame can be deposited
Storage is sent in memory 409 (or other storage mediums) or via radio frequency unit 401 or network module 402.Mike
Wind 4042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be
The format output that mobile communication base station can be sent to via radio frequency unit 401 is converted in the case where telephone calling model.
Terminal device 400 further includes at least one sensor 405, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 4061, and proximity sensor can close when terminal device 400 is moved in one's ear
Display panel 4061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify terminal device posture (ratio
Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes
Sensor 405 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet
Meter, thermometer, infrared sensor etc. are spent, details are not described herein.
Display unit 406 is for showing information input by user or being supplied to the information of user.Display unit 406 can wrap
Display panel 4061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 4061.
User input unit 407 can be used for receiving the number or character information of input, and generate the use with terminal device
Family setting and the related key signals input of function control.Specifically, user input unit 407 include touch panel 4071 and
Other input equipments 4072.Touch panel 4071, also referred to as touch screen collect the touch operation of user on it or nearby
(for example user uses any suitable objects or attachment such as finger, stylus on touch panel 4071 or in touch panel 5071
Neighbouring operation).Touch panel 4071 may include both touch detecting apparatus and touch controller.Wherein, touch detection
Device detects the touch orientation of user, and detects touch operation bring signal, transmits a signal to touch controller;Touch control
Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 410, receiving area
It manages the order that device 410 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc.
Seed type realizes touch panel 4071.In addition to touch panel 4071, user input unit 407 can also include other input equipments
4072.Specifically, other input equipments 4072 can include but is not limited to physical keyboard, function key (such as volume control button,
Switch key etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 4071 can be covered on display panel 4061, when touch panel 4071 is detected at it
On or near touch operation after, send processor 410 to determine the type of touch event, be followed by subsequent processing device 410 according to touching
The type for touching event provides corresponding visual output on display panel 4061.Although in Fig. 4, touch panel 4071 and display
Panel 4061 is the function that outputs and inputs of realizing terminal device as two independent components, but in some embodiments
In, can be integrated by touch panel 4071 and display panel 4061 and realize the function that outputs and inputs of terminal device, it is specific this
Place is without limitation.
Interface unit 408 is the interface that external device (ED) is connect with terminal device 400.For example, external device (ED) may include having
Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end
Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module
Mouthful etc..Interface unit 408 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and
By one or more elements that the input received is transferred in terminal device 400 or can be used in 400 He of terminal device
Data are transmitted between external device (ED).
Memory 409 can be used for storing software program and various data.Memory 409 can mainly include storing program area
The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function
Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as
Audio data, phone directory etc.) etc..In addition, memory 409 may include high-speed random access memory, it can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 410 is the control centre of terminal device, utilizes each of various interfaces and the entire terminal device of connection
A part by running or execute the software program and/or module that are stored in memory 409, and calls and is stored in storage
Data in device 409 execute the various functions and processing data of terminal device, to carry out integral monitoring to terminal device.Place
Managing device 410 may include one or more processing units;Preferably, processor 410 can integrate application processor and modulatedemodulate is mediated
Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main
Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 410.
Terminal device 400 can also include the power supply 411 (such as battery) powered to all parts, it is preferred that power supply 411
Can be logically contiguous by power-supply management system and processor 410, to realize management charging by power-supply management system, put
The functions such as electricity and power managed.
In addition, terminal device 400 includes some unshowned functional modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of terminal device, including processor 410, and memory 409 is stored in
On memory 409 and the computer program that can run on the processor 410, the computer program are executed by processor 410
Each process of the above-mentioned text handling method embodiment of Shi Shixian, and identical technical effect can be reached, to avoid repeating, here
It repeats no more.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium
Calculation machine program, the computer program realize each process of above-mentioned text handling method embodiment, and energy when being executed by processor
Reach identical technical effect, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium, such as only
Read memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation
RAM), magnetic or disk etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service
Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific
Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art
Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much
Form belongs within protection of the invention.
Claims (12)
1. a kind of text handling method, which is characterized in that the method includes:
Receive first touch-control input of the user on the first text;
It is inputted in response to first touch-control, shows suspended frame, the suspended frame includes the second text and text in target area
This selection mark;
Receive the second touch-control input of user;
It is inputted in response to second touch-control, controls the text selecting mark movement;
It shows and inputs chosen target text based on second touch-control;
Wherein, the target area be include first touch-control input touch area preset range region.
2. the method according to claim 1, wherein
First touch-control inputs:Pressing input of the first area of the first finger of user on the first text, it is described
First area is some or all of first finger finger areas;Wherein, in the first area of first finger
During pressing on one text, the first touch-control input further includes the rotation input that user rotates first finger;
The text selecting mark includes the first cursor and the second cursor;The start bit of the first cursor instruction target text
It sets, the end position of second cursor instruction target text, the second touch-control input includes the first sub- touch-control input and the
Two sub- touch-control inputs;
The control text selecting mark movement, including:
Obtain the first fingerprint subregion change information of the described first sub- touch-control input;
According to the first fingerprint subregion change information, it is mobile to control first cursor;
Obtain the second fingerprint subregion change information of the described second sub- touch-control input;
According to the second fingerprint subregion change information, it is mobile to control second cursor;
Wherein, the described first sub- touch-control input includes that the pressing of first direction inputs, and the second sub- touch-control input includes second
The pressing in direction inputs;The fingerprint subregion change information includes that the second fingerprint subregion is changed to from the first fingerprint subregion, described
Fingerprint subregion change information is associated with the moving direction of cursor.
3. according to the method described in claim 2, it is characterized in that, the method also includes at least one of following:
The mobile end position of first cursor is the described in the first moment that the finger of the described first sub- touch-control input unclamps
The current location of one cursor;And the mobile end position of second cursor is the finger release of the described second sub- touch-control input
The current location of second cursor described in second moment;
Alternatively, in the case where second touch-control input includes the input of third sub- touch-control and the input of the 4th sub- touch-control, described the
The mobile end position of one cursor is the current location for receiving the first cursor described in the third moment of the sub- touch-control input of the third;
The mobile end position of second cursor is to receive working as the second cursor described in the 4th moment of the described 4th sub- touch-control input
Front position.
4. according to the method described in claim 2, it is characterized in that, what the display was chosen based on second touch-control input
Target text, including:
Show the target text between first cursor and second cursor.
5. the method according to claim 1, wherein what the display was chosen based on second touch-control input
After target text, further include:
Receive third touch-control input of the user on third text;
It is inputted in response to the third touch-control, in the corresponding target position display text in pressing area of third touch-control input
Insertion mark;
Receive the 4th touch-control input of user;
It is inputted in response to the 4th touch-control, controls the text insertion mark movement;
The mobile end position that the target text is inserted into the text insertion mark is shown;
Wherein, the 4th touch-control, which inputs, includes:The pressing input of the second area of the second finger of user on the screen, it is described
Second area is some or all of second finger finger areas;Wherein, shielding in the second area of the second finger
During pressing on curtain, the touch-control input further includes the rotation input that user rotates the second finger.
6. a kind of terminal device, which is characterized in that the terminal device includes:
First receiving module, for receiving first touch-control input of the user on the first text;
First display module shows suspended frame, the suspended frame includes target area for inputting in response to first touch-control
The second interior text and text selecting mark;
Second receiving module, the second touch-control for receiving user input;
First control module controls the text selecting mark movement for inputting in response to second touch-control;
Second display module inputs chosen target text based on second touch-control for showing;
Wherein, the target area be include first touch-control input touch area preset range region.
7. terminal device according to claim 6, which is characterized in that
First touch-control inputs:Pressing input of the first area of the first finger of user on the first text, it is described
First area is some or all of first finger finger areas;Wherein, in the first area of first finger
During pressing on one text, the first touch-control input further includes the rotation input that user rotates first finger;
The text selecting mark includes the first cursor and the second cursor;The start bit of the first cursor instruction target text
It sets, the end position of second cursor instruction target text, the second touch-control input includes the first sub- touch-control input and the
Two sub- touch-control inputs;
First control module, is used for:
Obtain the first fingerprint subregion change information of the described first sub- touch-control input;
According to the first fingerprint subregion change information, it is mobile to control first cursor;
Obtain the second fingerprint subregion change information of the described second sub- touch-control input;
According to the second fingerprint subregion change information, it is mobile to control second cursor;
Wherein, the described first sub- touch-control input includes that the pressing of first direction inputs, and the second sub- touch-control input includes second
The pressing in direction inputs;The fingerprint subregion change information includes that the second fingerprint subregion is changed to from the first fingerprint subregion, described
Fingerprint subregion change information is associated with the moving direction of cursor.
8. terminal device according to claim 7, which is characterized in that first control module be also used to execute with down toward
One item missing:
The mobile end position of first cursor is the described in the first moment that the finger of the described first sub- touch-control input unclamps
The current location of one cursor;And the mobile end position of second cursor is the finger release of the described second sub- touch-control input
The current location of second cursor described in second moment;
Alternatively, in the case where second touch-control input includes the input of third sub- touch-control and the input of the 4th sub- touch-control, described the
The mobile end position of one cursor is the current location for receiving the first cursor described in the third moment of the sub- touch-control input of the third;
The mobile end position of second cursor is to receive working as the second cursor described in the 4th moment of the described 4th sub- touch-control input
Front position.
9. terminal device according to claim 7, which is characterized in that second display module is used for:
Show the target text between first cursor and second cursor.
10. according to the method described in claim 6, it is characterized in that, the terminal device, further includes:
Third receiving module, for receiving third touch-control input of the user on third text;
Third display module, it is corresponding in the pressing area of third touch-control input for being inputted in response to the third touch-control
Target position display text be inserted into mark;
4th receiving module, the 4th touch-control for receiving user input;
Second control module controls the text insertion mark movement for inputting in response to the 4th touch-control;
4th display module, the mobile end position for the target text to be inserted into the text insertion mark are shown
Show;
Wherein, the 4th touch-control, which inputs, includes:The pressing input of the second area of the second finger of user on the screen, it is described
Second area is some or all of second finger finger areas;Wherein, shielding in the second area of the second finger
During pressing on curtain, the touch-control input further includes the rotation input that user rotates the second finger.
11. a kind of terminal device, which is characterized in that including processor, memory and be stored on the memory and can be in institute
The computer program run on processor is stated, such as claim 1 to 5 is realized when the computer program is executed by the processor
Any one of described in text handling method the step of.
12. a kind of computer readable storage medium, which is characterized in that store computer journey on the computer readable storage medium
Sequence, the text handling method as described in any one of claims 1 to 5 is realized when the computer program is executed by processor
Step.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810538903.3A CN108874260A (en) | 2018-05-30 | 2018-05-30 | A kind of text handling method and terminal device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810538903.3A CN108874260A (en) | 2018-05-30 | 2018-05-30 | A kind of text handling method and terminal device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108874260A true CN108874260A (en) | 2018-11-23 |
Family
ID=64335747
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810538903.3A Pending CN108874260A (en) | 2018-05-30 | 2018-05-30 | A kind of text handling method and terminal device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108874260A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110096200A (en) * | 2019-04-09 | 2019-08-06 | 网易(杭州)网络有限公司 | Text handling method and device, storage medium, electronic equipment |
CN110096188A (en) * | 2019-03-29 | 2019-08-06 | 北京点众科技股份有限公司 | A kind of method and device for choosing content of pages in ocr software |
CN110232174A (en) * | 2019-04-22 | 2019-09-13 | 维沃移动通信有限公司 | A kind of content chooses method and terminal device |
CN113010070A (en) * | 2021-03-19 | 2021-06-22 | 维沃移动通信有限公司 | Content selection method and device, electronic equipment and readable storage medium |
CN116521037A (en) * | 2023-03-31 | 2023-08-01 | 深圳市赛凌伟业科技有限公司 | Word processing method and system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB2473260A (en) * | 2009-09-05 | 2011-03-09 | Peter Damien Kidner | Input device with keypad on rear surface |
CN103631489A (en) * | 2012-08-30 | 2014-03-12 | 中兴通讯股份有限公司 | Touch screen character display method and device |
CN105373309A (en) * | 2015-11-26 | 2016-03-02 | 努比亚技术有限公司 | Text selection method and mobile terminal |
CN106201067A (en) * | 2016-06-29 | 2016-12-07 | 宇龙计算机通信科技(深圳)有限公司 | Contactor control device, display control method, display control unit and terminal |
CN106569723A (en) * | 2016-10-28 | 2017-04-19 | 努比亚技术有限公司 | Device and method for controlling cursor movement |
-
2018
- 2018-05-30 CN CN201810538903.3A patent/CN108874260A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB2473260A (en) * | 2009-09-05 | 2011-03-09 | Peter Damien Kidner | Input device with keypad on rear surface |
CN103631489A (en) * | 2012-08-30 | 2014-03-12 | 中兴通讯股份有限公司 | Touch screen character display method and device |
CN105373309A (en) * | 2015-11-26 | 2016-03-02 | 努比亚技术有限公司 | Text selection method and mobile terminal |
CN106201067A (en) * | 2016-06-29 | 2016-12-07 | 宇龙计算机通信科技(深圳)有限公司 | Contactor control device, display control method, display control unit and terminal |
CN106569723A (en) * | 2016-10-28 | 2017-04-19 | 努比亚技术有限公司 | Device and method for controlling cursor movement |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110096188A (en) * | 2019-03-29 | 2019-08-06 | 北京点众科技股份有限公司 | A kind of method and device for choosing content of pages in ocr software |
CN110096200A (en) * | 2019-04-09 | 2019-08-06 | 网易(杭州)网络有限公司 | Text handling method and device, storage medium, electronic equipment |
CN110096200B (en) * | 2019-04-09 | 2020-12-22 | 网易(杭州)网络有限公司 | Text processing method and device, storage medium and electronic equipment |
CN110232174A (en) * | 2019-04-22 | 2019-09-13 | 维沃移动通信有限公司 | A kind of content chooses method and terminal device |
CN113010070A (en) * | 2021-03-19 | 2021-06-22 | 维沃移动通信有限公司 | Content selection method and device, electronic equipment and readable storage medium |
CN113010070B (en) * | 2021-03-19 | 2022-08-23 | 维沃移动通信有限公司 | Content selection method and device, electronic equipment and readable storage medium |
CN116521037A (en) * | 2023-03-31 | 2023-08-01 | 深圳市赛凌伟业科技有限公司 | Word processing method and system |
CN116521037B (en) * | 2023-03-31 | 2024-01-30 | 深圳市赛凌伟业科技有限公司 | Word processing method and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109710132A (en) | Method of controlling operation thereof and terminal | |
CN108200289A (en) | A kind of unread message processing method and mobile terminal | |
CN108536365A (en) | A kind of images share method and terminal | |
CN108874260A (en) | A kind of text handling method and terminal device | |
CN109388304A (en) | A kind of screenshotss method and terminal device | |
CN108920059A (en) | Message treatment method and mobile terminal | |
CN108549508A (en) | A kind of application icon display methods and mobile terminal | |
CN108491123A (en) | A kind of adjusting application program image target method and mobile terminal | |
CN110413364A (en) | A kind of information processing method and terminal | |
CN109582475A (en) | A kind of sharing method and terminal | |
CN109597550A (en) | A kind of image processing method and mobile terminal | |
CN108089891A (en) | A kind of application program launching method, mobile terminal | |
CN110308960A (en) | A kind of icon classification method, mobile terminal and computer readable storage medium | |
CN109840060A (en) | A kind of display control method and terminal device | |
CN109407921A (en) | A kind of processing method and terminal device of application program | |
CN108984082A (en) | A kind of image display method and mobile terminal | |
CN107832601A (en) | A kind of application control method and mobile terminal | |
CN109710349A (en) | A kind of screenshotss method and mobile terminal | |
CN108958583A (en) | A kind of method for sorting and terminal device of icon | |
CN108509141A (en) | A kind of generation method and mobile terminal of control | |
CN108334265A (en) | A kind of document handling method and mobile terminal | |
CN108415642A (en) | A kind of display methods and mobile terminal | |
CN108228902A (en) | A kind of document display method and mobile terminal | |
CN110233933A (en) | A kind of call method and terminal device | |
CN108898555A (en) | A kind of image processing method and terminal device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181123 |