Method and device for inputting handwritten informationTechnical Field
The present invention relates to the field of information processing technologies, and in particular, to a method and an apparatus for inputting handwritten information.
Background
Along with the popularization of the terminals, the types of the terminals are more and more, and the recording requirements of people are met to a certain extent. Most terminals are provided with a physical keyboard or a virtual keyboard, and the physical keyboard or the virtual keyboard has a small operation area and is inconvenient to use, so that most terminals provide a handwriting function. Handwritten information such as characters and pictures can be input through the handwriting function, and how to improve the input efficiency of the handwritten information becomes a key influencing the input experience of users.
In the prior art, a user can input handwritten information on a screen of a terminal in a sliding mode through fingers, and if the user fails to input the handwritten information, the user can click a deletion icon to delete the previously input handwritten information; if the user neglects to input partial information in the process of inputting the handwritten information, the user also needs to click the deletion icon, delete all the previously input handwritten information, and then input the handwritten information again.
In the process of implementing the invention, the inventor finds that the prior art has at least the following problems:
in the prior art, if a user inputs a wrong or neglected input part of information, the currently input handwritten information cannot be modified, and if the currently input handwritten information needs to be modified, the previously input handwritten information needs to be completely deleted and then re-input is performed, so that the input operation process is not convenient and fast, the flexibility is not high, and the time consumption is large.
Disclosure of Invention
In order to solve the problems in the prior art, embodiments of the present invention provide a method and an apparatus for inputting information. The technical scheme is as follows:
in one aspect, a method for inputting handwritten information is provided, the method comprising:
acquiring input handwritten information, and displaying the acquired handwritten information, wherein the displayed handwritten information is consistent with the input handwritten information;
after the cursor clicking operation is detected, determining the position of a cursor according to the detected cursor clicking operation;
and editing the displayed handwritten information at the position of the cursor.
In another aspect, there is provided an apparatus for inputting handwritten information, the apparatus including:
the acquisition module is used for acquiring input handwritten information;
the display module is used for displaying the handwritten information acquired by the acquisition module, and the displayed handwritten information is consistent with the input handwritten information pattern;
the determining module is used for determining the position of a cursor according to the detected cursor clicking operation after the cursor clicking operation is detected;
and the editing module is used for editing the displayed handwritten information at the position of the cursor determined by the determining module.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
by acquiring the input handwritten information and when the input handwritten information is wrong, the input wrong handwritten information can be modified in different forms according to the received different editing instructions, so that the input efficiency is improved, the input time is saved, the handwriting editing mode is enriched, and the input mode is more convenient and flexible.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a flowchart illustrating a method for inputting handwritten information according to an embodiment of the present invention;
FIG. 2 is a flowchart of a method for inputting handwritten information according to a second embodiment of the present invention;
fig. 3 is a schematic diagram of a terminal according to a second embodiment of the present invention;
fig. 4 is a schematic diagram of another terminal according to the second embodiment of the present invention;
fig. 5 is a schematic diagram of another terminal according to the second embodiment of the present invention;
fig. 6 is a schematic diagram of a display interface for displaying input handwritten information according to a second embodiment of the present invention;
fig. 7 is a schematic diagram of a display interface for displaying handwritten information with an input error according to a second embodiment of the present invention;
fig. 8 is a schematic diagram of a display interface after deleting the handwritten information with an input error according to the second embodiment of the present invention;
FIG. 9 is a diagram of another display interface for displaying input handwritten information according to the second embodiment of the present invention;
FIG. 10 is a schematic diagram of a display interface after handwritten information is inserted according to a second embodiment of the present invention;
fig. 11 is a schematic structural diagram of an apparatus for inputting handwritten information according to a third embodiment of the present invention;
fig. 12 is a schematic structural diagram of another apparatus for inputting handwritten information according to a third embodiment of the present invention;
fig. 13 is a schematic structural diagram of a terminal according to a fourth embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
Example one
The present embodiment provides a method for inputting handwritten information, and referring to fig. 1, a flow of the method provided by the present embodiment includes:
101: acquiring input handwritten information, and displaying the acquired handwritten information, wherein the displayed handwritten information is consistent with the input handwritten information;
further, the input handwriting information is obtained, including but not limited to: acquiring handwriting information input by a user on an input interface;
displaying the obtained handwritten information, including but not limited to: and displaying the acquired handwritten information on a display interface.
102: after the cursor clicking operation is detected, determining the position of a cursor according to the detected cursor clicking operation;
103: and editing the displayed handwritten information at the position of the cursor.
Further, the method further comprises:
receiving an editing instruction input through a keyboard;
editing the displayed handwritten information at the position of the cursor, including but not limited to:
and editing the displayed handwritten information at the position of the cursor according to the received editing instruction.
Further, receiving an editing instruction input through a keyboard, including but not limited to:
displaying a soft keyboard and receiving an editing instruction input through the soft keyboard; or,
and connecting the physical keyboard and receiving an editing instruction input through the physical keyboard.
Further, editing the displayed handwritten information at the position of the cursor, including but not limited to:
and deleting the handwritten information before or after the position of the cursor.
Further, editing the displayed handwritten information at the position of the cursor, including but not limited to:
and acquiring input handwriting information, and inserting the acquired handwriting information into the position of the cursor.
According to the method provided by the embodiment, the input handwritten information is acquired, and when the input handwritten information is wrong, the input wrong handwritten information can be modified in different forms according to the received different editing instructions, so that the input efficiency is improved, the input time is saved, the handwritten editing mode is enriched, and the input mode is more convenient and flexible.
Example two
An embodiment of the present invention provides a method for inputting handwritten information, and details of a manner of inputting handwritten information provided in this embodiment are described in detail with reference to the content of the first embodiment, and referring to fig. 2, a flow of the method provided in this embodiment includes:
201: acquiring input handwritten information, and displaying the acquired handwritten information, wherein the displayed handwritten information is consistent with the input handwritten information;
the handwritten information includes, but is not limited to, characters or pictures input by handwriting, and both of the characters or pictures are generated by a user performing a sliding operation on an input interface of the terminal. Obtaining input handwriting information including, but not limited to: acquiring handwriting information input by a user on an input interface; displaying the obtained handwritten information, including but not limited to: and displaying the acquired handwritten information on a display interface.
In view of the above, the method provided by the embodiment sets two interfaces, namely, an input interface and a display interface. The input interface is used for inputting handwritten information, the display interface is used for displaying the input handwritten information, and the handwritten information displayed on the display interface is consistent with the handwritten information pattern input on the input interface. First, taking the handwriting information input by the user as an example, what type of characters the user inputs on the input interface will be displayed on the display interface instead of the characters with specification and style carried by the system. Taking the example that the user inputs a handwritten word "big" on the input interface, and the input interface and the display interface are respectively displayed on different pages on the terminal screen, the display interface displays the handwritten word "big" input on the input interface by the user as it is, and at this time, the schematic diagram of the terminal screen can be as shown in fig. 3; if the input interface and the display interface are displayed on the same page of the terminal screen, the terminal screen may be schematically shown in fig. 4 after the handwritten word is input. Taking the handwriting information input by the user as an example, the user inputs what type of picture on the input interface, and then the picture with the same type is displayed on the display interface. Taking the example that the user inputs a crescent-shaped picture on the input interface, and the input interface and the display interface are displayed on the same page of the terminal screen, after inputting the crescent-shaped picture, the display interface displays the picture as shown in fig. 5.
In addition, specific implementation manners of acquiring the input handwritten information include, but are not limited to, the following manners:
detecting whether a sliding operation exists on an input interface of the terminal, if the sliding operation exists on the input interface of the terminal, acquiring a sliding track of a user along with the sliding operation of the user, and storing the acquired sliding track as handwritten information, wherein the sliding track can be stored in a memory of the terminal. And after storing the acquired handwritten information, displaying the acquired handwritten information on an interface of the terminal.
By executing the process, the handwritten information input by the user can be displayed on the terminal interface, and the handwritten information has uniqueness, so that characters or pictures which are input by the user and rich in individuality can be displayed on the terminal interface.
202: after the cursor clicking operation is detected, determining the position of a cursor according to the detected cursor clicking operation;
for this step, if a user makes an error in the process of inputting handwritten information or needs to edit previously input handwritten information, the following two operations are usually performed:
in the first operation, a user exits an input interface by clicking a closing button or a system return key on the input interface, and clicks a cursor on a display interface for displaying handwritten information to be positioned at a position needing to be corrected, so that cursor clicking operation is triggered;
in the second operation, the user does not execute the operation of exiting the input interface, but directly clicks the cursor on the input interface to position the current wrong handwritten information, thereby triggering the cursor clicking operation.
After triggering the cursor clicking operation, the terminal determines the position of the cursor according to the detected cursor clicking operation, including but not limited to the following modes:
when the handwritten information is input, a cursor is displayed behind the input handwritten information, the terminal tracks the cursor in real time, and after the cursor is detected to be clicked, the detected click position is the position of the cursor.
203: receiving an editing instruction input through a keyboard;
for this step, editing instructions entered via the keyboard are received, including but not limited to:
displaying a soft keyboard and receiving an editing instruction input through the soft keyboard; or,
and connecting the physical keyboard and receiving an editing instruction input through the physical keyboard.
The editing instruction may include a deletion instruction corresponding to a deletion key on a software disk or a physical keyboard, a line feed instruction corresponding to an enter key, and the like. And when the key on the soft keyboard or the physical keyboard is clicked, an editing instruction corresponding to the clicked key is generated.
In addition, after receiving the editing instruction input through the keyboard, the received editing instruction may be temporarily stored in the memory, and of course, in addition to the storage medium, other types of storage media may also be used, for example, a memory card, and the like.
204: and editing the displayed handwritten information at the position of the cursor according to the received editing instruction.
And according to the step, different modes of editing the handwritten information at the position of the cursor are edited according to different received editing instructions. Now, a detailed description will be given of a manner of editing input handwritten information, taking a received editing instruction as a delete instruction or an insert instruction as an example:
when the received editing instruction is a deleting instruction, the displayed handwritten information is edited at the position of the cursor, including but not limited to:
and deleting the handwritten information before or after the position of the cursor displayed on the display interface.
Taking the input handwritten information as a handwritten word as an example, referring to fig. 6, taking the handwritten word already input by the user as "size" as an example, if the handwritten word currently intended to be input by the user is "write", but the input is the and of the handwritten word shown in fig. 7 by mistake, after determining that the position of the cursor is the and of the input wrong handwritten word according to the detected cursor clicking operation, and after receiving a deletion instruction, deleting the and of the input wrong word before the position of the cursor. The display interface after deletion may be as shown in fig. 8.
When the received editing instruction is an insertion instruction, the displayed handwritten information is edited at the position of the cursor, including but not limited to:
and acquiring input handwriting information, and inserting the acquired handwriting information into the position of the cursor.
Taking the input handwritten information as the handwritten word as an example, referring to fig. 9, taking the handwritten word that has been input by the user as "up-down right", and the handwritten word that the user actually wants to input as "up-down left-right", the user neglects to input one handwritten word "left" in the input process, after determining that the position of the cursor is the handwritten word "down" according to the detected cursor clicking operation, and after receiving the insertion instruction, obtaining the input handwritten word "left" according to the sliding operation performed by the user on the terminal screen, and after obtaining the input handwritten word "left", inserting the handwritten word "left" after the position of the cursor, i.e. the handwritten word "down", so as to complete the input handwritten information, and the display interface after insertion may be as shown in fig. 10.
It should be noted that the edit instruction may include a line feed instruction, a space instruction, and the like, in addition to the delete instruction and the insert instruction. The method provided by the step only provides two possible editing modes when the editing instruction is a deleting instruction or an inserting instruction. When the editing instruction changes, the corresponding editing mode also changes. For example, when the editing instruction is a line feed instruction, that is, the enter key on the corresponding soft keyboard or physical keyboard is clicked, after the position of the cursor is determined, the handwritten information behind the position of the cursor can be moved to the next line; when the editing instruction is a space instruction, namely a space key on the corresponding soft keyboard or physical keyboard is clicked, after the position of the cursor is determined, the handwritten information behind the position of the cursor can be moved by the number of characters which is consistent with the number of times of clicking the space key of the soft keyboard or physical keyboard.
According to the method provided by the embodiment, the input handwritten information is acquired, and when the input handwritten information is wrong, the input wrong handwritten information can be modified in different forms according to the received different editing instructions, so that the input efficiency is improved, the input time is saved, the handwritten editing mode is enriched, and the input mode is more convenient and flexible.
EXAMPLE III
An embodiment of the present invention provides an apparatus for inputting handwritten information, configured to perform the method provided in the first embodiment or the second embodiment, with reference to fig. 11, where the apparatus includes:
an obtaining module 1101, configured to obtain input handwritten information;
a display module 1102, configured to display the handwritten information acquired by the acquisition module 1101, where the displayed handwritten information is consistent with an input handwritten information pattern;
a determining module 1103, configured to determine, after a cursor clicking operation is detected, a position of a cursor according to the detected cursor clicking operation;
and an editing module 1104, configured to edit the displayed handwritten information at the position of the cursor determined by the determining module 1103.
Further, the obtaining module 1101 is configured to obtain handwriting information input by a user on the input interface;
the display module 1102 is configured to display the obtained handwritten information on a display interface.
Further, referring to fig. 12, the apparatus further includes:
a receiving module 1105, configured to receive an editing instruction input through a keyboard;
an editing module 1104, configured to edit the displayed handwritten information at the position of the cursor according to the editing instruction received by the receiving module 1105.
Further, the receiving module 1105 is configured to display a soft keyboard and receive an editing instruction input through the soft keyboard; or, connecting the physical keyboard and receiving the editing instruction input through the physical keyboard.
Further, the editing module 1104 is configured to delete the handwritten information before or after the position of the cursor.
Further, the editing module 1104 is configured to obtain the input handwritten information, and insert the obtained handwritten information at a position where a cursor is located.
In summary, the device provided in the embodiment of the present invention can modify the input wrong handwritten information in different forms according to the received different editing instructions by acquiring the input handwritten information and when the input handwritten information is wrong, thereby not only improving the input efficiency and saving the input time, but also enriching the manner of editing the handwritten information, and the input manner has more convenience and flexibility.
Example four
The present embodiment provides a terminal, which can be used to execute the method for inputting handwritten information provided in the first embodiment or the second embodiment. Referring to fig. 13, the terminal 1300 includes:
RF (Radio Frequency) circuitry 110, memory 120 including one or more computer-readable storage media, input unit 130, display unit 140, sensor 150, audio circuitry 160, transmission module 170, processor 180 including one or more processing cores, and power supply 190. Those skilled in the art will appreciate that the terminal structure shown in fig. 13 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein:
the RF circuit 110 may be used for receiving and transmitting signals during information transmission and reception or during a call, and in particular, receives downlink information from a base station and then sends the received downlink information to the one or more processors 180 for processing; in addition, data relating to uplink is transmitted to the base station. In general, the RF circuitry 110 includes, but is not limited to, an antenna, at least one Amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, an LNA (Low Noise Amplifier), a duplexer, and the like. In addition, the RF circuitry 110 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), e-mail, SMS (short messaging Service), etc.
The memory 120 may be used to store software programs and modules, and the processor 180 executes various functional applications and data processing by operating the software programs and modules stored in the memory 120. The memory 120 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 terminal 1300, and the like. Further, the memory 120 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. Accordingly, the memory 120 may further include a memory controller to provide the processor 180 and the input unit 130 with access to the memory 120.
The input unit 130 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, the input unit 130 may include a touch-sensitive surface 131 as well as other input devices 132. The touch-sensitive surface 131, also referred to as a touch display screen or a touch pad, may collect touch operations by a user on or near the touch-sensitive surface 131 (e.g., operations by a user on or near the touch-sensitive surface 131 using a finger, a stylus, or any other suitable object or attachment), and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface 131 may comprise two parts, a touch detection means 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 180, and can receive and execute commands sent by the processor 180. Additionally, the touch-sensitive surface 131 may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch-sensitive surface 131, the input unit 130 may also include other input devices 132. In particular, other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 140 may be used to display information input by or provided to a user and various graphical user interfaces of the terminal 1300, which may be made up of graphics, text, icons, video, and any combination thereof. The Display unit 140 may include a Display panel 141, and optionally, the Display panel 141 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like. Further, the touch-sensitive surface 131 may cover the display panel 141, and when a touch operation is detected on or near the touch-sensitive surface 131, the touch operation is transmitted to the processor 180 to determine the type of the touch event, and then the processor 180 provides a corresponding visual output on the display panel 141 according to the type of the touch event. Although in FIG. 13, touch-sensitive surface 131 and display panel 141 are shown as two separate components to implement input and output functions, in some embodiments, touch-sensitive surface 131 may be integrated with display panel 141 to implement input and output functions.
Terminal 1300 can also include at least one sensor 150, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 141 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 141 and/or the backlight when the terminal 1300 is moved to the ear. As one of the motion sensors, the gravity acceleration sensor may detect the magnitude of acceleration in each direction (generally, three axes), detect the magnitude and direction of gravity when the mobile phone is stationary, and may be used for applications of recognizing gestures of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and tapping), and other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor that may be further configured to the terminal 1300, which are not described herein again.
Audio circuitry 160, speaker 161, and microphone 162 may provide an audio interface between a user and terminal 1300. The audio circuit 160 may transmit the electrical signal converted from the received audio data to the speaker 161, and convert the electrical signal into a sound signal for output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electric signal, converts the electric signal into audio data after being received by the audio circuit 160, and then outputs the audio data to the processor 180 for processing, and then to the RF circuit 110 to be transmitted to, for example, another terminal, or outputs the audio data to the memory 120 for further processing. The audio circuitry 160 may also include an earbud jack to provide communication of peripheral headphones with the terminal 1300.
The terminal 1300, which can assist the user in e-mail, web browsing, and streaming media access, etc., provides the user with wireless or wired broadband internet access through the transmission module 170.
The processor 180 is a control center of the terminal 1300, connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the terminal 1300 and processes data by operating or executing software programs and/or modules stored in the memory 120 and calling data stored in the memory 120, thereby performing overall monitoring of the mobile phone. Optionally, processor 180 may include one or more processing cores; preferably, the processor 180 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 180.
Terminal 1300 also includes a power supply 190 (e.g., a battery) for powering the various components, which may preferably be logically coupled to processor 180 via a power management system that may be used to manage charging, discharging, and power consumption. The power supply 190 may also include any component including one or more of a dc or ac power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown, the terminal 1300 may further include a camera, a bluetooth module, etc., which are not described in detail herein. Specifically, in this embodiment, the display unit of the terminal is a touch screen display, the terminal further includes a memory, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include instructions for:
acquiring input handwritten information, and displaying the acquired handwritten information, wherein the displayed handwritten information is consistent with the input handwritten information;
after the cursor clicking operation is detected, determining the position of a cursor according to the detected cursor clicking operation;
and editing the displayed handwritten information at the position of the cursor.
Assuming that the foregoing is the first possible implementation manner, in a second possible implementation manner provided on the basis of the first possible implementation manner, the memory of the terminal further includes instructions for performing the following operations:
acquiring handwriting information input by a user on an input interface;
the displaying the acquired handwritten information comprises: and displaying the acquired handwritten information on a display interface.
In a third possible implementation manner provided as a basis for the first possible implementation manner, the memory of the terminal further includes instructions for performing the following operations:
receiving an editing instruction input through a keyboard;
the editing the displayed handwritten information at the position of the cursor comprises:
and editing the displayed handwritten information at the position of the cursor according to the received editing instruction.
In a fourth possible implementation manner provided as a basis for the third possible implementation manner, the memory of the terminal further includes instructions for performing the following operations:
displaying a soft keyboard and receiving an editing instruction input through the soft keyboard; or,
and connecting the physical keyboard and receiving an editing instruction input through the physical keyboard.
In a fifth possible implementation manner provided on the basis of the first, second, third, or fourth possible implementation manner, the memory of the terminal further includes instructions for performing the following operations:
deleting the handwritten information before or after the position of the cursor.
In a sixth possible implementation manner provided on the basis of the first or second or third or fourth possible implementation manner, the memory of the terminal further includes instructions for performing the following operations:
and acquiring input handwriting information, and inserting the acquired handwriting information into the position of the cursor.
According to the terminal provided by the embodiment of the invention, the input handwritten information is acquired, and when the input handwritten information is wrong, the handwritten information with the wrong input can be modified in different forms according to the received different editing instructions, so that the input efficiency is improved, the input time is saved, the handwritten editing mode is enriched, and the input mode is more convenient and flexible.
EXAMPLE five
An embodiment of the present invention provides a computer-readable storage medium, which may be a computer-readable storage medium contained in the memory in the above-described embodiment; or it may be a separate computer-readable storage medium not incorporated in the terminal. The computer readable storage medium stores one or more programs for use by one or more processors in performing a method of processing video, the method comprising:
acquiring input handwritten information, and displaying the acquired handwritten information, wherein the displayed handwritten information is consistent with the input handwritten information;
after the cursor clicking operation is detected, determining the position of a cursor according to the detected cursor clicking operation;
and editing the displayed handwritten information at the position of the cursor.
Assuming that the foregoing is the first possible implementation manner, in a second possible implementation manner provided on the basis of the first possible implementation manner, the acquiring the input handwriting information includes: acquiring handwriting information input by a user on an input interface;
the displaying the acquired handwritten information comprises: and displaying the acquired handwritten information on a display interface.
In a third possible implementation form, which is provided on the basis of the first possible implementation form, the method further comprises:
receiving an editing instruction input through a keyboard;
the editing the displayed handwritten information at the position of the cursor comprises:
and editing the displayed handwritten information at the position of the cursor according to the received editing instruction.
In a fourth possible implementation manner provided as the basis of the third possible implementation manner, the receiving an editing instruction input through a keyboard includes:
displaying a soft keyboard and receiving an editing instruction input through the soft keyboard; or,
and connecting the physical keyboard and receiving an editing instruction input through the physical keyboard.
In a fifth possible implementation manner provided on the basis of the first, second, third, or fourth possible implementation manner, the editing the displayed handwritten information at the position of the cursor includes:
deleting the handwritten information before or after the position of the cursor.
In a sixth possible implementation manner provided on the basis of the first, second, third, or fourth possible implementation manner, the editing the displayed handwritten information at the position of the cursor includes:
and acquiring input handwriting information, and inserting the acquired handwriting information into the position of the cursor.
According to the computer-readable storage medium provided by the embodiment of the invention, the input handwritten information is acquired, and when the input handwritten information is wrong, the handwritten information with the wrong input can be modified in different forms according to the received different editing instructions, so that the input efficiency is improved, the input time is saved, the handwritten editing mode is enriched, and the input mode has more convenience and flexibility.
EXAMPLE six
The embodiment of the invention provides a graphical user interface, which is used on a terminal, wherein the terminal comprises a touch screen display, a memory and one or more processors for executing one or more programs; the graphical user interface comprises:
displaying and acquiring input handwritten information on the touch screen display, and displaying the acquired handwritten information, wherein the displayed handwritten information is consistent with the input handwritten information in style;
after the cursor clicking operation is detected, determining the position of a cursor according to the detected cursor clicking operation;
and editing the displayed handwritten information at the position of the cursor.
According to the graphical user interface provided by the embodiment of the invention, the input handwritten information is acquired, and when the input handwritten information is wrong, the handwritten information with the wrong input can be modified in different forms according to the received different editing instructions, so that the input efficiency is improved, the input time is saved, the handwritten editing mode is enriched, and the input mode has more convenience and flexibility.
It should be noted that: in the device for inputting handwritten information provided in the above embodiment, when inputting handwritten information, only the division of the above functional modules is taken as an example, in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the above described functions. In addition, the device for inputting handwritten information and the method for inputting handwritten information provided by the above embodiments belong to the same concept, and the specific implementation process is detailed in the method embodiments and will not be described herein again.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.