CN108762641B - Text editing method and terminal equipment - Google Patents

Text editing method and terminal equipment Download PDF

Info

Publication number
CN108762641B
CN108762641B CN201810541089.0A CN201810541089A CN108762641B CN 108762641 B CN108762641 B CN 108762641B CN 201810541089 A CN201810541089 A CN 201810541089A CN 108762641 B CN108762641 B CN 108762641B
Authority
CN
China
Prior art keywords
touch input
finger
user
fingerprint
screen
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.)
Active
Application number
CN201810541089.0A
Other languages
Chinese (zh)
Other versions
CN108762641A (en
Inventor
黄康康
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201810541089.0A priority Critical patent/CN108762641B/en
Publication of CN108762641A publication Critical patent/CN108762641A/en
Application granted granted Critical
Publication of CN108762641B publication Critical patent/CN108762641B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting

Abstract

The invention provides a text editing method and terminal equipment, and belongs to the technical field of communication. The terminal equipment can receive first touch input of a first finger of a user on a screen, so that the user does not need to enter a main interface from the first interface, an application for text recording is searched and opened in the main interface, a text can be recorded directly on the screen through the first touch input, the starting process of text editing is omitted, then the terminal equipment can respond to the first touch input and execute control operation associated with a first fingerprint partition corresponding to the first touch input on a target text, and therefore the user does not need to manually set text display parameters, the control operation executed by the terminal equipment on the target text can be changed only by changing the pressing direction of the first finger in the first touch input, the display effect of the text is changed, the operation process of text editing is simplified, and convenience of text editing is improved.

Description

Text editing method and terminal equipment
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a text editing method and terminal equipment.
Background
With the terminal device playing more and more important role in life, the frequency of using the terminal device by people every day is higher and higher, the relationship between daily life and work and the terminal device is closer and closer, and users often need to use the terminal device to record texts.
In the prior art, when a user wants to record a document, the user needs to download an application capable of being used for text recording in advance, then quit a first interface and return the first interface to a main interface of a terminal device, or unlock the terminal device to enter the main interface, then find the application used for text recording in an installed application displayed on the main interface, and then open the application for editing.
Disclosure of Invention
The invention provides a text editing method and terminal equipment, which are used for solving the problems of complicated operation process and low convenience in text editing.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a text editing method, which is applied to a terminal device, and the method may include:
receiving a first touch input of a first finger of a user on a screen;
in response to the first touch input, performing a control operation associated with a first fingerprint partition corresponding to the first touch input on a target text;
wherein the fingerprint of the first finger comprises N fingerprint partitions, and the N fingerprint partitions comprise the first fingerprint partition and are integers greater than 1.
In a second aspect, an embodiment of the present invention provides a terminal device, where the terminal device may include:
the first receiving module is used for receiving a first touch input of a first finger of a user on a screen;
the execution module is used for responding to the first touch input and executing control operation related to a first fingerprint partition corresponding to the first touch input on target text;
wherein the fingerprint of the first finger comprises N fingerprint partitions, and the N fingerprint partitions comprise the first fingerprint partition and are integers greater than 1.
In a third aspect, an embodiment of the present invention provides a terminal device, which includes a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program, when executed by the processor, implements the steps of the text editing method according to the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when executed by a processor, the computer program implements the steps of the text editing method according to the first aspect.
In the embodiment of the invention, the terminal device can receive a first touch input of a first finger of a user on a screen, therefore, a user does not need to enter the main interface from the first interface, and then search and open the application for text recording in the main interface, the text can be recorded directly on the screen through the first touch input, the starting process of text editing is omitted, and then the terminal equipment responds to the first touch input, performing a control operation associated with a first fingerprint partition corresponding to the first touch input on the target text, in this way, the user does not need to manually set the text display parameters, only by changing the pressing direction of the first finger for the first touch input, the control operation executed by the terminal equipment on the target text can be changed, the display effect of the text is changed, the operation process of text editing is simplified, and the convenience of text editing is improved.
Drawings
Fig. 1 is a flowchart of a text editing method provided in an embodiment of the present invention;
FIG. 2-1 is a second flowchart of a text editing method according to an embodiment of the present invention;
FIG. 2-2 is a schematic diagram of a current interface provided by an embodiment of the invention;
2-3 are schematic diagrams of fingerprint partitions for different tilt directions according to embodiments of the present invention;
FIGS. 2-4 are schematic diagrams of a user interface provided by an embodiment of the invention;
fig. 2-5 are schematic diagrams of a preset identifier according to an embodiment of the present invention;
2-6 are schematic diagrams of a target text provided by an embodiment of the invention;
FIGS. 2-7 are schematic text diagrams provided by embodiments of the present invention;
fig. 3 is a block diagram of a terminal device according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a hardware structure of a terminal device for implementing various embodiments of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a flowchart of a text editing method provided in an embodiment of the present invention, and as shown in fig. 1, the method may be applied to a terminal device, and the method may include:
step 101, receiving a first touch input of a first finger of a user on a screen.
In this embodiment of the present invention, the first finger may be any finger of the user, the first touch input may include a pressing input of a first area of the first finger of the user on the first text, and the first area may be a partial or full finger area of the first finger; in the pressing process of the first area of the first finger on the first text, the first touch input may further include a rotation input that the user rotates the first finger, and in the pressing process, the fingerprint partition corresponding to the first area may change, for example, the fingerprint partition 01, the fingerprint partition 02, the fingerprint partition 03, the fingerprint partition 04, or the fingerprint partition 05 in fig. 2 to 3. Of course, the first touch input may not be a pressing operation, for example, the first touch input may also be a clicking operation of a user, and the like, which is not limited in the embodiment of the present invention. Further, when the first touch input is a press input, the content of the first touch input may be text written by a user performing a writing operation on a screen in a pressing manner, or text displayed on the screen selected by the user in a pressing manner.
And 102, responding to the first touch input, and executing control operation associated with a first fingerprint partition corresponding to the first touch input on target text.
In the embodiment of the present invention, the target text may be a text written by a user on a screen or a text selected by the user in a text displayed on a screen of the terminal device, corresponding to different input contents of the first touch input, which is not limited in the embodiment of the present invention. Further, the fingerprint of the first finger may comprise N fingerprint partitions, where N is an integer greater than 1, and the first fingerprint partition may be one of the fingerprint partitions comprised by the fingerprint of the first finger. The fingerprint partition in the embodiment of the invention can be a part or all of the fingerprint area of the finger of the user.
Specifically, the terminal device may associate a corresponding control operation for each fingerprint partition of the first finger in advance, where the associated control operation may be defined based on various display parameters of the text, and for example, the control operation may display the target text in a specific color and/or adjust a font weight of the target text in a specific weight value and/or store the target text in a specific storage manner. Therefore, the user can change the first fingerprint partition corresponding to the first touch input by changing the pressing direction of the first finger, and further change the control operation executed by the terminal device on the target text, so that the display effect of the target text is changed.
To sum up, in the text editing method provided in the embodiments of the present invention, the terminal device receives a first touch input of a first finger of a user on the screen, so that the user does not need to enter the main interface from the first interface, and then searches and opens an application for text recording in the main interface, and can record a text directly on the screen through the first touch input, thereby omitting an initiation process of text editing, and then, the terminal device executes a control operation associated with a first fingerprint partition corresponding to the first touch input on the target text in response to the first touch input, so that the user does not need to manually set a text display parameter, and can change the control operation executed by the terminal device on the target text only by changing a pressing direction of the first finger in the first touch input, thereby changing a display effect of the text, and simplifying an operation process of text editing, the convenience of text editing is improved.
Fig. 2-1 is a second flowchart of a text editing method according to an embodiment of the present invention, and as shown in fig. 2-1, the method may include:
step 201, receiving a first touch input of a first finger of a user on a screen.
Specifically, the implementation manner of this step may refer to step 101 described above, and details of the embodiment of the present invention are not described herein.
Further, in an actual application scenario, since a user may be influenced by a content currently displayed on a screen when directly inputting a target text on the screen through a first touch input, in order to reduce an influence on the user to perform the first touch input, the terminal device may receive a text editing request sent by the user on a current interface before receiving the first touch input of a first finger of the user on the screen, and then, open a text editing mode of the terminal device according to the text editing request.
Specifically, the terminal device may first detect a pressing operation of a user on the current interface, and then confirm that a text editing request sent by the user on the current interface is received when the pressing duration of the pressing operation is equal to a preset duration threshold and a fingerprint corresponding to the pressing operation is matched with the preset fingerprint. In this way, when the user wants to perform text editing, a text editing request can be sent to the terminal device by performing a press operation on the current interface. For example, fig. 2-2 is a schematic view of a current interface provided in an embodiment of the present invention, where fig. 2-2 includes a current interface 00 (the current interface is illustrated as a screen locking interface in the figure), and a user may perform a pressing operation at any position in the current interface. In the subsequent steps, the terminal device determines whether to start the text editing mode based on the fingerprint corresponding to the pressing operation, so that in the embodiment of the invention, a developer can set a screen capable of identifying the fingerprint for the screen of the terminal device in advance, specifically, the developer can set a fingerprint identification module under the whole screen of the terminal device, wherein the fingerprint identification module can be a photoelectric fingerprint identification sensor, so that the whole screen of the terminal device can identify the fingerprint, and thus, a user can arbitrarily select an area on the current interface according to requirements to execute the pressing operation.
Further, the preset time duration threshold may be preset based on an actual situation, for example, a value may be selected from 0.5 seconds (second, s) -1 s as the preset time duration threshold, and of course, a time point outside the time range may also be selected, which is not limited in the embodiment of the present invention. Further, the preset fingerprint may be a fingerprint that is entered by the user in advance in the system setting of the terminal device to open the text editing mode. For example, assuming that the preset duration threshold is 0.7s and the preset fingerprint is fingerprint a, the terminal device may collect a fingerprint corresponding to the pressing operation, then calculate the similarity between the collected fingerprint and the fingerprint a, if the similarity between the collected fingerprint and the fingerprint a is greater than the preset similarity threshold, the collected fingerprint is considered to be matched with the fingerprint a, and the terminal device may confirm that the text editing request sent by the user on the first interface is received when the collected fingerprint is matched with the fingerprint a and the pressing duration of the pressing operation is equal to 0.7 s. It should be noted that the user may also send the text editing request to the terminal device in other manners, for example, a developer may preset a virtual shortcut key associated with a function of sending the text editing request, and when it is detected that the user clicks the virtual shortcut key, the terminal device may confirm that the text editing request is received; the preset shortcut key may also be an entity key, for example, a developer may associate a power key and a volume reduction key with a function of sending a text editing request in advance, so that when it is detected that the user presses the power key and the volume reduction key at the same time, the terminal device may confirm that a text editing request is received, and so on.
Further, the terminal device may switch the terminal device from the current interface to a text editing interface according to the text editing request, where the text editing interface refers to an interface after the terminal device opens a text editing mode. The method for starting the text editing mode by the terminal equipment comprises the following steps: the terminal device enters a preset environment capable of being used for text editing, or opens a pre-associated application capable of being used for text editing, which is not limited in the embodiment of the present invention. After the terminal equipment enters the text editing mode, the influence on the user when the first touch input is executed on the screen by using the first finger can be reduced, and the accuracy of the first touch input is further improved.
Step 202, in response to the first touch input, executing a control operation associated with a first fingerprint partition corresponding to the first touch input on a target text.
In this step, the terminal device performs a control operation associated with a first fingerprint partition corresponding to the first touch input on the target text, and may include at least one of the following sub-steps (1), (7), and (13):
substep (1): and displaying the target text according to a target color associated with a first fingerprint partition corresponding to the first touch input.
Specifically, the terminal device may collect the fingerprint of the user when performing the first touch input through a photoelectric fingerprint recognition sensor disposed under the screen to obtain the first fingerprint partition. For example, the terminal device may calculate similarity between each fingerprint partition in the association relationship between the preset fingerprint partitions and the text colors and the first fingerprint partition, determine a fingerprint partition with the similarity being greater than a preset similarity threshold as the fingerprint partition matched with the first fingerprint partition, and then determine a text color corresponding to the matched fingerprint partition as the target color associated with the first fingerprint partition. Finally, the target text is displayed in the target color. For example, assuming that the target text is "black" in color, the target text may be displayed as black.
In this step, the association relationship between the preset fingerprint partition and the text color may be pre-established by the terminal device before step 201. Specifically, the method for establishing the association relationship between the fingerprint partition and the text color may be as follows in sub-step (2) to sub-step (5):
substep (2): and acquiring a text color setting request input by a user.
In this step, the text color setting request may be sent to the terminal device by triggering a text color setting function of the terminal device, for example, the text color setting function may be triggered by a button, for example, the terminal device may display a text color setting button on the notification bar, and when the user wants to set the association relationship between the fingerprint partition and the text color, the text color setting request may be sent to the terminal device by triggering the text color setting button.
Substep (3): and displaying the first input reminding information.
In this step, the first entry prompting information may be used to instruct the user to perform a second fingerprint partition entry operation.
Substep (4): a second touch input of a second finger of the user on the screen is received.
In this step, the second touch input may include a pressing input of a second area of a second finger of the user on the screen, where the second area is a partial or entire finger area of the second finger, and the touch input may further include a rotation input that the user rotates the second finger in a process of pressing the second area of the second finger on the screen. During the pressing process, the fingerprint partition corresponding to the second area may change, for example, the fingerprint partition 01, the fingerprint partition 02, the fingerprint partition 03, the fingerprint partition 04, or the fingerprint partition 05 in fig. 2 to 3. Further, the second touch input may be a touch input in a first direction, and the specific number and the specific direction of the first direction may be set according to actual requirements, and specifically, the first direction may include a vertical downward direction, that is, not inclined, or inclined along an angle of N degrees. For example, 4 first directions may be included, and the 4 first directions may be: the angle of the light beam may be a 45-degree angle, an angle of the light beam may be a 135-degree angle, an angle of the light beam may be a 45-degree angle, an angle of the light beam may be a 135-degree angle, and the like. Taking the first direction as "vertically upward", as an example, the terminal device may receive a second touch input performed by the user in a manner that the first finger is tilted upward vertically.
Further, the terminal device may display a predefined text color option on the screen to the user for selection by the user, and the user may select the text color by performing a second touch input on a different text color option.
Substep (5): and acquiring a second fingerprint partition corresponding to the second touch input.
In an actual application scenario, when a finger is in an inclined state, the terminal device can only collect a part of fingerprints of the finger, that is, the fingerprints collected by the terminal device are different corresponding to different inclined directions of the finger, and then different fingerprint partitions are obtained. Fig. 2-3 are schematic diagrams of fingerprint partitions for different tilt directions according to an embodiment of the present invention, and specifically, fig. 2-3 show a fingerprint partition 01 when a finger is tilted vertically upward, a fingerprint partition 02 when the finger is tilted vertically downward, a fingerprint partition 03 when the finger is tilted horizontally leftward, a fingerprint partition 04 when the finger is tilted horizontally rightward, and a fingerprint partition 05 when the finger is not tilted. Therefore, the terminal device may acquire a fingerprint of a second touch input executed by the user, where the fingerprint is a fingerprint corresponding to a second area of a second finger used by the user to execute the second touch input, and further acquire a plurality of different second fingerprint partitions.
Specifically, for a second touch input of the user in the "vertical upward" direction in the first direction, the second fingerprint partition 1 may be acquired, for a second touch input of the user in the "vertical downward" direction in the first direction, the second fingerprint partition 2 may be acquired, for a second touch input of the user in the "horizontal leftward" direction in the first direction, the second fingerprint partition 3 may be acquired, for a second touch input of the user in the "horizontal rightward" direction in the first direction, the second fingerprint partition 4 may be acquired, and then four second fingerprint partitions may be acquired.
And (6) establishing an association relation between the second fingerprint partition and the text color selected by the second touch input.
For example, assuming that the color of the text selected by the user at the second touch input in the first direction "vertically upward" is "red", the color of the text selected by the user at the second touch input in the first direction "vertically downward" is "black", the color of the text selected by the user at the second touch input in the first direction "horizontally leftward" is "pink", and the color of the text selected by the user at the second touch input in the first direction "horizontally rightward" is "green", the association relationship between the second fingerprint partition and the text color as shown in table 1 below may be generated, and the association relationship between the second fingerprint partition and the text color is the preset fingerprint partition and text correspondence relationship:
second fingerprint partition Text color
Second fingerprint partition 1 Red colour
Second fingerprint partition 2 Black color
Second fingerprint partition 3 Pink colour
Second fingerprint partition 4 Green colour
TABLE 1
Substep (7): and adjusting the font thickness of the target text according to the target thickness value associated with the first fingerprint partition corresponding to the first touch input.
Specifically, the terminal device may collect the fingerprint of the user when performing the first touch input through a photoelectric fingerprint recognition sensor disposed under the screen to obtain the first fingerprint partition. Then, based on the association relationship between the preset fingerprint partition and the font thickness value, the target thickness value associated with the first fingerprint partition is determined, for example, the terminal device may calculate the similarity between each fingerprint partition in the association relationship between the preset fingerprint partition and the font thickness value and the first fingerprint partition, determine the fingerprint partition with the similarity greater than the preset similarity threshold as the fingerprint partition matched with the first fingerprint partition, and then determine the font thickness value corresponding to the matched fingerprint partition as the target thickness value associated with the first fingerprint partition. And finally, adjusting the font thickness of the target text according to the target thickness value. For example, assuming that the target thickness value is "0.5", the font thickness of the target text is set to "0.5".
In this step, the association relationship between the preset fingerprint partition and the font weight value may be pre-established by the terminal device before step 201. Specifically, the method for establishing the association relationship between the fingerprint partition and the font weight value may be as follows in substeps (8) to (12):
substep (8): and acquiring a font thickness setting request input by a user.
In this step, the font thickness setting request may be sent to the terminal device by triggering a font thickness setting function of the terminal device, for example, the font thickness setting function may be triggered by a button, for example, the terminal device may display a font thickness setting button on the notification bar, and when the user wants to set an association relationship between the fingerprint partition and the text thickness setting, the font thickness setting request may be sent to the terminal device by triggering the font thickness setting button.
Substep (9): and displaying the second entry reminding information.
In this step, the second entry prompting message may be used to instruct the user to perform a third fingerprint partition entry operation.
Substep (10): a third touch input of a third finger of the user on the screen is received.
In this step, the third touch input may include a pressing input of a third area of a third finger of the user on the screen, where the third area is a partial or entire finger area of the third finger, and the touch input may further include a rotation input that the user rotates the third finger in a process that the third area of the third finger presses on the screen. During the pressing process, the fingerprint partition corresponding to the third area may change, for example, the fingerprint partition 01, the fingerprint partition 02, the fingerprint partition 03, the fingerprint partition 04, or the fingerprint partition 05 in fig. 2 to 3. Further, the third touch input may be a touch input in a second direction, and the specific number and specific direction of the second direction may be set according to actual requirements, for example, the second direction may be the same as the first direction in the sub-step, and may include 4 second directions, where the 4 second directions may be: the second direction may not be the same as the first direction, and the embodiment of the present invention does not limit this.
Further, the terminal device may display a predefined font weight value option on the screen for the user to select, and the user may select the font weight value by performing a third touch input on a different font weight value option. In the embodiment of the present invention, the font thickness value may be positively correlated with the font line thickness degree, that is, the larger the font thickness value is, the thicker the font line is, the smaller the font thickness value is, and the thinner the font line is.
Substep (11): and acquiring a third fingerprint partition corresponding to the third touch input.
When the finger is in the inclined state, the terminal device can only collect partial fingerprints of the finger, that is, the fingerprints collected by the terminal device can be different corresponding to different inclined directions of the finger, so that different fingerprint partitions are obtained, therefore, the terminal device can collect the fingerprints in the third touch input executed by the user, wherein the fingerprints are fingerprints corresponding to a third area of the third finger used by the user for executing the third touch input, and a plurality of different third fingerprint partitions are obtained.
For example, for a third touch input of the user in the second direction "vertically upward", a third fingerprint partition 1, for a third touch input of the user in the second direction "vertically downward", a third fingerprint partition 2, for a third touch input of the user in the second direction "horizontally leftward", a third fingerprint partition 3, for a third touch input of the user in the second direction "horizontally rightward", and a third fingerprint partition 4 may be acquired, so as to obtain four third fingerprint partitions.
Substep (12): and establishing an incidence relation between the third fingerprint partition and the thickness value selected by the third touch input.
For example, assuming that the font weight value selected by the third touch input in the second direction "vertically upward" by the user is "0.5", the font weight value selected by the third touch input in the second direction "vertically downward" is "0.6", the font weight value selected by the third touch input in the second direction "horizontally leftward" is "0.8", and the font weight value selected by the third touch input in the second direction "horizontally rightward" is "0.9", the association relationship between the third fingerprint partition and the font weight value as shown in table 2 below may be generated, where the association relationship between the third fingerprint partition and the font weight value is the correspondence relationship between the preset fingerprint partition and the font weight value:
third fingerprint partition Font thickness value
Third fingerprint partition 1 0.5
Third fingerprint partition 2 0.6
Third fingerprint partition 3 0.8
Third fingerprint partition 4 0.9
TABLE 2
Substep (13): and storing the target text according to a storage mode associated with a first fingerprint partition corresponding to the first touch input, wherein the storage mode comprises at least one of picture format storage, document format storage and encryption storage.
Specifically, the terminal device may collect the fingerprint of the user when performing the first touch input through a photoelectric fingerprint recognition sensor disposed under the screen to obtain the first fingerprint partition. Then, based on the association relationship between the preset fingerprint partition and the storage manner, the storage manner associated with the first fingerprint partition is determined, for example, the terminal device may calculate the similarity between each fingerprint partition in the association relationship between the preset fingerprint partition and the storage manner and the first fingerprint partition, determine the fingerprint partition with the similarity greater than a preset similarity threshold as the fingerprint partition matched with the first fingerprint partition, and then determine the storage manner corresponding to the matched fingerprint partition as the storage manner associated with the first fingerprint partition. Finally, the target text is stored in the storage mode. Assuming that the first fingerprint partition is associated with a storage mode "picture format storage", the target text may be stored in picture format. In the embodiment of the invention, the user does not need to manually set the storage format, and only needs to control the inclined state of the first finger, so that the setting of the storage format can be realized, and the operation process of text editing is simplified.
It should be noted that the terminal device may directly store the target text in the storage manner associated with the first fingerprint partition when determining the storage manner associated with the first fingerprint partition, or certainly, may also store the target text in the storage manner associated with the first fingerprint partition when receiving the text saving instruction, so as to avoid the problem of system resource waste caused by executing a storage operation when the user does not need to store the target text.
Fig. 2-4 are schematic diagrams of a user interface according to an embodiment of the present invention, as shown in fig. 2-4, the user interface is an interface corresponding to a text editing mode, and the user interface includes a text editing area 06 and a cancel/save area 07, where the cancel/save area 07 includes a cancel button 071 and a save button 072. The user can send a text save instruction to the terminal device by clicking on save button 072.
Further, in this step, the association relationship between the preset fingerprint partition and the storage mode may be pre-established by the terminal device before step 201. Specifically, the method for establishing the association relationship between the fingerprint partition and the storage mode may be as follows, in sub-steps (14) to (18):
substep (14): and acquiring a storage mode setting request input by a user.
In this step, the storage mode setting request may be sent to the terminal device by triggering a storage mode setting function of the terminal device, for example, the storage mode setting function may be triggered by a button, for example, the terminal device may display a storage mode setting button on the notification bar, and when the user wants to set an association relationship between the fingerprint partition and the storage mode, the storage mode setting request may be sent to the terminal device by triggering the storage mode setting button.
Substep (15): and displaying the third entry reminding information of the fingerprint.
In this step, the third entry prompting message may be used to instruct the user to perform a fourth fingerprint partition entry operation.
Substep (16): receiving a fourth touch input of a fourth finger of the user on the screen.
In this step, the fourth touch input may include a pressing input of a fourth area of a fourth finger of the user on the screen, where the fourth area is a partial or entire finger area of the fourth finger, and the touch input may further include a rotation input that the user rotates the fourth finger in a process that the fourth area of the fourth finger presses on the screen. During the pressing process, the fingerprint partition corresponding to the fourth area may change, for example, the fingerprint partition 01, the fingerprint partition 02, the fingerprint partition 03, the fingerprint partition 04, or the fingerprint partition 05 in fig. 2 to 3. Further, the fourth touch input may be a touch input in a third direction, and the specific number and specific direction of the third direction may be set according to actual requirements, for example, the third direction may be the same as the first direction and the second direction in the foregoing sub-step, and may include 4 third directions, where the 4 third directions may be: the third direction may not be the same as the first direction or the second direction, and the embodiment of the present invention is not limited thereto.
Further, the terminal device may display a predefined storage mode option on the screen to the user for the user to select, and the user may select the storage mode by executing a fourth touch input on a different storage mode option.
Substep (17): and acquiring a fourth fingerprint partition corresponding to the fourth touch input.
When the finger is in the inclined state, the terminal device can only collect partial fingerprints of the finger, that is, the fingerprints collected by the terminal device can be different corresponding to different inclined directions of the finger, so that different fingerprint partitions are obtained, therefore, the terminal device can collect fingerprints of a user in fourth touch input executed in each third direction, wherein the fingerprints are fingerprints corresponding to a fourth area of a fourth finger used by the user for executing the fourth touch input, and a plurality of different fourth fingerprint partitions are obtained.
For example, for a fourth touch input of the user in the third direction "vertically upward", a fourth fingerprint partition 1 may be acquired, for a fourth touch input of the user in the third direction "vertically downward", a fourth fingerprint partition 2 may be acquired, for a fourth touch input of the user in the third direction "horizontally leftward", a fourth fingerprint partition 3 may be acquired, for a fourth touch input of the user in the third direction "horizontally rightward", a fourth fingerprint partition 4 may be acquired, and then four fourth fingerprint partitions may be acquired.
Substep (18): and establishing an incidence relation between the fourth fingerprint partition and the storage mode selected by the fourth touch input.
For example, assuming that the storage manner selected by the fourth touch input in the third direction "vertically upward" by the user is "picture format storage", the storage manner selected by the fourth touch input in the third direction "vertically downward" is "document format storage", the storage manner selected by the fourth touch input in the third direction "horizontally leftward" is "encryption format storage", and the storage manner selected by the fourth touch input in the third direction "horizontally rightward" is "document format storage, encryption format storage", an association relationship between the fourth fingerprint partition and the storage manner as shown in table 2 below may be generated, where the association relationship between the fourth fingerprint partition and the storage manner is a preset correspondence relationship between the fingerprint partition and the storage manner:
fourth fingerprint partition Storage mode
Fourth fingerprint partition 1 Picture format storage
Fourth fingerprint partition 2 Document format storage
Fourth fingerprint partition 3 Storage in encrypted format
Fourth fingerprint partition 4 Document format storage, encrypted format storage
TABLE 3
It should be noted that, in implementing step 202, since the first fingerprint partition may be associated with a plurality of control operations in the three control operations shown in sub-step (1), sub-step (7) and sub-step (13) as described above, the terminal device may execute a plurality of control operations with respect to the target text, for example, assuming that the control operations associated with the first fingerprint partition include two control operations shown in sub-step (1) and sub-step (7), the terminal device may execute the processing operations shown in sub-step (1) and sub-step (7) on the target text.
And step 203, displaying a preset identifier.
In this step, the preset identifier may be an identifier representing a target text. For example, assuming that the target text is text a, the terminal device may display an identifier of the text a, and fig. 2 to 5 are schematic diagrams of a preset identifier provided in an embodiment of the present invention, as shown in fig. 2 to 5, an identifier 08 of the text a is displayed in an interface.
And 204, receiving a fifth touch input of the user on the preset identifier.
In this step, the fifth touch input may include a pressing input of a fifth area of a fifth finger of the user on the screen, where the fifth area is a partial or whole finger area of the fifth finger, and in a process of pressing the fifth area of the fifth finger on the screen, the touch input may further include a rotation input that the user rotates the fifth finger. During the pressing process, the fingerprint partition corresponding to the fifth area may change, for example, the fingerprint partition 01, the fingerprint partition 02, the fingerprint partition 03, the fingerprint partition 04, or the fingerprint partition 05 in fig. 2 to 3. Of course, the fifth touch input may not be a press input, and for example, the fifth touch input may be a sliding operation performed on the preset identifier.
Step 205, displaying the text content of the target text when the fingerprint partition corresponding to the fifth touch input is a preset first partition.
In this step, the terminal device may collect the fingerprint of the user when performing the fifth touch input through the photoelectric fingerprint recognition sensor disposed under the screen to obtain the corresponding fingerprint partition. And then comparing the fingerprint partition corresponding to the fifth touch input with the preset partition, and determining whether the fingerprint partition corresponding to the fifth touch input is the preset first partition, wherein when the fingerprint partition corresponding to the fifth touch input is the preset first partition, the fifth hand of the user can be considered to be inclined towards the fourth direction, and at this time, the terminal device can display the content of the target text. Taking the preset identifier shown in fig. 2-5 as an example, after the user slides the identifier 08 of the text a upwards, the terminal device may display the specific content of the text a. Fig. 2 to 6 are schematic diagrams of a target text provided by an embodiment of the present invention, and as shown in fig. 2 to 6, contents of a text a are displayed in an interface.
And step 206, executing a screen locking operation under the condition that the fingerprint partition corresponding to the fifth touch input is a preset second partition.
In this step, when the fingerprint partition corresponding to the fifth touch input is the preset second partition, it may be considered that the fifth hand of the user is inclined in the fifth direction, and at this time, the terminal device may perform a screen locking operation.
Step 207, in a case that the fingerprint partition corresponding to the fifth touch input is a preset third partition, displaying M texts stored in a preset time period, and in a case that a sixth touch input of a first text in the M texts by a user is received, displaying text contents of the first text.
In this step, when the fingerprint partition corresponding to the fifth touch input is the preset third partition, it may be considered that the fifth hand of the user is inclined in the sixth direction, and at this time, the terminal device may display M texts stored in the preset time period. Wherein the preset time period may be preset, for example, the preset time period may be the last week from the current time point,
assuming that the stored text within the preset time period includes text B and text C, the terminal device may display text B and text C. Fig. 2 to 7 are schematic text diagrams provided by an embodiment of the present invention, and as shown in fig. 2 to 7, an identifier 09 of a text B and an identifier 10 of a text C are displayed in an interface. Further, the first text may be any one of the M displayed texts, specifically, the user may perform a sixth touch input on one of the texts, for example, slide upwards, and accordingly, the terminal device may open the text.
To sum up, in another text editing method provided in the embodiments of the present invention, a terminal device receives a first touch input of a first finger of a user on a screen, the user does not need to enter a main interface from the first interface, and then searches and opens an application for text recording in the main interface, and can record a text directly on the screen through the first touch input, so as to omit a start process of text editing, and then, the terminal device executes a control operation associated with a first fingerprint partition corresponding to the first touch input on a target text in response to the first touch input, so that the user does not need to manually set a text display parameter, and can change the control operation executed by the terminal device on the target text only by changing a pressing direction of the first finger during the first touch input, change a display effect of the text, and simplify an operation process of text editing, the convenience of text editing is improved; meanwhile, the terminal equipment can also display a preset identifier, receive touch input of a user on the preset identifier, and then control a target text to be opened or execute screen locking operation or display a previously stored text according to different directions of the touch input, so that steps of other operations performed by the user are simplified, and the operation efficiency is improved.
Fig. 3 is a block diagram of a terminal device according to an embodiment of the present invention, and as shown in fig. 3, the terminal device 30 may include:
the first receiving module 301 is configured to receive a first touch input of a first finger of a user on a screen.
An executing module 302, configured to, in response to the first touch input, execute a control operation associated with a first fingerprint partition corresponding to the first touch input on a target text.
Wherein the fingerprint of the first finger comprises N fingerprint partitions, and the N fingerprint partitions comprise the first fingerprint partition and are integers greater than 1.
In summary, the terminal device provided in the embodiment of the present invention can implement each process implemented by the terminal device in the method embodiment of fig. 1, and is not described herein again to avoid repetition. The terminal equipment can receive first touch input of a first finger of a user on a screen, so that the user does not need to enter a main interface from the first interface, an application for text recording is searched and opened in the main interface, the text can be recorded directly on the screen through the first touch input, the starting process of text editing is omitted, and then the terminal equipment can respond to the first touch input and execute control operation associated with a first fingerprint partition corresponding to the first touch input on the target text.
Optionally, the executing module 302 is configured to execute at least one of the following:
the first touch input includes: pressing a first area of a first finger of a user on a screen for inputting, wherein the first area is a part or all of finger area of the first finger; wherein, in the process that the first area of the first finger is pressed on the screen, the touch input further comprises a rotation input of rotating the first finger by a user;
and displaying the target text according to a target color associated with a first fingerprint partition corresponding to the first touch input.
And adjusting the font thickness of the target text according to the target thickness value associated with the first fingerprint partition corresponding to the first touch input.
And storing the target text according to a storage mode associated with a first fingerprint partition corresponding to the first touch input, wherein the storage mode comprises at least one of picture format storage, document format storage and encryption storage.
Optionally, the terminal device 30 further includes:
the first acquisition module is used for acquiring a text color setting request input by a user.
And the first display module is used for displaying first entry reminding information, and the first entry reminding information is used for indicating second fingerprint subarea entry operation.
And the second receiving module is used for receiving a second touch input of a second finger of the user on the screen.
And the second acquisition module is used for acquiring a second fingerprint partition corresponding to the second touch input.
The first establishing module is used for establishing an incidence relation between the second fingerprint partition and the text color selected by the second touch input;
the first obtaining module may be connected to the first display module, the first display module may be connected to the second receiving module, the second receiving module may be connected to the second obtaining module, the second obtaining module may be connected to the first establishing module, the first establishing module may be connected to the first receiving module 301, and further, the second touch input includes: pressing a second area of a second finger of the user on the screen for inputting, wherein the second area is a part or all of the finger area of the second finger; wherein, in the pressing process of the second area of the second finger on the screen, the touch input further comprises a rotation input of the second finger rotated by the user.
Optionally, the terminal device 30 further includes:
and the third acquisition module is used for acquiring the font thickness setting request input by the user.
And the second display module is used for displaying second input reminding information, and the second input reminding information is used for indicating a third fingerprint subarea input operation.
And the third receiving module is used for receiving a third touch input of a third finger of the user on the screen.
And the fourth acquisition module is used for acquiring a third fingerprint partition corresponding to the third touch input.
The second establishing module is used for establishing an incidence relation between the third fingerprint partition and the thickness value selected by the third touch input;
the third obtaining module may be connected to the second display module, the second display module may be connected to the third receiving module, the third receiving module may be connected to the fourth obtaining module, the fourth obtaining module may be connected to the second establishing module, the second establishing module may be connected to the first receiving module 301, and further, the third touch input includes: pressing a third area of a third finger of the user on the screen for inputting, wherein the third area is a part or all of the finger area of the third finger; wherein, in the pressing process of the third area of the third finger on the screen, the touch input further comprises a rotation input of the third finger rotated by the user.
Optionally, the terminal device 30 further includes:
and the fifth acquisition module is used for acquiring the storage mode setting request input by the user.
And the third display module is used for displaying third input reminding information, and the third input reminding information is used for indicating a fourth fingerprint subarea input operation.
And the fourth receiving module is used for receiving a fourth touch input of a fourth finger of the user on the screen.
And the sixth acquisition module is used for acquiring a fourth fingerprint partition corresponding to the fourth touch input.
The third establishing module is used for establishing an incidence relation between the fourth fingerprint partition and a storage mode selected by the fourth touch input;
the fifth obtaining module may be connected to the third display module, the third display module may be connected to the fourth receiving module, the fourth receiving module may be connected to the sixth obtaining module, the sixth obtaining module may be connected to the third establishing module, the third establishing module may be connected to the first receiving module 301, and further, the fourth touch input includes: pressing and inputting a fourth area of a fourth finger of the user on the screen, wherein the fourth area is a part or all of the finger area of the fourth finger; wherein, in the pressing process of the fourth area of the fourth finger on the screen, the touch input further comprises a rotation input of the fourth finger rotated by the user.
Optionally, the terminal device 30 further includes:
and the fourth display module is used for displaying the preset identification.
And the fifth receiving module is used for receiving a fifth touch input of the user on the preset identifier.
And the fourth display module is used for displaying the text content of the target text under the condition that the fingerprint partition corresponding to the fifth touch input is a preset first partition.
And the screen locking module is used for executing screen locking operation under the condition that the fingerprint partition corresponding to the fifth touch input is a preset second partition.
The fifth display module is used for displaying M texts stored in a preset time period under the condition that a fingerprint partition corresponding to the fifth touch input is a preset third partition, and displaying text contents of a first text in the M texts under the condition that a sixth touch input of a user on the first text is received;
wherein the fifth touch input comprises: pressing a fifth area of a fifth finger of the user on the screen for inputting, wherein the fifth area is a part or all of the finger area of the fifth finger; wherein, in the pressing process of the fifth area of the fifth finger on the screen, the touch input further comprises a rotation input of the fifth finger rotated by the user.
In summary, the terminal device provided in the embodiment of the present invention can implement each process implemented by the terminal device in the method embodiment of fig. 2-1, and for avoiding repetition, details are not described here again. The terminal equipment receives first touch input of a first finger of a user on a screen, the user does not need to enter a main interface from the first interface, an application for text recording is searched and opened in the main interface, the text can be recorded directly on the screen through the first touch input, the starting process of text editing is omitted, and then the terminal equipment responds to the first touch input and executes control operation related to a first fingerprint partition corresponding to the first touch input on a target text, so that the user does not need to manually set text display parameters, the control operation executed by the terminal equipment on the target text can be changed only by changing the pressing direction of the first finger in the first touch input, the display effect of the text is changed, the operation process of text editing is simplified, and the convenience of text editing is improved; meanwhile, the terminal equipment can also display a preset identifier, receive touch input of a user on the preset identifier, and then control a target text to be opened or execute screen locking operation or display a previously stored text according to different directions of the touch input, so that steps of other operations performed by the user are simplified, and the operation efficiency is improved.
Figure 4 is a schematic diagram of a hardware structure of a terminal device implementing various embodiments of the present invention,
the terminal device 400 includes but is not limited to: radio frequency unit 401, network module 402, audio output unit 403, input unit 404, sensor 405, display unit 406, user input unit 407, interface unit 408, memory 409, processor 410, and power supply 411. Those skilled in the art will appreciate that the terminal device configuration shown in fig. 4 does not constitute a limitation of the terminal device, and that the terminal device may include more or fewer components than shown, or combine certain components, or a different arrangement of components. In the embodiment of the present invention, the terminal device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 410 is configured to receive a first touch input of a first finger of a user on a screen.
A processor 410, configured to, in response to the first touch input, perform a control operation associated with a first fingerprint partition corresponding to the first touch input on target text; wherein the fingerprint of the first finger comprises N fingerprint partitions, and the N fingerprint partitions comprise the first fingerprint partition and are integers greater than 1.
In summary, the terminal device may receive a first touch input of a first finger of a user on the screen, so that the user does not need to enter the main interface from the first interface, and then search and open an application for text recording in the main interface, and directly record a text on the screen through the first touch input, and a starting process of text editing is omitted.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 401 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 410; in addition, the uplink data is transmitted to the base station. Typically, radio unit 401 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Further, the radio unit 401 can also communicate with a network and other devices through a wireless communication system.
The terminal device provides wireless broadband internet access to the user through the network module 402, such as helping the user send and receive e-mails, browse web pages, and access streaming media.
The audio output unit 403 may convert audio data received by the radio frequency unit 401 or the network module 402 or stored in the memory 409 into an audio signal and output as sound. Also, the audio output unit 403 may also provide audio output related to a specific function performed by the terminal apparatus 400 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 403 includes a speaker, a buzzer, a receiver, and the like.
The input unit 404 is used to receive audio or video signals. The input Unit 404 may include a Graphics Processing Unit (GPU) 4041 and a microphone 4042, and the Graphics processor 4041 processes image data of a still picture or video obtained by an image capturing apparatus (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 406. The image frames processed by the graphic processor 4041 may be stored in the memory 409 (or other storage medium) or transmitted via the radio frequency unit 401 or the network module 402. The microphone 4042 may receive sound, and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 401 in case of the phone call mode.
The terminal device 400 further comprises at least one sensor 405, such as light sensors, motion sensors and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 4061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 4061 and/or the backlight when the terminal apparatus 400 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the terminal device posture (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration identification related functions (such as pedometer, tapping), and the like; the sensors 405 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be described in detail herein.
The display unit 406 is used to display information input by the user or information provided to the user. The Display unit 406 may include a Display panel 4061, and the Display panel 4061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 407 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal device. Specifically, the user input unit 407 includes a touch panel 4071 and other input devices 4072. Touch panel 4071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on touch panel 4071 or near touch panel 5071 using a finger, stylus, or any other suitable object or attachment). The touch panel 4071 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 410, receives a command from the processor 410, and executes the command. In addition, the touch panel 4071 can be implemented by using various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 4071, the user input unit 407 may include other input devices 4072. Specifically, the other input devices 4072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 4071 can be overlaid on the display panel 4061, and when the touch panel 4071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 410 to determine the type of the touch event, and then the processor 410 provides a corresponding visual output on the display panel 4061 according to the type of the touch event. Although in fig. 4, the touch panel 4071 and the display panel 4061 are two independent components to implement the input and output functions of the terminal device, in some embodiments, the touch panel 4071 and the display panel 4061 may be integrated to implement the input and output functions of the terminal device, which is not limited herein.
The interface unit 408 is an interface for connecting an external device to the terminal apparatus 400. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 408 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the terminal apparatus 400 or may be used to transmit data between the terminal apparatus 400 and an external device.
The memory 409 may be used to store software programs as well as various data. The memory 409 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 409 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 410 is a control center of the terminal device, connects various parts of the entire terminal device by using various interfaces and lines, and performs various functions of the terminal device and processes data by operating or executing software programs and/or modules stored in the memory 409 and calling data stored in the memory 409, thereby performing overall monitoring of the terminal device. Processor 410 may include one or more processing units; preferably, the processor 410 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 410.
The terminal device 400 may further include a power supply 411 (e.g., a battery) for supplying power to various components, and preferably, the power supply 411 may be logically connected to the processor 410 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the terminal device 400 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides a terminal device, which includes a processor 410, a memory 409, and a computer program that is stored in the memory 409 and can be run on the processor 410, and when being executed by the processor 410, the computer program implements each process of the text editing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the text editing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (12)

1. A text editing method is applied to terminal equipment, and is characterized by comprising the following steps:
receiving a first touch input of a first finger of a user on a screen, the first touch input comprising: pressing a first area of a first finger of a user on a screen for inputting, wherein the first area is a part or all of finger area of the first finger; during the process that the first area of the first finger is pressed on the screen, the touch input further comprises a rotation input of rotating the first finger by a user, and the content of the first touch input comprises text written by the user performing writing operation on the screen in a pressing mode or text displayed on the screen selected by the user in a pressing mode;
in response to the first touch input, executing a control operation associated with a first fingerprint partition corresponding to the first touch input on a target text, wherein the control operation is defined based on text display parameters, the pressing direction of the first touch input is different, and the control operation associated with the first fingerprint partition corresponding to the first touch input is different;
wherein the fingerprint of the first finger comprises N fingerprint partitions, and the N fingerprint partitions comprise the first fingerprint partition and are integers greater than 1.
2. The method of claim 1,
the performing, on the target text, a control operation associated with a first fingerprint partition corresponding to the first touch input includes at least one of:
displaying the target text according to a target color associated with a first fingerprint partition corresponding to the first touch input;
adjusting the font thickness of the target text according to a target thickness value associated with a first fingerprint partition corresponding to the first touch input;
and storing the target text according to a storage mode associated with a first fingerprint partition corresponding to the first touch input, wherein the storage mode comprises at least one of picture format storage, document format storage and encryption storage.
3. The method of claim 1, wherein prior to receiving the first touch input by the first finger of the user on the screen, further comprising:
acquiring a text color setting request input by a user;
displaying first entry reminding information, wherein the first entry reminding information is used for indicating second fingerprint subarea entry operation;
receiving a second touch input of a second finger of the user on the screen;
acquiring a second fingerprint partition corresponding to the second touch input;
establishing an incidence relation between the second fingerprint partition and the text color selected by the second touch input;
wherein the second touch input comprises: pressing a second area of a second finger of the user on the screen for inputting, wherein the second area is a part or all of the finger area of the second finger; wherein, in the pressing process of the second area of the second finger on the screen, the touch input further comprises a rotation input of the second finger rotated by the user.
4. The method of claim 1, wherein prior to receiving the first touch input by the first finger of the user on the screen, further comprising:
acquiring a font thickness setting request input by a user;
displaying second input reminding information, wherein the second input reminding information is used for indicating a third fingerprint subarea input operation;
receiving a third touch input of a third finger of the user on the screen;
acquiring a third fingerprint partition corresponding to the third touch input;
establishing an incidence relation between the third fingerprint partition and the thickness value selected by the third touch input;
wherein the third touch input comprises: pressing a third area of a third finger of the user on the screen for inputting, wherein the third area is a part or all of the finger area of the third finger; wherein, in the pressing process of the third area of the third finger on the screen, the touch input further comprises a rotation input of the third finger rotated by the user.
5. The method of claim 1, wherein prior to receiving the first touch input by the first finger of the user on the screen, further comprising:
acquiring a storage mode setting request input by a user;
displaying third input reminding information, wherein the third input reminding information is used for indicating fourth fingerprint subarea input operation;
receiving a fourth touch input of a fourth finger of the user on the screen;
acquiring a fourth fingerprint partition corresponding to the fourth touch input;
establishing an incidence relation between the fourth fingerprint partition and a storage mode selected by the fourth touch input;
wherein the fourth touch input comprises: pressing and inputting a fourth area of a fourth finger of the user on the screen, wherein the fourth area is a part or all of the finger area of the fourth finger; wherein, in the pressing process of the fourth area of the fourth finger on the screen, the touch input further comprises a rotation input of the fourth finger rotated by the user.
6. The method of claim 1, wherein after performing the control operation associated with the first fingerprint partition corresponding to the first touch input on the target text, further comprising:
displaying a preset identification;
receiving a fifth touch input of the user on the preset identifier;
displaying the text content of the target text under the condition that the fingerprint partition corresponding to the fifth touch input is a preset first partition;
executing screen locking operation under the condition that the fingerprint partition corresponding to the fifth touch input is a preset second partition;
displaying M texts stored in a preset time period under the condition that a fingerprint partition corresponding to the fifth touch input is a preset third partition, and displaying text contents of a first text in the M texts under the condition that a sixth touch input of a user in the first text is received;
wherein the fifth touch input comprises: pressing a fifth area of a fifth finger of the user on the screen for inputting, wherein the fifth area is a part or all of the finger area of the fifth finger; wherein, in the pressing process of the fifth area of the fifth finger on the screen, the touch input further comprises a rotation input of the fifth finger rotated by the user.
7. A terminal device, characterized in that the terminal device comprises:
a first receiving module, configured to receive a first touch input of a first finger of a user on a screen, where the first touch input includes: pressing a first area of a first finger of a user on a screen for inputting, wherein the first area is a part or all of finger area of the first finger; during the process that the first area of the first finger is pressed on the screen, the touch input further comprises a rotation input of rotating the first finger by a user, and the content of the first touch input comprises text written by the user performing writing operation on the screen in a pressing mode or text displayed on the screen selected by the user in a pressing mode;
the execution module is used for responding to the first touch input and executing control operation associated with a first fingerprint partition corresponding to the first touch input on a target text, wherein the control operation is defined based on text display parameters, the pressing directions of the first touch input are different, and the control operation associated with the first fingerprint partition corresponding to the first touch input is different;
wherein the fingerprint of the first finger comprises N fingerprint partitions, and the N fingerprint partitions comprise the first fingerprint partition and are integers greater than 1.
8. The terminal device of claim 7, wherein the executing module is configured to execute at least one of the following:
displaying the target text according to a target color associated with a first fingerprint partition corresponding to the first touch input;
adjusting the font thickness of the target text according to a target thickness value associated with a first fingerprint partition corresponding to the first touch input;
and storing the target text according to a storage mode associated with a first fingerprint partition corresponding to the first touch input, wherein the storage mode comprises at least one of picture format storage, document format storage and encryption storage.
9. The terminal device according to claim 7, wherein the terminal device further comprises:
the first acquisition module is used for acquiring a text color setting request input by a user;
the first display module is used for displaying first input reminding information, and the first input reminding information is used for indicating a second fingerprint subarea input operation;
the second receiving module is used for receiving a second touch input of a second finger of the user on the screen;
the second obtaining module is used for obtaining a second fingerprint partition corresponding to the second touch input;
the first establishing module is used for establishing an incidence relation between the second fingerprint partition and the text color selected by the second touch input;
wherein the second touch input comprises: pressing a second area of a second finger of the user on the screen for inputting, wherein the second area is a part or all of the finger area of the second finger; wherein, in the pressing process of the second area of the second finger on the screen, the touch input further comprises a rotation input of the second finger rotated by the user.
10. The terminal device according to claim 7, wherein the terminal device further comprises:
the third acquisition module is used for acquiring a font thickness setting request input by a user;
the second display module is used for displaying second input reminding information, and the second input reminding information is used for indicating a third fingerprint subarea input operation;
the third receiving module is used for receiving a third touch input of a third finger of the user on the screen;
a fourth obtaining module, configured to obtain a third fingerprint partition corresponding to the third touch input;
the second establishing module is used for establishing an incidence relation between the third fingerprint partition and the thickness value selected by the third touch input;
wherein the third touch input comprises: pressing a third area of a third finger of the user on the screen for inputting, wherein the third area is a part or all of the finger area of the third finger; wherein, in the pressing process of the third area of the third finger on the screen, the touch input further comprises a rotation input of the third finger rotated by the user.
11. The terminal device according to claim 7, wherein the terminal device further comprises:
the fifth acquisition module is used for acquiring a storage mode setting request input by a user;
the third display module is used for displaying third input reminding information, and the third input reminding information is used for indicating fourth fingerprint subarea input operation;
the fourth receiving module is used for receiving a fourth touch input of a fourth finger of the user on the screen;
a sixth obtaining module, configured to obtain a fourth fingerprint partition corresponding to the fourth touch input;
the third establishing module is used for establishing an incidence relation between the fourth fingerprint partition and a storage mode selected by the fourth touch input;
wherein the fourth touch input comprises: pressing and inputting a fourth area of a fourth finger of the user on the screen, wherein the fourth area is a part or all of the finger area of the fourth finger; wherein, in the pressing process of the fourth area of the fourth finger on the screen, the touch input further comprises a rotation input of the fourth finger rotated by the user.
12. The terminal device according to claim 7, wherein the terminal device further comprises:
the fourth display module is used for displaying the preset identification;
the fifth receiving module is used for receiving a fifth touch input of the user on the preset identifier;
the fourth display module is used for displaying the text content of the target text under the condition that the fingerprint partition corresponding to the fifth touch input is a preset first partition;
the screen locking module is used for executing screen locking operation under the condition that the fingerprint partition corresponding to the fifth touch input is a preset second partition;
the fifth display module is used for displaying M texts stored in a preset time period under the condition that a fingerprint partition corresponding to the fifth touch input is a preset third partition, and displaying text contents of a first text in the M texts under the condition that a sixth touch input of a user on the first text is received;
wherein the fifth touch input comprises: pressing a fifth area of a fifth finger of the user on the screen for inputting, wherein the fifth area is a part or all of the finger area of the fifth finger; wherein, in the pressing process of the fifth area of the fifth finger on the screen, the touch input further comprises a rotation input of the fifth finger rotated by the user.
CN201810541089.0A 2018-05-30 2018-05-30 Text editing method and terminal equipment Active CN108762641B (en)

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 CN108762641A (en) 2018-11-06
CN108762641B true 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)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
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
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

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101763341A (en) * 2009-12-23 2010-06-30 宇龙计算机通信科技(深圳)有限公司 Text cooperative method, system and touch screen equipment
CN104461335A (en) * 2013-09-25 2015-03-25 联想(北京)有限公司 Data processing method and electronic instrument
CN107102807A (en) * 2017-03-31 2017-08-29 努比亚技术有限公司 A kind of method for information display and electronic equipment

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120216113A1 (en) * 2011-02-18 2012-08-23 Google Inc. Touch gestures for text-entry operations
US20160110091A1 (en) * 2014-10-16 2016-04-21 Sony Corporation Fast and natural one-touch deletion in image editing on mobile devices
CN105046237B (en) * 2015-08-12 2019-05-10 Oppo广东移动通信有限公司 The pattern treatment method and relevant device of operation interface
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
CN107918563A (en) * 2017-09-30 2018-04-17 华为技术有限公司 A kind of method, data processing equipment and user equipment replicated and paste

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101763341A (en) * 2009-12-23 2010-06-30 宇龙计算机通信科技(深圳)有限公司 Text cooperative method, system and touch screen equipment
CN104461335A (en) * 2013-09-25 2015-03-25 联想(北京)有限公司 Data processing method and electronic instrument
CN107102807A (en) * 2017-03-31 2017-08-29 努比亚技术有限公司 A kind of method for information display and electronic equipment

Also Published As

Publication number Publication date
CN108762641A (en) 2018-11-06

Similar Documents

Publication Publication Date Title
CN108536365B (en) Image sharing method and terminal
CN108174103B (en) Shooting prompting method and mobile terminal
CN109241775B (en) Privacy protection method and terminal
CN109213416B (en) Display information processing method and mobile terminal
CN109710349B (en) Screen capturing method and mobile terminal
CN108920226B (en) Screen recording method and device
US11165950B2 (en) Method and apparatus for shooting video, and storage medium
CN109407948B (en) Interface display method and mobile terminal
CN109343788B (en) Operation control method of mobile terminal and mobile terminal
US11250046B2 (en) Image viewing method and mobile terminal
CN110865745A (en) Screen capturing method and terminal equipment
CN109753202B (en) Screen capturing method and mobile terminal
CN109271262B (en) Display method and terminal
CN111124223A (en) Application interface switching method and electronic equipment
CN108762641B (en) Text editing method and terminal equipment
CN107728923B (en) Operation processing method and mobile terminal
CN108132749B (en) Image editing method and mobile terminal
CN110096203B (en) Screenshot method and mobile terminal
CN111061446A (en) Display method and electronic equipment
CN111694497B (en) Page combination method and electronic equipment
CN111310165B (en) Account switching or registering method and electronic equipment
CN110213437B (en) Editing method and mobile terminal
CN109714462B (en) Method for marking telephone number and mobile terminal thereof
CN109491741B (en) Method and terminal for switching background skin
CN109739430B (en) Display method and mobile terminal

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