Handwriting processing method and device, electronic equipment and readable storage medium
By displaying the toolbar for operation entry in full-screen handwriting mode and responding to stylus operations, the startup conflict problem was resolved, enabling convenient full-screen handwriting input and improving the user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-18
- Publication Date
- 2026-03-27
AI Technical Summary
The activation of full-screen handwriting input mode can easily conflict with the user's input content, causing inconvenience and affecting the user experience.
By displaying a toolbar that provides access to the full-screen handwriting mode and responding to stylus input, the full-screen handwriting mode is activated to receive input information, thus avoiding startup conflicts.
The ease of launching the full-screen handwriting input mode has been improved, ensuring the continuity of user input and enhancing the user experience.
Smart Images

Figure CN117908730B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of computer, and particularly relates to a handwriting processing method and device, electronic equipment and readable storage medium. BACKGROUND
[0002] At present, a full-screen handwriting input scheme allows a user to freely write on the whole screen, instead of being limited to a certain writing area preset by a traditional system. In the full-screen handwriting input mode, the user can input at any position in the screen space, further expanding the writing area and improving the writing experience on a small screen device.
[0003] However, the full-screen handwriting input scheme needs to start the full-screen handwriting input mode by clicking an input area (for example, an input box) of a current page by using a handwriting pen (an electromagnetic pen, etc.), starting handwriting in a preset area (a hot area) corresponding to the input area when a cursor is displayed in the input area, and referring to Figure 1 The input area of the page is often at the edge of the screen, for example, at the bottom of the screen. The user needs to use the handwriting pen to write at the bottom area of the screen to start the full-screen handwriting input mode. In most cases, the content to be input by the user cannot be written starting from the bottom area of the screen. For example, when the user inputs "full-screen handwriting" according to strokes, it is difficult to start writing from the bottom area of the screen, thereby causing a conflict between the input content and the start of the full-screen handwriting input mode, resulting in inconvenience in using the full-screen handwriting input mode and affecting the user experience. SUMMARY
[0004] The present application provides a handwriting processing method and device, electronic equipment and readable storage medium, aiming to improve the convenience of starting the full-screen handwriting input mode, ensure that the start of the full-screen handwriting input mode does not affect the handwriting input of the user, and improve the user experience.
[0005] In a first aspect, the present application provides a handwriting processing method, which comprises the following steps.
[0006] In response to an operation triggered by a handwriting pen on an input area of a current page, a first toolbar including at least a full-screen handwriting mode operation entrance is displayed.
[0007] In response to an operation triggered by the handwriting pen on the full-screen handwriting mode operation entrance, a full-screen handwriting mode is started, and the full-screen handwriting mode is used to receive operation information input by the handwriting pen in a preset screen area.
[0008] The handwriting processing method provided in the application can display a first toolbar including at least a full-screen handwriting mode operation entrance in response to an operation triggered by a handwriting pen in an input area of a current page, and then start a full-screen handwriting mode in response to an operation triggered by the handwriting pen in the full-screen handwriting mode operation entrance, so that the full-screen handwriting mode can receive operation information input by the handwriting pen in a preset screen area, the conflict between input content and the start of the full-screen handwriting mode can be avoided, the start of the full-screen handwriting mode does not affect handwriting input of a user, the convenience of starting the full-screen handwriting mode is improved, and user experience is improved.
[0009] In a possible implementation, after the step of starting the full-screen handwriting mode, the method further includes displaying a full-screen mask layer on the current page, and not responding to a click operation triggered by the handwriting pen on an option of the current page.
[0010] In another possible implementation, after the step of displaying the full-screen mask layer on the current page, the method further includes:
[0011] In response to an operation triggered by the handwriting pen on the full-screen handwriting mode operation entrance, the full-screen handwriting mode is exited, and the display of the full-screen mask layer is cancelled.
[0012] In another possible implementation, after the step of cancelling the display of the full-screen mask layer, the method further includes:
[0013] In response to an operation triggered by the handwriting pen on the current page, a corresponding operation is performed on information in the input area.
[0014] In another possible implementation, after the step of starting the full-screen handwriting mode, the method further includes:
[0015] Information input by the user through the handwriting pen is obtained, and the information is displayed in the input area;
[0016] In response to an operation triggered by the handwriting pen on the full-screen handwriting mode operation entrance, the full-screen handwriting mode is exited.
[0017] In response to a sending operation triggered by the handwriting pen on the current page, a corresponding operation is performed on information in the input area.
[0018] In another possible implementation, the first toolbar further includes at least one of a restore operation key, a recall operation key, a space key, and / or a delete key.
[0019] In another possible implementation, after the step of starting the full-screen handwriting mode, the method further includes:
[0020] In response to the stylus triggering an operation on the input area, or the stylus triggering an operation on the full-screen handwriting mode operation entry, the full-screen handwriting mode is exited.
[0021] In another possible implementation, after the step of starting the full-screen handwriting mode, the method further includes:
[0022] In response to the stylus triggering an exit operation on the input area, or the stylus triggering an operation on the full-screen handwriting mode operation entry, the full-screen handwriting mode is exited.
[0023] In another possible implementation, after the step of displaying the first toolbar including at least the full-screen handwriting mode operation entry, the method further includes:
[0024] In response to the stylus triggering an operation on the more operation entry of the first toolbar, a first menu bar is displayed, the first menu bar including at least one or more of an open note operation entry, a new note operation entry, a screenshot operation entry, a partial screenshot operation entry, and a global annotation operation entry.
[0025] In another possible implementation, the first toolbar is displayed at an edge region of the current page.
[0026] In another possible implementation, the method further includes:
[0027] In response to the stylus triggering an operation on the input area of the current page, a second toolbar including at least a second menu bar entry is displayed;
[0028] In response to the stylus triggering an operation on the second menu bar entry, a second menu bar including at least a handwriting board mode operation entry is displayed;
[0029] In response to the stylus triggering an operation on the handwriting board mode operation entry, a handwriting board mode is started to display a handwriting board window on the current page.
[0030] In another possible implementation, after the step of starting the handwriting board mode, the method further includes:
[0031] In response to the stylus triggering a close operation on the handwriting board window, the handwriting board mode is exited and the display of the handwriting board window is cancelled.
[0032] In another possible implementation, the method further includes:
[0033] When the stylus is in a connected state, a floating ball is displayed in the current page.
[0034] In response to the stylus triggering an operation on the floating ball, a third menu bar is displayed, the third menu bar including at least one or more of an open note operation entry, a new note operation entry, a screenshot operation entry, a partial screenshot operation entry, and a global comment operation entry.
[0035] In another possible implementation, after the step of displaying the third menu bar, the method further includes:
[0036] In response to the stylus triggering an operation on the open note operation entry or the new note operation entry, when the application corresponding to the current page is a file application, the current page and a note interface are displayed in split screen.
[0037] In another possible implementation, after the step of displaying the floating ball in the current page, the method further includes:
[0038] If no operation corresponding to the floating ball is detected within a preset time period, the transparency of the floating ball is increased.
[0039] In another possible implementation, if the state of the stylus is switched to a disconnected state or a hibernation state, the display of the floating ball is cancelled.
[0040] In another possible implementation, the floating ball is displayed in a corner position of the current page or a central display area of an edge region.
[0041] In a second aspect, the present application provides a handwriting processing apparatus, including a display module and a starting module.
[0042] The display module is configured to, in response to a stylus triggering an operation on an input area of a current page, display a first toolbar including at least a full-screen handwriting mode operation entry.
[0043] The starting module is configured to, in response to the stylus triggering an operation on the full-screen handwriting mode operation entry, start a full-screen handwriting mode, the full-screen handwriting mode being configured to receive operation information input by the stylus in a preset screen area.
[0044] In a third aspect, the present application provides an electronic device, including:
[0045] one or more processors; a memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, and the one or more computer programs include instructions that, when executed by the electronic device, cause the electronic device to perform the handwriting processing method according to the first aspect or any one of the possible implementation manners of the first aspect.
[0046] In a fourth aspect, the present application provides a computer readable storage medium, wherein a computer program is stored in the computer readable storage medium, and when the computer program is executed by a processor, the processor is caused to perform the handwriting processing method according to the first aspect or any one of the possible implementation manners of the first aspect.
[0047] In a fifth aspect, the present application provides a chip, wherein the chip comprises a processor and a data interface, and the processor reads instructions stored in a memory through the data interface, and performs the handwriting processing method according to the first aspect or any one of the possible implementation manners of the first aspect.
[0048] Optionally, as a possible implementation manner, the chip can further comprise a memory, and the memory stores instructions, and the processor is configured to execute the instructions stored in the memory, and when the instructions are executed, the processor is configured to perform the handwriting processing method according to the first aspect or any one of the possible implementation manners of the first aspect. BRIEF DESCRIPTION OF DRAWINGS
[0049] Figure 1 An illustrative scenario diagram of the full-screen handwriting mode in the prior art;
[0050] Figure 2 An illustrative structural diagram of an electronic device according to an embodiment of the present application;
[0051] Figure 3 An illustrative software structural block diagram of an electronic device according to an embodiment of the present application;
[0052] Figure 4 A flowchart of a handwriting processing method according to an embodiment of the present application;
[0053] Figure 5 An illustrative scenario diagram of a handwriting processing method according to an embodiment of the present application;
[0054] Figure 6 An illustrative scenario diagram of a handwriting processing method according to another embodiment of the present application;
[0055] Figure 7 An illustrative scenario diagram of a handwriting processing method according to another embodiment of the present application;
[0056] Figure 8 A flowchart of a handwriting processing method according to another embodiment of the present application;
[0057] Figure 9 An illustrative scenario diagram of a handwriting processing method according to another embodiment of the present application;
[0058] Figure 10An illustrative scenario diagram of a handwriting processing method provided for another embodiment of the present application;
[0059] Figure 11 A flowchart of a handwriting processing method provided for another embodiment of the present application;
[0060] Figure 12 An illustrative scenario diagram of a handwriting processing method provided for another embodiment of the present application;
[0061] Figure 13 An illustrative scenario diagram of a handwriting processing method provided for another embodiment of the present application;
[0062] Figure 14 An illustrative scenario diagram of a handwriting processing method provided for another embodiment of the present application;
[0063] Figure 15 An illustrative scenario diagram of a handwriting processing method provided for another embodiment of the present application;
[0064] Figure 16 A flowchart of a handwriting processing method provided for another embodiment of the present application;
[0065] Figure 17 A structural schematic diagram of a handwriting processing apparatus provided for the present application;
[0066] Figure 18 A module interaction diagram of a handwriting processing method provided for an embodiment of the present application. DETAILED DESCRIPTION
[0067] The terms "first", "second", and "third" and the like in the description and in the claims of the present application and the summary of the application, are used for distinguishing between similar objects talking about the objects themselves and not to imply or create, directly or indirectly, any such limitations on the scope of the application.
[0068] In the embodiments of the present application, the words "exemplary" and "for example" are used to mean serving as an example, instance, or illustration, and not necessarily to imply any preference or superiority. The words "exemplary" and "for example" are used in the sense of "for the purpose of example".
[0069] For the sake of clear and concise description of the following embodiments, first, a brief introduction of an implementation scheme of handwriting processing is given:
[0070] At present, terminals such as mobile phones and tablet computers are basically loaded with application programs with handwriting function, so that full-screen handwriting input function can be used when a user needs to input information, for example, when the user chats through instant messaging tools, the full-screen handwriting input function can be used for inputting chat content.
[0071] As Figure 1 shown, Figure 1 is a schematic scene diagram of prior art full-screen handwriting mode. In the prior art, a user clicks an input area (for example, an input box) of a current page by using a handwriting pen (an electromagnetic pen, etc.), starts to write in a preset area (a hot area) corresponding to the input area when a cursor is displayed in the input area, and starts the full-screen handwriting input mode. However, when the content to be input by the user does not support starting to write from a bottom area of a screen, there is a conflict between the input content and the start of the full-screen handwriting input mode, which causes inconvenience in using the full-screen handwriting input mode and affects the user experience.
[0072] Based on the problems in the above technical solutions, the present application provides a handwriting processing method, which can improve the convenience of starting the full-screen handwriting input mode, ensure that the start of the full-screen handwriting input mode does not affect the handwriting input of the user, and improve the user experience. The handwriting processing method can be applied to electronic devices such as mobile phones, tablet computers, desktop computers, laptop computers, notebook computers, ultra-mobile personal computers (UMPC), handheld computers, netbooks, personal digital assistants (PDA), wearable electronic devices, smart watches, etc. The structure of the electronic device to which the handwriting processing method is applied can be as shown in Figure 2 .
[0073] As Figure 2 shown, Figure 2An example of a composition of an electronic device is provided in this application, the electronic device 200 can include a processor 210, an external memory interface 220, an internal memory 221, a universal serial bus (USB) interface 230, a charging management module 240, a power management module 241, a battery 242, an antenna 1, an antenna 2, a mobile communication module 250, a wireless communication module 260, an audio module 270, a speaker 270A, a receiver 270B, a microphone 270C, a headset jack 270D, a sensor module 280, a key 290, a motor 291, an indicator 292, a camera 293, a display screen 294, and a subscriber identification module (SIM) card interface 295, etc. The sensor module 280 can include a pressure sensor 280A, a gyroscope sensor 280B, a barometric pressure sensor 280C, a magnetic sensor 280D, an acceleration sensor 280E, a distance sensor 280F, a proximity light sensor 280G, a fingerprint sensor 280H, a temperature sensor 280J, a touch sensor 280K, an ambient light sensor 280L, a bone conduction sensor 280M, etc.
[0074] It can be understood that the structure illustrated in the embodiment does not constitute a specific limitation on the electronic device 200. In other embodiments, the electronic device 200 can include more or fewer components than illustrated, or combine certain components, or split certain components, or different component arrangements. The illustrated components can be implemented in hardware, software, or a combination of software and hardware.
[0075] The processor 210 can include one or more processing units, for example: the processor 210 can include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units can be independent devices, or can be integrated into one or more processors.
[0076] The controller can be the nerve center and command center of the electronic device 200. The controller can generate operation control signals according to instruction operation codes and timing signals, and complete the control of fetching instructions and executing instructions.
[0077] The processor 210 can also be provided with a memory for storing instructions and data. In some embodiments, the processor 210 can include one or more interfaces. The interfaces can include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0078] The I2C interface is a bidirectional synchronous serial bus including a serial data line (SDA) and a serial clock line (SCL). The I2S interface can be used for audio communication. The PCM interface can also be used for audio communication, sampling, quantizing and encoding analog signals. The UART interface is a universal serial data bus for asynchronous communication. The bus can be a bidirectional communication bus. The MIPI interface can be used to connect the processor 210 to peripheral devices such as the display 294 and the camera 293. The MIPI interface includes a camera serial interface (CSI), a display serial interface (DSI), etc. The GPIO interface can be configured by software. The GPIO interface can be configured as a control signal or as a data signal. The USB interface 230 is a USB standard compliant interface, which can be a Mini USB interface, a Micro USB interface, a USB Type-C interface, etc.
[0079] It can be understood that the interface connection relationship between the modules shown in the embodiments is only illustrative and does not limit the structure of the electronic device 200. In other embodiments of the present application, the electronic device 200 can also use different interface connection methods or combinations of multiple interface connection methods.
[0080] The charging management module 240 is configured to receive charging input from a charger. The power management module 241 is configured to connect the battery 242, and the charging management module 240 is connected to the processor 210.
[0081] The wireless communication function of the electronic device 200 can be implemented by the antenna 1, the antenna 2, the mobile communication module 250, the wireless communication module 260, the modem processor, and the baseband processor, etc.
[0082] The antenna 1 and the antenna 2 are configured to transmit and receive electromagnetic wave signals. Each antenna in the electronic device 200 can be configured to cover a single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example, the antenna 1 can be multiplexed as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in combination with a tuning switch.
[0083] The mobile communication module 250 can provide a solution for wireless communication including 2G / 3G / 4G / 5G, etc. applied to the electronic device 200. The mobile communication module 250 can include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 250 can receive electromagnetic waves from the antenna 1, and perform filtering, amplification, etc. on the received electromagnetic waves, and transmit the processed electromagnetic waves to the modem processor for demodulation. The mobile communication module 250 can also amplify the signals modulated by the modem processor, and convert the amplified signals into electromagnetic waves radiated by the antenna 1.
[0084] The modem processor can include a modulator and a demodulator. The modulator is configured to modulate a low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is configured to demodulate a received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. The low-frequency baseband signal processed by the baseband processor is transmitted to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 270A, the microphone 270B, etc.), or displays an image or a video through the display screen 294.
[0085] The wireless communication module 260 can provide a solution for wireless communication, including wireless local area networks (WLAN) (e.g., wireless fidelity (Wi-Fi) network), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR) technology, etc., which are applied to the electronic device 200. The wireless communication module 260 can be one or more devices that integrate at least one communication processing module. The wireless communication module 260 receives electromagnetic waves via the antenna 2, frequency-modulates and filters the electromagnetic wave signals, and transmits the processed signals to the processor 210. The wireless communication module 260 can also receive signals to be transmitted from the processor 210, frequency-modulate them, amplify them, and radiate them as electromagnetic waves via the antenna 2.
[0086] In some embodiments, the antenna 1 and the mobile communication module 250 of the electronic device 200 are coupled, and the antenna 2 and the wireless communication module 260 are coupled, so that the electronic device 200 can communicate with a network and other devices through wireless communication technology. The wireless communication technology can include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology, etc. The GNSS can include a global positioning system (GPS), a global navigation satellite system (GLONASS), a beidu navigation satellite system (BDS), a quasi-zenith satellite system (QZSS), and / or a satellite based augmentation systems (SBAS).
[0087] The electronic device 200 implements a display function through a GPU, a display screen 294, and an application processor, etc. The GPU is a microprocessor for image processing, which is connected to the display screen 294 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 210 can include one or more GPUs, which execute program instructions to generate or change display information.
[0088] The display screen 294 is used to display images, videos, etc. The display screen 294 includes a display panel.
[0089] A series of graphical user interfaces (GUIs) can be displayed on the display screen 294 of the electronic device 200, and the GUIs are all home screens of the electronic device 200. The electronic device 200 can implement a photographing function through an ISP, the camera 293, a video codec, a GPU, the display screen 294, and an application processor.
[0090] The ISP is configured to process data fed back by the camera 293. The camera 293 is configured to capture a still image or a video. The digital signal processor is configured to process a digital signal, and can process not only a digital image signal but also other digital signals. The video codec is configured to compress or decompress a digital video. The NPU is a neural-network (NN) calculation processor, which is configured to process input information quickly by referring to a biological neural-network structure, for example, by referring to a transmission mode between neurons in a human brain, and can constantly self-learn. Through the NPU, the electronic device 200 can implement intelligent cognition applications such as image recognition, face recognition, voice recognition, and text understanding.
[0091] The external memory interface 220 can be configured to connect an external memory card, for example, a MicroSD card, to implement expansion of the storage capability of the electronic device 200.
[0092] The internal memory 221 can be configured to store computer-executable program code including instructions. The processor 210 can execute various function applications and data processing of the electronic device 200 by running the instructions stored in the internal memory 221. For example, in this embodiment, the processor 210 can perform scene arrangement by running the instructions stored in the internal memory 221. The internal memory 221 can include a program storage area and a data storage area. The program storage area can store an operating system, at least one application program (such as a sound playing function, an image playing function, etc.) required by a function, etc. The data storage area can store data (such as audio data, a phone book, etc.) created during use of the electronic device 200, etc. In addition, the internal memory 221 can include a high-speed random access memory, and can further include a nonvolatile memory such as at least one magnetic disk storage device, a flash memory device, a universal flash storage (UFS), etc. The processor 210 can execute various function applications and data processing of the electronic device 200 by running the instructions stored in the internal memory 221 and / or the instructions stored in the memory arranged in the processor.
[0093] The electronic device 200 can implement audio functions through the audio module 270, the speaker 270A, the receiver 270B, the microphone 270C, the earphone interface 270D, and the application processor, etc. For example, music playing, recording, etc.
[0094] The audio module 270 is configured to convert digital audio information into an analog audio signal output, and to convert an analog audio input into a digital audio signal. The speaker 270A, also known as a "loudspeaker", is configured to convert an audio electrical signal into a sound signal. The receiver 270B, also known as a "earpiece", is configured to convert an audio electrical signal into a sound signal. The microphone 270C, also known as a "microphone", "sound transducer", is configured to convert a sound signal into an electrical signal. The earphone interface 270D is configured to connect a wired earphone. The pressure sensor 280A is configured to sense a pressure signal, and can convert the pressure signal into an electrical signal. The gyroscope sensor 280B can be configured to determine a motion posture of the electronic device 200. The barometric sensor 280C is configured to measure air pressure. The magnetic sensor 280D includes a Hall sensor. The acceleration sensor 280E can detect the magnitude of acceleration of the electronic device 200 in various directions (typically three axes). The distance sensor 280F is configured to measure distance. The proximity light sensor 280G can include, for example, a light emitting diode (LED) and a light detector, such as a photodiode. The ambient light sensor 280L is configured to sense ambient light brightness. The fingerprint sensor 280H is configured to acquire a fingerprint. The temperature sensor 280J is configured to detect temperature. The touch sensor 280K, also known as a "touch device". The bone conduction sensor 280M can acquire a vibration signal.
[0095] The audio module 270 can parse a voice signal based on a vibration signal of a vibration bone block of a sound conduction sensor 280M, and implement a voice function. The application processor can parse heart rate information based on a blood pressure pulsation signal acquired by the bone conduction sensor 280M, and implement a heart rate detection function.
[0096] The keys 290 include a power key, a volume key, etc. The motor 291 can generate a vibration prompt. The indicator 292 can be an indicator light, and can be used to indicate a charging state, a power change, and can also be used to indicate a message, a missed call, a notification, etc.
[0097] The SIM card interface 295 is configured to connect a SIM card. The SIM card can be inserted into or removed from the SIM card interface 295 to achieve contact and separation with the electronic device 200. The electronic device 200 can support one or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 295 can support Nano SIM cards, Micro SIM cards, SIM cards, and the like. The same SIM card interface 295 can simultaneously insert multiple cards. The types of the multiple cards can be the same or different. The SIM card interface 295 can also be compatible with different types of SIM cards. The SIM card interface 295 can also be compatible with external storage cards. The electronic device 200 interacts with a network through the SIM card to achieve functions such as call and data communication. In some embodiments, the electronic device 200 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the electronic device 200 and cannot be separated from the electronic device 200.
[0098] In addition, an operating system runs on the above-mentioned components. For example, a Hongmeng system, an iOS operating system, an Android open source operating system, a Windows operating system, and the like. Application programs can be installed and run on the operating system.
[0099] Figure 3 A software structure block diagram of an electronic device provided in an embodiment of the present application.
[0100] The layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Layers communicate with each other through software interfaces. In some embodiments of the present application, the software architecture of the electronic device includes at least three layers, from top to bottom, an application layer, an application framework layer, and a hardware abstraction layer.
[0101] The application layer can include a series of application packages. These application packages can include camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, and the like. In an embodiment of the present application, the application layer includes a plurality of text APPs and instant messaging APPs with a user interface (User Interface, UI), such as short messages, memos, WeChat, and the like. In some embodiments of the present application, the text APP or instant messaging APP can include an input area control. The input area control can be used to display content to be input on the UI interface of the electronic device, and display a first toolbar including at least a full-screen handwriting mode operation portal through the input area touch development, to enter the full-screen handwriting mode through the first toolbar.
[0102] The application framework layer provides application programming interfaces (APIs) and programming frameworks for applications of the application layer. The application framework layer includes some pre-defined functions. As shown in Figure 3 the application framework layer can include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, etc. For example, in some embodiments of the present application, the application framework layer can also include a detection module, a display module, and a starting module. The detection module can detect an operation triggered by a stylus in an input area of a current page. In the implementation scenario of the stylus processing scheme, the input area control displays an input area that can output information, and first calls the detection module to identify the operation triggered by the input area. If there is an operation triggered by the input area, the input area control displays a cursor in the input area, the detection module forwards the identification result to the display module, the display module displays a toolbar (first toolbar) including at least an operation entry of the full-screen stylus mode, then the detection module detects whether there is an operation for the toolbar, if an operation triggered by the operation entry of the full-screen stylus mode is identified, the operation is forwarded to the starting module, the starting module starts the full-screen stylus mode, thereby ensuring that the starting of the full-screen stylus input mode does not affect the stylus input of the user, improving the convenience of starting the full-screen stylus input mode, and improving the user experience.
[0103] The window manager is used to manage window programs. The window manager can acquire the size of a display screen, determine whether there is a status bar, lock a screen, and intercept a screen, etc.
[0104] The content provider is used to store and acquire data, and make the data accessible to applications. The data can include videos, images, audios, dialed and received calls, browsing history and bookmarks, phone books, etc.
[0105] The view system includes visual controls, such as a control for displaying text, a control for displaying pictures, etc. The view system can be used to build an application. A display interface can be composed of one or more views. For example, a display interface including a short message notification icon can include a view for displaying text and a view for displaying pictures.
[0106] The phone manager is used to provide communication functions of an electronic device. For example, management of a call state (including call connection, call hang-up, etc.).
[0107] The resource manager provides various resources for applications, such as localized strings, icons, pictures, layout files, video files, etc.
[0108] The notification manager enables an application to display notification information in a status bar, which can be used to convey a message of the informing type, which can automatically disappear after a short stay without user interaction. For example, the notification manager is used to inform the completion of a download, a message reminder, etc. The notification manager can also be a notification that appears in the form of a chart or a scroll bar text in the top status bar of the system, such as a notification of an application running in the background, and can also be a notification that appears in the form of a dialog window on the screen. For example, the status bar prompts text information, emits a prompt sound, the electronic device vibrates, the indicator light flashes, etc.
[0109] The hardware abstraction layer is an interface layer between the operating system kernel of the electronic device 200 and the hardware circuit, and the purpose is to abstract the hardware. In some embodiments of the present application, the hardware abstraction layer includes a network communication module. The network communication module can be used to detect whether the electronic device 200 is in a networked state, and can also be used to detect whether the stylus is in a connected state. In the present application, the networked state means that the electronic device 200 can communicate with other electronic devices through the mobile communication module 250 or the wireless communication module 260 described above, and the communication can occur on a closed local area network or through the Internet.
[0110] For ease of understanding, the following embodiments of the present application will take the electronic device 200 with the structure shown in Figure 2 and Figure 3 as an example, combined with the drawings and application scenarios, the handwriting processing method provided by the embodiments of the present application is described in detail.
[0111] Figure 4 The flowchart of the handwriting processing method provided by an embodiment of the present application is shown in Figure 5 The schematic scenario diagram of the handwriting processing method provided by an embodiment of the present application is shown in Figure 18 The module interaction diagram of the handwriting processing method provided by an embodiment of the present application is shown in
[0112] As shown in Figure 4 , Figure 5 and Figure 18 , the handwriting processing method can include:
[0113] Step S401: in response to the operation triggered by the stylus in the input area of the current page, a first toolbar including at least a full-screen handwriting mode operation entrance is displayed;
[0114] Step S402: in response to the operation triggered by the stylus at the full-screen handwriting mode operation entrance, a full-screen handwriting mode is started, and the full-screen handwriting mode is used to receive operation information input by the stylus in a preset screen area.
[0115] In this embodiment, the electronic device can determine whether the stylus is in a connected state through the network communication module. If there is an input area in the current page and the stylus (electromagnetic pen, etc.) is in a connected state, the user can operate the input area through the stylus when the stylus is connected to the electronic device, and then call out the cursor in the input area. At this time, the electronic device detects whether the stylus triggers an operation in the input area of the current page through the input area space. When the electronic device detects that the stylus triggers an operation in the input area of the current page, the electronic device displays a first toolbar including at least a full-screen handwriting mode operation entry in response to the operation triggered by the stylus in the input area of the current page. For example, as shown in Figure 5 the new contact page of the phonebook APP, the input boxes corresponding to the name, phone number, and company are all input areas. If the user clicks the input box corresponding to the name through the stylus, the cursor is displayed in the input box, and the first toolbar is called out.
[0116] As shown in Figure 6 , the first toolbar is displayed in the right edge area of the current page. In some embodiments, the first toolbar can also be displayed in the left edge area, the top edge area, or the bottom edge area of the current page. Specifically, the first toolbar can also be displayed in the upper half or lower half of the right edge area of the current page, etc. The first toolbar includes at least a full-screen handwriting mode operation entry, Figure 6 , and can also include a restore operation button, a cancel operation button, a space key, a delete key, a more operation entry (an operation entry for more settings), and a function key, which correspond to the restore operation, the cancel operation, the space input operation, the text deletion operation, the operation of entering the more setting interface, and the function operation of the current page in the input box, respectively. If the first toolbar is the toolbar of the page in Figure 1 , the operation corresponding to the enter key can also be the sending operation of the information in the input box, that is, Figure 6 , the first toolbar includes, from top to bottom, the full-screen handwriting mode operation entry, the restore operation button, the cancel operation button, the space key, the delete key, the setting operation entry, and the function key. If the current page is the chat interface of the instant messaging APP, the function key can be the enter key. If the current page is the search interface, the function key can be the search key.
[0117] Further, the first toolbar also includes at least one of the restore operation button, the cancel operation button, the space key, and / or the delete key.
[0118] In one possible implementation, after step S402, the handwriting processing method further includes:
[0119] In response to the stylus triggering an operation on the restore operation key, the undo operation key, the space key, or the delete key, a data restore operation, a data undo operation, a space input operation, or a data deletion operation is performed on information in the input area.
[0120] In this embodiment, the user can operate the restore operation key, the undo operation key, the space key, or the delete key of the first toolbar through the stylus. If the user operates the restore operation key of the first toolbar through the stylus, in response to the stylus triggering an operation on the restore operation key, a data restore operation is performed on information in the input area, that is, data deleted by the latest data deletion operation before the current time is restored in the input area. If the user operates the undo operation key of the first toolbar through the stylus, in response to the stylus triggering an operation on the undo operation key, a data undo operation is performed on information in the input area, so that the input area is restored to a state before the latest operation before the current time. If the user operates the space key of the first toolbar through the stylus, in response to the stylus triggering an operation on the space key, a space input operation is performed on information in the input area, that is, a space is input at a position corresponding to the current cursor in the input area. If the user operates the delete key of the first toolbar through the stylus, in response to the stylus triggering an operation on the delete key, a data deletion operation is performed on information in the input area, that is, data before a position corresponding to the current cursor is deleted in the information in the input area. In this way, the user can directly perform a data restore operation, a data undo operation, a space input operation, or a data deletion operation in the full-screen handwriting mode, thereby improving the efficiency of data input by the user in the full-screen handwriting mode and further improving the user experience.
[0121] The first toolbar is displayed on the current page, and the user can operate the first toolbar through the stylus. The detection module detects whether the stylus triggers an operation on the full-screen handwriting mode operation entry. If the detected operation is an operation triggered by the stylus on the full-screen handwriting mode operation entry, in response to the operation triggered by the stylus on the full-screen handwriting mode operation entry, the starting module of the electronic device starts the full-screen handwriting mode. The full-screen handwriting mode is used to receive operation information input through the stylus in a preset screen area, that is, the user can input content through the stylus in the entire screen area, thereby avoiding a conflict between input content and starting of the full-screen handwriting input mode, ensuring that starting of the full-screen handwriting input mode does not affect handwriting input by the user, improving the convenience of starting of the full-screen handwriting input mode, and improving the user experience.
[0122] In one possible implementation, after step S402, the handwriting processing method further includes:
[0123] Step a: displaying a full-screen mask on the current page, and if a click operation triggered by the stylus on an option of the current page is detected, the click operation is not responded.
[0124] In this embodiment, by displaying a full-screen mask on the current page, when a click operation triggered by the stylus on an option of the current page is detected, the click operation is not responded, i.e. in the full-screen mask, the user can only input text by the stylus or click an option of the first tool bar to perform a corresponding operation, and the user can know that the current page is in the full-screen handwriting mode, so as to facilitate the user to input content and perform other input information management operations. The global mask can be black or white, and refer to Figure 6 In Figure 6 After the full-screen mask is added in the first tool bar, the user can click the full-screen handwriting mode operation entry, the restore operation key, the undo operation key, the space key or the delete key in the first tool bar by the stylus, and in response to an operation triggered by the stylus on the restore operation key, the undo operation key, the space key or the delete key, a data restore operation, a data undo operation, a space input operation or a data deletion operation is performed on information in the input area.
[0125] In another possible implementation, after step a, the handwriting processing method further includes:
[0126] Step b: in response to an operation triggered by the stylus on the full-screen handwriting mode operation entry, exiting the full-screen handwriting mode and canceling the display of the full-screen mask.
[0127] In this embodiment, when the full-screen handwriting mode is started and the full-screen mask is displayed, the user can operate the full-screen handwriting mode operation entry by the stylus to exit the full-screen handwriting mode, and in response to an operation triggered by the stylus on the full-screen handwriting mode operation entry, the full-screen handwriting mode is exited and the display of the full-screen mask is canceled.
[0128] In another possible implementation, after step b, the handwriting processing method further includes:
[0129] Step c: in response to an operation triggered by the stylus on the current page, performing a corresponding operation on information in the input area.
[0130] After disabling the full-screen overlay, users can operate the current page using a stylus. When an operation triggered by the stylus is detected on the current page, the system responds by performing a corresponding operation on the information within the input area. For example, if the current page is a chat page, and the user clicks the send button on the chat page using the stylus, the system responds by sending the information within the input area. If the current page is... Figure 6 As shown in the contact interface, users can click the "Done" button (not shown) on the contact interface using a stylus. In response to this click, all contact information (including name, company, phone number, etc.) on the current page is saved. This allows users to interact with the current page after exiting full-screen handwriting mode, further enhancing the user experience.
[0131] In another possible implementation, after step S402, the handwriting processing method further includes:
[0132] Step d: In response to an exit operation triggered by the stylus in the input area, or an operation triggered by the stylus at the full-screen handwriting mode operation entry point, exit the full-screen handwriting mode.
[0133] In this embodiment, after activating the full-screen handwriting mode, the user can exit the full-screen handwriting mode by operating through the full-screen handwriting mode operation entry or input area. The exit is triggered by the stylus pen touching the input area, or by an operation triggered by the stylus pen touching the full-screen handwriting mode operation entry. If the current page is the chat interface of an instant messaging tool, the exit operation can be triggered by the send button corresponding to the input area on the current page. If the current page is... Figure 6 The contact interface and other information input interfaces shown can be exited by using the complete / submit button, input button, etc. on the current page, which facilitates timely exit from the full-screen handwriting mode, improves the convenience of exiting the full-screen handwriting input mode, and further enhances the user experience.
[0134] In another possible implementation, after step S401, the handwriting processing method further includes:
[0135] Step e: In response to the operation triggered by the stylus at the more operation entry in the first toolbar, display the first menu bar, which includes at least one or more of the following: open note operation entry, create new note operation entry, screenshot operation entry, partial screenshot operation entry, and global annotation operation entry.
[0136] In this embodiment, the first toolbar further includes a more operation entry, and the user can click the more operation entry by using the stylus to perform an operation to call a menu bar of other operations. When it is detected that the stylus triggers an operation on the more operation entry of the first toolbar, the first menu bar is displayed in response to the operation triggered by the more operation entry. Specifically, the first menu bar can be displayed in suspension, as shown in Figure 7 The first menu bar can be displayed in suspension in a display area near the first toolbar in the current page, Figure 7 The first menu bar includes an open note operation entry, a new note operation entry, a screenshot operation entry, a partial screenshot operation entry, a global annotation operation entry, and a setting operation entry. Thus, the first menu bar can be called through the first toolbar to perform operations related to notes, screenshots, annotations, and the like, so as to improve the convenience of operations related to notes, screenshots, annotations, and the like, and further improve the user experience.
[0137] The handwriting processing method provided in this embodiment displays a first toolbar including at least a full-screen handwriting mode operation entry in response to an operation triggered by a stylus on an input area of a current page. Then, in response to an operation triggered by the stylus on the full-screen handwriting mode operation entry, a full-screen handwriting mode is started to receive information input by the stylus in the entire screen area in the full-screen handwriting mode. This can avoid a conflict between input content and starting of the full-screen handwriting input mode, ensure that the starting of the full-screen handwriting input mode does not affect the handwriting input of the user, improve the convenience of starting of the full-screen handwriting input mode, and improve the user experience.
[0138] Figure 8 The flowchart of the handwriting processing method provided for another embodiment of the present application is shown in Figure 8 The handwriting processing method can include the following steps.
[0139] Step S801: In response to an operation triggered by a stylus on an input area of a current page, a second toolbar including at least a second menu bar entry is displayed.
[0140] Step S802: In response to an operation triggered by the stylus on the second menu bar entry, a second menu bar including at least a handwriting board mode operation entry is displayed.
[0141] Step S803: In response to an operation triggered by the stylus on the handwriting board mode operation entry, a handwriting board mode is started to display a handwriting board window in the current page.
[0142] In this embodiment, an input area exists on the current page, and a stylus (such as an electromagnetic pen) is connected. That is, when the stylus is connected to the electronic device, the user can operate on the input area using the stylus, thereby bringing up the cursor. At this time, the electronic device detects the operation triggered by the stylus on the input area of the current page and displays a second toolbar, which includes at least a second menu bar entry. The first toolbar is displayed on the edge area of the current page, meaning the second toolbar is displayed floating on the edge area of the current page. For example... Figure 9 As shown, the second toolbar is displayed at the bottom of the current page.
[0143] like Figure 9 As shown, the second toolbar may also include a restore button, an undo button, a space bar, a delete button, a second menu bar entry, and function keys. When the second toolbar is displayed on the current page, the user can operate it using a stylus. If the detected operation is triggered by the stylus at the second menu bar entry, then in response to the stylus-triggered operation at the second menu bar entry, a second menu bar, including at least the handwriting mode operation entry, is displayed. Specifically, the first menu bar can be displayed in a floating manner, such as... Figure 10 As shown, the second menu bar can be displayed in a floating area near the second toolbar on the current page. Figure 10 The second menu bar includes an entry point for handwriting mode, an auto minimize button, and a stylus settings button. The second menu bar can be accessed through the second toolbar.
[0144] When the second menu bar is displayed on the current page, the user can operate the second menu bar with a stylus. If the detected operation is triggered by the stylus at the handwriting mode operation entry point, the handwriting mode is launched in response to the operation triggered at the handwriting mode operation entry point, and the handwriting mode window is displayed on the current page. Then, the user can input information on the handwriting mode with the stylus, thereby improving the ease of launching the handwriting mode and enhancing the user experience.
[0145] In one possible implementation, after step S803, the handwriting processing method further includes:
[0146] Step S804: In response to the closing operation triggered by the stylus on the handwriting tablet window, exit the handwriting tablet mode and cancel the display of the handwriting tablet window.
[0147] In this embodiment, when the handwriting tablet window is displayed on the current page, the user can exit the handwriting tablet mode by using the close button of the handwriting tablet window. When the handwriting pen is detected to have triggered the close operation of the handwriting tablet window, the user responds to the existence of the close operation, exits the handwriting tablet mode, and cancels the display of the handwriting tablet window, thereby improving the convenience of exiting the handwriting tablet mode and improving the user experience.
[0148] The handwriting processing method provided in this embodiment displays a second toolbar, including at least a first settings operation entry point, in response to an operation triggered by the stylus in the input area of the current page; then, in response to an operation triggered by the stylus in the settings operation entry point, displays a second menu bar, including at least a handwriting tablet mode operation entry point; and then, in response to an operation triggered by the stylus in the handwriting tablet mode operation entry point, activates the handwriting tablet mode to display a handwriting tablet window on the current page, allowing users to input information on the handwriting tablet using a stylus, thereby improving the ease of activating the handwriting tablet mode and enhancing the user experience.
[0149] Figure 11 A flowchart illustrating a handwriting processing method provided in another embodiment of this application. Figure 11 As shown, the above handwriting processing method may include:
[0150] Step S1101: When the stylus is connected, display a floating ball on the current page;
[0151] Step S1102: In response to the operation triggered by the stylus on the floating ball, display the third menu bar, which includes at least one or more of the following: open note operation entry, new note operation entry, screenshot operation entry, partial screenshot operation entry, and global annotation operation entry.
[0152] In this embodiment, if the stylus is connected, a floating ball is displayed on the current page. This floating ball is located in a corner or the center of the edge area of the current page. Figure 12 As shown, it is possible to Figure 12 The floating ball can be displayed in any area of the center of the four corners or four edges of the current page, such as... Figure 13 As shown, when there is no input scenario at present, for example Figure 13 The floating ball can also be displayed when the current page is the desktop of an electronic device.
[0153] When the floating ball is displayed on the current page, the user can interact with it using a stylus. Upon detecting an action triggered by the stylus on the floating ball, a third menu bar is displayed in response. This third menu bar includes at least one or more of the following: open note operation entry, create new note operation entry, screenshot operation entry, partial screenshot operation entry, and global annotation operation entry. Figure 14As shown, the third menu bar includes an open note operation entry, a new note operation entry, a screenshot operation entry, a partial screenshot operation entry, a global annotation operation entry, and a setting button. The second toolbar is used to call out the third menu bar, so that the user can perform note, screenshot, annotation, and other related operations through the third menu bar, thereby improving the convenience of note, screenshot, annotation, and other related operations, and further improving the user experience.
[0154] If the list of the third menu bar is long, other contents of the third menu bar can also be displayed through a sliding operation.
[0155] In one possible implementation, after step S1102, the handwriting processing method further includes:
[0156] Step f: in response to the operation of the stylus on the open note operation entry or the new note operation entry, if the application corresponding to the current page is a file application, the current page and a note interface are displayed in split screen.
[0157] In this embodiment, the user can click the third menu bar through the stylus to perform corresponding operations, for example, open note operation or new note operation. If it is detected that the stylus triggers an operation on the open note operation entry or the new note operation entry, in response to the open note operation or the new note operation, if the application corresponding to the current page is a file application, the current page and a note interface are displayed in split screen, as shown in Figure 15 In this way, the current page and the note interface are displayed in split screen, so that the user can input notes corresponding to the current page through the note interface, thereby improving the user experience. The file application includes a PDF application, a WORD application, a WPS application, an HTML application, and other applications related to text information editing.
[0158] If the application corresponding to the current page is a non-file application, for example, the current page is a video playing interface, in response to the operation of the stylus on the open note operation entry or the new note operation entry, a note interface is displayed in suspension on the current interface, so that the note interface is opened without exiting the current page, thereby improving the user experience.
[0159] In another possible implementation, after step S1101, the handwriting processing method further includes:
[0160] Step g: if no operation corresponding to the floating ball is detected within a preset time length, the transparency of the floating ball is increased.
[0161] In this embodiment, timing is performed after the floating ball is displayed. If no operation corresponding to the floating ball is detected within a preset time length, the transparency of the floating ball is increased, so that the transparency of the floating ball is increased when the user does not need to use the floating ball, thereby improving the user experience.
[0162] In one possible implementation, if the state of the stylus is switched to the disconnected state or the dormant state, the floating ball is hidden. Specifically, if the state of the stylus is detected to be switched to the disconnected state or the dormant state, the floating ball is hidden. In some embodiments, if the state of the stylus is switched to the dormant state, the floating ball can also be displayed on a side portion of the current page to reduce the interference of the floating ball on other content in the current page.
[0163] In some embodiments, if a drag operation of the floating ball is detected, the floating ball is displayed at the end position of the drag operation of the floating ball. If the stylus triggers an operation on the floating ball or the current page triggers a return operation, the third menu bar is hidden.
[0164] In some embodiments, after step S1102, the method further includes: if the full-screen handwriting mode is started, in response to the stylus triggering an operation on the open note operation entry or the new note operation entry, the note interface is displayed in a floating manner. If the full-screen handwriting mode is started, in response to the stylus triggering an operation on the screenshot operation entry, the partial screenshot operation entry, the global annotation operation entry, or the setting key, a screenshot application interface, a partial screenshot application interface, a global annotation application interface, or a setting application interface is displayed in a full-screen manner to facilitate the user to perform corresponding operations through the full-screen handwriting mode.
[0165] In some embodiments, the first toolbar and the floating ball can be displayed simultaneously on the current page, and the first menu bar, the first toolbar, and the floating ball can also be displayed simultaneously. In this case, in response to an operation triggered by the first menu bar, an application interface corresponding to the operation is displayed, and the display of the first menu bar and the first toolbar is cancelled. In response to an operation triggered by a region of the current page other than the first menu bar, the first toolbar, and the floating ball, or a return operation triggered by the current page, the first toolbar and the floating ball are displayed, and the display of the first menu bar is cancelled. When the display of the first toolbar is cancelled, the display of the first menu bar is also cancelled. In response to a drag operation triggered by the first toolbar, the display of the first menu bar is cancelled.
[0166] The handwriting processing method provided in the embodiment displays a floating ball in the current page when the stylus is in the connected state; then, in response to the operation of the stylus on the floating ball, a third menu bar is displayed, the third menu bar including at least one or more of an operation entry for opening a note, an operation entry for creating a new note, an operation entry for screen capturing, an operation entry for local screen capturing, and an operation entry for global annotation. The first menu bar is called up through the second tool bar, so that the user can perform note, screen capturing, annotation and other related operations through the third menu bar, thereby improving the convenience of note, screen capturing, annotation and other related operations and further improving the user experience.
[0167] Figure 16 The flowchart of the handwriting processing method provided in another embodiment of the present application is shown in FIG. 16. As shown in FIG. 16, the handwriting processing method can include the following steps. Figure 16
[0168] Step S1601: acquiring information input by the user through the stylus and displaying the information in the input area;
[0169] Step S1602: in response to the operation of the stylus on the full-screen handwriting mode operation entry, exiting the full-screen handwriting mode;
[0170] Step S1603: in response to the operation of the stylus on the current page, performing a corresponding operation on the information in the input area.
[0171] In the embodiment, after the full-screen handwriting mode is started, the user can input data at any position on the current page by using the stylus. When the user inputs information by using the stylus, the information input by the user through the stylus is acquired and displayed in the input area, so that the user can view the input content in time.
[0172] When the user finishes inputting, the user can click the full-screen handwriting mode operation entry by using the stylus to exit the full-screen handwriting mode. In response to the operation of the stylus on the full-screen handwriting mode operation entry, the full-screen handwriting mode is exited. In some embodiments, the first tool bar further includes at least one of a restore operation key, a recall operation key, a space key and / or a delete key. Before the full-screen handwriting mode is exited, the user can also perform an operation on the information in the input area by using the restore operation key, the recall operation key, the space key and / or the delete key. Specifically, in response to the operation of the stylus on the restore operation key, the recall operation key, the space key or the delete key, a data restore operation, a data recall operation, a space input operation or a data deletion operation is performed on the information in the input area.
[0173] Next, the user can operate on the current page using the stylus. When an operation triggered by the stylus on the current page is detected, the system responds to that operation by performing a corresponding operation on the information within the input area. For example, if the current page is a chat page, and the user clicks the send button on the chat page using the stylus, the system responds to the click operation by sending the information within the input area; if the current page is... Figure 6 As shown in the contact interface, users can click the "Done" button (not shown) on the contact interface using a stylus. In response to this click, all contact information (including name, company, phone number, etc.) on the current page is saved. This allows users to interact with the current page after exiting full-screen handwriting mode, further enhancing the user experience.
[0174] The handwriting processing method provided in this embodiment acquires information input by the user through the stylus and displays the information in the input area; then, in response to an operation triggered by the stylus at the full-screen handwriting mode entry point, it exits the full-screen handwriting mode; subsequently, in response to an operation triggered by the stylus on the current page, it performs corresponding operations on the information in the input area, enabling the user to input data in full-screen handwriting mode and perform operations such as storing or sending the input data after exiting the full-screen handwriting mode, further improving the user experience.
[0175] Figure 17 This illustration shows a structural schematic diagram of a handwriting processing device provided in this application. The handwriting processing device 1700 provided in this application includes: a display module 1701 and a startup module 1702;
[0176] In one possible implementation, the display module 1701 is used to display a first toolbar that includes at least a full-screen handwriting mode operation entry in response to an operation triggered by a stylus in the input area of the current page.
[0177] The startup module 1702 is used to respond to the operation triggered by the stylus at the full-screen handwriting mode operation entry to start the full-screen handwriting mode, which is used to receive operation information input by the stylus within a preset screen area.
[0178] It should be understood that the electronic device herein is embodied in the form of functional modules. The term "module" herein can be implemented in the form of software and / or hardware, and is not specifically limited. For example, the "module" can be a software program, hardware circuit, or a combination of both, which implements the above functions. The hardware circuit can include an application specific integrated circuit (ASIC), an electronic circuit, a processor (for example, a shared processor, a dedicated processor, or a group processor, etc.) and a memory for executing one or more software or firmware programs, a combination logic circuit, and / or other suitable components that support the described functions.
[0179] The present application also provides an electronic device, comprising: one or more processors; a memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, and the one or more computer programs comprise instructions which, when executed by the electronic device, cause the electronic device to perform the handwriting processing method according to the first aspect or any one of the possible implementation manners of the first aspect.
[0180] The present application also provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor performs the handwriting processing method according to the first aspect or any one of the possible implementation manners of the first aspect.
[0181] The present application also provides a chip, comprising a processor and a data interface, wherein the processor reads instructions stored in a memory through the data interface, and performs the handwriting processing method according to the first aspect or any one of the possible implementation manners of the first aspect.
[0182] Optionally, the chip can further comprise a memory, wherein the memory stores instructions, and the processor is configured to execute the instructions stored in the memory, and when the instructions are executed, the processor is configured to perform the handwriting processing method according to the first aspect or any one of the possible implementation manners of the first aspect.
[0183] The memory can be read-only memory (ROM), other types of static storage devices that can store static information and instructions, random access memory (RAM), or other types of dynamic storage devices that can store information and instructions, electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disk storage, optical disk storage (including compact discs (CDs), laser discs, optical discs, digital versatile discs (DVDs), Blu-ray discs, and the like), magnetic disk storage or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer.
[0184] In the embodiments of the present application, "and / or" describes the association relationship of the associated objects, which means that there can be three kinds of relationships, for example, A and / or B, which can represent the cases of A alone, A and B together, and B alone. Wherein A and B can be singular or plural. The character " / " generally represents that the associated objects before and after it are in an "or" relationship. "At least one of the following" and similar expressions mean any combination of these items, including any combination of single or multiple items. For example, at least one of a, b and c can represent: a, b, c, a-b, a-c, b-c, or a-b-c, wherein a, b and c can be single or multiple.
[0185] Those skilled in the art can appreciate that the units and algorithm steps described in the embodiments disclosed herein can be realized by electronic hardware, computer software and combination of the electronic hardware and the computer software. Whether the functions are realized in hardware or software mode depends on the specific application and design constraints of the technical solution. The skilled person can use different methods to realize the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.
[0186] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiments, which will not be described here.
[0187] In several embodiments provided in the present application, any function, if realized in the form of a software function unit and sold or used as an independent product, can be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application, in essence or the parts that make contributions to the prior art, or parts of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes a plurality of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and various media that can store program codes.
[0188] The above description is merely a specific implementation of the present application. Any person skilled in the art can easily think of changes or replacements within the technical scope disclosed in the present application, which should be covered by the protection scope of the present application. The protection scope of the present application should be subject to the protection scope of the claims.
Claims
1. A handwriting processing method characterized by comprising: The method comprises the following steps: in response to the operation of the stylus on the input area of the current page, a first toolbar including at least a full-screen handwriting mode operation entry is displayed; in response to the operation of the stylus on the full-screen handwriting mode operation entry, a full-screen handwriting mode is started, and the full-screen handwriting mode is used to receive operation information input by the stylus in a preset screen area; in response to the operation of the stylus on the more operation entry of the first toolbar, a first menu bar is displayed, and the first menu bar includes at least an open note operation entry and a new note operation entry; when the stylus is in a connected state, a floating ball is displayed in the current page; in response to the operation of the stylus on the floating ball, a third menu bar is displayed, and the third menu bar includes at least an open note operation entry and a new note operation entry; in response to the operation of the stylus on the open note operation entry or the new note operation entry of the first menu bar or the third menu bar, when the application corresponding to the current page is a file application, the current page and a note interface are displayed in split screen, and when the application corresponding to the current page is a non-file application, the note interface is displayed in the current page in a floating manner; if no operation corresponding to the floating ball is detected within a preset time period, the transparency of the floating ball is increased; if the state of the stylus is switched to a disconnected state or a hibernation state, the display of the floating ball is cancelled.
2. The handwriting processing method of claim 1, wherein, After the step of starting the full-screen handwriting mode, the method further comprises the following steps:
3. The handwriting processing method of claim 2, wherein, a full-screen mask layer is displayed on the current page, and if a click operation of the stylus on an option of the current page is detected, the click operation is not responded. After the step of displaying the full-screen mask layer on the current page, the method further comprises the following steps:
4. The handwriting processing method of claim 3, wherein, in response to the operation of the stylus on the full-screen handwriting mode operation entry, the full-screen handwriting mode is exited, and the display of the full-screen mask layer is cancelled. After the step of cancelling the display of the full-screen mask layer, the method further comprises the following steps:
5. The handwriting processing method of claim 1, wherein, in response to the operation of the stylus on the current page, a corresponding operation is performed on the information in the input area. After the step of starting the full-screen handwriting mode, the method further comprises the following steps: information input by the stylus is acquired, and the information is displayed in the input area; in response to the operation of the stylus on the full-screen handwriting mode operation entry, the full-screen handwriting mode is exited; 6. The handwriting processing method of claim 1, wherein, in response to the operation of the stylus on the current page, a corresponding operation is performed on the information in the input area.
7. The handwriting processing method of claim 6, wherein, The first toolbar further includes at least one of a recovery operation button, a rollback operation button, a space key and / or a delete key. After the step of starting the full-screen handwriting mode, the method further comprises the following steps:
8. The handwriting processing method of claim 1, wherein, in response to the operation of the stylus on the recovery operation button, the rollback operation button, the space key or the delete key, a data recovery operation, a data rollback operation, a space input operation or a data deletion operation is performed on the information in the input area. After the step of starting the full-screen handwriting mode, the method further comprises the following steps: In response to an exit operation triggered by the stylus on the input area, or an operation triggered by the stylus on the full-screen handwriting mode operation portal, the full-screen handwriting mode is exited.
9. The handwriting processing method of claim 1, wherein, The first menu bar further includes one or more of a screenshot operation portal, a local screenshot operation portal, and a global comment operation portal.
10. The handwriting processing method of claim 1, wherein, The first tool bar is displayed at an edge area of the current page.
11. The handwriting processing method of claim 1, wherein, Further comprising: In response to an operation triggered by the stylus on the input area of the current page, a second tool bar including at least a second menu bar portal is displayed; In response to an operation triggered by the stylus on the second menu bar portal, a second menu bar including at least a handwriting board mode operation portal is displayed; In response to an operation triggered by the stylus on the handwriting board mode operation portal, a handwriting board mode is started to display a handwriting board window on the current page.
12. The handwriting processing method of claim 11, wherein, After the step of starting the handwriting board mode, further comprising: In response to a closing operation triggered by the stylus on the handwriting board window, the handwriting board mode is exited and the display of the handwriting board window is cancelled.
13. The handwriting processing method according to any one of claims 1 to 12, wherein The third menu bar further includes one or more of a screenshot operation portal, a local screenshot operation portal, and a global comment operation portal.
14. The handwriting processing method according to any one of claims 1 to 12, wherein The floating ball is displayed at a corner position of the current page or a central display area of an edge area.
15. A handwriting processing apparatus characterized by comprising: Comprising: a display module and a starting module; The display module is configured to display a first tool bar including at least a full-screen handwriting mode operation portal in response to an operation triggered by the stylus on an input area of a current page; The starting module is configured to start a full-screen handwriting mode in response to an operation triggered by the stylus on the full-screen handwriting mode operation portal, the full-screen handwriting mode being configured to receive operation information input by the stylus in a preset screen area; The display module is configured to display a first menu bar in response to an operation triggered by the stylus on a more operation portal of the first tool bar, the first menu bar including at least an open note operation portal and a new note operation portal; The display module is configured to display a floating ball in the current page when the stylus is in a connected state; The display module is configured to display a third menu bar in response to an operation triggered by the stylus on the floating ball, the third menu bar including at least an open note operation portal and a new note operation portal; The display module is configured to display a note interface in a split-screen mode with the current page when an application corresponding to the current page is a file application in response to an operation triggered by the stylus on an open note operation portal or a new note operation portal of the first menu bar or the third menu bar, and to display the note interface in a floating mode on the current page when the application corresponding to the current page is a non-file application; The display module is configured to increase the transparency of the floating ball if no operation corresponding to the floating ball is detected within a preset time period; The display module is configured to cancel the display of the floating ball if the state of the stylus is switched to a disconnected state or a hibernation state.
16. An electronic device, comprising: Comprising: one or more processors; a memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, and the one or more computer programs comprise instructions, which when executed by the electronic device, cause the electronic device to perform the handwriting processing method according to any one of claims 1 to 14.
17. A computer-readable storage medium, characterized in that, The computer readable storage medium stores a computer program, and the computer program, when executed by a processor, causes the processor to perform the handwriting processing method according to any one of claims 1 to 14.
Citation Information
Patent Citations
Full-screen handwriting identification input method and system
CN102750106A
Mobile terminal and suspension identification display method thereof
CN109032450A
Note recording method of e-book reader, electronic equipment and storage medium
CN112486374A