CN108762641A - A kind of method for editing text and terminal device - Google Patents
A kind of method for editing text and terminal device Download PDFInfo
- Publication number
- CN108762641A CN108762641A CN201810541089.0A CN201810541089A CN108762641A CN 108762641 A CN108762641 A CN 108762641A CN 201810541089 A CN201810541089 A CN 201810541089A CN 108762641 A CN108762641 A CN 108762641A
- Authority
- CN
- China
- Prior art keywords
- touch
- finger
- control
- user
- 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.)
- Granted
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/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
-
- 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
- G06F3/04883—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 for inputting data by handwriting, e.g. gesture or text
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The present invention provides a kind of method for editing text and terminal devices, belong to field of communication technology.Wherein, terminal device can receive the first touch-control input of the first finger of user on the screen, in this way, user is not necessarily to enter main interface from the first interface, it is searched in main interface again and opens the application for text entry, it directly on the screen can recording text by the input of the first touch-control, the start-up course of text editing is omitted, then, terminal device can be inputted in response to first touch-control, the associated control operation of the first fingerprint subregion corresponding with the input of the first touch-control is executed to target text, in this way, user is not necessarily to manual setting text display parameters, pressing direction when only being inputted by changing first-hand the first touch-control of fingering row, i.e. changeable terminal device operates the control performed by target text, change the display effect of text, simplify the operating process of text editing, improve the convenience of text editing.
Description
Technical field
The present embodiments relate to field of communication technology more particularly to a kind of method for editing text and terminal device.
Background technology
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 the relationship of work and terminal device are also increasingly closer, and user often may require that use
Terminal device carries out text entry.
In the prior art, it when user wants to carry out recording documents, needs to download the application that can be used in text entry in advance,
It is then log out the main interface that the first interface is back to terminal device, either, unlock terminal device enters main interface, then in master
In the mounted application shown on interface, the application for text entry is found, then opens the application into edlin, together
When, in editing process, when user needs to change the display effect of institute's text writing, need first to reset display ginseng manually
Number, whole operation process is cumbersome, and convenience is relatively low.
Invention content
A kind of method for editing text of present invention offer and terminal device, when to solve to carry out text editing, operating process
Cumbersome and relatively low convenience problem.
In order to solve the above-mentioned technical problem, the invention is realized in this way:
In a first aspect, an embodiment of the present invention provides a kind of method for editing text, it is applied to terminal device, this method can be with
Including:
Receive the first touch-control input of the first finger of user on the screen;
It is inputted in response to first touch-control, the first fingerprint corresponding with the first touch-control input is executed to target text
The associated control operation of subregion;
Wherein, the fingerprint of first finger includes N number of fingerprint subregion, and N number of fingerprint subregion includes first finger
Line subregion, for the integer more than 1.
Second aspect, an embodiment of the present invention provides a kind of terminal device, which may include:
First receiving module, for receiving the first touch-control input of the first finger of user on the screen;
Execution module executes target text and is inputted with first touch-control for being inputted in response to first touch-control
The corresponding associated control operation of first fingerprint subregion;
Wherein, the fingerprint of first finger includes N number of fingerprint subregion, and N number of fingerprint subregion includes first finger
Line subregion, for the integer more than 1.
The third aspect an embodiment of the present 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 method for editing text as described in relation to the first aspect.
Fourth aspect, an embodiment of the present 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
Method for editing text the step of.
In embodiments of the present invention, it is defeated can to receive the first touch-control of the first finger of user on the screen for terminal device
Enter, in this way, user is not necessarily to enter main interface from the first interface, then is searched in main interface and open answering for text entry
With, directly on the screen by the first touch-control input can recording text, the start-up course of text editing is omitted, then, eventually
End equipment can be inputted in response to first touch-control, and executing the first fingerprint subregion corresponding with the input of the first touch-control to target text closes
The control of connection operates, in this way, user is not necessarily to manual setting text display parameters, only by changing first-hand the first touch-control of fingering row
Pressing direction when input, you can change terminal device and the control performed by target text is operated, change the display effect of text
Fruit simplifies the operating process of text editing, improves the convenience of text editing.
Description of the drawings
Fig. 1 is one of the flow chart of method for editing text provided in an embodiment of the present invention;
Fig. 2-1 is the two of the flow chart of method for editing text 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 a kind of fingerprint subregion schematic diagram for different inclined directions provided in an embodiment of the present invention;
Fig. 2-4 is a kind of user interface schematic diagram provided in an embodiment of the present invention;
Fig. 2-5 is a kind of schematic diagram of default mark provided in an embodiment of the present invention;
Fig. 2-6 is a kind of schematic diagram of target text provided in an embodiment of the present invention;
Fig. 2-7 is a kind of text schematic diagram 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 architecture diagram of Fig. 4 terminal devices of each embodiment to realize the present invention.
Specific implementation mode
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 describes, 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, the every other implementation that those of ordinary skill in the art are obtained without creative efforts
Example, shall fall within the protection scope of the present invention.
Fig. 1 is one of the flow chart of method for editing text 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 the first touch-control input of the first finger of user on the screen.
In the embodiment of the present invention, the first finger can be any finger of user, and the input of the first touch-control may include user
The first finger pressing input of the first area on the first text, which can be the part or complete of first-hand finger
Portion's finger areas;Wherein, in the first area of the first finger during being pressed on the first text, the input of the first touch-control can be with
The rotation input of first finger is rotated including user, during pressing, the corresponding fingerprint subregion in first area can occur
Variation, such as can be fingerprint subregion 01, fingerprint subregion 02, fingerprint subregion 03, fingerprint subregion 04 or fingerprint point in Fig. 2-3
Area 05.Certainly, the input of the first touch-control can not also be pressing operation, exemplary, the point of the input of the first touch-control or user
Operation, etc. is hit, the embodiment of the present invention is not construed as limiting this.Further, when the input of the first touch-control for pressing input when, this
The content of one touch-control input can be that user executes the write text of writing operation on the screen in a manner of pressing, can also
The text for being user to be shown on the selected screen of the mode pressed.
Step 102 is inputted in response to first touch-control, is executed to target text corresponding with the first touch-control input
The associated control operation of first fingerprint subregion.
In the embodiment of the present invention, correspond to the different input contents of the first touch-control input, which can be user
The text write on the screen, or the text chosen by user in shown text on terminal device screen, this
Inventive embodiments are not construed as limiting this.Further, the fingerprint of the first finger may include N number of fingerprint subregion, wherein N is big
In 1 integer, the first fingerprint subregion can be one of the fingerprint subregion that the fingerprint of the first finger includes.In the embodiment of the present invention
Fingerprint subregion can be some or all of user's finger finger-print region.
Specifically, each fingerprint subregion that terminal device can be the first finger in advance is associated with corresponding control operation,
In, associated control operation can be that the various display parameters of text based define, such as control operation can be with
Particular color display target text and/or with specific thickness value adjust target text font weight and/or with particular memory side
Formula stores target text.In this way, user it is corresponding can to change the input of the first touch-control by the pressing direction of the first finger of change
First fingerprint subregion, and then change terminal device and the control performed by target text is operated so that the display of target text is imitated
Fruit changes.
In conclusion a kind of method for editing text provided in an embodiment of the present invention, terminal device can receive the first of user
The the first touch-control input of finger on the screen, in this way, user is not necessarily to enter main interface from the first interface, then is searched in main interface
And open for text entry application, directly on the screen by the first touch-control input can recording text, text is omitted
The start-up course of editor, then, terminal device can be inputted in response to first touch-control, be executed to target text defeated with the first touch-control
Enter the corresponding associated control operation of first fingerprint subregion, in this way, user is not necessarily to manual setting text display parameters, only by changing
Become pressing direction when first-hand the first touch-control of fingering row input, you can change terminal device to the control performed by target text
Operation, changes the display effect of text, simplifies the operating process of text editing, improve the convenience of text editing.
Fig. 2-1 is the two of the flow chart of method for editing text provided in an embodiment of the present invention, as shown in Fig. 2-1, this method
May include:
Step 201 receives the first touch-control input of the first finger of user on the screen.
Specifically, the realization method of this step can refer to above-mentioned steps 101, this will not be repeated here for the embodiment of the present invention.
Further, in practical application scene, since user directly inputs mesh by the input of the first touch-control on the screen
When marking text, it may be influenced by content currently displayed on screen, it is defeated to user's the first touch-control of execution in order to reduce
The influence entered, terminal device can first receive and use before receiving the first touch-control input of the first finger of user on the screen
Then the text editing request that family is sent in current interface asks according to the text editing, opens the text of the terminal device
This edit pattern.
Specifically, terminal device can first detect user current interface pressing operation, then, in the pressing operation
It presses duration and is equal to preset duration threshold value, and when the corresponding fingerprint of the pressing operation and preset fingerprint match, confirmation receives
The text editing request that user sends in current interface.In this way, when user wants to carry out text editing, it can be by current
Interface executes pressing operation to terminal device sending information edit requests.Exemplary, Fig. 2-2 is provided in an embodiment of the present invention
A kind of current interface schematic diagram, Fig. 2-2 include current interface 00 (being illustrated by locking screen interface of current interface in figure), are used
Family can execute pressing operation in any position in current interface.Since in subsequent step, terminal device can be based on the pressing
Corresponding fingerprint is operated to determine whether to open text edit mode, therefore, in the embodiment of the present invention, developer can be advance
The screen that fingerprint can be identified for the screen setting of terminal device, specifically, developer can be in the entire screen of terminal device
Curtain is lower to be arranged fingerprint recognition module, wherein the fingerprint recognition module can be photoelectricity fingerprint Identification sensor so that terminal device
Entire screen can identify fingerprint, in this way, user can arbitrarily choose a region in current interface according to demand, execute
Pressing operation.
Further, which can be preset based on actual conditions, for example, can be at 0.5 second
A value is chosen between (second, s)~1s, as preset duration threshold value, naturally it is also possible to choose except the time range
Time point, the embodiment of the present invention are not construed as limiting this.Further, preset fingerprint can be that user is in advance in terminal device
The fingerprint for opening text edit mode of typing in system setting.It is exemplary, it is assumed that preset duration threshold value is 0.7s, presets and refers to
Line is then fingerprint a calculates the collected fingerprint and refer to then terminal device can acquire the corresponding fingerprint of the pressing operation
The similarity of line a, if the similarity of the two is more than preset similarity threshold, then it is assumed that collected fingerprint and fingerprint a phases
Matching, when terminal device can match in collected fingerprint and fingerprint a and the pressing duration of the pressing operation is equal to 0.7s,
Confirm and receives the text editing request that user sends at the first interface.It should be noted that user can also pass through its other party
Formula is to terminal device sending information edit requests, for example, developer can pre-set and sending information edit requests function
Associated virtual shortcut key, when detecting that user clicks the virtual shortcut key, terminal device, which can be confirmed, receives text
Edit requests;The preset shortcut key can also be entity key, exemplary, and developer can be in advance by power key and volume down
Key and sending information edit requests function association, in this way, when detecting user while pressing power key and volume down key, terminal
Equipment, which can be confirmed, receives text editing request, etc..
Further, terminal device can be switched to text by terminal device according to text edit requests from current interface
This editing interface, text editing interface refer to that terminal device opens the interface after text edit mode.Wherein, terminal is set
Standby text edit mode of opening refers to:Terminal device enters the pre-set environment that can be used in text editing, can also
It is to open the associated application that can be used in text editing in advance, the embodiment of the present invention is not construed as limiting this.Terminal device enters
After text edit mode, it is possible to reduce user is executed when the first touch-control inputs in screen by being influenced using the first finger,
And then improve the accuracy of the first touch-control input.
Step 202 is inputted in response to first touch-control, is executed to target text corresponding with the first touch-control input
The associated control operation of first fingerprint subregion.
In this step, it is associated that terminal device executes the first fingerprint subregion corresponding with the input of the first touch-control to target text
Control operation, may include at least one of as shown in following sub-steps (1), sub-step (7) and sub-step (13):
Sub-step (1):According to the associated color of object of the first fingerprint subregion corresponding with the first touch-control input, display
The target text.
Specifically, terminal device, which can first pass through the photoelectricity fingerprint Identification sensor acquisition user being arranged under screen, carries out the
Fingerprint when one touch-control inputs, obtains the first fingerprint subregion.Wherein, user carry out the first touch-control input when fingerprint when fingerprint
As user executes the corresponding fingerprint in first area of the first finger used in the input of the first touch-control, is then based on preset finger
Incidence relation between line subregion and textcolor determines the associated color of object of the first fingerprint subregion, exemplary, terminal device
The each fingerprint subregion and the first fingerprint subregion between preset fingerprint subregion and textcolor in incidence relation can be calculated
Similarity, similarity is more than to the fingerprint subregion of default similarity threshold, is determined as matching with the first fingerprint subregion
Then the corresponding textcolor of fingerprint subregion that this matches is determined as the associated target face of the first fingerprint subregion by fingerprint subregion
Color.Finally, with the color of object display target text.It is exemplary, it is assumed that target text color is " black ", then can be by mesh
Mark text is shown as black.
In this step, the incidence relation between the preset fingerprint subregion and textcolor can be terminal device in step
It is pre-established before 201.Specifically, the method for establishing the incidence relation between fingerprint subregion and textcolor can be as following
Shown in sub-step (2)~sub-step (5):
Sub-step (2):Obtain textcolor setting request input by user.
In this step, the setting request of text color can be that work(is arranged by the textcolor of triggering terminal equipment in user
It can be sent to terminal device, exemplary, textcolor setting function can be triggered by button, for example, terminal device can be
It shows that button is arranged in a textcolor on notification bar, is closed when user wants to set up the association between fingerprint subregion and textcolor
When being, button can be set to the setting request of terminal device sending information color by triggering text color.
Sub-step (3):Show the first typing prompting message.
In this step, which can serve to indicate that user executes the second fingerprint subregion typing operation.
Sub-step (4):Receive the second touch-control input of the second finger of user on the screen.
In this step, second touch-control input may include the pressing of the second area of the second finger of user on the screen
Input, the second area are some or all of second finger finger areas, wherein second finger second area in screen
During upper pressing, touch-control input can also include the rotation input that user rotates the second finger.During pressing,
The corresponding fingerprint subregion of second area can change, such as can be fingerprint subregion 01 in Fig. 2-3, fingerprint subregion 02, refer to
Line subregion 03, fingerprint subregion 04 or fingerprint subregion 05.Further, second touch-control input can be in a first direction touch
Control input, the specific number of first direction and specific direction, can set according to actual demand, specifically, first direction
May include vertically downward, that is, is exactly not tilt, or along N degree overturning angles.It is exemplary, may include 4 first directions, this
4 first directions can be respectively:Straight up, straight down, it is horizontal to the left and it is horizontal to the right, can also include 45 certainly
Spend angle obliquely, along 135 degree of angles obliquely, along 45 degree of angles obliquely, along 135 degree of angles obliquely, etc., the embodiment of the present invention pair
This is not construed as limiting.By taking first direction is " straight up " as an example, terminal device can receive user with the first finger straight up
The second touch-control input that inclined mode executes.
Further, terminal device can show the textcolor option pre-defined to user on the screen, for
User selects, and user can be by executing the input of the second touch-control, to choose text color on different textcolor options.
Sub-step (5):It obtains second touch-control and inputs corresponding second 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 obtain not
Same fingerprint subregion.Exemplary, Fig. 2-3 is that a kind of fingerprint subregion for different inclined directions provided in an embodiment of the present invention shows
It is intended to, specifically, when the fingerprint subregion 01, the finger that show when finger tilts straight up in Fig. 2-3 tilt straight down
Fingerprint subregion 04 when fingerprint subregion 03, finger horizontal when fingerprint subregion 02, finger horizontal are tilted to the left are tilted to the right and
Fingerprint subregion 05 when finger does not tilt, it can be seen that the inclined direction of finger is different, and the form of fingerprint subregion is different.Therefore,
Terminal device can acquire fingerprint when the second touch-control input of user's execution, wherein the fingerprint is that user's execution second is touched
The corresponding fingerprint of second area of second finger used in control input, and then get the second multiple and different fingerprint subregions.
Specifically, the second touch-control input for user in a first direction " straight up ", can get the second fingerprint
Subregion 1, the second touch-control input for user in a first direction " straight down ", can get the second fingerprint subregion 2, be directed to
The second touch-control input of user " horizontal to the left " in a first direction, the second fingerprint subregion 3 can be got, for user first
The second touch-control input in direction " level is to the right ", can get the second fingerprint subregion 4, and then obtain four the second fingerprints point
Area.
Sub-step (6) establishes the second fingerprint subregion and second touch-control inputs between chosen textcolor
Incidence relation.
It is exemplary, it is assumed that the second touch-control of user in a first direction " straight up " inputs chosen textcolor and is
" red ", it is " black " that the second touch-control " straight down ", which inputs chosen textcolor, in a first direction, in a first direction
It is " pink colour " that second touch-control of " level is to the left ", which inputs chosen textcolor, and the second of " level is to the right " touches in a first direction
It is " green " that control, which inputs chosen textcolor, then the second fingerprint subregion as shown in table 1 below and text face can be generated
Incidence relation between color, the incidence relation between the second fingerprint subregion and textcolor are preset fingerprint subregion and text
Correspondence:
Second fingerprint subregion | Textcolor |
Second fingerprint subregion 1 | It is red |
Second fingerprint subregion 2 | Black |
Second fingerprint subregion 3 | Pink colour |
Second fingerprint subregion 4 | Green |
… | … |
Table 1
Sub-step (7):According to the associated target thickness value of the first fingerprint subregion corresponding with the first touch-control input, adjust
Save the font weight of the target text.
Specifically, terminal device, which can first pass through the photoelectricity fingerprint Identification sensor acquisition user being arranged under screen, carries out the
Fingerprint when one touch-control inputs, obtains the first fingerprint subregion.It is then based between preset fingerprint subregion and font weight value and closes
Connection relationship determines the associated target thickness value of the first fingerprint subregion, exemplary, and terminal device can calculate preset fingerprint point
The similarity of each fingerprint subregion and the first fingerprint subregion between area and font weight value in incidence relation is big by similarity
In the fingerprint subregion of default similarity threshold, it is determined as the fingerprint subregion to match with the first fingerprint subregion, then by the phase
The corresponding font weight value of matched fingerprint subregion is determined as the associated target thickness value of the first fingerprint subregion.Finally, with the mesh
Mark the font weight that thickness value adjusts target text.It is exemplary, it is assumed that target thickness value is " 0.5 ", then by target text
Font weight is set as " 0.5 ".
In this step, the incidence relation between the preset fingerprint subregion and font weight value can be terminal device in step
It is pre-established before rapid 201.Specifically, the method for establishing the incidence relation between fingerprint subregion and font weight value can be as
Shown in following sub-steps (8)~sub-step (12):
Sub-step (8):Obtain font weight setting request input by user.
In this step, font weight setting request can be that work(is arranged by the font weight of triggering terminal equipment in user
It can be sent to terminal device, exemplary, font weight setting function can be triggered by button, for example, terminal device can be
Show that button is arranged in a font weight on notification bar, when user wants to set up the pass between fingerprint subregion and the setting of text thickness
When connection relationship, button can be set to terminal device transmission font weight setting request by triggering the font weight.
Sub-step (9):Show the second typing prompting message.
In this step, which can serve to indicate that user executes third fingerprint subregion typing operation.
Sub-step (10):Receive the third touch-control input of the third finger of user on the screen.
In this step, third touch-control input may include the pressing of the third region of the third finger of user on the screen
Input, the third region are some or all of third finger finger areas, wherein in the third region of third finger in screen
During upper pressing, touch-control input can also include the rotation input that user rotates the third finger.During pressing,
The corresponding fingerprint subregion in third region can change, such as can be fingerprint subregion 01 in Fig. 2-3, fingerprint subregion 02, refer to
Line subregion 03, fingerprint subregion 04 or fingerprint subregion 05.Further, third touch-control input can be touching in second direction
Control input, the specific number of second direction and specific direction, can set according to actual demand, for example, second direction can
May include 4 second directions with identical as the first direction in above-mentioned sub-step, this 4 second directions can be respectively:It is perpendicular
It is straight upwards, straight down, it is horizontal to the left and it is horizontal to the right, can also include certainly along 45 degree of angles obliquely, it is oblique along 135 degree of angles
Upwards, obliquely, along 135 degree of angles obliquely, etc. along 45 degree of angles, certainly, second direction can not also be identical as first direction,
The embodiment of the present invention is not construed as limiting this.
Further, terminal device can show the font weight value option pre-defined to user on the screen, with
It is selected for user, user can be by executing the input of third touch-control, to choose the font thick on different fonts thickness value option
Thin value.In the embodiment of the present invention, font weight value can be exactly font weight value with the thick degree positive correlation of lines of font
Bigger, the lines of font are thicker, and font weight value is smaller, and the lines of font are thinner.
Sub-step (11):It obtains the third touch-control and inputs corresponding third fingerprint subregion.
When being in heeling condition due to finger, terminal device can only collect the partial fingerprints of the finger, that is, be exactly, corresponding
The inclined direction different from finger, the collected fingerprint of terminal device can be different, and then obtain different fingerprint subregions, because
This, terminal device can acquire the fingerprint when third touch-control input of user's execution, wherein the fingerprint is that user executes third
The corresponding fingerprint in third region of third finger used in touch-control input, and then get multiple and different third fingerprint point
Area.
It is exemplary, it is inputted in the third touch-control of second direction " straight up " for user, third fingerprint can be got
Subregion 1 is inputted for user in the third touch-control of second direction " straight down ", can be got third fingerprint subregion 2, is directed to
User can get third fingerprint subregion 3, be directed to user second in the third touch-control input of second direction " level is to the left "
The third touch-control input in direction " level is to the right ", can get third fingerprint subregion 4, and then obtain four third fingerprints point
Area.
Sub-step (12):It establishes the third fingerprint subregion and the third touch-control inputs between chosen thickness value
Incidence relation.
It is exemplary, it is assumed that user inputs chosen font weight value in the third touch-control of second direction " straight up " and is
" 0.5 ", it is " 0.6 " to input chosen font weight value in the third touch-control of second direction " straight down ", in second direction
It is " 0.8 " that the third touch-control of " level is to the left ", which inputs chosen font weight value, in the third of second direction " level is to the right "
It is " 0.9 " that touch-control, which inputs chosen font weight value, then third fingerprint subregion as shown in table 2 below and font can be generated
Incidence relation between thickness value, the incidence relation between the third fingerprint subregion and font weight value are preset fingerprint point
Correspondence between area and font weight value:
Third fingerprint subregion | Font weight value |
Third fingerprint subregion 1 | 0.5 |
Third fingerprint subregion 2 | 0.6 |
Third fingerprint subregion 3 | 0.8 |
Third fingerprint subregion 4 | 0.9 |
… | … |
Table 2
Sub-step (13):According to the associated storage mode of the first fingerprint subregion corresponding with the first touch-control input, deposit
Store up the target text, wherein the storage mode includes picture format storage, document format storage, encrypts in storage extremely
One item missing.
Specifically, terminal device, which can first pass through the photoelectricity fingerprint Identification sensor acquisition user being arranged under screen, carries out the
Fingerprint when one touch-control inputs, obtains the first fingerprint subregion.It is then based between preset fingerprint subregion and storage mode and is associated with
Relationship determines the associated storage mode of the first fingerprint subregion, exemplary, terminal device can calculate preset fingerprint subregion with
Similarity is more than default by the similarity of each fingerprint subregion and the first fingerprint subregion between storage mode in incidence relation
The fingerprint subregion of similarity threshold is determined as the fingerprint subregion to match with the first fingerprint subregion, then this matches
The corresponding storage mode of fingerprint subregion is determined as the first associated storage mode of fingerprint subregion.Finally, it is stored with the storage mode
Target text.Assuming that the first associated storage mode of fingerprint subregion " picture format storage ", then can be by target text to scheme
Piece format stores.In the embodiment of the present invention, user is not necessarily to manual setting storage format, it is only necessary to control the skewed of the first finger
State, you can the setting for realizing storage format simplifies the operating process of text editing.
It should be noted that terminal device can when determining the associated storage mode of the first fingerprint subregion, directly with
The storage mode directly stores target text, it is of course also possible to when receiving text preservation instruction, is closed with the first fingerprint subregion
The storage mode of connection stores target text, to avoid storage operation when user need not store target text, is executed, causes
The problem of system resource waste.
Exemplary, Fig. 2-4 is a kind of user interface schematic diagram provided in an embodiment of the present invention, as in Figure 2-4, the user
Interface illustrates that the corresponding interface of text edit mode, the user interface include text edit area 06 and cancellation/guarantor
Deposit region 07, wherein cancellation/storage zone 07 is made of cancel button 071 and save button 072.User can pass through a little
It hits save button 072 and preserves instruction to terminal device sending information.
Further, in this step, the incidence relation between preset fingerprint subregion and storage mode can be that terminal is set
For what is pre-established before step 201.Specifically, the method for establishing the incidence relation between fingerprint subregion and storage mode can
With shown in such as following sub-step (14)~sub-steps (18):
Sub-step (14):Obtain storage mode setting request input by user.
In this step, storage mode setting request can be that work(is arranged by the storage mode of triggering terminal equipment in user
It can be sent to terminal device, exemplary, storage mode setting function can be triggered by button, for example, terminal device can be
It shows that button is arranged in a storage mode on notification bar, is closed when user wants to set up the association between fingerprint subregion and storage mode
When being, button can be set to terminal device transmission storage mode setting request by triggering the storage mode.
Sub-step (15):Show fingerprint third typing prompting message.
In this step, which can serve to indicate that user executes the 4th fingerprint subregion typing operation.
Sub-step (16):Receive the 4th touch-control input of the 4th finger of user on the screen.
In this step, the input of the 4th touch-control may include the pressing of the fourth region of the 4th finger of user on the screen
Input, the fourth region are some or all of the 4th finger finger areas, wherein the 4th finger the fourth region in screen
During upper pressing, touch-control input can also include the rotation input that user rotates the 4th finger.During pressing,
The corresponding fingerprint subregion of the fourth region can change, such as can be fingerprint subregion 01 in Fig. 2-3, fingerprint subregion 02, refer to
Line subregion 03, fingerprint subregion 04 or fingerprint subregion 05.Further, the input of the 4th touch-control can be touching in third direction
Control input, the specific number of third direction and specific direction, can set according to actual demand, for example, third direction can
It is exemplary with identical as the first direction in above-mentioned sub-step, second direction, may include 4 third directions, this 4 thirds
Direction can be respectively:Straight up, straight down, it is horizontal to the left and it is horizontal to the right, can also include along 45 degree of angles certainly
Obliquely, obliquely, along 45 degree of angles obliquely, along 135 degree of angles obliquely, etc. along 135 degree of angles, certainly, third direction also may be used
With not identical as first direction or second direction, the embodiment of the present invention is not construed as limiting this.
Further, terminal device can show the storage mode option pre-defined to user on the screen, for
User selects, and user can be by executing the input of the 4th touch-control, to choose the storage mode on different storage mode options.
Sub-step (17):It obtains the 4th touch-control and inputs corresponding 4th fingerprint subregion.
When being in heeling condition due to finger, terminal device can only collect the partial fingerprints of the finger, that is, be exactly, corresponding
The inclined direction different from finger, the collected fingerprint of terminal device can be different, and then obtain different fingerprint subregions, because
This, terminal device can acquire fingerprint of the user in the input of the 4th touch-control that each third direction executes, wherein the fingerprint is
The corresponding fingerprint of the fourth region of the 4th finger used in the input of the 4th touch-control is executed for user, and then is got multiple and different
The 4th fingerprint subregion.
It is exemplary, it is inputted in the 4th touch-control of third direction " straight up " for user, the 4th fingerprint can be got
Subregion 1 is inputted for user in the 4th touch-control of third direction " straight down ", can be got the 4th fingerprint subregion 2, is directed to
User can get the 4th fingerprint subregion 3, be directed to user in third in the 4th touch-control input of third direction " level is to the left "
The 4th touch-control input in direction " level is to the right ", can get the 4th fingerprint subregion 4, and then obtain four the 4th fingerprints point
Area.
Sub-step (18):It establishes the 4th fingerprint subregion and the 4th touch-control inputs between chosen storage mode
Incidence relation.
Example, it is assumed that it is " figure that user inputs chosen storage mode in the 4th touch-control of third direction " straight up "
Piece format stores ", it is that " document format is deposited to input chosen storage mode in the 4th touch-control of third direction " straight down "
Storage ", it is " encryption format storage " to input chosen storage mode in the 4th touch-control of third direction " level is to the left ", in third
It is " document format storage, encryption format storage " that 4th touch-control in direction " level is to the right ", which inputs chosen storage mode, that
Can generate the incidence relation between the 4th fingerprint subregion and storage mode as shown in table 2 below, the 4th fingerprint subregion with
Incidence relation between storage mode is the correspondence between preset fingerprint subregion and storage mode:
4th fingerprint subregion | Storage mode |
4th fingerprint subregion 1 | Picture format stores |
4th fingerprint subregion 2 | Document format stores |
4th fingerprint subregion 3 | Encryption format stores |
4th fingerprint subregion 4 | Document format storage, encryption format storage |
… | … |
Table 3
It should be noted that when realizing step 202, due to the first fingerprint subregion can be associated with as above-mentioned sub-step (1),
Multiple control operation in three control operations that sub-step (7) and sub-step (13) are shown, therefore, terminal device may
Multiple control operation is executed for target text, it is exemplary, it is assumed that the associated control operation of the first fingerprint subregion includes sub-step
(1) two control operations and shown by sub-step (7), then terminal device can execute sub-step (1) to target text
And the processing operation that sub-step (7) is shown.
Step 203, the default mark of display.
In this step, which can be the mark for representing target text.It is exemplary, it is assumed that target text is text
A, then terminal device can be a kind of signal of default mark provided in an embodiment of the present invention with the mark of display text A, Fig. 2-5
Figure, shows the mark 08 of text A as seen in figs. 2-5, in interface.
Step 204 receives fiveth touch-control input of the user in the default mark.
In this step, the input of the 5th touch-control may include the pressing of the 5th region of the 5th finger of user on the screen
Input, the 5th region are some or all of the 5th finger finger areas, wherein in the 5th region of the 5th finger in screen
During upper pressing, touch-control input can also include the rotation input that user rotates the 5th finger.During pressing,
The corresponding fingerprint subregion in 5th region can change, such as can be fingerprint subregion 01 in Fig. 2-3, fingerprint subregion 02, refer to
Line subregion 03, fingerprint subregion 04 or fingerprint subregion 05.Certainly, the input of the 5th touch-control can not also be pressing input, exemplary,
The input of 5th touch-control can be the slide executed to default mark.
Step 205, in the case where it is default first subregion that the 5th touch-control, which inputs corresponding fingerprint subregion, show institute
State the content of text of target text.
In this step, terminal device can first pass through the photoelectricity fingerprint Identification sensor acquisition user being arranged under screen and carry out
Fingerprint when 5th touch-control inputs, obtains corresponding fingerprint subregion.Then by the corresponding fingerprint subregion of the 5th touch-control input and in advance
If subregion is compared, determine that the 5th touch-control inputs whether corresponding fingerprint subregion is default first subregion, the input of the 5th touch-control
When corresponding fingerprint subregion is default first subregion, it is believed that the 5th finger of user is tilted to fourth direction, at this point, terminal
Equipment can be with the content of display target text.By shown in Fig. 2-5 preset mark for, user by the mark 08 of text A to
After upper sliding, terminal device can be with the particular content of display text A.Fig. 2-6 is a kind of target provided in an embodiment of the present invention
The schematic diagram of text shows the content of text A as shown in figures 2-6, in interface.
Step 206, in the case where it is default second subregion that the 5th touch-control, which inputs corresponding fingerprint subregion, execute lock
Screen operation.
In this step, the 5th touch-control inputs corresponding fingerprint subregion when being default second subregion, it is believed that the of user
Five fingers are tilted to the 5th direction, at this point, terminal device can execute screen locking operation.
Step 207, in the case where it is default third subregion that the 5th touch-control, which inputs corresponding fingerprint subregion, display is pre-
If the M text stored in the period, and in the 6th touch-control input for receiving first text of the user in the M text
In the case of, show the content of text of first text.
In this step, the 5th touch-control inputs corresponding fingerprint subregion when being default third subregion, it is believed that the of user
Five fingers are tilted to the 6th direction, at this point, terminal device can show the M text stored in preset time period.Wherein, this is pre-
If the period can be preset, exemplary, the preset time period can be apart from nearest one week of current point in time,
Assuming that the text of the storage in preset time period includes text B and text C, then terminal device can show text
This B and text C.Fig. 2-7 is that a kind of text schematic diagram provided in an embodiment of the present invention is shown in interface as shown in figs. 2-7
There are the mark 09 of text B and the mark 10 of text C.Further, which can be times in M text of display
One text of meaning, specifically, user can be inputted with executing the 6th touch-control on a text wherein, for example, upward sliding, accordingly
Ground, terminal device can open the text.
In conclusion another kind method for editing text provided in an embodiment of the present invention, terminal device can receive the of user
The the first touch-control input of one finger on the screen, user is not necessarily to enter main interface from the first interface, then is searched simultaneously in main interface
Open for text entry application, directly on the screen by the first touch-control input can recording text, be omitted text volume
The start-up course collected, then, terminal device can be inputted in response to first touch-control, executed to target text and inputted with the first touch-control
The corresponding associated control operation of first fingerprint subregion only passes through change in this way, user is not necessarily to manual setting text display parameters
Pressing direction when first-hand the first touch-control of fingering row input, you can change terminal device and the control performed by target text is grasped
Make, changes the display effect of text, simplify the operating process of text editing, improve the convenience of text editing;Meanwhile eventually
End equipment can also show default mark, receive touch-control input of the user in default mark, then not according to touch-control input
Equidirectional, control targe text is opened, and either executes the text that screen locking operation or display store before, and then simplify use
Family carries out the step of other operations, improves operating efficiency.
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 the first touch-control input of the first finger of user on the screen.
Execution module 302 executes target text defeated with first touch-control for being inputted in response to first touch-control
Enter the corresponding associated control operation of first fingerprint subregion.
Wherein, the fingerprint of first finger includes N number of fingerprint subregion, and N number of fingerprint subregion includes first finger
Line subregion, for the integer more than 1.
In conclusion terminal device provided in an embodiment of the present invention can realize 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 receive the first finger of user on the screen
The input of the first touch-control, in this way, user is not necessarily to from the first interface enter main interface, then searches and opened for text in main interface
The application of this record, directly on the screen by the first touch-control input can recording text, the startup of text editing is omitted
Journey, then, terminal device can be inputted in response to first touch-control, be executed and the first touch-control input corresponding first to target text
The associated control operation of fingerprint subregion, in this way, user is not necessarily to manual setting text display parameters, only by changing first-hand fingering
Pressing direction when the first touch-control of row inputs, you can change terminal device and the control performed by target text is operated, change text
This display effect, simplifies the operating process of text editing, improves the convenience of text editing.
Optionally, the execution module 302, it is at least one of following for executing:
First touch-control inputs:The pressing input of the first area of the first finger of user on the screen, it is described
First area is some or all of first finger finger areas;Wherein, shielding in the first area of first finger
During being pressed on curtain, the touch-control input further includes the rotation input that user rotates first finger;
According to the associated color of object of the first fingerprint subregion corresponding with the first touch-control input, the target text is shown
This.
According to the associated target thickness value of the first fingerprint subregion corresponding with the first touch-control input, the target is adjusted
The font weight of text.
According to the associated storage mode of the first fingerprint subregion corresponding with the first touch-control input, the target text is stored
At least one of this, wherein during the storage mode includes picture format storage, document format stores, encryption stores.
Optionally, the terminal device 30 further includes:
First acquisition module, for obtaining textcolor setting request input by user.
First display module, for showing that the first typing prompting message, the first typing prompting message are used to indicate the
Two fingerprint subregion typings operate.
Second receiving module, for receiving the second touch-control input of the second finger of user on the screen.
Second acquisition module inputs corresponding second fingerprint subregion for obtaining second touch-control.
First establishes module, and chosen text face is inputted with second touch-control for establishing the second fingerprint subregion
Incidence relation between color;
Wherein, the first acquisition module can be connect with the first display module, and the first display module can receive mould with second
Block connects, and the second receiving module can be connect with the second acquisition module, and the second acquisition module can establish module with first and connect,
First, which establishes module, to be connect with the first receiving module 301, and further, the second touch-control input includes:The of user
The pressing input of the second area of two fingers on the screen, the second area are some or all of second finger finger
Region;Wherein, during the second area of the second finger presses on the screen, the touch-control input further includes that user turns
Move the rotation input of the second finger.
Optionally, the terminal device 30 further includes:
Third acquisition module, for obtaining font weight setting request input by user.
Second display module, for showing that the second typing prompting message, the second typing prompting message are used to indicate the
Three fingerprint subregion typings operate.
Third receiving module, for receiving the third touch-control input of the third finger of user on the screen.
4th acquisition module inputs corresponding third fingerprint subregion for obtaining the third touch-control.
Second establishes module, and chosen thickness value is inputted with the third touch-control for establishing the third fingerprint subregion
Between incidence relation;
Wherein, third acquisition module can be connect with the second display module, and the second display module can receive mould with third
Block connects, and third receiving module can be connect with the 4th acquisition module, and the 4th acquisition module can establish module with second and connect,
Second, which establishes module, to be connect with the first receiving module 301, and further, the third touch-control input includes:The of user
The pressing input of the third region of three fingers on the screen, the third region are some or all of third finger finger
Region;Wherein, during the third region of the third finger presses on the screen, the touch-control input further includes that user turns
Move the rotation input of the third finger.
Optionally, the terminal device 30 further includes:
5th acquisition module, for obtaining storage mode setting request input by user.
Third display module, for showing that third typing prompting message, the third typing prompting message are used to indicate
Four fingerprint subregion typings operate.
4th receiving module, for receiving the 4th touch-control input of the 4th finger of user on the screen.
6th acquisition module inputs corresponding 4th fingerprint subregion for obtaining the 4th touch-control.
Third establishes module, and chosen storage side is inputted with the 4th touch-control for establishing the 4th fingerprint subregion
Incidence relation between formula;
Wherein, the 5th acquisition module can be connect with third display module, and third display module can receive mould with the 4th
Block connects, and the 4th receiving module can be connect with the 6th acquisition module, and the 6th acquisition module can establish module with third and connect,
Third is established module and can be connect with the first receiving module 301, and further, the 4th touch-control input includes:The of user
The pressing input of the fourth region of four fingers on the screen, the fourth region are some or all of the 4th finger finger
Region;Wherein, during the fourth region of the 4th finger presses on the screen, the touch-control input further includes that user turns
Move the rotation input of the 4th finger.
Optionally, the terminal device 30 further includes:
4th display module, for showing default mark.
5th receiving module, for receiving fiveth touch-control input of the user in the default mark.
4th display module, for inputting the case where corresponding fingerprint subregion is default first subregion in the 5th touch-control
Under, show the content of text of the target text.
Screen lock module is used in the case where it is default second subregion that the 5th touch-control, which inputs corresponding fingerprint subregion,
Execute screen locking operation.
5th display module, for inputting the case where corresponding fingerprint subregion is default third subregion in the 5th touch-control
Under, the M text stored in display preset time period, and receiving the of first text of the user in the M text
In the case that six touch-controls input, the content of text of first text is shown;
Wherein, the 5th touch-control, which inputs, includes:The pressing input of 5th region of the 5th finger of user on the screen,
5th region is some or all of the 5th finger finger areas;Wherein, in the 5th region of the 5th finger
During pressing on the screen, the touch-control input further includes the rotation input that user rotates the 5th finger.
In conclusion terminal device provided in an embodiment of the present invention can realize that terminal is set 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 receive the first finger of user on the screen
The input of the first touch-control, user is not necessarily to from the first interface enter main interface, then searches and open in main interface and remember for text
The application of record, directly on the screen by the first touch-control input can recording text, the start-up course of text editing is omitted, connects
It, terminal device can be inputted in response to first touch-control, and the first fingerprint corresponding with the input of the first touch-control is executed to target text
Subregion associated control operation, in this way, user is not necessarily to manual setting text display parameters, only by changing first-hand fingering row the
Pressing direction when one touch-control inputs, you can change terminal device and the control performed by target text is operated, change text
Display effect simplifies the operating process of text editing, improves the convenience of text editing;Meanwhile terminal device can also be shown
Show default mark, receive touch-control input of the user in default mark, the different directions then inputted according to the touch-control control mesh
It marks text to open, either executes the text that screen locking operation or display store before, and then simplify user and carry out other operations
The step of, improve operating efficiency.
A kind of hardware architecture diagram of Fig. 4 terminal devices of each embodiment to realize the present invention,
The terminal device 400 includes but 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 either combining certain components or not than illustrating more or fewer components
Same component arrangement.In embodiments of the present invention, terminal device includes but 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 the first touch-control input of the first finger of user on the screen.
Processor 410 executes target text and is inputted with first touch-control for being inputted in response to first touch-control
The corresponding associated control operation of first fingerprint subregion;Wherein, the fingerprint of first finger includes N number of fingerprint subregion, the N
A fingerprint subregion includes the first fingerprint subregion, for the integer more than 1.
In conclusion terminal device can receive the first touch-control input of the first finger of user on the screen, in this way, with
Family is not necessarily to enter main interface from the first interface, then is searched in main interface and open the application for text entry, is directly shielding
Curtain on by the first touch-control input can recording text, the start-up course of text editing is omitted, then, terminal device can respond
It is inputted in first touch-control, executing the associated control of the first fingerprint subregion corresponding with the input of the first touch-control to target text grasps
Make, in this way, user is not necessarily to manual setting text display parameters, pressing when only being inputted by changing first-hand the first touch-control of fingering row
Press direction, you can change terminal device and operated to the control performed by target text, change the display effect of text, simplify text
The operating process of this editor improves the convenience of text editing.
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 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 radio communication system and network and other set
Standby communication.
Terminal device has provided wireless broadband internet to the user by network module 402 and has accessed, and such as user is helped to receive
Send e-mails, browse webpage and access streaming video etc..
It is that audio output unit 403 can receive 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 loud speaker, 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 by image capture apparatus (such as camera) in image capture mode 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 of mobile communication base station can be sent to via radio frequency unit 401 by being converted in the case of 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, size and the direction of gravity are can detect that 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 may 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 is arranged 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 user on it or neighbouring touch operation
(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 the signal that touch operation is brought, and 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.
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 lever, 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 touch
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 to realize the function that outputs and inputs of 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 does not limit.
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
Transmission data between external device (ED).
Memory 409 can be used for storing software program and various data.Memory 409 can include mainly storing program area
And storage data field, wherein storing program area can storage program area, application program (such as the sound needed at least one function
Sound playing function, image player function etc.) etc.;Storage data field 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, 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
Reason 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 function 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 be run on the processor 410, the computer program are executed by processor 410
Each process of the above-mentioned method for editing text embodiments of Shi Shixian, and identical technique 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 method for editing text embodiment, and energy when being executed by processor
Reach identical technique 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 disc or CD etc..
It should be noted that herein, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that process, method, article or device including a series of elements include not only 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 this
There is also other identical elements in the process of element, method, 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 add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially in other words does the prior art
Going out the part of contribution can be expressed in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station 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 in 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 the protection of the present invention.
Claims (12)
1. a kind of method for editing text is applied to terminal device, which is characterized in that the method includes:
Receive the first touch-control input of the first finger of user on the screen;
It is inputted in response to first touch-control, the first fingerprint subregion corresponding with the first touch-control input is executed to target text
Associated control operation;
Wherein, the fingerprint of first finger includes N number of fingerprint subregion, and N number of fingerprint subregion includes first fingerprint point
Area, for the integer more than 1.
2. according to the method described in claim 1, it is characterized in that,
First touch-control inputs:The pressing input of the first area of the first finger of user on the screen, described first
Region is some or all of first finger finger areas;Wherein, the first area of first finger on the screen
During pressing, the touch-control input further includes the rotation input that user rotates first finger;
It is described that the associated control operation of the first fingerprint subregion corresponding with the first touch-control input is executed to target text, including
At least one of below:
According to the associated color of object of the first fingerprint subregion corresponding with the first touch-control input, the target text is shown;
According to the associated target thickness value of the first fingerprint subregion corresponding with the first touch-control input, the target text is adjusted
Font weight;
According to the associated storage mode of the first fingerprint subregion corresponding with the first touch-control input, the target text is stored,
Wherein, the storage mode includes at least one in picture format storage, document format storage, encryption storage.
3. according to the method described in claim 1, it is characterized in that, it is described receive user the first finger on the screen first
Before touch-control input, further include:
Obtain textcolor setting request input by user;
Show that the first typing prompting message, the first typing prompting message are used to indicate the second fingerprint subregion typing operation;
Receive the second touch-control input of the second finger of user on the screen;
It obtains second touch-control and inputs corresponding second fingerprint subregion;
It establishes the second fingerprint subregion and second touch-control and inputs incidence relation between chosen textcolor;
Wherein, second 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 being pressed on curtain, the touch-control input further includes the rotation input that user rotates the second finger.
4. according to the method described in claim 1, it is characterized in that, it is described receive user the first finger on the screen first
Before touch-control input, further include:
Obtain font weight setting request input by user;
Show that the second typing prompting message, the second typing prompting message are used to indicate third fingerprint subregion typing operation;
Receive the third touch-control input of the third finger of user on the screen;
It obtains the third touch-control and inputs corresponding third fingerprint subregion;
It establishes the third fingerprint subregion and the third touch-control and inputs incidence relation between chosen thickness value;
Wherein, the third touch-control, which inputs, includes:The pressing input of the third region of the third finger of user on the screen, it is described
Third region is some or all of third finger finger areas;Wherein, shielding in the third region of the third finger
During being pressed on curtain, the touch-control input further includes the rotation input that user rotates the third finger.
5. according to the method described in claim 1, it is characterized in that, it is described receive user the first finger on the screen first
Before touch-control input, further include:
Obtain storage mode setting request input by user;
Show that third typing prompting message, the third typing prompting message are used to indicate the 4th fingerprint subregion typing operation;
Receive the 4th touch-control input of the 4th finger of user on the screen;
It obtains the 4th touch-control and inputs corresponding 4th fingerprint subregion;
It establishes the 4th fingerprint subregion and the 4th touch-control and inputs incidence relation between chosen storage mode;
Wherein, the 4th touch-control, which inputs, includes:The pressing input of the fourth region of the 4th finger of user on the screen, it is described
The fourth region is some or all of the 4th finger finger areas;Wherein, shielding in the fourth region of the 4th finger
During being pressed on curtain, the touch-control input further includes the rotation input that user rotates the 4th finger.
6. according to the method described in claim 1, it is characterized in that, described executed to target text inputs with first touch-control
After the corresponding associated control operation of first fingerprint subregion, further include:
The default mark of display;
Receive fiveth touch-control input of the user in the default mark;
In the case where it is default first subregion that the 5th touch-control, which inputs corresponding fingerprint subregion, the target text is shown
Content of text;
In the case where it is default second subregion that the 5th touch-control, which inputs corresponding fingerprint subregion, screen locking operation is executed;
In the case where it is default third subregion that the 5th touch-control, which inputs corresponding fingerprint subregion, preset time period memory is shown
M text of storage, and in the case where the 6th touch-control for receiving first text of the user in the M text inputs, show
Show the content of text of first text;
Wherein, the 5th touch-control, which inputs, includes:The pressing input of 5th region of the 5th finger of user on the screen, it is described
5th region is some or all of the 5th finger finger areas;Wherein, shielding in the 5th region of the 5th finger
During being pressed on curtain, the touch-control input further includes the rotation input that user rotates the 5th finger.
7. a kind of terminal device, which is characterized in that the terminal device includes:
First receiving module, for receiving the first touch-control input of the first finger of user on the screen;
Execution module executes target text corresponding with the first touch-control input for being inputted in response to first touch-control
The associated control operation of the first fingerprint subregion;
Wherein, the fingerprint of first finger includes N number of fingerprint subregion, and N number of fingerprint subregion includes first fingerprint point
Area, for the integer more than 1.
8. terminal device according to claim 7, which is characterized in that the execution module, for executing following at least one
?:
First touch-control inputs:The pressing input of the first area of the first finger of user on the screen, described first
Region is some or all of first finger finger areas;Wherein, the first area of first finger on the screen
During pressing, the touch-control input further includes the rotation input that user rotates first finger;
According to the associated color of object of the first fingerprint subregion corresponding with the first touch-control input, the target text is shown;
According to the associated target thickness value of the first fingerprint subregion corresponding with the first touch-control input, the target text is adjusted
Font weight;
According to the associated storage mode of the first fingerprint subregion corresponding with the first touch-control input, the target text is stored,
Wherein, the storage mode includes at least one in picture format storage, document format storage, encryption storage.
9. terminal device according to claim 7, which is characterized in that the terminal device further includes:
First acquisition module, for obtaining textcolor setting request input by user;
First display module, for showing that the first typing prompting message, the first typing prompting message are used to indicate the second finger
Line subregion typing operates;
Second receiving module, for receiving the second touch-control input of the second finger of user on the screen;
Second acquisition module inputs corresponding second fingerprint subregion for obtaining second touch-control;
First establishes module, for establish the second fingerprint subregion and second touch-control input chosen textcolor it
Between incidence relation;
Wherein, second 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 being pressed on curtain, the touch-control input further includes the rotation input that user rotates the second finger.
10. terminal device according to claim 7, which is characterized in that the terminal device further includes:
Third acquisition module, for obtaining font weight setting request input by user;
Second display module, for showing that the second typing prompting message, the second typing prompting message are used to indicate third and refer to
Line subregion typing operates;
Third receiving module, for receiving the third touch-control input of the third finger of user on the screen;
4th acquisition module inputs corresponding third fingerprint subregion for obtaining the third touch-control;
Second establishes module, is inputted between chosen thickness value for establishing the third fingerprint subregion and the third touch-control
Incidence relation;
Wherein, the third touch-control, which inputs, includes:The pressing input of the third region of the third finger of user on the screen, it is described
Third region is some or all of third finger finger areas;Wherein, shielding in the third region of the third finger
During being pressed on curtain, the touch-control input further includes the rotation input that user rotates the third finger.
11. terminal device according to claim 7, which is characterized in that the terminal device further includes:
5th acquisition module, for obtaining storage mode setting request input by user;
Third display module, for showing that third typing prompting message, the third typing prompting message are used to indicate the 4th finger
Line subregion typing operates;
4th receiving module, for receiving the 4th touch-control input of the 4th finger of user on the screen;
6th acquisition module inputs corresponding 4th fingerprint subregion for obtaining the 4th touch-control;
Third establishes module, for establish the 4th fingerprint subregion and the 4th touch-control input chosen storage mode it
Between incidence relation;
Wherein, the 4th touch-control, which inputs, includes:The pressing input of the fourth region of the 4th finger of user on the screen, it is described
The fourth region is some or all of the 4th finger finger areas;Wherein, shielding in the fourth region of the 4th finger
During being pressed on curtain, the touch-control input further includes the rotation input that user rotates the 4th finger.
12. terminal device according to claim 7, which is characterized in that the terminal device further includes;
4th display module, for showing default mark;
5th receiving module, for receiving fiveth touch-control input of the user in the default mark;
4th display module is used in the case where it is default first subregion that the 5th touch-control, which inputs corresponding fingerprint subregion,
Show the content of text of the target text;
Screen lock module, in the case where it is default second subregion that the 5th touch-control, which inputs corresponding fingerprint subregion, executing
Screen locking operates;
5th display module is used in the case where it is default third subregion that the 5th touch-control, which inputs corresponding fingerprint subregion,
It shows the M text stored in preset time period, and is touched in receive first text of the user in the M text the 6th
In the case of control input, the content of text of first text is shown;
Wherein, the 5th touch-control, which inputs, includes:The pressing input of 5th region of the 5th finger of user on the screen, it is described
5th region is some or all of the 5th finger finger areas;Wherein, shielding in the 5th region of the 5th finger
During being pressed on curtain, the touch-control input further includes the rotation input that user rotates the 5th finger.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810541089.0A CN108762641B (en) | 2018-05-30 | 2018-05-30 | Text editing method and terminal equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810541089.0A CN108762641B (en) | 2018-05-30 | 2018-05-30 | Text editing method and terminal equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108762641A true CN108762641A (en) | 2018-11-06 |
CN108762641B CN108762641B (en) | 2021-06-11 |
Family
ID=64004529
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810541089.0A Active CN108762641B (en) | 2018-05-30 | 2018-05-30 | Text editing method and terminal equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108762641B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109582194A (en) * | 2018-11-21 | 2019-04-05 | 维沃移动通信有限公司 | A kind of display control method and mobile terminal |
CN109753204A (en) * | 2018-12-29 | 2019-05-14 | 维沃移动通信有限公司 | A kind of text handling method and mobile terminal |
CN113961126A (en) * | 2020-07-03 | 2022-01-21 | 曾冠昱 | Method for system control by fingerprint input |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101763341A (en) * | 2009-12-23 | 2010-06-30 | 宇龙计算机通信科技(深圳)有限公司 | Text cooperative method, system and touch screen equipment |
US20120216113A1 (en) * | 2011-02-18 | 2012-08-23 | Google Inc. | Touch gestures for text-entry operations |
CN104461335A (en) * | 2013-09-25 | 2015-03-25 | 联想(北京)有限公司 | Data processing method and electronic instrument |
CN105046237A (en) * | 2015-08-12 | 2015-11-11 | 广东欧珀移动通信有限公司 | Pattern processing method for operation interface and related devices |
US20160110091A1 (en) * | 2014-10-16 | 2016-04-21 | Sony Corporation | Fast and natural one-touch deletion in image editing on mobile devices |
CN106155552A (en) * | 2016-06-30 | 2016-11-23 | 维沃移动通信有限公司 | One is automatically adjusted font method and mobile terminal |
CN106201273A (en) * | 2016-07-27 | 2016-12-07 | 维沃移动通信有限公司 | A kind of method for controlling mobile terminal and mobile terminal |
CN106250748A (en) * | 2016-08-17 | 2016-12-21 | 成都市和平科技有限责任公司 | A kind of data storage based on unlocked by fingerprint and mancarried device |
CN107102807A (en) * | 2017-03-31 | 2017-08-29 | 努比亚技术有限公司 | A kind of method for information display and electronic equipment |
CN107918563A (en) * | 2017-09-30 | 2018-04-17 | 华为技术有限公司 | A kind of method, data processing equipment and user equipment replicated and paste |
-
2018
- 2018-05-30 CN CN201810541089.0A patent/CN108762641B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101763341A (en) * | 2009-12-23 | 2010-06-30 | 宇龙计算机通信科技(深圳)有限公司 | Text cooperative method, system and touch screen equipment |
US20120216113A1 (en) * | 2011-02-18 | 2012-08-23 | Google Inc. | Touch gestures for text-entry operations |
CN104461335A (en) * | 2013-09-25 | 2015-03-25 | 联想(北京)有限公司 | Data processing method and electronic instrument |
US20160110091A1 (en) * | 2014-10-16 | 2016-04-21 | Sony Corporation | Fast and natural one-touch deletion in image editing on mobile devices |
CN105046237A (en) * | 2015-08-12 | 2015-11-11 | 广东欧珀移动通信有限公司 | Pattern processing method for operation interface and related devices |
CN106155552A (en) * | 2016-06-30 | 2016-11-23 | 维沃移动通信有限公司 | One is automatically adjusted font method and mobile terminal |
CN106201273A (en) * | 2016-07-27 | 2016-12-07 | 维沃移动通信有限公司 | A kind of method for controlling mobile terminal and mobile terminal |
CN106250748A (en) * | 2016-08-17 | 2016-12-21 | 成都市和平科技有限责任公司 | A kind of data storage based on unlocked by fingerprint and mancarried device |
CN107102807A (en) * | 2017-03-31 | 2017-08-29 | 努比亚技术有限公司 | A kind of method for information display and electronic equipment |
CN107918563A (en) * | 2017-09-30 | 2018-04-17 | 华为技术有限公司 | A kind of method, data processing equipment and user equipment replicated and paste |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109582194A (en) * | 2018-11-21 | 2019-04-05 | 维沃移动通信有限公司 | A kind of display control method and mobile terminal |
CN109753204A (en) * | 2018-12-29 | 2019-05-14 | 维沃移动通信有限公司 | A kind of text handling method and mobile terminal |
CN109753204B (en) * | 2018-12-29 | 2022-01-28 | 维沃移动通信有限公司 | Text processing method and mobile terminal |
CN113961126A (en) * | 2020-07-03 | 2022-01-21 | 曾冠昱 | Method for system control by fingerprint input |
Also Published As
Publication number | Publication date |
---|---|
CN108762641B (en) | 2021-06-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109710132A (en) | Method of controlling operation thereof and terminal | |
CN108038393A (en) | A kind of application program method for secret protection, mobile terminal | |
CN108089891A (en) | A kind of application program launching method, mobile terminal | |
CN108764001A (en) | A kind of information processing method and mobile terminal | |
CN108073343A (en) | A kind of display interface method of adjustment and mobile terminal | |
CN108021825A (en) | A kind of method for protecting privacy, mobile terminal | |
CN107808084A (en) | A kind of touch operation method and mobile terminal | |
CN108920059A (en) | Message treatment method and mobile terminal | |
CN107845057A (en) | One kind is taken pictures method for previewing and mobile terminal | |
CN107707762A (en) | A kind of method for operating application program and mobile terminal | |
CN108287650A (en) | One-handed performance method based on mobile terminal and mobile terminal | |
CN107679514A (en) | A kind of face identification method and electronic equipment | |
CN107832601A (en) | A kind of application control method and mobile terminal | |
WO2020199987A1 (en) | Message display method and mobile terminal | |
CN108874260A (en) | A kind of text handling method and terminal device | |
CN107992342A (en) | A kind of application configuration change method and mobile terminal | |
CN108416203A (en) | A kind of unlocking screen method and mobile terminal | |
CN109408171A (en) | A kind of display control method and terminal | |
CN108108079A (en) | A kind of icon display processing method and mobile terminal | |
CN109981904A (en) | A kind of method for controlling volume and terminal device | |
CN108762641A (en) | A kind of method for editing text and terminal device | |
CN108710806A (en) | A kind of terminal unlock method, mobile terminal | |
CN108287745A (en) | A kind of display methods and terminal device at the interfaces WebApp | |
CN108279842A (en) | A kind of function controlling method, function controlling device and terminal device | |
CN108874281A (en) | A kind of application program launching 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |